@pyreon/unistyle 0.24.5 → 0.24.6

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 (50) hide show
  1. package/package.json +7 -9
  2. package/src/__tests__/alignContent.test.ts +0 -121
  3. package/src/__tests__/borderRadius.test.ts +0 -125
  4. package/src/__tests__/camelToKebab.test.ts +0 -44
  5. package/src/__tests__/context.test.ts +0 -147
  6. package/src/__tests__/createMediaQueries.test.ts +0 -98
  7. package/src/__tests__/edge.test.ts +0 -164
  8. package/src/__tests__/enrichTheme.test.ts +0 -56
  9. package/src/__tests__/extendCss.test.ts +0 -45
  10. package/src/__tests__/index.test.ts +0 -79
  11. package/src/__tests__/makeItResponsive.test.ts +0 -431
  12. package/src/__tests__/manifest-snapshot.test.ts +0 -34
  13. package/src/__tests__/native-marker.test.ts +0 -9
  14. package/src/__tests__/optimizeBreakpointDeltas.test.ts +0 -124
  15. package/src/__tests__/processDescriptor.test.ts +0 -322
  16. package/src/__tests__/responsive.test.ts +0 -221
  17. package/src/__tests__/special-keys.test.ts +0 -120
  18. package/src/__tests__/styles.test.ts +0 -273
  19. package/src/__tests__/unistyle.browser.test.tsx +0 -169
  20. package/src/__tests__/units.test.ts +0 -134
  21. package/src/context.tsx +0 -44
  22. package/src/enrichTheme.ts +0 -42
  23. package/src/env.d.ts +0 -6
  24. package/src/index.ts +0 -91
  25. package/src/manifest.ts +0 -197
  26. package/src/responsive/breakpoints.ts +0 -15
  27. package/src/responsive/createMediaQueries.ts +0 -43
  28. package/src/responsive/index.ts +0 -15
  29. package/src/responsive/makeItResponsive.ts +0 -223
  30. package/src/responsive/normalizeTheme.ts +0 -79
  31. package/src/responsive/optimizeBreakpointDeltas.ts +0 -190
  32. package/src/responsive/optimizeTheme.ts +0 -60
  33. package/src/responsive/sortBreakpoints.ts +0 -10
  34. package/src/responsive/transformTheme.ts +0 -54
  35. package/src/styles/alignContent.ts +0 -62
  36. package/src/styles/extendCss.ts +0 -26
  37. package/src/styles/index.ts +0 -16
  38. package/src/styles/shorthands/borderRadius.ts +0 -89
  39. package/src/styles/shorthands/edge.ts +0 -108
  40. package/src/styles/shorthands/index.ts +0 -4
  41. package/src/styles/styles/camelToKebab.ts +0 -3
  42. package/src/styles/styles/index.ts +0 -132
  43. package/src/styles/styles/processDescriptor.ts +0 -136
  44. package/src/styles/styles/propertyMap.ts +0 -438
  45. package/src/styles/styles/types.ts +0 -368
  46. package/src/types.ts +0 -175
  47. package/src/units/index.ts +0 -6
  48. package/src/units/stripUnit.ts +0 -25
  49. package/src/units/value.ts +0 -47
  50. package/src/units/values.ts +0 -40
