@barocss/kit 0.7.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -576,6 +576,13 @@ export declare type AstNode = {
576
576
  /** #248: a comment opener or closer anywhere in a variant (quoted or not) could leave a comment unclosed in the output. */
577
577
  export declare function hasCommentToken(value: string): boolean;
578
578
 
579
+ /**
580
+ * #323: true when emitted text contains a markup end-tag opener (less-than then slash). Generated CSS can be
581
+ * placed inside an HTML style element, where that sequence could end the element early. CSS escapes in the
582
+ * output never form it, and a lone less-than (range media queries) stays allowed.
583
+ */
584
+ export declare function hasHtmlEndTagOpener(text: string): boolean;
585
+
579
586
  export declare type HasItems = {
580
587
  items?: AstNode[];
581
588
  };
@@ -860,6 +867,8 @@ export declare type AstNode = {
860
867
  sort?: number;
861
868
  description?: string;
862
869
  source?: string;
870
+ /** Static variant name; lets the parser tell `placeholder-shown:` (variant) from a `placeholder-*` utility (#307). */
871
+ name?: string;
863
872
  };
864
873
 
865
874
  export declare const modifierRegistry: ModifierRegistration[];