@utilitywarehouse/hearth-react 0.29.8 → 0.30.0
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 +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +7 -7
- package/public/llms/components/accordion.md +15 -22
- package/public/llms/components/alert.md +6 -25
- package/public/llms/components/avatar.md +6 -13
- package/public/llms/components/badge.md +6 -14
- package/public/llms/components/body-text.md +8 -20
- package/public/llms/components/box.md +5 -78
- package/public/llms/components/button.md +9 -16
- package/public/llms/components/card-accordion.md +7 -25
- package/public/llms/components/card.md +4 -11
- package/public/llms/components/checkbox-group.md +16 -23
- package/public/llms/components/checkbox-tile.md +13 -20
- package/public/llms/components/checkbox.md +13 -20
- package/public/llms/components/combobox.md +49 -56
- package/public/llms/components/container.md +0 -61
- package/public/llms/components/currency-input.md +13 -20
- package/public/llms/components/date-input.md +30 -37
- package/public/llms/components/date-picker.md +0 -7
- package/public/llms/components/description-list.md +9 -19
- package/public/llms/components/detail-text.md +7 -18
- package/public/llms/components/divider.md +4 -11
- package/public/llms/components/em.md +4 -15
- package/public/llms/components/expandable-card.md +17 -31
- package/public/llms/components/grid.md +15 -97
- package/public/llms/components/heading.md +6 -17
- package/public/llms/components/helper-text.md +4 -13
- package/public/llms/components/highlight-banner.md +6 -13
- package/public/llms/components/icon-button.md +9 -16
- package/public/llms/components/icon-container.md +6 -18
- package/public/llms/components/inline-link.md +5 -13
- package/public/llms/components/label.md +7 -15
- package/public/llms/components/link.md +5 -13
- package/public/llms/components/list.md +16 -29
- package/public/llms/components/pagination.md +8 -15
- package/public/llms/components/password-input.md +12 -19
- package/public/llms/components/progress-bar.md +12 -19
- package/public/llms/components/progress-stepper.md +4 -11
- package/public/llms/components/radio-group.md +27 -45
- package/public/llms/components/search-input.md +13 -20
- package/public/llms/components/section-header.md +9 -16
- package/public/llms/components/select.md +20 -27
- package/public/llms/components/skeleton.md +7 -27
- package/public/llms/components/spinner.md +4 -12
- package/public/llms/components/strong.md +4 -15
- package/public/llms/components/switch.md +9 -16
- package/public/llms/components/table.md +4 -11
- package/public/llms/components/text-area.md +14 -21
- package/public/llms/components/text-input.md +14 -21
- package/public/llms/components/toggle-button-card.md +3 -88
- package/public/llms/components/validation-text.md +4 -13
- package/public/llms/components/verification-input.md +26 -33
- package/public/llms/docs/common-props/align-self.md +3 -78
- package/public/llms/docs/common-props/border.md +30 -234
- package/public/llms/docs/common-props/colour.md +6 -156
- package/public/llms/docs/common-props/flex-items.md +6 -78
- package/public/llms/docs/common-props/gap.md +5 -87
- package/public/llms/docs/common-props/grid-items.md +10 -78
- package/public/llms/docs/common-props/margin.md +9 -78
- package/public/llms/docs/common-props/opacity.md +3 -78
- package/public/llms/docs/common-props/order.md +0 -79
- package/public/llms/docs/common-props/overflow.md +5 -78
- package/public/llms/docs/common-props/padding.md +9 -78
- package/public/llms/docs/common-props/position.md +8 -78
- package/public/llms/docs/common-props/size.md +8 -78
- package/public/llms/docs/common-props/spacing.md +3 -87
- package/public/llms/docs/common-props/text.md +6 -20
- package/public/llms/docs/common-props/z-index.md +3 -78
- package/public/llms/docs/getting-started.md +1 -1
- package/public/llms/docs/responsive-design/breakpoints.md +2 -2
- package/styles.css +2 -2
|
@@ -43,84 +43,13 @@ import { Box } from '@utilitywarehouse/hearth-react' import { semantic } from '@
|
|
|
43
43
|
// <Box borderColor='rebeccapurple'/>
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
| Prop
|
|
47
|
-
|
|
|
48
|
-
| `
|
|
49
|
-
| `
|
|
50
|
-
| `
|
|
51
|
-
| `
|
|
52
|
-
| `
|
|
53
|
-
| `borderTopColor` | `"strong" \| `var(--h-${string})` \| "subtle"` | — | |
|
|
54
|
-
| `borderRightColor` | `"strong" \| `var(--h-${string})` \| "subtle"` | — | |
|
|
55
|
-
| `borderBottomColor` | `"strong" \| `var(--h-${string})` \| "subtle"` | — | |
|
|
56
|
-
| `borderLeftColor` | `"strong" \| `var(--h-${string})` \| "subtle"` | — | |
|
|
57
|
-
| `borderRadius` | `Responsive<"none" \| "xs" \| "sm" \| "md" \| "lg" \| "xl" \| "full" \| "inherit">` | — | |
|
|
58
|
-
| `borderRadiusTopLeftNone` | `boolean` | — | |
|
|
59
|
-
| `borderRadiusTopRightNone` | `boolean` | — | |
|
|
60
|
-
| `borderRadiusBottomLeftNone` | `boolean` | — | |
|
|
61
|
-
| `borderRadiusBottomRightNone` | `boolean` | — | |
|
|
62
|
-
| `borderRadiusTopNone` | `boolean` | — | |
|
|
63
|
-
| `borderRadiusRightNone` | `boolean` | — | |
|
|
64
|
-
| `borderRadiusBottomNone` | `boolean` | — | |
|
|
65
|
-
| `borderRadiusLeftNone` | `boolean` | — | |
|
|
66
|
-
| `borderStyle` | `Responsive<"none" \| "solid">` | — | |
|
|
67
|
-
| `borderTopStyle` | `Responsive<"none" \| "solid">` | — | |
|
|
68
|
-
| `borderRightStyle` | `Responsive<"none" \| "solid">` | — | |
|
|
69
|
-
| `borderBottomStyle` | `Responsive<"none" \| "solid">` | — | |
|
|
70
|
-
| `borderLeftStyle` | `Responsive<"none" \| "solid">` | — | |
|
|
71
|
-
| `borderWidth` | `Responsive<`var(--h-${string})` \| "0" \| "1" \| "2">` | — | |
|
|
72
|
-
| `borderTopWidth` | `Responsive<`var(--h-${string})` \| "0" \| "1" \| "2">` | — | |
|
|
73
|
-
| `borderRightWidth` | `Responsive<`var(--h-${string})` \| "0" \| "1" \| "2">` | — | |
|
|
74
|
-
| `borderBottomWidth` | `Responsive<`var(--h-${string})` \| "0" \| "1" \| "2">` | — | |
|
|
75
|
-
| `borderLeftWidth` | `Responsive<`var(--h-${string})` \| "0" \| "1" \| "2">` | — | |
|
|
76
|
-
| `color` | `"primary" \| "secondary" \| "brand" \| "affirmative" \| "inverted" \| `var(--h-${string})`` | — | |
|
|
77
|
-
| `flex` | `Responsive<string>` | — | |
|
|
78
|
-
| `flexBasis` | `Responsive<string>` | — | |
|
|
79
|
-
| `flexShrink` | `Responsive<string>` | — | |
|
|
80
|
-
| `flexGrow` | `Responsive<string>` | — | |
|
|
81
|
-
| `gridColumnSpan` | `Responsive<Union<string, "1" \| "2" \| "3" \| "4" \| "5" \| "6" \| "7" \| "8" \| "9" \| "10" \| "11" \| "12">>` | — | |
|
|
82
|
-
| `gridArea` | `Responsive<string>` | — | |
|
|
83
|
-
| `gridColumn` | `Responsive<string>` | — | |
|
|
84
|
-
| `gridColumnStart` | `Responsive<string>` | — | |
|
|
85
|
-
| `gridColumnEnd` | `Responsive<string>` | — | |
|
|
86
|
-
| `gridRow` | `Responsive<string>` | — | |
|
|
87
|
-
| `gridRowStart` | `Responsive<string>` | — | |
|
|
88
|
-
| `gridRowEnd` | `Responsive<string>` | — | |
|
|
89
|
-
| `margin` | `Responsive<`var(--h-${string})` \| "0" \| "auto" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
90
|
-
| `marginTop` | `Responsive<`var(--h-${string})` \| "0" \| "auto" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
91
|
-
| `marginRight` | `Responsive<`var(--h-${string})` \| "0" \| "auto" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
92
|
-
| `marginBottom` | `Responsive<`var(--h-${string})` \| "0" \| "auto" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
93
|
-
| `marginLeft` | `Responsive<`var(--h-${string})` \| "0" \| "auto" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
94
|
-
| `marginX` | `Responsive<`var(--h-${string})` \| "0" \| "auto" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
95
|
-
| `marginY` | `Responsive<`var(--h-${string})` \| "0" \| "auto" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
96
|
-
| `opacity` | `Responsive<string>` | — | |
|
|
97
|
-
| `order` | `Responsive<string>` | — | |
|
|
98
|
-
| `overflow` | `Responsive<"hidden" \| "auto" \| "visible" \| "clip" \| "scroll">` | — | |
|
|
99
|
-
| `overflowX` | `Responsive<"hidden" \| "auto" \| "visible" \| "clip" \| "scroll">` | — | |
|
|
100
|
-
| `overflowY` | `Responsive<"hidden" \| "auto" \| "visible" \| "clip" \| "scroll">` | — | |
|
|
101
|
-
| `padding` | `Responsive<`var(--h-${string})` \| "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
102
|
-
| `paddingTop` | `Responsive<`var(--h-${string})` \| "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
103
|
-
| `paddingRight` | `Responsive<`var(--h-${string})` \| "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
104
|
-
| `paddingBottom` | `Responsive<`var(--h-${string})` \| "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
105
|
-
| `paddingLeft` | `Responsive<`var(--h-${string})` \| "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
106
|
-
| `paddingX` | `Responsive<`var(--h-${string})` \| "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
107
|
-
| `paddingY` | `Responsive<`var(--h-${string})` \| "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
108
|
-
| `position` | `Responsive<"fixed" \| "static" \| "relative" \| "absolute" \| "sticky">` | — | |
|
|
109
|
-
| `inset` | `Responsive<Union<string, "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">>` | — | |
|
|
110
|
-
| `top` | `Responsive<Union<string, "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">>` | — | |
|
|
111
|
-
| `right` | `Responsive<Union<string, "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">>` | — | |
|
|
112
|
-
| `bottom` | `Responsive<Union<string, "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">>` | — | |
|
|
113
|
-
| `left` | `Responsive<Union<string, "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">>` | — | |
|
|
114
|
-
| `width` | `Responsive<string>` | — | |
|
|
115
|
-
| `maxWidth` | `Responsive<string>` | — | |
|
|
116
|
-
| `minWidth` | `Responsive<string>` | — | |
|
|
117
|
-
| `height` | `Responsive<string>` | — | |
|
|
118
|
-
| `maxHeight` | `Responsive<string>` | — | |
|
|
119
|
-
| `minHeight` | `Responsive<string>` | — | |
|
|
120
|
-
| `textAlign` | `Responsive<"center" \| "right" \| "left">` | — | |
|
|
121
|
-
| `textTransform` | `"none" \| "uppercase" \| "lowercase" \| "capitalize"` | — | Set the text-transform on the component. |
|
|
122
|
-
| `zIndex` | `Responsive<string>` | — | |
|
|
123
|
-
| `as` | `"div" \| "span"` | — | |
|
|
46
|
+
| Prop | Type | Default | Description |
|
|
47
|
+
| ------------------- | ---------------------------------------------- | ------- | ----------- |
|
|
48
|
+
| `borderColor` | `"strong" \| `var(--h-${string})` \| "subtle"` | — | |
|
|
49
|
+
| `borderTopColor` | `"strong" \| `var(--h-${string})` \| "subtle"` | — | |
|
|
50
|
+
| `borderRightColor` | `"strong" \| `var(--h-${string})` \| "subtle"` | — | |
|
|
51
|
+
| `borderBottomColor` | `"strong" \| `var(--h-${string})` \| "subtle"` | — | |
|
|
52
|
+
| `borderLeftColor` | `"strong" \| `var(--h-${string})` \| "subtle"` | — | |
|
|
124
53
|
|
|
125
54
|
## Border width and style
|
|
126
55
|
|
|
@@ -145,84 +74,18 @@ import { components } from '@utilitywarehouse/hearth-tokens/browser';
|
|
|
145
74
|
<Box borderWidth={components.alert.borderWidth} />
|
|
146
75
|
```
|
|
147
76
|
|
|
148
|
-
| Prop
|
|
149
|
-
|
|
|
150
|
-
| `
|
|
151
|
-
| `
|
|
152
|
-
| `
|
|
153
|
-
| `
|
|
154
|
-
| `
|
|
155
|
-
| `
|
|
156
|
-
| `
|
|
157
|
-
| `
|
|
158
|
-
| `
|
|
159
|
-
| `
|
|
160
|
-
| `borderRadiusTopLeftNone` | `boolean` | — | |
|
|
161
|
-
| `borderRadiusTopRightNone` | `boolean` | — | |
|
|
162
|
-
| `borderRadiusBottomLeftNone` | `boolean` | — | |
|
|
163
|
-
| `borderRadiusBottomRightNone` | `boolean` | — | |
|
|
164
|
-
| `borderRadiusTopNone` | `boolean` | — | |
|
|
165
|
-
| `borderRadiusRightNone` | `boolean` | — | |
|
|
166
|
-
| `borderRadiusBottomNone` | `boolean` | — | |
|
|
167
|
-
| `borderRadiusLeftNone` | `boolean` | — | |
|
|
168
|
-
| `borderStyle` | `Responsive<"none" \| "solid">` | — | |
|
|
169
|
-
| `borderTopStyle` | `Responsive<"none" \| "solid">` | — | |
|
|
170
|
-
| `borderRightStyle` | `Responsive<"none" \| "solid">` | — | |
|
|
171
|
-
| `borderBottomStyle` | `Responsive<"none" \| "solid">` | — | |
|
|
172
|
-
| `borderLeftStyle` | `Responsive<"none" \| "solid">` | — | |
|
|
173
|
-
| `borderWidth` | `Responsive<`var(--h-${string})` \| "0" \| "1" \| "2">` | — | |
|
|
174
|
-
| `borderTopWidth` | `Responsive<`var(--h-${string})` \| "0" \| "1" \| "2">` | — | |
|
|
175
|
-
| `borderRightWidth` | `Responsive<`var(--h-${string})` \| "0" \| "1" \| "2">` | — | |
|
|
176
|
-
| `borderBottomWidth` | `Responsive<`var(--h-${string})` \| "0" \| "1" \| "2">` | — | |
|
|
177
|
-
| `borderLeftWidth` | `Responsive<`var(--h-${string})` \| "0" \| "1" \| "2">` | — | |
|
|
178
|
-
| `color` | `"primary" \| "secondary" \| "brand" \| "affirmative" \| "inverted" \| `var(--h-${string})`` | — | |
|
|
179
|
-
| `flex` | `Responsive<string>` | — | |
|
|
180
|
-
| `flexBasis` | `Responsive<string>` | — | |
|
|
181
|
-
| `flexShrink` | `Responsive<string>` | — | |
|
|
182
|
-
| `flexGrow` | `Responsive<string>` | — | |
|
|
183
|
-
| `gridColumnSpan` | `Responsive<Union<string, "1" \| "2" \| "3" \| "4" \| "5" \| "6" \| "7" \| "8" \| "9" \| "10" \| "11" \| "12">>` | — | |
|
|
184
|
-
| `gridArea` | `Responsive<string>` | — | |
|
|
185
|
-
| `gridColumn` | `Responsive<string>` | — | |
|
|
186
|
-
| `gridColumnStart` | `Responsive<string>` | — | |
|
|
187
|
-
| `gridColumnEnd` | `Responsive<string>` | — | |
|
|
188
|
-
| `gridRow` | `Responsive<string>` | — | |
|
|
189
|
-
| `gridRowStart` | `Responsive<string>` | — | |
|
|
190
|
-
| `gridRowEnd` | `Responsive<string>` | — | |
|
|
191
|
-
| `margin` | `Responsive<`var(--h-${string})` \| "0" \| "auto" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
192
|
-
| `marginTop` | `Responsive<`var(--h-${string})` \| "0" \| "auto" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
193
|
-
| `marginRight` | `Responsive<`var(--h-${string})` \| "0" \| "auto" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
194
|
-
| `marginBottom` | `Responsive<`var(--h-${string})` \| "0" \| "auto" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
195
|
-
| `marginLeft` | `Responsive<`var(--h-${string})` \| "0" \| "auto" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
196
|
-
| `marginX` | `Responsive<`var(--h-${string})` \| "0" \| "auto" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
197
|
-
| `marginY` | `Responsive<`var(--h-${string})` \| "0" \| "auto" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
198
|
-
| `opacity` | `Responsive<string>` | — | |
|
|
199
|
-
| `order` | `Responsive<string>` | — | |
|
|
200
|
-
| `overflow` | `Responsive<"hidden" \| "auto" \| "visible" \| "clip" \| "scroll">` | — | |
|
|
201
|
-
| `overflowX` | `Responsive<"hidden" \| "auto" \| "visible" \| "clip" \| "scroll">` | — | |
|
|
202
|
-
| `overflowY` | `Responsive<"hidden" \| "auto" \| "visible" \| "clip" \| "scroll">` | — | |
|
|
203
|
-
| `padding` | `Responsive<`var(--h-${string})` \| "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
204
|
-
| `paddingTop` | `Responsive<`var(--h-${string})` \| "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
205
|
-
| `paddingRight` | `Responsive<`var(--h-${string})` \| "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
206
|
-
| `paddingBottom` | `Responsive<`var(--h-${string})` \| "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
207
|
-
| `paddingLeft` | `Responsive<`var(--h-${string})` \| "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
208
|
-
| `paddingX` | `Responsive<`var(--h-${string})` \| "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
209
|
-
| `paddingY` | `Responsive<`var(--h-${string})` \| "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
210
|
-
| `position` | `Responsive<"fixed" \| "static" \| "relative" \| "absolute" \| "sticky">` | — | |
|
|
211
|
-
| `inset` | `Responsive<Union<string, "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">>` | — | |
|
|
212
|
-
| `top` | `Responsive<Union<string, "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">>` | — | |
|
|
213
|
-
| `right` | `Responsive<Union<string, "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">>` | — | |
|
|
214
|
-
| `bottom` | `Responsive<Union<string, "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">>` | — | |
|
|
215
|
-
| `left` | `Responsive<Union<string, "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">>` | — | |
|
|
216
|
-
| `width` | `Responsive<string>` | — | |
|
|
217
|
-
| `maxWidth` | `Responsive<string>` | — | |
|
|
218
|
-
| `minWidth` | `Responsive<string>` | — | |
|
|
219
|
-
| `height` | `Responsive<string>` | — | |
|
|
220
|
-
| `maxHeight` | `Responsive<string>` | — | |
|
|
221
|
-
| `minHeight` | `Responsive<string>` | — | |
|
|
222
|
-
| `textAlign` | `Responsive<"center" \| "right" \| "left">` | — | |
|
|
223
|
-
| `textTransform` | `"none" \| "uppercase" \| "lowercase" \| "capitalize"` | — | Set the text-transform on the component. |
|
|
224
|
-
| `zIndex` | `Responsive<string>` | — | |
|
|
225
|
-
| `as` | `"div" \| "span"` | — | |
|
|
77
|
+
| Prop | Type | Default | Description |
|
|
78
|
+
| ------------------- | ------------------------------------------------------- | ------- | ----------- |
|
|
79
|
+
| `borderStyle` | `Responsive<"none" \| "solid">` | — | |
|
|
80
|
+
| `borderTopStyle` | `Responsive<"none" \| "solid">` | — | |
|
|
81
|
+
| `borderRightStyle` | `Responsive<"none" \| "solid">` | — | |
|
|
82
|
+
| `borderBottomStyle` | `Responsive<"none" \| "solid">` | — | |
|
|
83
|
+
| `borderLeftStyle` | `Responsive<"none" \| "solid">` | — | |
|
|
84
|
+
| `borderWidth` | `Responsive<`var(--h-${string})` \| "0" \| "1" \| "2">` | — | |
|
|
85
|
+
| `borderTopWidth` | `Responsive<`var(--h-${string})` \| "0" \| "1" \| "2">` | — | |
|
|
86
|
+
| `borderRightWidth` | `Responsive<`var(--h-${string})` \| "0" \| "1" \| "2">` | — | |
|
|
87
|
+
| `borderBottomWidth` | `Responsive<`var(--h-${string})` \| "0" \| "1" \| "2">` | — | |
|
|
88
|
+
| `borderLeftWidth` | `Responsive<`var(--h-${string})` \| "0" \| "1" \| "2">` | — | |
|
|
226
89
|
|
|
227
90
|
## Border radius
|
|
228
91
|
|
|
@@ -238,81 +101,14 @@ You can also override the `borderRadius` for individual corners and sides.
|
|
|
238
101
|
<Box borderRadius="lg" borderRadiusTopLeftNone borderRadiusBottomRightNone />
|
|
239
102
|
```
|
|
240
103
|
|
|
241
|
-
| Prop | Type
|
|
242
|
-
| ----------------------------- |
|
|
243
|
-
| `
|
|
244
|
-
| `
|
|
245
|
-
| `
|
|
246
|
-
| `
|
|
247
|
-
| `
|
|
248
|
-
| `
|
|
249
|
-
| `
|
|
250
|
-
| `
|
|
251
|
-
| `
|
|
252
|
-
| `borderRadius` | `Responsive<"none" \| "xs" \| "sm" \| "md" \| "lg" \| "xl" \| "full" \| "inherit">` | — | |
|
|
253
|
-
| `borderRadiusTopLeftNone` | `boolean` | — | |
|
|
254
|
-
| `borderRadiusTopRightNone` | `boolean` | — | |
|
|
255
|
-
| `borderRadiusBottomLeftNone` | `boolean` | — | |
|
|
256
|
-
| `borderRadiusBottomRightNone` | `boolean` | — | |
|
|
257
|
-
| `borderRadiusTopNone` | `boolean` | — | |
|
|
258
|
-
| `borderRadiusRightNone` | `boolean` | — | |
|
|
259
|
-
| `borderRadiusBottomNone` | `boolean` | — | |
|
|
260
|
-
| `borderRadiusLeftNone` | `boolean` | — | |
|
|
261
|
-
| `borderStyle` | `Responsive<"none" \| "solid">` | — | |
|
|
262
|
-
| `borderTopStyle` | `Responsive<"none" \| "solid">` | — | |
|
|
263
|
-
| `borderRightStyle` | `Responsive<"none" \| "solid">` | — | |
|
|
264
|
-
| `borderBottomStyle` | `Responsive<"none" \| "solid">` | — | |
|
|
265
|
-
| `borderLeftStyle` | `Responsive<"none" \| "solid">` | — | |
|
|
266
|
-
| `borderWidth` | `Responsive<`var(--h-${string})` \| "0" \| "1" \| "2">` | — | |
|
|
267
|
-
| `borderTopWidth` | `Responsive<`var(--h-${string})` \| "0" \| "1" \| "2">` | — | |
|
|
268
|
-
| `borderRightWidth` | `Responsive<`var(--h-${string})` \| "0" \| "1" \| "2">` | — | |
|
|
269
|
-
| `borderBottomWidth` | `Responsive<`var(--h-${string})` \| "0" \| "1" \| "2">` | — | |
|
|
270
|
-
| `borderLeftWidth` | `Responsive<`var(--h-${string})` \| "0" \| "1" \| "2">` | — | |
|
|
271
|
-
| `color` | `"primary" \| "secondary" \| "brand" \| "affirmative" \| "inverted" \| `var(--h-${string})`` | — | |
|
|
272
|
-
| `flex` | `Responsive<string>` | — | |
|
|
273
|
-
| `flexBasis` | `Responsive<string>` | — | |
|
|
274
|
-
| `flexShrink` | `Responsive<string>` | — | |
|
|
275
|
-
| `flexGrow` | `Responsive<string>` | — | |
|
|
276
|
-
| `gridColumnSpan` | `Responsive<Union<string, "1" \| "2" \| "3" \| "4" \| "5" \| "6" \| "7" \| "8" \| "9" \| "10" \| "11" \| "12">>` | — | |
|
|
277
|
-
| `gridArea` | `Responsive<string>` | — | |
|
|
278
|
-
| `gridColumn` | `Responsive<string>` | — | |
|
|
279
|
-
| `gridColumnStart` | `Responsive<string>` | — | |
|
|
280
|
-
| `gridColumnEnd` | `Responsive<string>` | — | |
|
|
281
|
-
| `gridRow` | `Responsive<string>` | — | |
|
|
282
|
-
| `gridRowStart` | `Responsive<string>` | — | |
|
|
283
|
-
| `gridRowEnd` | `Responsive<string>` | — | |
|
|
284
|
-
| `margin` | `Responsive<`var(--h-${string})` \| "0" \| "auto" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
285
|
-
| `marginTop` | `Responsive<`var(--h-${string})` \| "0" \| "auto" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
286
|
-
| `marginRight` | `Responsive<`var(--h-${string})` \| "0" \| "auto" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
287
|
-
| `marginBottom` | `Responsive<`var(--h-${string})` \| "0" \| "auto" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
288
|
-
| `marginLeft` | `Responsive<`var(--h-${string})` \| "0" \| "auto" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
289
|
-
| `marginX` | `Responsive<`var(--h-${string})` \| "0" \| "auto" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
290
|
-
| `marginY` | `Responsive<`var(--h-${string})` \| "0" \| "auto" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
291
|
-
| `opacity` | `Responsive<string>` | — | |
|
|
292
|
-
| `order` | `Responsive<string>` | — | |
|
|
293
|
-
| `overflow` | `Responsive<"hidden" \| "auto" \| "visible" \| "clip" \| "scroll">` | — | |
|
|
294
|
-
| `overflowX` | `Responsive<"hidden" \| "auto" \| "visible" \| "clip" \| "scroll">` | — | |
|
|
295
|
-
| `overflowY` | `Responsive<"hidden" \| "auto" \| "visible" \| "clip" \| "scroll">` | — | |
|
|
296
|
-
| `padding` | `Responsive<`var(--h-${string})` \| "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
297
|
-
| `paddingTop` | `Responsive<`var(--h-${string})` \| "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
298
|
-
| `paddingRight` | `Responsive<`var(--h-${string})` \| "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
299
|
-
| `paddingBottom` | `Responsive<`var(--h-${string})` \| "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
300
|
-
| `paddingLeft` | `Responsive<`var(--h-${string})` \| "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
301
|
-
| `paddingX` | `Responsive<`var(--h-${string})` \| "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
302
|
-
| `paddingY` | `Responsive<`var(--h-${string})` \| "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">` | — | |
|
|
303
|
-
| `position` | `Responsive<"fixed" \| "static" \| "relative" \| "absolute" \| "sticky">` | — | |
|
|
304
|
-
| `inset` | `Responsive<Union<string, "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">>` | — | |
|
|
305
|
-
| `top` | `Responsive<Union<string, "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">>` | — | |
|
|
306
|
-
| `right` | `Responsive<Union<string, "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">>` | — | |
|
|
307
|
-
| `bottom` | `Responsive<Union<string, "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">>` | — | |
|
|
308
|
-
| `left` | `Responsive<Union<string, "0" \| "25" \| "50" \| "75" \| "100" \| "150" \| "175" \| "200" \| "250" \| "300" \| "350" \| "400" \| "500" \| "600" \| "700" \| "800" \| "900" \| "1000">>` | — | |
|
|
309
|
-
| `width` | `Responsive<string>` | — | |
|
|
310
|
-
| `maxWidth` | `Responsive<string>` | — | |
|
|
311
|
-
| `minWidth` | `Responsive<string>` | — | |
|
|
312
|
-
| `height` | `Responsive<string>` | — | |
|
|
313
|
-
| `maxHeight` | `Responsive<string>` | — | |
|
|
314
|
-
| `minHeight` | `Responsive<string>` | — | |
|
|
315
|
-
| `textAlign` | `Responsive<"center" \| "right" \| "left">` | — | |
|
|
316
|
-
| `textTransform` | `"none" \| "uppercase" \| "lowercase" \| "capitalize"` | — | Set the text-transform on the component. |
|
|
317
|
-
| `zIndex` | `Responsive<string>` | — | |
|
|
318
|
-
| `as` | `"div" \| "span"` | — | |
|
|
104
|
+
| Prop | Type | Default | Description |
|
|
105
|
+
| ----------------------------- | ----------------------------------------------------------------------------------- | ------- | ----------- |
|
|
106
|
+
| `borderRadius` | `Responsive<"none" \| "xs" \| "sm" \| "md" \| "lg" \| "xl" \| "full" \| "inherit">` | — | |
|
|
107
|
+
| `borderRadiusTopLeftNone` | `boolean` | — | |
|
|
108
|
+
| `borderRadiusTopRightNone` | `boolean` | — | |
|
|
109
|
+
| `borderRadiusBottomLeftNone` | `boolean` | — | |
|
|
110
|
+
| `borderRadiusBottomRightNone` | `boolean` | — | |
|
|
111
|
+
| `borderRadiusTopNone` | `boolean` | — | |
|
|
112
|
+
| `borderRadiusRightNone` | `boolean` | — | |
|
|
113
|
+
| `borderRadiusBottomNone` | `boolean` | — | |
|
|
114
|
+
| `borderRadiusLeftNone` | `boolean` | — | |
|