inferred-types 0.52.5 → 0.52.7
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.cjs +50 -7
- package/dist/index.js +49 -7
- package/dist/inferred-types/tsconfig.tsbuildinfo +1 -1
- package/dist/runtime/css/createCssKeyframe.d.ts +15 -0
- package/dist/runtime/css/createCssKeyframe.d.ts.map +1 -0
- package/dist/runtime/css/createCssKeyframe.js +35 -0
- package/dist/runtime/css/index.d.ts +2 -0
- package/dist/runtime/css/index.d.ts.map +1 -0
- package/dist/runtime/css/index.js +1 -0
- package/dist/runtime/dictionary/entries.d.ts +6 -3
- package/dist/runtime/dictionary/entries.d.ts.map +1 -1
- package/dist/runtime/dictionary/entries.js +1 -2
- package/dist/runtime/dictionary/keysOf.d.ts +1 -1
- package/dist/runtime/dictionary/keysOf.d.ts.map +1 -1
- package/dist/runtime/index.d.ts +1 -0
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +1 -0
- package/dist/runtime/lists/index.d.ts +1 -1
- package/dist/runtime/lists/index.d.ts.map +1 -1
- package/dist/runtime/lists/index.js +1 -1
- package/dist/runtime/lists/{join.d.ts → joinWith.d.ts} +1 -1
- package/dist/runtime/lists/joinWith.d.ts.map +1 -0
- package/dist/runtime/tsconfig.tsbuildinfo +1 -1
- package/dist/types/kv/KeyValue.d.ts +5 -9
- package/dist/types/kv/KeyValue.d.ts.map +1 -1
- package/dist/types/lists/Slice.d.ts +1 -1
- package/dist/types/lists/Slice.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/css/absolute.d.ts +54 -0
- package/dist/types/string-literals/character-sets/css/absolute.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/css/align.d.ts +15 -0
- package/dist/types/string-literals/character-sets/css/align.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/css/align.js +1 -0
- package/dist/types/string-literals/character-sets/css/animation.d.ts +46 -0
- package/dist/types/string-literals/character-sets/css/animation.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/css/animation.js +1 -0
- package/dist/types/string-literals/character-sets/css/background.d.ts +17 -0
- package/dist/types/string-literals/character-sets/css/background.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/css/background.js +1 -0
- package/dist/types/string-literals/character-sets/css/border.d.ts +201 -0
- package/dist/types/string-literals/character-sets/css/border.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/css/border.js +1 -0
- package/dist/types/string-literals/character-sets/css/box.d.ts +18 -0
- package/dist/types/string-literals/character-sets/css/box.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/css/box.js +1 -0
- package/dist/types/string-literals/character-sets/css/break.d.ts +12 -0
- package/dist/types/string-literals/character-sets/css/break.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/css/break.js +1 -0
- package/dist/types/string-literals/character-sets/css/color.d.ts +2 -1
- package/dist/types/string-literals/character-sets/css/color.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/css/definition.d.ts +181 -0
- package/dist/types/string-literals/character-sets/css/definition.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/css/definition.js +1 -0
- package/dist/types/string-literals/character-sets/css/display-position.d.ts +2 -2
- package/dist/types/string-literals/character-sets/css/display-position.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/css/font.d.ts +75 -0
- package/dist/types/string-literals/character-sets/css/font.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/css/font.js +1 -0
- package/dist/types/string-literals/character-sets/css/functions.d.ts +1 -1
- package/dist/types/string-literals/character-sets/css/functions.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/css/index.d.ts +20 -1
- package/dist/types/string-literals/character-sets/css/index.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/css/index.js +20 -1
- package/dist/types/string-literals/character-sets/css/justify.d.ts +15 -0
- package/dist/types/string-literals/character-sets/css/justify.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/css/justify.js +1 -0
- package/dist/types/string-literals/character-sets/css/keyframe.d.ts +8 -0
- package/dist/types/string-literals/character-sets/css/keyframe.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/css/keyframe.js +1 -0
- package/dist/types/string-literals/character-sets/css/margin.d.ts +28 -0
- package/dist/types/string-literals/character-sets/css/margin.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/css/margin.js +2 -0
- package/dist/types/string-literals/character-sets/css/offset.d.ts +21 -0
- package/dist/types/string-literals/character-sets/css/offset.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/css/offset.js +1 -0
- package/dist/types/string-literals/character-sets/css/outline.d.ts +21 -0
- package/dist/types/string-literals/character-sets/css/outline.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/css/outline.js +1 -0
- package/dist/types/string-literals/character-sets/css/overflow.d.ts +25 -2
- package/dist/types/string-literals/character-sets/css/overflow.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/css/padding.d.ts +27 -0
- package/dist/types/string-literals/character-sets/css/padding.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/css/padding.js +2 -0
- package/dist/types/string-literals/character-sets/css/place.d.ts +15 -0
- package/dist/types/string-literals/character-sets/css/place.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/css/place.js +1 -0
- package/dist/types/string-literals/character-sets/css/props.d.ts +44 -2
- package/dist/types/string-literals/character-sets/css/props.d.ts.map +1 -1
- package/dist/types/string-literals/character-sets/css/stroke.d.ts +17 -0
- package/dist/types/string-literals/character-sets/css/stroke.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/css/stroke.js +1 -0
- package/dist/types/string-literals/character-sets/css/text.d.ts +46 -0
- package/dist/types/string-literals/character-sets/css/text.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/css/text.js +1 -0
- package/dist/types/string-literals/character-sets/css/transform.d.ts +19 -0
- package/dist/types/string-literals/character-sets/css/transform.d.ts.map +1 -0
- package/dist/types/string-literals/character-sets/css/transform.js +1 -0
- package/dist/types/string-literals/geo/zip.d.ts +1 -1
- package/dist/types/string-literals/geo/zip.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dist/types/type-conversion/ObjectToCssString.d.ts +19 -0
- package/dist/types/type-conversion/ObjectToCssString.d.ts.map +1 -0
- package/dist/types/type-conversion/ObjectToCssString.js +1 -0
- package/dist/types/type-conversion/ObjectToJsString.d.ts +19 -0
- package/dist/types/type-conversion/ObjectToJsString.d.ts.map +1 -0
- package/dist/types/type-conversion/ObjectToJsString.js +1 -0
- package/dist/types/type-conversion/ObjectToJsonString.d.ts +18 -0
- package/dist/types/type-conversion/ObjectToJsonString.d.ts.map +1 -0
- package/dist/types/type-conversion/ObjectToJsonString.js +1 -0
- package/dist/types/type-conversion/ObjectToKeyframeString.d.ts +19 -0
- package/dist/types/type-conversion/ObjectToKeyframeString.d.ts.map +1 -0
- package/dist/types/type-conversion/ObjectToKeyframeString.js +1 -0
- package/dist/types/type-conversion/ObjectToTuple.d.ts +28 -0
- package/dist/types/type-conversion/ObjectToTuple.d.ts.map +1 -0
- package/dist/types/type-conversion/ObjectToTuple.js +1 -0
- package/dist/types/type-conversion/ToJsonValue.d.ts +14 -3
- package/dist/types/type-conversion/ToJsonValue.d.ts.map +1 -1
- package/dist/types/type-conversion/index.d.ts +5 -1
- package/dist/types/type-conversion/index.d.ts.map +1 -1
- package/dist/types/type-conversion/index.js +5 -1
- package/package.json +1 -1
- package/dist/runtime/lists/join.d.ts.map +0 -1
- package/dist/types/type-conversion/ObjectToKvDict.d.ts +0 -19
- package/dist/types/type-conversion/ObjectToKvDict.d.ts.map +0 -1
- /package/dist/runtime/lists/{join.js → joinWith.js} +0 -0
- /package/dist/types/{type-conversion/ObjectToKvDict.js → string-literals/character-sets/css/absolute.js} +0 -0
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { CssAbsolutionPositioningProperties } from "./absolute";
|
|
2
|
+
import { CssAlignProperties } from "./align";
|
|
3
|
+
import { CssAnimationProperties } from "./animation";
|
|
4
|
+
import { CssBackgroundProperties } from "./background";
|
|
5
|
+
import { CssBorderProperties } from "./border";
|
|
6
|
+
import { CssBoxProperties } from "./box";
|
|
7
|
+
import { CssBreakProperties } from "./break";
|
|
8
|
+
import { CssColor, CssColorLight } from "./color";
|
|
9
|
+
import { CssAspectRatio, CssDisplay, CssPosition } from "./display-position";
|
|
10
|
+
import { CssGlobal } from "./global";
|
|
11
|
+
import { CssJustifyProperties } from "./justify";
|
|
12
|
+
import { CssMarginProperties } from "./margin";
|
|
13
|
+
import { CssObjectFit, CssObjectPosition } from "./object";
|
|
14
|
+
import { CssOffsetProperties } from "./offset";
|
|
15
|
+
import { CssOutlineProperties } from "./outline";
|
|
16
|
+
import { CssOverflowProperties } from "./overflow";
|
|
17
|
+
import { CssPaddingProperties } from "./padding";
|
|
18
|
+
import { CssPlaceProperties } from "./place";
|
|
19
|
+
import { CssAppearance, CssBackdropFilter, CssContent, CssCursor, CssFlex, CssFlexBasis, CssFlexDirection, CssFlexFlow, CssFlexGrow, CssFlexShrink, CssFloat, CssGap, CssHangingPunctuation, CssImageOrientation, CssImageRendering, CssImageResolution, CssLetterSpacing, CssListStyle, CssMixBlendMode, CssOpacity, CssPerspectiveOrigin, CssRotation, CssTranslate, CssWhiteSpace, CssWhiteSpaceCollapse, CssWordBreak, CssWritingMode } from "./props";
|
|
20
|
+
import { CssSizing, CssSizingLight } from "./sizing";
|
|
21
|
+
import { CssStrokeProperties } from "./stroke";
|
|
22
|
+
import { CssTextProperties } from "./text";
|
|
23
|
+
import { CssTransformProperties } from "./transform";
|
|
24
|
+
/**
|
|
25
|
+
* **CssDefinition**
|
|
26
|
+
*
|
|
27
|
+
* Provides a means to define a CSS selector in a type strong manner.
|
|
28
|
+
*
|
|
29
|
+
* - each _key_ is a possible CSS property with a type definition provided to constrain it
|
|
30
|
+
* - it is also indexed so that any property without a strong type definition can still be
|
|
31
|
+
* added as a string value.
|
|
32
|
+
*/
|
|
33
|
+
export type CssDefinition = {
|
|
34
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/appearance) */
|
|
35
|
+
appearance?: CssAppearance;
|
|
36
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter) */
|
|
37
|
+
"backdrop-filter"?: CssBackdropFilter;
|
|
38
|
+
/**
|
|
39
|
+
* The valid values for the
|
|
40
|
+
* [**display**](https://developer.mozilla.org/en-US/docs/Web/CSS/display)
|
|
41
|
+
* property in CSS.
|
|
42
|
+
*/
|
|
43
|
+
display?: CssDisplay;
|
|
44
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/position) */
|
|
45
|
+
position?: CssPosition;
|
|
46
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/aspect-ratio) */
|
|
47
|
+
"aspect-ratio"?: CssAspectRatio;
|
|
48
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/opacity) */
|
|
49
|
+
opacity?: CssOpacity;
|
|
50
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/gap) */
|
|
51
|
+
gap?: CssGap;
|
|
52
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) */
|
|
53
|
+
flex?: CssFlex;
|
|
54
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-grow) */
|
|
55
|
+
"flex-grow"?: CssFlexGrow;
|
|
56
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-shrink) */
|
|
57
|
+
"flex-shrink"?: CssFlexShrink;
|
|
58
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-direction) */
|
|
59
|
+
"flex-direction"?: CssFlexDirection;
|
|
60
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-flow) */
|
|
61
|
+
"flex-flow"?: CssFlexFlow;
|
|
62
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-basis) */
|
|
63
|
+
"flex-basis"?: CssFlexBasis;
|
|
64
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/float) */
|
|
65
|
+
float?: CssFloat;
|
|
66
|
+
/**
|
|
67
|
+
* a union of valid values for the **CSS** [`list-style`](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style) property.
|
|
68
|
+
*
|
|
69
|
+
* The list-style CSS shorthand property allows you to set all the list style properties
|
|
70
|
+
* at once.
|
|
71
|
+
*/
|
|
72
|
+
"list-style"?: CssListStyle;
|
|
73
|
+
/**
|
|
74
|
+
* The block-size CSS property defines the horizontal or vertical size of an element's block,
|
|
75
|
+
* depending on its writing mode. It corresponds to either the width or the height property,
|
|
76
|
+
* depending on the value of writing-mode.
|
|
77
|
+
*
|
|
78
|
+
* If the writing mode is vertically oriented, the value of block-size relates to the width of
|
|
79
|
+
* the element; otherwise, it relates to the height of the element. A related property is
|
|
80
|
+
* inline-size, which defines the other dimension of the element.
|
|
81
|
+
*
|
|
82
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/block-size)
|
|
83
|
+
*/
|
|
84
|
+
"block-size"?: CssSizing;
|
|
85
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/border-size) */
|
|
86
|
+
"border-size"?: CssSizing;
|
|
87
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/content) */
|
|
88
|
+
content?: CssContent;
|
|
89
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/color) */
|
|
90
|
+
color?: CssColor;
|
|
91
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/cursor) */
|
|
92
|
+
cursor?: CssCursor | CssGlobal;
|
|
93
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/height) */
|
|
94
|
+
height?: CssSizing;
|
|
95
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/width) */
|
|
96
|
+
width?: CssSizing;
|
|
97
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/perspective) */
|
|
98
|
+
perspective?: CssSizingLight | "none" | CssGlobal;
|
|
99
|
+
"perspective-origin"?: CssPerspectiveOrigin;
|
|
100
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/mix-blend-mode) */
|
|
101
|
+
"mix-blend-mode"?: CssMixBlendMode;
|
|
102
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/letter-spacing) */
|
|
103
|
+
"letter-spacing"?: CssLetterSpacing;
|
|
104
|
+
/**
|
|
105
|
+
* The lighting-color CSS property defines the color of the light source for the
|
|
106
|
+
* <feDiffuseLighting> and <feSpecularLighting> SVG lighting filter primitives within an
|
|
107
|
+
* SVG <filter>. If present, it overrides the element's lighting-color attribute.
|
|
108
|
+
*
|
|
109
|
+
* - [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/lighting-color)
|
|
110
|
+
*/
|
|
111
|
+
"lighting-color"?: CssColor;
|
|
112
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit) */
|
|
113
|
+
"object-fit"?: CssObjectFit;
|
|
114
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position) */
|
|
115
|
+
"object-position"?: CssObjectPosition;
|
|
116
|
+
order?: `${number}` | CssGlobal;
|
|
117
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/image-orientation) */
|
|
118
|
+
"image-orientation"?: CssImageOrientation;
|
|
119
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/image-rendering) */
|
|
120
|
+
"image-rendering"?: CssImageRendering;
|
|
121
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/image-resolution) */
|
|
122
|
+
"image-resolution"?: CssImageResolution;
|
|
123
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/hanging-punction) */
|
|
124
|
+
"hanging-punctuation"?: CssHangingPunctuation;
|
|
125
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/min-height) */
|
|
126
|
+
"min-height"?: CssSizing;
|
|
127
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/min-width) */
|
|
128
|
+
"min-width"?: CssSizing;
|
|
129
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/min-block-size) */
|
|
130
|
+
"min-block-size"?: CssSizing;
|
|
131
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/min-inline-size) */
|
|
132
|
+
"min-inline-size"?: CssSizing;
|
|
133
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/stop-color) */
|
|
134
|
+
"stop-color"?: CssColorLight | CssGlobal;
|
|
135
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/stop-opacity) */
|
|
136
|
+
"stop-opacity"?: `${number}` | `${number}%` | CssGlobal;
|
|
137
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/tab-size) */
|
|
138
|
+
"tab-size"?: `${number}` | CssSizingLight | CssGlobal;
|
|
139
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout) */
|
|
140
|
+
"table-layout"?: "auto" | "fixed" | CssGlobal;
|
|
141
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/translate) */
|
|
142
|
+
translate?: CssTranslate | CssGlobal;
|
|
143
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/quotes) */
|
|
144
|
+
quotes?: string;
|
|
145
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/r) */
|
|
146
|
+
r?: CssSizingLight | CssGlobal;
|
|
147
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/pointer-events) */
|
|
148
|
+
"pointer-events"?: PointerEvent | CssGlobal;
|
|
149
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/resize) */
|
|
150
|
+
resize?: "both" | "horizontal" | "vertical" | "none" | CssGlobal;
|
|
151
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/rotate) */
|
|
152
|
+
rotate?: CssRotation | `x ${CssRotation}` | `y ${CssRotation}` | `z ${CssRotation}` | CssGlobal;
|
|
153
|
+
"row-gap"?: CssSizing;
|
|
154
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/rx) */
|
|
155
|
+
rx?: CssSizing;
|
|
156
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/ry) */
|
|
157
|
+
ry?: CssSizing;
|
|
158
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/x) */
|
|
159
|
+
x?: CssSizing;
|
|
160
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/y) */
|
|
161
|
+
y?: CssSizing;
|
|
162
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space) */
|
|
163
|
+
"white-space"?: CssWhiteSpace;
|
|
164
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space-collapse) */
|
|
165
|
+
"white-space-collapse"?: CssWhiteSpaceCollapse;
|
|
166
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/widows) */
|
|
167
|
+
"widows"?: string;
|
|
168
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/will-change) */
|
|
169
|
+
"will-change"?: string;
|
|
170
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/word-break) */
|
|
171
|
+
"word-break"?: CssWordBreak;
|
|
172
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/word-spacing) */
|
|
173
|
+
"word-spacing"?: "normal" | CssSizing;
|
|
174
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/writing-mode) */
|
|
175
|
+
"writing-mode"?: CssWritingMode;
|
|
176
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/z-index) */
|
|
177
|
+
"z-index"?: `${number}` | "auto" | CssGlobal;
|
|
178
|
+
/** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/zoom) */
|
|
179
|
+
"zoom"?: `${number}` | `${number}%` | "normal" | "reset" | CssGlobal;
|
|
180
|
+
} & CssBorderProperties & CssBackgroundProperties & CssAbsolutionPositioningProperties & CssOffsetProperties & CssBreakProperties & CssBoxProperties & CssTextProperties & CssStrokeProperties & CssJustifyProperties & CssAlignProperties & CssPlaceProperties & CssAnimationProperties & CssMarginProperties & CssPaddingProperties & CssOutlineProperties & CssOverflowProperties & CssOffsetProperties & CssTransformProperties;
|
|
181
|
+
//# sourceMappingURL=definition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"definition.d.ts","sourceRoot":"","sources":["../../../../../src/types/string-literals/character-sets/css/definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kCAAkC,EAAE,MAAM,YAAY,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAAG,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAC5E,OAAO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B,GAClB,kBAAkB,GAClB,sBAAsB,GACtB,mBAAmB,GACnB,oBAAoB,GACpB,oBAAoB,GACpB,qBAAqB,GACrB,mBAAmB,GACnB,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OptionalSpace } from "inferred-types/types";
|
|
1
|
+
import { CssGlobal, OptionalSpace } from "inferred-types/types";
|
|
2
2
|
type Ratio = `${number}${OptionalSpace}/${OptionalSpace}${number}`;
|
|
3
3
|
type One = `1`;
|
|
4
4
|
type Special = "inherit" | "initial" | "revert" | "revert-layer" | "unset";
|
|
@@ -21,6 +21,6 @@ export type CssPosition = "static" | "relative" | "absolute" | "fixed" | "sticky
|
|
|
21
21
|
* The valid values for the [**display**](https://developer.mozilla.org/en-US/docs/Web/CSS/display)
|
|
22
22
|
* property in CSS.
|
|
23
23
|
*/
|
|
24
|
-
export type CssDisplay = "block" | "flex" | "inline" | "inline-block" | "inline-flex" | "inline-grid" | "grid" | "flow-root" | "none" | "contents" | "block flex" | "block flow" | "block flow-root" | "block grid" | "inline flex" | "inline flow" | "inline flow-root" | "inline-grid" | "table" | "table-row" | "list-item" |
|
|
24
|
+
export type CssDisplay = "block" | "flex" | "inline" | "inline-block" | "inline-flex" | "inline-grid" | "grid" | "flow-root" | "none" | "contents" | "block flex" | "block flow" | "block flow-root" | "block grid" | "inline flex" | "inline flow" | "inline flow-root" | "inline-grid" | "table" | "table-row" | "list-item" | CssGlobal;
|
|
25
25
|
export {};
|
|
26
26
|
//# sourceMappingURL=display-position.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"display-position.d.ts","sourceRoot":"","sources":["../../../../../src/types/string-literals/character-sets/css/display-position.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"display-position.d.ts","sourceRoot":"","sources":["../../../../../src/types/string-literals/character-sets/css/display-position.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAEhE,KAAK,KAAK,GAAG,GAAG,MAAM,GAAG,aAAa,IAAI,aAAa,GAAG,MAAM,EAAE,CAAC;AACnE,KAAK,GAAG,GAAG,GAAG,CAAC;AACf,KAAK,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,cAAc,GAAG,OAAO,CAAC;AAC3E,KAAK,IAAI,GAAG,MAAM,GAAG,QAAQ,KAAK,EAAE,GAAG,GAAG,KAAK,OAAO,CAAC;AAEvD;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,GAAG,GAAG,OAAO,GAAG,IAAI,CAAC;AAG1D;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,cAAc,GAAG,OAAO,CAAC;AAG/I;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GACpB,OAAO,GACP,MAAM,GACN,QAAQ,GAAG,cAAc,GAAG,aAAa,GAAG,aAAa,GACzD,MAAM,GACN,WAAW,GACX,MAAM,GACN,UAAU,GACV,YAAY,GAAG,YAAY,GAAG,iBAAiB,GAAG,YAAY,GAC9D,aAAa,GAAG,aAAa,GAAG,kBAAkB,GAAG,aAAa,GAClE,OAAO,GAAG,WAAW,GACrB,WAAW,GACX,SAAS,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { Opt } from "../Optional";
|
|
2
|
+
import { CssGlobal } from "./global";
|
|
3
|
+
import { CssRotation } from "./props";
|
|
4
|
+
import { CssSizing, CssSizingLight } from "./sizing";
|
|
5
|
+
export type CssFontFamily = `"${string}"` | "serif" | "san-serif" | "monospace" | "cursive" | "fantasy" | "system-ui" | "ui-serif" | "ui-sans-serif" | "ui-monospace" | "ui-rounded" | "emoji" | "math" | "fansong";
|
|
6
|
+
export type CssFontFeatureSetting = "normal" | "liga" | "tnum" | "smcp";
|
|
7
|
+
export type CssFontKerning = "auto" | "normal" | "none" | CssGlobal;
|
|
8
|
+
export type CssFontPalette = "normal" | "light" | "dark" | `--${string}` | `palette-mix(in ${ColorGamut},${string})`;
|
|
9
|
+
export type CssFontWidth = "normal" | "ultra-condensed" | "extra-condensed" | "condensed" | "semi-condensed" | "expanded" | "extra-expanded" | "ultra-expanded" | `${number}%` | CssGlobal;
|
|
10
|
+
export type CssFontStyle = "normal" | "italic" | "oblique" | `oblique ${CssRotation}` | CssGlobal;
|
|
11
|
+
export type CssFontSynthesis = "none" | "weight" | "style" | "position" | "small-caps";
|
|
12
|
+
export type CssFontWeight = "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | "lighter" | "bolder" | CssGlobal;
|
|
13
|
+
/**
|
|
14
|
+
* The font-language-override CSS property controls the use of language-specific glyphs in a typeface.
|
|
15
|
+
*
|
|
16
|
+
* By default, HTML's lang attribute tells browsers to display glyphs designed specifically
|
|
17
|
+
* for that language. For example, a lot of fonts have a special character for the digraph
|
|
18
|
+
* fi that merge the dot on the "i" with the "f." However, if the language is set to Turkish
|
|
19
|
+
* the typeface will likely know not to use the merged glyph; Turkish has two versions of
|
|
20
|
+
* the "i," one with a dot (i) and one without (ı), and using the ligature would incorrectly
|
|
21
|
+
* transform a dotted "i" into a dotless "i."
|
|
22
|
+
*
|
|
23
|
+
* The font-language-override property lets you override the typeface behavior for a specific
|
|
24
|
+
* language. This is useful, for example, when the typeface you're using lacks proper support
|
|
25
|
+
* for the language. For instance, if a typeface doesn't have proper rules for the Azeri
|
|
26
|
+
* language, you can force the font to use Turkish glyphs, which follow similar rules.
|
|
27
|
+
*/
|
|
28
|
+
export type CssFontLanguageOverride = string;
|
|
29
|
+
export type FontProperties = {
|
|
30
|
+
"font-family"?: CssFontFamily | `${CssFontFamily}, ${CssFontFamily}${string}` | CssGlobal;
|
|
31
|
+
"font-feature-settings": CssFontFeatureSetting | `${CssFontFeatureSetting} ${number | "on" | "off"}` | `${CssFontFeatureSetting} ${number | "on" | "off"},${string}`;
|
|
32
|
+
"font-kerning"?: CssFontKerning;
|
|
33
|
+
"font-language-override"?: CssFontLanguageOverride;
|
|
34
|
+
"font-size"?: CssSizing | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large" | "xx-large" | "xxx-large";
|
|
35
|
+
/**
|
|
36
|
+
* The font-size-adjust CSS property provides a way to modify the size of lowercase
|
|
37
|
+
* letters relative to the size of uppercase letters, which defines the overall
|
|
38
|
+
* font-size. This property is useful for situations where font fallback can
|
|
39
|
+
* occur.
|
|
40
|
+
*
|
|
41
|
+
* - [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size-adjust)
|
|
42
|
+
*/
|
|
43
|
+
"font-size-adjust"?: CssSizingLight | "none" | `${number}` | `from-font${Opt<` ${CssSizingLight}`>}` | `cap-height${Opt<` ${CssSizingLight}`>}` | `ex-height${Opt<` ${CssSizingLight}`>}` | `ch-width${Opt<` ${CssSizingLight}`>}` | `ic-width${Opt<` ${CssSizingLight}`>}` | `ic-height${Opt<` ${CssSizingLight}`>}`;
|
|
44
|
+
/**
|
|
45
|
+
* The font-palette CSS property allows specifying one of the many palettes contained in a
|
|
46
|
+
* color font that a user agent may use for the font. Users can also override the values in
|
|
47
|
+
* a palette or create a new palette by using the @font-palette-values at-rule.
|
|
48
|
+
*
|
|
49
|
+
* - [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/font-palette)
|
|
50
|
+
*/
|
|
51
|
+
"font-palette"?: CssFontPalette;
|
|
52
|
+
/**
|
|
53
|
+
* An alias for `font-width`
|
|
54
|
+
*/
|
|
55
|
+
"font-stretch"?: CssFontWidth;
|
|
56
|
+
/**
|
|
57
|
+
* The font-stretch CSS property selects a normal, condensed, or expanded face from a font.
|
|
58
|
+
*
|
|
59
|
+
* - [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/font-width)
|
|
60
|
+
*/
|
|
61
|
+
"font-width"?: CssFontWidth;
|
|
62
|
+
/** [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/font-style) */
|
|
63
|
+
"font-style"?: CssFontStyle;
|
|
64
|
+
/**
|
|
65
|
+
* The `font-synthesis` shorthand CSS property lets you specify whether or not the browser
|
|
66
|
+
* may synthesize the bold, italic, small-caps, and/or subscript and superscript typefaces
|
|
67
|
+
* when they are missing in the specified font-family.
|
|
68
|
+
*
|
|
69
|
+
* - [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/font-synthesis)
|
|
70
|
+
*/
|
|
71
|
+
"font-synthesis"?: CssFontSynthesis | `${CssFontSynthesis} ${CssFontSynthesis}` | `${CssFontSynthesis} ${CssFontSynthesis} ${CssFontSynthesis}${string}` | CssGlobal;
|
|
72
|
+
/** [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) */
|
|
73
|
+
"font-weight"?: CssFontWeight;
|
|
74
|
+
};
|
|
75
|
+
//# sourceMappingURL=font.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"font.d.ts","sourceRoot":"","sources":["../../../../../src/types/string-literals/character-sets/css/font.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAErD,MAAM,MAAM,aAAa,GACvB,IAAI,MAAM,GAAG,GACb,OAAO,GACP,WAAW,GACX,WAAW,GACX,SAAS,GACT,SAAS,GACT,WAAW,GACX,UAAU,GACV,eAAe,GACf,cAAc,GACd,YAAY,GACZ,OAAO,GACP,MAAM,GACN,SAAS,CAAC;AAEZ,MAAM,MAAM,qBAAqB,GAC/B,QAA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B,CAAC,EAAE,uBAAuB,CAAC;IACnD,WAAW,CAAC,EAAE,SAAS,GACnB,UAAU,GACV,SAAS,GACT,OAAO,GACP,QAAQ,GACR,OAAO,GACP,SAAS,GACT,UAAU,GACV,WAAW,CAAC;IAChB;;;;;;;OAOG;IACH,kBAAkB,CAAC,EAAE,cAAc,GAC/B,MAAM,GACN,GAAG,MAAM,EAAE,GACX,YAAY,GAAG,CAAC,IAAI,cAAc,EAAE,CAAC,EAAE,GACvC,aAAa,GAAG,CAAC,IAAI,cAAe,EAAE,CAAC,EAAE,GACzC,YAAY,GAAG,CAAC,IAAI,cAAe,EAAE,CAAC,EAAE,GACxC,WAAW,GAAG,CAAC,IAAI,cAAe,EAAE,CAAC,EAAE,GACvC,WAAW,GAAG,CAAC,IAAI,cAAe,EAAE,CAAC,EAAE,GACvC,YAAY,GAAG,CAAC,IAAI,cAAe,EAAE,CAAC,EAAE,CAAA;IAE5C;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,cAAc,CAAC;IAEhC;;OAEG;IACH,cAAc,CAAC,EAAE,YAAY,CAAC;IAC9B;;;;OAIG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,+EAA+E;IAC/E,YAAY,CAAC,EAAE,YAAY,CAAC;IAE5B;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,GAC/B,GAAG,gBAAgB,IAAI,gBAAgB,EAAE,GACzC,GAAG,gBAAgB,IAAI,gBAAgB,IAAI,gBAAgB,GAAG,MAAM,EAAE,GACtE,SAAS,CAAA;IACb,gFAAgF;IAChF,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -9,7 +9,7 @@ export type CssVarWithFallback = `var(--${string}, ${CssVar | CssColor})`;
|
|
|
9
9
|
/**
|
|
10
10
|
* The CSS `translate()` function
|
|
11
11
|
*/
|
|
12
|
-
export type
|
|
12
|
+
export type CssTranslateFn = `translate(${CssSizing})` | `translate(0)` | `translate(${CssSizing}, ${CssSizing})`;
|
|
13
13
|
/**
|
|
14
14
|
* The CSS [`round()`](https://developer.mozilla.org/en-US/docs/Web/CSS/round) function
|
|
15
15
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../../../../src/types/string-literals/character-sets/css/functions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC,MAAM,MAAM,MAAM,GAAG,SAAS,MAAM,GAAG,CAAC;AAExC;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,SAAS,MAAM,KAAK,MAAM,GAAG,QAAQ,GAAG,CAAC;AAG1E;;GAEG;AACH,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../../../../src/types/string-literals/character-sets/css/functions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC,MAAM,MAAM,MAAM,GAAG,SAAS,MAAM,GAAG,CAAC;AAExC;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,SAAS,MAAM,KAAK,MAAM,GAAG,QAAQ,GAAG,CAAC;AAG1E;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,aAAa,SAAS,GAAG,GAAG,cAAc,GAAG,aAAa,SAAS,KAAK,SAAS,GAAG,CAAA;AAEjH;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,SAAS,MAAM,KAAK,SAAS,GAAG,GACrD,SAAS,IAAI,GAAC,MAAM,GAAC,SAAS,GAAC,SAAS,KAAK,MAAM,GAAG,SAAS,KAAK,MAAM,GAAG,CAAA;AAE/E;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,SAAS,SAAS,KAAK,MAAM,KAAK,MAAM,GAAG,CAAC;AAEnE;;;;;;;;;GASG;AACH,MAAM,MAAM,OAAO,GAAG,QAAQ,SAAS,GAAG,kBAAkB,GAAG,MAAM,GAAG,CAAC"}
|
|
@@ -7,8 +7,27 @@ export * from "./property";
|
|
|
7
7
|
export * from "./pseudo-classes";
|
|
8
8
|
export * from "./selector";
|
|
9
9
|
export * from "./object";
|
|
10
|
-
export * from "./overflow";
|
|
11
10
|
export * from "./global";
|
|
12
11
|
export * from "./html-element";
|
|
13
12
|
export * from "./functions";
|
|
13
|
+
export * from "./keyframe";
|
|
14
|
+
export * from "./background";
|
|
15
|
+
export * from "./border";
|
|
16
|
+
export * from "./absolute";
|
|
17
|
+
export * from "./offset";
|
|
18
|
+
export * from "./box";
|
|
19
|
+
export * from "./font";
|
|
20
|
+
export * from "./text";
|
|
21
|
+
export * from "./stroke";
|
|
22
|
+
export * from "./align";
|
|
23
|
+
export * from "./justify";
|
|
24
|
+
export * from "./place";
|
|
25
|
+
export * from "./animation";
|
|
26
|
+
export * from "./margin";
|
|
27
|
+
export * from "./padding";
|
|
28
|
+
export * from "./outline";
|
|
29
|
+
export * from "./overflow";
|
|
30
|
+
export * from "./offset";
|
|
31
|
+
export * from "./transform";
|
|
32
|
+
export * from "./definition";
|
|
14
33
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/types/string-literals/character-sets/css/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/types/string-literals/character-sets/css/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAE5B,cAAc,cAAc,CAAC"}
|
|
@@ -7,7 +7,26 @@ export * from "./property";
|
|
|
7
7
|
export * from "./pseudo-classes";
|
|
8
8
|
export * from "./selector";
|
|
9
9
|
export * from "./object";
|
|
10
|
-
export * from "./overflow";
|
|
11
10
|
export * from "./global";
|
|
12
11
|
export * from "./html-element";
|
|
13
12
|
export * from "./functions";
|
|
13
|
+
export * from "./keyframe";
|
|
14
|
+
export * from "./background";
|
|
15
|
+
export * from "./border";
|
|
16
|
+
export * from "./absolute";
|
|
17
|
+
export * from "./offset";
|
|
18
|
+
export * from "./box";
|
|
19
|
+
export * from "./font";
|
|
20
|
+
export * from "./text";
|
|
21
|
+
export * from "./stroke";
|
|
22
|
+
export * from "./align";
|
|
23
|
+
export * from "./justify";
|
|
24
|
+
export * from "./place";
|
|
25
|
+
export * from "./animation";
|
|
26
|
+
export * from "./margin";
|
|
27
|
+
export * from "./padding";
|
|
28
|
+
export * from "./outline";
|
|
29
|
+
export * from "./overflow";
|
|
30
|
+
export * from "./offset";
|
|
31
|
+
export * from "./transform";
|
|
32
|
+
export * from "./definition";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CssGlobal } from "./global";
|
|
2
|
+
export type CssJustifyContent = "center" | "start" | "end" | "flex-start" | "flex-end" | "left" | "right" | "normal" | "space-between" | "space-around" | "space-evenly" | "stretch" | "safe center" | "unsafe center" | CssGlobal;
|
|
3
|
+
type Positions = "stretch" | "center" | "start" | "end" | "flex-start" | "flex-end" | "self-start" | "self-end" | "left" | "right" | "anchor-center" | "baseline" | "first baseline" | "last baseline" | "safe center" | "unsafe center" | "legacy left" | "legacy right" | "legacy center" | CssGlobal;
|
|
4
|
+
export type CssJustifyItems = Positions;
|
|
5
|
+
export type CssJustifySelf = Positions;
|
|
6
|
+
export type CssJustifyProperties = {
|
|
7
|
+
/** [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content) */
|
|
8
|
+
"justify-content"?: CssJustifyContent;
|
|
9
|
+
/** [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/justify-items) */
|
|
10
|
+
"justify-items"?: CssJustifyItems;
|
|
11
|
+
/** [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/justify-self) */
|
|
12
|
+
"justify-self"?: CssJustifySelf;
|
|
13
|
+
};
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=justify.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"justify.d.ts","sourceRoot":"","sources":["../../../../../src/types/string-literals/character-sets/css/justify.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAGrC,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GACtC,OAAO,GACP,KAAK,GACL,YAAY,GACZ,UAAU,GACV,MAAM,GACN,OAAO,GACP,QAAQ,GACR,eAAe,GACf,cAAc,GACd,cAAc,GACd,SAAS,GACT,aAAa,GACb,eAAe,GACf,SAAS,CAAC;AAEZ,KAAK,SAAS,GAAG,SAAS,GACxB,QAAQ,GACR,OAAO,GACP,KAAK,GACL,YAAY,GACZ,UAAU,GACV,YAAY,GACZ,UAAU,GACV,MAAM,GACN,OAAO,GACP,eAAe,GACf,UAAU,GACV,gBAAgB,GAChB,eAAe,GACf,aAAa,GACb,eAAe,GACf,aAAa,GACb,cAAc,GACd,eAAe,GACf,SAAS,CAAC;AAEZ,MAAM,MAAM,eAAe,GAAG,SAAS,CAAC;AAExC,MAAM,MAAM,cAAc,GAAG,SAAS,CAAC;AAGvC,MAAM,MAAM,oBAAoB,GAAG;IACjC,oFAAoF;IACpF,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,kFAAkF;IAClF,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,iFAAiF;IACjF,cAAc,CAAC,EAAE,cAAc,CAAC;CACjC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Suggest } from "string-literals/Suggest";
|
|
2
|
+
/**
|
|
3
|
+
* The _timestamp_ of a [CSS keyframe animation](https://developer.mozilla.org/en-US/docs/Web/CSS/@keyframes)
|
|
4
|
+
* (e.g., "from", "to", "50%")
|
|
5
|
+
*/
|
|
6
|
+
export type CssKeyframeTimestamp = "from" | "to" | `${number}%` | `${number}%${string},${number}%`;
|
|
7
|
+
export type CssKeyframeTimestampSuggest = Suggest<"from" | "to" | "10%" | "20%" | "30%" | "40%" | "50%" | "60%" | "70%" | "80%" | "90%" | "100%" | "45%, 55%">;
|
|
8
|
+
//# sourceMappingURL=keyframe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keyframe.d.ts","sourceRoot":"","sources":["../../../../../src/types/string-literals/character-sets/css/keyframe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAElD;;;GAGG;AACH,MAAM,MAAM,oBAAoB,GAC9B,MAAM,GACN,IAAI,GACJ,GAAG,MAAM,GAAG,GACZ,GAAG,MAAM,IAAI,MAAM,IAAI,MAAM,GAAG,CAAC;AAEnC,MAAM,MAAM,2BAA2B,GAAG,OAAO,CAC/C,MAAM,GACN,IAAI,GACJ,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,MAAM,GACN,UAAU,CACX,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Opt } from "../Optional";
|
|
2
|
+
import { CssSizingLight } from "./sizing";
|
|
3
|
+
export type CssMargin = CssSizingLight | `${CssSizingLight}, ${CssSizingLight}${Opt<`, ${CssSizingLight}`>}${string}`;
|
|
4
|
+
export type CssMarginBlock = `${CssSizingLight}${Opt<`, ${CssSizingLight}`>}${string}`;
|
|
5
|
+
export type CssMarginBlockEnd = CssSizingLight;
|
|
6
|
+
export type CssMarginBlockStart = CssSizingLight;
|
|
7
|
+
export type CssMarginInline = `${CssSizingLight}${Opt<`, ${CssSizingLight}`>}${string}`;
|
|
8
|
+
export type CssMarginInlineEnd = CssSizingLight;
|
|
9
|
+
export type CssMarginInlineStart = CssSizingLight;
|
|
10
|
+
export type CssMarginLeft = CssSizingLight;
|
|
11
|
+
export type CssMarginRight = CssSizingLight;
|
|
12
|
+
export type CssMarginTop = CssSizingLight;
|
|
13
|
+
export type CssMarginBottom = CssSizingLight;
|
|
14
|
+
export type CssMarginProperties = {
|
|
15
|
+
margin?: CssMargin;
|
|
16
|
+
"margin-block"?: CssMarginBlock;
|
|
17
|
+
"margin-block-end"?: CssMarginBlockEnd;
|
|
18
|
+
"margin-block-start"?: CssMarginBlockStart;
|
|
19
|
+
"margin-inline"?: CssMarginInline;
|
|
20
|
+
"margin-inline-end"?: CssMarginInlineEnd;
|
|
21
|
+
"margin-inline-start"?: CssMarginInlineStart;
|
|
22
|
+
"margin-left"?: CssMarginLeft;
|
|
23
|
+
"margin-right"?: CssMarginRight;
|
|
24
|
+
"margin-top"?: CssMarginTop;
|
|
25
|
+
"margin-bottom"?: CssMarginBottom;
|
|
26
|
+
"margin-trim"?: string;
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=margin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"margin.d.ts","sourceRoot":"","sources":["../../../../../src/types/string-literals/character-sets/css/margin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,MAAM,SAAS,GAAG,cAAc,GACpC,GAAG,cAAc,KAAK,cAAc,GAAG,GAAG,CAAC,KAAK,cAAc,EAAE,CAAC,GAAG,MAAM,EAAE,CAAC;AAE/E,MAAM,MAAM,cAAc,GAAG,GAAG,cAAc,GAAG,GAAG,CAAC,KAAK,cAAc,EAAE,CAAC,GAAG,MAAM,EAAE,CAAC;AAEvF,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC;AAC/C,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC;AAEjD,MAAM,MAAM,eAAe,GAAG,GAAG,cAAc,GAAG,GAAG,CAAC,KAAK,cAAc,EAAE,CAAC,GAAG,MAAM,EAAE,CAAC;AACxF,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC;AAChD,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC;AAElD,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC;AAC3C,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC;AAC5C,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC;AAC1C,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC;AAE7C,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,kBAAkB,CAAC,EAAE,iBAAiB,CAAC;IACvC,oBAAoB,CAAC,EAAE,mBAAmB,CAAC;IAC3C,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,mBAAmB,CAAC,EAAE,kBAAkB,CAAC;IACzC,qBAAqB,CAAC,EAAE,oBAAoB,CAAC;IAC7C,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CssGlobal } from "./global";
|
|
2
|
+
import { CssRotation } from "./props";
|
|
3
|
+
import { CssSizing } from "./sizing";
|
|
4
|
+
type NamedPosition = "bottom" | "top" | "left" | "right" | "center" | "auto" | "normal";
|
|
5
|
+
export type CssOffsetPosition = `${NamedPosition} ${CssSizing | NamedPosition}${string}` | `${CssSizing}${string}` | CssGlobal;
|
|
6
|
+
export type CssOffsetPath = `ray(${string})` | `url(${string})` | `circle(${string})` | `ellipse(${string})` | `polygon(${string})` | `path(${string})` | `rect(${string})` | `xywh(${string})` | CssGlobal;
|
|
7
|
+
export type CssOffsetDistance = "0" | CssSizing | CssGlobal;
|
|
8
|
+
export type CssOffsetProperties = {
|
|
9
|
+
/** [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/offset) */
|
|
10
|
+
offset?: string;
|
|
11
|
+
/** [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/offset-path) */
|
|
12
|
+
"offset-path"?: CssOffsetPath;
|
|
13
|
+
/** [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/offset-distance) */
|
|
14
|
+
"offset-distance"?: CssOffsetDistance;
|
|
15
|
+
/** [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/offset-position) */
|
|
16
|
+
"offset-position"?: CssOffsetPosition;
|
|
17
|
+
/** [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/offset-rotate) */
|
|
18
|
+
"offset-rotate"?: CssRotation;
|
|
19
|
+
};
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=offset.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"offset.d.ts","sourceRoot":"","sources":["../../../../../src/types/string-literals/character-sets/css/offset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAEpC,KAAK,aAAa,GAAG,QAAQ,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,CAAC;AAExF,MAAM,MAAM,iBAAiB,GAC3B,GAAG,aAAa,IAAI,SAAS,GAAG,aAAa,GAAG,MAAM,EAAE,GACxD,GAAG,SAAS,GAAG,MAAM,EAAE,GACvB,SAAS,CAAC;AAKZ,MAAM,MAAM,aAAa,GACvB,OAAO,MAAM,GAAG,GAChB,OAAO,MAAM,GAAG,GAChB,UAAU,MAAM,GAAG,GACnB,WAAW,MAAM,GAAG,GACpB,WAAW,MAAM,GAAG,GACpB,QAAQ,MAAM,GAAG,GACjB,QAAQ,MAAM,GAAG,GACjB,QAAQ,MAAM,GAAG,GACjB,SAAS,CAAC;AAEZ,MAAM,MAAM,iBAAiB,GAAG,GAAG,GAAG,SAAS,GAAG,SAAS,CAAC;AAG5D,MAAM,MAAM,mBAAmB,GAAG;IAChC,2EAA2E;IAC3E,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gFAAgF;IAChF,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,oFAAoF;IACpF,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,oFAAoF;IACpF,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,kFAAkF;IAClF,eAAe,CAAC,EAAE,WAAW,CAAC;CAC/B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Opt } from "../Optional";
|
|
2
|
+
import { CssColorLight } from "./color";
|
|
3
|
+
import { CssSizingLight } from "./sizing";
|
|
4
|
+
export type CssOutlineColor = CssColorLight;
|
|
5
|
+
export type CssOutlineOffset = CssSizingLight;
|
|
6
|
+
export type CssOutlineStyle = "auto" | "none" | "dotted" | "dashed" | "solid" | "double" | "groove" | "ridge" | "inset" | "outset";
|
|
7
|
+
export type CssOutlineWidth = "thin" | "medium" | "thick" | CssSizingLight;
|
|
8
|
+
export type CssOutline = `${CssOutlineStyle}${Opt<` ${CssColorLight}`>}` | `${CssOutlineWidth}${Opt<` ${CssOutlineStyle}`>}${string}`;
|
|
9
|
+
export type CssOutlineProperties = {
|
|
10
|
+
/** [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/outline) */
|
|
11
|
+
outline?: CssOutline;
|
|
12
|
+
/** [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/outline-color) */
|
|
13
|
+
"outline-color"?: CssOutlineColor;
|
|
14
|
+
/** [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/outline-offset) */
|
|
15
|
+
"outline-offset"?: CssOutlineOffset;
|
|
16
|
+
/** [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/outline-style) */
|
|
17
|
+
"outline-style"?: CssOutlineStyle;
|
|
18
|
+
/** [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/outline-width) */
|
|
19
|
+
"outline-width"?: CssOutlineWidth;
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=outline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"outline.d.ts","sourceRoot":"","sources":["../../../../../src/types/string-literals/character-sets/css/outline.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,MAAM,eAAe,GAAG,aAAa,CAAC;AAE5C,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC;AAE9C,MAAM,MAAM,eAAe,GACzB,MAAM,GACN,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,OAAO,GACP,QAAQ,CAAC;AAEX,MAAM,MAAM,eAAe,GACzB,MAAM,GACN,QAAQ,GACR,OAAO,GACP,cAAc,CAAC;AAEjB,MAAM,MAAM,UAAU,GACpB,GAAG,eAAe,GAAG,GAAG,CAAC,IAAI,aAAa,EAAE,CAAC,EAAE,GAC/C,GAAG,eAAe,GAAG,GAAG,CAAC,IAAI,eAAe,EAAE,CAAC,GAAG,MAAM,EAAE,CAAC;AAE7D,MAAM,MAAM,oBAAoB,GAAG;IACjC,4EAA4E;IAC5E,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,kFAAkF;IAClF,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,mFAAmF;IACnF,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,kFAAkF;IAClF,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,kFAAkF;IAClF,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CssGlobal } from "./global";
|
|
2
2
|
import { CssSizing } from "./sizing";
|
|
3
|
+
type Overflow = "visible" | "hidden" | "clip" | "scroll" | "auto";
|
|
3
4
|
/**
|
|
4
5
|
* **CssOverflowX**
|
|
5
6
|
*
|
|
@@ -10,7 +11,7 @@ import { CssSizing } from "./sizing";
|
|
|
10
11
|
* scroll bar, or the overflow content. This property may also be set
|
|
11
12
|
* by using the overflow shorthand property.
|
|
12
13
|
*/
|
|
13
|
-
export type CssOverflowX =
|
|
14
|
+
export type CssOverflowX = Overflow;
|
|
14
15
|
/**
|
|
15
16
|
* **CssOverflowY**
|
|
16
17
|
*
|
|
@@ -21,7 +22,10 @@ export type CssOverflowX = "visible" | "hidden" | "clip" | "scroll" | "auto" | "
|
|
|
21
22
|
* scroll bar, or the overflow content. This property may also be set
|
|
22
23
|
* by using the overflow shorthand property.
|
|
23
24
|
*/
|
|
24
|
-
export type CssOverflowY =
|
|
25
|
+
export type CssOverflowY = Overflow;
|
|
26
|
+
export type CssOverflowBlock = Overflow;
|
|
27
|
+
export type CssOverflowInline = Overflow;
|
|
28
|
+
export type CssOverflowAnchor = "auto" | "none";
|
|
25
29
|
/**
|
|
26
30
|
* **CssOverflowClipMargin**
|
|
27
31
|
*
|
|
@@ -33,4 +37,23 @@ export type CssOverflowY = "visible" | "hidden" | "clip" | "scroll" | "auto" | "
|
|
|
33
37
|
* overflow clip edge of the box.
|
|
34
38
|
*/
|
|
35
39
|
export type CssOverflowClipMargin = CssSizing | `content-box ${CssSizing}` | CssGlobal;
|
|
40
|
+
export type CssOverflowProperties = {
|
|
41
|
+
/** [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/overflow) */
|
|
42
|
+
overflow?: string;
|
|
43
|
+
/** [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-anchor) */
|
|
44
|
+
"overflow-anchor"?: CssOverflowAnchor | CssGlobal;
|
|
45
|
+
/** [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-block) */
|
|
46
|
+
"overflow-block"?: CssOverflowBlock | CssGlobal;
|
|
47
|
+
/** [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-clip-margin) */
|
|
48
|
+
"overflow-clip-margin"?: string;
|
|
49
|
+
/** [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-inline) */
|
|
50
|
+
"overflow-inline"?: CssOverflowInline | CssGlobal;
|
|
51
|
+
/** [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-wrap) */
|
|
52
|
+
"overflow-wrap"?: string;
|
|
53
|
+
/** [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-x) */
|
|
54
|
+
"overflow-x"?: CssOverflowX | CssGlobal;
|
|
55
|
+
/** [Reference](https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-y) */
|
|
56
|
+
"overflow-y"?: CssOverflowY | CssGlobal;
|
|
57
|
+
};
|
|
58
|
+
export {};
|
|
36
59
|
//# sourceMappingURL=overflow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overflow.d.ts","sourceRoot":"","sources":["../../../../../src/types/string-literals/character-sets/css/overflow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"overflow.d.ts","sourceRoot":"","sources":["../../../../../src/types/string-literals/character-sets/css/overflow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC,KAAK,QAAQ,GACX,SAAS,GACT,QAAQ,GACR,MAAM,GACN,QAAQ,GACR,MAAM,CAAC;AAET;;;;;;;;;GASG;AACH,MAAM,MAAM,YAAY,GAAG,QAAQ,CAAC;AAEpC;;;;;;;;;GASG;AACH,MAAM,MAAM,YAAY,GAAG,QAAQ,CAAC;AAEpC,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CAAC;AACxC,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC;AAEzC,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,MAAM,CAAC;AAGhD;;;;;;;;;GASG;AACH,MAAM,MAAM,qBAAqB,GAC/B,SAAS,GACT,eAAe,SAAS,EAAE,GACzB,SAAS,CAAC;AAEb,MAAM,MAAM,qBAAqB,GAAG;IAClC,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oFAAoF;IACpF,iBAAiB,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAClD,mFAAmF;IACnF,gBAAgB,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAChD,yFAAyF;IACzF,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,oFAAoF;IACpF,iBAAiB,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAClD,kFAAkF;IAClF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,+EAA+E;IAC/E,YAAY,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IACxC,+EAA+E;IAC/E,YAAY,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;CACzC,CAAA"}
|