@master/css 2.0.0-beta.20 → 2.0.0-beta.200

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.
Files changed (252) hide show
  1. package/README.md +113 -109
  2. package/dist/bin/index.bundle.js +36 -0
  3. package/dist/bin/index.d.ts +2 -0
  4. package/dist/config/animations.d.ts +110 -0
  5. package/dist/config/functions.d.ts +130 -0
  6. package/dist/config/index.d.ts +71 -25
  7. package/dist/config/{breakpoints.d.ts → media-queries.d.ts} +3 -2
  8. package/dist/config/rules.d.ts +279 -3
  9. package/dist/config/selectors.d.ts +3 -2
  10. package/dist/config/semantics.d.ts +189 -80
  11. package/dist/config/styles.d.ts +3 -0
  12. package/dist/config/variables.d.ts +129 -0
  13. package/dist/constants/config-esm-text.d.ts +1 -0
  14. package/dist/constants/config-text.d.ts +1 -0
  15. package/dist/constants/config-ts-text.d.ts +1 -0
  16. package/dist/constants/selector-symbols.d.ts +1 -0
  17. package/dist/constants/start-symbol.d.ts +2 -1
  18. package/dist/core.d.ts +121 -0
  19. package/dist/functions/init-runtime.d.ts +9 -0
  20. package/dist/functions/reorder-for-readable-classes.d.ts +8 -0
  21. package/dist/functions/transform-color-with-opacity.d.ts +1 -0
  22. package/dist/index.browser.bundle.js +1 -0
  23. package/dist/index.browser.d.ts +6 -1
  24. package/dist/index.bundle.js +35 -0
  25. package/dist/index.bundle.mjs +35 -0
  26. package/dist/index.d.ts +11 -21
  27. package/dist/layer.d.ts +11 -0
  28. package/dist/polyfills/css-escape.d.ts +0 -1
  29. package/dist/rule.d.ts +107 -52
  30. package/dist/types/css-declarations.d.ts +4 -0
  31. package/dist/utils/flatten-obj.d.ts +4 -0
  32. package/dist/utils/hex-to-rgb.d.ts +1 -1
  33. package/dist/utils/is-plain-object.d.ts +1 -1
  34. package/package.json +1 -162
  35. package/LICENSE +0 -21
  36. package/dist/apis/extend.d.ts +0 -5
  37. package/dist/apis/render-from-html.d.ts +0 -3
  38. package/dist/apis/render-into-html.d.ts +0 -3
  39. package/dist/apis/render.d.ts +0 -3
  40. package/dist/config/colors.d.ts +0 -25
  41. package/dist/config/root-size.d.ts +0 -2
  42. package/dist/config/scheme.d.ts +0 -7
  43. package/dist/config/themes.d.ts +0 -2
  44. package/dist/config/values.d.ts +0 -126
  45. package/dist/css.d.ts +0 -80
  46. package/dist/index.browser.js +0 -2
  47. package/dist/index.browser.js.map +0 -7
  48. package/dist/index.cjs +0 -2
  49. package/dist/index.cjs.map +0 -7
  50. package/dist/index.mjs +0 -2
  51. package/dist/index.mjs.map +0 -7
  52. package/dist/rules/accent-color.d.ts +0 -7
  53. package/dist/rules/align-content.d.ts +0 -6
  54. package/dist/rules/align-items.d.ts +0 -6
  55. package/dist/rules/align-self.d.ts +0 -6
  56. package/dist/rules/animation-delay.d.ts +0 -7
  57. package/dist/rules/animation-direction.d.ts +0 -6
  58. package/dist/rules/animation-duration.d.ts +0 -7
  59. package/dist/rules/animation-fill-mode.d.ts +0 -6
  60. package/dist/rules/animation-iteration-count.d.ts +0 -7
  61. package/dist/rules/animation-name.d.ts +0 -6
  62. package/dist/rules/animation-play-state.d.ts +0 -6
  63. package/dist/rules/animation-timing-function.d.ts +0 -6
  64. package/dist/rules/animation.d.ts +0 -8
  65. package/dist/rules/appearance.d.ts +0 -5
  66. package/dist/rules/aspect-radio.d.ts +0 -7
  67. package/dist/rules/backdrop-filter.d.ts +0 -11
  68. package/dist/rules/background-attachment.d.ts +0 -6
  69. package/dist/rules/background-blend-mode.d.ts +0 -5
  70. package/dist/rules/background-clip.d.ts +0 -9
  71. package/dist/rules/background-color.d.ts +0 -8
  72. package/dist/rules/background-image.d.ts +0 -7
  73. package/dist/rules/background-origin.d.ts +0 -6
  74. package/dist/rules/background-position.d.ts +0 -7
  75. package/dist/rules/background-repeat.d.ts +0 -6
  76. package/dist/rules/background-size.d.ts +0 -6
  77. package/dist/rules/background.d.ts +0 -8
  78. package/dist/rules/border-collapse.d.ts +0 -6
  79. package/dist/rules/border-color.d.ts +0 -11
  80. package/dist/rules/border-image-outset.d.ts +0 -5
  81. package/dist/rules/border-image-repeat.d.ts +0 -6
  82. package/dist/rules/border-image-slice.d.ts +0 -6
  83. package/dist/rules/border-image-source.d.ts +0 -6
  84. package/dist/rules/border-image-width.d.ts +0 -6
  85. package/dist/rules/border-image.d.ts +0 -6
  86. package/dist/rules/border-radius.d.ts +0 -9
  87. package/dist/rules/border-spacing.d.ts +0 -5
  88. package/dist/rules/border-style.d.ts +0 -9
  89. package/dist/rules/border-width.d.ts +0 -9
  90. package/dist/rules/border.d.ts +0 -10
  91. package/dist/rules/box-decoration-break.d.ts +0 -9
  92. package/dist/rules/box-shadow.d.ts +0 -7
  93. package/dist/rules/box-sizing.d.ts +0 -6
  94. package/dist/rules/break-after.d.ts +0 -5
  95. package/dist/rules/break-before.d.ts +0 -5
  96. package/dist/rules/break-inside.d.ts +0 -5
  97. package/dist/rules/caret-color.d.ts +0 -7
  98. package/dist/rules/clear.d.ts +0 -5
  99. package/dist/rules/clip-path.d.ts +0 -6
  100. package/dist/rules/color.d.ts +0 -8
  101. package/dist/rules/column-span.d.ts +0 -6
  102. package/dist/rules/columns.d.ts +0 -8
  103. package/dist/rules/contain.d.ts +0 -5
  104. package/dist/rules/content.d.ts +0 -5
  105. package/dist/rules/counter-increment.d.ts +0 -6
  106. package/dist/rules/cursor.d.ts +0 -5
  107. package/dist/rules/cx.d.ts +0 -6
  108. package/dist/rules/cy.d.ts +0 -6
  109. package/dist/rules/direction.d.ts +0 -5
  110. package/dist/rules/display.d.ts +0 -6
  111. package/dist/rules/fill.d.ts +0 -7
  112. package/dist/rules/filter.d.ts +0 -8
  113. package/dist/rules/flex-basis.d.ts +0 -5
  114. package/dist/rules/flex-direction.d.ts +0 -6
  115. package/dist/rules/flex-grow.d.ts +0 -6
  116. package/dist/rules/flex-shrink.d.ts +0 -6
  117. package/dist/rules/flex-wrap.d.ts +0 -6
  118. package/dist/rules/flex.d.ts +0 -7
  119. package/dist/rules/float.d.ts +0 -5
  120. package/dist/rules/font-family.d.ts +0 -6
  121. package/dist/rules/font-size.d.ts +0 -6
  122. package/dist/rules/font-smoothing.d.ts +0 -9
  123. package/dist/rules/font-style.d.ts +0 -7
  124. package/dist/rules/font-variant-numeric.d.ts +0 -6
  125. package/dist/rules/font-weight.d.ts +0 -7
  126. package/dist/rules/font.d.ts +0 -8
  127. package/dist/rules/gap.d.ts +0 -9
  128. package/dist/rules/grid-area.d.ts +0 -7
  129. package/dist/rules/grid-auto-columns.d.ts +0 -6
  130. package/dist/rules/grid-auto-flow.d.ts +0 -6
  131. package/dist/rules/grid-auto-rows.d.ts +0 -5
  132. package/dist/rules/grid-column-end.d.ts +0 -7
  133. package/dist/rules/grid-column-start.d.ts +0 -7
  134. package/dist/rules/grid-column.d.ts +0 -9
  135. package/dist/rules/grid-columns.d.ts +0 -10
  136. package/dist/rules/grid-row-end.d.ts +0 -6
  137. package/dist/rules/grid-row-start.d.ts +0 -6
  138. package/dist/rules/grid-row.d.ts +0 -9
  139. package/dist/rules/grid-rows.d.ts +0 -9
  140. package/dist/rules/grid-template-areas.d.ts +0 -5
  141. package/dist/rules/grid-template-columns.d.ts +0 -6
  142. package/dist/rules/grid-template-rows.d.ts +0 -5
  143. package/dist/rules/grid-template.d.ts +0 -6
  144. package/dist/rules/grid.d.ts +0 -6
  145. package/dist/rules/group.d.ts +0 -9
  146. package/dist/rules/height.d.ts +0 -6
  147. package/dist/rules/inset.d.ts +0 -9
  148. package/dist/rules/isolation.d.ts +0 -5
  149. package/dist/rules/justify-content.d.ts +0 -6
  150. package/dist/rules/justify-items.d.ts +0 -6
  151. package/dist/rules/justify-self.d.ts +0 -6
  152. package/dist/rules/letter-spacing.d.ts +0 -7
  153. package/dist/rules/line-clamp.d.ts +0 -9
  154. package/dist/rules/line-height.d.ts +0 -7
  155. package/dist/rules/lines.d.ts +0 -9
  156. package/dist/rules/list-style-image.d.ts +0 -6
  157. package/dist/rules/list-style-position.d.ts +0 -6
  158. package/dist/rules/list-style-type.d.ts +0 -6
  159. package/dist/rules/list-style.d.ts +0 -6
  160. package/dist/rules/margin.d.ts +0 -9
  161. package/dist/rules/mask-image.d.ts +0 -8
  162. package/dist/rules/max-height.d.ts +0 -6
  163. package/dist/rules/max-width.d.ts +0 -6
  164. package/dist/rules/min-height.d.ts +0 -6
  165. package/dist/rules/min-width.d.ts +0 -6
  166. package/dist/rules/mix-blend-mode.d.ts +0 -6
  167. package/dist/rules/object-fit.d.ts +0 -6
  168. package/dist/rules/object-position.d.ts +0 -6
  169. package/dist/rules/opacity.d.ts +0 -6
  170. package/dist/rules/order.d.ts +0 -7
  171. package/dist/rules/outline-color.d.ts +0 -7
  172. package/dist/rules/outline-offset.d.ts +0 -5
  173. package/dist/rules/outline-style.d.ts +0 -6
  174. package/dist/rules/outline-width.d.ts +0 -6
  175. package/dist/rules/outline.d.ts +0 -7
  176. package/dist/rules/overflow.d.ts +0 -9
  177. package/dist/rules/overscroll-behavior.d.ts +0 -8
  178. package/dist/rules/padding.d.ts +0 -9
  179. package/dist/rules/place-content.d.ts +0 -6
  180. package/dist/rules/place-items.d.ts +0 -6
  181. package/dist/rules/place-self.d.ts +0 -6
  182. package/dist/rules/placement.d.ts +0 -8
  183. package/dist/rules/pointer-events.d.ts +0 -5
  184. package/dist/rules/position.d.ts +0 -5
  185. package/dist/rules/quotes.d.ts +0 -5
  186. package/dist/rules/resize.d.ts +0 -5
  187. package/dist/rules/rx.d.ts +0 -6
  188. package/dist/rules/ry.d.ts +0 -6
  189. package/dist/rules/scroll-behavior.d.ts +0 -5
  190. package/dist/rules/scroll-margin.d.ts +0 -9
  191. package/dist/rules/scroll-padding.d.ts +0 -9
  192. package/dist/rules/scroll-snap-align.d.ts +0 -6
  193. package/dist/rules/scroll-snap-stop.d.ts +0 -6
  194. package/dist/rules/scroll-snap-type.d.ts +0 -6
  195. package/dist/rules/shape-image-threshold.d.ts +0 -6
  196. package/dist/rules/shape-margin.d.ts +0 -6
  197. package/dist/rules/shape-outside.d.ts +0 -6
  198. package/dist/rules/spacing.d.ts +0 -9
  199. package/dist/rules/stroke-dasharray.d.ts +0 -5
  200. package/dist/rules/stroke-dashoffset.d.ts +0 -5
  201. package/dist/rules/stroke-width.d.ts +0 -6
  202. package/dist/rules/stroke.d.ts +0 -6
  203. package/dist/rules/table-layout.d.ts +0 -5
  204. package/dist/rules/text-align.d.ts +0 -6
  205. package/dist/rules/text-decoration-color.d.ts +0 -7
  206. package/dist/rules/text-decoration-line.d.ts +0 -6
  207. package/dist/rules/text-decoration-style.d.ts +0 -6
  208. package/dist/rules/text-decoration-thickness.d.ts +0 -7
  209. package/dist/rules/text-decoration.d.ts +0 -8
  210. package/dist/rules/text-fill-color.d.ts +0 -10
  211. package/dist/rules/text-indent.d.ts +0 -5
  212. package/dist/rules/text-orientation.d.ts +0 -6
  213. package/dist/rules/text-overflow.d.ts +0 -6
  214. package/dist/rules/text-rendering.d.ts +0 -6
  215. package/dist/rules/text-shadow.d.ts +0 -6
  216. package/dist/rules/text-size.d.ts +0 -8
  217. package/dist/rules/text-stroke-color.d.ts +0 -10
  218. package/dist/rules/text-stroke-width.d.ts +0 -8
  219. package/dist/rules/text-stroke.d.ts +0 -8
  220. package/dist/rules/text-transform.d.ts +0 -6
  221. package/dist/rules/text-underline-offset.d.ts +0 -5
  222. package/dist/rules/touch-action.d.ts +0 -5
  223. package/dist/rules/transform-box.d.ts +0 -6
  224. package/dist/rules/transform-origin.d.ts +0 -7
  225. package/dist/rules/transform-style.d.ts +0 -6
  226. package/dist/rules/transform.d.ts +0 -9
  227. package/dist/rules/transition-delay.d.ts +0 -7
  228. package/dist/rules/transition-duration.d.ts +0 -7
  229. package/dist/rules/transition-property.d.ts +0 -6
  230. package/dist/rules/transition-timing-function.d.ts +0 -6
  231. package/dist/rules/transition.d.ts +0 -7
  232. package/dist/rules/user-drag.d.ts +0 -8
  233. package/dist/rules/user-select.d.ts +0 -8
  234. package/dist/rules/variable.d.ts +0 -9
  235. package/dist/rules/vertical-align.d.ts +0 -6
  236. package/dist/rules/visibility.d.ts +0 -5
  237. package/dist/rules/white-space.d.ts +0 -6
  238. package/dist/rules/width.d.ts +0 -6
  239. package/dist/rules/will-change.d.ts +0 -5
  240. package/dist/rules/word-break.d.ts +0 -6
  241. package/dist/rules/word-spacing.d.ts +0 -6
  242. package/dist/rules/writing-mode.d.ts +0 -6
  243. package/dist/rules/x.d.ts +0 -6
  244. package/dist/rules/y.d.ts +0 -6
  245. package/dist/rules/z-index.d.ts +0 -7
  246. package/dist/utils/get-border-props.d.ts +0 -3
  247. package/dist/utils/get-css-property-text.d.ts +0 -5
  248. package/dist/utils/normalize-css-calc-text.d.ts +0 -5
  249. package/dist/utils/parse-value-unit.d.ts +0 -2
  250. package/dist/utils/parse-value.d.ts +0 -6
  251. package/readme.md +0 -118
  252. /package/dist/{apis → functions}/fill-color-scale.d.ts +0 -0
