@cssdoc/spec 0.4.1 → 0.5.0

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.
@@ -87,6 +87,12 @@ ChainedModifierName ::
87
87
  `-` Prop
88
88
  `-` Prop `-` Value
89
89
 
90
+ // A `*` wildcard marks a modifier/part *family*, standing in for the varying segment — e.g. `-icon-*`.
91
+ // A documented name may contain one; `name-not-in-css` then treats it as a family, satisfied by a literal
92
+ // instance (`.-icon-foo`) or a `class` attribute selector (`[class*="-icon-"]`, `[class$=…]`, `[class~=…]`).
93
+ WildcardSegment ::
94
+ `*`
95
+
90
96
  // The attribute form: an attribute selector on the base, e.g. `.base[name="value"]`.
91
97
  AttributeModifier ::
92
98
  `[` AttributeName `]`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cssdoc/spec",
3
- "version": "0.4.1",
3
+ "version": "0.5.0",
4
4
  "description": "The canonical cssdoc spec: the tag vocabulary and the formal grammar (CssDoc.grammarkdown), the single source of truth shared by the parser and every syntax grammar. Zero runtime dependencies.",
5
5
  "keywords": [
6
6
  "cssdoc",