@okshaun/components 0.5.8 → 1.0.1
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/README.md +22 -26
- package/dist/.mcp.json +11 -0
- package/dist/index.d.ts +3 -1268
- package/dist/index.js +1231 -957
- package/dist/index.js.map +1 -1
- package/dist/okshaun-logo-white.svg +11 -0
- package/dist/okshaun-logo.svg +11 -0
- package/dist/preset-BzrKiUEH.js +8452 -0
- package/dist/preset-BzrKiUEH.js.map +1 -0
- package/dist/preset.js +3 -7234
- package/dist/preset.js.map +1 -1
- package/dist/specs/animation-styles.json +4 -0
- package/dist/specs/color-palette.json +98 -0
- package/dist/specs/conditions.json +1901 -0
- package/dist/specs/keyframes.json +137 -0
- package/dist/specs/layer-styles.json +23 -0
- package/dist/specs/patterns.json +475 -0
- package/dist/specs/recipes.json +907 -0
- package/dist/specs/semantic-tokens.json +2837 -0
- package/dist/specs/text-styles.json +149 -0
- package/dist/specs/tokens.json +2750 -0
- package/dist/sprite.svg +1 -1
- package/dist/sprite.symbol.html +14 -14
- package/dist/styles/global.css +148 -0
- package/dist/styles/recipes/avatar.css +185 -0
- package/dist/styles/recipes/badge.css +85 -0
- package/dist/styles/recipes/breadcrumbs.css +38 -0
- package/dist/styles/recipes/button.css +195 -0
- package/dist/styles/recipes/card.css +57 -0
- package/dist/styles/recipes/checkbox-input.css +12 -0
- package/dist/styles/recipes/checkbox.css +90 -0
- package/dist/styles/recipes/chip.css +137 -0
- package/dist/styles/recipes/code.css +12 -0
- package/dist/styles/recipes/divider.css +43 -0
- package/dist/styles/recipes/form-field.css +39 -0
- package/dist/styles/recipes/heading.css +40 -0
- package/dist/styles/recipes/icon-button.css +181 -0
- package/dist/styles/recipes/label.css +14 -0
- package/dist/styles/recipes/link.css +49 -0
- package/dist/styles/recipes/menu.css +141 -0
- package/dist/styles/recipes/modal.css +99 -0
- package/dist/styles/recipes/pre.css +16 -0
- package/dist/styles/recipes/radio-input.css +7 -0
- package/dist/styles/recipes/radio.css +82 -0
- package/dist/styles/recipes/select.css +103 -0
- package/dist/styles/recipes/spinner.css +36 -0
- package/dist/styles/recipes/tag.css +27 -0
- package/dist/styles/recipes/text.css +46 -0
- package/dist/styles/recipes/textarea.css +91 -0
- package/dist/styles/recipes/textinput.css +87 -0
- package/dist/styles/recipes/theme-switcher.css +53 -0
- package/dist/styles/recipes/toggle-input.css +12 -0
- package/dist/styles/recipes/toggle.css +125 -0
- package/dist/styles/recipes/tooltip.css +133 -0
- package/dist/styles/recipes.css +30 -0
- package/dist/styles/reset.css +1 -0
- package/dist/styles/tokens.css +1016 -0
- package/dist/styles/utilities.css +1694 -0
- package/dist/styles.css +7 -0
- package/dist/svgs/building.svg +1 -0
- package/dist/types/index.d.ts +21626 -0
- package/dist/types/preset.d.ts +19 -0
- package/package.json +37 -35
- package/src/recipes/avatar.ts +205 -0
- package/src/recipes/badge.ts +203 -0
- package/src/recipes/box.ts +13 -0
- package/src/recipes/breadcrumbs.ts +29 -0
- package/src/recipes/button.ts +319 -0
- package/src/recipes/card.ts +148 -0
- package/src/recipes/checkbox.ts +87 -0
- package/src/recipes/checkboxinput.ts +15 -0
- package/src/recipes/chip.ts +189 -0
- package/src/recipes/code.ts +35 -0
- package/src/recipes/divider.ts +41 -0
- package/src/recipes/formField.ts +60 -0
- package/src/recipes/index.ts +28 -0
- package/src/recipes/menu.ts +205 -0
- package/src/recipes/modal.ts +120 -0
- package/src/recipes/radio.ts +71 -0
- package/src/recipes/radioinput.ts +12 -0
- package/src/recipes/select.ts +142 -0
- package/src/recipes/spinner.ts +52 -0
- package/src/recipes/tag.ts +262 -0
- package/src/recipes/text.ts +193 -0
- package/src/recipes/textarea.ts +153 -0
- package/src/recipes/textinput.ts +100 -0
- package/src/recipes/themeSwitcher.ts +48 -0
- package/src/recipes/toggle.ts +116 -0
- package/src/recipes/toggleinput.ts +16 -0
- package/src/recipes/tooltip.ts +359 -0
- package/src/styles/index.css +1 -0
- package/src/styles/primitives/animations.ts +16 -0
- package/src/styles/primitives/aspectRatios.ts +22 -0
- package/src/styles/primitives/blurs.ts +25 -0
- package/src/styles/primitives/borderWidths.ts +10 -0
- package/src/styles/primitives/borders.ts +36 -0
- package/src/styles/primitives/colors.ts +228 -0
- package/src/styles/primitives/durations.ts +25 -0
- package/src/styles/primitives/easings.ts +19 -0
- package/src/styles/primitives/fontSizes.ts +16 -0
- package/src/styles/primitives/fontWeights.ts +9 -0
- package/src/styles/primitives/fonts.ts +18 -0
- package/src/styles/primitives/index.ts +46 -0
- package/src/styles/primitives/letterSpacings.ts +22 -0
- package/src/styles/primitives/lineHeights.ts +16 -0
- package/src/styles/primitives/radii.ts +14 -0
- package/src/styles/primitives/shadows.ts +73 -0
- package/src/styles/primitives/sizes.ts +86 -0
- package/src/styles/primitives/spacings.ts +7 -0
- package/src/styles/semantics/colors.ts +774 -0
- package/src/styles/semantics/index.ts +2 -0
- package/src/styles/semantics/shadows.ts +32 -0
- package/src/styles/utilities/breakpoints.ts +8 -0
- package/src/styles/utilities/conditions.ts +140 -0
- package/src/styles/utilities/containerSizes.ts +17 -0
- package/src/styles/utilities/filters.ts +12 -0
- package/src/styles/utilities/globalStyle.ts +93 -0
- package/src/styles/utilities/index.ts +9 -0
- package/src/styles/utilities/keyframes.ts +89 -0
- package/src/styles/utilities/layerStyles.ts +18 -0
- package/src/styles/utilities/textStyles.ts +135 -0
- package/src/styles/utilities/transitions.ts +92 -0
- package/src/utils/injectSprite.ts +36 -0
- package/src/utils/splitProps.ts +19 -0
- package/src/utils/spriteContent.ts +4 -0
- package/dist/panda.buildinfo.json +0 -448
- package/dist/preset.d.ts +0 -5
- package/dist/transitions-DUgH88VW.js +0 -1041
- package/dist/transitions-DUgH88VW.js.map +0 -1
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "keyframes",
|
|
3
|
+
"data": [
|
|
4
|
+
{
|
|
5
|
+
"name": "spin",
|
|
6
|
+
"functionExamples": [
|
|
7
|
+
"css({ animationName: 'spin' })",
|
|
8
|
+
"css({ animation: 'spin 1s ease-in-out infinite' })"
|
|
9
|
+
],
|
|
10
|
+
"jsxExamples": [
|
|
11
|
+
"<Box animationName=\"spin\" />",
|
|
12
|
+
"<Box animation=\"spin 1s ease-in-out infinite\" />"
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "ping",
|
|
17
|
+
"functionExamples": [
|
|
18
|
+
"css({ animationName: 'ping' })",
|
|
19
|
+
"css({ animation: 'ping 1s ease-in-out infinite' })"
|
|
20
|
+
],
|
|
21
|
+
"jsxExamples": [
|
|
22
|
+
"<Box animationName=\"ping\" />",
|
|
23
|
+
"<Box animation=\"ping 1s ease-in-out infinite\" />"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "pulse",
|
|
28
|
+
"functionExamples": [
|
|
29
|
+
"css({ animationName: 'pulse' })",
|
|
30
|
+
"css({ animation: 'pulse 1s ease-in-out infinite' })"
|
|
31
|
+
],
|
|
32
|
+
"jsxExamples": [
|
|
33
|
+
"<Box animationName=\"pulse\" />",
|
|
34
|
+
"<Box animation=\"pulse 1s ease-in-out infinite\" />"
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "bounce",
|
|
39
|
+
"functionExamples": [
|
|
40
|
+
"css({ animationName: 'bounce' })",
|
|
41
|
+
"css({ animation: 'bounce 1s ease-in-out infinite' })"
|
|
42
|
+
],
|
|
43
|
+
"jsxExamples": [
|
|
44
|
+
"<Box animationName=\"bounce\" />",
|
|
45
|
+
"<Box animation=\"bounce 1s ease-in-out infinite\" />"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "badgePop",
|
|
50
|
+
"functionExamples": [
|
|
51
|
+
"css({ animationName: 'badgePop' })",
|
|
52
|
+
"css({ animation: 'badgePop 1s ease-in-out infinite' })"
|
|
53
|
+
],
|
|
54
|
+
"jsxExamples": [
|
|
55
|
+
"<Box animationName=\"badgePop\" />",
|
|
56
|
+
"<Box animation=\"badgePop 1s ease-in-out infinite\" />"
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "badgePopStandalone",
|
|
61
|
+
"functionExamples": [
|
|
62
|
+
"css({ animationName: 'badgePopStandalone' })",
|
|
63
|
+
"css({ animation: 'badgePopStandalone 1s ease-in-out infinite' })"
|
|
64
|
+
],
|
|
65
|
+
"jsxExamples": [
|
|
66
|
+
"<Box animationName=\"badgePopStandalone\" />",
|
|
67
|
+
"<Box animation=\"badgePopStandalone 1s ease-in-out infinite\" />"
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "slideLeft",
|
|
72
|
+
"functionExamples": [
|
|
73
|
+
"css({ animationName: 'slideLeft' })",
|
|
74
|
+
"css({ animation: 'slideLeft 1s ease-in-out infinite' })"
|
|
75
|
+
],
|
|
76
|
+
"jsxExamples": [
|
|
77
|
+
"<Box animationName=\"slideLeft\" />",
|
|
78
|
+
"<Box animation=\"slideLeft 1s ease-in-out infinite\" />"
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "slideRight",
|
|
83
|
+
"functionExamples": [
|
|
84
|
+
"css({ animationName: 'slideRight' })",
|
|
85
|
+
"css({ animation: 'slideRight 1s ease-in-out infinite' })"
|
|
86
|
+
],
|
|
87
|
+
"jsxExamples": [
|
|
88
|
+
"<Box animationName=\"slideRight\" />",
|
|
89
|
+
"<Box animation=\"slideRight 1s ease-in-out infinite\" />"
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "modalFadeIn",
|
|
94
|
+
"functionExamples": [
|
|
95
|
+
"css({ animationName: 'modalFadeIn' })",
|
|
96
|
+
"css({ animation: 'modalFadeIn 1s ease-in-out infinite' })"
|
|
97
|
+
],
|
|
98
|
+
"jsxExamples": [
|
|
99
|
+
"<Box animationName=\"modalFadeIn\" />",
|
|
100
|
+
"<Box animation=\"modalFadeIn 1s ease-in-out infinite\" />"
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "modalFadeOut",
|
|
105
|
+
"functionExamples": [
|
|
106
|
+
"css({ animationName: 'modalFadeOut' })",
|
|
107
|
+
"css({ animation: 'modalFadeOut 1s ease-in-out infinite' })"
|
|
108
|
+
],
|
|
109
|
+
"jsxExamples": [
|
|
110
|
+
"<Box animationName=\"modalFadeOut\" />",
|
|
111
|
+
"<Box animation=\"modalFadeOut 1s ease-in-out infinite\" />"
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "modalScaleIn",
|
|
116
|
+
"functionExamples": [
|
|
117
|
+
"css({ animationName: 'modalScaleIn' })",
|
|
118
|
+
"css({ animation: 'modalScaleIn 1s ease-in-out infinite' })"
|
|
119
|
+
],
|
|
120
|
+
"jsxExamples": [
|
|
121
|
+
"<Box animationName=\"modalScaleIn\" />",
|
|
122
|
+
"<Box animation=\"modalScaleIn 1s ease-in-out infinite\" />"
|
|
123
|
+
]
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "modalScaleOut",
|
|
127
|
+
"functionExamples": [
|
|
128
|
+
"css({ animationName: 'modalScaleOut' })",
|
|
129
|
+
"css({ animation: 'modalScaleOut 1s ease-in-out infinite' })"
|
|
130
|
+
],
|
|
131
|
+
"jsxExamples": [
|
|
132
|
+
"<Box animationName=\"modalScaleOut\" />",
|
|
133
|
+
"<Box animation=\"modalScaleOut 1s ease-in-out infinite\" />"
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
]
|
|
137
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "layer-styles",
|
|
3
|
+
"data": [
|
|
4
|
+
{
|
|
5
|
+
"name": "surface.raised",
|
|
6
|
+
"functionExamples": [
|
|
7
|
+
"css({ layerStyle: 'surface.raised' })"
|
|
8
|
+
],
|
|
9
|
+
"jsxExamples": [
|
|
10
|
+
"<Box layerStyle=\"surface.raised\" />"
|
|
11
|
+
]
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "surface.overlay",
|
|
15
|
+
"functionExamples": [
|
|
16
|
+
"css({ layerStyle: 'surface.overlay' })"
|
|
17
|
+
],
|
|
18
|
+
"jsxExamples": [
|
|
19
|
+
"<Box layerStyle=\"surface.overlay\" />"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -0,0 +1,475 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "patterns",
|
|
3
|
+
"data": [
|
|
4
|
+
{
|
|
5
|
+
"name": "icon",
|
|
6
|
+
"properties": [
|
|
7
|
+
{
|
|
8
|
+
"name": "size",
|
|
9
|
+
"type": "\"0\" | \"1\" | \"2\" | \"3\" | \"4\" | \"5\" | \"6\" | \"7\" | \"8\" | \"9\" | \"10\" | \"12\" | \"14\" | \"16\" | \"20\" | \"22\" | \"24\" | \"32\" | \"40\" | \"48\" | \"56\" | \"64\" | \"72\" | \"80\" | \"88\" | \"96\" | \"104\" | \"112\" | \"120\" | \"128\" | \"136\" | \"144\" | \"152\" | \"160\" | \"168\" | \"176\" | \"184\" | \"192\" | \"200\" | \"208\" | \"216\" | \"224\" | \"232\" | \"240\" | \"248\" | \"256\" | \"264\" | \"272\" | \"280\" | \"full\" | \"half\" | \"min\" | \"max\" | \"fit\" | \"prose\" | \"auto\" | \"2xs\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | \"2xl\" | \"3xl\" | \"4xl\" | \"5xl\" | \"6xl\" | \"7xl\" | \"8xl\""
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"jsx": "Icon",
|
|
13
|
+
"functionExamples": [
|
|
14
|
+
"icon({ size: \"0\" })"
|
|
15
|
+
],
|
|
16
|
+
"jsxExamples": [
|
|
17
|
+
"<Icon size={\"0\"} />"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "flex",
|
|
22
|
+
"properties": [
|
|
23
|
+
{
|
|
24
|
+
"name": "align",
|
|
25
|
+
"type": "SystemProperties[\"alignItems\"]"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "justify",
|
|
29
|
+
"type": "SystemProperties[\"justifyContent\"]"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "direction",
|
|
33
|
+
"type": "SystemProperties[\"flexDirection\"]"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "wrap",
|
|
37
|
+
"type": "SystemProperties[\"flexWrap\"]"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "basis",
|
|
41
|
+
"type": "SystemProperties[\"flexBasis\"]"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "grow",
|
|
45
|
+
"type": "SystemProperties[\"flexGrow\"]"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "shrink",
|
|
49
|
+
"type": "SystemProperties[\"flexShrink\"]"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"jsx": "Flex",
|
|
53
|
+
"functionExamples": [
|
|
54
|
+
"flex({ align: <value> })",
|
|
55
|
+
"flex({ justify: <value> })",
|
|
56
|
+
"flex({ direction: <value> })",
|
|
57
|
+
"flex({ wrap: <value> })",
|
|
58
|
+
"flex({ basis: <value> })",
|
|
59
|
+
"flex({ grow: <value> })",
|
|
60
|
+
"flex({ shrink: <value> })"
|
|
61
|
+
],
|
|
62
|
+
"jsxExamples": [
|
|
63
|
+
"<Flex align={<value>} />",
|
|
64
|
+
"<Flex justify={<value>} />",
|
|
65
|
+
"<Flex direction={<value>} />",
|
|
66
|
+
"<Flex wrap={<value>} />",
|
|
67
|
+
"<Flex basis={<value>} />",
|
|
68
|
+
"<Flex grow={<value>} />",
|
|
69
|
+
"<Flex shrink={<value>} />"
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "stack",
|
|
74
|
+
"properties": [
|
|
75
|
+
{
|
|
76
|
+
"name": "align",
|
|
77
|
+
"type": "SystemProperties[\"alignItems\"]"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "justify",
|
|
81
|
+
"type": "SystemProperties[\"justifyContent\"]"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "direction",
|
|
85
|
+
"type": "SystemProperties[\"flexDirection\"]",
|
|
86
|
+
"defaultValue": "column"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "gap",
|
|
90
|
+
"type": "SystemProperties[\"gap\"]",
|
|
91
|
+
"defaultValue": "8px"
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
"jsx": "Stack",
|
|
95
|
+
"functionExamples": [
|
|
96
|
+
"stack({ align: <value> })",
|
|
97
|
+
"stack({ justify: <value> })",
|
|
98
|
+
"stack({ direction: <value> })",
|
|
99
|
+
"stack({ gap: <value> })"
|
|
100
|
+
],
|
|
101
|
+
"jsxExamples": [
|
|
102
|
+
"<Stack align={<value>} />",
|
|
103
|
+
"<Stack justify={<value>} />",
|
|
104
|
+
"<Stack direction={<value>} />",
|
|
105
|
+
"<Stack gap={<value>} />"
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "vstack",
|
|
110
|
+
"properties": [
|
|
111
|
+
{
|
|
112
|
+
"name": "justify",
|
|
113
|
+
"type": "SystemProperties[\"justifyContent\"]"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "gap",
|
|
117
|
+
"type": "SystemProperties[\"gap\"]",
|
|
118
|
+
"defaultValue": "8px"
|
|
119
|
+
}
|
|
120
|
+
],
|
|
121
|
+
"jsx": "VStack",
|
|
122
|
+
"functionExamples": [
|
|
123
|
+
"vstack({ justify: <value> })",
|
|
124
|
+
"vstack({ gap: <value> })"
|
|
125
|
+
],
|
|
126
|
+
"jsxExamples": [
|
|
127
|
+
"<VStack justify={<value>} />",
|
|
128
|
+
"<VStack gap={<value>} />"
|
|
129
|
+
]
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "hstack",
|
|
133
|
+
"properties": [
|
|
134
|
+
{
|
|
135
|
+
"name": "justify",
|
|
136
|
+
"type": "SystemProperties[\"justifyContent\"]"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "gap",
|
|
140
|
+
"type": "SystemProperties[\"gap\"]",
|
|
141
|
+
"defaultValue": "8px"
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"jsx": "HStack",
|
|
145
|
+
"functionExamples": [
|
|
146
|
+
"hstack({ justify: <value> })",
|
|
147
|
+
"hstack({ gap: <value> })"
|
|
148
|
+
],
|
|
149
|
+
"jsxExamples": [
|
|
150
|
+
"<HStack justify={<value>} />",
|
|
151
|
+
"<HStack gap={<value>} />"
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "spacer",
|
|
156
|
+
"properties": [
|
|
157
|
+
{
|
|
158
|
+
"name": "size",
|
|
159
|
+
"type": "ConditionalValue<Tokens[\"spacing\"]>"
|
|
160
|
+
}
|
|
161
|
+
],
|
|
162
|
+
"jsx": "Spacer",
|
|
163
|
+
"functionExamples": [
|
|
164
|
+
"spacer({ size: \"md\" })"
|
|
165
|
+
],
|
|
166
|
+
"jsxExamples": [
|
|
167
|
+
"<Spacer size={\"md\"} />"
|
|
168
|
+
]
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "square",
|
|
172
|
+
"properties": [
|
|
173
|
+
{
|
|
174
|
+
"name": "size",
|
|
175
|
+
"type": "SystemProperties[\"width\"]"
|
|
176
|
+
}
|
|
177
|
+
],
|
|
178
|
+
"jsx": "Square",
|
|
179
|
+
"functionExamples": [
|
|
180
|
+
"square({ size: <value> })"
|
|
181
|
+
],
|
|
182
|
+
"jsxExamples": [
|
|
183
|
+
"<Square size={<value>} />"
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"name": "circle",
|
|
188
|
+
"properties": [
|
|
189
|
+
{
|
|
190
|
+
"name": "size",
|
|
191
|
+
"type": "SystemProperties[\"width\"]"
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
"jsx": "Circle",
|
|
195
|
+
"functionExamples": [
|
|
196
|
+
"circle({ size: <value> })"
|
|
197
|
+
],
|
|
198
|
+
"jsxExamples": [
|
|
199
|
+
"<Circle size={<value>} />"
|
|
200
|
+
]
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"name": "center",
|
|
204
|
+
"properties": [
|
|
205
|
+
{
|
|
206
|
+
"name": "inline",
|
|
207
|
+
"type": "ConditionalValue<boolean>"
|
|
208
|
+
}
|
|
209
|
+
],
|
|
210
|
+
"jsx": "Center",
|
|
211
|
+
"functionExamples": [
|
|
212
|
+
"center({ inline: true })"
|
|
213
|
+
],
|
|
214
|
+
"jsxExamples": [
|
|
215
|
+
"<Center inline={true} />"
|
|
216
|
+
]
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "linkOverlay",
|
|
220
|
+
"properties": [],
|
|
221
|
+
"jsx": "LinkOverlay",
|
|
222
|
+
"functionExamples": [
|
|
223
|
+
"linkOverlay()"
|
|
224
|
+
],
|
|
225
|
+
"jsxExamples": [
|
|
226
|
+
"<LinkOverlay />"
|
|
227
|
+
]
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "aspectRatio",
|
|
231
|
+
"properties": [
|
|
232
|
+
{
|
|
233
|
+
"name": "ratio",
|
|
234
|
+
"type": "ConditionalValue<number>"
|
|
235
|
+
}
|
|
236
|
+
],
|
|
237
|
+
"jsx": "AspectRatio",
|
|
238
|
+
"functionExamples": [
|
|
239
|
+
"aspectRatio({ ratio: 4 })"
|
|
240
|
+
],
|
|
241
|
+
"jsxExamples": [
|
|
242
|
+
"<AspectRatio ratio={4} />"
|
|
243
|
+
]
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"name": "grid",
|
|
247
|
+
"properties": [
|
|
248
|
+
{
|
|
249
|
+
"name": "gap",
|
|
250
|
+
"type": "SystemProperties[\"gap\"]"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"name": "columnGap",
|
|
254
|
+
"type": "SystemProperties[\"gap\"]"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"name": "rowGap",
|
|
258
|
+
"type": "SystemProperties[\"gap\"]"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"name": "columns",
|
|
262
|
+
"type": "ConditionalValue<number>"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"name": "minChildWidth",
|
|
266
|
+
"type": "ConditionalValue<Tokens[\"sizes\"] | Properties[\"width\"]>"
|
|
267
|
+
}
|
|
268
|
+
],
|
|
269
|
+
"jsx": "Grid",
|
|
270
|
+
"functionExamples": [
|
|
271
|
+
"grid({ gap: <value> })",
|
|
272
|
+
"grid({ columnGap: <value> })",
|
|
273
|
+
"grid({ rowGap: <value> })",
|
|
274
|
+
"grid({ columns: 4 })",
|
|
275
|
+
"grid({ minChildWidth: \"md\" })"
|
|
276
|
+
],
|
|
277
|
+
"jsxExamples": [
|
|
278
|
+
"<Grid gap={<value>} />",
|
|
279
|
+
"<Grid columnGap={<value>} />",
|
|
280
|
+
"<Grid rowGap={<value>} />",
|
|
281
|
+
"<Grid columns={4} />",
|
|
282
|
+
"<Grid minChildWidth={\"md\"} />"
|
|
283
|
+
]
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"name": "gridItem",
|
|
287
|
+
"properties": [
|
|
288
|
+
{
|
|
289
|
+
"name": "colSpan",
|
|
290
|
+
"type": "ConditionalValue<number>"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"name": "rowSpan",
|
|
294
|
+
"type": "ConditionalValue<number>"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"name": "colStart",
|
|
298
|
+
"type": "ConditionalValue<number>"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"name": "rowStart",
|
|
302
|
+
"type": "ConditionalValue<number>"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"name": "colEnd",
|
|
306
|
+
"type": "ConditionalValue<number>"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"name": "rowEnd",
|
|
310
|
+
"type": "ConditionalValue<number>"
|
|
311
|
+
}
|
|
312
|
+
],
|
|
313
|
+
"jsx": "GridItem",
|
|
314
|
+
"functionExamples": [
|
|
315
|
+
"gridItem({ colSpan: 4 })",
|
|
316
|
+
"gridItem({ rowSpan: 4 })",
|
|
317
|
+
"gridItem({ colStart: 4 })",
|
|
318
|
+
"gridItem({ rowStart: 4 })",
|
|
319
|
+
"gridItem({ colEnd: 4 })",
|
|
320
|
+
"gridItem({ rowEnd: 4 })"
|
|
321
|
+
],
|
|
322
|
+
"jsxExamples": [
|
|
323
|
+
"<GridItem colSpan={4} />",
|
|
324
|
+
"<GridItem rowSpan={4} />",
|
|
325
|
+
"<GridItem colStart={4} />",
|
|
326
|
+
"<GridItem rowStart={4} />",
|
|
327
|
+
"<GridItem colEnd={4} />",
|
|
328
|
+
"<GridItem rowEnd={4} />"
|
|
329
|
+
]
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"name": "wrap",
|
|
333
|
+
"properties": [
|
|
334
|
+
{
|
|
335
|
+
"name": "gap",
|
|
336
|
+
"type": "SystemProperties[\"gap\"]"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"name": "rowGap",
|
|
340
|
+
"type": "SystemProperties[\"gap\"]"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"name": "columnGap",
|
|
344
|
+
"type": "SystemProperties[\"gap\"]"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"name": "align",
|
|
348
|
+
"type": "SystemProperties[\"alignItems\"]"
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"name": "justify",
|
|
352
|
+
"type": "SystemProperties[\"justifyContent\"]"
|
|
353
|
+
}
|
|
354
|
+
],
|
|
355
|
+
"jsx": "Wrap",
|
|
356
|
+
"functionExamples": [
|
|
357
|
+
"wrap({ gap: <value> })",
|
|
358
|
+
"wrap({ rowGap: <value> })",
|
|
359
|
+
"wrap({ columnGap: <value> })",
|
|
360
|
+
"wrap({ align: <value> })",
|
|
361
|
+
"wrap({ justify: <value> })"
|
|
362
|
+
],
|
|
363
|
+
"jsxExamples": [
|
|
364
|
+
"<Wrap gap={<value>} />",
|
|
365
|
+
"<Wrap rowGap={<value>} />",
|
|
366
|
+
"<Wrap columnGap={<value>} />",
|
|
367
|
+
"<Wrap align={<value>} />",
|
|
368
|
+
"<Wrap justify={<value>} />"
|
|
369
|
+
]
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"name": "container",
|
|
373
|
+
"properties": [],
|
|
374
|
+
"jsx": "Container",
|
|
375
|
+
"functionExamples": [
|
|
376
|
+
"container()"
|
|
377
|
+
],
|
|
378
|
+
"jsxExamples": [
|
|
379
|
+
"<Container />"
|
|
380
|
+
]
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"name": "float",
|
|
384
|
+
"properties": [
|
|
385
|
+
{
|
|
386
|
+
"name": "offsetX",
|
|
387
|
+
"type": "ConditionalValue<Tokens[\"spacing\"] | Properties[\"left\"]>"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"name": "offsetY",
|
|
391
|
+
"type": "ConditionalValue<Tokens[\"spacing\"] | Properties[\"top\"]>"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"name": "offset",
|
|
395
|
+
"type": "ConditionalValue<Tokens[\"spacing\"] | Properties[\"top\"]>"
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"name": "placement",
|
|
399
|
+
"type": "\"bottom-end\" | \"bottom-start\" | \"top-end\" | \"top-start\" | \"bottom-center\" | \"top-center\" | \"middle-center\" | \"middle-end\" | \"middle-start\""
|
|
400
|
+
}
|
|
401
|
+
],
|
|
402
|
+
"jsx": "Float",
|
|
403
|
+
"functionExamples": [
|
|
404
|
+
"float({ offsetX: \"md\" })",
|
|
405
|
+
"float({ offsetY: \"md\" })",
|
|
406
|
+
"float({ offset: \"md\" })",
|
|
407
|
+
"float({ placement: \"bottom-end\" })"
|
|
408
|
+
],
|
|
409
|
+
"jsxExamples": [
|
|
410
|
+
"<Float offsetX={\"md\"} />",
|
|
411
|
+
"<Float offsetY={\"md\"} />",
|
|
412
|
+
"<Float offset={\"md\"} />",
|
|
413
|
+
"<Float placement={\"bottom-end\"} />"
|
|
414
|
+
]
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"name": "bleed",
|
|
418
|
+
"properties": [
|
|
419
|
+
{
|
|
420
|
+
"name": "inline",
|
|
421
|
+
"type": "SystemProperties[\"marginInline\"]",
|
|
422
|
+
"defaultValue": "0"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"name": "block",
|
|
426
|
+
"type": "SystemProperties[\"marginBlock\"]",
|
|
427
|
+
"defaultValue": "0"
|
|
428
|
+
}
|
|
429
|
+
],
|
|
430
|
+
"jsx": "Bleed",
|
|
431
|
+
"functionExamples": [
|
|
432
|
+
"bleed({ inline: <value> })",
|
|
433
|
+
"bleed({ block: <value> })"
|
|
434
|
+
],
|
|
435
|
+
"jsxExamples": [
|
|
436
|
+
"<Bleed inline={<value>} />",
|
|
437
|
+
"<Bleed block={<value>} />"
|
|
438
|
+
]
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"name": "visuallyHidden",
|
|
442
|
+
"properties": [],
|
|
443
|
+
"jsx": "VisuallyHidden",
|
|
444
|
+
"functionExamples": [
|
|
445
|
+
"visuallyHidden()"
|
|
446
|
+
],
|
|
447
|
+
"jsxExamples": [
|
|
448
|
+
"<VisuallyHidden />"
|
|
449
|
+
]
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"name": "cq",
|
|
453
|
+
"properties": [
|
|
454
|
+
{
|
|
455
|
+
"name": "name",
|
|
456
|
+
"type": "ConditionalValue<Tokens[\"containerNames\"] | Properties[\"containerName\"]>"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"name": "type",
|
|
460
|
+
"type": "SystemProperties[\"containerType\"]",
|
|
461
|
+
"defaultValue": "inline-size"
|
|
462
|
+
}
|
|
463
|
+
],
|
|
464
|
+
"jsx": "Cq",
|
|
465
|
+
"functionExamples": [
|
|
466
|
+
"cq({ name: \"md\" })",
|
|
467
|
+
"cq({ type: <value> })"
|
|
468
|
+
],
|
|
469
|
+
"jsxExamples": [
|
|
470
|
+
"<Cq name={\"md\"} />",
|
|
471
|
+
"<Cq type={<value>} />"
|
|
472
|
+
]
|
|
473
|
+
}
|
|
474
|
+
]
|
|
475
|
+
}
|