@@ -1,3 +1,279 @@
1
- import FontWeight from '../rules/font-weight';
2
- declare const DefaultRules: (typeof FontWeight)[];
3
- export default DefaultRules;
1
+ import type { RuleDefinition } from '../rule';
2
+ import { Layer } from '../layer';
3
+ export declare const BORDER_STYLES: string[];
4
+ export declare const autofillSolidToValueComponent: RuleDefinition['transformValueComponents'];
5
+ declare const rules: {
6
+ group: RuleDefinition;
7
+ variable: RuleDefinition;
8
+ 'font-size': RuleDefinition;
9
+ 'font-weight': RuleDefinition;
10
+ 'font-family': RuleDefinition;
11
+ 'font-smoothing': RuleDefinition;
12
+ 'font-style': RuleDefinition;
13
+ 'font-variant-numeric': RuleDefinition;
14
+ 'font-variant': {
15
+ layer: Layer;
16
+ };
17
+ 'font-feature-settings': RuleDefinition;
18
+ font: RuleDefinition;
19
+ color: RuleDefinition;
20
+ 'margin-left': RuleDefinition;
21
+ 'margin-right': RuleDefinition;
22
+ 'margin-top': RuleDefinition;
23
+ 'margin-bottom': RuleDefinition;
24
+ 'margin-x': RuleDefinition;
25
+ 'margin-y': RuleDefinition;
26
+ margin: RuleDefinition;
27
+ 'margin-inline-start': RuleDefinition;
28
+ 'margin-inline-end': RuleDefinition;
29
+ 'margin-inline': RuleDefinition;
30
+ 'padding-left': RuleDefinition;
31
+ 'padding-right': RuleDefinition;
32
+ 'padding-top': RuleDefinition;
33
+ 'padding-bottom': RuleDefinition;
34
+ 'padding-x': RuleDefinition;
35
+ 'padding-y': RuleDefinition;
36
+ padding: RuleDefinition;
37
+ 'padding-inline-start': RuleDefinition;
38
+ 'padding-inline-end': RuleDefinition;
39
+ 'padding-inline': RuleDefinition;
40
+ 'flex-basis': RuleDefinition;
41
+ 'flex-wrap': RuleDefinition;
42
+ 'flex-grow': RuleDefinition;
43
+ 'flex-shrink': RuleDefinition;
44
+ 'flex-direction': RuleDefinition;
45
+ flex: RuleDefinition;
46
+ display: RuleDefinition;
47
+ width: RuleDefinition;
48
+ height: RuleDefinition;
49
+ 'min-width': RuleDefinition;
50
+ 'min-height': RuleDefinition;
51
+ box: RuleDefinition;
52
+ 'min-box': RuleDefinition;
53
+ 'max-box': RuleDefinition;
54
+ 'box-sizing': RuleDefinition;
55
+ 'box-decoration-break': RuleDefinition;
56
+ contain: RuleDefinition;
57
+ content: RuleDefinition;
58
+ 'counter-increment': RuleDefinition;
59
+ 'counter-reset': RuleDefinition;
60
+ 'letter-spacing': RuleDefinition;
61
+ 'line-height': RuleDefinition;
62
+ 'object-fit': RuleDefinition;
63
+ 'object-position': RuleDefinition;
64
+ 'text-align': RuleDefinition;
65
+ 'text-decoration-color': RuleDefinition;
66
+ 'text-decoration-style': RuleDefinition;
67
+ 'text-decoration-thickness': RuleDefinition;
68
+ 'text-decoration-line': RuleDefinition;
69
+ 'text-decoration': RuleDefinition;
70
+ 'text-underline-offset': RuleDefinition;
71
+ 'text-overflow': RuleDefinition;
72
+ 'text-orientation': RuleDefinition;
73
+ 'text-transform': RuleDefinition;
74
+ 'text-rendering': RuleDefinition;
75
+ 'text-indent': RuleDefinition;
76
+ 'vertical-align': RuleDefinition;
77
+ columns: RuleDefinition;
78
+ 'white-space': RuleDefinition;
79
+ top: RuleDefinition;
80
+ bottom: RuleDefinition;
81
+ left: RuleDefinition;
82
+ right: RuleDefinition;
83
+ inset: RuleDefinition;
84
+ lines: RuleDefinition;
85
+ 'max-height': RuleDefinition;
86
+ 'max-width': RuleDefinition;
87
+ opacity: RuleDefinition;
88
+ visibility: RuleDefinition;
89
+ clear: RuleDefinition;
90
+ float: RuleDefinition;
91
+ isolation: RuleDefinition;
92
+ 'overflow-x': RuleDefinition;
93
+ 'overflow-y': RuleDefinition;
94
+ overflow: RuleDefinition;
95
+ 'overscroll-behavior-x': RuleDefinition;
96
+ 'overscroll-behavior-y': RuleDefinition;
97
+ 'overscroll-behavior': RuleDefinition;
98
+ 'z-index': RuleDefinition;
99
+ position: RuleDefinition;
100
+ cursor: RuleDefinition;
101
+ 'pointer-events': RuleDefinition;
102
+ resize: RuleDefinition;
103
+ 'touch-action': RuleDefinition;
104
+ 'word-break': RuleDefinition;
105
+ 'word-spacing': RuleDefinition;
106
+ 'user-drag': RuleDefinition;
107
+ 'user-select': RuleDefinition;
108
+ 'text-shadow': RuleDefinition;
109
+ 'text-size': RuleDefinition;
110
+ 'text-fill-color': RuleDefinition;
111
+ 'text-stroke-width': RuleDefinition;
112
+ 'text-stroke-color': RuleDefinition;
113
+ 'text-stroke': RuleDefinition;
114
+ 'box-shadow': RuleDefinition;
115
+ 'table-layout': RuleDefinition;
116
+ 'transform-box': RuleDefinition;
117
+ 'transform-style': RuleDefinition;
118
+ 'transform-origin': RuleDefinition;
119
+ transform: RuleDefinition;
120
+ 'transition-property': RuleDefinition;
121
+ 'transitionTiming-function': RuleDefinition;
122
+ 'transition-duration': RuleDefinition;
123
+ 'transition-delay': RuleDefinition;
124
+ transition: RuleDefinition;
125
+ 'animation-delay': RuleDefinition;
126
+ 'animation-direction': RuleDefinition;
127
+ 'animation-duration': RuleDefinition;
128
+ 'animation-fill-mode': RuleDefinition;
129
+ 'animation-iteration-count': RuleDefinition;
130
+ 'animation-name': RuleDefinition;
131
+ 'animation-play-state': RuleDefinition;
132
+ 'animation-timing-function': RuleDefinition;
133
+ animation: RuleDefinition;
134
+ 'border-collapse': RuleDefinition;
135
+ 'border-spacing': RuleDefinition;
136
+ 'border-top-color': RuleDefinition;
137
+ 'border-bottom-color': RuleDefinition;
138
+ 'border-left-color': RuleDefinition;
139
+ 'border-right-color': RuleDefinition;
140
+ 'border-x-color': RuleDefinition;
141
+ 'border-y-color': RuleDefinition;
142
+ 'border-color': RuleDefinition;
143
+ 'border-top-left-radius': RuleDefinition;
144
+ 'border-top-right-radius': RuleDefinition;
145
+ 'border-bottom-left-radius': RuleDefinition;
146
+ 'border-bottom-right-radius': RuleDefinition;
147
+ 'border-top-radius': RuleDefinition;
148
+ 'border-bottom-radius': RuleDefinition;
149
+ 'border-left-radius': RuleDefinition;
150
+ 'border-right-radius': RuleDefinition;
151
+ 'border-radius': RuleDefinition;
152
+ 'border-top-style': RuleDefinition;
153
+ 'border-bottom-style': RuleDefinition;
154
+ 'border-left-style': RuleDefinition;
155
+ 'border-right-style': RuleDefinition;
156
+ 'border-x-style': RuleDefinition;
157
+ 'border-y-style': RuleDefinition;
158
+ 'border-style': RuleDefinition;
159
+ 'border-top-width': RuleDefinition;
160
+ 'border-bottom-width': RuleDefinition;
161
+ 'border-left-width': RuleDefinition;
162
+ 'border-right-width': RuleDefinition;
163
+ 'border-x-width': RuleDefinition;
164
+ 'border-y-width': RuleDefinition;
165
+ 'border-width': RuleDefinition;
166
+ 'border-image-outset': RuleDefinition;
167
+ 'border-image-repeat': RuleDefinition;
168
+ 'border-image-slice': RuleDefinition;
169
+ 'border-image-source': RuleDefinition;
170
+ 'border-image-width': RuleDefinition;
171
+ 'border-image': RuleDefinition;
172
+ 'border-top': RuleDefinition;
173
+ 'border-bottom': RuleDefinition;
174
+ 'border-left': RuleDefinition;
175
+ 'border-right': RuleDefinition;
176
+ 'border-x': RuleDefinition;
177
+ 'border-y': RuleDefinition;
178
+ border: RuleDefinition;
179
+ 'background-attachment': RuleDefinition;
180
+ 'background-blend-mode': RuleDefinition;
181
+ 'background-color': RuleDefinition;
182
+ 'background-clip': RuleDefinition;
183
+ 'background-origin': RuleDefinition;
184
+ 'background-position': RuleDefinition;
185
+ 'background-repeat': RuleDefinition;
186
+ 'background-size': RuleDefinition;
187
+ 'background-image': RuleDefinition;
188
+ background: RuleDefinition;
189
+ gradient: RuleDefinition;
190
+ 'mix-blend-mode': RuleDefinition;
191
+ 'backdrop-filter': RuleDefinition;
192
+ filter: RuleDefinition;
193
+ fill: RuleDefinition;
194
+ 'stroke-dasharray': RuleDefinition;
195
+ 'stroke-dashoffset': RuleDefinition;
196
+ 'stroke-width': RuleDefinition;
197
+ stroke: RuleDefinition;
198
+ x: RuleDefinition;
199
+ y: RuleDefinition;
200
+ cx: RuleDefinition;
201
+ cy: RuleDefinition;
202
+ rx: RuleDefinition;
203
+ ry: RuleDefinition;
204
+ 'grid-column-start': RuleDefinition;
205
+ 'grid-column-end': RuleDefinition;
206
+ 'grid-column': RuleDefinition;
207
+ 'grid-columns': RuleDefinition;
208
+ 'grid-row-start': RuleDefinition;
209
+ 'grid-row-end': RuleDefinition;
210
+ 'grid-row': RuleDefinition;
211
+ 'grid-rows': RuleDefinition;
212
+ 'grid-auto-columns': RuleDefinition;
213
+ 'grid-auto-flow': RuleDefinition;
214
+ 'grid-auto-rows': RuleDefinition;
215
+ 'grid-template-areas': RuleDefinition;
216
+ 'grid-template-columns': RuleDefinition;
217
+ 'grid-template-rows': RuleDefinition;
218
+ 'grid-template': RuleDefinition;
219
+ 'grid-area': RuleDefinition;
220
+ grid: RuleDefinition;
221
+ 'column-gap': RuleDefinition;
222
+ 'row-gap': RuleDefinition;
223
+ gap: RuleDefinition;
224
+ order: RuleDefinition;
225
+ 'break-inside': RuleDefinition;
226
+ 'break-before': RuleDefinition;
227
+ 'break-after': RuleDefinition;
228
+ 'aspect-ratio': RuleDefinition;
229
+ 'column-span': RuleDefinition;
230
+ 'align-content': RuleDefinition;
231
+ 'align-items': RuleDefinition;
232
+ 'align-self': RuleDefinition;
233
+ 'justify-content': RuleDefinition;
234
+ 'justify-items': RuleDefinition;
235
+ 'justify-self': RuleDefinition;
236
+ 'place-content': RuleDefinition;
237
+ 'place-items': RuleDefinition;
238
+ 'place-self': RuleDefinition;
239
+ 'list-style-position': RuleDefinition;
240
+ 'list-style-type': RuleDefinition;
241
+ 'list-style-image': RuleDefinition;
242
+ 'list-style': RuleDefinition;
243
+ 'outline-color': RuleDefinition;
244
+ 'outline-offset': RuleDefinition;
245
+ 'outline-style': RuleDefinition;
246
+ 'outline-width': RuleDefinition;
247
+ outline: RuleDefinition;
248
+ 'accent-color': RuleDefinition;
249
+ appearance: RuleDefinition;
250
+ 'caret-color': RuleDefinition;
251
+ 'scroll-behavior': RuleDefinition;
252
+ 'scroll-margin-left': RuleDefinition;
253
+ 'scroll-margin-right': RuleDefinition;
254
+ 'scroll-margin-top': RuleDefinition;
255
+ 'scroll-margin-bottom': RuleDefinition;
256
+ 'scroll-margin-x': RuleDefinition;
257
+ 'scroll-margin-y': RuleDefinition;
258
+ 'scroll-margin': RuleDefinition;
259
+ 'scroll-padding-left': RuleDefinition;
260
+ 'scroll-padding-right': RuleDefinition;
261
+ 'scroll-padding-top': RuleDefinition;
262
+ 'scroll-padding-bottom': RuleDefinition;
263
+ 'scroll-padding-x': RuleDefinition;
264
+ 'scroll-padding-y': RuleDefinition;
265
+ 'scroll-padding': RuleDefinition;
266
+ 'scroll-snap-align': RuleDefinition;
267
+ 'scroll-snap-stop': RuleDefinition;
268
+ 'scroll-snap-type': RuleDefinition;
269
+ 'will-change': RuleDefinition;
270
+ 'writing-mode': RuleDefinition;
271
+ direction: RuleDefinition;
272
+ 'shape-outside': RuleDefinition;
273
+ 'shape-margin': RuleDefinition;
274
+ 'shape-image-threshold': RuleDefinition;
275
+ 'clip-path': RuleDefinition;
276
+ quotes: RuleDefinition;
277
+ 'mask-image': RuleDefinition;
278
+ };
279
+ export default rules;
@@ -1,4 +1,4 @@
1
- declare const defaultSelectors: {
1
+ declare const selectors: {
2
2
  '::scrollbar': string;
3
3
  '::scrollbar-button': string;
4
4
  '::scrollbar-thumb': string;
@@ -15,5 +15,6 @@ declare const defaultSelectors: {
15
15
  ':even': string;
16
16
  ':odd': string;
17
17
  ':nth(': string;
18
+ ':only': string;
18
19
  };
19
- export default defaultSelectors;
20
+ export default selectors;
@@ -1,82 +1,191 @@
1
- declare const defaultSemantics: {
2
- square: string;
3
- video: string;
4
- rounded: string;
5
- round: string;
6
- hidden: string;
7
- hide: string;
8
- block: string;
9
- table: string;
10
- flex: string;
11
- grid: string;
12
- contents: string;
13
- inline: string;
14
- 'inline-block': string;
15
- 'inline-flex': string;
16
- 'inline-grid': string;
17
- 'inline-table': string;
18
- 'table-cell': string;
19
- 'table-caption': string;
20
- 'flow-root': string;
21
- 'list-item': string;
22
- 'table-row': string;
23
- 'table-column': string;
24
- 'table-row-group': string;
25
- 'table-column-group': string;
26
- 'table-header-group': string;
27
- 'table-footer-group': string;
28
- italic: string;
29
- oblique: string;
30
- isolate: string;
31
- overflow: string;
32
- untouchable: string;
33
- static: string;
34
- fixed: string;
35
- abs: string;
36
- rel: string;
37
- sticky: string;
38
- uppercase: string;
39
- lowercase: string;
40
- capitalize: string;
41
- visible: string;
42
- invisible: string;
43
- 'center-content': {
44
- 'justify-content': string;
45
- 'align-items': string;
46
- };
47
- 'sr-only': {
48
- position: string;
49
- width: string;
50
- height: string;
51
- padding: string;
52
- margin: string;
53
- overflow: string;
54
- clip: string;
55
- 'white-space': string;
56
- 'border-width': string;
57
- };
58
- full: {
59
- width: string;
60
- height: string;
61
- };
62
- center: {
63
- left: number;
64
- right: number;
65
- 'margin-left': string;
66
- 'margin-right': string;
67
- };
68
- middle: {
69
- top: number;
70
- bottom: number;
71
- 'margin-top': string;
72
- 'margin-bottom': string;
73
- };
74
- 'break-spaces': {
75
- 'white-space': string;
76
- };
77
- 'break-word': {
78
- 'overflow-wrap': string;
79
- overflow: string;
1
+ declare const semantics: {
2
+ readonly square: {
3
+ readonly 'aspect-ratio': "1/1";
4
+ };
5
+ readonly video: {
6
+ readonly 'aspect-ratio': "16/9";
7
+ };
8
+ readonly rounded: {
9
+ readonly 'border-radius': "1e9em";
10
+ };
11
+ readonly round: {
12
+ readonly 'border-radius': "50%";
13
+ };
14
+ readonly hidden: {
15
+ readonly display: "none";
16
+ };
17
+ readonly hide: {
18
+ readonly display: "none";
19
+ };
20
+ readonly block: {
21
+ readonly display: "block";
22
+ };
23
+ readonly table: {
24
+ readonly display: "table";
25
+ };
26
+ readonly flex: {
27
+ readonly display: "flex";
28
+ };
29
+ readonly grid: {
30
+ readonly display: "grid";
31
+ };
32
+ readonly contents: {
33
+ readonly display: "contents";
34
+ };
35
+ readonly inline: {
36
+ readonly display: "inline";
37
+ };
38
+ readonly 'inline-block': {
39
+ readonly display: "inline-block";
40
+ };
41
+ readonly 'inline-flex': {
42
+ readonly display: "inline-flex";
43
+ };
44
+ readonly 'inline-grid': {
45
+ readonly display: "inline-grid";
46
+ };
47
+ readonly 'inline-table': {
48
+ readonly display: "inline-table";
49
+ };
50
+ readonly 'table-cell': {
51
+ readonly display: "table-cell";
52
+ };
53
+ readonly 'table-caption': {
54
+ readonly display: "table-caption";
55
+ };
56
+ readonly 'flow-root': {
57
+ readonly display: "flow-root";
58
+ };
59
+ readonly 'list-item': {
60
+ readonly display: "list-item";
61
+ };
62
+ readonly 'table-row': {
63
+ readonly display: "table-row";
64
+ };
65
+ readonly 'table-column': {
66
+ readonly display: "table-column";
67
+ };
68
+ readonly 'table-row-group': {
69
+ readonly display: "table-row-group";
70
+ };
71
+ readonly 'table-column-group': {
72
+ readonly display: "table-column-group";
73
+ };
74
+ readonly 'table-header-group': {
75
+ readonly display: "table-header-group";
76
+ };
77
+ readonly 'table-footer-group': {
78
+ readonly display: "table-footer-group";
79
+ };
80
+ readonly italic: {
81
+ readonly 'font-style': "italic";
82
+ };
83
+ readonly oblique: {
84
+ readonly 'font-style': "oblique";
85
+ };
86
+ readonly isolate: {
87
+ readonly isolation: "isolate";
88
+ };
89
+ readonly overflowed: {
90
+ readonly overflow: "visible";
91
+ };
92
+ readonly untouchable: {
93
+ readonly 'pointer-events': "none";
94
+ };
95
+ readonly static: {
96
+ readonly position: "static";
97
+ };
98
+ readonly fixed: {
99
+ readonly position: "fixed";
100
+ };
101
+ readonly abs: {
102
+ readonly position: "absolute";
103
+ };
104
+ readonly rel: {
105
+ readonly position: "relative";
106
+ };
107
+ readonly sticky: {
108
+ readonly position: "sticky";
109
+ };
110
+ readonly uppercase: {
111
+ readonly 'text-transform': "uppercase";
112
+ };
113
+ readonly lowercase: {
114
+ readonly 'text-transform': "lowercase";
115
+ };
116
+ readonly capitalize: {
117
+ readonly 'text-transform': "capitalize";
118
+ };
119
+ readonly visible: {
120
+ readonly visibility: "visible";
121
+ };
122
+ readonly invisible: {
123
+ readonly visibility: "hidden";
124
+ };
125
+ readonly vw: {
126
+ readonly width: "100vw";
127
+ };
128
+ readonly vh: {
129
+ readonly height: "100vh";
130
+ };
131
+ readonly 'max-vw': {
132
+ readonly 'max-width': "100vw";
133
+ };
134
+ readonly 'max-vh': {
135
+ readonly 'max-height': "100vh";
136
+ };
137
+ readonly 'min-vw': {
138
+ readonly 'min-width': "100vw";
139
+ };
140
+ readonly 'min-vh': {
141
+ readonly 'min-height': "100vh";
142
+ };
143
+ readonly 'center-content': {
144
+ readonly 'justify-content': "center";
145
+ readonly 'align-items': "center";
146
+ };
147
+ readonly 'sr-only': {
148
+ readonly position: "absolute";
149
+ readonly width: "1px";
150
+ readonly height: "1px";
151
+ readonly padding: "0";
152
+ readonly margin: "-1px";
153
+ readonly overflow: "hidden";
154
+ readonly clip: "rect(0,0,0,0)";
155
+ readonly 'white-space': "nowrap";
156
+ readonly 'border-width': "0";
157
+ };
158
+ readonly full: {
159
+ readonly width: "100%";
160
+ readonly height: "100%";
161
+ };
162
+ readonly center: {
163
+ readonly left: 0;
164
+ readonly right: 0;
165
+ readonly 'margin-left': "auto";
166
+ readonly 'margin-right': "auto";
167
+ };
168
+ readonly middle: {
169
+ readonly top: 0;
170
+ readonly bottom: 0;
171
+ readonly 'margin-top': "auto";
172
+ readonly 'margin-bottom': "auto";
173
+ };
174
+ readonly 'break-spaces': {
175
+ readonly 'white-space': "break-spaces";
176
+ };
177
+ readonly 'break-word': {
178
+ readonly 'overflow-wrap': "break-word";
179
+ readonly overflow: "hidden";
180
+ };
181
+ readonly 'gradient-text': {
182
+ readonly '-webkit-text-fill-color': "transparent";
183
+ readonly '-webkit-background-clip': "text";
184
+ readonly 'background-clip': "text";
185
+ };
186
+ readonly fit: {
187
+ readonly width: "fit-content";
188
+ readonly height: "fit-content";
80
189
  };
81
190
  };
82
- export default defaultSemantics;
191
+ export default semantics;
@@ -0,0 +1,3 @@
1
+ export type ConfigStyles = {
2
+ [key: string]: string | ConfigStyles;
3
+ };