@@ -7,7 +7,7 @@ import { StyleRule } from "./styles.js";
77 *
88 * @public
99 */
10- export type BooleanCondition = string ;
10+ export type BooleanCondition = string ;
1111
1212/**
1313 * The state and selector for a multiple value condition.
@@ -152,7 +152,7 @@ export const Interactivity = {
152152 *
153153 * For instance, a form control.
154154 */
155- disabledAttribute : {
155+ disabledAttribute : {
156156 interactive : ":not([disabled])" ,
157157 disabled : "[disabled]" ,
158158 } as InteractivityDefinition ,
@@ -162,7 +162,7 @@ export const Interactivity = {
162162 *
163163 * For instance, a form control.
164164 */
165- disabledClass : {
165+ disabledClass : {
166166 interactive : ":not(.disabled)" ,
167167 disabled : ".disabled" ,
168168 } as InteractivityDefinition ,
@@ -172,7 +172,7 @@ export const Interactivity = {
172172 *
173173 * For instance, an `<a>` should style as plain text when it doesn't have an `href` attribute.
174174 */
175- hrefAttribute : {
175+ hrefAttribute : {
176176 interactive : "[href]" ,
177177 } as InteractivityDefinition ,
178178
@@ -181,7 +181,7 @@ export const Interactivity = {
181181 *
182182 * For instance, cards or list items that are not able to be disabled.
183183 */
184- always : {
184+ always : {
185185 interactive : "" ,
186186 } as InteractivityDefinition ,
187187
@@ -193,7 +193,7 @@ export const Interactivity = {
193193 * @remarks
194194 * This is an explicit value representing the default case.
195195 */
196- never : {
196+ never : {
197197 } as InteractivityDefinition ,
198198} as const ;
199199
@@ -481,7 +481,7 @@ export type StyleRules = Array<StyleRule>;
481481/**
482482 * @beta
483483 */
484- export type SerializableBooleanCondition = string ;
484+ export type SerializableBooleanCondition = string ;
485485
486486/**
487487 * @beta
@@ -506,7 +506,7 @@ export interface SerializableStyleRule {
506506/**
507507 * @beta
508508 */
509- export interface SerializableAnatomy {
509+ export interface SerializableAnatomy {
510510 name : string ,
511511 context : string ,
512512 conditions : Record < string , SerializableCondition > ,
@@ -515,3 +515,10 @@ export interface SerializableAnatomy{
515515 focus ?: FocusDefinition < any > ,
516516 styleRules : SerializableStyleRule [ ]
517517}
518+
519+ /**
520+ * @beta
521+ */
522+ export interface SerializableAnatomyWithImports extends SerializableAnatomy {
523+ imports ?: string [ ]
524+ }
0 commit comments