@zuzjs/ui 0.3.7 → 0.3.8
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/bin.d.ts +2 -0
- package/dist/bin.js +107 -0
- package/dist/comps/box.d.ts +3 -0
- package/dist/comps/box.js +7 -0
- package/dist/comps/button.d.ts +3 -0
- package/dist/comps/button.js +8 -0
- package/dist/comps/checkbox.d.ts +3 -0
- package/dist/comps/checkbox.js +14 -0
- package/dist/comps/cover.d.ts +4 -0
- package/dist/comps/cover.js +8 -0
- package/dist/comps/form.d.ts +4 -0
- package/dist/comps/form.js +105 -0
- package/dist/comps/heading.d.ts +3 -0
- package/dist/comps/heading.js +10 -0
- package/dist/comps/icon.d.ts +3 -0
- package/dist/comps/icon.js +7 -0
- package/dist/comps/input.d.ts +7 -0
- package/dist/comps/input.js +8 -0
- package/dist/comps/spinner.d.ts +13 -0
- package/dist/comps/spinner.js +40 -0
- package/dist/funs/css.d.ts +268 -0
- package/dist/funs/css.js +339 -0
- package/dist/funs/index.d.ts +17 -0
- package/dist/funs/index.js +60 -0
- package/dist/funs/styles.d.ts +242 -0
- package/dist/funs/styles.js +249 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +10 -0
- package/dist/styles.css +1 -460
- package/dist/types/enums.d.ts +10 -0
- package/dist/types/enums.js +12 -0
- package/dist/types/index.d.ts +23 -0
- package/dist/types/index.js +1 -0
- package/dist/types/interfaces.d.ts +4 -0
- package/dist/types/interfaces.js +1 -0
- package/package.json +48 -44
- package/README.md +0 -1
- package/dist/hooks.js +0 -89
- package/dist/ui.js +0 -688
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
export const cssProps = {
|
|
2
|
+
"alignContent": "align-content",
|
|
3
|
+
"alignItems": "align-items",
|
|
4
|
+
"alignSelf": "align-self",
|
|
5
|
+
//Animations
|
|
6
|
+
"animation": "animation",
|
|
7
|
+
"animationDelay": "animation-delay",
|
|
8
|
+
"animationDirection": "animation-direction",
|
|
9
|
+
"animationDuration": "animation-duration",
|
|
10
|
+
"animationFillMode": "animation-fill-mode",
|
|
11
|
+
"animationIterationCount": "animation-iteration-count",
|
|
12
|
+
"animationName": "animation-name",
|
|
13
|
+
"animationPlayState": "animation-play-state",
|
|
14
|
+
"animationTimingFunction": "animation-timing-function",
|
|
15
|
+
//Backgrounds
|
|
16
|
+
"background": "background",
|
|
17
|
+
"bg": "background",
|
|
18
|
+
"backgroundColor": "background-color",
|
|
19
|
+
"backgroundImage": "background-image",
|
|
20
|
+
"backgroundOrigin": "background-origin",
|
|
21
|
+
"backgroundPosition": "background-position",
|
|
22
|
+
"backgroundRepeat": "background-repeat",
|
|
23
|
+
"backgroundSize": "background-size",
|
|
24
|
+
"backfaceVisibility": "backface-visibility",
|
|
25
|
+
"backgroundAttachment": "background-attachment",
|
|
26
|
+
"backgroundBlendMode": "background-blend-mode",
|
|
27
|
+
"backgroundClip": "background-clip",
|
|
28
|
+
//Borders
|
|
29
|
+
"border": "border",
|
|
30
|
+
"borderBottom": "border-bottom",
|
|
31
|
+
"borderBottomColor": "border-bottom-color",
|
|
32
|
+
"borderBottomStyle": "border-bottom-style",
|
|
33
|
+
"borderBottomWidth": "border-bottom-width",
|
|
34
|
+
"borderCollapse": "border-collapse",
|
|
35
|
+
"borderColor": "border-color",
|
|
36
|
+
"borderImage": "border-image",
|
|
37
|
+
"borderImageOutset": "border-image-outset",
|
|
38
|
+
"borderImageRepeat": "border-image-repeat",
|
|
39
|
+
"borderImageSlice": "border-image-slice",
|
|
40
|
+
"borderImageSource": "border-image-source",
|
|
41
|
+
"borderImageWidth": "border-image-width",
|
|
42
|
+
"borderLeft": "border-left",
|
|
43
|
+
"borderLeftColor": "border-left-color",
|
|
44
|
+
"borderLeftStyle": "border-left-style",
|
|
45
|
+
"borderLeftWidth": "border-left-width",
|
|
46
|
+
"borderRight": "border-right",
|
|
47
|
+
"borderRightColor": "border-right-color",
|
|
48
|
+
"borderRightStyle": "border-right-style",
|
|
49
|
+
"borderRightWidth": "border-right-width",
|
|
50
|
+
"borderSpacing": "border-spacing",
|
|
51
|
+
"borderStyle": "border-style",
|
|
52
|
+
"borderTop": "border-top",
|
|
53
|
+
"borderTopColor": "border-top-color",
|
|
54
|
+
"borderTopStyle": "border-top-style",
|
|
55
|
+
"borderTopWidth": "border-top-width",
|
|
56
|
+
"borderWidth": "border-width",
|
|
57
|
+
//Radius
|
|
58
|
+
"borderRadius": "border-radius",
|
|
59
|
+
"r": "border-radius",
|
|
60
|
+
"borderTopLeftRadius": "border-top-left-radius",
|
|
61
|
+
"rtl": "border-top-left-radius",
|
|
62
|
+
"borderTopRightRadius": "border-top-right-radius",
|
|
63
|
+
"rtr": "border-top-right-radius",
|
|
64
|
+
"borderBottomLeftRadius": "border-bottom-left-radius",
|
|
65
|
+
"rbl": "border-bottom-left-radius",
|
|
66
|
+
"borderBottomRightRadius": "border-bottom-right-radius",
|
|
67
|
+
"rbr": "border-bottom-right-radius",
|
|
68
|
+
"bottom": "bottom",
|
|
69
|
+
"boxDecorationBreak": "box-decoration-break",
|
|
70
|
+
"boxShadow": "box-shadow",
|
|
71
|
+
"boxSizing": "box-sizing",
|
|
72
|
+
"captionSide": "caption-side",
|
|
73
|
+
"caretColor": "caret-color",
|
|
74
|
+
"@charset": "@charset",
|
|
75
|
+
"clear": "clear",
|
|
76
|
+
"clip": "clip",
|
|
77
|
+
"clipPath": "clip-path",
|
|
78
|
+
"color": "color",
|
|
79
|
+
"c": "color",
|
|
80
|
+
"columnCount": "column-count",
|
|
81
|
+
"columnFill": "column-fill",
|
|
82
|
+
"columnGap": "column-gap",
|
|
83
|
+
"colGap": "column-gap",
|
|
84
|
+
"columnRule": "column-rule",
|
|
85
|
+
"columnRuleColor": "column-rule-color",
|
|
86
|
+
"columnRuleStyle": "column-rule-style",
|
|
87
|
+
"columnRuleWidth": "column-rule-width",
|
|
88
|
+
"columnSpan": "column-span",
|
|
89
|
+
"columnWidth": "column-width",
|
|
90
|
+
"columns": "columns",
|
|
91
|
+
"content": "content",
|
|
92
|
+
"counterIncrement": "counter-increment",
|
|
93
|
+
"counterReset": "counter-reset",
|
|
94
|
+
"cursor": "cursor",
|
|
95
|
+
"pointer": "pointer",
|
|
96
|
+
"direction": "direction",
|
|
97
|
+
"display": "display",
|
|
98
|
+
"emptyCells": "empty-cells",
|
|
99
|
+
"filter": "filter",
|
|
100
|
+
"flex": "flex",
|
|
101
|
+
"flexBasis": "flex-basis",
|
|
102
|
+
"flexDirection": "flex-direction",
|
|
103
|
+
"flexDir": "flex-direction",
|
|
104
|
+
"flexFlow": "flex-flow",
|
|
105
|
+
"flexGrow": "flex-grow",
|
|
106
|
+
"flexShrink": "flex-shrink",
|
|
107
|
+
"flexWrap": "flex-wrap",
|
|
108
|
+
"float": "float",
|
|
109
|
+
"font": "font",
|
|
110
|
+
"fontFamily": "font-family",
|
|
111
|
+
"fontKerning": "font-kerning",
|
|
112
|
+
"s": "font-size",
|
|
113
|
+
"fontSize": "font-size",
|
|
114
|
+
"fontSizeAdjust": "font-size-adjust",
|
|
115
|
+
"fontStretch": "font-stretch",
|
|
116
|
+
"fontStyle": "font-style",
|
|
117
|
+
"fontVariant": "font-variant",
|
|
118
|
+
"bold": "bold",
|
|
119
|
+
"fontWeight": "font-weight",
|
|
120
|
+
"b": "font-weight",
|
|
121
|
+
"gap": "gap",
|
|
122
|
+
"grid": "grid",
|
|
123
|
+
"gridArea": "grid-area",
|
|
124
|
+
"gridAutoColumns": "grid-auto-columns",
|
|
125
|
+
"gridAutoFlow": "grid-auto-flow",
|
|
126
|
+
"gridAutoRows": "grid-auto-rows",
|
|
127
|
+
"gridColumn": "grid-column",
|
|
128
|
+
"gridColumnEnd": "grid-column-end",
|
|
129
|
+
"gridColumnGap": "grid-column-gap",
|
|
130
|
+
"gridColumnStart": "grid-column-start",
|
|
131
|
+
"gridGap": "grid-gap",
|
|
132
|
+
"gridRow": "grid-row",
|
|
133
|
+
"gridRowEnd": "grid-row-end",
|
|
134
|
+
"gridRowGap": "grid-row-gap",
|
|
135
|
+
"gridRowStart": "grid-row-start",
|
|
136
|
+
"gridTemplate": "grid-template",
|
|
137
|
+
"gridTemplateAreas": "grid-template-areas",
|
|
138
|
+
"gridTemplateColumns": "grid-template-columns",
|
|
139
|
+
"gridTemplateRows": "grid-template-rows",
|
|
140
|
+
"hangingPunctuation": "hanging-punctuation",
|
|
141
|
+
"hyphens": "hyphens",
|
|
142
|
+
"isolation": "isolation",
|
|
143
|
+
"justifyContent": "justify-content",
|
|
144
|
+
"left": "left",
|
|
145
|
+
"letterSpacing": "letter-spacing",
|
|
146
|
+
"lineHeight": "line-height",
|
|
147
|
+
"lh": "line-height",
|
|
148
|
+
"listStyle": "list-style",
|
|
149
|
+
"listStyleImage": "list-style-image",
|
|
150
|
+
"listStylePosition": "list-style-position",
|
|
151
|
+
"listStyleType": "list-style-type",
|
|
152
|
+
"aspectRatio": "aspect-ratio",
|
|
153
|
+
//Margin
|
|
154
|
+
"margin": "margin",
|
|
155
|
+
"m": "margin",
|
|
156
|
+
"marginBottom": "margin-bottom",
|
|
157
|
+
"mb": "margin-bottom",
|
|
158
|
+
"marginLeft": "margin-left",
|
|
159
|
+
"ml": "margin-left",
|
|
160
|
+
"marginRight": "margin-right",
|
|
161
|
+
"mr": "margin-right",
|
|
162
|
+
"marginTop": "margin-top",
|
|
163
|
+
"mt": "margin-top",
|
|
164
|
+
//Height
|
|
165
|
+
"height": "height",
|
|
166
|
+
"h": "height",
|
|
167
|
+
"minHeight": "min-height",
|
|
168
|
+
"minH": "min-height",
|
|
169
|
+
"maxHeight": "max-height",
|
|
170
|
+
"maxH": "max-height",
|
|
171
|
+
//Width
|
|
172
|
+
"width": "width",
|
|
173
|
+
"w": "width",
|
|
174
|
+
"minWidth": "min-width",
|
|
175
|
+
"minW": "min-width",
|
|
176
|
+
"maxWidth": "max-width",
|
|
177
|
+
"maxW": "max-width",
|
|
178
|
+
"mixBlendMode": "mix-blend-mode",
|
|
179
|
+
"objectFit": "object-fit",
|
|
180
|
+
"objectPosition": "object-position",
|
|
181
|
+
"opacity": "opacity",
|
|
182
|
+
"order": "order",
|
|
183
|
+
"outline": "outline",
|
|
184
|
+
"outlineColor": "outline-color",
|
|
185
|
+
"outlineOffset": "outline-offset",
|
|
186
|
+
"outlineStyle": "outline-style",
|
|
187
|
+
"outlineWidth": "outline-width",
|
|
188
|
+
"overflow": "overflow",
|
|
189
|
+
"overflowX": "overflow-x",
|
|
190
|
+
"overflowY": "overflow-y",
|
|
191
|
+
"padding": "padding",
|
|
192
|
+
"p": "padding",
|
|
193
|
+
"paddingBottom": "padding-bottom",
|
|
194
|
+
"pb": "padding-bottom",
|
|
195
|
+
"paddingLeft": "padding-left",
|
|
196
|
+
"pl": "padding-left",
|
|
197
|
+
"paddingRight": "padding-right",
|
|
198
|
+
"pr": "padding-right",
|
|
199
|
+
"paddingTop": "padding-top",
|
|
200
|
+
"pt": "padding-top",
|
|
201
|
+
"pageBreakAfter": "page-break-after",
|
|
202
|
+
"pageBreakBefore": "page-break-before",
|
|
203
|
+
"pageBreakInside": "page-break-inside",
|
|
204
|
+
"perspective": "perspective",
|
|
205
|
+
"perspectiveOrigin": "perspective-origin",
|
|
206
|
+
"pointerEvents": "pointer-events",
|
|
207
|
+
"position": "position",
|
|
208
|
+
"quotes": "quotes",
|
|
209
|
+
"resize": "resize",
|
|
210
|
+
"right": "right",
|
|
211
|
+
"scrollBehavior": "scroll-behavior",
|
|
212
|
+
"tabSize": "tab-size",
|
|
213
|
+
"tableLayout": "table-layout",
|
|
214
|
+
"align": "text-align",
|
|
215
|
+
"textAlign": "text-align",
|
|
216
|
+
"textAlignLast": "text-align-last",
|
|
217
|
+
"textDecoration": "text-decoration",
|
|
218
|
+
"td": "text-decoration",
|
|
219
|
+
"textDecorationColor": "text-decoration-color",
|
|
220
|
+
"textDecorationLine": "text-decoration-line",
|
|
221
|
+
"textDecorationStyle": "text-decoration-style",
|
|
222
|
+
"textIndent": "text-indent",
|
|
223
|
+
"textJustify": "text-justify",
|
|
224
|
+
"textOverflow": "text-overflow",
|
|
225
|
+
"textShadow": "text-shadow",
|
|
226
|
+
"textTransform": "text-transform",
|
|
227
|
+
"top": "top",
|
|
228
|
+
"transform": "transform",
|
|
229
|
+
"transform(2D)": "transform(2D)",
|
|
230
|
+
"transformOrigin(twoValue syntax)": "transform-origin(two-value syntax)",
|
|
231
|
+
"transformStyle": "transform-style",
|
|
232
|
+
"transition": "transition",
|
|
233
|
+
"transitionDelay": "transition-delay",
|
|
234
|
+
"transitionDuration": "transition-duration",
|
|
235
|
+
"transitionProperty": "transition-property",
|
|
236
|
+
"transitionTimingFunction": "transition-timing-function",
|
|
237
|
+
"unicodeBidi": "unicode-bidi",
|
|
238
|
+
"userSelect": "user-select",
|
|
239
|
+
"verticalAlign": "vertical-align",
|
|
240
|
+
"visibility": "visibility",
|
|
241
|
+
"whiteSpace": "white-space",
|
|
242
|
+
"wordBreak": "word-break",
|
|
243
|
+
"wordSpacing": "word-spacing",
|
|
244
|
+
"textWrap": "textWrap",
|
|
245
|
+
"wordWrap": "word-wrap",
|
|
246
|
+
"writingMode": "writing-mode",
|
|
247
|
+
"zIndex": "z-index",
|
|
248
|
+
"backdropFilter": "backdrop-filter"
|
|
249
|
+
};
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { withZuz as css } from './funs';
|
|
2
|
+
export { default as Box } from "./comps/box";
|
|
3
|
+
export { default as Button } from "./comps/button";
|
|
4
|
+
export { default as CheckBox } from "./comps/checkbox";
|
|
5
|
+
export { default as Cover } from "./comps/cover";
|
|
6
|
+
export { default as Form } from "./comps/form";
|
|
7
|
+
export { default as Heading } from "./comps/heading";
|
|
8
|
+
export { default as Icon } from "./comps/icon";
|
|
9
|
+
export { default as Input } from "./comps/input";
|
|
10
|
+
export { default as Spinner } from "./comps/spinner";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { withZuz as css } from './funs';
|
|
2
|
+
export { default as Box } from "./comps/box";
|
|
3
|
+
export { default as Button } from "./comps/button";
|
|
4
|
+
export { default as CheckBox } from "./comps/checkbox";
|
|
5
|
+
export { default as Cover } from "./comps/cover";
|
|
6
|
+
export { default as Form } from "./comps/form";
|
|
7
|
+
export { default as Heading } from "./comps/heading";
|
|
8
|
+
export { default as Icon } from "./comps/icon";
|
|
9
|
+
export { default as Input } from "./comps/input";
|
|
10
|
+
export { default as Spinner } from "./comps/spinner";
|