@@ -1,438 +0,0 @@
1
- import type { InnerTheme } from './types'
2
-
3
- type EdgeProperty =
4
- | 'inset'
5
- | 'margin'
6
- | 'padding'
7
- | 'border-width'
8
- | 'border-style'
9
- | 'border-color'
10
-
11
- type EdgeKeys = {
12
- full: keyof InnerTheme
13
- x: keyof InnerTheme
14
- y: keyof InnerTheme
15
- top: keyof InnerTheme
16
- left: keyof InnerTheme
17
- bottom: keyof InnerTheme
18
- right: keyof InnerTheme
19
- }
20
-
21
- type BorderRadiusKeys = {
22
- full: keyof InnerTheme
23
- top: keyof InnerTheme
24
- bottom: keyof InnerTheme
25
- left: keyof InnerTheme
26
- right: keyof InnerTheme
27
- topLeft: keyof InnerTheme
28
- topRight: keyof InnerTheme
29
- bottomLeft: keyof InnerTheme
30
- bottomRight: keyof InnerTheme
31
- }
32
-
33
- export type PropertyDescriptor =
34
- | { kind: 'simple'; css: string; key: keyof InnerTheme }
35
- | { kind: 'convert'; css: string; key: keyof InnerTheme }
36
- | { kind: 'convert_fallback'; css: string; keys: (keyof InnerTheme)[] }
37
- | { kind: 'edge'; property: EdgeProperty; keys: EdgeKeys }
38
- | { kind: 'border_radius'; keys: BorderRadiusKeys }
39
- | { kind: 'special'; id: string }
40
-
41
- const propertyMap: PropertyDescriptor[] = [
42
- // SPECIAL: fullScreen
43
- { kind: 'special', id: 'fullScreen' },
44
-
45
- // POSITION
46
- { kind: 'simple', css: 'all', key: 'all' },
47
- { kind: 'simple', css: 'display', key: 'display' },
48
- { kind: 'simple', css: 'position', key: 'position' },
49
- { kind: 'simple', css: 'box-sizing', key: 'boxSizing' },
50
- { kind: 'simple', css: 'float', key: 'float' },
51
-
52
- // INSET
53
- {
54
- kind: 'edge',
55
- property: 'inset',
56
- keys: {
57
- full: 'inset',
58
- x: 'insetX',
59
- y: 'insetY',
60
- top: 'top',
61
- left: 'left',
62
- bottom: 'bottom',
63
- right: 'right',
64
- },
65
- },
66
-
67
- // SIZING
68
- { kind: 'convert_fallback', css: 'width', keys: ['width', 'size'] },
69
- { kind: 'convert_fallback', css: 'min-width', keys: ['minWidth', 'minSize'] },
70
- { kind: 'convert_fallback', css: 'max-width', keys: ['maxWidth', 'maxSize'] },
71
- { kind: 'convert_fallback', css: 'height', keys: ['height', 'size'] },
72
- { kind: 'convert_fallback', css: 'min-height', keys: ['minHeight', 'minSize'] },
73
- { kind: 'convert_fallback', css: 'max-height', keys: ['maxHeight', 'maxSize'] },
74
- { kind: 'convert', css: 'gap', key: 'gap' },
75
- { kind: 'simple', css: 'aspect-ratio', key: 'aspectRatio' },
76
- { kind: 'simple', css: 'contain', key: 'contain' },
77
- { kind: 'simple', css: 'container-type', key: 'containerType' },
78
- { kind: 'simple', css: 'container-name', key: 'containerName' },
79
- { kind: 'simple', css: 'container', key: 'container' },
80
- { kind: 'convert', css: 'inline-size', key: 'inlineSize' },
81
- { kind: 'convert', css: 'block-size', key: 'blockSize' },
82
- { kind: 'convert', css: 'min-inline-size', key: 'minInlineSize' },
83
- { kind: 'convert', css: 'min-block-size', key: 'minBlockSize' },
84
- { kind: 'convert', css: 'max-inline-size', key: 'maxInlineSize' },
85
- { kind: 'convert', css: 'max-block-size', key: 'maxBlockSize' },
86
-
87
- // SPACING
88
- {
89
- kind: 'edge',
90
- property: 'margin',
91
- keys: {
92
- full: 'margin',
93
- x: 'marginX',
94
- y: 'marginY',
95
- top: 'marginTop',
96
- left: 'marginLeft',
97
- bottom: 'marginBottom',
98
- right: 'marginRight',
99
- },
100
- },
101
- {
102
- kind: 'edge',
103
- property: 'padding',
104
- keys: {
105
- full: 'padding',
106
- x: 'paddingX',
107
- y: 'paddingY',
108
- top: 'paddingTop',
109
- left: 'paddingLeft',
110
- bottom: 'paddingBottom',
111
- right: 'paddingRight',
112
- },
113
- },
114
-
115
- // Logical spacing
116
- { kind: 'convert', css: 'margin-inline', key: 'marginInline' },
117
- { kind: 'convert', css: 'margin-inline-start', key: 'marginInlineStart' },
118
- { kind: 'convert', css: 'margin-inline-end', key: 'marginInlineEnd' },
119
- { kind: 'convert', css: 'margin-block', key: 'marginBlock' },
120
- { kind: 'convert', css: 'margin-block-start', key: 'marginBlockStart' },
121
- { kind: 'convert', css: 'margin-block-end', key: 'marginBlockEnd' },
122
- { kind: 'convert', css: 'padding-inline', key: 'paddingInline' },
123
- { kind: 'convert', css: 'padding-inline-start', key: 'paddingInlineStart' },
124
- { kind: 'convert', css: 'padding-inline-end', key: 'paddingInlineEnd' },
125
- { kind: 'convert', css: 'padding-block', key: 'paddingBlock' },
126
- { kind: 'convert', css: 'padding-block-start', key: 'paddingBlockStart' },
127
- { kind: 'convert', css: 'padding-block-end', key: 'paddingBlockEnd' },
128
-
129
- // Logical inset
130
- { kind: 'convert', css: 'inset-inline', key: 'insetInline' },
131
- { kind: 'convert', css: 'inset-inline-start', key: 'insetInlineStart' },
132
- { kind: 'convert', css: 'inset-inline-end', key: 'insetInlineEnd' },
133
- { kind: 'convert', css: 'inset-block', key: 'insetBlock' },
134
- { kind: 'convert', css: 'inset-block-start', key: 'insetBlockStart' },
135
- { kind: 'convert', css: 'inset-block-end', key: 'insetBlockEnd' },
136
-
137
- // FLEX
138
- { kind: 'simple', css: 'align-content', key: 'alignContent' },
139
- { kind: 'simple', css: 'align-items', key: 'alignItems' },
140
- { kind: 'simple', css: 'align-self', key: 'alignSelf' },
141
- { kind: 'simple', css: 'flex', key: 'flex' },
142
- { kind: 'simple', css: 'flex-basis', key: 'flexBasis' },
143
- { kind: 'simple', css: 'flex-direction', key: 'flexDirection' },
144
- { kind: 'simple', css: 'flex-flow', key: 'flexFlow' },
145
- { kind: 'simple', css: 'flex-grow', key: 'flexGrow' },
146
- { kind: 'simple', css: 'flex-shrink', key: 'flexShrink' },
147
- { kind: 'simple', css: 'flex-wrap', key: 'flexWrap' },
148
- { kind: 'simple', css: 'justify-content', key: 'justifyContent' },
149
- { kind: 'simple', css: 'justify-items', key: 'justifyItems' },
150
- { kind: 'simple', css: 'justify-self', key: 'justifySelf' },
151
- { kind: 'simple', css: 'place-items', key: 'placeItems' },
152
- { kind: 'simple', css: 'place-content', key: 'placeContent' },
153
- { kind: 'simple', css: 'place-self', key: 'placeSelf' },
154
- { kind: 'convert', css: 'row-gap', key: 'rowGap' },
155
- { kind: 'convert', css: 'column-gap', key: 'columnGap' },
156
-
157
- // GRID
158
- { kind: 'simple', css: 'grid', key: 'grid' },
159
- { kind: 'simple', css: 'grid-area', key: 'gridArea' },
160
- { kind: 'convert', css: 'grid-auto-columns', key: 'gridAutoColumns' },
161
- { kind: 'simple', css: 'grid-auto-flow', key: 'gridAutoFlow' },
162
- { kind: 'convert', css: 'grid-auto-rows', key: 'gridAutoRows' },
163
- { kind: 'simple', css: 'grid-column', key: 'gridColumn' },
164
- { kind: 'simple', css: 'grid-column-end', key: 'gridColumnEnd' },
165
- { kind: 'convert', css: 'grid-column-gap', key: 'gridColumnGap' },
166
- { kind: 'convert', css: 'grid-column-start', key: 'gridColumnStart' },
167
- { kind: 'convert', css: 'grid-gap', key: 'gridGap' },
168
- { kind: 'simple', css: 'grid-row', key: 'gridRow' },
169
- { kind: 'simple', css: 'grid-row-start', key: 'gridRowStart' },
170
- { kind: 'simple', css: 'grid-row-end', key: 'gridRowEnd' },
171
- { kind: 'convert', css: 'grid-row-gap', key: 'gridRowGap' },
172
- { kind: 'simple', css: 'grid-template', key: 'gridTemplate' },
173
- { kind: 'simple', css: 'grid-template-areas', key: 'gridTemplateAreas' },
174
- { kind: 'simple', css: 'grid-template-columns', key: 'gridTemplateColumns' },
175
- { kind: 'simple', css: 'grid-template-rows', key: 'gridTemplateRows' },
176
-
177
- // POSITIONING
178
- { kind: 'simple', css: 'object-fit', key: 'objectFit' },
179
- { kind: 'simple', css: 'object-position', key: 'objectPosition' },
180
- { kind: 'simple', css: 'order', key: 'order' },
181
- { kind: 'simple', css: 'opacity', key: 'opacity' },
182
- { kind: 'simple', css: 'resize', key: 'resize' },
183
- { kind: 'simple', css: 'vertical-align', key: 'verticalAlign' },
184
-
185
- // FONT & TEXT
186
- { kind: 'simple', css: 'line-height', key: 'lineHeight' },
187
- { kind: 'simple', css: 'font', key: 'font' },
188
- { kind: 'simple', css: 'font-family', key: 'fontFamily' },
189
- { kind: 'convert', css: 'font-size', key: 'fontSize' },
190
- { kind: 'convert', css: 'font-size-adjust', key: 'fontSizeAdjust' },
191
- { kind: 'convert', css: 'font-stretch', key: 'fontStretch' },
192
- { kind: 'simple', css: 'font-style', key: 'fontStyle' },
193
- { kind: 'simple', css: 'font-variant', key: 'fontVariant' },
194
- { kind: 'simple', css: 'font-weight', key: 'fontWeight' },
195
- { kind: 'simple', css: 'font-kerning', key: 'fontKerning' },
196
- { kind: 'simple', css: 'font-feature-settings', key: 'fontFeatureSettings' },
197
- { kind: 'simple', css: 'font-variation-settings', key: 'fontVariationSettings' },
198
- { kind: 'simple', css: 'font-optical-sizing', key: 'fontOpticalSizing' },
199
- { kind: 'simple', css: 'text-align', key: 'textAlign' },
200
- { kind: 'simple', css: 'text-align-last', key: 'textAlignLast' },
201
- { kind: 'simple', css: 'text-transform', key: 'textTransform' },
202
- { kind: 'simple', css: 'text-decoration', key: 'textDecoration' },
203
- { kind: 'simple', css: 'text-decoration-color', key: 'textDecorationColor' },
204
- { kind: 'simple', css: 'text-decoration-line', key: 'textDecorationLine' },
205
- { kind: 'simple', css: 'text-decoration-style', key: 'textDecorationStyle' },
206
- { kind: 'simple', css: 'text-decoration-thickness', key: 'textDecorationThickness' },
207
- { kind: 'simple', css: 'text-underline-offset', key: 'textUnderlineOffset' },
208
- { kind: 'simple', css: 'text-emphasis', key: 'textEmphasis' },
209
- { kind: 'simple', css: 'text-emphasis-color', key: 'textEmphasisColor' },
210
- { kind: 'simple', css: 'text-emphasis-style', key: 'textEmphasisStyle' },
211
- { kind: 'simple', css: 'letter-spacing', key: 'letterSpacing' },
212
- { kind: 'simple', css: 'word-spacing', key: 'wordSpacing' },
213
- { kind: 'simple', css: 'text-indent', key: 'textIndent' },
214
- { kind: 'simple', css: 'text-justify', key: 'textJustify' },
215
- { kind: 'simple', css: 'text-overflow', key: 'textOverflow' },
216
- { kind: 'simple', css: 'text-shadow', key: 'textShadow' },
217
- { kind: 'simple', css: 'text-wrap', key: 'textWrap' },
218
- { kind: 'simple', css: 'text-rendering', key: 'textRendering' },
219
- { kind: 'simple', css: 'white-space', key: 'whiteSpace' },
220
- { kind: 'simple', css: 'word-break', key: 'wordBreak' },
221
- { kind: 'simple', css: 'word-wrap', key: 'wordWrap' },
222
- { kind: 'simple', css: 'writing-mode', key: 'writingMode' },
223
- { kind: 'simple', css: 'direction', key: 'direction' },
224
- { kind: 'simple', css: 'hyphens', key: 'hyphens' },
225
-
226
- // LIST
227
- { kind: 'simple', css: 'list-style', key: 'listStyle' },
228
- { kind: 'simple', css: 'list-style-image', key: 'listStyleImage' },
229
- { kind: 'simple', css: 'list-style-position', key: 'listStylePosition' },
230
- { kind: 'simple', css: 'list-style-type', key: 'listStyleType' },
231
-
232
- // BACKGROUND & COLORS
233
- { kind: 'simple', css: 'color', key: 'color' },
234
- { kind: 'simple', css: 'background', key: 'background' },
235
- { kind: 'simple', css: 'background-color', key: 'backgroundColor' },
236
- { kind: 'special', id: 'backgroundImage' },
237
- { kind: 'simple', css: 'background-attachment', key: 'backgroundAttachment' },
238
- { kind: 'simple', css: 'background-clip', key: 'backgroundClip' },
239
- { kind: 'simple', css: 'background-origin', key: 'backgroundOrigin' },
240
- { kind: 'simple', css: 'background-position', key: 'backgroundPosition' },
241
- { kind: 'simple', css: 'background-repeat', key: 'backgroundRepeat' },
242
- { kind: 'simple', css: 'background-size', key: 'backgroundSize' },
243
-
244
- // BORDERS
245
- {
246
- kind: 'border_radius',
247
- keys: {
248
- full: 'borderRadius',
249
- top: 'borderRadiusTop',
250
- bottom: 'borderRadiusBottom',
251
- left: 'borderRadiusLeft',
252
- right: 'borderRadiusRight',
253
- topLeft: 'borderRadiusTopLeft',
254
- topRight: 'borderRadiusTopRight',
255
- bottomLeft: 'borderRadiusBottomLeft',
256
- bottomRight: 'borderRadiusBottomRight',
257
- },
258
- },
259
- { kind: 'simple', css: 'border', key: 'border' },
260
- { kind: 'simple', css: 'border-top', key: 'borderTop' },
261
- { kind: 'simple', css: 'border-bottom', key: 'borderBottom' },
262
- { kind: 'simple', css: 'border-left', key: 'borderLeft' },
263
- { kind: 'simple', css: 'border-right', key: 'borderRight' },
264
- {
265
- kind: 'edge',
266
- property: 'border-width',
267
- keys: {
268
- full: 'borderWidth',
269
- x: 'borderWidthX',
270
- y: 'borderWidthY',
271
- top: 'borderWidthTop',
272
- left: 'borderWidthLeft',
273
- bottom: 'borderWidthBottom',
274
- right: 'borderWidthRight',
275
- },
276
- },
277
- {
278
- kind: 'edge',
279
- property: 'border-style',
280
- keys: {
281
- full: 'borderStyle',
282
- x: 'borderStyleX',
283
- y: 'borderStyleY',
284
- top: 'borderStyleTop',
285
- left: 'borderStyleLeft',
286
- bottom: 'borderStyleBottom',
287
- right: 'borderStyleRight',
288
- },
289
- },
290
- {
291
- kind: 'edge',
292
- property: 'border-color',
293
- keys: {
294
- full: 'borderColor',
295
- x: 'borderColorX',
296
- y: 'borderColorY',
297
- top: 'borderColorTop',
298
- left: 'borderColorLeft',
299
- bottom: 'borderColorBottom',
300
- right: 'borderColorRight',
301
- },
302
- },
303
- { kind: 'simple', css: 'border-image', key: 'borderImage' },
304
- { kind: 'simple', css: 'border-image-outset', key: 'borderImageOutset' },
305
- { kind: 'simple', css: 'border-image-repeat', key: 'borderImageRepeat' },
306
- { kind: 'simple', css: 'border-image-slice', key: 'borderImageSlice' },
307
- { kind: 'simple', css: 'border-image-source', key: 'borderImageSource' },
308
- { kind: 'simple', css: 'border-image-width', key: 'borderImageWidth' },
309
- { kind: 'simple', css: 'border-spacing', key: 'borderSpacing' },
310
-
311
- { kind: 'simple', css: 'border-collapse', key: 'borderCollapse' },
312
-
313
- // Logical borders
314
- { kind: 'simple', css: 'border-inline', key: 'borderInline' },
315
- { kind: 'simple', css: 'border-block', key: 'borderBlock' },
316
- { kind: 'simple', css: 'border-inline-start', key: 'borderInlineStart' },
317
- { kind: 'simple', css: 'border-inline-end', key: 'borderInlineEnd' },
318
- { kind: 'simple', css: 'border-block-start', key: 'borderBlockStart' },
319
- { kind: 'simple', css: 'border-block-end', key: 'borderBlockEnd' },
320
-
321
- // VISUAL EFFECTS
322
- { kind: 'simple', css: 'backface-visibility', key: 'backfaceVisibility' },
323
- { kind: 'simple', css: 'box-shadow', key: 'boxShadow' },
324
- { kind: 'simple', css: 'filter', key: 'filter' },
325
- { kind: 'simple', css: 'backdrop-filter', key: 'backdropFilter' },
326
- { kind: 'simple', css: 'mix-blend-mode', key: 'mixBlendMode' },
327
- { kind: 'simple', css: 'background-blend-mode', key: 'backgroundBlendMode' },
328
- { kind: 'simple', css: 'isolation', key: 'isolation' },
329
- { kind: 'simple', css: 'outline', key: 'outline' },
330
- { kind: 'simple', css: 'outline-color', key: 'outlineColor' },
331
- { kind: 'simple', css: 'outline-offset', key: 'outlineOffset' },
332
- { kind: 'simple', css: 'outline-style', key: 'outlineStyle' },
333
- { kind: 'simple', css: 'outline-width', key: 'outlineWidth' },
334
-
335
- // ANIMATIONS
336
- { kind: 'special', id: 'animation' },
337
- { kind: 'simple', css: 'animation-name', key: 'animationName' },
338
- { kind: 'simple', css: 'animation-duration', key: 'animationDuration' },
339
- { kind: 'simple', css: 'animation-timing-function', key: 'animationTimingFunction' },
340
- { kind: 'simple', css: 'animation-delay', key: 'animationDelay' },
341
- { kind: 'simple', css: 'animation-iteration-count', key: 'animationIterationCount' },
342
- { kind: 'simple', css: 'animation-direction', key: 'animationDirection' },
343
- { kind: 'simple', css: 'animation-fill-mode', key: 'animationFillMode' },
344
- { kind: 'simple', css: 'animation-play-state', key: 'animationPlayState' },
345
- { kind: 'simple', css: 'transition', key: 'transition' },
346
- { kind: 'simple', css: 'transition-delay', key: 'transitionDelay' },
347
- { kind: 'simple', css: 'transition-duration', key: 'transitionDuration' },
348
- { kind: 'simple', css: 'transition-property', key: 'transitionProperty' },
349
- { kind: 'simple', css: 'transition-timing-function', key: 'transitionTimingFunction' },
350
-
351
- // TRANSFORM
352
- { kind: 'simple', css: 'transform', key: 'transform' },
353
- { kind: 'simple', css: 'transform-origin', key: 'transformOrigin' },
354
- { kind: 'simple', css: 'transform-style', key: 'transformStyle' },
355
- { kind: 'simple', css: 'translate', key: 'translate' },
356
- { kind: 'simple', css: 'rotate', key: 'rotate' },
357
- { kind: 'simple', css: 'scale', key: 'scale' },
358
- { kind: 'simple', css: 'will-change', key: 'willChange' },
359
-
360
- // SCROLL
361
- { kind: 'simple', css: 'scroll-behavior', key: 'scrollBehavior' },
362
- { kind: 'simple', css: 'scroll-snap-type', key: 'scrollSnapType' },
363
- { kind: 'simple', css: 'scroll-snap-align', key: 'scrollSnapAlign' },
364
- { kind: 'simple', css: 'scroll-snap-stop', key: 'scrollSnapStop' },
365
- { kind: 'simple', css: 'scroll-margin', key: 'scrollMargin' },
366
- { kind: 'simple', css: 'scroll-padding', key: 'scrollPadding' },
367
- { kind: 'simple', css: 'overscroll-behavior', key: 'overscrollBehavior' },
368
- { kind: 'simple', css: 'overscroll-behavior-x', key: 'overscrollBehaviorX' },
369
- { kind: 'simple', css: 'overscroll-behavior-y', key: 'overscrollBehaviorY' },
370
-
371
- // INTERACTION
372
- { kind: 'simple', css: 'cursor', key: 'cursor' },
373
- { kind: 'simple', css: 'pointer-events', key: 'pointerEvents' },
374
- { kind: 'simple', css: 'user-select', key: 'userSelect' },
375
- { kind: 'simple', css: 'touch-action', key: 'touchAction' },
376
- { kind: 'simple', css: 'scrollbar-width', key: 'scrollbarWidth' },
377
- { kind: 'simple', css: 'scrollbar-color', key: 'scrollbarColor' },
378
- { kind: 'simple', css: 'scrollbar-gutter', key: 'scrollbarGutter' },
379
- { kind: 'simple', css: 'caret-color', key: 'caretColor' },
380
- { kind: 'simple', css: 'accent-color', key: 'accentColor' },
381
- { kind: 'simple', css: 'color-scheme', key: 'colorScheme' },
382
-
383
- // OTHER
384
- { kind: 'simple', css: 'caption-side', key: 'captionSide' },
385
- { kind: 'simple', css: 'clear', key: 'clear' },
386
- { kind: 'simple', css: 'clip', key: 'clip' },
387
- { kind: 'simple', css: 'clip-path', key: 'clipPath' },
388
- { kind: 'simple', css: 'content', key: 'content' },
389
- { kind: 'simple', css: 'content-visibility', key: 'contentVisibility' },
390
- { kind: 'simple', css: 'counter-increment', key: 'counterIncrement' },
391
- { kind: 'simple', css: 'counter-reset', key: 'counterReset' },
392
- { kind: 'simple', css: 'empty-cells', key: 'emptyCells' },
393
- { kind: 'simple', css: 'z-index', key: 'zIndex' },
394
- { kind: 'simple', css: 'overflow', key: 'overflow' },
395
- { kind: 'simple', css: 'overflow-wrap', key: 'overflowWrap' },
396
- { kind: 'simple', css: 'overflow-x', key: 'overflowX' },
397
- { kind: 'simple', css: 'overflow-y', key: 'overflowY' },
398
- { kind: 'simple', css: 'perspective', key: 'perspective' },
399
- { kind: 'simple', css: 'perspective-origin', key: 'perspectiveOrigin' },
400
- { kind: 'simple', css: 'quotes', key: 'quotes' },
401
- { kind: 'simple', css: 'tab-size', key: 'tabSize' },
402
- { kind: 'simple', css: 'table-layout', key: 'tableLayout' },
403
- { kind: 'simple', css: 'visibility', key: 'visibility' },
404
- { kind: 'simple', css: 'appearance', key: 'appearance' },
405
- { kind: 'simple', css: 'image-rendering', key: 'imageRendering' },
406
-
407
- // Masks
408
- { kind: 'simple', css: 'mask-image', key: 'maskImage' },
409
- { kind: 'simple', css: 'mask-size', key: 'maskSize' },
410
- { kind: 'simple', css: 'mask-position', key: 'maskPosition' },
411
- { kind: 'simple', css: 'mask-repeat', key: 'maskRepeat' },
412
-
413
- // Shapes
414
- { kind: 'simple', css: 'shape-outside', key: 'shapeOutside' },
415
- { kind: 'simple', css: 'shape-margin', key: 'shapeMargin' },
416
- { kind: 'simple', css: 'shape-image-threshold', key: 'shapeImageThreshold' },
417
-
418
- // Columns
419
- { kind: 'simple', css: 'column-count', key: 'columnCount' },
420
- { kind: 'simple', css: 'column-width', key: 'columnWidth' },
421
- { kind: 'simple', css: 'column-rule', key: 'columnRule' },
422
- { kind: 'simple', css: 'columns', key: 'columns' },
423
-
424
- // Fragmentation
425
- { kind: 'simple', css: 'break-before', key: 'breakBefore' },
426
- { kind: 'simple', css: 'break-after', key: 'breakAfter' },
427
- { kind: 'simple', css: 'break-inside', key: 'breakInside' },
428
- { kind: 'simple', css: 'orphans', key: 'orphans' },
429
- { kind: 'simple', css: 'widows', key: 'widows' },
430
- { kind: 'simple', css: 'print-color-adjust', key: 'printColorAdjust' },
431
-
432
- // CUSTOM ATTRIBUTES
433
- { kind: 'special', id: 'hideEmpty' },
434
- { kind: 'special', id: 'clearFix' },
435
- { kind: 'special', id: 'extendCss' },
436
- ]
437
-
438
- export default propertyMap