@shopify/ui-extensions 2025.10.0-rc.37 → 2025.10.0-rc.38
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/build/ts/shared.d.ts +24 -4
- package/build/ts/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminAction.d.ts +1 -1
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +1 -1
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Avatar.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Badge.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Banner.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Box.d.ts +8 -1
- package/build/ts/surfaces/admin/components/Button.d.ts +1 -1
- package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +14 -2
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Chip.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Choice.d.ts +1 -1
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Clickable.d.ts +8 -1
- package/build/ts/surfaces/admin/components/ClickableChip.d.ts +1 -1
- package/build/ts/surfaces/admin/components/ColorField.d.ts +3 -1
- package/build/ts/surfaces/admin/components/ColorPicker.d.ts +1 -1
- package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts +2 -2
- package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/DateField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Divider.d.ts +1 -1
- package/build/ts/surfaces/admin/components/DropZone.d.ts +1 -1
- package/build/ts/surfaces/admin/components/EmailField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Form.d.ts +1 -1
- package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Grid.d.ts +20 -1
- package/build/ts/surfaces/admin/components/GridItem.d.ts +8 -1
- package/build/ts/surfaces/admin/components/Heading.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Icon.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Image.d.ts +8 -1
- package/build/ts/surfaces/admin/components/Link.d.ts +1 -1
- package/build/ts/surfaces/admin/components/ListItem.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Menu.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Modal.d.ts +1 -1
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +1 -3
- package/build/ts/surfaces/admin/components/NumberField.d.ts +1 -3
- package/build/ts/surfaces/admin/components/Option.d.ts +1 -1
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +1 -1
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Page.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +1 -1
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +1 -1
- package/build/ts/surfaces/admin/components/SearchField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Section.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Select.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Spinner.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Stack.d.ts +14 -1
- package/build/ts/surfaces/admin/components/Switch.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Table.d.ts +3 -2
- package/build/ts/surfaces/admin/components/TableBody.d.ts +1 -1
- package/build/ts/surfaces/admin/components/TableCell.d.ts +1 -1
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +3 -2
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +1 -1
- package/build/ts/surfaces/admin/components/TableRow.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Text.d.ts +1 -1
- package/build/ts/surfaces/admin/components/TextArea.d.ts +1 -1
- package/build/ts/surfaces/admin/components/TextField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Thumbnail.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Tooltip.d.ts +1 -1
- package/build/ts/surfaces/admin/components/URLField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +1 -1
- package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/shared.d.ts +245 -222
- package/build/ts/surfaces/admin/docs-types.d.ts +4 -0
- package/build/ts/surfaces/admin/docs-types.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts +2 -2
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +29 -29
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/shared.d.ts +6 -6
- package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts +6 -6
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api.d.ts +1 -1
- package/build/ts/surfaces/customer-account/api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/subscription.d.ts +2 -2
- package/build/ts/surfaces/customer-account/preact/subscription.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/Badge.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/components/Box.d.ts +82 -8
- package/build/ts/surfaces/point-of-sale/components/Icon.d.ts +111 -30
- package/build/ts/surfaces/point-of-sale/components/PosBlock/PosBlock.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/PosBlock/PosBlock.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/PosBlock.d.ts +64 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField.d.ts +1 -4
- package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +82 -8
- package/build/ts/surfaces/point-of-sale/components/Tile.d.ts +1 -38
- package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField.d.ts +65 -0
- package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +321 -150
- package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.block.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.home.modal.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.block.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.block.render.d.ts +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/docs/shared/components/Modal.ts +1 -1
- package/src/shared.ts +25 -4
- package/src/surfaces/admin/components/AdminAction.d.ts +1 -1
- package/src/surfaces/admin/components/AdminBlock.d.ts +1 -1
- package/src/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
- package/src/surfaces/admin/components/Avatar.d.ts +1 -1
- package/src/surfaces/admin/components/Badge.d.ts +1 -1
- package/src/surfaces/admin/components/Banner.d.ts +1 -1
- package/src/surfaces/admin/components/Box.d.ts +8 -1
- package/src/surfaces/admin/components/Button.d.ts +1 -1
- package/src/surfaces/admin/components/ButtonGroup.d.ts +14 -2
- package/src/surfaces/admin/components/Checkbox.d.ts +1 -1
- package/src/surfaces/admin/components/Chip.d.ts +1 -1
- package/src/surfaces/admin/components/Choice.d.ts +1 -1
- package/src/surfaces/admin/components/ChoiceList.d.ts +1 -1
- package/src/surfaces/admin/components/Clickable.d.ts +8 -1
- package/src/surfaces/admin/components/ClickableChip.d.ts +1 -1
- package/src/surfaces/admin/components/ColorField.d.ts +3 -1
- package/src/surfaces/admin/components/ColorPicker.d.ts +1 -1
- package/src/surfaces/admin/components/DateField.d.ts +1 -1
- package/src/surfaces/admin/components/DatePicker.d.ts +1 -1
- package/src/surfaces/admin/components/Divider.d.ts +1 -1
- package/src/surfaces/admin/components/DropZone.d.ts +1 -1
- package/src/surfaces/admin/components/EmailField.d.ts +1 -1
- package/src/surfaces/admin/components/Form.d.ts +1 -1
- package/src/surfaces/admin/components/FunctionSettings.d.ts +1 -1
- package/src/surfaces/admin/components/Grid.d.ts +20 -1
- package/src/surfaces/admin/components/GridItem.d.ts +8 -1
- package/src/surfaces/admin/components/Heading.d.ts +1 -1
- package/src/surfaces/admin/components/Icon.d.ts +1 -1
- package/src/surfaces/admin/components/Image.d.ts +8 -1
- package/src/surfaces/admin/components/Link.d.ts +1 -1
- package/src/surfaces/admin/components/ListItem.d.ts +1 -1
- package/src/surfaces/admin/components/Menu.d.ts +1 -1
- package/src/surfaces/admin/components/Modal/examples/default.html +23 -0
- package/src/surfaces/admin/components/Modal.d.ts +1 -1
- package/src/surfaces/admin/components/MoneyField.d.ts +1 -3
- package/src/surfaces/admin/components/NumberField.d.ts +1 -3
- package/src/surfaces/admin/components/Option.d.ts +1 -1
- package/src/surfaces/admin/components/OptionGroup.d.ts +1 -1
- package/src/surfaces/admin/components/OrderedList.d.ts +1 -1
- package/src/surfaces/admin/components/Page.d.ts +1 -1
- package/src/surfaces/admin/components/Paragraph.d.ts +1 -1
- package/src/surfaces/admin/components/PasswordField.d.ts +1 -1
- package/src/surfaces/admin/components/QueryContainer.d.ts +1 -1
- package/src/surfaces/admin/components/SearchField.d.ts +1 -1
- package/src/surfaces/admin/components/Section.d.ts +1 -1
- package/src/surfaces/admin/components/Select.d.ts +1 -1
- package/src/surfaces/admin/components/Spinner.d.ts +1 -1
- package/src/surfaces/admin/components/Stack.d.ts +14 -1
- package/src/surfaces/admin/components/Switch.d.ts +1 -1
- package/src/surfaces/admin/components/Table.d.ts +3 -2
- package/src/surfaces/admin/components/TableBody.d.ts +1 -1
- package/src/surfaces/admin/components/TableCell.d.ts +1 -1
- package/src/surfaces/admin/components/TableHeader.d.ts +3 -2
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +1 -1
- package/src/surfaces/admin/components/TableRow.d.ts +1 -1
- package/src/surfaces/admin/components/Text.d.ts +1 -1
- package/src/surfaces/admin/components/TextArea.d.ts +1 -1
- package/src/surfaces/admin/components/TextField.d.ts +1 -1
- package/src/surfaces/admin/components/Thumbnail.d.ts +1 -1
- package/src/surfaces/admin/components/Tooltip.d.ts +1 -1
- package/src/surfaces/admin/components/URLField.d.ts +1 -1
- package/src/surfaces/admin/components/UnorderedList.d.ts +1 -1
- package/src/surfaces/admin/components/patterns/examples/details.html +5 -11
- package/src/surfaces/admin/components/patterns/examples/details.jsx +4 -13
- package/src/surfaces/admin/components/patterns/examples/homepage.html +3 -12
- package/src/surfaces/admin/components/patterns/examples/homepage.jsx +3 -12
- package/src/surfaces/admin/components/patterns/examples/index.html +4 -10
- package/src/surfaces/admin/components/patterns/examples/index.jsx +4 -11
- package/src/surfaces/admin/components/patterns/examples/indexTable.html +4 -9
- package/src/surfaces/admin/components/patterns/examples/mediaCard.html +1 -1
- package/src/surfaces/admin/components/patterns/examples/settings.html +1 -2
- package/src/surfaces/admin/components/patterns/examples/settings.jsx +2 -6
- package/src/surfaces/admin/components/shared.d.ts +245 -222
- package/src/surfaces/admin/components.d.ts +293 -228
- package/src/surfaces/admin/docs-types.ts +8 -1
- package/src/surfaces/customer-account/api/cart-line/cart-line-item.ts +2 -2
- package/src/surfaces/customer-account/api/order-status/order-status.ts +29 -29
- package/src/surfaces/customer-account/api/shared.ts +6 -6
- package/src/surfaces/customer-account/api/standard-api/standard-api.ts +6 -6
- package/src/surfaces/customer-account/api.ts +1 -1
- package/src/surfaces/customer-account/preact/subscription.ts +3 -3
- package/src/surfaces/point-of-sale/components/Badge.d.ts +1 -1
- package/src/surfaces/point-of-sale/components/Box.d.ts +82 -8
- package/src/surfaces/point-of-sale/components/Icon.d.ts +111 -30
- package/src/surfaces/point-of-sale/components/PosBlock/examples/default.html +11 -0
- package/src/surfaces/point-of-sale/components/PosBlock.d.ts +64 -0
- package/src/surfaces/point-of-sale/components/SearchField.d.ts +1 -4
- package/src/surfaces/point-of-sale/components/Stack.d.ts +82 -8
- package/src/surfaces/point-of-sale/components/Tile.d.ts +1 -38
- package/src/surfaces/point-of-sale/components/TimeField/examples/default.html +12 -0
- package/src/surfaces/point-of-sale/components/TimeField.d.ts +65 -0
- package/src/surfaces/point-of-sale/components/components-shared.d.ts +321 -150
- package/src/surfaces/point-of-sale/components.d.ts +1041 -530
|
@@ -76,6 +76,20 @@ export interface BaseOverlayMethods {
|
|
|
76
76
|
*/
|
|
77
77
|
toggleOverlay: () => void;
|
|
78
78
|
}
|
|
79
|
+
export interface FocusEventProps {
|
|
80
|
+
/**
|
|
81
|
+
* Callback when the element loses focus.
|
|
82
|
+
*
|
|
83
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/blur_event
|
|
84
|
+
*/
|
|
85
|
+
onBlur?: (event: FocusEvent) => void;
|
|
86
|
+
/**
|
|
87
|
+
* Callback when the element receives focus.
|
|
88
|
+
*
|
|
89
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/focus_event
|
|
90
|
+
*/
|
|
91
|
+
onFocus?: (event: FocusEvent) => void;
|
|
92
|
+
}
|
|
79
93
|
export type SizeKeyword =
|
|
80
94
|
| 'small-500'
|
|
81
95
|
| 'small-400'
|
|
@@ -118,6 +132,7 @@ export type ToneKeyword =
|
|
|
118
132
|
| 'caution'
|
|
119
133
|
| 'warning'
|
|
120
134
|
| 'critical'
|
|
135
|
+
| 'accent'
|
|
121
136
|
| 'custom';
|
|
122
137
|
declare const privateIconArray: readonly [
|
|
123
138
|
'adjust',
|
|
@@ -127,23 +142,23 @@ declare const privateIconArray: readonly [
|
|
|
127
142
|
'alert-circle',
|
|
128
143
|
'alert-diamond',
|
|
129
144
|
'alert-location',
|
|
130
|
-
'alert-octagon-filled',
|
|
131
145
|
'alert-octagon',
|
|
132
|
-
'alert-
|
|
146
|
+
'alert-octagon-filled',
|
|
133
147
|
'alert-triangle',
|
|
148
|
+
'alert-triangle-filled',
|
|
134
149
|
'app-extension',
|
|
135
150
|
'apps',
|
|
136
151
|
'archive',
|
|
152
|
+
'arrow-down',
|
|
137
153
|
'arrow-down-circle',
|
|
138
154
|
'arrow-down-right',
|
|
139
|
-
'arrow-down',
|
|
140
|
-
'arrow-left-circle',
|
|
141
155
|
'arrow-left',
|
|
142
|
-
'arrow-
|
|
156
|
+
'arrow-left-circle',
|
|
143
157
|
'arrow-right',
|
|
158
|
+
'arrow-right-circle',
|
|
159
|
+
'arrow-up',
|
|
144
160
|
'arrow-up-circle',
|
|
145
161
|
'arrow-up-right',
|
|
146
|
-
'arrow-up',
|
|
147
162
|
'arrows-in-horizontal',
|
|
148
163
|
'arrows-out-horizontal',
|
|
149
164
|
'attachment',
|
|
@@ -152,36 +167,39 @@ declare const privateIconArray: readonly [
|
|
|
152
167
|
'bag',
|
|
153
168
|
'bank',
|
|
154
169
|
'barcode',
|
|
170
|
+
'battery-low',
|
|
155
171
|
'bill',
|
|
156
172
|
'blank',
|
|
157
173
|
'blog',
|
|
158
|
-
'bolt-filled',
|
|
159
174
|
'bolt',
|
|
160
|
-
'
|
|
175
|
+
'bolt-filled',
|
|
161
176
|
'book',
|
|
177
|
+
'book-open',
|
|
162
178
|
'bug',
|
|
163
179
|
'bullet',
|
|
164
180
|
'business-entity',
|
|
165
|
-
'button-press',
|
|
166
181
|
'button',
|
|
182
|
+
'button-press',
|
|
167
183
|
'calculator',
|
|
184
|
+
'calendar',
|
|
168
185
|
'calendar-check',
|
|
169
186
|
'calendar-compare',
|
|
170
187
|
'calendar-list',
|
|
171
188
|
'calendar-time',
|
|
172
|
-
'calendar',
|
|
173
|
-
'camera-flip',
|
|
174
189
|
'camera',
|
|
190
|
+
'camera-flip',
|
|
175
191
|
'caret-down',
|
|
176
192
|
'caret-left',
|
|
177
193
|
'caret-right',
|
|
178
194
|
'caret-up',
|
|
195
|
+
'cart',
|
|
179
196
|
'cart-abandoned',
|
|
180
197
|
'cart-discount',
|
|
181
198
|
'cart-down',
|
|
199
|
+
'cart-filled',
|
|
182
200
|
'cart-sale',
|
|
201
|
+
'cart-send',
|
|
183
202
|
'cart-up',
|
|
184
|
-
'cart',
|
|
185
203
|
'cash-dollar',
|
|
186
204
|
'cash-euro',
|
|
187
205
|
'cash-pound',
|
|
@@ -193,8 +211,8 @@ declare const privateIconArray: readonly [
|
|
|
193
211
|
'chart-cohort',
|
|
194
212
|
'chart-donut',
|
|
195
213
|
'chart-funnel',
|
|
196
|
-
'chart-histogram-first-last',
|
|
197
214
|
'chart-histogram-first',
|
|
215
|
+
'chart-histogram-first-last',
|
|
198
216
|
'chart-histogram-flat',
|
|
199
217
|
'chart-histogram-full',
|
|
200
218
|
'chart-histogram-growth',
|
|
@@ -205,36 +223,36 @@ declare const privateIconArray: readonly [
|
|
|
205
223
|
'chart-popular',
|
|
206
224
|
'chart-stacked',
|
|
207
225
|
'chart-vertical',
|
|
226
|
+
'chat',
|
|
208
227
|
'chat-new',
|
|
209
228
|
'chat-referral',
|
|
210
|
-
'chat',
|
|
211
|
-
'check-circle-filled',
|
|
212
|
-
'check-circle',
|
|
213
229
|
'check',
|
|
230
|
+
'check-circle',
|
|
231
|
+
'check-circle-filled',
|
|
214
232
|
'checkbox',
|
|
215
|
-
'chevron-down-circle',
|
|
216
233
|
'chevron-down',
|
|
217
|
-
'chevron-
|
|
234
|
+
'chevron-down-circle',
|
|
218
235
|
'chevron-left',
|
|
219
|
-
'chevron-
|
|
236
|
+
'chevron-left-circle',
|
|
220
237
|
'chevron-right',
|
|
221
|
-
'chevron-
|
|
238
|
+
'chevron-right-circle',
|
|
222
239
|
'chevron-up',
|
|
223
|
-
'circle
|
|
240
|
+
'chevron-up-circle',
|
|
224
241
|
'circle',
|
|
242
|
+
'circle-dashed',
|
|
243
|
+
'clipboard',
|
|
225
244
|
'clipboard-check',
|
|
226
245
|
'clipboard-checklist',
|
|
227
|
-
'clipboard',
|
|
228
|
-
'clock-revert',
|
|
229
246
|
'clock',
|
|
230
|
-
'
|
|
247
|
+
'clock-revert',
|
|
231
248
|
'code',
|
|
249
|
+
'code-add',
|
|
250
|
+
'collection',
|
|
232
251
|
'collection-featured',
|
|
233
252
|
'collection-list',
|
|
234
253
|
'collection-reference',
|
|
235
|
-
'collection',
|
|
236
|
-
'color-none',
|
|
237
254
|
'color',
|
|
255
|
+
'color-none',
|
|
238
256
|
'compass',
|
|
239
257
|
'complete',
|
|
240
258
|
'compose',
|
|
@@ -245,77 +263,81 @@ declare const privateIconArray: readonly [
|
|
|
245
263
|
'corner-pill',
|
|
246
264
|
'corner-round',
|
|
247
265
|
'corner-square',
|
|
266
|
+
'credit-card',
|
|
248
267
|
'credit-card-cancel',
|
|
249
268
|
'credit-card-percent',
|
|
269
|
+
'credit-card-reader',
|
|
250
270
|
'credit-card-reader-chip',
|
|
251
271
|
'credit-card-reader-tap',
|
|
252
|
-
'credit-card-reader',
|
|
253
272
|
'credit-card-secure',
|
|
254
273
|
'credit-card-tap-chip',
|
|
255
|
-
'credit-card',
|
|
256
274
|
'crop',
|
|
257
275
|
'currency-convert',
|
|
276
|
+
'cursor',
|
|
258
277
|
'cursor-banner',
|
|
259
278
|
'cursor-option',
|
|
260
|
-
'cursor',
|
|
261
279
|
'data-presentation',
|
|
262
280
|
'data-table',
|
|
281
|
+
'database',
|
|
263
282
|
'database-add',
|
|
264
283
|
'database-connect',
|
|
265
|
-
'database',
|
|
266
284
|
'delete',
|
|
267
285
|
'delivered',
|
|
268
286
|
'delivery',
|
|
269
287
|
'desktop',
|
|
270
288
|
'disabled',
|
|
289
|
+
'disabled-filled',
|
|
290
|
+
'discount',
|
|
271
291
|
'discount-add',
|
|
292
|
+
'discount-automatic',
|
|
272
293
|
'discount-code',
|
|
273
|
-
'discount',
|
|
294
|
+
'discount-remove',
|
|
274
295
|
'dns-settings',
|
|
275
296
|
'dock-floating',
|
|
276
297
|
'dock-side',
|
|
298
|
+
'domain',
|
|
277
299
|
'domain-landing-page',
|
|
278
300
|
'domain-new',
|
|
279
301
|
'domain-redirect',
|
|
280
|
-
'domain',
|
|
281
302
|
'download',
|
|
282
303
|
'drag-drop',
|
|
283
304
|
'drag-handle',
|
|
305
|
+
'drawer',
|
|
284
306
|
'duplicate',
|
|
285
307
|
'edit',
|
|
308
|
+
'email',
|
|
286
309
|
'email-follow-up',
|
|
287
310
|
'email-newsletter',
|
|
288
|
-
'email',
|
|
289
311
|
'empty',
|
|
290
312
|
'enabled',
|
|
291
313
|
'enter',
|
|
292
|
-
'envelope-soft-pack',
|
|
293
314
|
'envelope',
|
|
315
|
+
'envelope-soft-pack',
|
|
294
316
|
'eraser',
|
|
295
317
|
'exchange',
|
|
296
318
|
'exit',
|
|
297
319
|
'export',
|
|
298
320
|
'external',
|
|
299
321
|
'eye-check-mark',
|
|
300
|
-
'eye-dropper-list',
|
|
301
322
|
'eye-dropper',
|
|
323
|
+
'eye-dropper-list',
|
|
302
324
|
'eye-first',
|
|
303
325
|
'eyeglasses',
|
|
304
326
|
'fav',
|
|
305
327
|
'favicon',
|
|
306
|
-
'file-list',
|
|
307
328
|
'file',
|
|
308
|
-
'
|
|
329
|
+
'file-list',
|
|
309
330
|
'filter',
|
|
331
|
+
'filter-active',
|
|
310
332
|
'flag',
|
|
311
333
|
'flip-horizontal',
|
|
312
334
|
'flip-vertical',
|
|
313
335
|
'flower',
|
|
336
|
+
'folder',
|
|
314
337
|
'folder-add',
|
|
315
338
|
'folder-down',
|
|
316
339
|
'folder-remove',
|
|
317
340
|
'folder-up',
|
|
318
|
-
'folder',
|
|
319
341
|
'food',
|
|
320
342
|
'foreground',
|
|
321
343
|
'forklift',
|
|
@@ -323,56 +345,62 @@ declare const privateIconArray: readonly [
|
|
|
323
345
|
'games',
|
|
324
346
|
'gauge',
|
|
325
347
|
'geolocation',
|
|
326
|
-
'gift-card',
|
|
327
348
|
'gift',
|
|
349
|
+
'gift-card',
|
|
328
350
|
'git-branch',
|
|
329
351
|
'git-commit',
|
|
330
352
|
'git-repository',
|
|
353
|
+
'globe',
|
|
331
354
|
'globe-asia',
|
|
332
355
|
'globe-europe',
|
|
333
356
|
'globe-lines',
|
|
334
357
|
'globe-list',
|
|
335
|
-
'
|
|
358
|
+
'graduation-hat',
|
|
336
359
|
'grid',
|
|
360
|
+
'hashtag',
|
|
337
361
|
'hashtag-decimal',
|
|
338
362
|
'hashtag-list',
|
|
339
|
-
'hashtag',
|
|
340
363
|
'heart',
|
|
341
|
-
'hide-filled',
|
|
342
364
|
'hide',
|
|
365
|
+
'hide-filled',
|
|
343
366
|
'home',
|
|
367
|
+
'home-filled',
|
|
344
368
|
'icons',
|
|
345
369
|
'identity-card',
|
|
370
|
+
'image',
|
|
346
371
|
'image-add',
|
|
347
372
|
'image-alt',
|
|
348
373
|
'image-explore',
|
|
349
374
|
'image-magic',
|
|
350
375
|
'image-none',
|
|
351
376
|
'image-with-text-overlay',
|
|
352
|
-
'image',
|
|
353
377
|
'images',
|
|
354
378
|
'import',
|
|
355
379
|
'in-progress',
|
|
356
380
|
'incentive',
|
|
357
381
|
'incoming',
|
|
358
382
|
'incomplete',
|
|
359
|
-
'info-filled',
|
|
360
383
|
'info',
|
|
384
|
+
'info-filled',
|
|
361
385
|
'inheritance',
|
|
362
|
-
'inventory-updated',
|
|
363
386
|
'inventory',
|
|
387
|
+
'inventory-edit',
|
|
388
|
+
'inventory-list',
|
|
389
|
+
'inventory-transfer',
|
|
390
|
+
'inventory-updated',
|
|
364
391
|
'iq',
|
|
365
392
|
'key',
|
|
393
|
+
'keyboard',
|
|
366
394
|
'keyboard-filled',
|
|
367
395
|
'keyboard-hide',
|
|
368
|
-
'
|
|
396
|
+
'keypad',
|
|
369
397
|
'label-printer',
|
|
370
|
-
'language-translate',
|
|
371
398
|
'language',
|
|
399
|
+
'language-translate',
|
|
372
400
|
'layout-block',
|
|
401
|
+
'layout-buy-button',
|
|
373
402
|
'layout-buy-button-horizontal',
|
|
374
403
|
'layout-buy-button-vertical',
|
|
375
|
-
'layout-buy-button',
|
|
376
404
|
'layout-column-1',
|
|
377
405
|
'layout-columns-2',
|
|
378
406
|
'layout-columns-3',
|
|
@@ -385,64 +413,73 @@ declare const privateIconArray: readonly [
|
|
|
385
413
|
'layout-sidebar-left',
|
|
386
414
|
'layout-sidebar-right',
|
|
387
415
|
'lightbulb',
|
|
388
|
-
'link-list',
|
|
389
416
|
'link',
|
|
417
|
+
'link-list',
|
|
390
418
|
'list-bulleted',
|
|
419
|
+
'list-bulleted-filled',
|
|
391
420
|
'list-numbered',
|
|
392
421
|
'live',
|
|
393
|
-
'
|
|
422
|
+
'live-critical',
|
|
423
|
+
'live-none',
|
|
394
424
|
'location',
|
|
425
|
+
'location-none',
|
|
395
426
|
'lock',
|
|
396
427
|
'map',
|
|
428
|
+
'markets',
|
|
397
429
|
'markets-euro',
|
|
398
430
|
'markets-rupee',
|
|
399
431
|
'markets-yen',
|
|
400
|
-
'markets',
|
|
401
432
|
'maximize',
|
|
402
|
-
'measurement-size-list',
|
|
403
433
|
'measurement-size',
|
|
404
|
-
'measurement-
|
|
434
|
+
'measurement-size-list',
|
|
405
435
|
'measurement-volume',
|
|
406
|
-
'measurement-
|
|
436
|
+
'measurement-volume-list',
|
|
407
437
|
'measurement-weight',
|
|
438
|
+
'measurement-weight-list',
|
|
408
439
|
'media-receiver',
|
|
409
440
|
'megaphone',
|
|
410
441
|
'mention',
|
|
442
|
+
'menu',
|
|
443
|
+
'menu-filled',
|
|
411
444
|
'menu-horizontal',
|
|
412
445
|
'menu-vertical',
|
|
413
|
-
'menu',
|
|
414
446
|
'merge',
|
|
415
447
|
'metafields',
|
|
448
|
+
'metaobject',
|
|
416
449
|
'metaobject-list',
|
|
417
450
|
'metaobject-reference',
|
|
418
|
-
'metaobject',
|
|
419
451
|
'microphone',
|
|
420
452
|
'minimize',
|
|
421
|
-
'minus-circle',
|
|
422
453
|
'minus',
|
|
454
|
+
'minus-circle',
|
|
423
455
|
'mobile',
|
|
424
|
-
'money-none',
|
|
425
456
|
'money',
|
|
457
|
+
'money-none',
|
|
458
|
+
'money-split',
|
|
426
459
|
'moon',
|
|
427
460
|
'nature',
|
|
428
|
-
'note-add',
|
|
429
461
|
'note',
|
|
462
|
+
'note-add',
|
|
430
463
|
'notification',
|
|
464
|
+
'order',
|
|
431
465
|
'order-batches',
|
|
432
466
|
'order-draft',
|
|
467
|
+
'order-filled',
|
|
433
468
|
'order-first',
|
|
434
469
|
'order-fulfilled',
|
|
435
470
|
'order-repeat',
|
|
436
471
|
'order-unfulfilled',
|
|
437
|
-
'order',
|
|
438
472
|
'orders-status',
|
|
439
473
|
'organization',
|
|
440
474
|
'outdent',
|
|
441
475
|
'outgoing',
|
|
476
|
+
'package',
|
|
477
|
+
'package-cancel',
|
|
442
478
|
'package-fulfilled',
|
|
443
479
|
'package-on-hold',
|
|
480
|
+
'package-reassign',
|
|
444
481
|
'package-returned',
|
|
445
|
-
'
|
|
482
|
+
'page',
|
|
446
483
|
'page-add',
|
|
447
484
|
'page-attachment',
|
|
448
485
|
'page-clock',
|
|
@@ -453,7 +490,6 @@ declare const privateIconArray: readonly [
|
|
|
453
490
|
'page-remove',
|
|
454
491
|
'page-report',
|
|
455
492
|
'page-up',
|
|
456
|
-
'page',
|
|
457
493
|
'pagination-end',
|
|
458
494
|
'pagination-start',
|
|
459
495
|
'paint-brush-flat',
|
|
@@ -463,50 +499,55 @@ declare const privateIconArray: readonly [
|
|
|
463
499
|
'passkey',
|
|
464
500
|
'paste',
|
|
465
501
|
'pause-circle',
|
|
466
|
-
'payment-capture',
|
|
467
502
|
'payment',
|
|
503
|
+
'payment-capture',
|
|
504
|
+
'payout',
|
|
468
505
|
'payout-dollar',
|
|
469
506
|
'payout-euro',
|
|
470
507
|
'payout-pound',
|
|
471
508
|
'payout-rupee',
|
|
472
509
|
'payout-yen',
|
|
473
|
-
'
|
|
510
|
+
'person',
|
|
474
511
|
'person-add',
|
|
475
512
|
'person-exit',
|
|
513
|
+
'person-filled',
|
|
476
514
|
'person-list',
|
|
477
515
|
'person-lock',
|
|
478
516
|
'person-remove',
|
|
479
517
|
'person-segment',
|
|
480
|
-
'person',
|
|
481
518
|
'personalized-text',
|
|
519
|
+
'phablet',
|
|
520
|
+
'phone',
|
|
482
521
|
'phone-in',
|
|
483
522
|
'phone-out',
|
|
484
|
-
'phone',
|
|
485
|
-
'pin-remove',
|
|
486
523
|
'pin',
|
|
524
|
+
'pin-remove',
|
|
487
525
|
'plan',
|
|
488
|
-
'play-circle',
|
|
489
526
|
'play',
|
|
527
|
+
'play-circle',
|
|
528
|
+
'plus',
|
|
529
|
+
'plus-circle',
|
|
490
530
|
'plus-circle-down',
|
|
491
531
|
'plus-circle-filled',
|
|
492
532
|
'plus-circle-up',
|
|
493
|
-
'plus-circle',
|
|
494
|
-
'plus',
|
|
495
533
|
'point-of-sale',
|
|
534
|
+
'point-of-sale-register',
|
|
496
535
|
'price-list',
|
|
497
536
|
'print',
|
|
537
|
+
'product',
|
|
498
538
|
'product-add',
|
|
499
539
|
'product-cost',
|
|
540
|
+
'product-filled',
|
|
500
541
|
'product-list',
|
|
501
542
|
'product-reference',
|
|
502
543
|
'product-remove',
|
|
503
544
|
'product-return',
|
|
504
545
|
'product-unavailable',
|
|
505
|
-
'product',
|
|
506
|
-
'profile-filled',
|
|
507
546
|
'profile',
|
|
508
|
-
'
|
|
547
|
+
'profile-filled',
|
|
509
548
|
'question-circle',
|
|
549
|
+
'question-circle-filled',
|
|
550
|
+
'receipt',
|
|
510
551
|
'receipt-dollar',
|
|
511
552
|
'receipt-euro',
|
|
512
553
|
'receipt-folded',
|
|
@@ -515,7 +556,6 @@ declare const privateIconArray: readonly [
|
|
|
515
556
|
'receipt-refund',
|
|
516
557
|
'receipt-rupee',
|
|
517
558
|
'receipt-yen',
|
|
518
|
-
'receipt',
|
|
519
559
|
'receivables',
|
|
520
560
|
'redo',
|
|
521
561
|
'referral-code',
|
|
@@ -533,11 +573,12 @@ declare const privateIconArray: readonly [
|
|
|
533
573
|
'sandbox',
|
|
534
574
|
'save',
|
|
535
575
|
'savings',
|
|
576
|
+
'scan-qr-code',
|
|
577
|
+
'search',
|
|
536
578
|
'search-add',
|
|
537
579
|
'search-list',
|
|
538
580
|
'search-recent',
|
|
539
581
|
'search-resource',
|
|
540
|
-
'search',
|
|
541
582
|
'select',
|
|
542
583
|
'send',
|
|
543
584
|
'settings',
|
|
@@ -547,6 +588,7 @@ declare const privateIconArray: readonly [
|
|
|
547
588
|
'shield-pending',
|
|
548
589
|
'shield-person',
|
|
549
590
|
'shipping-label',
|
|
591
|
+
'shipping-label-cancel',
|
|
550
592
|
'shopcodes',
|
|
551
593
|
'slideshow',
|
|
552
594
|
'smiley-happy',
|
|
@@ -555,68 +597,70 @@ declare const privateIconArray: readonly [
|
|
|
555
597
|
'smiley-sad',
|
|
556
598
|
'social-ad',
|
|
557
599
|
'social-post',
|
|
600
|
+
'sort',
|
|
558
601
|
'sort-ascending',
|
|
559
602
|
'sort-descending',
|
|
560
|
-
'sort',
|
|
561
603
|
'sound',
|
|
562
604
|
'sports',
|
|
605
|
+
'star',
|
|
606
|
+
'star-circle',
|
|
563
607
|
'star-filled',
|
|
564
608
|
'star-half',
|
|
565
609
|
'star-list',
|
|
566
|
-
'star',
|
|
567
|
-
'status-active',
|
|
568
610
|
'status',
|
|
611
|
+
'status-active',
|
|
569
612
|
'stop-circle',
|
|
613
|
+
'store',
|
|
570
614
|
'store-import',
|
|
571
615
|
'store-managed',
|
|
572
616
|
'store-online',
|
|
573
|
-
'store',
|
|
574
617
|
'sun',
|
|
575
|
-
'table-masonry',
|
|
576
618
|
'table',
|
|
619
|
+
'table-masonry',
|
|
577
620
|
'tablet',
|
|
578
621
|
'target',
|
|
579
622
|
'tax',
|
|
580
623
|
'team',
|
|
624
|
+
'text',
|
|
581
625
|
'text-align-center',
|
|
582
626
|
'text-align-left',
|
|
583
627
|
'text-align-right',
|
|
584
628
|
'text-block',
|
|
585
629
|
'text-bold',
|
|
586
630
|
'text-color',
|
|
587
|
-
'text-font-list',
|
|
588
631
|
'text-font',
|
|
632
|
+
'text-font-list',
|
|
589
633
|
'text-grammar',
|
|
590
634
|
'text-in-columns',
|
|
591
635
|
'text-in-rows',
|
|
592
|
-
'text-indent-remove',
|
|
593
636
|
'text-indent',
|
|
637
|
+
'text-indent-remove',
|
|
594
638
|
'text-italic',
|
|
595
639
|
'text-quote',
|
|
596
640
|
'text-title',
|
|
597
641
|
'text-underline',
|
|
598
642
|
'text-with-image',
|
|
599
|
-
'
|
|
643
|
+
'theme',
|
|
600
644
|
'theme-edit',
|
|
601
645
|
'theme-store',
|
|
602
646
|
'theme-template',
|
|
603
|
-
'theme',
|
|
604
647
|
'three-d-environment',
|
|
605
648
|
'thumbs-down',
|
|
606
649
|
'thumbs-up',
|
|
607
650
|
'tip-jar',
|
|
608
651
|
'toggle-off',
|
|
609
652
|
'toggle-on',
|
|
653
|
+
'transaction',
|
|
654
|
+
'transaction-fee-add',
|
|
610
655
|
'transaction-fee-dollar',
|
|
611
656
|
'transaction-fee-euro',
|
|
612
657
|
'transaction-fee-pound',
|
|
613
658
|
'transaction-fee-rupee',
|
|
614
659
|
'transaction-fee-yen',
|
|
615
|
-
'
|
|
660
|
+
'transfer',
|
|
616
661
|
'transfer-in',
|
|
617
662
|
'transfer-internal',
|
|
618
663
|
'transfer-out',
|
|
619
|
-
'transfer',
|
|
620
664
|
'truck',
|
|
621
665
|
'undo',
|
|
622
666
|
'unknown-device',
|
|
@@ -632,12 +676,12 @@ declare const privateIconArray: readonly [
|
|
|
632
676
|
'wand',
|
|
633
677
|
'watch',
|
|
634
678
|
'wifi',
|
|
635
|
-
'work-list',
|
|
636
679
|
'work',
|
|
680
|
+
'work-list',
|
|
637
681
|
'wrench',
|
|
638
|
-
'x-circle-filled',
|
|
639
|
-
'x-circle',
|
|
640
682
|
'x',
|
|
683
|
+
'x-circle',
|
|
684
|
+
'x-circle-filled',
|
|
641
685
|
];
|
|
642
686
|
export type IconType = (typeof privateIconArray)[number];
|
|
643
687
|
/**
|
|
@@ -650,6 +694,7 @@ export type MaybeAllValuesShorthandProperty<T extends string> =
|
|
|
650
694
|
| `${T} ${T} ${T}`
|
|
651
695
|
| `${T} ${T} ${T} ${T}`;
|
|
652
696
|
export type MaybeTwoValuesShorthandProperty<T extends string> = T | `${T} ${T}`;
|
|
697
|
+
export type MaybeResponsive<T> = T | `@container${string}`;
|
|
653
698
|
/**
|
|
654
699
|
* Prevents widening string literal types in a union to `string`.
|
|
655
700
|
* @example
|
|
@@ -785,7 +830,7 @@ export interface DisplayProps {
|
|
|
785
830
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
786
831
|
* @default 'auto'
|
|
787
832
|
*/
|
|
788
|
-
display?: 'auto' | 'none'
|
|
833
|
+
display?: MaybeResponsive<'auto' | 'none'>;
|
|
789
834
|
}
|
|
790
835
|
export interface AccessibilityRoleProps {
|
|
791
836
|
/**
|
|
@@ -963,7 +1008,7 @@ export interface PaddingProps {
|
|
|
963
1008
|
*
|
|
964
1009
|
* @default 'none'
|
|
965
1010
|
*/
|
|
966
|
-
padding?: MaybeAllValuesShorthandProperty<PaddingKeyword
|
|
1011
|
+
padding?: MaybeResponsive<MaybeAllValuesShorthandProperty<PaddingKeyword>>;
|
|
967
1012
|
/**
|
|
968
1013
|
* Adjust the block-padding.
|
|
969
1014
|
*
|
|
@@ -973,7 +1018,9 @@ export interface PaddingProps {
|
|
|
973
1018
|
*
|
|
974
1019
|
* @default '' - meaning no override
|
|
975
1020
|
*/
|
|
976
|
-
paddingBlock?:
|
|
1021
|
+
paddingBlock?: MaybeResponsive<
|
|
1022
|
+
MaybeTwoValuesShorthandProperty<PaddingKeyword> | ''
|
|
1023
|
+
>;
|
|
977
1024
|
/**
|
|
978
1025
|
* Adjust the block-start padding.
|
|
979
1026
|
*
|
|
@@ -981,7 +1028,7 @@ export interface PaddingProps {
|
|
|
981
1028
|
*
|
|
982
1029
|
* @default '' - meaning no override
|
|
983
1030
|
*/
|
|
984
|
-
paddingBlockStart?: PaddingKeyword | ''
|
|
1031
|
+
paddingBlockStart?: MaybeResponsive<PaddingKeyword | ''>;
|
|
985
1032
|
/**
|
|
986
1033
|
* Adjust the block-end padding.
|
|
987
1034
|
*
|
|
@@ -989,7 +1036,7 @@ export interface PaddingProps {
|
|
|
989
1036
|
*
|
|
990
1037
|
* @default '' - meaning no override
|
|
991
1038
|
*/
|
|
992
|
-
paddingBlockEnd?: PaddingKeyword | ''
|
|
1039
|
+
paddingBlockEnd?: MaybeResponsive<PaddingKeyword | ''>;
|
|
993
1040
|
/**
|
|
994
1041
|
* Adjust the inline padding.
|
|
995
1042
|
*
|
|
@@ -999,7 +1046,9 @@ export interface PaddingProps {
|
|
|
999
1046
|
*
|
|
1000
1047
|
* @default '' - meaning no override
|
|
1001
1048
|
*/
|
|
1002
|
-
paddingInline?:
|
|
1049
|
+
paddingInline?: MaybeResponsive<
|
|
1050
|
+
MaybeTwoValuesShorthandProperty<PaddingKeyword> | ''
|
|
1051
|
+
>;
|
|
1003
1052
|
/**
|
|
1004
1053
|
* Adjust the inline-start padding.
|
|
1005
1054
|
*
|
|
@@ -1007,7 +1056,7 @@ export interface PaddingProps {
|
|
|
1007
1056
|
*
|
|
1008
1057
|
* @default '' - meaning no override
|
|
1009
1058
|
*/
|
|
1010
|
-
paddingInlineStart?: PaddingKeyword | ''
|
|
1059
|
+
paddingInlineStart?: MaybeResponsive<PaddingKeyword | ''>;
|
|
1011
1060
|
/**
|
|
1012
1061
|
* Adjust the inline-end padding.
|
|
1013
1062
|
*
|
|
@@ -1015,7 +1064,7 @@ export interface PaddingProps {
|
|
|
1015
1064
|
*
|
|
1016
1065
|
* @default '' - meaning no override
|
|
1017
1066
|
*/
|
|
1018
|
-
paddingInlineEnd?: PaddingKeyword | ''
|
|
1067
|
+
paddingInlineEnd?: MaybeResponsive<PaddingKeyword | ''>;
|
|
1019
1068
|
}
|
|
1020
1069
|
export type SizeUnits = `${number}px` | `${number}%` | `0`;
|
|
1021
1070
|
export type SizeUnitsOrAuto = SizeUnits | 'auto';
|
|
@@ -1028,7 +1077,7 @@ export interface SizingProps {
|
|
|
1028
1077
|
*
|
|
1029
1078
|
* @default 'auto'
|
|
1030
1079
|
*/
|
|
1031
|
-
blockSize?: SizeUnitsOrAuto
|
|
1080
|
+
blockSize?: MaybeResponsive<SizeUnitsOrAuto>;
|
|
1032
1081
|
/**
|
|
1033
1082
|
* Adjust the minimum block size.
|
|
1034
1083
|
*
|
|
@@ -1036,7 +1085,7 @@ export interface SizingProps {
|
|
|
1036
1085
|
*
|
|
1037
1086
|
* @default '0'
|
|
1038
1087
|
*/
|
|
1039
|
-
minBlockSize?: SizeUnits
|
|
1088
|
+
minBlockSize?: MaybeResponsive<SizeUnits>;
|
|
1040
1089
|
/**
|
|
1041
1090
|
* Adjust the maximum block size.
|
|
1042
1091
|
*
|
|
@@ -1044,7 +1093,7 @@ export interface SizingProps {
|
|
|
1044
1093
|
*
|
|
1045
1094
|
* @default 'none'
|
|
1046
1095
|
*/
|
|
1047
|
-
maxBlockSize?: SizeUnitsOrNone
|
|
1096
|
+
maxBlockSize?: MaybeResponsive<SizeUnitsOrNone>;
|
|
1048
1097
|
/**
|
|
1049
1098
|
* Adjust the inline size.
|
|
1050
1099
|
*
|
|
@@ -1052,7 +1101,7 @@ export interface SizingProps {
|
|
|
1052
1101
|
*
|
|
1053
1102
|
* @default 'auto'
|
|
1054
1103
|
*/
|
|
1055
|
-
inlineSize?: SizeUnitsOrAuto
|
|
1104
|
+
inlineSize?: MaybeResponsive<SizeUnitsOrAuto>;
|
|
1056
1105
|
/**
|
|
1057
1106
|
* Adjust the minimum inline size.
|
|
1058
1107
|
*
|
|
@@ -1060,7 +1109,7 @@ export interface SizingProps {
|
|
|
1060
1109
|
*
|
|
1061
1110
|
* @default '0'
|
|
1062
1111
|
*/
|
|
1063
|
-
minInlineSize?: SizeUnits
|
|
1112
|
+
minInlineSize?: MaybeResponsive<SizeUnits>;
|
|
1064
1113
|
/**
|
|
1065
1114
|
* Adjust the maximum inline size.
|
|
1066
1115
|
*
|
|
@@ -1068,7 +1117,7 @@ export interface SizingProps {
|
|
|
1068
1117
|
*
|
|
1069
1118
|
* @default 'none'
|
|
1070
1119
|
*/
|
|
1071
|
-
maxInlineSize?: SizeUnitsOrNone
|
|
1120
|
+
maxInlineSize?: MaybeResponsive<SizeUnitsOrNone>;
|
|
1072
1121
|
}
|
|
1073
1122
|
export type BorderStyleKeyword =
|
|
1074
1123
|
| 'none'
|
|
@@ -1206,23 +1255,9 @@ export interface BaseBoxPropsWithRole
|
|
|
1206
1255
|
extends BaseBoxProps,
|
|
1207
1256
|
AccessibilityRoleProps {}
|
|
1208
1257
|
export interface BoxProps extends BaseBoxPropsWithRole, GlobalProps {}
|
|
1209
|
-
export interface FocusEventProps {
|
|
1210
|
-
/**
|
|
1211
|
-
* Callback when the element loses focus.
|
|
1212
|
-
*
|
|
1213
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/blur_event
|
|
1214
|
-
*/
|
|
1215
|
-
onBlur?: (event: FocusEvent) => void;
|
|
1216
|
-
/**
|
|
1217
|
-
* Callback when the element receives focus.
|
|
1218
|
-
*
|
|
1219
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/focus_event
|
|
1220
|
-
*/
|
|
1221
|
-
onFocus?: (event: FocusEvent) => void;
|
|
1222
|
-
}
|
|
1223
1258
|
export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
1224
1259
|
/**
|
|
1225
|
-
* The behavior of the
|
|
1260
|
+
* The behavior of the Button.
|
|
1226
1261
|
*
|
|
1227
1262
|
* - `submit`: Used to indicate the component acts as a submit button, meaning it submits the closest form.
|
|
1228
1263
|
* - `button`: Used to indicate the component acts as a button, meaning it has no default action.
|
|
@@ -1234,14 +1269,14 @@ export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1234
1269
|
*/
|
|
1235
1270
|
type?: 'submit' | 'button' | 'reset';
|
|
1236
1271
|
/**
|
|
1237
|
-
* Callback when the
|
|
1272
|
+
* Callback when the Button is activated.
|
|
1238
1273
|
* This will be called before the action indicated by `type`.
|
|
1239
1274
|
*
|
|
1240
1275
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event
|
|
1241
1276
|
*/
|
|
1242
1277
|
onClick?: (event: Event) => void;
|
|
1243
1278
|
/**
|
|
1244
|
-
* Disables the
|
|
1279
|
+
* Disables the Button meaning it cannot be clicked or receive focus.
|
|
1245
1280
|
*
|
|
1246
1281
|
* @default false
|
|
1247
1282
|
*/
|
|
@@ -1249,7 +1284,7 @@ export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1249
1284
|
/**
|
|
1250
1285
|
* Replaces content with a loading indicator while a background action is being performed.
|
|
1251
1286
|
*
|
|
1252
|
-
* This also disables the
|
|
1287
|
+
* This also disables the Button.
|
|
1253
1288
|
*
|
|
1254
1289
|
* @default false
|
|
1255
1290
|
*/
|
|
@@ -1279,7 +1314,7 @@ export interface LinkBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1279
1314
|
target?: 'auto' | '_blank' | '_self' | '_parent' | '_top' | AnyString;
|
|
1280
1315
|
/**
|
|
1281
1316
|
* Causes the browser to treat the linked URL as a download with the string being the file name.
|
|
1282
|
-
* Download only works for same-origin URLs
|
|
1317
|
+
* Download only works for same-origin URLs or the `blob:` and `data:` schemes.
|
|
1283
1318
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#download
|
|
1284
1319
|
*/
|
|
1285
1320
|
download?: string;
|
|
@@ -1328,7 +1363,7 @@ export interface ButtonProps extends GlobalProps, BaseClickableProps {
|
|
|
1328
1363
|
/**
|
|
1329
1364
|
* A label that describes the purpose or contents of the Button. It will be read to users using assistive technologies such as screen readers.
|
|
1330
1365
|
*
|
|
1331
|
-
* Use this when using only an icon or the
|
|
1366
|
+
* Use this when using only an icon or the Button text is not enough context
|
|
1332
1367
|
* for users using assistive technologies.
|
|
1333
1368
|
*/
|
|
1334
1369
|
accessibilityLabel?: string;
|
|
@@ -1337,13 +1372,13 @@ export interface ButtonProps extends GlobalProps, BaseClickableProps {
|
|
|
1337
1372
|
*/
|
|
1338
1373
|
children?: ComponentChildren;
|
|
1339
1374
|
/**
|
|
1340
|
-
* The type of icon to be displayed in the
|
|
1375
|
+
* The type of icon to be displayed in the Button.
|
|
1341
1376
|
*
|
|
1342
1377
|
* @default ''
|
|
1343
1378
|
*/
|
|
1344
1379
|
icon?: IconType | AnyString;
|
|
1345
1380
|
/**
|
|
1346
|
-
* The displayed inline width of the
|
|
1381
|
+
* The displayed inline width of the Button.
|
|
1347
1382
|
*
|
|
1348
1383
|
* - `auto`: the size of the button depends on the surface and context.
|
|
1349
1384
|
* - `fill`: the button will takes up 100% of the available inline size.
|
|
@@ -1359,7 +1394,7 @@ export interface ButtonProps extends GlobalProps, BaseClickableProps {
|
|
|
1359
1394
|
*/
|
|
1360
1395
|
variant?: 'auto' | 'primary' | 'secondary' | 'tertiary';
|
|
1361
1396
|
/**
|
|
1362
|
-
* Sets the tone of the Button
|
|
1397
|
+
* Sets the tone of the Button based on the intention of the information being conveyed.
|
|
1363
1398
|
*
|
|
1364
1399
|
* @default 'auto'
|
|
1365
1400
|
*/
|
|
@@ -2013,12 +2048,19 @@ export interface DatePickerProps
|
|
|
2013
2048
|
*/
|
|
2014
2049
|
value?: string;
|
|
2015
2050
|
/**
|
|
2016
|
-
* Callback when any date is selected.
|
|
2051
|
+
* Callback when any date is selected.
|
|
2052
|
+
*
|
|
2053
|
+
* - If `type="single"`, fires when a date is selected and happens before `onChange`.
|
|
2054
|
+
* - If `type="multiple"`, fires when a date is selected before `onChange`.
|
|
2055
|
+
* - If `type="range"`, fires when a first date is selected (with the partial value formatted as `YYYY-MM-DD--`), and when the last date is selected before `onChange`.
|
|
2017
2056
|
*/
|
|
2018
2057
|
onInput?: (event: Event) => void;
|
|
2019
2058
|
/**
|
|
2020
|
-
* Callback when the
|
|
2021
|
-
*
|
|
2059
|
+
* Callback when the value is committed.
|
|
2060
|
+
*
|
|
2061
|
+
* - If `type="single"`, fires when a date is selected after `onInput`.
|
|
2062
|
+
* - If `type="multiple"`, fires when a date is selected after `onInput`.
|
|
2063
|
+
* - If `type="range"`, fires when a range is completed by selecting the end date after `onInput`.
|
|
2022
2064
|
*/
|
|
2023
2065
|
onChange?: (event: Event) => void;
|
|
2024
2066
|
}
|
|
@@ -2122,7 +2164,7 @@ export interface GapProps {
|
|
|
2122
2164
|
*
|
|
2123
2165
|
* @default 'none'
|
|
2124
2166
|
*/
|
|
2125
|
-
gap?: MaybeTwoValuesShorthandProperty<SpacingKeyword
|
|
2167
|
+
gap?: MaybeResponsive<MaybeTwoValuesShorthandProperty<SpacingKeyword>>;
|
|
2126
2168
|
/**
|
|
2127
2169
|
* Adjust spacing between elements in the block axis.
|
|
2128
2170
|
*
|
|
@@ -2130,7 +2172,7 @@ export interface GapProps {
|
|
|
2130
2172
|
*
|
|
2131
2173
|
* @default '' - meaning no override
|
|
2132
2174
|
*/
|
|
2133
|
-
rowGap?: SpacingKeyword | ''
|
|
2175
|
+
rowGap?: MaybeResponsive<SpacingKeyword | ''>;
|
|
2134
2176
|
/**
|
|
2135
2177
|
* Adjust spacing between elements in the inline axis.
|
|
2136
2178
|
*
|
|
@@ -2138,7 +2180,7 @@ export interface GapProps {
|
|
|
2138
2180
|
*
|
|
2139
2181
|
* @default '' - meaning no override
|
|
2140
2182
|
*/
|
|
2141
|
-
columnGap?: SpacingKeyword | ''
|
|
2183
|
+
columnGap?: MaybeResponsive<SpacingKeyword | ''>;
|
|
2142
2184
|
}
|
|
2143
2185
|
export type BaselinePosition = 'baseline' | 'first baseline' | 'last baseline';
|
|
2144
2186
|
export type ContentDistribution =
|
|
@@ -2431,7 +2473,7 @@ export type NumberAutocompleteField = ExtractStrict<
|
|
|
2431
2473
|
AnyAutocompleteField,
|
|
2432
2474
|
'one-time-code' | 'cc-number' | 'cc-csc'
|
|
2433
2475
|
>;
|
|
2434
|
-
export interface PageProps extends GlobalProps {
|
|
2476
|
+
export interface PageProps extends GlobalProps, ActionSlots {
|
|
2435
2477
|
/**
|
|
2436
2478
|
* The content of the Page.
|
|
2437
2479
|
*/
|
|
@@ -2448,19 +2490,10 @@ export interface PageProps extends GlobalProps {
|
|
|
2448
2490
|
* Additional contextual information about the page.
|
|
2449
2491
|
*/
|
|
2450
2492
|
accessory?: ComponentChildren;
|
|
2451
|
-
/**
|
|
2452
|
-
* The primary action to perform, provided as a button or link type element.
|
|
2453
|
-
* When a `Button` is added to the `primaryAction` it's variant is set to `primary`
|
|
2454
|
-
*/
|
|
2455
|
-
primaryAction?: ComponentChildren;
|
|
2456
2493
|
/**
|
|
2457
2494
|
* The breadcrumb actions to perform, provided as link elements.
|
|
2458
2495
|
*/
|
|
2459
2496
|
breadcrumbActions?: ComponentChildren;
|
|
2460
|
-
/**
|
|
2461
|
-
* Secondary actions. These are `Button`s that will be contextually the 'secondary' variant.
|
|
2462
|
-
*/
|
|
2463
|
-
secondaryActions?: ComponentChildren;
|
|
2464
2497
|
/**
|
|
2465
2498
|
* The aside element is section of a page that contains content that is tangentially related to the content around the aside element, and which could be considered separate from that content.
|
|
2466
2499
|
* Such sections are often represented as sidebars in printed typography.
|
|
@@ -2476,9 +2509,50 @@ export interface PageProps extends GlobalProps {
|
|
|
2476
2509
|
*/
|
|
2477
2510
|
inlineSize?: SizeKeyword;
|
|
2478
2511
|
}
|
|
2512
|
+
export interface ScrollEventProps {
|
|
2513
|
+
/**
|
|
2514
|
+
* Callback when the scroll position reaches any edge.
|
|
2515
|
+
*
|
|
2516
|
+
* Provides information about which edges have been reached:
|
|
2517
|
+
* - `inline: 'start'` - reached the inline-start edge
|
|
2518
|
+
* - `inline: 'end'` - reached the inline-end edge
|
|
2519
|
+
* - `block: 'start'` - reached the block-start edge
|
|
2520
|
+
* - `block: 'end'` - reached the block-end edge
|
|
2521
|
+
* - `null` - not at that edge
|
|
2522
|
+
*
|
|
2523
|
+
* Uses the flow‑relative axes.
|
|
2524
|
+
*/
|
|
2525
|
+
onScrollToEdge?: (
|
|
2526
|
+
inline: 'start' | 'end' | null,
|
|
2527
|
+
block: 'start' | 'end' | null,
|
|
2528
|
+
) => void;
|
|
2529
|
+
/**
|
|
2530
|
+
* Distance from the edge at which `onScrollToEdge` fires.
|
|
2531
|
+
* Percentage values are relative to the scrollable content's size in that axis.
|
|
2532
|
+
*
|
|
2533
|
+
* [1-to-4-value syntax](https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#edges_of_a_box) is
|
|
2534
|
+
* supported.
|
|
2535
|
+
*
|
|
2536
|
+
* The order is:
|
|
2537
|
+
* - 4 values: `block-start inline-end block-end inline-start`
|
|
2538
|
+
* - 3 values: `block-start inline block-end`
|
|
2539
|
+
* - 2 values: `block inline`
|
|
2540
|
+
*
|
|
2541
|
+
* For example:
|
|
2542
|
+
* - `48px` means the distance from the edge at which `onScrollToEdge` fires from block-start, inline-end, block-end and inline-start is `48px`.
|
|
2543
|
+
* - `48px 0` means the distance from the edge at which `onScrollToEdge` fires from block-start and block-end is `48px`, and for inline-start and inline-end is `0`.
|
|
2544
|
+
* - `48 0 48` means the distance from the edge at which `onScrollToEdge` fires from block-start is `48px`, for inline-end is `0`, for block-end is `48px` and for inline-start is `0`.
|
|
2545
|
+
* - `48px 0 48px 10%` means the distance from the edge at which `onScrollToEdge` fires from block-start is `48px`, for inline-end is `0`, for block-end is `48px` and for inline-start is `10%`.
|
|
2546
|
+
*
|
|
2547
|
+
* @default '0'
|
|
2548
|
+
* Refer to [MDN](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/scrollMargin) for more details.
|
|
2549
|
+
*/
|
|
2550
|
+
scrollMargin?: MaybeAllValuesShorthandProperty<SizeUnits>;
|
|
2551
|
+
}
|
|
2479
2552
|
export type OverflowKeyword = 'auto' | 'hidden';
|
|
2480
2553
|
export interface ScrollBoxProps
|
|
2481
2554
|
extends GlobalProps,
|
|
2555
|
+
ScrollEventProps,
|
|
2482
2556
|
Omit<BaseBoxPropsWithRole, 'overflow'> {
|
|
2483
2557
|
/**
|
|
2484
2558
|
* Sets the overflow behavior of the element.
|
|
@@ -2541,34 +2615,34 @@ export interface StackProps
|
|
|
2541
2615
|
*/
|
|
2542
2616
|
children?: ComponentChildren;
|
|
2543
2617
|
/**
|
|
2544
|
-
* Sets how the children are placed within the Stack.
|
|
2618
|
+
* Sets how the children are placed within the Stack. This uses [logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
|
|
2545
2619
|
*
|
|
2546
2620
|
* @default 'block'
|
|
2547
2621
|
*
|
|
2548
2622
|
* @implementation the content will wrap if the direction is 'inline', and not wrap if the direction is 'block'
|
|
2549
2623
|
*/
|
|
2550
|
-
direction?: 'block' | 'inline'
|
|
2624
|
+
direction?: MaybeResponsive<'block' | 'inline'>;
|
|
2551
2625
|
/**
|
|
2552
2626
|
* Aligns the Stack along the main axis.
|
|
2553
2627
|
*
|
|
2554
2628
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
|
|
2555
2629
|
* @default 'normal'
|
|
2556
2630
|
*/
|
|
2557
|
-
justifyContent?: JustifyContentKeyword
|
|
2631
|
+
justifyContent?: MaybeResponsive<JustifyContentKeyword>;
|
|
2558
2632
|
/**
|
|
2559
2633
|
* Aligns the Stack's children along the cross axis.
|
|
2560
2634
|
*
|
|
2561
2635
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
|
|
2562
2636
|
* @default 'normal'
|
|
2563
2637
|
*/
|
|
2564
|
-
alignItems?: AlignItemsKeyword
|
|
2638
|
+
alignItems?: MaybeResponsive<AlignItemsKeyword>;
|
|
2565
2639
|
/**
|
|
2566
2640
|
* Aligns the Stack along the cross axis.
|
|
2567
2641
|
*
|
|
2568
2642
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
2569
2643
|
* @default 'normal'
|
|
2570
2644
|
*/
|
|
2571
|
-
alignContent?: AlignContentKeyword
|
|
2645
|
+
alignContent?: MaybeResponsive<AlignContentKeyword>;
|
|
2572
2646
|
}
|
|
2573
2647
|
export interface TextProps
|
|
2574
2648
|
extends GlobalProps,
|
|
@@ -2583,7 +2657,7 @@ export interface TextProps
|
|
|
2583
2657
|
/**
|
|
2584
2658
|
* Provide semantic meaning and default styling to the text.
|
|
2585
2659
|
*
|
|
2586
|
-
* Other presentation properties on
|
|
2660
|
+
* Other presentation properties on Text override the default styling.
|
|
2587
2661
|
*
|
|
2588
2662
|
* @default 'generic'
|
|
2589
2663
|
*/
|
|
@@ -2689,18 +2763,47 @@ export interface TextFieldProps
|
|
|
2689
2763
|
MinMaxLengthProps,
|
|
2690
2764
|
AutocompleteProps<TextAutocompleteField>,
|
|
2691
2765
|
FieldDecorationProps {}
|
|
2692
|
-
export interface
|
|
2766
|
+
export interface TileProps
|
|
2693
2767
|
extends GlobalProps,
|
|
2694
|
-
|
|
2695
|
-
FocusEventProps {
|
|
2768
|
+
Pick<BaseClickableProps, 'onClick' | 'disabled'> {
|
|
2696
2769
|
/**
|
|
2697
|
-
*
|
|
2770
|
+
* A title that describes the content of the Tile.
|
|
2698
2771
|
*
|
|
2699
|
-
*
|
|
2772
|
+
* @default ''
|
|
2773
|
+
*/
|
|
2774
|
+
heading?: string;
|
|
2775
|
+
/**
|
|
2776
|
+
* Supporting text displayed below the heading.
|
|
2700
2777
|
*
|
|
2701
|
-
*
|
|
2778
|
+
* @default ''
|
|
2779
|
+
*/
|
|
2780
|
+
subheading?: string;
|
|
2781
|
+
/**
|
|
2782
|
+
* A numeric indicator rendered within the Tile (for example, a count or a step number).
|
|
2702
2783
|
*
|
|
2703
|
-
*
|
|
2784
|
+
* - When provided, the indicator is displayed inside the tile.
|
|
2785
|
+
* - Intended for small integers. It may clamp, truncate, or abbreviate larger values.
|
|
2786
|
+
*
|
|
2787
|
+
*/
|
|
2788
|
+
itemCount?: number;
|
|
2789
|
+
/**
|
|
2790
|
+
* Sets the tone of the Tile, based on the intention of the information being conveyed.
|
|
2791
|
+
* @default 'auto'
|
|
2792
|
+
*/
|
|
2793
|
+
tone?: ExtractStrict<ToneKeyword, 'auto' | 'neutral' | 'accent'>;
|
|
2794
|
+
}
|
|
2795
|
+
export interface TimePickerProps
|
|
2796
|
+
extends GlobalProps,
|
|
2797
|
+
InputProps,
|
|
2798
|
+
FocusEventProps {
|
|
2799
|
+
/**
|
|
2800
|
+
* Times that can be selected.
|
|
2801
|
+
*
|
|
2802
|
+
* A comma-separated list of allowed time ranges. Whitespace is allowed after commas.
|
|
2803
|
+
*
|
|
2804
|
+
* The default `''` allows all times.
|
|
2805
|
+
*
|
|
2806
|
+
* Each time range is in `HH:MM--HH:MM` format.
|
|
2704
2807
|
*
|
|
2705
2808
|
* The end of the range is exclusive, so `09:00--10:00` allows selecting `09:00` but not `10:00`.
|
|
2706
2809
|
*
|
|
@@ -2741,7 +2844,14 @@ export interface TimePickerProps
|
|
|
2741
2844
|
*
|
|
2742
2845
|
* The default, `''`, means no time is selected.
|
|
2743
2846
|
*
|
|
2744
|
-
* The value must be in `HH:
|
|
2847
|
+
* The value must be a 24-hour time in `HH:mm:ss` format, with leading zeros.
|
|
2848
|
+
*
|
|
2849
|
+
* Examples: `"00:00:00"`, `"09:05:00"`, `"23:59:00"`, `"14:03:30"`.
|
|
2850
|
+
*
|
|
2851
|
+
* This follows the HTML time input value format, which is always 24-hour with
|
|
2852
|
+
* leading zeros regardless of UI presentation.
|
|
2853
|
+
*
|
|
2854
|
+
* See: https://developer.mozilla.org/docs/Web/HTML/Element/input/time
|
|
2745
2855
|
*
|
|
2746
2856
|
* If the provided value is invalid, '' is used as the value.
|
|
2747
2857
|
*
|
|
@@ -2753,7 +2863,14 @@ export interface TimePickerProps
|
|
|
2753
2863
|
*
|
|
2754
2864
|
* The default, `''`, means no time is selected.
|
|
2755
2865
|
*
|
|
2756
|
-
* The value must be in `HH:
|
|
2866
|
+
* The value must be a 24-hour time in `HH:mm:ss` format, with leading zeros.
|
|
2867
|
+
*
|
|
2868
|
+
* Examples: `"00:00:00"`, `"09:05:00"`, `"23:59:00"`, `"14:03:30"`.
|
|
2869
|
+
*
|
|
2870
|
+
* This follows the HTML time input value format, which is always 24-hour with
|
|
2871
|
+
* leading zeros regardless of UI presentation.
|
|
2872
|
+
*
|
|
2873
|
+
* See: https://developer.mozilla.org/docs/Web/HTML/Element/input/time
|
|
2757
2874
|
*
|
|
2758
2875
|
* If the provided value is invalid, '' is used as the value.
|
|
2759
2876
|
*
|
|
@@ -2767,6 +2884,60 @@ export interface TimePickerProps
|
|
|
2767
2884
|
*/
|
|
2768
2885
|
step?: number;
|
|
2769
2886
|
}
|
|
2887
|
+
export interface TimeFieldProps
|
|
2888
|
+
extends GlobalProps,
|
|
2889
|
+
BaseTextFieldProps,
|
|
2890
|
+
Pick<
|
|
2891
|
+
TimePickerProps,
|
|
2892
|
+
'value' | 'defaultValue' | 'allow' | 'disallow' | 'step'
|
|
2893
|
+
> {
|
|
2894
|
+
/**
|
|
2895
|
+
* Callback when the field has an invalid time.
|
|
2896
|
+
* This callback will be called, if the time typed is invalid or disabled.
|
|
2897
|
+
*
|
|
2898
|
+
* Times that don’t exist or have formatting errors are considered invalid. Some examples of invalid times are:
|
|
2899
|
+
* - 24:00
|
|
2900
|
+
* - 12:60
|
|
2901
|
+
*
|
|
2902
|
+
* Disallowed times are considered invalid.
|
|
2903
|
+
*
|
|
2904
|
+
* It’s important to note that this callback will be called only when the user **finishes editing** the time,
|
|
2905
|
+
* and it’s called right after the `onChange` callback.
|
|
2906
|
+
* The field is **not** validated on every change to the input. Once the buyer has signalled that
|
|
2907
|
+
* they have finished editing the field (typically, by blurring the field), the field gets validated and the callback is run if the value is invalid.
|
|
2908
|
+
*/
|
|
2909
|
+
onInvalid?: (event: Event) => void;
|
|
2910
|
+
/**
|
|
2911
|
+
* Current selected value.
|
|
2912
|
+
*
|
|
2913
|
+
* The default, `''`, means no time is selected.
|
|
2914
|
+
*
|
|
2915
|
+
* The value must be a 24-hour time in `HH:mm:ss` format, with leading zeros.
|
|
2916
|
+
*
|
|
2917
|
+
* Examples: `"00:00:00"`, `"09:05:00"`, `"23:59:00"`, `"14:03:30"`.
|
|
2918
|
+
*
|
|
2919
|
+
* This follows the HTML time input value format, which is always 24-hour with
|
|
2920
|
+
* leading zeros regardless of UI presentation.
|
|
2921
|
+
*
|
|
2922
|
+
* See: https://developer.mozilla.org/docs/Web/HTML/Element/input/time
|
|
2923
|
+
*/
|
|
2924
|
+
value?: string;
|
|
2925
|
+
/**
|
|
2926
|
+
* Default selected value.
|
|
2927
|
+
*
|
|
2928
|
+
* The default, `''`, means no time is selected.
|
|
2929
|
+
*
|
|
2930
|
+
* The value must be a 24-hour time in `HH:mm:ss` format, with leading zeros.
|
|
2931
|
+
*
|
|
2932
|
+
* Examples: `"00:00:00"`, `"09:05:00"`, `"23:59:00"`, `"14:03:30"`.
|
|
2933
|
+
*
|
|
2934
|
+
* This follows the HTML time input value format, which is always 24-hour with
|
|
2935
|
+
* leading zeros regardless of UI presentation.
|
|
2936
|
+
*
|
|
2937
|
+
* See: https://developer.mozilla.org/docs/Web/HTML/Element/input/time
|
|
2938
|
+
*/
|
|
2939
|
+
defaultValue?: string;
|
|
2940
|
+
}
|
|
2770
2941
|
//
|
|
2771
2942
|
// Preact Virtual DOM
|
|
2772
2943
|
// -----------------------------------
|
|
@@ -2953,7 +3124,7 @@ interface CallbackEvent<T extends keyof HTMLElementTagNameMap> {
|
|
|
2953
3124
|
target: HTMLElementTagNameMap[T] | null;
|
|
2954
3125
|
}
|
|
2955
3126
|
|
|
2956
|
-
declare const tagName$
|
|
3127
|
+
declare const tagName$t = 's-button';
|
|
2957
3128
|
interface ButtonJSXProps
|
|
2958
3129
|
extends Pick<
|
|
2959
3130
|
ButtonProps,
|
|
@@ -2964,24 +3135,24 @@ interface ButtonJSXProps
|
|
|
2964
3135
|
'auto' | 'critical' | 'neutral' | 'warning' | 'caution'
|
|
2965
3136
|
>;
|
|
2966
3137
|
variant?: Extract<ButtonProps['variant'], 'primary' | 'secondary'>;
|
|
2967
|
-
onClick?: (event: CallbackEvent<typeof tagName$
|
|
3138
|
+
onClick?: (event: CallbackEvent<typeof tagName$t>) => void;
|
|
2968
3139
|
children?: ComponentChildren;
|
|
2969
3140
|
}
|
|
2970
3141
|
declare global {
|
|
2971
3142
|
interface HTMLElementTagNameMap {
|
|
2972
|
-
[tagName$
|
|
3143
|
+
[tagName$t]: ButtonJSXProps;
|
|
2973
3144
|
}
|
|
2974
3145
|
}
|
|
2975
3146
|
declare module 'preact' {
|
|
2976
3147
|
namespace createElement.JSX {
|
|
2977
3148
|
interface IntrinsicElements {
|
|
2978
|
-
[tagName$
|
|
3149
|
+
[tagName$t]: ButtonJSXProps &
|
|
2979
3150
|
BaseElementPropsWithChildren<ButtonJSXProps>;
|
|
2980
3151
|
}
|
|
2981
3152
|
}
|
|
2982
3153
|
}
|
|
2983
3154
|
|
|
2984
|
-
declare const tagName$
|
|
3155
|
+
declare const tagName$s = 's-text';
|
|
2985
3156
|
interface TextJSXProps extends Pick<TextProps, 'tone' | 'type'> {
|
|
2986
3157
|
color?: 'subdued' | 'base' | 'strong';
|
|
2987
3158
|
type?: Extract<TextProps['type'], 'strong' | 'small' | 'generic'>;
|
|
@@ -2993,108 +3164,76 @@ interface TextJSXProps extends Pick<TextProps, 'tone' | 'type'> {
|
|
|
2993
3164
|
}
|
|
2994
3165
|
declare global {
|
|
2995
3166
|
interface HTMLElementTagNameMap {
|
|
2996
|
-
[tagName$
|
|
3167
|
+
[tagName$s]: TextJSXProps;
|
|
2997
3168
|
}
|
|
2998
3169
|
}
|
|
2999
3170
|
declare module 'preact' {
|
|
3000
3171
|
namespace createElement.JSX {
|
|
3001
3172
|
interface IntrinsicElements {
|
|
3002
|
-
[tagName$
|
|
3173
|
+
[tagName$s]: TextJSXProps & BaseElementPropsWithChildren<TextJSXProps>;
|
|
3003
3174
|
}
|
|
3004
3175
|
}
|
|
3005
3176
|
}
|
|
3006
3177
|
|
|
3007
|
-
declare const tagName$
|
|
3178
|
+
declare const tagName$r = 's-scroll-box';
|
|
3008
3179
|
interface ScrollBoxJSXProps extends Pick<ScrollBoxProps, 'id'> {
|
|
3009
3180
|
children?: ComponentChildren;
|
|
3010
3181
|
}
|
|
3011
3182
|
declare global {
|
|
3012
3183
|
interface HTMLElementTagNameMap {
|
|
3013
|
-
[tagName$
|
|
3184
|
+
[tagName$r]: ScrollBoxJSXProps;
|
|
3014
3185
|
}
|
|
3015
3186
|
}
|
|
3016
3187
|
declare module 'preact' {
|
|
3017
3188
|
namespace createElement.JSX {
|
|
3018
3189
|
interface IntrinsicElements {
|
|
3019
|
-
[tagName$
|
|
3190
|
+
[tagName$r]: ScrollBoxJSXProps &
|
|
3020
3191
|
BaseElementPropsWithChildren<ScrollBoxJSXProps>;
|
|
3021
3192
|
}
|
|
3022
3193
|
}
|
|
3023
3194
|
}
|
|
3024
3195
|
|
|
3025
|
-
|
|
3026
|
-
extends GlobalProps,
|
|
3027
|
-
Pick<BaseClickableProps, 'onClick' | 'disabled'> {
|
|
3028
|
-
/**
|
|
3029
|
-
* The primary text displayed on the Tile.
|
|
3030
|
-
*
|
|
3031
|
-
* @default ''
|
|
3032
|
-
*/
|
|
3033
|
-
heading?: string;
|
|
3034
|
-
/**
|
|
3035
|
-
* Secondary supporting text displayed below the heading.
|
|
3036
|
-
*
|
|
3037
|
-
* @default ''
|
|
3038
|
-
*/
|
|
3039
|
-
subheading?: string;
|
|
3040
|
-
/**
|
|
3041
|
-
* A numeric indicator rendered within the Tile (for example, a count or a step number).
|
|
3042
|
-
*
|
|
3043
|
-
* - When provided, the indicator is displayed inside the tile.
|
|
3044
|
-
* - Intended for small integers. Implementations may clamp, truncate, or abbreviate larger values.
|
|
3045
|
-
* - Omit to render the tile without a numeric indicator.
|
|
3046
|
-
*
|
|
3047
|
-
*/
|
|
3048
|
-
itemCount?: number;
|
|
3049
|
-
/**
|
|
3050
|
-
* Changes the visual appearance of the Tile.
|
|
3051
|
-
*
|
|
3052
|
-
* @default 'auto'
|
|
3053
|
-
*/
|
|
3054
|
-
tone?: 'accent' | 'auto' | 'neutral';
|
|
3055
|
-
}
|
|
3056
|
-
|
|
3057
|
-
declare const tagName$o = 's-tile';
|
|
3196
|
+
declare const tagName$q = 's-tile';
|
|
3058
3197
|
interface TileJSXProps
|
|
3059
3198
|
extends Pick<
|
|
3060
3199
|
TileProps,
|
|
3061
3200
|
'disabled' | 'heading' | 'id' | 'itemCount' | 'tone' | 'subheading'
|
|
3062
3201
|
> {
|
|
3063
|
-
onClick?: (event: CallbackEvent<typeof tagName$
|
|
3202
|
+
onClick?: (event: CallbackEvent<typeof tagName$q>) => void;
|
|
3064
3203
|
}
|
|
3065
3204
|
declare global {
|
|
3066
3205
|
interface HTMLElementTagNameMap {
|
|
3067
|
-
[tagName$
|
|
3206
|
+
[tagName$q]: TileJSXProps;
|
|
3068
3207
|
}
|
|
3069
3208
|
}
|
|
3070
3209
|
declare module 'preact' {
|
|
3071
3210
|
namespace createElement.JSX {
|
|
3072
3211
|
interface IntrinsicElements {
|
|
3073
|
-
[tagName$
|
|
3212
|
+
[tagName$q]: TileJSXProps & BaseElementPropsWithChildren<TileJSXProps>;
|
|
3074
3213
|
}
|
|
3075
3214
|
}
|
|
3076
3215
|
}
|
|
3077
3216
|
|
|
3078
|
-
declare const tagName$
|
|
3217
|
+
declare const tagName$p = 's-navigator';
|
|
3079
3218
|
interface NavigatorJSXProps {
|
|
3080
3219
|
initialScreenName?: string;
|
|
3081
3220
|
children?: React.ReactNode;
|
|
3082
3221
|
}
|
|
3083
3222
|
declare global {
|
|
3084
3223
|
interface HTMLElementTagNameMap {
|
|
3085
|
-
[tagName$
|
|
3224
|
+
[tagName$p]: NavigatorJSXProps;
|
|
3086
3225
|
}
|
|
3087
3226
|
}
|
|
3088
3227
|
declare module 'preact' {
|
|
3089
3228
|
namespace createElement.JSX {
|
|
3090
3229
|
interface IntrinsicElements {
|
|
3091
|
-
[tagName$
|
|
3230
|
+
[tagName$p]: NavigatorJSXProps &
|
|
3092
3231
|
BaseElementPropsWithChildren<NavigatorJSXProps>;
|
|
3093
3232
|
}
|
|
3094
3233
|
}
|
|
3095
3234
|
}
|
|
3096
3235
|
|
|
3097
|
-
declare const tagName$
|
|
3236
|
+
declare const tagName$o = 's-screen';
|
|
3098
3237
|
interface ScreenJSXProps {
|
|
3099
3238
|
/**
|
|
3100
3239
|
* Used to identify this screen as a destination in the navigation stack.
|
|
@@ -3142,19 +3281,19 @@ interface ScreenPresentationProps {
|
|
|
3142
3281
|
}
|
|
3143
3282
|
declare global {
|
|
3144
3283
|
interface HTMLElementTagNameMap {
|
|
3145
|
-
[tagName$
|
|
3284
|
+
[tagName$o]: ScreenJSXProps;
|
|
3146
3285
|
}
|
|
3147
3286
|
}
|
|
3148
3287
|
declare module 'preact' {
|
|
3149
3288
|
namespace createElement.JSX {
|
|
3150
3289
|
interface IntrinsicElements {
|
|
3151
|
-
[tagName$
|
|
3290
|
+
[tagName$o]: Omit<ScreenJSXProps, 'secondaryActions'> &
|
|
3152
3291
|
BaseElementPropsWithChildren<Omit<ScreenJSXProps, 'secondaryActions'>>;
|
|
3153
3292
|
}
|
|
3154
3293
|
}
|
|
3155
3294
|
}
|
|
3156
3295
|
|
|
3157
|
-
declare const tagName$
|
|
3296
|
+
declare const tagName$n = 's-banner';
|
|
3158
3297
|
interface BannerJSXProps
|
|
3159
3298
|
extends Pick<BannerProps, 'heading' | 'hidden' | 'tone' | 'id'> {
|
|
3160
3299
|
tone?: Extract<
|
|
@@ -3166,29 +3305,23 @@ interface BannerJSXProps
|
|
|
3166
3305
|
}
|
|
3167
3306
|
declare global {
|
|
3168
3307
|
interface HTMLElementTagNameMap {
|
|
3169
|
-
[tagName$
|
|
3308
|
+
[tagName$n]: BannerJSXProps;
|
|
3170
3309
|
}
|
|
3171
3310
|
}
|
|
3172
3311
|
declare module 'preact' {
|
|
3173
3312
|
namespace createElement.JSX {
|
|
3174
3313
|
interface IntrinsicElements {
|
|
3175
|
-
[tagName$
|
|
3314
|
+
[tagName$n]: Omit<BannerJSXProps, 'primaryAction'> &
|
|
3176
3315
|
BaseElementPropsWithChildren<Omit<BannerJSXProps, 'primaryAction'>>;
|
|
3177
3316
|
}
|
|
3178
3317
|
}
|
|
3179
3318
|
}
|
|
3180
3319
|
|
|
3181
|
-
declare const tagName$
|
|
3320
|
+
declare const tagName$m = 's-box';
|
|
3321
|
+
type PaddingKeyword$1 = SizeKeyword | 'none';
|
|
3182
3322
|
interface BoxJSXProps
|
|
3183
3323
|
extends Pick<
|
|
3184
3324
|
BoxProps,
|
|
3185
|
-
| 'padding'
|
|
3186
|
-
| 'paddingBlock'
|
|
3187
|
-
| 'paddingBlockStart'
|
|
3188
|
-
| 'paddingBlockEnd'
|
|
3189
|
-
| 'paddingInline'
|
|
3190
|
-
| 'paddingInlineStart'
|
|
3191
|
-
| 'paddingInlineEnd'
|
|
3192
3325
|
| 'blockSize'
|
|
3193
3326
|
| 'minBlockSize'
|
|
3194
3327
|
| 'maxBlockSize'
|
|
@@ -3196,68 +3329,222 @@ interface BoxJSXProps
|
|
|
3196
3329
|
| 'minInlineSize'
|
|
3197
3330
|
| 'maxInlineSize'
|
|
3198
3331
|
> {
|
|
3332
|
+
/**
|
|
3333
|
+
* Adjust the padding of all edges.
|
|
3334
|
+
*
|
|
3335
|
+
* [1-to-4-value syntax](https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#edges_of_a_box) is
|
|
3336
|
+
* supported. Note that, contrary to the CSS, it uses flow-relative values and the order is:
|
|
3337
|
+
*
|
|
3338
|
+
* - 4 values: `block-start inline-end block-end inline-start`
|
|
3339
|
+
* - 3 values: `block-start inline block-end`
|
|
3340
|
+
* - 2 values: `block inline`
|
|
3341
|
+
*
|
|
3342
|
+
* For example:
|
|
3343
|
+
* - `large` means block-start, inline-end, block-end and inline-start paddings are `large`.
|
|
3344
|
+
* - `large none` means block-start and block-end paddings are `large`, inline-start and inline-end paddings are `none`.
|
|
3345
|
+
* - `large none large` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `none`.
|
|
3346
|
+
* - `large none large small` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `small`.
|
|
3347
|
+
*
|
|
3348
|
+
* A padding value of `auto` will use the default padding for the closest container that has had its usual padding removed.
|
|
3349
|
+
*
|
|
3350
|
+
* @default 'none'
|
|
3351
|
+
*/
|
|
3352
|
+
padding?: MaybeAllValuesShorthandProperty<PaddingKeyword$1>;
|
|
3353
|
+
/**
|
|
3354
|
+
* Adjust the block-padding.
|
|
3355
|
+
*
|
|
3356
|
+
* - `large none` means block-start padding is `large`, block-end padding is `none`.
|
|
3357
|
+
*
|
|
3358
|
+
* This overrides the block value of `padding`.
|
|
3359
|
+
*
|
|
3360
|
+
* @default '' - meaning no override
|
|
3361
|
+
*/
|
|
3362
|
+
paddingBlock?: MaybeTwoValuesShorthandProperty<PaddingKeyword$1 | ''>;
|
|
3363
|
+
/**
|
|
3364
|
+
* Adjust the block-start padding.
|
|
3365
|
+
*
|
|
3366
|
+
* This overrides the block-start value of `paddingBlock`.
|
|
3367
|
+
*
|
|
3368
|
+
* @default '' - meaning no override
|
|
3369
|
+
*/
|
|
3370
|
+
paddingBlockStart?: PaddingKeyword$1 | '';
|
|
3371
|
+
/**
|
|
3372
|
+
* Adjust the block-end padding.
|
|
3373
|
+
*
|
|
3374
|
+
* This overrides the block-end value of `paddingBlock`.
|
|
3375
|
+
*
|
|
3376
|
+
* @default '' - meaning no override
|
|
3377
|
+
*/
|
|
3378
|
+
paddingBlockEnd?: PaddingKeyword$1 | '';
|
|
3379
|
+
/**
|
|
3380
|
+
* Adjust the inline padding.
|
|
3381
|
+
*
|
|
3382
|
+
* - `large none` means inline-start padding is `large`, inline-end padding is `none`.
|
|
3383
|
+
*
|
|
3384
|
+
* This overrides the inline value of `padding`.
|
|
3385
|
+
*
|
|
3386
|
+
* @default '' - meaning no override
|
|
3387
|
+
*/
|
|
3388
|
+
paddingInline?: MaybeTwoValuesShorthandProperty<PaddingKeyword$1 | ''>;
|
|
3389
|
+
/**
|
|
3390
|
+
* Adjust the inline-start padding.
|
|
3391
|
+
*
|
|
3392
|
+
* This overrides the inline-start value of `paddingInline`.
|
|
3393
|
+
*
|
|
3394
|
+
* @default '' - meaning no override
|
|
3395
|
+
*/
|
|
3396
|
+
paddingInlineStart?: PaddingKeyword$1 | '';
|
|
3397
|
+
/**
|
|
3398
|
+
* Adjust the inline-end padding.
|
|
3399
|
+
*
|
|
3400
|
+
* This overrides the inline-end value of `paddingInline`.
|
|
3401
|
+
*
|
|
3402
|
+
* @default '' - meaning no override
|
|
3403
|
+
*/
|
|
3404
|
+
paddingInlineEnd?: PaddingKeyword$1 | '';
|
|
3199
3405
|
children?: ComponentChildren;
|
|
3200
3406
|
}
|
|
3201
3407
|
declare global {
|
|
3202
3408
|
interface HTMLElementTagNameMap {
|
|
3203
|
-
[tagName$
|
|
3409
|
+
[tagName$m]: BoxJSXProps;
|
|
3204
3410
|
}
|
|
3205
3411
|
}
|
|
3206
3412
|
declare module 'preact' {
|
|
3207
3413
|
namespace createElement.JSX {
|
|
3208
3414
|
interface IntrinsicElements {
|
|
3209
|
-
[tagName$
|
|
3415
|
+
[tagName$m]: BoxJSXProps & BaseElementPropsWithChildren<BoxJSXProps>;
|
|
3210
3416
|
}
|
|
3211
3417
|
}
|
|
3212
3418
|
}
|
|
3213
3419
|
|
|
3214
|
-
declare const tagName$
|
|
3420
|
+
declare const tagName$l = 's-icon';
|
|
3215
3421
|
type SupportedIconNames = Extract<
|
|
3216
3422
|
IconProps['type'],
|
|
3423
|
+
| 'alert-circle'
|
|
3424
|
+
| 'apps'
|
|
3217
3425
|
| 'arrow-down'
|
|
3218
3426
|
| 'arrow-left'
|
|
3219
3427
|
| 'arrow-right'
|
|
3220
3428
|
| 'arrow-up'
|
|
3221
|
-
| 'apps'
|
|
3222
|
-
| 'analytics'
|
|
3223
3429
|
| 'backspace'
|
|
3224
|
-
| '
|
|
3225
|
-
| '
|
|
3226
|
-
| '
|
|
3227
|
-
| '
|
|
3430
|
+
| 'barcode'
|
|
3431
|
+
| 'battery-low'
|
|
3432
|
+
| 'bolt-filled'
|
|
3433
|
+
| 'bullet'
|
|
3434
|
+
| 'camera-flip'
|
|
3435
|
+
| 'caret-down'
|
|
3436
|
+
| 'caret-up'
|
|
3228
3437
|
| 'cart'
|
|
3438
|
+
| 'cart-down'
|
|
3229
3439
|
| 'cart-filled'
|
|
3440
|
+
| 'cart-send'
|
|
3441
|
+
| 'cart-up'
|
|
3442
|
+
| 'chart-line'
|
|
3443
|
+
| 'chart-vertical'
|
|
3230
3444
|
| 'check'
|
|
3231
|
-
| 'check-circle'
|
|
3232
|
-
| 'alert-circle'
|
|
3233
|
-
| 'info'
|
|
3234
|
-
| 'phone'
|
|
3235
|
-
| 'edit'
|
|
3236
|
-
| 'delete'
|
|
3237
|
-
| 'settings'
|
|
3238
|
-
| 'search'
|
|
3239
|
-
| 'print'
|
|
3240
|
-
| 'refresh'
|
|
3241
|
-
| 'help'
|
|
3242
|
-
| 'plus'
|
|
3243
|
-
| 'minus'
|
|
3244
|
-
| 'email'
|
|
3245
|
-
| 'gift-card'
|
|
3246
|
-
| 'discount'
|
|
3247
|
-
| 'receipt'
|
|
3445
|
+
| 'check-circle-filled'
|
|
3248
3446
|
| 'chevron-down'
|
|
3249
3447
|
| 'chevron-left'
|
|
3250
3448
|
| 'chevron-right'
|
|
3251
3449
|
| 'chevron-up'
|
|
3252
|
-
| '
|
|
3450
|
+
| 'circle'
|
|
3451
|
+
| 'clipboard-checklist'
|
|
3452
|
+
| 'clock'
|
|
3453
|
+
| 'collection'
|
|
3454
|
+
| 'credit-card'
|
|
3455
|
+
| 'credit-card-reader'
|
|
3456
|
+
| 'delete'
|
|
3457
|
+
| 'delivery'
|
|
3458
|
+
| 'desktop'
|
|
3459
|
+
| 'disabled'
|
|
3460
|
+
| 'disabled-filled'
|
|
3461
|
+
| 'discount'
|
|
3462
|
+
| 'discount-add'
|
|
3463
|
+
| 'discount-automatic'
|
|
3464
|
+
| 'discount-code'
|
|
3465
|
+
| 'discount-remove'
|
|
3466
|
+
| 'drag-handle'
|
|
3467
|
+
| 'drawer'
|
|
3468
|
+
| 'duplicate'
|
|
3469
|
+
| 'edit'
|
|
3470
|
+
| 'email'
|
|
3471
|
+
| 'exchange'
|
|
3472
|
+
| 'external'
|
|
3473
|
+
| 'flag'
|
|
3474
|
+
| 'gift-card'
|
|
3475
|
+
| 'graduation-hat'
|
|
3476
|
+
| 'grid'
|
|
3477
|
+
| 'hide-filled'
|
|
3253
3478
|
| 'home'
|
|
3479
|
+
| 'home-filled'
|
|
3480
|
+
| 'image'
|
|
3481
|
+
| 'images'
|
|
3482
|
+
| 'info'
|
|
3483
|
+
| 'inventory'
|
|
3484
|
+
| 'inventory-edit'
|
|
3485
|
+
| 'inventory-list'
|
|
3486
|
+
| 'inventory-transfer'
|
|
3487
|
+
| 'keyboard-hide'
|
|
3488
|
+
| 'keypad'
|
|
3489
|
+
| 'link'
|
|
3490
|
+
| 'list-bulleted'
|
|
3491
|
+
| 'list-bulleted-filled'
|
|
3492
|
+
| 'live'
|
|
3493
|
+
| 'live-critical'
|
|
3494
|
+
| 'live-none'
|
|
3254
3495
|
| 'location'
|
|
3255
|
-
| '
|
|
3256
|
-
| '
|
|
3257
|
-
| '
|
|
3258
|
-
| '
|
|
3259
|
-
| '
|
|
3260
|
-
| '
|
|
3496
|
+
| 'lock'
|
|
3497
|
+
| 'maximize'
|
|
3498
|
+
| 'menu'
|
|
3499
|
+
| 'menu-filled'
|
|
3500
|
+
| 'menu-horizontal'
|
|
3501
|
+
| 'minimize'
|
|
3502
|
+
| 'minus'
|
|
3503
|
+
| 'mobile'
|
|
3504
|
+
| 'money'
|
|
3505
|
+
| 'money-split'
|
|
3506
|
+
| 'note'
|
|
3507
|
+
| 'order'
|
|
3508
|
+
| 'order-draft'
|
|
3509
|
+
| 'order-filled'
|
|
3510
|
+
| 'package'
|
|
3511
|
+
| 'package-cancel'
|
|
3512
|
+
| 'package-reassign'
|
|
3513
|
+
| 'payment'
|
|
3514
|
+
| 'person'
|
|
3515
|
+
| 'person-add'
|
|
3516
|
+
| 'person-filled'
|
|
3517
|
+
| 'phablet'
|
|
3518
|
+
| 'phone-out'
|
|
3519
|
+
| 'play-circle'
|
|
3520
|
+
| 'plus'
|
|
3521
|
+
| 'point-of-sale'
|
|
3522
|
+
| 'point-of-sale-register'
|
|
3523
|
+
| 'print'
|
|
3524
|
+
| 'product'
|
|
3525
|
+
| 'product-filled'
|
|
3526
|
+
| 'profile'
|
|
3527
|
+
| 'question-circle-filled'
|
|
3528
|
+
| 'receipt'
|
|
3529
|
+
| 'refresh'
|
|
3530
|
+
| 'return'
|
|
3531
|
+
| 'scan-qr-code'
|
|
3532
|
+
| 'search'
|
|
3533
|
+
| 'send'
|
|
3534
|
+
| 'settings'
|
|
3535
|
+
| 'shipping-label-cancel'
|
|
3536
|
+
| 'sort'
|
|
3537
|
+
| 'star-circle'
|
|
3538
|
+
| 'star-filled'
|
|
3539
|
+
| 'store'
|
|
3540
|
+
| 'tablet'
|
|
3541
|
+
| 'transaction-fee-add'
|
|
3542
|
+
| 'unlock'
|
|
3543
|
+
| 'variant'
|
|
3544
|
+
| 'view'
|
|
3545
|
+
| 'wallet'
|
|
3546
|
+
| 'x'
|
|
3547
|
+
| 'x-circle'
|
|
3261
3548
|
>;
|
|
3262
3549
|
interface IconJSXProps extends Pick<IconProps, 'tone' | 'color' | 'size'> {
|
|
3263
3550
|
/**
|
|
@@ -3268,18 +3555,19 @@ interface IconJSXProps extends Pick<IconProps, 'tone' | 'color' | 'size'> {
|
|
|
3268
3555
|
}
|
|
3269
3556
|
declare global {
|
|
3270
3557
|
interface HTMLElementTagNameMap {
|
|
3271
|
-
[tagName$
|
|
3558
|
+
[tagName$l]: IconJSXProps;
|
|
3272
3559
|
}
|
|
3273
3560
|
}
|
|
3274
3561
|
declare module 'preact' {
|
|
3275
3562
|
namespace createElement.JSX {
|
|
3276
3563
|
interface IntrinsicElements {
|
|
3277
|
-
[tagName$
|
|
3564
|
+
[tagName$l]: IconJSXProps & BaseElementProps<IconJSXProps>;
|
|
3278
3565
|
}
|
|
3279
3566
|
}
|
|
3280
3567
|
}
|
|
3281
3568
|
|
|
3282
|
-
declare const tagName$
|
|
3569
|
+
declare const tagName$k = 's-stack';
|
|
3570
|
+
type PaddingKeyword = SizeKeyword | 'none';
|
|
3283
3571
|
type PickedProps$2 = Pick<
|
|
3284
3572
|
StackProps,
|
|
3285
3573
|
| 'alignItems'
|
|
@@ -3294,16 +3582,82 @@ type PickedProps$2 = Pick<
|
|
|
3294
3582
|
| 'minInlineSize'
|
|
3295
3583
|
| 'inlineSize'
|
|
3296
3584
|
| 'justifyContent'
|
|
3297
|
-
| 'padding'
|
|
3298
|
-
| 'paddingBlock'
|
|
3299
|
-
| 'paddingBlockStart'
|
|
3300
|
-
| 'paddingBlockEnd'
|
|
3301
|
-
| 'paddingInline'
|
|
3302
|
-
| 'paddingInlineStart'
|
|
3303
|
-
| 'paddingInlineEnd'
|
|
3304
3585
|
| 'rowGap'
|
|
3305
3586
|
>;
|
|
3306
3587
|
interface StackJSXProps extends PickedProps$2 {
|
|
3588
|
+
/**
|
|
3589
|
+
* Adjust the padding of all edges.
|
|
3590
|
+
*
|
|
3591
|
+
* [1-to-4-value syntax](https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#edges_of_a_box) is
|
|
3592
|
+
* supported. Note that, contrary to the CSS, it uses flow-relative values and the order is:
|
|
3593
|
+
*
|
|
3594
|
+
* - 4 values: `block-start inline-end block-end inline-start`
|
|
3595
|
+
* - 3 values: `block-start inline block-end`
|
|
3596
|
+
* - 2 values: `block inline`
|
|
3597
|
+
*
|
|
3598
|
+
* For example:
|
|
3599
|
+
* - `large` means block-start, inline-end, block-end and inline-start paddings are `large`.
|
|
3600
|
+
* - `large none` means block-start and block-end paddings are `large`, inline-start and inline-end paddings are `none`.
|
|
3601
|
+
* - `large none large` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `none`.
|
|
3602
|
+
* - `large none large small` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `small`.
|
|
3603
|
+
*
|
|
3604
|
+
* A padding value of `auto` will use the default padding for the closest container that has had its usual padding removed.
|
|
3605
|
+
*
|
|
3606
|
+
* @default 'none'
|
|
3607
|
+
*/
|
|
3608
|
+
padding?: MaybeAllValuesShorthandProperty<PaddingKeyword>;
|
|
3609
|
+
/**
|
|
3610
|
+
* Adjust the block-padding.
|
|
3611
|
+
*
|
|
3612
|
+
* - `large none` means block-start padding is `large`, block-end padding is `none`.
|
|
3613
|
+
*
|
|
3614
|
+
* This overrides the block value of `padding`.
|
|
3615
|
+
*
|
|
3616
|
+
* @default '' - meaning no override
|
|
3617
|
+
*/
|
|
3618
|
+
paddingBlock?: MaybeTwoValuesShorthandProperty<PaddingKeyword | ''>;
|
|
3619
|
+
/**
|
|
3620
|
+
* Adjust the block-start padding.
|
|
3621
|
+
*
|
|
3622
|
+
* This overrides the block-start value of `paddingBlock`.
|
|
3623
|
+
*
|
|
3624
|
+
* @default '' - meaning no override
|
|
3625
|
+
*/
|
|
3626
|
+
paddingBlockStart?: PaddingKeyword | '';
|
|
3627
|
+
/**
|
|
3628
|
+
* Adjust the block-end padding.
|
|
3629
|
+
*
|
|
3630
|
+
* This overrides the block-end value of `paddingBlock`.
|
|
3631
|
+
*
|
|
3632
|
+
* @default '' - meaning no override
|
|
3633
|
+
*/
|
|
3634
|
+
paddingBlockEnd?: PaddingKeyword | '';
|
|
3635
|
+
/**
|
|
3636
|
+
* Adjust the inline padding.
|
|
3637
|
+
*
|
|
3638
|
+
* - `large none` means inline-start padding is `large`, inline-end padding is `none`.
|
|
3639
|
+
*
|
|
3640
|
+
* This overrides the inline value of `padding`.
|
|
3641
|
+
*
|
|
3642
|
+
* @default '' - meaning no override
|
|
3643
|
+
*/
|
|
3644
|
+
paddingInline?: MaybeTwoValuesShorthandProperty<PaddingKeyword | ''>;
|
|
3645
|
+
/**
|
|
3646
|
+
* Adjust the inline-start padding.
|
|
3647
|
+
*
|
|
3648
|
+
* This overrides the inline-start value of `paddingInline`.
|
|
3649
|
+
*
|
|
3650
|
+
* @default '' - meaning no override
|
|
3651
|
+
*/
|
|
3652
|
+
paddingInlineStart?: PaddingKeyword | '';
|
|
3653
|
+
/**
|
|
3654
|
+
* Adjust the inline-end padding.
|
|
3655
|
+
*
|
|
3656
|
+
* This overrides the inline-end value of `paddingInline`.
|
|
3657
|
+
*
|
|
3658
|
+
* @default '' - meaning no override
|
|
3659
|
+
*/
|
|
3660
|
+
paddingInlineEnd?: PaddingKeyword | '';
|
|
3307
3661
|
children?: ComponentChildren;
|
|
3308
3662
|
/**
|
|
3309
3663
|
* Adjust the block size.
|
|
@@ -3353,95 +3707,95 @@ interface StackJSXProps extends PickedProps$2 {
|
|
|
3353
3707
|
}
|
|
3354
3708
|
declare global {
|
|
3355
3709
|
interface HTMLElementTagNameMap {
|
|
3356
|
-
[tagName$
|
|
3710
|
+
[tagName$k]: StackJSXProps;
|
|
3357
3711
|
}
|
|
3358
3712
|
}
|
|
3359
3713
|
declare module 'preact' {
|
|
3360
3714
|
namespace createElement.JSX {
|
|
3361
3715
|
interface IntrinsicElements {
|
|
3362
|
-
[tagName$
|
|
3716
|
+
[tagName$k]: StackJSXProps & BaseElementPropsWithChildren<StackJSXProps>;
|
|
3363
3717
|
}
|
|
3364
3718
|
}
|
|
3365
3719
|
}
|
|
3366
3720
|
|
|
3367
|
-
declare const tagName$
|
|
3721
|
+
declare const tagName$j = 's-badge';
|
|
3368
3722
|
interface BadgeJSXProps extends Pick<BadgeProps, 'id'> {
|
|
3369
3723
|
tone?: Extract<
|
|
3370
3724
|
BadgeProps['tone'],
|
|
3371
|
-
'auto' | 'neutral' | 'info' | 'success' | 'warning' | 'critical'
|
|
3725
|
+
'auto' | 'neutral' | 'info' | 'success' | 'warning' | 'critical' | 'caution'
|
|
3372
3726
|
>;
|
|
3373
3727
|
children?: ComponentChildren;
|
|
3374
3728
|
}
|
|
3375
3729
|
declare global {
|
|
3376
3730
|
interface HTMLElementTagNameMap {
|
|
3377
|
-
[tagName$
|
|
3731
|
+
[tagName$j]: BadgeJSXProps;
|
|
3378
3732
|
}
|
|
3379
3733
|
}
|
|
3380
3734
|
declare module 'preact' {
|
|
3381
3735
|
namespace createElement.JSX {
|
|
3382
3736
|
interface IntrinsicElements {
|
|
3383
|
-
[tagName$
|
|
3737
|
+
[tagName$j]: BadgeJSXProps & BaseElementPropsWithChildren<BadgeJSXProps>;
|
|
3384
3738
|
}
|
|
3385
3739
|
}
|
|
3386
3740
|
}
|
|
3387
3741
|
|
|
3388
|
-
declare const tagName$
|
|
3742
|
+
declare const tagName$i = 's-choice-list';
|
|
3389
3743
|
interface ChoiceListJSXProps
|
|
3390
3744
|
extends Pick<ChoiceListProps, 'values' | 'multiple'> {
|
|
3391
|
-
onChange?: ((event: CallbackEvent<typeof tagName$
|
|
3392
|
-
onInput?: ((event: CallbackEvent<typeof tagName$
|
|
3745
|
+
onChange?: ((event: CallbackEvent<typeof tagName$i>) => void) | null;
|
|
3746
|
+
onInput?: ((event: CallbackEvent<typeof tagName$i>) => void) | null;
|
|
3393
3747
|
children?: ComponentChildren;
|
|
3394
3748
|
}
|
|
3395
3749
|
declare global {
|
|
3396
3750
|
interface HTMLElementTagNameMap {
|
|
3397
|
-
[tagName$
|
|
3751
|
+
[tagName$i]: ChoiceListJSXProps;
|
|
3398
3752
|
}
|
|
3399
3753
|
}
|
|
3400
3754
|
declare module 'preact' {
|
|
3401
3755
|
namespace createElement.JSX {
|
|
3402
3756
|
interface IntrinsicElements {
|
|
3403
|
-
[tagName$
|
|
3757
|
+
[tagName$i]: ChoiceListJSXProps &
|
|
3404
3758
|
BaseElementPropsWithChildren<ChoiceListJSXProps>;
|
|
3405
3759
|
}
|
|
3406
3760
|
}
|
|
3407
3761
|
}
|
|
3408
3762
|
|
|
3409
|
-
declare const tagName$
|
|
3763
|
+
declare const tagName$h = 's-choice';
|
|
3410
3764
|
interface ChoiceJSXProps
|
|
3411
3765
|
extends Pick<ChoiceProps, 'value' | 'disabled' | 'selected'> {
|
|
3412
3766
|
children?: ComponentChildren;
|
|
3413
3767
|
}
|
|
3414
3768
|
declare global {
|
|
3415
3769
|
interface HTMLElementTagNameMap {
|
|
3416
|
-
[tagName$
|
|
3770
|
+
[tagName$h]: ChoiceJSXProps;
|
|
3417
3771
|
}
|
|
3418
3772
|
}
|
|
3419
3773
|
declare module 'preact' {
|
|
3420
3774
|
namespace createElement.JSX {
|
|
3421
3775
|
interface IntrinsicElements {
|
|
3422
|
-
[tagName$
|
|
3776
|
+
[tagName$h]: ChoiceJSXProps &
|
|
3423
3777
|
BaseElementPropsWithChildren<ChoiceJSXProps>;
|
|
3424
3778
|
}
|
|
3425
3779
|
}
|
|
3426
3780
|
}
|
|
3427
3781
|
|
|
3428
|
-
declare const tagName$
|
|
3782
|
+
declare const tagName$g = 's-modal';
|
|
3429
3783
|
interface ModalJSXProps extends Pick<ModalProps, 'id' | 'heading'> {
|
|
3430
3784
|
primaryAction?: ComponentChild;
|
|
3431
3785
|
secondaryActions?: ComponentChild;
|
|
3432
|
-
onHide?: (event: CallbackEvent<typeof tagName$
|
|
3433
|
-
onShow?: (event: CallbackEvent<typeof tagName$
|
|
3786
|
+
onHide?: (event: CallbackEvent<typeof tagName$g>) => void | null;
|
|
3787
|
+
onShow?: (event: CallbackEvent<typeof tagName$g>) => void | null;
|
|
3434
3788
|
children?: ReactNode;
|
|
3435
3789
|
}
|
|
3436
3790
|
declare global {
|
|
3437
3791
|
interface HTMLElementTagNameMap {
|
|
3438
|
-
[tagName$
|
|
3792
|
+
[tagName$g]: ModalJSXProps;
|
|
3439
3793
|
}
|
|
3440
3794
|
}
|
|
3441
3795
|
declare module 'preact' {
|
|
3442
3796
|
namespace createElement.JSX {
|
|
3443
3797
|
interface IntrinsicElements {
|
|
3444
|
-
[tagName$
|
|
3798
|
+
[tagName$g]: Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'> &
|
|
3445
3799
|
BaseElementPropsWithChildren<
|
|
3446
3800
|
Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'>
|
|
3447
3801
|
>;
|
|
@@ -3449,7 +3803,7 @@ declare module 'preact' {
|
|
|
3449
3803
|
}
|
|
3450
3804
|
}
|
|
3451
3805
|
|
|
3452
|
-
declare const tagName$
|
|
3806
|
+
declare const tagName$f = 's-text-field';
|
|
3453
3807
|
interface TextFieldJSXProps
|
|
3454
3808
|
extends Pick<
|
|
3455
3809
|
TextFieldProps,
|
|
@@ -3462,52 +3816,49 @@ interface TextFieldJSXProps
|
|
|
3462
3816
|
| 'required'
|
|
3463
3817
|
| 'maxLength'
|
|
3464
3818
|
> {
|
|
3465
|
-
onInput?: ((event: CallbackEvent<typeof tagName$
|
|
3466
|
-
onFocus?: ((event: CallbackEvent<typeof tagName$
|
|
3467
|
-
onBlur?: ((event: CallbackEvent<typeof tagName$
|
|
3468
|
-
onChange?: ((event: CallbackEvent<typeof tagName$
|
|
3819
|
+
onInput?: ((event: CallbackEvent<typeof tagName$f>) => void) | null;
|
|
3820
|
+
onFocus?: ((event: CallbackEvent<typeof tagName$f>) => void) | null;
|
|
3821
|
+
onBlur?: ((event: CallbackEvent<typeof tagName$f>) => void) | null;
|
|
3822
|
+
onChange?: ((event: CallbackEvent<typeof tagName$f>) => void) | null;
|
|
3469
3823
|
accessory?: ComponentChild;
|
|
3470
3824
|
}
|
|
3471
3825
|
declare global {
|
|
3472
3826
|
interface HTMLElementTagNameMap {
|
|
3473
|
-
[tagName$
|
|
3827
|
+
[tagName$f]: TextFieldJSXProps;
|
|
3474
3828
|
}
|
|
3475
3829
|
}
|
|
3476
3830
|
declare module 'preact' {
|
|
3477
3831
|
namespace createElement.JSX {
|
|
3478
3832
|
interface IntrinsicElements {
|
|
3479
|
-
[tagName$
|
|
3833
|
+
[tagName$f]: Omit<TextFieldJSXProps, 'accessory'> &
|
|
3480
3834
|
BaseElementPropsWithChildren<Omit<TextFieldJSXProps, 'accessory'>>;
|
|
3481
3835
|
}
|
|
3482
3836
|
}
|
|
3483
3837
|
}
|
|
3484
3838
|
|
|
3485
|
-
declare const tagName$
|
|
3839
|
+
declare const tagName$e = 's-search-field';
|
|
3486
3840
|
interface SearchFieldJSXProps
|
|
3487
|
-
extends Pick<
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
>
|
|
3491
|
-
|
|
3492
|
-
onBlur?: ((event: CallbackEvent<typeof tagName$c>) => void) | null;
|
|
3493
|
-
onInput?: ((event: CallbackEvent<typeof tagName$c>) => void) | null;
|
|
3494
|
-
onChange?: ((event: CallbackEvent<typeof tagName$c>) => void) | null;
|
|
3841
|
+
extends Pick<SearchFieldProps, 'disabled' | 'placeholder' | 'value'> {
|
|
3842
|
+
onFocus?: ((event: CallbackEvent<typeof tagName$e>) => void) | null;
|
|
3843
|
+
onBlur?: ((event: CallbackEvent<typeof tagName$e>) => void) | null;
|
|
3844
|
+
onInput?: ((event: CallbackEvent<typeof tagName$e>) => void) | null;
|
|
3845
|
+
onChange?: ((event: CallbackEvent<typeof tagName$e>) => void) | null;
|
|
3495
3846
|
}
|
|
3496
3847
|
declare global {
|
|
3497
3848
|
interface HTMLElementTagNameMap {
|
|
3498
|
-
[tagName$
|
|
3849
|
+
[tagName$e]: SearchFieldJSXProps;
|
|
3499
3850
|
}
|
|
3500
3851
|
}
|
|
3501
3852
|
declare module 'preact' {
|
|
3502
3853
|
namespace createElement.JSX {
|
|
3503
3854
|
interface IntrinsicElements {
|
|
3504
|
-
[tagName$
|
|
3855
|
+
[tagName$e]: SearchFieldJSXProps &
|
|
3505
3856
|
BaseElementPropsWithChildren<SearchFieldJSXProps>;
|
|
3506
3857
|
}
|
|
3507
3858
|
}
|
|
3508
3859
|
}
|
|
3509
3860
|
|
|
3510
|
-
declare const tagName$
|
|
3861
|
+
declare const tagName$d = 's-email-field';
|
|
3511
3862
|
interface EmailFieldJSXProps
|
|
3512
3863
|
extends Pick<
|
|
3513
3864
|
EmailFieldProps,
|
|
@@ -3520,46 +3871,46 @@ interface EmailFieldJSXProps
|
|
|
3520
3871
|
| 'maxLength'
|
|
3521
3872
|
| 'details'
|
|
3522
3873
|
> {
|
|
3523
|
-
onInput?: ((event: CallbackEvent<typeof tagName$
|
|
3524
|
-
onFocus?: ((event: CallbackEvent<typeof tagName$
|
|
3525
|
-
onBlur?: ((event: CallbackEvent<typeof tagName$
|
|
3526
|
-
onChange?: ((event: CallbackEvent<typeof tagName$
|
|
3874
|
+
onInput?: ((event: CallbackEvent<typeof tagName$d>) => void) | null;
|
|
3875
|
+
onFocus?: ((event: CallbackEvent<typeof tagName$d>) => void) | null;
|
|
3876
|
+
onBlur?: ((event: CallbackEvent<typeof tagName$d>) => void) | null;
|
|
3877
|
+
onChange?: ((event: CallbackEvent<typeof tagName$d>) => void) | null;
|
|
3527
3878
|
accessory?: ComponentChild;
|
|
3528
3879
|
}
|
|
3529
3880
|
declare global {
|
|
3530
3881
|
interface HTMLElementTagNameMap {
|
|
3531
|
-
[tagName$
|
|
3882
|
+
[tagName$d]: EmailFieldJSXProps;
|
|
3532
3883
|
}
|
|
3533
3884
|
}
|
|
3534
3885
|
declare module 'preact' {
|
|
3535
3886
|
namespace createElement.JSX {
|
|
3536
3887
|
interface IntrinsicElements {
|
|
3537
|
-
[tagName$
|
|
3888
|
+
[tagName$d]: Omit<EmailFieldJSXProps, 'accessory'> &
|
|
3538
3889
|
BaseElementPropsWithChildren<Omit<EmailFieldJSXProps, 'accessory'>>;
|
|
3539
3890
|
}
|
|
3540
3891
|
}
|
|
3541
3892
|
}
|
|
3542
3893
|
|
|
3543
|
-
declare const tagName$
|
|
3894
|
+
declare const tagName$c = 's-clickable';
|
|
3544
3895
|
interface ClickableJSXProps extends Pick<ClickableProps, 'disabled'> {
|
|
3545
3896
|
children?: ComponentChildren;
|
|
3546
|
-
onClick?: (event: CallbackEvent<typeof tagName$
|
|
3897
|
+
onClick?: (event: CallbackEvent<typeof tagName$c>) => void;
|
|
3547
3898
|
}
|
|
3548
3899
|
declare global {
|
|
3549
3900
|
interface HTMLElementTagNameMap {
|
|
3550
|
-
[tagName$
|
|
3901
|
+
[tagName$c]: ClickableJSXProps;
|
|
3551
3902
|
}
|
|
3552
3903
|
}
|
|
3553
3904
|
declare module 'preact' {
|
|
3554
3905
|
namespace createElement.JSX {
|
|
3555
3906
|
interface IntrinsicElements {
|
|
3556
|
-
[tagName$
|
|
3907
|
+
[tagName$c]: ClickableJSXProps &
|
|
3557
3908
|
BaseElementPropsWithChildren<ClickableJSXProps>;
|
|
3558
3909
|
}
|
|
3559
3910
|
}
|
|
3560
3911
|
}
|
|
3561
3912
|
|
|
3562
|
-
declare const tagName$
|
|
3913
|
+
declare const tagName$b = 's-text-area';
|
|
3563
3914
|
interface TextAreaJSXProps
|
|
3564
3915
|
extends Pick<
|
|
3565
3916
|
TextAreaProps,
|
|
@@ -3573,27 +3924,27 @@ interface TextAreaJSXProps
|
|
|
3573
3924
|
| 'maxLength'
|
|
3574
3925
|
| 'rows'
|
|
3575
3926
|
> {
|
|
3576
|
-
onInput?: ((event: CallbackEvent<typeof tagName$
|
|
3577
|
-
onFocus?: ((event: CallbackEvent<typeof tagName$
|
|
3578
|
-
onBlur?: ((event: CallbackEvent<typeof tagName$
|
|
3579
|
-
onChange?: ((event: CallbackEvent<typeof tagName$
|
|
3927
|
+
onInput?: ((event: CallbackEvent<typeof tagName$b>) => void) | null;
|
|
3928
|
+
onFocus?: ((event: CallbackEvent<typeof tagName$b>) => void) | null;
|
|
3929
|
+
onBlur?: ((event: CallbackEvent<typeof tagName$b>) => void) | null;
|
|
3930
|
+
onChange?: ((event: CallbackEvent<typeof tagName$b>) => void) | null;
|
|
3580
3931
|
accessory?: ComponentChild;
|
|
3581
3932
|
}
|
|
3582
3933
|
declare global {
|
|
3583
3934
|
interface HTMLElementTagNameMap {
|
|
3584
|
-
[tagName$
|
|
3935
|
+
[tagName$b]: TextAreaJSXProps;
|
|
3585
3936
|
}
|
|
3586
3937
|
}
|
|
3587
3938
|
declare module 'preact' {
|
|
3588
3939
|
namespace createElement.JSX {
|
|
3589
3940
|
interface IntrinsicElements {
|
|
3590
|
-
[tagName$
|
|
3941
|
+
[tagName$b]: Omit<TextAreaJSXProps, 'accessory'> &
|
|
3591
3942
|
BaseElementPropsWithChildren<Omit<TextAreaJSXProps, 'accessory'>>;
|
|
3592
3943
|
}
|
|
3593
3944
|
}
|
|
3594
3945
|
}
|
|
3595
3946
|
|
|
3596
|
-
declare const tagName$
|
|
3947
|
+
declare const tagName$a = 's-number-field';
|
|
3597
3948
|
interface PickedJSXProps
|
|
3598
3949
|
extends Pick<
|
|
3599
3950
|
NumberFieldProps,
|
|
@@ -3609,10 +3960,10 @@ interface PickedJSXProps
|
|
|
3609
3960
|
| 'controls'
|
|
3610
3961
|
> {
|
|
3611
3962
|
inputMode?: Extract<NumberFieldProps['inputMode'], 'decimal' | 'numeric'>;
|
|
3612
|
-
onInput?: ((event: CallbackEvent<typeof tagName$
|
|
3613
|
-
onFocus?: ((event: CallbackEvent<typeof tagName$
|
|
3614
|
-
onBlur?: ((event: CallbackEvent<typeof tagName$
|
|
3615
|
-
onChange?: ((event: CallbackEvent<typeof tagName$
|
|
3963
|
+
onInput?: ((event: CallbackEvent<typeof tagName$a>) => void) | null;
|
|
3964
|
+
onFocus?: ((event: CallbackEvent<typeof tagName$a>) => void) | null;
|
|
3965
|
+
onBlur?: ((event: CallbackEvent<typeof tagName$a>) => void) | null;
|
|
3966
|
+
onChange?: ((event: CallbackEvent<typeof tagName$a>) => void) | null;
|
|
3616
3967
|
accessory?: ComponentChild;
|
|
3617
3968
|
}
|
|
3618
3969
|
interface NumberFieldJSXProps extends PickedJSXProps {
|
|
@@ -3686,87 +4037,87 @@ interface NumberFieldJSXProps extends PickedJSXProps {
|
|
|
3686
4037
|
}
|
|
3687
4038
|
declare global {
|
|
3688
4039
|
interface HTMLElementTagNameMap {
|
|
3689
|
-
[tagName$
|
|
4040
|
+
[tagName$a]: NumberFieldJSXProps;
|
|
3690
4041
|
}
|
|
3691
4042
|
}
|
|
3692
4043
|
declare module 'preact' {
|
|
3693
4044
|
namespace createElement.JSX {
|
|
3694
4045
|
interface IntrinsicElements {
|
|
3695
|
-
[tagName$
|
|
4046
|
+
[tagName$a]: Omit<NumberFieldJSXProps, 'accessory'> &
|
|
3696
4047
|
BaseElementPropsWithChildren<Omit<NumberFieldJSXProps, 'accessory'>>;
|
|
3697
4048
|
}
|
|
3698
4049
|
}
|
|
3699
4050
|
}
|
|
3700
4051
|
|
|
3701
|
-
declare const tagName$
|
|
4052
|
+
declare const tagName$9 = 's-date-field';
|
|
3702
4053
|
interface DateFieldJSXProps
|
|
3703
4054
|
extends Pick<
|
|
3704
4055
|
DateFieldProps,
|
|
3705
4056
|
'label' | 'details' | 'value' | 'disabled' | 'error'
|
|
3706
4057
|
> {
|
|
3707
|
-
onInput?: ((event: CallbackEvent<typeof tagName$
|
|
3708
|
-
onFocus?: ((event: CallbackEvent<typeof tagName$
|
|
3709
|
-
onBlur?: ((event: CallbackEvent<typeof tagName$
|
|
3710
|
-
onChange?: ((event: CallbackEvent<typeof tagName$
|
|
4058
|
+
onInput?: ((event: CallbackEvent<typeof tagName$9>) => void) | null;
|
|
4059
|
+
onFocus?: ((event: CallbackEvent<typeof tagName$9>) => void) | null;
|
|
4060
|
+
onBlur?: ((event: CallbackEvent<typeof tagName$9>) => void) | null;
|
|
4061
|
+
onChange?: ((event: CallbackEvent<typeof tagName$9>) => void) | null;
|
|
3711
4062
|
accessory?: ComponentChild;
|
|
3712
4063
|
}
|
|
3713
4064
|
declare global {
|
|
3714
4065
|
interface HTMLElementTagNameMap {
|
|
3715
|
-
[tagName$
|
|
4066
|
+
[tagName$9]: DateFieldJSXProps;
|
|
3716
4067
|
}
|
|
3717
4068
|
}
|
|
3718
4069
|
declare module 'preact' {
|
|
3719
4070
|
namespace createElement.JSX {
|
|
3720
4071
|
interface IntrinsicElements {
|
|
3721
|
-
[tagName$
|
|
4072
|
+
[tagName$9]: Omit<DateFieldJSXProps, 'accessory'> &
|
|
3722
4073
|
BaseElementPropsWithChildren<Omit<DateFieldJSXProps, 'accessory'>>;
|
|
3723
4074
|
}
|
|
3724
4075
|
}
|
|
3725
4076
|
}
|
|
3726
4077
|
|
|
3727
|
-
declare const tagName$
|
|
4078
|
+
declare const tagName$8 = 's-date-picker';
|
|
3728
4079
|
interface DatePickerJSXProps extends Pick<DatePickerProps, 'id' | 'value'> {
|
|
3729
|
-
onBlur?: (event: CallbackEvent<typeof tagName$
|
|
3730
|
-
onFocus?: (event: CallbackEvent<typeof tagName$
|
|
3731
|
-
onChange?: (event: CallbackEvent<typeof tagName$
|
|
3732
|
-
onInput?: (event: CallbackEvent<typeof tagName$
|
|
4080
|
+
onBlur?: (event: CallbackEvent<typeof tagName$8>) => void | null;
|
|
4081
|
+
onFocus?: (event: CallbackEvent<typeof tagName$8>) => void | null;
|
|
4082
|
+
onChange?: (event: CallbackEvent<typeof tagName$8>) => void | null;
|
|
4083
|
+
onInput?: (event: CallbackEvent<typeof tagName$8>) => void | null;
|
|
3733
4084
|
}
|
|
3734
4085
|
declare global {
|
|
3735
4086
|
interface HTMLElementTagNameMap {
|
|
3736
|
-
[tagName$
|
|
4087
|
+
[tagName$8]: DatePickerJSXProps;
|
|
3737
4088
|
}
|
|
3738
4089
|
}
|
|
3739
4090
|
declare module 'preact' {
|
|
3740
4091
|
namespace createElement.JSX {
|
|
3741
4092
|
interface IntrinsicElements {
|
|
3742
|
-
[tagName$
|
|
4093
|
+
[tagName$8]: DatePickerJSXProps &
|
|
3743
4094
|
BaseElementPropsWithChildren<DatePickerJSXProps>;
|
|
3744
4095
|
}
|
|
3745
4096
|
}
|
|
3746
4097
|
}
|
|
3747
4098
|
|
|
3748
|
-
declare const tagName$
|
|
4099
|
+
declare const tagName$7 = 's-date-spinner';
|
|
3749
4100
|
interface DateSpinnerJSXProps extends Pick<DateSpinnerProps, 'id' | 'value'> {
|
|
3750
|
-
onBlur?: (event: CallbackEvent<typeof tagName$
|
|
3751
|
-
onFocus?: (event: CallbackEvent<typeof tagName$
|
|
3752
|
-
onChange?: (event: CallbackEvent<typeof tagName$
|
|
3753
|
-
onInput?: (event: CallbackEvent<typeof tagName$
|
|
4101
|
+
onBlur?: (event: CallbackEvent<typeof tagName$7>) => void | null;
|
|
4102
|
+
onFocus?: (event: CallbackEvent<typeof tagName$7>) => void | null;
|
|
4103
|
+
onChange?: (event: CallbackEvent<typeof tagName$7>) => void | null;
|
|
4104
|
+
onInput?: (event: CallbackEvent<typeof tagName$7>) => void | null;
|
|
3754
4105
|
}
|
|
3755
4106
|
declare global {
|
|
3756
4107
|
interface HTMLElementTagNameMap {
|
|
3757
|
-
[tagName$
|
|
4108
|
+
[tagName$7]: DateSpinnerJSXProps;
|
|
3758
4109
|
}
|
|
3759
4110
|
}
|
|
3760
4111
|
declare module 'preact' {
|
|
3761
4112
|
namespace createElement.JSX {
|
|
3762
4113
|
interface IntrinsicElements {
|
|
3763
|
-
[tagName$
|
|
4114
|
+
[tagName$7]: DateSpinnerJSXProps &
|
|
3764
4115
|
BaseElementPropsWithChildren<DateSpinnerJSXProps>;
|
|
3765
4116
|
}
|
|
3766
4117
|
}
|
|
3767
4118
|
}
|
|
3768
4119
|
|
|
3769
|
-
declare const tagName$
|
|
4120
|
+
declare const tagName$6 = 's-section';
|
|
3770
4121
|
interface SectionJSXProps extends Pick<SectionProps, 'children'> {
|
|
3771
4122
|
secondaryActions?: ComponentChild;
|
|
3772
4123
|
/**
|
|
@@ -3780,58 +4131,58 @@ interface SectionJSXProps extends Pick<SectionProps, 'children'> {
|
|
|
3780
4131
|
}
|
|
3781
4132
|
declare global {
|
|
3782
4133
|
interface HTMLElementTagNameMap {
|
|
3783
|
-
[tagName$
|
|
4134
|
+
[tagName$6]: SectionJSXProps;
|
|
3784
4135
|
}
|
|
3785
4136
|
}
|
|
3786
4137
|
declare module 'preact' {
|
|
3787
4138
|
namespace createElement.JSX {
|
|
3788
4139
|
interface IntrinsicElements {
|
|
3789
|
-
[tagName$
|
|
4140
|
+
[tagName$6]: Omit<SectionJSXProps, 'secondaryActions'> &
|
|
3790
4141
|
BaseElementPropsWithChildren<Omit<SectionJSXProps, 'secondaryActions'>>;
|
|
3791
4142
|
}
|
|
3792
4143
|
}
|
|
3793
4144
|
}
|
|
3794
4145
|
|
|
3795
|
-
declare const tagName$
|
|
4146
|
+
declare const tagName$5 = 's-heading';
|
|
3796
4147
|
interface HeadingJSXProps {
|
|
3797
4148
|
children?: ComponentChildren;
|
|
3798
4149
|
}
|
|
3799
4150
|
declare global {
|
|
3800
4151
|
interface HTMLElementTagNameMap {
|
|
3801
|
-
[tagName$
|
|
4152
|
+
[tagName$5]: HeadingJSXProps;
|
|
3802
4153
|
}
|
|
3803
4154
|
}
|
|
3804
4155
|
declare module 'preact' {
|
|
3805
4156
|
namespace createElement.JSX {
|
|
3806
4157
|
interface IntrinsicElements {
|
|
3807
|
-
[tagName$
|
|
4158
|
+
[tagName$5]: HeadingJSXProps &
|
|
3808
4159
|
BaseElementPropsWithChildren<HeadingJSXProps>;
|
|
3809
4160
|
}
|
|
3810
4161
|
}
|
|
3811
4162
|
}
|
|
3812
4163
|
|
|
3813
|
-
declare const tagName$
|
|
4164
|
+
declare const tagName$4 = 's-time-picker';
|
|
3814
4165
|
interface TimePickerJSXProps extends Pick<TimePickerProps, 'id' | 'value'> {
|
|
3815
|
-
onBlur?: (event: CallbackEvent<typeof tagName$
|
|
3816
|
-
onFocus?: (event: CallbackEvent<typeof tagName$
|
|
3817
|
-
onChange?: (event: CallbackEvent<typeof tagName$
|
|
3818
|
-
onInput?: (event: CallbackEvent<typeof tagName$
|
|
4166
|
+
onBlur?: (event: CallbackEvent<typeof tagName$4>) => void | null;
|
|
4167
|
+
onFocus?: (event: CallbackEvent<typeof tagName$4>) => void | null;
|
|
4168
|
+
onChange?: (event: CallbackEvent<typeof tagName$4>) => void | null;
|
|
4169
|
+
onInput?: (event: CallbackEvent<typeof tagName$4>) => void | null;
|
|
3819
4170
|
}
|
|
3820
4171
|
declare global {
|
|
3821
4172
|
interface HTMLElementTagNameMap {
|
|
3822
|
-
[tagName$
|
|
4173
|
+
[tagName$4]: TimePickerJSXProps;
|
|
3823
4174
|
}
|
|
3824
4175
|
}
|
|
3825
4176
|
declare module 'preact' {
|
|
3826
4177
|
namespace createElement.JSX {
|
|
3827
4178
|
interface IntrinsicElements {
|
|
3828
|
-
[tagName$
|
|
4179
|
+
[tagName$4]: TimePickerJSXProps &
|
|
3829
4180
|
BaseElementPropsWithChildren<TimePickerJSXProps>;
|
|
3830
4181
|
}
|
|
3831
4182
|
}
|
|
3832
4183
|
}
|
|
3833
4184
|
|
|
3834
|
-
declare const tagName$
|
|
4185
|
+
declare const tagName$3 = 's-image';
|
|
3835
4186
|
type PickedProps$1 = Pick<ImageProps, 'src' | 'inlineSize' | 'objectFit'>;
|
|
3836
4187
|
interface ImageJSXProps extends PickedProps$1 {
|
|
3837
4188
|
children?: ComponentChildren;
|
|
@@ -3853,18 +4204,18 @@ interface ImageJSXProps extends PickedProps$1 {
|
|
|
3853
4204
|
}
|
|
3854
4205
|
declare global {
|
|
3855
4206
|
interface HTMLElementTagNameMap {
|
|
3856
|
-
[tagName$
|
|
4207
|
+
[tagName$3]: ImageJSXProps;
|
|
3857
4208
|
}
|
|
3858
4209
|
}
|
|
3859
4210
|
declare module 'preact' {
|
|
3860
4211
|
namespace createElement.JSX {
|
|
3861
4212
|
interface IntrinsicElements {
|
|
3862
|
-
[tagName$
|
|
4213
|
+
[tagName$3]: ImageJSXProps & BaseElementPropsWithChildren<ImageJSXProps>;
|
|
3863
4214
|
}
|
|
3864
4215
|
}
|
|
3865
4216
|
}
|
|
3866
4217
|
|
|
3867
|
-
declare const tagName = 's-page';
|
|
4218
|
+
declare const tagName$2 = 's-page';
|
|
3868
4219
|
type PickedProps = Pick<
|
|
3869
4220
|
PageProps,
|
|
3870
4221
|
'heading' | 'subheading' | 'secondaryActions'
|
|
@@ -3876,13 +4227,13 @@ interface PageJSXProps extends PickedProps {
|
|
|
3876
4227
|
}
|
|
3877
4228
|
declare global {
|
|
3878
4229
|
interface HTMLElementTagNameMap {
|
|
3879
|
-
[tagName]: PageJSXProps;
|
|
4230
|
+
[tagName$2]: PageJSXProps;
|
|
3880
4231
|
}
|
|
3881
4232
|
}
|
|
3882
4233
|
declare module 'preact' {
|
|
3883
4234
|
namespace createElement.JSX {
|
|
3884
4235
|
interface IntrinsicElements {
|
|
3885
|
-
[tagName]: Omit<PageJSXProps, 'primaryAction' | 'secondaryActions'> &
|
|
4236
|
+
[tagName$2]: Omit<PageJSXProps, 'primaryAction' | 'secondaryActions'> &
|
|
3886
4237
|
BaseElementPropsWithChildren<
|
|
3887
4238
|
Omit<PageJSXProps, 'primaryAction' | 'secondaryActions'>
|
|
3888
4239
|
>;
|
|
@@ -3890,6 +4241,59 @@ declare module 'preact' {
|
|
|
3890
4241
|
}
|
|
3891
4242
|
}
|
|
3892
4243
|
|
|
4244
|
+
declare const tagName$1 = 's-time-field';
|
|
4245
|
+
interface TimeFieldJSXProps
|
|
4246
|
+
extends Pick<
|
|
4247
|
+
TimeFieldProps,
|
|
4248
|
+
'id' | 'label' | 'disabled' | 'value' | 'error' | 'details'
|
|
4249
|
+
> {
|
|
4250
|
+
onBlur?: (event: CallbackEvent<typeof tagName$1>) => void | null;
|
|
4251
|
+
onFocus?: (event: CallbackEvent<typeof tagName$1>) => void | null;
|
|
4252
|
+
onInput?: (event: CallbackEvent<typeof tagName$1>) => void | null;
|
|
4253
|
+
onChange?: (event: CallbackEvent<typeof tagName$1>) => void | null;
|
|
4254
|
+
}
|
|
4255
|
+
declare global {
|
|
4256
|
+
interface HTMLElementTagNameMap {
|
|
4257
|
+
[tagName$1]: TimeFieldJSXProps;
|
|
4258
|
+
}
|
|
4259
|
+
}
|
|
4260
|
+
declare module 'preact' {
|
|
4261
|
+
namespace createElement.JSX {
|
|
4262
|
+
interface IntrinsicElements {
|
|
4263
|
+
[tagName$1]: TimeFieldJSXProps &
|
|
4264
|
+
BaseElementPropsWithChildren<TimeFieldJSXProps>;
|
|
4265
|
+
}
|
|
4266
|
+
}
|
|
4267
|
+
}
|
|
4268
|
+
|
|
4269
|
+
declare const tagName = 's-pos-block';
|
|
4270
|
+
interface PosBlockJSXProps extends Pick<SectionProps, 'children'> {
|
|
4271
|
+
secondaryActions?: ComponentChild;
|
|
4272
|
+
/**
|
|
4273
|
+
* Adds title text displayed at the top left of the section
|
|
4274
|
+
*
|
|
4275
|
+
* **Mobile surfaces:** Uses the standard POS Design System heading style for a section (not h2).
|
|
4276
|
+
*
|
|
4277
|
+
* @default undefined
|
|
4278
|
+
*/
|
|
4279
|
+
heading?: string;
|
|
4280
|
+
}
|
|
4281
|
+
declare global {
|
|
4282
|
+
interface HTMLElementTagNameMap {
|
|
4283
|
+
[tagName]: PosBlockJSXProps;
|
|
4284
|
+
}
|
|
4285
|
+
}
|
|
4286
|
+
declare module 'preact' {
|
|
4287
|
+
namespace createElement.JSX {
|
|
4288
|
+
interface IntrinsicElements {
|
|
4289
|
+
[tagName]: Omit<PosBlockJSXProps, 'secondaryActions'> &
|
|
4290
|
+
BaseElementPropsWithChildren<
|
|
4291
|
+
Omit<PosBlockJSXProps, 'secondaryActions'>
|
|
4292
|
+
>;
|
|
4293
|
+
}
|
|
4294
|
+
}
|
|
4295
|
+
}
|
|
4296
|
+
|
|
3893
4297
|
export type {
|
|
3894
4298
|
BadgeJSXProps,
|
|
3895
4299
|
BannerJSXProps,
|
|
@@ -3909,6 +4313,7 @@ export type {
|
|
|
3909
4313
|
NavigatorJSXProps,
|
|
3910
4314
|
NumberFieldJSXProps,
|
|
3911
4315
|
PageJSXProps,
|
|
4316
|
+
PosBlockJSXProps,
|
|
3912
4317
|
ScreenJSXProps,
|
|
3913
4318
|
ScrollBoxJSXProps,
|
|
3914
4319
|
SearchFieldJSXProps,
|
|
@@ -3918,11 +4323,19 @@ export type {
|
|
|
3918
4323
|
TextFieldJSXProps,
|
|
3919
4324
|
TextJSXProps,
|
|
3920
4325
|
TileJSXProps,
|
|
4326
|
+
TimeFieldJSXProps,
|
|
3921
4327
|
TimePickerJSXProps,
|
|
3922
4328
|
};
|
|
3923
4329
|
|
|
3924
4330
|
interface Badge {
|
|
3925
|
-
tone?:
|
|
4331
|
+
tone?:
|
|
4332
|
+
| 'auto'
|
|
4333
|
+
| 'neutral'
|
|
4334
|
+
| 'info'
|
|
4335
|
+
| 'success'
|
|
4336
|
+
| 'caution'
|
|
4337
|
+
| 'warning'
|
|
4338
|
+
| 'critical';
|
|
3926
4339
|
/** A unique identifier for the element. */
|
|
3927
4340
|
id?: string;
|
|
3928
4341
|
}
|
|
@@ -3973,7 +4386,7 @@ interface Box {
|
|
|
3973
4386
|
* A padding value of `auto` will use the default padding for the closest container that has had its usual padding removed.
|
|
3974
4387
|
* @default 'none'
|
|
3975
4388
|
*/
|
|
3976
|
-
padding?: MaybeAllValuesShorthandProperty<
|
|
4389
|
+
padding?: MaybeAllValuesShorthandProperty<PaddingKeyword>;
|
|
3977
4390
|
/**
|
|
3978
4391
|
* Adjust the block-padding.
|
|
3979
4392
|
*
|
|
@@ -3982,21 +4395,21 @@ interface Box {
|
|
|
3982
4395
|
* This overrides the block value of `padding`.
|
|
3983
4396
|
* @default '' - meaning no override
|
|
3984
4397
|
*/
|
|
3985
|
-
paddingBlock?: '' |
|
|
4398
|
+
paddingBlock?: MaybeTwoValuesShorthandProperty<'' | PaddingKeyword>;
|
|
3986
4399
|
/**
|
|
3987
4400
|
* Adjust the block-start padding.
|
|
3988
4401
|
*
|
|
3989
4402
|
* This overrides the block-start value of `paddingBlock`.
|
|
3990
4403
|
* @default '' - meaning no override
|
|
3991
4404
|
*/
|
|
3992
|
-
paddingBlockStart?: '' |
|
|
4405
|
+
paddingBlockStart?: '' | PaddingKeyword;
|
|
3993
4406
|
/**
|
|
3994
4407
|
* Adjust the block-end padding.
|
|
3995
4408
|
*
|
|
3996
4409
|
* This overrides the block-end value of `paddingBlock`.
|
|
3997
4410
|
* @default '' - meaning no override
|
|
3998
4411
|
*/
|
|
3999
|
-
paddingBlockEnd?: '' |
|
|
4412
|
+
paddingBlockEnd?: '' | PaddingKeyword;
|
|
4000
4413
|
/**
|
|
4001
4414
|
* Adjust the inline padding.
|
|
4002
4415
|
*
|
|
@@ -4005,57 +4418,57 @@ interface Box {
|
|
|
4005
4418
|
* This overrides the inline value of `padding`.
|
|
4006
4419
|
* @default '' - meaning no override
|
|
4007
4420
|
*/
|
|
4008
|
-
paddingInline?: '' |
|
|
4421
|
+
paddingInline?: MaybeTwoValuesShorthandProperty<'' | PaddingKeyword>;
|
|
4009
4422
|
/**
|
|
4010
4423
|
* Adjust the inline-start padding.
|
|
4011
4424
|
*
|
|
4012
4425
|
* This overrides the inline-start value of `paddingInline`.
|
|
4013
4426
|
* @default '' - meaning no override
|
|
4014
4427
|
*/
|
|
4015
|
-
paddingInlineStart?: '' |
|
|
4428
|
+
paddingInlineStart?: '' | PaddingKeyword;
|
|
4016
4429
|
/**
|
|
4017
4430
|
* Adjust the inline-end padding.
|
|
4018
4431
|
*
|
|
4019
4432
|
* This overrides the inline-end value of `paddingInline`.
|
|
4020
4433
|
* @default '' - meaning no override
|
|
4021
4434
|
*/
|
|
4022
|
-
paddingInlineEnd?: '' |
|
|
4435
|
+
paddingInlineEnd?: '' | PaddingKeyword;
|
|
4023
4436
|
/**
|
|
4024
4437
|
* Adjust the block size.
|
|
4025
4438
|
* @see ://developer.mozilla.org/en-US/docs/Web/CSS/block-size
|
|
4026
4439
|
* @default 'auto'
|
|
4027
4440
|
*/
|
|
4028
|
-
blockSize?: SizeUnitsOrAuto
|
|
4441
|
+
blockSize?: MaybeResponsive<SizeUnitsOrAuto>;
|
|
4029
4442
|
/**
|
|
4030
4443
|
* Adjust the minimum block size.
|
|
4031
4444
|
* @see ://developer.mozilla.org/en-US/docs/Web/CSS/min-block-size
|
|
4032
4445
|
* @default '0'
|
|
4033
4446
|
*/
|
|
4034
|
-
minBlockSize?: SizeUnits
|
|
4447
|
+
minBlockSize?: MaybeResponsive<SizeUnits>;
|
|
4035
4448
|
/**
|
|
4036
4449
|
* Adjust the maximum block size.
|
|
4037
4450
|
* @see ://developer.mozilla.org/en-US/docs/Web/CSS/max-block-size
|
|
4038
4451
|
* @default 'none'
|
|
4039
4452
|
*/
|
|
4040
|
-
maxBlockSize?: SizeUnitsOrNone
|
|
4453
|
+
maxBlockSize?: MaybeResponsive<SizeUnitsOrNone>;
|
|
4041
4454
|
/**
|
|
4042
4455
|
* Adjust the inline size.
|
|
4043
4456
|
* @see ://developer.mozilla.org/en-US/docs/Web/CSS/inline-size
|
|
4044
4457
|
* @default 'auto'
|
|
4045
4458
|
*/
|
|
4046
|
-
inlineSize?: SizeUnitsOrAuto
|
|
4459
|
+
inlineSize?: MaybeResponsive<SizeUnitsOrAuto>;
|
|
4047
4460
|
/**
|
|
4048
4461
|
* Adjust the minimum inline size.
|
|
4049
4462
|
* @see ://developer.mozilla.org/en-US/docs/Web/CSS/min-inline-size
|
|
4050
4463
|
* @default '0'
|
|
4051
4464
|
*/
|
|
4052
|
-
minInlineSize?: SizeUnits
|
|
4465
|
+
minInlineSize?: MaybeResponsive<SizeUnits>;
|
|
4053
4466
|
/**
|
|
4054
4467
|
* Adjust the maximum inline size.
|
|
4055
4468
|
* @see ://developer.mozilla.org/en-US/docs/Web/CSS/max-inline-size
|
|
4056
4469
|
* @default 'none'
|
|
4057
4470
|
*/
|
|
4058
|
-
maxInlineSize?: SizeUnitsOrNone
|
|
4471
|
+
maxInlineSize?: MaybeResponsive<SizeUnitsOrNone>;
|
|
4059
4472
|
}
|
|
4060
4473
|
|
|
4061
4474
|
interface ButtonEvents {
|
|
@@ -4066,7 +4479,7 @@ interface Button {
|
|
|
4066
4479
|
tone?: 'auto' | 'neutral' | 'caution' | 'warning' | 'critical';
|
|
4067
4480
|
variant?: 'primary' | 'secondary';
|
|
4068
4481
|
/**
|
|
4069
|
-
* Disables the
|
|
4482
|
+
* Disables the Button meaning it cannot be clicked or receive focus.
|
|
4070
4483
|
* @default false
|
|
4071
4484
|
*/
|
|
4072
4485
|
disabled?: boolean;
|
|
@@ -4094,7 +4507,7 @@ interface Button {
|
|
|
4094
4507
|
/**
|
|
4095
4508
|
* Replaces content with a loading indicator while a background action is being performed.
|
|
4096
4509
|
*
|
|
4097
|
-
* This also disables the
|
|
4510
|
+
* This also disables the Button.
|
|
4098
4511
|
* @default false
|
|
4099
4512
|
*/
|
|
4100
4513
|
loading?: boolean;
|
|
@@ -4477,6 +4890,20 @@ interface Page {
|
|
|
4477
4890
|
subheading?: string;
|
|
4478
4891
|
}
|
|
4479
4892
|
|
|
4893
|
+
interface PosBlockSlots {
|
|
4894
|
+
'secondary-actions'?: HTMLElement;
|
|
4895
|
+
}
|
|
4896
|
+
|
|
4897
|
+
interface PosBlock {
|
|
4898
|
+
/**
|
|
4899
|
+
* Adds title text displayed at the top left of the section
|
|
4900
|
+
*
|
|
4901
|
+
* **Mobile surfaces:** Uses the standard POS Design System heading style for a section (not h2).
|
|
4902
|
+
* @default undefined
|
|
4903
|
+
*/
|
|
4904
|
+
heading?: string;
|
|
4905
|
+
}
|
|
4906
|
+
|
|
4480
4907
|
interface ScreenEvents {
|
|
4481
4908
|
/** Triggered when the screen is navigated to. */
|
|
4482
4909
|
navigate?: () => void;
|
|
@@ -4523,11 +4950,6 @@ interface SearchField {
|
|
|
4523
4950
|
* @default false
|
|
4524
4951
|
*/
|
|
4525
4952
|
disabled?: boolean;
|
|
4526
|
-
/**
|
|
4527
|
-
* The default value for the field.
|
|
4528
|
-
* @implementation `defaultValue` reflects to the `value` attribute.
|
|
4529
|
-
*/
|
|
4530
|
-
defaultValue?: string;
|
|
4531
4953
|
/** A short hint that describes the expected value of the field. */
|
|
4532
4954
|
placeholder?: string;
|
|
4533
4955
|
/** The current value for the field. If omitted, the field will be empty. */
|
|
@@ -4549,53 +4971,119 @@ interface Section {
|
|
|
4549
4971
|
}
|
|
4550
4972
|
|
|
4551
4973
|
interface Stack {
|
|
4974
|
+
/**
|
|
4975
|
+
* Adjust the padding of all edges.
|
|
4976
|
+
*
|
|
4977
|
+
* [1-to-4-value syntax](https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#edges_of_a_box) is
|
|
4978
|
+
* supported. Note that, contrary to the CSS, it uses flow-relative values and the order is:
|
|
4979
|
+
*
|
|
4980
|
+
* - 4 values: `block-start inline-end block-end inline-start`
|
|
4981
|
+
* - 3 values: `block-start inline block-end`
|
|
4982
|
+
* - 2 values: `block inline`
|
|
4983
|
+
*
|
|
4984
|
+
* For example:
|
|
4985
|
+
* - `large` means block-start, inline-end, block-end and inline-start paddings are `large`.
|
|
4986
|
+
* - `large none` means block-start and block-end paddings are `large`, inline-start and inline-end paddings are `none`.
|
|
4987
|
+
* - `large none large` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `none`.
|
|
4988
|
+
* - `large none large small` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `small`.
|
|
4989
|
+
*
|
|
4990
|
+
* A padding value of `auto` will use the default padding for the closest container that has had its usual padding removed.
|
|
4991
|
+
* @default 'none'
|
|
4992
|
+
*/
|
|
4993
|
+
padding?: MaybeAllValuesShorthandProperty<PaddingKeyword>;
|
|
4994
|
+
/**
|
|
4995
|
+
* Adjust the block-padding.
|
|
4996
|
+
*
|
|
4997
|
+
* - `large none` means block-start padding is `large`, block-end padding is `none`.
|
|
4998
|
+
*
|
|
4999
|
+
* This overrides the block value of `padding`.
|
|
5000
|
+
* @default '' - meaning no override
|
|
5001
|
+
*/
|
|
5002
|
+
paddingBlock?: MaybeTwoValuesShorthandProperty<'' | PaddingKeyword>;
|
|
5003
|
+
/**
|
|
5004
|
+
* Adjust the block-start padding.
|
|
5005
|
+
*
|
|
5006
|
+
* This overrides the block-start value of `paddingBlock`.
|
|
5007
|
+
* @default '' - meaning no override
|
|
5008
|
+
*/
|
|
5009
|
+
paddingBlockStart?: '' | PaddingKeyword;
|
|
5010
|
+
/**
|
|
5011
|
+
* Adjust the block-end padding.
|
|
5012
|
+
*
|
|
5013
|
+
* This overrides the block-end value of `paddingBlock`.
|
|
5014
|
+
* @default '' - meaning no override
|
|
5015
|
+
*/
|
|
5016
|
+
paddingBlockEnd?: '' | PaddingKeyword;
|
|
5017
|
+
/**
|
|
5018
|
+
* Adjust the inline padding.
|
|
5019
|
+
*
|
|
5020
|
+
* - `large none` means inline-start padding is `large`, inline-end padding is `none`.
|
|
5021
|
+
*
|
|
5022
|
+
* This overrides the inline value of `padding`.
|
|
5023
|
+
* @default '' - meaning no override
|
|
5024
|
+
*/
|
|
5025
|
+
paddingInline?: MaybeTwoValuesShorthandProperty<'' | PaddingKeyword>;
|
|
5026
|
+
/**
|
|
5027
|
+
* Adjust the inline-start padding.
|
|
5028
|
+
*
|
|
5029
|
+
* This overrides the inline-start value of `paddingInline`.
|
|
5030
|
+
* @default '' - meaning no override
|
|
5031
|
+
*/
|
|
5032
|
+
paddingInlineStart?: '' | PaddingKeyword;
|
|
5033
|
+
/**
|
|
5034
|
+
* Adjust the inline-end padding.
|
|
5035
|
+
*
|
|
5036
|
+
* This overrides the inline-end value of `paddingInline`.
|
|
5037
|
+
* @default '' - meaning no override
|
|
5038
|
+
*/
|
|
5039
|
+
paddingInlineEnd?: '' | PaddingKeyword;
|
|
4552
5040
|
/**
|
|
4553
5041
|
* Adjust the block size.
|
|
4554
5042
|
* **Mobile surfaces:** Avoid using percentage-based sizes. They do not behave as expected when placed within a scrollable container.
|
|
4555
5043
|
* @see ://developer.mozilla.org/en-US/docs/Web/CSS/block-size
|
|
4556
5044
|
* @default 'auto'
|
|
4557
5045
|
*/
|
|
4558
|
-
blockSize?: SizeUnitsOrAuto
|
|
5046
|
+
blockSize?: MaybeResponsive<SizeUnitsOrAuto>;
|
|
4559
5047
|
/**
|
|
4560
5048
|
* Adjust the maximum block size.
|
|
4561
5049
|
* **Mobile surfaces:** Avoid using percentage-based sizes. They do not behave as expected when placed within a scrollable container.
|
|
4562
5050
|
* @see ://developer.mozilla.org/en-US/docs/Web/CSS/max-block-size
|
|
4563
5051
|
* @default 'none'
|
|
4564
5052
|
*/
|
|
4565
|
-
maxBlockSize?: SizeUnitsOrNone
|
|
5053
|
+
maxBlockSize?: MaybeResponsive<SizeUnitsOrNone>;
|
|
4566
5054
|
/**
|
|
4567
5055
|
* Adjust the maximum inline size.
|
|
4568
5056
|
* **Mobile surfaces:** Avoid using percentage-based sizes. They do not behave as expected when placed within a scrollable container.
|
|
4569
5057
|
* @see ://developer.mozilla.org/en-US/docs/Web/CSS/max-inline-size
|
|
4570
5058
|
* @default 'none'
|
|
4571
5059
|
*/
|
|
4572
|
-
maxInlineSize?: SizeUnitsOrNone
|
|
5060
|
+
maxInlineSize?: MaybeResponsive<SizeUnitsOrNone>;
|
|
4573
5061
|
/**
|
|
4574
5062
|
* Adjust the minimum block size.
|
|
4575
5063
|
* **Mobile surfaces:** Avoid using percentage-based sizes. They do not behave as expected when placed within a scrollable container.
|
|
4576
5064
|
* @see ://developer.mozilla.org/en-US/docs/Web/CSS/min-block-size
|
|
4577
5065
|
* @default '0'
|
|
4578
5066
|
*/
|
|
4579
|
-
minBlockSize?: SizeUnits
|
|
5067
|
+
minBlockSize?: MaybeResponsive<SizeUnits>;
|
|
4580
5068
|
/**
|
|
4581
5069
|
* Adjust the minimum inline size.
|
|
4582
5070
|
* **Mobile surfaces:** Avoid using percentage-based sizes. They do not behave as expected when placed within a scrollable container.
|
|
4583
5071
|
* @see ://developer.mozilla.org/en-US/docs/Web/CSS/min-inline-size
|
|
4584
5072
|
* @default '0'
|
|
4585
5073
|
*/
|
|
4586
|
-
minInlineSize?: SizeUnits
|
|
5074
|
+
minInlineSize?: MaybeResponsive<SizeUnits>;
|
|
4587
5075
|
/**
|
|
4588
5076
|
* Aligns the Stack's children along the cross axis.
|
|
4589
5077
|
* @see ://developer.mozilla.org/en-US/docs/Web/CSS/align-items
|
|
4590
5078
|
* @default 'normal'
|
|
4591
5079
|
*/
|
|
4592
|
-
alignItems?: AlignItemsKeyword
|
|
5080
|
+
alignItems?: MaybeResponsive<AlignItemsKeyword>;
|
|
4593
5081
|
/**
|
|
4594
5082
|
* Aligns the Stack along the cross axis.
|
|
4595
5083
|
* @see ://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
4596
5084
|
* @default 'normal'
|
|
4597
5085
|
*/
|
|
4598
|
-
alignContent?: AlignContentKeyword
|
|
5086
|
+
alignContent?: MaybeResponsive<AlignContentKeyword>;
|
|
4599
5087
|
/**
|
|
4600
5088
|
* Adjust spacing between elements.
|
|
4601
5089
|
*
|
|
@@ -4603,105 +5091,39 @@ interface Stack {
|
|
|
4603
5091
|
* A pair of values (eg `large-100 large-500`) can be used to set the inline and block axes respectively.
|
|
4604
5092
|
* @default 'none'
|
|
4605
5093
|
*/
|
|
4606
|
-
gap?: MaybeTwoValuesShorthandProperty<SpacingKeyword
|
|
5094
|
+
gap?: MaybeResponsive<MaybeTwoValuesShorthandProperty<SpacingKeyword>>;
|
|
4607
5095
|
/**
|
|
4608
5096
|
* Adjust spacing between elements in the inline axis.
|
|
4609
5097
|
*
|
|
4610
5098
|
* This overrides the column value of `gap`.
|
|
4611
5099
|
* @default '' - meaning no override
|
|
4612
5100
|
*/
|
|
4613
|
-
columnGap?: '' | SpacingKeyword
|
|
5101
|
+
columnGap?: MaybeResponsive<'' | SpacingKeyword>;
|
|
4614
5102
|
/**
|
|
4615
|
-
* Sets how the children are placed within the Stack.
|
|
5103
|
+
* Sets how the children are placed within the Stack. This uses [logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
|
|
4616
5104
|
* @default 'block'
|
|
4617
5105
|
* @implementation the content will wrap if the direction is 'inline', and not wrap if the direction is 'block'
|
|
4618
5106
|
*/
|
|
4619
|
-
direction?: 'block' | 'inline'
|
|
5107
|
+
direction?: MaybeResponsive<'block' | 'inline'>;
|
|
4620
5108
|
/**
|
|
4621
5109
|
* Adjust the inline size.
|
|
4622
5110
|
* @see ://developer.mozilla.org/en-US/docs/Web/CSS/inline-size
|
|
4623
5111
|
* @default 'auto'
|
|
4624
5112
|
*/
|
|
4625
|
-
inlineSize?: SizeUnitsOrAuto
|
|
5113
|
+
inlineSize?: MaybeResponsive<SizeUnitsOrAuto>;
|
|
4626
5114
|
/**
|
|
4627
5115
|
* Aligns the Stack along the main axis.
|
|
4628
5116
|
* @see ://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
|
|
4629
5117
|
* @default 'normal'
|
|
4630
5118
|
*/
|
|
4631
|
-
justifyContent?: JustifyContentKeyword
|
|
4632
|
-
/**
|
|
4633
|
-
* Adjust the padding of all edges.
|
|
4634
|
-
*
|
|
4635
|
-
* [1-to-4-value syntax](https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#edges_of_a_box) is
|
|
4636
|
-
* supported. Note that, contrary to the CSS, it uses flow-relative values and the order is:
|
|
4637
|
-
*
|
|
4638
|
-
* - 4 values: `block-start inline-end block-end inline-start`
|
|
4639
|
-
* - 3 values: `block-start inline block-end`
|
|
4640
|
-
* - 2 values: `block inline`
|
|
4641
|
-
*
|
|
4642
|
-
* For example:
|
|
4643
|
-
* - `large` means block-start, inline-end, block-end and inline-start paddings are `large`.
|
|
4644
|
-
* - `large none` means block-start and block-end paddings are `large`, inline-start and inline-end paddings are `none`.
|
|
4645
|
-
* - `large none large` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `none`.
|
|
4646
|
-
* - `large none large small` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `small`.
|
|
4647
|
-
*
|
|
4648
|
-
* A padding value of `auto` will use the default padding for the closest container that has had its usual padding removed.
|
|
4649
|
-
* @default 'none'
|
|
4650
|
-
*/
|
|
4651
|
-
padding?: MaybeAllValuesShorthandProperty<'none' | SizeKeyword>;
|
|
4652
|
-
/**
|
|
4653
|
-
* Adjust the block-padding.
|
|
4654
|
-
*
|
|
4655
|
-
* - `large none` means block-start padding is `large`, block-end padding is `none`.
|
|
4656
|
-
*
|
|
4657
|
-
* This overrides the block value of `padding`.
|
|
4658
|
-
* @default '' - meaning no override
|
|
4659
|
-
*/
|
|
4660
|
-
paddingBlock?: '' | MaybeTwoValuesShorthandProperty<'none' | SizeKeyword>;
|
|
4661
|
-
/**
|
|
4662
|
-
* Adjust the block-start padding.
|
|
4663
|
-
*
|
|
4664
|
-
* This overrides the block-start value of `paddingBlock`.
|
|
4665
|
-
* @default '' - meaning no override
|
|
4666
|
-
*/
|
|
4667
|
-
paddingBlockStart?: '' | ('none' | SizeKeyword);
|
|
4668
|
-
/**
|
|
4669
|
-
* Adjust the block-end padding.
|
|
4670
|
-
*
|
|
4671
|
-
* This overrides the block-end value of `paddingBlock`.
|
|
4672
|
-
* @default '' - meaning no override
|
|
4673
|
-
*/
|
|
4674
|
-
paddingBlockEnd?: '' | ('none' | SizeKeyword);
|
|
4675
|
-
/**
|
|
4676
|
-
* Adjust the inline padding.
|
|
4677
|
-
*
|
|
4678
|
-
* - `large none` means inline-start padding is `large`, inline-end padding is `none`.
|
|
4679
|
-
*
|
|
4680
|
-
* This overrides the inline value of `padding`.
|
|
4681
|
-
* @default '' - meaning no override
|
|
4682
|
-
*/
|
|
4683
|
-
paddingInline?: '' | MaybeTwoValuesShorthandProperty<'none' | SizeKeyword>;
|
|
4684
|
-
/**
|
|
4685
|
-
* Adjust the inline-start padding.
|
|
4686
|
-
*
|
|
4687
|
-
* This overrides the inline-start value of `paddingInline`.
|
|
4688
|
-
* @default '' - meaning no override
|
|
4689
|
-
*/
|
|
4690
|
-
paddingInlineStart?: '' | ('none' | SizeKeyword);
|
|
4691
|
-
/**
|
|
4692
|
-
* Adjust the inline-end padding.
|
|
4693
|
-
*
|
|
4694
|
-
* This overrides the inline-end value of `paddingInline`.
|
|
4695
|
-
* @default '' - meaning no override
|
|
4696
|
-
*/
|
|
4697
|
-
paddingInlineEnd?: '' | ('none' | SizeKeyword);
|
|
5119
|
+
justifyContent?: MaybeResponsive<JustifyContentKeyword>;
|
|
4698
5120
|
/**
|
|
4699
5121
|
* Adjust spacing between elements in the block axis.
|
|
4700
5122
|
*
|
|
4701
5123
|
* This overrides the row value of `gap`.
|
|
4702
5124
|
* @default '' - meaning no override
|
|
4703
5125
|
*/
|
|
4704
|
-
rowGap?: '' | SpacingKeyword
|
|
5126
|
+
rowGap?: MaybeResponsive<'' | SpacingKeyword>;
|
|
4705
5127
|
}
|
|
4706
5128
|
|
|
4707
5129
|
interface Text {
|
|
@@ -4830,12 +5252,12 @@ interface TileEvents {
|
|
|
4830
5252
|
|
|
4831
5253
|
interface Tile {
|
|
4832
5254
|
/**
|
|
4833
|
-
* Disables the
|
|
5255
|
+
* Disables the Button meaning it cannot be clicked or receive focus.
|
|
4834
5256
|
* @default false
|
|
4835
5257
|
*/
|
|
4836
5258
|
disabled?: boolean;
|
|
4837
5259
|
/**
|
|
4838
|
-
*
|
|
5260
|
+
* A title that describes the content of the Tile.
|
|
4839
5261
|
* @default ''
|
|
4840
5262
|
*/
|
|
4841
5263
|
heading?: string;
|
|
@@ -4845,22 +5267,68 @@ interface Tile {
|
|
|
4845
5267
|
* A numeric indicator rendered within the Tile (for example, a count or a step number).
|
|
4846
5268
|
*
|
|
4847
5269
|
* - When provided, the indicator is displayed inside the tile.
|
|
4848
|
-
* - Intended for small integers.
|
|
4849
|
-
* - Omit to render the tile without a numeric indicator.
|
|
5270
|
+
* - Intended for small integers. It may clamp, truncate, or abbreviate larger values.
|
|
4850
5271
|
*/
|
|
4851
5272
|
itemCount?: number;
|
|
4852
5273
|
/**
|
|
4853
|
-
*
|
|
5274
|
+
* Sets the tone of the Tile, based on the intention of the information being conveyed.
|
|
4854
5275
|
* @default 'auto'
|
|
4855
5276
|
*/
|
|
4856
|
-
tone?: '
|
|
5277
|
+
tone?: ExtractStrict<ToneKeyword, 'auto' | 'neutral' | 'accent'>;
|
|
4857
5278
|
/**
|
|
4858
|
-
*
|
|
5279
|
+
* Supporting text displayed below the heading.
|
|
4859
5280
|
* @default ''
|
|
4860
5281
|
*/
|
|
4861
5282
|
subheading?: string;
|
|
4862
5283
|
}
|
|
4863
5284
|
|
|
5285
|
+
interface TimeFieldEvents {
|
|
5286
|
+
blur?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
5287
|
+
focus?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
5288
|
+
input?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
5289
|
+
change?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
5290
|
+
}
|
|
5291
|
+
|
|
5292
|
+
interface TimeField {
|
|
5293
|
+
/** A unique identifier for the element. */
|
|
5294
|
+
id?: string;
|
|
5295
|
+
/** Content to use as the field label. */
|
|
5296
|
+
label?: string;
|
|
5297
|
+
/**
|
|
5298
|
+
* Disables the field, disallowing any interaction.
|
|
5299
|
+
* @default false
|
|
5300
|
+
*/
|
|
5301
|
+
disabled?: boolean;
|
|
5302
|
+
/**
|
|
5303
|
+
* Current selected value.
|
|
5304
|
+
*
|
|
5305
|
+
* The default, `''`, means no time is selected.
|
|
5306
|
+
*
|
|
5307
|
+
* The value must be a 24-hour time in `HH:mm:ss` format, with leading zeros.
|
|
5308
|
+
*
|
|
5309
|
+
* Examples: `"00:00:00"`, `"09:05:00"`, `"23:59:00"`, `"14:03:30"`.
|
|
5310
|
+
*
|
|
5311
|
+
* This follows the HTML time input value format, which is always 24-hour with
|
|
5312
|
+
* leading zeros regardless of UI presentation.
|
|
5313
|
+
*
|
|
5314
|
+
* See: https://developer.mozilla.org/docs/Web/HTML/Element/input/time
|
|
5315
|
+
*/
|
|
5316
|
+
value?: string;
|
|
5317
|
+
/**
|
|
5318
|
+
* Indicate an error to the user. The field will be given a specific stylistic treatment
|
|
5319
|
+
* to communicate problems that have to be resolved immediately.
|
|
5320
|
+
*/
|
|
5321
|
+
error?: string;
|
|
5322
|
+
/**
|
|
5323
|
+
* Additional text to provide context or guidance for the field.
|
|
5324
|
+
* This text is displayed along with the field and its label
|
|
5325
|
+
* to offer more information or instructions to the user.
|
|
5326
|
+
*
|
|
5327
|
+
* This will also be exposed to screen reader users.
|
|
5328
|
+
*/
|
|
5329
|
+
details?: string;
|
|
5330
|
+
}
|
|
5331
|
+
|
|
4864
5332
|
interface TimePickerEvents {
|
|
4865
5333
|
blur?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
4866
5334
|
focus?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
@@ -4876,7 +5344,14 @@ interface TimePicker {
|
|
|
4876
5344
|
*
|
|
4877
5345
|
* The default, `''`, means no time is selected.
|
|
4878
5346
|
*
|
|
4879
|
-
* The value must be in `HH:
|
|
5347
|
+
* The value must be a 24-hour time in `HH:mm:ss` format, with leading zeros.
|
|
5348
|
+
*
|
|
5349
|
+
* Examples: `"00:00:00"`, `"09:05:00"`, `"23:59:00"`, `"14:03:30"`.
|
|
5350
|
+
*
|
|
5351
|
+
* This follows the HTML time input value format, which is always 24-hour with
|
|
5352
|
+
* leading zeros regardless of UI presentation.
|
|
5353
|
+
*
|
|
5354
|
+
* See: https://developer.mozilla.org/docs/Web/HTML/Element/input/time
|
|
4880
5355
|
*
|
|
4881
5356
|
* If the provided value is invalid, '' is used as the value.
|
|
4882
5357
|
* @default ''
|
|
@@ -4886,7 +5361,7 @@ interface TimePicker {
|
|
|
4886
5361
|
declare module 'react' {
|
|
4887
5362
|
namespace JSX {
|
|
4888
5363
|
interface IntrinsicElements {
|
|
4889
|
-
[tagName$
|
|
5364
|
+
[tagName$t]: ButtonJSXProps &
|
|
4890
5365
|
BaseElementPropsWithChildren<ButtonJSXProps>;
|
|
4891
5366
|
}
|
|
4892
5367
|
}
|
|
@@ -4894,7 +5369,7 @@ declare module 'react' {
|
|
|
4894
5369
|
declare global {
|
|
4895
5370
|
namespace JSX {
|
|
4896
5371
|
interface IntrinsicElements {
|
|
4897
|
-
[tagName$
|
|
5372
|
+
[tagName$t]: ButtonJSXProps &
|
|
4898
5373
|
BaseElementPropsWithChildren<ButtonJSXProps>;
|
|
4899
5374
|
}
|
|
4900
5375
|
}
|
|
@@ -4902,21 +5377,21 @@ declare global {
|
|
|
4902
5377
|
declare module 'react' {
|
|
4903
5378
|
namespace JSX {
|
|
4904
5379
|
interface IntrinsicElements {
|
|
4905
|
-
[tagName$
|
|
5380
|
+
[tagName$s]: TextJSXProps & BaseElementPropsWithChildren<TextJSXProps>;
|
|
4906
5381
|
}
|
|
4907
5382
|
}
|
|
4908
5383
|
}
|
|
4909
5384
|
declare global {
|
|
4910
5385
|
namespace JSX {
|
|
4911
5386
|
interface IntrinsicElements {
|
|
4912
|
-
[tagName$
|
|
5387
|
+
[tagName$s]: TextJSXProps & BaseElementPropsWithChildren<TextJSXProps>;
|
|
4913
5388
|
}
|
|
4914
5389
|
}
|
|
4915
5390
|
}
|
|
4916
5391
|
declare module 'react' {
|
|
4917
5392
|
namespace JSX {
|
|
4918
5393
|
interface IntrinsicElements {
|
|
4919
|
-
[tagName$
|
|
5394
|
+
[tagName$r]: ScrollBoxJSXProps &
|
|
4920
5395
|
BaseElementPropsWithChildren<ScrollBoxJSXProps>;
|
|
4921
5396
|
}
|
|
4922
5397
|
}
|
|
@@ -4924,7 +5399,7 @@ declare module 'react' {
|
|
|
4924
5399
|
declare global {
|
|
4925
5400
|
namespace JSX {
|
|
4926
5401
|
interface IntrinsicElements {
|
|
4927
|
-
[tagName$
|
|
5402
|
+
[tagName$r]: ScrollBoxJSXProps &
|
|
4928
5403
|
BaseElementPropsWithChildren<ScrollBoxJSXProps>;
|
|
4929
5404
|
}
|
|
4930
5405
|
}
|
|
@@ -4932,21 +5407,21 @@ declare global {
|
|
|
4932
5407
|
declare module 'react' {
|
|
4933
5408
|
namespace JSX {
|
|
4934
5409
|
interface IntrinsicElements {
|
|
4935
|
-
[tagName$
|
|
5410
|
+
[tagName$q]: TileJSXProps & BaseElementPropsWithChildren<TileJSXProps>;
|
|
4936
5411
|
}
|
|
4937
5412
|
}
|
|
4938
5413
|
}
|
|
4939
5414
|
declare global {
|
|
4940
5415
|
namespace JSX {
|
|
4941
5416
|
interface IntrinsicElements {
|
|
4942
|
-
[tagName$
|
|
5417
|
+
[tagName$q]: TileJSXProps & BaseElementPropsWithChildren<TileJSXProps>;
|
|
4943
5418
|
}
|
|
4944
5419
|
}
|
|
4945
5420
|
}
|
|
4946
5421
|
declare module 'react' {
|
|
4947
5422
|
namespace JSX {
|
|
4948
5423
|
interface IntrinsicElements {
|
|
4949
|
-
[tagName$
|
|
5424
|
+
[tagName$p]: NavigatorJSXProps &
|
|
4950
5425
|
BaseElementPropsWithChildren<NavigatorJSXProps>;
|
|
4951
5426
|
}
|
|
4952
5427
|
}
|
|
@@ -4954,7 +5429,7 @@ declare module 'react' {
|
|
|
4954
5429
|
declare global {
|
|
4955
5430
|
namespace JSX {
|
|
4956
5431
|
interface IntrinsicElements {
|
|
4957
|
-
[tagName$
|
|
5432
|
+
[tagName$p]: NavigatorJSXProps &
|
|
4958
5433
|
BaseElementPropsWithChildren<NavigatorJSXProps>;
|
|
4959
5434
|
}
|
|
4960
5435
|
}
|
|
@@ -4962,7 +5437,7 @@ declare global {
|
|
|
4962
5437
|
declare module 'react' {
|
|
4963
5438
|
namespace JSX {
|
|
4964
5439
|
interface IntrinsicElements {
|
|
4965
|
-
[tagName$
|
|
5440
|
+
[tagName$o]: Omit<ScreenJSXProps, 'secondaryActions'> &
|
|
4966
5441
|
BaseElementPropsWithChildren<Omit<ScreenJSXProps, 'secondaryActions'>>;
|
|
4967
5442
|
}
|
|
4968
5443
|
}
|
|
@@ -4970,7 +5445,7 @@ declare module 'react' {
|
|
|
4970
5445
|
declare global {
|
|
4971
5446
|
namespace JSX {
|
|
4972
5447
|
interface IntrinsicElements {
|
|
4973
|
-
[tagName$
|
|
5448
|
+
[tagName$o]: Omit<ScreenJSXProps, 'secondaryActions'> &
|
|
4974
5449
|
BaseElementPropsWithChildren<Omit<ScreenJSXProps, 'secondaryActions'>>;
|
|
4975
5450
|
}
|
|
4976
5451
|
}
|
|
@@ -4978,7 +5453,7 @@ declare global {
|
|
|
4978
5453
|
declare module 'react' {
|
|
4979
5454
|
namespace JSX {
|
|
4980
5455
|
interface IntrinsicElements {
|
|
4981
|
-
[tagName$
|
|
5456
|
+
[tagName$n]: Omit<BannerJSXProps, 'primaryAction'> &
|
|
4982
5457
|
BaseElementPropsWithChildren<Omit<BannerJSXProps, 'primaryAction'>>;
|
|
4983
5458
|
}
|
|
4984
5459
|
}
|
|
@@ -4986,7 +5461,7 @@ declare module 'react' {
|
|
|
4986
5461
|
declare global {
|
|
4987
5462
|
namespace JSX {
|
|
4988
5463
|
interface IntrinsicElements {
|
|
4989
|
-
[tagName$
|
|
5464
|
+
[tagName$n]: Omit<BannerJSXProps, 'primaryAction'> &
|
|
4990
5465
|
BaseElementPropsWithChildren<Omit<BannerJSXProps, 'primaryAction'>>;
|
|
4991
5466
|
}
|
|
4992
5467
|
}
|
|
@@ -4994,63 +5469,63 @@ declare global {
|
|
|
4994
5469
|
declare module 'react' {
|
|
4995
5470
|
namespace JSX {
|
|
4996
5471
|
interface IntrinsicElements {
|
|
4997
|
-
[tagName$
|
|
5472
|
+
[tagName$m]: BoxJSXProps & BaseElementPropsWithChildren<BoxJSXProps>;
|
|
4998
5473
|
}
|
|
4999
5474
|
}
|
|
5000
5475
|
}
|
|
5001
5476
|
declare global {
|
|
5002
5477
|
namespace JSX {
|
|
5003
5478
|
interface IntrinsicElements {
|
|
5004
|
-
[tagName$
|
|
5479
|
+
[tagName$m]: BoxJSXProps & BaseElementPropsWithChildren<BoxJSXProps>;
|
|
5005
5480
|
}
|
|
5006
5481
|
}
|
|
5007
5482
|
}
|
|
5008
5483
|
declare module 'react' {
|
|
5009
5484
|
namespace JSX {
|
|
5010
5485
|
interface IntrinsicElements {
|
|
5011
|
-
[tagName$
|
|
5486
|
+
[tagName$l]: IconJSXProps & BaseElementProps<IconJSXProps>;
|
|
5012
5487
|
}
|
|
5013
5488
|
}
|
|
5014
5489
|
}
|
|
5015
5490
|
declare global {
|
|
5016
5491
|
namespace JSX {
|
|
5017
5492
|
interface IntrinsicElements {
|
|
5018
|
-
[tagName$
|
|
5493
|
+
[tagName$l]: IconJSXProps & BaseElementProps<IconJSXProps>;
|
|
5019
5494
|
}
|
|
5020
5495
|
}
|
|
5021
5496
|
}
|
|
5022
5497
|
declare module 'react' {
|
|
5023
5498
|
namespace JSX {
|
|
5024
5499
|
interface IntrinsicElements {
|
|
5025
|
-
[tagName$
|
|
5500
|
+
[tagName$k]: StackJSXProps & BaseElementPropsWithChildren<StackJSXProps>;
|
|
5026
5501
|
}
|
|
5027
5502
|
}
|
|
5028
5503
|
}
|
|
5029
5504
|
declare global {
|
|
5030
5505
|
namespace JSX {
|
|
5031
5506
|
interface IntrinsicElements {
|
|
5032
|
-
[tagName$
|
|
5507
|
+
[tagName$k]: StackJSXProps & BaseElementPropsWithChildren<StackJSXProps>;
|
|
5033
5508
|
}
|
|
5034
5509
|
}
|
|
5035
5510
|
}
|
|
5036
5511
|
declare module 'react' {
|
|
5037
5512
|
namespace JSX {
|
|
5038
5513
|
interface IntrinsicElements {
|
|
5039
|
-
[tagName$
|
|
5514
|
+
[tagName$j]: BadgeJSXProps & BaseElementPropsWithChildren<BadgeJSXProps>;
|
|
5040
5515
|
}
|
|
5041
5516
|
}
|
|
5042
5517
|
}
|
|
5043
5518
|
declare global {
|
|
5044
5519
|
namespace JSX {
|
|
5045
5520
|
interface IntrinsicElements {
|
|
5046
|
-
[tagName$
|
|
5521
|
+
[tagName$j]: BadgeJSXProps & BaseElementPropsWithChildren<BadgeJSXProps>;
|
|
5047
5522
|
}
|
|
5048
5523
|
}
|
|
5049
5524
|
}
|
|
5050
5525
|
declare module 'react' {
|
|
5051
5526
|
namespace JSX {
|
|
5052
5527
|
interface IntrinsicElements {
|
|
5053
|
-
[tagName$
|
|
5528
|
+
[tagName$i]: ChoiceListJSXProps &
|
|
5054
5529
|
BaseElementPropsWithChildren<ChoiceListJSXProps>;
|
|
5055
5530
|
}
|
|
5056
5531
|
}
|
|
@@ -5058,7 +5533,7 @@ declare module 'react' {
|
|
|
5058
5533
|
declare global {
|
|
5059
5534
|
namespace JSX {
|
|
5060
5535
|
interface IntrinsicElements {
|
|
5061
|
-
[tagName$
|
|
5536
|
+
[tagName$i]: ChoiceListJSXProps &
|
|
5062
5537
|
BaseElementPropsWithChildren<ChoiceListJSXProps>;
|
|
5063
5538
|
}
|
|
5064
5539
|
}
|
|
@@ -5066,7 +5541,7 @@ declare global {
|
|
|
5066
5541
|
declare module 'react' {
|
|
5067
5542
|
namespace JSX {
|
|
5068
5543
|
interface IntrinsicElements {
|
|
5069
|
-
[tagName$
|
|
5544
|
+
[tagName$h]: ChoiceJSXProps &
|
|
5070
5545
|
BaseElementPropsWithChildren<ChoiceJSXProps>;
|
|
5071
5546
|
}
|
|
5072
5547
|
}
|
|
@@ -5074,7 +5549,7 @@ declare module 'react' {
|
|
|
5074
5549
|
declare global {
|
|
5075
5550
|
namespace JSX {
|
|
5076
5551
|
interface IntrinsicElements {
|
|
5077
|
-
[tagName$
|
|
5552
|
+
[tagName$h]: ChoiceJSXProps &
|
|
5078
5553
|
BaseElementPropsWithChildren<ChoiceJSXProps>;
|
|
5079
5554
|
}
|
|
5080
5555
|
}
|
|
@@ -5082,7 +5557,7 @@ declare global {
|
|
|
5082
5557
|
declare module 'react' {
|
|
5083
5558
|
namespace JSX {
|
|
5084
5559
|
interface IntrinsicElements {
|
|
5085
|
-
[tagName$
|
|
5560
|
+
[tagName$g]: Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'> &
|
|
5086
5561
|
BaseElementPropsWithChildren<
|
|
5087
5562
|
Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'>
|
|
5088
5563
|
>;
|
|
@@ -5092,7 +5567,7 @@ declare module 'react' {
|
|
|
5092
5567
|
declare global {
|
|
5093
5568
|
namespace JSX {
|
|
5094
5569
|
interface IntrinsicElements {
|
|
5095
|
-
[tagName$
|
|
5570
|
+
[tagName$g]: Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'> &
|
|
5096
5571
|
BaseElementPropsWithChildren<
|
|
5097
5572
|
Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'>
|
|
5098
5573
|
>;
|
|
@@ -5102,7 +5577,7 @@ declare global {
|
|
|
5102
5577
|
declare module 'react' {
|
|
5103
5578
|
namespace JSX {
|
|
5104
5579
|
interface IntrinsicElements {
|
|
5105
|
-
[tagName$
|
|
5580
|
+
[tagName$f]: Omit<TextFieldJSXProps, 'accessory'> &
|
|
5106
5581
|
BaseElementPropsWithChildren<Omit<TextFieldJSXProps, 'accessory'>>;
|
|
5107
5582
|
}
|
|
5108
5583
|
}
|
|
@@ -5110,7 +5585,7 @@ declare module 'react' {
|
|
|
5110
5585
|
declare global {
|
|
5111
5586
|
namespace JSX {
|
|
5112
5587
|
interface IntrinsicElements {
|
|
5113
|
-
[tagName$
|
|
5588
|
+
[tagName$f]: Omit<TextFieldJSXProps, 'accessory'> &
|
|
5114
5589
|
BaseElementPropsWithChildren<Omit<TextFieldJSXProps, 'accessory'>>;
|
|
5115
5590
|
}
|
|
5116
5591
|
}
|
|
@@ -5118,7 +5593,7 @@ declare global {
|
|
|
5118
5593
|
declare module 'react' {
|
|
5119
5594
|
namespace JSX {
|
|
5120
5595
|
interface IntrinsicElements {
|
|
5121
|
-
[tagName$
|
|
5596
|
+
[tagName$e]: SearchFieldJSXProps &
|
|
5122
5597
|
BaseElementPropsWithChildren<SearchFieldJSXProps>;
|
|
5123
5598
|
}
|
|
5124
5599
|
}
|
|
@@ -5126,7 +5601,7 @@ declare module 'react' {
|
|
|
5126
5601
|
declare global {
|
|
5127
5602
|
namespace JSX {
|
|
5128
5603
|
interface IntrinsicElements {
|
|
5129
|
-
[tagName$
|
|
5604
|
+
[tagName$e]: SearchFieldJSXProps &
|
|
5130
5605
|
BaseElementPropsWithChildren<SearchFieldJSXProps>;
|
|
5131
5606
|
}
|
|
5132
5607
|
}
|
|
@@ -5134,7 +5609,7 @@ declare global {
|
|
|
5134
5609
|
declare module 'react' {
|
|
5135
5610
|
namespace JSX {
|
|
5136
5611
|
interface IntrinsicElements {
|
|
5137
|
-
[tagName$
|
|
5612
|
+
[tagName$d]: Omit<EmailFieldJSXProps, 'accessory'> &
|
|
5138
5613
|
BaseElementPropsWithChildren<Omit<EmailFieldJSXProps, 'accessory'>>;
|
|
5139
5614
|
}
|
|
5140
5615
|
}
|
|
@@ -5142,7 +5617,7 @@ declare module 'react' {
|
|
|
5142
5617
|
declare global {
|
|
5143
5618
|
namespace JSX {
|
|
5144
5619
|
interface IntrinsicElements {
|
|
5145
|
-
[tagName$
|
|
5620
|
+
[tagName$d]: Omit<EmailFieldJSXProps, 'accessory'> &
|
|
5146
5621
|
BaseElementPropsWithChildren<Omit<EmailFieldJSXProps, 'accessory'>>;
|
|
5147
5622
|
}
|
|
5148
5623
|
}
|
|
@@ -5150,7 +5625,7 @@ declare global {
|
|
|
5150
5625
|
declare module 'react' {
|
|
5151
5626
|
namespace JSX {
|
|
5152
5627
|
interface IntrinsicElements {
|
|
5153
|
-
[tagName$
|
|
5628
|
+
[tagName$c]: ClickableJSXProps &
|
|
5154
5629
|
BaseElementPropsWithChildren<ClickableJSXProps>;
|
|
5155
5630
|
}
|
|
5156
5631
|
}
|
|
@@ -5158,7 +5633,7 @@ declare module 'react' {
|
|
|
5158
5633
|
declare global {
|
|
5159
5634
|
namespace JSX {
|
|
5160
5635
|
interface IntrinsicElements {
|
|
5161
|
-
[tagName$
|
|
5636
|
+
[tagName$c]: ClickableJSXProps &
|
|
5162
5637
|
BaseElementPropsWithChildren<ClickableJSXProps>;
|
|
5163
5638
|
}
|
|
5164
5639
|
}
|
|
@@ -5166,7 +5641,7 @@ declare global {
|
|
|
5166
5641
|
declare module 'react' {
|
|
5167
5642
|
namespace JSX {
|
|
5168
5643
|
interface IntrinsicElements {
|
|
5169
|
-
[tagName$
|
|
5644
|
+
[tagName$b]: Omit<TextAreaJSXProps, 'accessory'> &
|
|
5170
5645
|
BaseElementPropsWithChildren<Omit<TextAreaJSXProps, 'accessory'>>;
|
|
5171
5646
|
}
|
|
5172
5647
|
}
|
|
@@ -5174,7 +5649,7 @@ declare module 'react' {
|
|
|
5174
5649
|
declare global {
|
|
5175
5650
|
namespace JSX {
|
|
5176
5651
|
interface IntrinsicElements {
|
|
5177
|
-
[tagName$
|
|
5652
|
+
[tagName$b]: Omit<TextAreaJSXProps, 'accessory'> &
|
|
5178
5653
|
BaseElementPropsWithChildren<Omit<TextAreaJSXProps, 'accessory'>>;
|
|
5179
5654
|
}
|
|
5180
5655
|
}
|
|
@@ -5182,7 +5657,7 @@ declare global {
|
|
|
5182
5657
|
declare module 'react' {
|
|
5183
5658
|
namespace JSX {
|
|
5184
5659
|
interface IntrinsicElements {
|
|
5185
|
-
[tagName$
|
|
5660
|
+
[tagName$a]: Omit<NumberFieldJSXProps, 'accessory'> &
|
|
5186
5661
|
BaseElementPropsWithChildren<Omit<NumberFieldJSXProps, 'accessory'>>;
|
|
5187
5662
|
}
|
|
5188
5663
|
}
|
|
@@ -5190,7 +5665,7 @@ declare module 'react' {
|
|
|
5190
5665
|
declare global {
|
|
5191
5666
|
namespace JSX {
|
|
5192
5667
|
interface IntrinsicElements {
|
|
5193
|
-
[tagName$
|
|
5668
|
+
[tagName$a]: Omit<NumberFieldJSXProps, 'accessory'> &
|
|
5194
5669
|
BaseElementPropsWithChildren<Omit<NumberFieldJSXProps, 'accessory'>>;
|
|
5195
5670
|
}
|
|
5196
5671
|
}
|
|
@@ -5198,7 +5673,7 @@ declare global {
|
|
|
5198
5673
|
declare module 'react' {
|
|
5199
5674
|
namespace JSX {
|
|
5200
5675
|
interface IntrinsicElements {
|
|
5201
|
-
[tagName$
|
|
5676
|
+
[tagName$9]: Omit<DateFieldJSXProps, 'accessory'> &
|
|
5202
5677
|
BaseElementPropsWithChildren<Omit<DateFieldJSXProps, 'accessory'>>;
|
|
5203
5678
|
}
|
|
5204
5679
|
}
|
|
@@ -5206,7 +5681,7 @@ declare module 'react' {
|
|
|
5206
5681
|
declare global {
|
|
5207
5682
|
namespace JSX {
|
|
5208
5683
|
interface IntrinsicElements {
|
|
5209
|
-
[tagName$
|
|
5684
|
+
[tagName$9]: Omit<DateFieldJSXProps, 'accessory'> &
|
|
5210
5685
|
BaseElementPropsWithChildren<Omit<DateFieldJSXProps, 'accessory'>>;
|
|
5211
5686
|
}
|
|
5212
5687
|
}
|
|
@@ -5214,7 +5689,7 @@ declare global {
|
|
|
5214
5689
|
declare module 'react' {
|
|
5215
5690
|
namespace JSX {
|
|
5216
5691
|
interface IntrinsicElements {
|
|
5217
|
-
[tagName$
|
|
5692
|
+
[tagName$8]: DatePickerJSXProps &
|
|
5218
5693
|
BaseElementPropsWithChildren<DatePickerJSXProps>;
|
|
5219
5694
|
}
|
|
5220
5695
|
}
|
|
@@ -5222,7 +5697,7 @@ declare module 'react' {
|
|
|
5222
5697
|
declare global {
|
|
5223
5698
|
namespace JSX {
|
|
5224
5699
|
interface IntrinsicElements {
|
|
5225
|
-
[tagName$
|
|
5700
|
+
[tagName$8]: DatePickerJSXProps &
|
|
5226
5701
|
BaseElementPropsWithChildren<DatePickerJSXProps>;
|
|
5227
5702
|
}
|
|
5228
5703
|
}
|
|
@@ -5230,7 +5705,7 @@ declare global {
|
|
|
5230
5705
|
declare module 'react' {
|
|
5231
5706
|
namespace JSX {
|
|
5232
5707
|
interface IntrinsicElements {
|
|
5233
|
-
[tagName$
|
|
5708
|
+
[tagName$7]: DateSpinnerJSXProps &
|
|
5234
5709
|
BaseElementPropsWithChildren<DateSpinnerJSXProps>;
|
|
5235
5710
|
}
|
|
5236
5711
|
}
|
|
@@ -5238,7 +5713,7 @@ declare module 'react' {
|
|
|
5238
5713
|
declare global {
|
|
5239
5714
|
namespace JSX {
|
|
5240
5715
|
interface IntrinsicElements {
|
|
5241
|
-
[tagName$
|
|
5716
|
+
[tagName$7]: DateSpinnerJSXProps &
|
|
5242
5717
|
BaseElementPropsWithChildren<DateSpinnerJSXProps>;
|
|
5243
5718
|
}
|
|
5244
5719
|
}
|
|
@@ -5246,7 +5721,7 @@ declare global {
|
|
|
5246
5721
|
declare module 'react' {
|
|
5247
5722
|
namespace JSX {
|
|
5248
5723
|
interface IntrinsicElements {
|
|
5249
|
-
[tagName$
|
|
5724
|
+
[tagName$6]: Omit<SectionJSXProps, 'secondaryActions'> &
|
|
5250
5725
|
BaseElementPropsWithChildren<Omit<SectionJSXProps, 'secondaryActions'>>;
|
|
5251
5726
|
}
|
|
5252
5727
|
}
|
|
@@ -5254,7 +5729,7 @@ declare module 'react' {
|
|
|
5254
5729
|
declare global {
|
|
5255
5730
|
namespace JSX {
|
|
5256
5731
|
interface IntrinsicElements {
|
|
5257
|
-
[tagName$
|
|
5732
|
+
[tagName$6]: Omit<SectionJSXProps, 'secondaryActions'> &
|
|
5258
5733
|
BaseElementPropsWithChildren<Omit<SectionJSXProps, 'secondaryActions'>>;
|
|
5259
5734
|
}
|
|
5260
5735
|
}
|
|
@@ -5262,7 +5737,7 @@ declare global {
|
|
|
5262
5737
|
declare module 'react' {
|
|
5263
5738
|
namespace JSX {
|
|
5264
5739
|
interface IntrinsicElements {
|
|
5265
|
-
[tagName$
|
|
5740
|
+
[tagName$5]: HeadingJSXProps &
|
|
5266
5741
|
BaseElementPropsWithChildren<HeadingJSXProps>;
|
|
5267
5742
|
}
|
|
5268
5743
|
}
|
|
@@ -5270,7 +5745,7 @@ declare module 'react' {
|
|
|
5270
5745
|
declare global {
|
|
5271
5746
|
namespace JSX {
|
|
5272
5747
|
interface IntrinsicElements {
|
|
5273
|
-
[tagName$
|
|
5748
|
+
[tagName$5]: HeadingJSXProps &
|
|
5274
5749
|
BaseElementPropsWithChildren<HeadingJSXProps>;
|
|
5275
5750
|
}
|
|
5276
5751
|
}
|
|
@@ -5278,7 +5753,7 @@ declare global {
|
|
|
5278
5753
|
declare module 'react' {
|
|
5279
5754
|
namespace JSX {
|
|
5280
5755
|
interface IntrinsicElements {
|
|
5281
|
-
[tagName$
|
|
5756
|
+
[tagName$4]: TimePickerJSXProps &
|
|
5282
5757
|
BaseElementPropsWithChildren<TimePickerJSXProps>;
|
|
5283
5758
|
}
|
|
5284
5759
|
}
|
|
@@ -5286,7 +5761,7 @@ declare module 'react' {
|
|
|
5286
5761
|
declare global {
|
|
5287
5762
|
namespace JSX {
|
|
5288
5763
|
interface IntrinsicElements {
|
|
5289
|
-
[tagName$
|
|
5764
|
+
[tagName$4]: TimePickerJSXProps &
|
|
5290
5765
|
BaseElementPropsWithChildren<TimePickerJSXProps>;
|
|
5291
5766
|
}
|
|
5292
5767
|
}
|
|
@@ -5294,21 +5769,21 @@ declare global {
|
|
|
5294
5769
|
declare module 'react' {
|
|
5295
5770
|
namespace JSX {
|
|
5296
5771
|
interface IntrinsicElements {
|
|
5297
|
-
[tagName$
|
|
5772
|
+
[tagName$3]: ImageJSXProps & BaseElementPropsWithChildren<ImageJSXProps>;
|
|
5298
5773
|
}
|
|
5299
5774
|
}
|
|
5300
5775
|
}
|
|
5301
5776
|
declare global {
|
|
5302
5777
|
namespace JSX {
|
|
5303
5778
|
interface IntrinsicElements {
|
|
5304
|
-
[tagName$
|
|
5779
|
+
[tagName$3]: ImageJSXProps & BaseElementPropsWithChildren<ImageJSXProps>;
|
|
5305
5780
|
}
|
|
5306
5781
|
}
|
|
5307
5782
|
}
|
|
5308
5783
|
declare module 'react' {
|
|
5309
5784
|
namespace JSX {
|
|
5310
5785
|
interface IntrinsicElements {
|
|
5311
|
-
[tagName]: Omit<PageJSXProps, 'primaryAction' | 'secondaryActions'> &
|
|
5786
|
+
[tagName$2]: Omit<PageJSXProps, 'primaryAction' | 'secondaryActions'> &
|
|
5312
5787
|
BaseElementPropsWithChildren<
|
|
5313
5788
|
Omit<PageJSXProps, 'primaryAction' | 'secondaryActions'>
|
|
5314
5789
|
>;
|
|
@@ -5318,10 +5793,46 @@ declare module 'react' {
|
|
|
5318
5793
|
declare global {
|
|
5319
5794
|
namespace JSX {
|
|
5320
5795
|
interface IntrinsicElements {
|
|
5321
|
-
[tagName]: Omit<PageJSXProps, 'primaryAction' | 'secondaryActions'> &
|
|
5796
|
+
[tagName$2]: Omit<PageJSXProps, 'primaryAction' | 'secondaryActions'> &
|
|
5322
5797
|
BaseElementPropsWithChildren<
|
|
5323
5798
|
Omit<PageJSXProps, 'primaryAction' | 'secondaryActions'>
|
|
5324
5799
|
>;
|
|
5325
5800
|
}
|
|
5326
5801
|
}
|
|
5327
5802
|
}
|
|
5803
|
+
declare module 'react' {
|
|
5804
|
+
namespace JSX {
|
|
5805
|
+
interface IntrinsicElements {
|
|
5806
|
+
[tagName$1]: TimeFieldJSXProps &
|
|
5807
|
+
BaseElementPropsWithChildren<TimeFieldJSXProps>;
|
|
5808
|
+
}
|
|
5809
|
+
}
|
|
5810
|
+
}
|
|
5811
|
+
declare global {
|
|
5812
|
+
namespace JSX {
|
|
5813
|
+
interface IntrinsicElements {
|
|
5814
|
+
[tagName$1]: TimeFieldJSXProps &
|
|
5815
|
+
BaseElementPropsWithChildren<TimeFieldJSXProps>;
|
|
5816
|
+
}
|
|
5817
|
+
}
|
|
5818
|
+
}
|
|
5819
|
+
declare module 'react' {
|
|
5820
|
+
namespace JSX {
|
|
5821
|
+
interface IntrinsicElements {
|
|
5822
|
+
[tagName]: Omit<PosBlockJSXProps, 'secondaryActions'> &
|
|
5823
|
+
BaseElementPropsWithChildren<
|
|
5824
|
+
Omit<PosBlockJSXProps, 'secondaryActions'>
|
|
5825
|
+
>;
|
|
5826
|
+
}
|
|
5827
|
+
}
|
|
5828
|
+
}
|
|
5829
|
+
declare global {
|
|
5830
|
+
namespace JSX {
|
|
5831
|
+
interface IntrinsicElements {
|
|
5832
|
+
[tagName]: Omit<PosBlockJSXProps, 'secondaryActions'> &
|
|
5833
|
+
BaseElementPropsWithChildren<
|
|
5834
|
+
Omit<PosBlockJSXProps, 'secondaryActions'>
|
|
5835
|
+
>;
|
|
5836
|
+
}
|
|
5837
|
+
}
|
|
5838
|
+
}
|