@shopify/ui-extensions 2025.10.0-rc.34 → 2025.10.0-rc.36
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/docs/shared/components/MoneyField.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 +1 -1
- package/build/ts/surfaces/admin/components/Button.d.ts +1 -1
- package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Chip.d.ts +6 -1
- package/build/ts/surfaces/admin/components/Choice.d.ts +2 -11
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Clickable.d.ts +1 -1
- package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/ClickableChip.d.ts +6 -1
- package/build/ts/surfaces/admin/components/ColorField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/ColorPicker.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 +1 -1
- package/build/ts/surfaces/admin/components/GridItem.d.ts +1 -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 +1 -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/Menu.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Menu.d.ts +20 -10
- package/build/ts/surfaces/admin/components/Modal.d.ts +231 -0
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/NumberField.d.ts +1 -1
- 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 +13 -5
- 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/QueryContainer.doc.d.ts.map +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 +21 -1
- package/build/ts/surfaces/admin/components/Spinner.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Stack.d.ts +1 -1
- package/build/ts/surfaces/admin/components/StandardComponents.d.ts +1 -1
- package/build/ts/surfaces/admin/components/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Switch.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Table.d.ts +1 -1
- 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 +1 -1
- 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/Tooltip.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Tooltip.d.ts +20 -13
- 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/appCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/appCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/calloutCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/calloutCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/emptyState.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/emptyState.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/interstitialNav.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/interstitialNav.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/mediaCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/mediaCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/metricsCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/metricsCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/setupGuide.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/setupGuide.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/shared.d.ts +45 -2
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.block.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.catalog-details.block.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.collection-details.block.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.company-details.action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.company-details.block.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.customer-details.block.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.block.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.block.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.order-details.block.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.order-index.action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.product-details.action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.product-details.block.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.product-details.reorder.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.product-purchase-option.action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.block.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/api.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/money.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/types/money.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/docs/shared/components/MoneyField.ts +1 -2
- 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 +1 -1
- package/src/surfaces/admin/components/Button.d.ts +1 -1
- package/src/surfaces/admin/components/ButtonGroup.d.ts +1 -1
- package/src/surfaces/admin/components/Checkbox.d.ts +1 -1
- package/src/surfaces/admin/components/Chip.d.ts +6 -1
- package/src/surfaces/admin/components/Choice.d.ts +2 -11
- package/src/surfaces/admin/components/ChoiceList.d.ts +1 -1
- package/src/surfaces/admin/components/Clickable.d.ts +1 -1
- package/src/surfaces/admin/components/ClickableChip.d.ts +6 -1
- package/src/surfaces/admin/components/ColorField.d.ts +1 -1
- package/src/surfaces/admin/components/ColorPicker.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 +1 -1
- package/src/surfaces/admin/components/GridItem.d.ts +1 -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 +1 -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 +20 -10
- package/src/surfaces/admin/components/Modal.d.ts +231 -0
- package/src/surfaces/admin/components/MoneyField/examples/default.html +0 -1
- package/src/surfaces/admin/components/MoneyField.d.ts +1 -1
- package/src/surfaces/admin/components/NumberField.d.ts +1 -1
- 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/examples/default.html +3 -3
- package/src/surfaces/admin/components/Page.d.ts +13 -5
- 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/Popover/examples/default.html +2 -2
- 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 +21 -1
- package/src/surfaces/admin/components/Spinner.d.ts +1 -1
- package/src/surfaces/admin/components/Stack.d.ts +1 -1
- package/src/surfaces/admin/components/StandardComponents.ts +4 -2
- package/src/surfaces/admin/components/Switch.d.ts +1 -1
- package/src/surfaces/admin/components/Table.d.ts +1 -1
- 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 +1 -1
- 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 +20 -13
- 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/appCard.html +30 -0
- package/src/surfaces/admin/components/patterns/examples/calloutCard.html +35 -0
- package/src/surfaces/admin/components/patterns/examples/details.html +11 -5
- package/src/surfaces/admin/components/patterns/examples/details.jsx +9 -7
- package/src/surfaces/admin/components/patterns/examples/emptyState.html +27 -0
- package/src/surfaces/admin/components/patterns/examples/homepage.html +24 -48
- package/src/surfaces/admin/components/patterns/examples/homepage.jsx +21 -49
- package/src/surfaces/admin/components/patterns/examples/index.html +21 -23
- package/src/surfaces/admin/components/patterns/examples/index.jsx +19 -24
- package/src/surfaces/admin/components/patterns/examples/indexTable.html +132 -0
- package/src/surfaces/admin/components/patterns/examples/interstitialNav.html +72 -0
- package/src/surfaces/admin/components/patterns/examples/mediaCard.html +23 -0
- package/src/surfaces/admin/components/patterns/examples/metricsCard.html +51 -0
- package/src/surfaces/admin/components/patterns/examples/settings.html +90 -49
- package/src/surfaces/admin/components/patterns/examples/settings.jsx +92 -47
- package/src/surfaces/admin/components/patterns/examples/setupGuide.html +91 -0
- package/src/surfaces/admin/components/patterns/index.ab.doc.ts +5 -4
- package/src/surfaces/admin/components/shared.d.ts +45 -2
- package/src/surfaces/admin/components.d.ts +481 -209
- package/src/surfaces/point-of-sale/api.ts +1 -0
- package/src/surfaces/point-of-sale/types/cart.ts +2 -0
- package/src/surfaces/point-of-sale/types/discount-allocation.ts +5 -0
- package/src/surfaces/point-of-sale/types/money.ts +5 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.18.0 **/
|
|
2
2
|
|
|
3
3
|
/* eslint-disable @typescript-eslint/ban-types */
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* TODO: Update `any` type here after this is resolved
|
|
11
11
|
* https://github.com/Shopify/ui-api-design/issues/139
|
|
12
12
|
*/
|
|
13
|
-
type ComponentChildren = any;
|
|
13
|
+
export type ComponentChildren = any;
|
|
14
14
|
export type StringChildren = string;
|
|
15
15
|
export interface GlobalProps {
|
|
16
16
|
/**
|
|
@@ -2981,6 +2981,49 @@ interface MenuProps$1 extends GlobalProps {
|
|
|
2981
2981
|
*/
|
|
2982
2982
|
children?: ComponentChildren;
|
|
2983
2983
|
}
|
|
2984
|
+
interface ModalProps$1
|
|
2985
|
+
extends GlobalProps,
|
|
2986
|
+
BaseOverlayProps,
|
|
2987
|
+
BaseOverlayMethods,
|
|
2988
|
+
ActionSlots {
|
|
2989
|
+
/**
|
|
2990
|
+
* A label that describes the purpose of the modal. When set,
|
|
2991
|
+
* it will be announced to users using assistive technologies and will
|
|
2992
|
+
* provide them with more context.
|
|
2993
|
+
*
|
|
2994
|
+
* This overrides the `heading` prop for screen readers.
|
|
2995
|
+
*/
|
|
2996
|
+
accessibilityLabel?: string;
|
|
2997
|
+
/**
|
|
2998
|
+
* A title that describes the content of the Modal.
|
|
2999
|
+
*
|
|
3000
|
+
*/
|
|
3001
|
+
heading?: string;
|
|
3002
|
+
/**
|
|
3003
|
+
* Adjust the padding around the Modal content.
|
|
3004
|
+
*
|
|
3005
|
+
* `base`: applies padding that is appropriate for the element.
|
|
3006
|
+
*
|
|
3007
|
+
* `none`: removes all padding from the element. This can be useful when elements inside the Modal need to span
|
|
3008
|
+
* to the edge of the Modal. For example, a full-width image. In this case, rely on `Box` with a padding of 'base'
|
|
3009
|
+
* to bring back the desired padding for the rest of the content.
|
|
3010
|
+
*
|
|
3011
|
+
* @default 'base'
|
|
3012
|
+
*/
|
|
3013
|
+
padding?: 'base' | 'none';
|
|
3014
|
+
/**
|
|
3015
|
+
* Adjust the size of the Modal.
|
|
3016
|
+
*
|
|
3017
|
+
* `max`: expands the Modal to its maximum size as defined by the host application, on both the horizontal and vertical axes.
|
|
3018
|
+
*
|
|
3019
|
+
* @default 'base'
|
|
3020
|
+
*/
|
|
3021
|
+
size?: SizeKeyword | 'max';
|
|
3022
|
+
/**
|
|
3023
|
+
* The content of the Modal.
|
|
3024
|
+
*/
|
|
3025
|
+
children?: ComponentChildren;
|
|
3026
|
+
}
|
|
2984
3027
|
interface MoneyFieldProps$1
|
|
2985
3028
|
extends GlobalProps,
|
|
2986
3029
|
BaseTextFieldProps,
|
|
@@ -4330,19 +4373,19 @@ declare class Avatar extends PreactCustomElement implements AvatarProps {
|
|
|
4330
4373
|
}
|
|
4331
4374
|
declare global {
|
|
4332
4375
|
interface HTMLElementTagNameMap {
|
|
4333
|
-
[tagName$
|
|
4376
|
+
[tagName$_]: Avatar;
|
|
4334
4377
|
}
|
|
4335
4378
|
}
|
|
4336
4379
|
declare module 'preact' {
|
|
4337
4380
|
namespace createElement.JSX {
|
|
4338
4381
|
interface IntrinsicElements {
|
|
4339
|
-
[tagName$
|
|
4382
|
+
[tagName$_]: ReactProps$_ & PreactBaseElementPropsWithChildren<Avatar>;
|
|
4340
4383
|
}
|
|
4341
4384
|
}
|
|
4342
4385
|
}
|
|
4343
4386
|
|
|
4344
|
-
declare const tagName$
|
|
4345
|
-
export interface
|
|
4387
|
+
declare const tagName$_ = 's-avatar';
|
|
4388
|
+
export interface ReactProps$_
|
|
4346
4389
|
extends Partial<AvatarProps>,
|
|
4347
4390
|
Pick<AvatarProps$1, 'id'> {
|
|
4348
4391
|
onLoad?: () => void;
|
|
@@ -4386,18 +4429,18 @@ declare class Badge extends PreactCustomElement implements BadgeProps {
|
|
|
4386
4429
|
}
|
|
4387
4430
|
declare global {
|
|
4388
4431
|
interface HTMLElementTagNameMap {
|
|
4389
|
-
[tagName$
|
|
4432
|
+
[tagName$Z]: Badge;
|
|
4390
4433
|
}
|
|
4391
4434
|
}
|
|
4392
4435
|
declare module 'preact' {
|
|
4393
4436
|
namespace createElement.JSX {
|
|
4394
4437
|
interface IntrinsicElements {
|
|
4395
|
-
[tagName$
|
|
4438
|
+
[tagName$Z]: BadgeJSXProps & PreactBaseElementPropsWithChildren<Badge>;
|
|
4396
4439
|
}
|
|
4397
4440
|
}
|
|
4398
4441
|
}
|
|
4399
4442
|
|
|
4400
|
-
declare const tagName$
|
|
4443
|
+
declare const tagName$Z = 's-badge';
|
|
4401
4444
|
export interface BadgeJSXProps
|
|
4402
4445
|
extends Partial<BadgeProps>,
|
|
4403
4446
|
Pick<BadgeProps$1, 'id'> {}
|
|
@@ -4423,19 +4466,19 @@ declare class Banner extends PreactCustomElement implements BannerProps {
|
|
|
4423
4466
|
}
|
|
4424
4467
|
declare global {
|
|
4425
4468
|
interface HTMLElementTagNameMap {
|
|
4426
|
-
[tagName$
|
|
4469
|
+
[tagName$Y]: Banner;
|
|
4427
4470
|
}
|
|
4428
4471
|
}
|
|
4429
4472
|
declare module 'preact' {
|
|
4430
4473
|
namespace createElement.JSX {
|
|
4431
4474
|
interface IntrinsicElements {
|
|
4432
|
-
[tagName$
|
|
4475
|
+
[tagName$Y]: Omit<BannerJSXProps, 'secondaryActions'> &
|
|
4433
4476
|
PreactBaseElementPropsWithChildren<Banner>;
|
|
4434
4477
|
}
|
|
4435
4478
|
}
|
|
4436
4479
|
}
|
|
4437
4480
|
|
|
4438
|
-
declare const tagName$
|
|
4481
|
+
declare const tagName$Y = 's-banner';
|
|
4439
4482
|
export interface BannerJSXProps
|
|
4440
4483
|
extends Partial<BannerProps>,
|
|
4441
4484
|
Pick<BannerProps$1, 'id'> {
|
|
@@ -4445,8 +4488,8 @@ export interface BannerJSXProps
|
|
|
4445
4488
|
* A maximum of two `s-button` components are allowed, and only buttons with the `variant` of "secondary" are permitted.
|
|
4446
4489
|
*/
|
|
4447
4490
|
secondaryActions?: ComponentChild;
|
|
4448
|
-
onDismiss?: ((event: CallbackEvent<typeof tagName$
|
|
4449
|
-
onAfterHide?: ((event: CallbackEvent<typeof tagName$
|
|
4491
|
+
onDismiss?: ((event: CallbackEvent<typeof tagName$Y>) => void) | null;
|
|
4492
|
+
onAfterHide?: ((event: CallbackEvent<typeof tagName$Y>) => void) | null;
|
|
4450
4493
|
}
|
|
4451
4494
|
|
|
4452
4495
|
export type MakeResponsive<T> = T | `@container${string}`;
|
|
@@ -4667,18 +4710,18 @@ declare class Box extends BoxElement implements BoxProps {
|
|
|
4667
4710
|
}
|
|
4668
4711
|
declare global {
|
|
4669
4712
|
interface HTMLElementTagNameMap {
|
|
4670
|
-
[tagName$
|
|
4713
|
+
[tagName$X]: Box;
|
|
4671
4714
|
}
|
|
4672
4715
|
}
|
|
4673
4716
|
declare module 'preact' {
|
|
4674
4717
|
namespace createElement.JSX {
|
|
4675
4718
|
interface IntrinsicElements {
|
|
4676
|
-
[tagName$
|
|
4719
|
+
[tagName$X]: BoxJSXProps & PreactBaseElementPropsWithChildren<Box>;
|
|
4677
4720
|
}
|
|
4678
4721
|
}
|
|
4679
4722
|
}
|
|
4680
4723
|
|
|
4681
|
-
declare const tagName$
|
|
4724
|
+
declare const tagName$X = 's-box';
|
|
4682
4725
|
export interface BoxJSXProps
|
|
4683
4726
|
extends Partial<BoxProps>,
|
|
4684
4727
|
Pick<BoxProps$1, 'id'> {}
|
|
@@ -4760,24 +4803,24 @@ declare class Button extends Button_base implements ButtonProps {
|
|
|
4760
4803
|
}
|
|
4761
4804
|
declare global {
|
|
4762
4805
|
interface HTMLElementTagNameMap {
|
|
4763
|
-
[tagName$
|
|
4806
|
+
[tagName$W]: Button;
|
|
4764
4807
|
}
|
|
4765
4808
|
}
|
|
4766
4809
|
declare module 'preact' {
|
|
4767
4810
|
namespace createElement.JSX {
|
|
4768
4811
|
interface IntrinsicElements {
|
|
4769
|
-
[tagName$
|
|
4812
|
+
[tagName$W]: ButtonJSXProps & PreactBaseElementPropsWithChildren<Button>;
|
|
4770
4813
|
}
|
|
4771
4814
|
}
|
|
4772
4815
|
}
|
|
4773
4816
|
|
|
4774
|
-
declare const tagName$
|
|
4817
|
+
declare const tagName$W = 's-button';
|
|
4775
4818
|
export interface ButtonJSXProps
|
|
4776
4819
|
extends Partial<ButtonProps>,
|
|
4777
4820
|
Pick<ButtonProps$1, 'id'> {
|
|
4778
|
-
onClick?: ((event: CallbackEvent<typeof tagName$
|
|
4779
|
-
onFocus?: ((event: CallbackEvent<typeof tagName$
|
|
4780
|
-
onBlur?: ((event: CallbackEvent<typeof tagName$
|
|
4821
|
+
onClick?: ((event: CallbackEvent<typeof tagName$W>) => void) | null;
|
|
4822
|
+
onFocus?: ((event: CallbackEvent<typeof tagName$W>) => void) | null;
|
|
4823
|
+
onBlur?: ((event: CallbackEvent<typeof tagName$W>) => void) | null;
|
|
4781
4824
|
}
|
|
4782
4825
|
|
|
4783
4826
|
export interface ButtonGroupProps
|
|
@@ -4793,19 +4836,19 @@ declare class ButtonGroup
|
|
|
4793
4836
|
}
|
|
4794
4837
|
declare global {
|
|
4795
4838
|
interface HTMLElementTagNameMap {
|
|
4796
|
-
[tagName$
|
|
4839
|
+
[tagName$V]: ButtonGroup;
|
|
4797
4840
|
}
|
|
4798
4841
|
}
|
|
4799
4842
|
declare module 'preact' {
|
|
4800
4843
|
namespace createElement.JSX {
|
|
4801
4844
|
interface IntrinsicElements {
|
|
4802
|
-
[tagName$
|
|
4845
|
+
[tagName$V]: ButtonGroupJSXProps &
|
|
4803
4846
|
PreactBaseElementPropsWithChildren<ButtonGroup>;
|
|
4804
4847
|
}
|
|
4805
4848
|
}
|
|
4806
4849
|
}
|
|
4807
4850
|
|
|
4808
|
-
declare const tagName$
|
|
4851
|
+
declare const tagName$V = 's-button-group';
|
|
4809
4852
|
export interface ButtonGroupJSXProps
|
|
4810
4853
|
extends Partial<ButtonGroupProps>,
|
|
4811
4854
|
Pick<ButtonGroupProps$1, 'id'> {}
|
|
@@ -4882,24 +4925,24 @@ declare class Checkbox extends PreactCheckboxElement implements CheckboxProps {
|
|
|
4882
4925
|
}
|
|
4883
4926
|
declare global {
|
|
4884
4927
|
interface HTMLElementTagNameMap {
|
|
4885
|
-
[tagName$
|
|
4928
|
+
[tagName$U]: Checkbox;
|
|
4886
4929
|
}
|
|
4887
4930
|
}
|
|
4888
4931
|
declare module 'preact' {
|
|
4889
4932
|
namespace createElement.JSX {
|
|
4890
4933
|
interface IntrinsicElements {
|
|
4891
|
-
[tagName$
|
|
4934
|
+
[tagName$U]: CheckboxJSXProps &
|
|
4892
4935
|
PreactBaseElementPropsWithChildren<Checkbox>;
|
|
4893
4936
|
}
|
|
4894
4937
|
}
|
|
4895
4938
|
}
|
|
4896
4939
|
|
|
4897
|
-
declare const tagName$
|
|
4940
|
+
declare const tagName$U = 's-checkbox';
|
|
4898
4941
|
export interface CheckboxJSXProps
|
|
4899
4942
|
extends Partial<CheckboxProps>,
|
|
4900
4943
|
Pick<CheckboxProps$1, 'id'> {
|
|
4901
|
-
onChange?: ((event: CallbackEvent<typeof tagName$
|
|
4902
|
-
onInput?: ((event: CallbackEvent<typeof tagName$
|
|
4944
|
+
onChange?: ((event: CallbackEvent<typeof tagName$U>) => void) | null;
|
|
4945
|
+
onInput?: ((event: CallbackEvent<typeof tagName$U>) => void) | null;
|
|
4903
4946
|
}
|
|
4904
4947
|
|
|
4905
4948
|
export interface ChipProps
|
|
@@ -4912,13 +4955,13 @@ declare class Chip extends PreactCustomElement implements ChipProps {
|
|
|
4912
4955
|
}
|
|
4913
4956
|
declare global {
|
|
4914
4957
|
interface HTMLElementTagNameMap {
|
|
4915
|
-
[tagName$
|
|
4958
|
+
[tagName$T]: Chip;
|
|
4916
4959
|
}
|
|
4917
4960
|
}
|
|
4918
4961
|
declare module 'preact' {
|
|
4919
4962
|
namespace createElement.JSX {
|
|
4920
4963
|
interface IntrinsicElements {
|
|
4921
|
-
[tagName$
|
|
4964
|
+
[tagName$T]: Omit<
|
|
4922
4965
|
HTMLAttributes<HTMLElement>,
|
|
4923
4966
|
Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
|
|
4924
4967
|
> &
|
|
@@ -4928,10 +4971,15 @@ declare module 'preact' {
|
|
|
4928
4971
|
}
|
|
4929
4972
|
}
|
|
4930
4973
|
|
|
4931
|
-
declare const tagName$
|
|
4974
|
+
declare const tagName$T = 's-chip';
|
|
4932
4975
|
export interface ChipJSXProps
|
|
4933
4976
|
extends Partial<ChipProps>,
|
|
4934
4977
|
Pick<ChipProps$2, 'id'> {
|
|
4978
|
+
/**
|
|
4979
|
+
* The graphic to display in the chip.
|
|
4980
|
+
*
|
|
4981
|
+
* Only accepts `Icon` components.
|
|
4982
|
+
*/
|
|
4935
4983
|
graphic?: ComponentChild;
|
|
4936
4984
|
}
|
|
4937
4985
|
|
|
@@ -4971,18 +5019,18 @@ declare class Choice extends PreactCustomElement implements ChoiceProps {
|
|
|
4971
5019
|
}
|
|
4972
5020
|
declare global {
|
|
4973
5021
|
interface HTMLElementTagNameMap {
|
|
4974
|
-
[tagName$
|
|
5022
|
+
[tagName$S]: Choice;
|
|
4975
5023
|
}
|
|
4976
5024
|
}
|
|
4977
5025
|
declare module 'preact' {
|
|
4978
5026
|
namespace createElement.JSX {
|
|
4979
5027
|
interface IntrinsicElements {
|
|
4980
|
-
[tagName$
|
|
5028
|
+
[tagName$S]: ChoiceJSXProps & PreactBaseElementPropsWithChildren<Choice>;
|
|
4981
5029
|
}
|
|
4982
5030
|
}
|
|
4983
5031
|
}
|
|
4984
5032
|
|
|
4985
|
-
declare const tagName$
|
|
5033
|
+
declare const tagName$S = 's-choice';
|
|
4986
5034
|
export interface ChoiceJSXProps
|
|
4987
5035
|
extends Partial<ChoiceProps>,
|
|
4988
5036
|
Pick<ChoiceProps$1, 'id'> {
|
|
@@ -5031,24 +5079,24 @@ declare class ChoiceList extends BaseClass$3 implements ChoiceListProps {
|
|
|
5031
5079
|
}
|
|
5032
5080
|
declare global {
|
|
5033
5081
|
interface HTMLElementTagNameMap {
|
|
5034
|
-
[tagName$
|
|
5082
|
+
[tagName$R]: ChoiceList;
|
|
5035
5083
|
}
|
|
5036
5084
|
}
|
|
5037
5085
|
declare module 'preact' {
|
|
5038
5086
|
namespace createElement.JSX {
|
|
5039
5087
|
interface IntrinsicElements {
|
|
5040
|
-
[tagName$
|
|
5088
|
+
[tagName$R]: ChoiceListJSXProps &
|
|
5041
5089
|
PreactBaseElementPropsWithChildren<ChoiceList>;
|
|
5042
5090
|
}
|
|
5043
5091
|
}
|
|
5044
5092
|
}
|
|
5045
5093
|
|
|
5046
|
-
declare const tagName$
|
|
5094
|
+
declare const tagName$R = 's-choice-list';
|
|
5047
5095
|
export interface ChoiceListJSXProps
|
|
5048
5096
|
extends Partial<ChoiceListProps>,
|
|
5049
5097
|
Pick<ChoiceListProps$1, 'id'> {
|
|
5050
|
-
onChange?: ((event: CallbackEvent<typeof tagName$
|
|
5051
|
-
onInput?: ((event: CallbackEvent<typeof tagName$
|
|
5098
|
+
onChange?: ((event: CallbackEvent<typeof tagName$R>) => void) | null;
|
|
5099
|
+
onInput?: ((event: CallbackEvent<typeof tagName$R>) => void) | null;
|
|
5052
5100
|
}
|
|
5053
5101
|
|
|
5054
5102
|
export type ClickableBaseProps = Required<
|
|
@@ -5086,25 +5134,25 @@ declare class Clickable extends Clickable_base implements ClickableProps {
|
|
|
5086
5134
|
}
|
|
5087
5135
|
declare global {
|
|
5088
5136
|
interface HTMLElementTagNameMap {
|
|
5089
|
-
[tagName$
|
|
5137
|
+
[tagName$Q]: Clickable;
|
|
5090
5138
|
}
|
|
5091
5139
|
}
|
|
5092
5140
|
declare module 'preact' {
|
|
5093
5141
|
namespace createElement.JSX {
|
|
5094
5142
|
interface IntrinsicElements {
|
|
5095
|
-
[tagName$
|
|
5143
|
+
[tagName$Q]: ClickableJSXProps &
|
|
5096
5144
|
PreactBaseElementPropsWithChildren<Clickable>;
|
|
5097
5145
|
}
|
|
5098
5146
|
}
|
|
5099
5147
|
}
|
|
5100
5148
|
|
|
5101
|
-
declare const tagName$
|
|
5149
|
+
declare const tagName$Q = 's-clickable';
|
|
5102
5150
|
export interface ClickableJSXProps
|
|
5103
5151
|
extends Partial<ClickableProps>,
|
|
5104
5152
|
Pick<ClickableProps$1, 'id'> {
|
|
5105
|
-
onClick?: ((event: CallbackEvent<typeof tagName$
|
|
5106
|
-
onFocus?: ((event: CallbackEvent<typeof tagName$
|
|
5107
|
-
onBlur?: ((event: CallbackEvent<typeof tagName$
|
|
5153
|
+
onClick?: ((event: CallbackEvent<typeof tagName$Q>) => void) | null;
|
|
5154
|
+
onFocus?: ((event: CallbackEvent<typeof tagName$Q>) => void) | null;
|
|
5155
|
+
onBlur?: ((event: CallbackEvent<typeof tagName$Q>) => void) | null;
|
|
5108
5156
|
}
|
|
5109
5157
|
|
|
5110
5158
|
export interface ClickableChipProps
|
|
@@ -5134,13 +5182,13 @@ declare class ClickableChip
|
|
|
5134
5182
|
}
|
|
5135
5183
|
declare global {
|
|
5136
5184
|
interface HTMLElementTagNameMap {
|
|
5137
|
-
[tagName$
|
|
5185
|
+
[tagName$P]: ClickableChip;
|
|
5138
5186
|
}
|
|
5139
5187
|
}
|
|
5140
5188
|
declare module 'preact' {
|
|
5141
5189
|
namespace createElement.JSX {
|
|
5142
5190
|
interface IntrinsicElements {
|
|
5143
|
-
[tagName$
|
|
5191
|
+
[tagName$P]: Omit<
|
|
5144
5192
|
HTMLAttributes<HTMLElement>,
|
|
5145
5193
|
Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
|
|
5146
5194
|
> &
|
|
@@ -5150,14 +5198,19 @@ declare module 'preact' {
|
|
|
5150
5198
|
}
|
|
5151
5199
|
}
|
|
5152
5200
|
|
|
5153
|
-
declare const tagName$
|
|
5201
|
+
declare const tagName$P = 's-clickable-chip';
|
|
5154
5202
|
export interface ClickableChipJSXProps
|
|
5155
5203
|
extends Partial<ClickableChipProps>,
|
|
5156
5204
|
Pick<ClickableChipProps$1, 'id'> {
|
|
5205
|
+
/**
|
|
5206
|
+
* The graphic to display in the clickable chip.
|
|
5207
|
+
*
|
|
5208
|
+
* Only accepts `Icon` components.
|
|
5209
|
+
*/
|
|
5157
5210
|
graphic?: ComponentChild;
|
|
5158
|
-
onClick?: ((event: CallbackEvent<typeof tagName$
|
|
5159
|
-
onRemove?: ((event: CallbackEvent<typeof tagName$
|
|
5160
|
-
onAfterHide?: ((event: CallbackEvent<typeof tagName$
|
|
5211
|
+
onClick?: ((event: CallbackEvent<typeof tagName$P>) => void) | null;
|
|
5212
|
+
onRemove?: ((event: CallbackEvent<typeof tagName$P>) => void) | null;
|
|
5213
|
+
onAfterHide?: ((event: CallbackEvent<typeof tagName$P>) => void) | null;
|
|
5161
5214
|
}
|
|
5162
5215
|
|
|
5163
5216
|
export type PreactFieldProps<Autocomplete extends string = string> =
|
|
@@ -5255,24 +5308,24 @@ declare class ColorField
|
|
|
5255
5308
|
}
|
|
5256
5309
|
declare global {
|
|
5257
5310
|
interface HTMLElementTagNameMap {
|
|
5258
|
-
[tagName$
|
|
5311
|
+
[tagName$O]: ColorField;
|
|
5259
5312
|
}
|
|
5260
5313
|
}
|
|
5261
5314
|
declare module 'preact' {
|
|
5262
5315
|
namespace createElement.JSX {
|
|
5263
5316
|
interface IntrinsicElements {
|
|
5264
|
-
[tagName$
|
|
5317
|
+
[tagName$O]: ColorFieldJSXProps & PreactBaseElementProps<ColorField>;
|
|
5265
5318
|
}
|
|
5266
5319
|
}
|
|
5267
5320
|
}
|
|
5268
5321
|
|
|
5269
|
-
declare const tagName$
|
|
5322
|
+
declare const tagName$O = 's-color-field';
|
|
5270
5323
|
export interface ColorFieldJSXProps
|
|
5271
5324
|
extends Partial<Omit<ColorFieldProps, 'accessory'>>,
|
|
5272
5325
|
Pick<ColorFieldProps$1, 'id' | 'alpha' | 'value' | 'defaultValue'>,
|
|
5273
|
-
FieldReactProps<typeof tagName$
|
|
5274
|
-
onInput?: (event: CallbackEvent<typeof tagName$
|
|
5275
|
-
onChange?: (event: CallbackEvent<typeof tagName$
|
|
5326
|
+
FieldReactProps<typeof tagName$O> {
|
|
5327
|
+
onInput?: (event: CallbackEvent<typeof tagName$O>) => void;
|
|
5328
|
+
onChange?: (event: CallbackEvent<typeof tagName$O>) => void;
|
|
5276
5329
|
}
|
|
5277
5330
|
|
|
5278
5331
|
export interface ColorPickerProps
|
|
@@ -5298,13 +5351,13 @@ declare class ColorPicker extends BaseClass$2 implements ColorPickerProps {
|
|
|
5298
5351
|
}
|
|
5299
5352
|
declare global {
|
|
5300
5353
|
interface HTMLElementTagNameMap {
|
|
5301
|
-
[tagName$
|
|
5354
|
+
[tagName$N]: ColorPicker;
|
|
5302
5355
|
}
|
|
5303
5356
|
}
|
|
5304
5357
|
declare module 'preact' {
|
|
5305
5358
|
namespace createElement.JSX {
|
|
5306
5359
|
interface IntrinsicElements {
|
|
5307
|
-
[tagName$
|
|
5360
|
+
[tagName$N]: Omit<
|
|
5308
5361
|
HTMLAttributes<HTMLElement>,
|
|
5309
5362
|
Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
|
|
5310
5363
|
> &
|
|
@@ -5313,15 +5366,15 @@ declare module 'preact' {
|
|
|
5313
5366
|
}
|
|
5314
5367
|
}
|
|
5315
5368
|
|
|
5316
|
-
declare const tagName$
|
|
5369
|
+
declare const tagName$N = 's-color-picker';
|
|
5317
5370
|
export interface ColorPickerJSXProps
|
|
5318
5371
|
extends Partial<ColorPickerProps>,
|
|
5319
5372
|
Pick<
|
|
5320
5373
|
ColorPickerProps$1,
|
|
5321
5374
|
'id' | 'alpha' | 'value' | 'defaultValue' | 'name'
|
|
5322
5375
|
> {
|
|
5323
|
-
onInput?: (event: CallbackEvent<typeof tagName$
|
|
5324
|
-
onChange?: (event: CallbackEvent<typeof tagName$
|
|
5376
|
+
onInput?: (event: CallbackEvent<typeof tagName$N>) => void | null;
|
|
5377
|
+
onChange?: (event: CallbackEvent<typeof tagName$N>) => void | null;
|
|
5325
5378
|
}
|
|
5326
5379
|
|
|
5327
5380
|
export interface DateFieldProps
|
|
@@ -5355,13 +5408,13 @@ declare class DateField
|
|
|
5355
5408
|
}
|
|
5356
5409
|
declare global {
|
|
5357
5410
|
interface HTMLElementTagNameMap {
|
|
5358
|
-
[tagName$
|
|
5411
|
+
[tagName$M]: DateField;
|
|
5359
5412
|
}
|
|
5360
5413
|
}
|
|
5361
5414
|
declare module 'preact' {
|
|
5362
5415
|
namespace createElement.JSX {
|
|
5363
5416
|
interface IntrinsicElements {
|
|
5364
|
-
[tagName$
|
|
5417
|
+
[tagName$M]: Omit<
|
|
5365
5418
|
HTMLAttributes<HTMLElement>,
|
|
5366
5419
|
Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
|
|
5367
5420
|
> &
|
|
@@ -5370,16 +5423,16 @@ declare module 'preact' {
|
|
|
5370
5423
|
}
|
|
5371
5424
|
}
|
|
5372
5425
|
|
|
5373
|
-
declare const tagName$
|
|
5426
|
+
declare const tagName$M = 's-date-field';
|
|
5374
5427
|
export interface DateFieldJSXProps
|
|
5375
5428
|
extends Partial<DateFieldProps>,
|
|
5376
5429
|
Pick<DateFieldProps$1, 'id'> {
|
|
5377
|
-
onBlur?: ((event: CallbackEvent<typeof tagName$
|
|
5378
|
-
onChange?: ((event: CallbackEvent<typeof tagName$
|
|
5379
|
-
onFocus?: ((event: CallbackEvent<typeof tagName$
|
|
5380
|
-
onInput?: ((event: CallbackEvent<typeof tagName$
|
|
5381
|
-
onInvalid?: ((event: CallbackEvent<typeof tagName$
|
|
5382
|
-
onViewChange?: ((event: CallbackEvent<typeof tagName$
|
|
5430
|
+
onBlur?: ((event: CallbackEvent<typeof tagName$M>) => void) | null;
|
|
5431
|
+
onChange?: ((event: CallbackEvent<typeof tagName$M>) => void) | null;
|
|
5432
|
+
onFocus?: ((event: CallbackEvent<typeof tagName$M>) => void) | null;
|
|
5433
|
+
onInput?: ((event: CallbackEvent<typeof tagName$M>) => void) | null;
|
|
5434
|
+
onInvalid?: ((event: CallbackEvent<typeof tagName$M>) => void) | null;
|
|
5435
|
+
onViewChange?: ((event: CallbackEvent<typeof tagName$M>) => void) | null;
|
|
5383
5436
|
}
|
|
5384
5437
|
|
|
5385
5438
|
export interface DatePickerProps
|
|
@@ -5429,26 +5482,26 @@ declare class DatePicker extends BaseClass$1 implements DatePickerProps {
|
|
|
5429
5482
|
}
|
|
5430
5483
|
declare global {
|
|
5431
5484
|
interface HTMLElementTagNameMap {
|
|
5432
|
-
[tagName$
|
|
5485
|
+
[tagName$L]: DatePicker;
|
|
5433
5486
|
}
|
|
5434
5487
|
}
|
|
5435
5488
|
declare module 'preact' {
|
|
5436
5489
|
namespace createElement.JSX {
|
|
5437
5490
|
interface IntrinsicElements {
|
|
5438
|
-
[tagName$
|
|
5491
|
+
[tagName$L]: DatePickerJSXProps & PreactBaseElementProps<DatePicker>;
|
|
5439
5492
|
}
|
|
5440
5493
|
}
|
|
5441
5494
|
}
|
|
5442
5495
|
|
|
5443
|
-
declare const tagName$
|
|
5496
|
+
declare const tagName$L = 's-date-picker';
|
|
5444
5497
|
export interface DatePickerJSXProps
|
|
5445
5498
|
extends Partial<DatePickerProps>,
|
|
5446
5499
|
Pick<DatePickerProps$1, 'id'> {
|
|
5447
|
-
onViewChange?: ((event: CallbackEvent<typeof tagName$
|
|
5448
|
-
onFocus?: ((event: CallbackEvent<typeof tagName$
|
|
5449
|
-
onBlur?: ((event: CallbackEvent<typeof tagName$
|
|
5450
|
-
onInput?: ((event: CallbackEvent<typeof tagName$
|
|
5451
|
-
onChange?: ((event: CallbackEvent<typeof tagName$
|
|
5500
|
+
onViewChange?: ((event: CallbackEvent<typeof tagName$L>) => void) | null;
|
|
5501
|
+
onFocus?: ((event: CallbackEvent<typeof tagName$L>) => void) | null;
|
|
5502
|
+
onBlur?: ((event: CallbackEvent<typeof tagName$L>) => void) | null;
|
|
5503
|
+
onInput?: ((event: CallbackEvent<typeof tagName$L>) => void) | null;
|
|
5504
|
+
onChange?: ((event: CallbackEvent<typeof tagName$L>) => void) | null;
|
|
5452
5505
|
}
|
|
5453
5506
|
|
|
5454
5507
|
export interface DividerProps
|
|
@@ -5464,18 +5517,18 @@ declare class Divider extends PreactCustomElement implements DividerProps {
|
|
|
5464
5517
|
}
|
|
5465
5518
|
declare global {
|
|
5466
5519
|
interface HTMLElementTagNameMap {
|
|
5467
|
-
[tagName$
|
|
5520
|
+
[tagName$K]: Divider;
|
|
5468
5521
|
}
|
|
5469
5522
|
}
|
|
5470
5523
|
declare module 'preact' {
|
|
5471
5524
|
namespace createElement.JSX {
|
|
5472
5525
|
interface IntrinsicElements {
|
|
5473
|
-
[tagName$
|
|
5526
|
+
[tagName$K]: DividerJSXProps & PreactBaseElementProps<Divider>;
|
|
5474
5527
|
}
|
|
5475
5528
|
}
|
|
5476
5529
|
}
|
|
5477
5530
|
|
|
5478
|
-
declare const tagName$
|
|
5531
|
+
declare const tagName$K = 's-divider';
|
|
5479
5532
|
export interface DividerJSXProps
|
|
5480
5533
|
extends Partial<DividerProps>,
|
|
5481
5534
|
Pick<DividerProps$1, 'id'> {}
|
|
@@ -5532,13 +5585,13 @@ declare class DropZone extends BaseClass implements DropZoneProps {
|
|
|
5532
5585
|
}
|
|
5533
5586
|
declare global {
|
|
5534
5587
|
interface HTMLElementTagNameMap {
|
|
5535
|
-
[tagName$
|
|
5588
|
+
[tagName$J]: DropZone;
|
|
5536
5589
|
}
|
|
5537
5590
|
}
|
|
5538
5591
|
declare module 'preact' {
|
|
5539
5592
|
namespace createElement.JSX {
|
|
5540
5593
|
interface IntrinsicElements {
|
|
5541
|
-
[tagName$
|
|
5594
|
+
[tagName$J]: Omit<
|
|
5542
5595
|
HTMLAttributes<HTMLElement>,
|
|
5543
5596
|
Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
|
|
5544
5597
|
> &
|
|
@@ -5547,13 +5600,13 @@ declare module 'preact' {
|
|
|
5547
5600
|
}
|
|
5548
5601
|
}
|
|
5549
5602
|
|
|
5550
|
-
declare const tagName$
|
|
5603
|
+
declare const tagName$J = 's-drop-zone';
|
|
5551
5604
|
export interface DropZoneJSXProps
|
|
5552
5605
|
extends Partial<DropZoneProps>,
|
|
5553
5606
|
Pick<DropZoneProps$1, 'id'> {
|
|
5554
|
-
onChange?: ((event: CallbackEvent<typeof tagName$
|
|
5555
|
-
onInput?: ((event: CallbackEvent<typeof tagName$
|
|
5556
|
-
onDropRejected?: ((event: CallbackEvent<typeof tagName$
|
|
5607
|
+
onChange?: ((event: CallbackEvent<typeof tagName$J>) => void) | null;
|
|
5608
|
+
onInput?: ((event: CallbackEvent<typeof tagName$J>) => void) | null;
|
|
5609
|
+
onDropRejected?: ((event: CallbackEvent<typeof tagName$J>) => void) | null;
|
|
5557
5610
|
}
|
|
5558
5611
|
|
|
5559
5612
|
export type EmailFieldProps = PreactFieldProps<
|
|
@@ -5572,22 +5625,22 @@ declare class EmailField
|
|
|
5572
5625
|
}
|
|
5573
5626
|
declare global {
|
|
5574
5627
|
interface HTMLElementTagNameMap {
|
|
5575
|
-
[tagName$
|
|
5628
|
+
[tagName$I]: EmailField;
|
|
5576
5629
|
}
|
|
5577
5630
|
}
|
|
5578
5631
|
declare module 'preact' {
|
|
5579
5632
|
namespace createElement.JSX {
|
|
5580
5633
|
interface IntrinsicElements {
|
|
5581
|
-
[tagName$
|
|
5634
|
+
[tagName$I]: EmailFieldJSXProps & PreactBaseElementProps<EmailField>;
|
|
5582
5635
|
}
|
|
5583
5636
|
}
|
|
5584
5637
|
}
|
|
5585
5638
|
|
|
5586
|
-
declare const tagName$
|
|
5639
|
+
declare const tagName$I = 's-email-field';
|
|
5587
5640
|
export interface EmailFieldJSXProps
|
|
5588
5641
|
extends Partial<Omit<EmailFieldProps, 'accessory'>>,
|
|
5589
5642
|
Pick<EmailFieldProps$1, 'id'>,
|
|
5590
|
-
FieldReactProps<typeof tagName$
|
|
5643
|
+
FieldReactProps<typeof tagName$I> {}
|
|
5591
5644
|
|
|
5592
5645
|
export type RequiredAlignedProps = Required<GridProps$1>;
|
|
5593
5646
|
export type ResponsiveGridProps = MakeResponsivePick<
|
|
@@ -5660,18 +5713,18 @@ declare class Grid extends BoxElement implements GridProps {
|
|
|
5660
5713
|
}
|
|
5661
5714
|
declare global {
|
|
5662
5715
|
interface HTMLElementTagNameMap {
|
|
5663
|
-
[tagName$
|
|
5716
|
+
[tagName$H]: Grid;
|
|
5664
5717
|
}
|
|
5665
5718
|
}
|
|
5666
5719
|
declare module 'preact' {
|
|
5667
5720
|
namespace createElement.JSX {
|
|
5668
5721
|
interface IntrinsicElements {
|
|
5669
|
-
[tagName$
|
|
5722
|
+
[tagName$H]: GridJSXProps & PreactBaseElementPropsWithChildren<Grid>;
|
|
5670
5723
|
}
|
|
5671
5724
|
}
|
|
5672
5725
|
}
|
|
5673
5726
|
|
|
5674
|
-
declare const tagName$
|
|
5727
|
+
declare const tagName$H = 's-grid';
|
|
5675
5728
|
export interface GridJSXProps
|
|
5676
5729
|
extends Partial<GridProps>,
|
|
5677
5730
|
Pick<GridProps$1, 'id'> {}
|
|
@@ -5691,19 +5744,19 @@ declare class GridItem extends BoxElement implements GridItemProps {
|
|
|
5691
5744
|
}
|
|
5692
5745
|
declare global {
|
|
5693
5746
|
interface HTMLElementTagNameMap {
|
|
5694
|
-
[tagName$
|
|
5747
|
+
[tagName$G]: GridItem;
|
|
5695
5748
|
}
|
|
5696
5749
|
}
|
|
5697
5750
|
declare module 'preact' {
|
|
5698
5751
|
namespace createElement.JSX {
|
|
5699
5752
|
interface IntrinsicElements {
|
|
5700
|
-
[tagName$
|
|
5753
|
+
[tagName$G]: GridItemJSXProps &
|
|
5701
5754
|
PreactBaseElementPropsWithChildren<GridItem>;
|
|
5702
5755
|
}
|
|
5703
5756
|
}
|
|
5704
5757
|
}
|
|
5705
5758
|
|
|
5706
|
-
declare const tagName$
|
|
5759
|
+
declare const tagName$G = 's-grid-item';
|
|
5707
5760
|
export interface GridItemJSXProps
|
|
5708
5761
|
extends Partial<GridItemProps>,
|
|
5709
5762
|
Pick<GridItemProps$1, 'id'> {}
|
|
@@ -5727,19 +5780,19 @@ declare class Heading extends PreactCustomElement implements HeadingProps {
|
|
|
5727
5780
|
}
|
|
5728
5781
|
declare global {
|
|
5729
5782
|
interface HTMLElementTagNameMap {
|
|
5730
|
-
[tagName$
|
|
5783
|
+
[tagName$F]: Heading;
|
|
5731
5784
|
}
|
|
5732
5785
|
}
|
|
5733
5786
|
declare module 'preact' {
|
|
5734
5787
|
namespace createElement.JSX {
|
|
5735
5788
|
interface IntrinsicElements {
|
|
5736
|
-
[tagName$
|
|
5789
|
+
[tagName$F]: HeadingJSXProps &
|
|
5737
5790
|
PreactBaseElementPropsWithChildren<Heading>;
|
|
5738
5791
|
}
|
|
5739
5792
|
}
|
|
5740
5793
|
}
|
|
5741
5794
|
|
|
5742
|
-
declare const tagName$
|
|
5795
|
+
declare const tagName$F = 's-heading';
|
|
5743
5796
|
export interface HeadingJSXProps
|
|
5744
5797
|
extends Partial<HeadingProps>,
|
|
5745
5798
|
Pick<HeadingProps$1, 'id'> {}
|
|
@@ -5754,18 +5807,18 @@ declare class Icon extends PreactCustomElement implements IconProps {
|
|
|
5754
5807
|
}
|
|
5755
5808
|
declare global {
|
|
5756
5809
|
interface HTMLElementTagNameMap {
|
|
5757
|
-
[tagName$
|
|
5810
|
+
[tagName$E]: Icon;
|
|
5758
5811
|
}
|
|
5759
5812
|
}
|
|
5760
5813
|
declare module 'preact' {
|
|
5761
5814
|
namespace createElement.JSX {
|
|
5762
5815
|
interface IntrinsicElements {
|
|
5763
|
-
[tagName$
|
|
5816
|
+
[tagName$E]: IconJSXProps & PreactBaseElementProps<Icon>;
|
|
5764
5817
|
}
|
|
5765
5818
|
}
|
|
5766
5819
|
}
|
|
5767
5820
|
|
|
5768
|
-
declare const tagName$
|
|
5821
|
+
declare const tagName$E = 's-icon';
|
|
5769
5822
|
export interface IconJSXProps
|
|
5770
5823
|
extends Partial<IconProps>,
|
|
5771
5824
|
Pick<IconProps$1, 'id'> {}
|
|
@@ -5815,23 +5868,23 @@ declare class Image extends PreactCustomElement implements ImageProps {
|
|
|
5815
5868
|
}
|
|
5816
5869
|
declare global {
|
|
5817
5870
|
interface HTMLElementTagNameMap {
|
|
5818
|
-
[tagName$
|
|
5871
|
+
[tagName$D]: Image;
|
|
5819
5872
|
}
|
|
5820
5873
|
}
|
|
5821
5874
|
declare module 'preact' {
|
|
5822
5875
|
namespace createElement.JSX {
|
|
5823
5876
|
interface IntrinsicElements {
|
|
5824
|
-
[tagName$
|
|
5877
|
+
[tagName$D]: ImageJSXProps & PreactBaseElementProps<Image>;
|
|
5825
5878
|
}
|
|
5826
5879
|
}
|
|
5827
5880
|
}
|
|
5828
5881
|
|
|
5829
|
-
declare const tagName$
|
|
5882
|
+
declare const tagName$D = 's-image';
|
|
5830
5883
|
export interface ImageJSXProps
|
|
5831
5884
|
extends Partial<ImageProps>,
|
|
5832
5885
|
Pick<ImageProps$1, 'id'> {
|
|
5833
|
-
onError?: ((event: CallbackEvent<typeof tagName$
|
|
5834
|
-
onLoad?: ((event: CallbackEvent<typeof tagName$
|
|
5886
|
+
onError?: ((event: CallbackEvent<typeof tagName$D>) => void) | null;
|
|
5887
|
+
onLoad?: ((event: CallbackEvent<typeof tagName$D>) => void) | null;
|
|
5835
5888
|
}
|
|
5836
5889
|
|
|
5837
5890
|
export type RequiredLinkProps = Required<LinkProps$1>;
|
|
@@ -5868,22 +5921,22 @@ declare class Link extends Link_base implements LinkProps {
|
|
|
5868
5921
|
}
|
|
5869
5922
|
declare global {
|
|
5870
5923
|
interface HTMLElementTagNameMap {
|
|
5871
|
-
[tagName$
|
|
5924
|
+
[tagName$C]: Link;
|
|
5872
5925
|
}
|
|
5873
5926
|
}
|
|
5874
5927
|
declare module 'preact' {
|
|
5875
5928
|
namespace createElement.JSX {
|
|
5876
5929
|
interface IntrinsicElements {
|
|
5877
|
-
[tagName$
|
|
5930
|
+
[tagName$C]: LinkJSXProps & PreactBaseElementPropsWithChildren<Link>;
|
|
5878
5931
|
}
|
|
5879
5932
|
}
|
|
5880
5933
|
}
|
|
5881
5934
|
|
|
5882
|
-
declare const tagName$
|
|
5935
|
+
declare const tagName$C = 's-link';
|
|
5883
5936
|
export interface LinkJSXProps
|
|
5884
5937
|
extends Partial<LinkProps>,
|
|
5885
5938
|
Pick<LinkProps$1, 'id' | 'lang'> {
|
|
5886
|
-
onClick?: ((event: CallbackEvent<typeof tagName$
|
|
5939
|
+
onClick?: ((event: CallbackEvent<typeof tagName$C>) => void) | null;
|
|
5887
5940
|
}
|
|
5888
5941
|
|
|
5889
5942
|
export interface ListItemProps extends ListItemProps$1 {}
|
|
@@ -5893,39 +5946,44 @@ declare class ListItem extends PreactCustomElement implements ListItemProps {
|
|
|
5893
5946
|
}
|
|
5894
5947
|
declare global {
|
|
5895
5948
|
interface HTMLElementTagNameMap {
|
|
5896
|
-
[tagName$
|
|
5949
|
+
[tagName$B]: ListItem;
|
|
5897
5950
|
}
|
|
5898
5951
|
}
|
|
5899
5952
|
declare module 'preact' {
|
|
5900
5953
|
namespace createElement.JSX {
|
|
5901
5954
|
interface IntrinsicElements {
|
|
5902
|
-
[tagName$
|
|
5955
|
+
[tagName$B]: ListItemJSXProps &
|
|
5903
5956
|
PreactBaseElementPropsWithChildren<ListItem>;
|
|
5904
5957
|
}
|
|
5905
5958
|
}
|
|
5906
5959
|
}
|
|
5907
5960
|
|
|
5908
|
-
declare const tagName$
|
|
5961
|
+
declare const tagName$B = 's-list-item';
|
|
5909
5962
|
export interface ListItemJSXProps
|
|
5910
5963
|
extends Partial<ListItemProps>,
|
|
5911
5964
|
Pick<ListItemProps$1, 'id'> {}
|
|
5912
5965
|
|
|
5913
5966
|
export interface MenuProps
|
|
5914
|
-
extends Required<Pick<MenuProps$1, 'id' | 'accessibilityLabel'>> {
|
|
5915
|
-
/**
|
|
5916
|
-
* @implementation only accepts `s-button` and `s-section`
|
|
5917
|
-
*/
|
|
5918
|
-
children?: ComponentChild;
|
|
5919
|
-
}
|
|
5967
|
+
extends Required<Pick<MenuProps$1, 'id' | 'accessibilityLabel'>> {}
|
|
5920
5968
|
|
|
5921
5969
|
/**
|
|
5922
5970
|
* Shared symbols for overlay control functionality.
|
|
5923
5971
|
* These symbols are used by components that implement overlay behavior
|
|
5924
|
-
* (like Popover, Tooltip, etc.) to communicate with the overlay control system.
|
|
5972
|
+
* (like Popover, Tooltip, Modal, etc.) to communicate with the overlay control system.
|
|
5973
|
+
*/
|
|
5974
|
+
/**
|
|
5975
|
+
* Symbol used to invoke the method for overlay commands, e.g. `--show`, `--hide`, etc.
|
|
5925
5976
|
*/
|
|
5926
5977
|
declare const overlayCommand: unique symbol;
|
|
5978
|
+
/**
|
|
5979
|
+
* Symbol used to track the open or closed state of the overlay.
|
|
5980
|
+
*/
|
|
5927
5981
|
declare const overlayHidden: unique symbol;
|
|
5982
|
+
/**
|
|
5983
|
+
* Symbol used to track the element that opened the overlay. In some cases, like tooltips and popovers, the overlay is positioned against this element. In all cases, focus should be restored to this element when the overlay is closed.
|
|
5984
|
+
*/
|
|
5928
5985
|
declare const overlayActivator: unique symbol;
|
|
5986
|
+
declare const overlayHideFrameId: unique symbol;
|
|
5929
5987
|
|
|
5930
5988
|
declare class PreactOverlayElement extends PreactCustomElement {
|
|
5931
5989
|
constructor(renderImpl: RenderImpl);
|
|
@@ -5934,7 +5992,12 @@ declare class PreactOverlayElement extends PreactCustomElement {
|
|
|
5934
5992
|
/** @private */
|
|
5935
5993
|
[overlayActivator]: HTMLElement | null | undefined;
|
|
5936
5994
|
/** @private */
|
|
5937
|
-
[
|
|
5995
|
+
[overlayHideFrameId]?: number;
|
|
5996
|
+
/** @private */
|
|
5997
|
+
[overlayCommand](
|
|
5998
|
+
command: InteractionProps['command'],
|
|
5999
|
+
overlayActivatorEl: HTMLElement | null | undefined,
|
|
6000
|
+
): void;
|
|
5938
6001
|
}
|
|
5939
6002
|
|
|
5940
6003
|
declare class Menu extends PreactOverlayElement implements MenuProps {
|
|
@@ -5947,13 +6010,13 @@ declare class Menu extends PreactOverlayElement implements MenuProps {
|
|
|
5947
6010
|
}
|
|
5948
6011
|
declare global {
|
|
5949
6012
|
interface HTMLElementTagNameMap {
|
|
5950
|
-
[tagName$
|
|
6013
|
+
[tagName$A]: Menu;
|
|
5951
6014
|
}
|
|
5952
6015
|
}
|
|
5953
6016
|
declare module 'preact' {
|
|
5954
6017
|
namespace createElement.JSX {
|
|
5955
6018
|
interface IntrinsicElements {
|
|
5956
|
-
[tagName$
|
|
6019
|
+
[tagName$A]: Omit<
|
|
5957
6020
|
HTMLAttributes<HTMLElement>,
|
|
5958
6021
|
Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
|
|
5959
6022
|
> &
|
|
@@ -5962,10 +6025,131 @@ declare module 'preact' {
|
|
|
5962
6025
|
}
|
|
5963
6026
|
}
|
|
5964
6027
|
|
|
5965
|
-
declare const tagName$
|
|
6028
|
+
declare const tagName$A = 's-menu';
|
|
5966
6029
|
export interface MenuJSXProps
|
|
5967
6030
|
extends Partial<MenuProps>,
|
|
5968
|
-
Pick<MenuProps$1, 'id'> {
|
|
6031
|
+
Pick<MenuProps$1, 'id'> {
|
|
6032
|
+
/**
|
|
6033
|
+
* The Menu items.
|
|
6034
|
+
*
|
|
6035
|
+
* Only accepts `Button` and `Section` components.
|
|
6036
|
+
*/
|
|
6037
|
+
children?: ComponentChild;
|
|
6038
|
+
}
|
|
6039
|
+
|
|
6040
|
+
export type RequiredAlignedModalProps = Required<ModalProps$1>;
|
|
6041
|
+
export interface ModalProps
|
|
6042
|
+
extends Pick<
|
|
6043
|
+
RequiredAlignedModalProps,
|
|
6044
|
+
| 'accessibilityLabel'
|
|
6045
|
+
| 'heading'
|
|
6046
|
+
| 'padding'
|
|
6047
|
+
| 'size'
|
|
6048
|
+
| 'hideOverlay'
|
|
6049
|
+
| 'showOverlay'
|
|
6050
|
+
| 'toggleOverlay'
|
|
6051
|
+
> {
|
|
6052
|
+
/**
|
|
6053
|
+
* Adjust the size of the Modal.
|
|
6054
|
+
*/
|
|
6055
|
+
size: Extract<
|
|
6056
|
+
ModalProps$1['size'],
|
|
6057
|
+
'small-100' | 'small' | 'base' | 'large' | 'large-100'
|
|
6058
|
+
>;
|
|
6059
|
+
}
|
|
6060
|
+
|
|
6061
|
+
declare class AddedContext<T> extends EventTarget {
|
|
6062
|
+
constructor(defaultValue: T);
|
|
6063
|
+
get value(): T;
|
|
6064
|
+
set value(value: T);
|
|
6065
|
+
}
|
|
6066
|
+
|
|
6067
|
+
declare const hasOpenChildModal: unique symbol;
|
|
6068
|
+
|
|
6069
|
+
declare const open: unique symbol;
|
|
6070
|
+
declare const show: unique symbol;
|
|
6071
|
+
declare const hide: unique symbol;
|
|
6072
|
+
declare const dialog: unique symbol;
|
|
6073
|
+
declare const onEscape: unique symbol;
|
|
6074
|
+
declare const nestedModals: unique symbol;
|
|
6075
|
+
declare const onBackdropClick: unique symbol;
|
|
6076
|
+
declare const abortController: unique symbol;
|
|
6077
|
+
declare const onChildModalChange: unique symbol;
|
|
6078
|
+
declare const childrenRerenderObserver: unique symbol;
|
|
6079
|
+
declare class Modal extends PreactOverlayElement implements ModalProps {
|
|
6080
|
+
accessor accessibilityLabel: ModalProps['accessibilityLabel'];
|
|
6081
|
+
accessor heading: ModalProps['heading'];
|
|
6082
|
+
accessor padding: ModalProps['padding'];
|
|
6083
|
+
accessor size: ModalProps['size'];
|
|
6084
|
+
/** @private */
|
|
6085
|
+
[abortController]: AbortController;
|
|
6086
|
+
/** @private */
|
|
6087
|
+
[dialog]: HTMLDialogElement | null;
|
|
6088
|
+
/** @private */
|
|
6089
|
+
[nestedModals]: Map<Modal, boolean>;
|
|
6090
|
+
/** @private */
|
|
6091
|
+
[childrenRerenderObserver]: MutationObserver;
|
|
6092
|
+
/** @private */
|
|
6093
|
+
[onEscape]: (event: KeyboardEvent) => void;
|
|
6094
|
+
/** @private */
|
|
6095
|
+
[onBackdropClick]: (event: MouseEvent) => void;
|
|
6096
|
+
/** @private */
|
|
6097
|
+
[onChildModalChange]: EventListenerOrEventListenerObject;
|
|
6098
|
+
/** @private */
|
|
6099
|
+
get [open](): boolean;
|
|
6100
|
+
/** @private */
|
|
6101
|
+
get [hasOpenChildModal](): boolean;
|
|
6102
|
+
/** @private */
|
|
6103
|
+
[show](): Promise<void>;
|
|
6104
|
+
/** @private */
|
|
6105
|
+
[hide](): Promise<void>;
|
|
6106
|
+
showOverlay(): void;
|
|
6107
|
+
hideOverlay(): void;
|
|
6108
|
+
toggleOverlay(): void;
|
|
6109
|
+
/** @private */
|
|
6110
|
+
connectedCallback(): void;
|
|
6111
|
+
/** @private */
|
|
6112
|
+
disconnectedCallback(): void;
|
|
6113
|
+
constructor();
|
|
6114
|
+
}
|
|
6115
|
+
declare global {
|
|
6116
|
+
interface HTMLElementTagNameMap {
|
|
6117
|
+
[tagName$z]: Modal;
|
|
6118
|
+
}
|
|
6119
|
+
}
|
|
6120
|
+
declare module 'preact' {
|
|
6121
|
+
namespace createElement.JSX {
|
|
6122
|
+
interface IntrinsicElements {
|
|
6123
|
+
[tagName$z]: Omit<
|
|
6124
|
+
HTMLAttributes<HTMLElement>,
|
|
6125
|
+
Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
|
|
6126
|
+
> &
|
|
6127
|
+
ModalJSXProps;
|
|
6128
|
+
}
|
|
6129
|
+
}
|
|
6130
|
+
}
|
|
6131
|
+
|
|
6132
|
+
declare const tagName$z = 's-modal';
|
|
6133
|
+
export interface ModalJSXProps
|
|
6134
|
+
extends Partial<ModalProps>,
|
|
6135
|
+
Pick<ModalProps$1, 'id' | 'children'> {
|
|
6136
|
+
/**
|
|
6137
|
+
* The primary action to perform.
|
|
6138
|
+
*
|
|
6139
|
+
* Only a `Button` with a variant of `primary` is allowed.
|
|
6140
|
+
*/
|
|
6141
|
+
primaryAction?: ComponentChild;
|
|
6142
|
+
/**
|
|
6143
|
+
* The secondary actions to perform.
|
|
6144
|
+
*
|
|
6145
|
+
* Only `ButtonGroup` or `Button` with a variant of `secondary` or `auto` are allowed.
|
|
6146
|
+
*/
|
|
6147
|
+
secondaryActions?: ComponentChild;
|
|
6148
|
+
onHide?: ((event: CallbackEvent<typeof tagName$z>) => void) | null;
|
|
6149
|
+
onShow?: ((event: CallbackEvent<typeof tagName$z>) => void) | null;
|
|
6150
|
+
onAfterHide?: ((event: CallbackEvent<typeof tagName$z>) => void) | null;
|
|
6151
|
+
onAfterShow?: ((event: CallbackEvent<typeof tagName$z>) => void) | null;
|
|
6152
|
+
}
|
|
5969
6153
|
|
|
5970
6154
|
export type RequiredMoneyFieldProps = Required<MoneyFieldProps$1>;
|
|
5971
6155
|
export interface MoneyFieldProps
|
|
@@ -6169,16 +6353,24 @@ export interface PageJSXProps extends Partial<PageProps> {
|
|
|
6169
6353
|
*/
|
|
6170
6354
|
aside?: ComponentChild;
|
|
6171
6355
|
/**
|
|
6172
|
-
* The primary action
|
|
6173
|
-
*
|
|
6356
|
+
* The primary action for the page.
|
|
6357
|
+
*
|
|
6358
|
+
* Only accepts a single `Button` component with a `variant` of `primary`.
|
|
6174
6359
|
*
|
|
6175
6360
|
*/
|
|
6176
6361
|
primaryAction?: ComponentChild;
|
|
6177
6362
|
/**
|
|
6178
|
-
* Secondary actions
|
|
6179
|
-
*
|
|
6363
|
+
* Secondary actions for the page.
|
|
6364
|
+
*
|
|
6365
|
+
* Only accepts `ButtonGroup` and `Button` components with a `variant` of `secondary` or `auto`.
|
|
6180
6366
|
*/
|
|
6181
6367
|
secondaryActions?: ComponentChild;
|
|
6368
|
+
/**
|
|
6369
|
+
* Navigations back actions for the page.
|
|
6370
|
+
*
|
|
6371
|
+
* Only accepts `Link` components.
|
|
6372
|
+
*/
|
|
6373
|
+
breadcrumbActions?: ComponentChild;
|
|
6182
6374
|
}
|
|
6183
6375
|
|
|
6184
6376
|
export interface ParagraphProps
|
|
@@ -6477,6 +6669,7 @@ export interface SelectProps
|
|
|
6477
6669
|
>
|
|
6478
6670
|
> {
|
|
6479
6671
|
value: Required<SelectProps$1>['value'];
|
|
6672
|
+
icon: IconProps['type'];
|
|
6480
6673
|
}
|
|
6481
6674
|
|
|
6482
6675
|
declare const usedFirstOptionSymbol: unique symbol;
|
|
@@ -6696,12 +6889,6 @@ export interface TableHeaderProps extends Pick<TableHeaderProps$1, 'listSlot'> {
|
|
|
6696
6889
|
format: HeaderFormat;
|
|
6697
6890
|
}
|
|
6698
6891
|
|
|
6699
|
-
declare class AddedContext<T> extends EventTarget {
|
|
6700
|
-
constructor(defaultValue: T);
|
|
6701
|
-
get value(): T;
|
|
6702
|
-
set value(value: T);
|
|
6703
|
-
}
|
|
6704
|
-
|
|
6705
6892
|
declare const actualTableVariantSymbol: unique symbol;
|
|
6706
6893
|
declare const tableHeadersSharedDataSymbol: unique symbol;
|
|
6707
6894
|
export type ActualTableVariant = 'table' | 'list';
|
|
@@ -7061,14 +7248,7 @@ export interface ThumbnailJSXProps
|
|
|
7061
7248
|
onError?: ((event: CallbackEvent<typeof tagName$9>) => void) | null;
|
|
7062
7249
|
}
|
|
7063
7250
|
|
|
7064
|
-
export interface TooltipProps extends Required<Pick<TooltipProps$1, 'id'>> {
|
|
7065
|
-
/**
|
|
7066
|
-
* The content of the Tooltip.
|
|
7067
|
-
*
|
|
7068
|
-
* @implementation Accepts s-text, s-paragraph, and raw text content
|
|
7069
|
-
*/
|
|
7070
|
-
children: ComponentChildren$1;
|
|
7071
|
-
}
|
|
7251
|
+
export interface TooltipProps extends Required<Pick<TooltipProps$1, 'id'>> {}
|
|
7072
7252
|
|
|
7073
7253
|
declare class Tooltip extends PreactOverlayElement implements TooltipProps {
|
|
7074
7254
|
constructor();
|
|
@@ -7090,7 +7270,14 @@ declare module 'preact' {
|
|
|
7090
7270
|
declare const tagName$8 = 's-tooltip';
|
|
7091
7271
|
export interface TooltipJSXProps
|
|
7092
7272
|
extends Partial<TooltipProps>,
|
|
7093
|
-
Pick<TooltipProps$1, 'id'> {
|
|
7273
|
+
Pick<TooltipProps$1, 'id'> {
|
|
7274
|
+
/**
|
|
7275
|
+
* The content of the Tooltip.
|
|
7276
|
+
*
|
|
7277
|
+
* Only accepts `Text`, `Paragraph` components, and raw `textContent`.
|
|
7278
|
+
*/
|
|
7279
|
+
children: ComponentChild;
|
|
7280
|
+
}
|
|
7094
7281
|
|
|
7095
7282
|
export type URLFieldProps = PreactFieldProps<
|
|
7096
7283
|
Required<URLFieldProps$1>['autocomplete']
|
|
@@ -7436,6 +7623,7 @@ export {
|
|
|
7436
7623
|
Link,
|
|
7437
7624
|
ListItem,
|
|
7438
7625
|
Menu,
|
|
7626
|
+
Modal,
|
|
7439
7627
|
MoneyField,
|
|
7440
7628
|
NumberField,
|
|
7441
7629
|
Option,
|
|
@@ -7470,7 +7658,7 @@ export type {
|
|
|
7470
7658
|
AdminActionJSXProps,
|
|
7471
7659
|
AdminBlockJSXProps,
|
|
7472
7660
|
AdminPrintActionJSXProps,
|
|
7473
|
-
|
|
7661
|
+
ReactProps$_AvatarJSXProps,
|
|
7474
7662
|
BadgeJSXProps,
|
|
7475
7663
|
BannerJSXProps,
|
|
7476
7664
|
BoxJSXProps,
|
|
@@ -7500,6 +7688,7 @@ export type {
|
|
|
7500
7688
|
LinkJSXProps,
|
|
7501
7689
|
ListItemJSXProps,
|
|
7502
7690
|
MenuJSXProps,
|
|
7691
|
+
ModalJSXProps,
|
|
7503
7692
|
MoneyFieldJSXProps,
|
|
7504
7693
|
NumberFieldJSXProps,
|
|
7505
7694
|
OptionGroupJSXProps,
|
|
@@ -7562,6 +7751,11 @@ export interface CheckboxEvents {
|
|
|
7562
7751
|
}
|
|
7563
7752
|
|
|
7564
7753
|
export interface ChipSlots {
|
|
7754
|
+
/**
|
|
7755
|
+
* The graphic to display in the chip.
|
|
7756
|
+
*
|
|
7757
|
+
* Only accepts `Icon` components.
|
|
7758
|
+
*/
|
|
7565
7759
|
graphic?: HTMLElement;
|
|
7566
7760
|
}
|
|
7567
7761
|
|
|
@@ -7587,6 +7781,11 @@ export interface ClickableChipEvents {
|
|
|
7587
7781
|
}
|
|
7588
7782
|
|
|
7589
7783
|
export interface ClickableChipSlots {
|
|
7784
|
+
/**
|
|
7785
|
+
* The graphic to display in the clickable chip.
|
|
7786
|
+
*
|
|
7787
|
+
* Only accepts `Icon` components.
|
|
7788
|
+
*/
|
|
7590
7789
|
graphic?: HTMLElement;
|
|
7591
7790
|
}
|
|
7592
7791
|
|
|
@@ -7641,6 +7840,37 @@ export interface LinkEvents {
|
|
|
7641
7840
|
click: CallbackEventListener<typeof tagName> | null = null;
|
|
7642
7841
|
}
|
|
7643
7842
|
|
|
7843
|
+
export interface MenuSlots {
|
|
7844
|
+
/**
|
|
7845
|
+
* The Menu items.
|
|
7846
|
+
*
|
|
7847
|
+
* Only accepts `Button` and `Section` components.
|
|
7848
|
+
*/
|
|
7849
|
+
children?: HTMLElement;
|
|
7850
|
+
}
|
|
7851
|
+
|
|
7852
|
+
export interface ModalEvents {
|
|
7853
|
+
hide: CallbackEventListener<typeof tagName> | null = null;
|
|
7854
|
+
show: CallbackEventListener<typeof tagName> | null = null;
|
|
7855
|
+
afterhide: CallbackEventListener<typeof tagName> | null = null;
|
|
7856
|
+
aftershow: CallbackEventListener<typeof tagName> | null = null;
|
|
7857
|
+
}
|
|
7858
|
+
|
|
7859
|
+
export interface ModalSlots {
|
|
7860
|
+
/**
|
|
7861
|
+
* The primary action to perform.
|
|
7862
|
+
*
|
|
7863
|
+
* Only a `Button` with a variant of `primary` is allowed.
|
|
7864
|
+
*/
|
|
7865
|
+
'primary-action'?: HTMLElement;
|
|
7866
|
+
/**
|
|
7867
|
+
* The secondary actions to perform.
|
|
7868
|
+
*
|
|
7869
|
+
* Only `ButtonGroup` or `Button` with a variant of `secondary` or `auto` are allowed.
|
|
7870
|
+
*/
|
|
7871
|
+
'secondary-actions'?: HTMLElement;
|
|
7872
|
+
}
|
|
7873
|
+
|
|
7644
7874
|
export interface MoneyFieldEvents {
|
|
7645
7875
|
change: CallbackEventListener<'input'>;
|
|
7646
7876
|
input: CallbackEventListener<'input'>;
|
|
@@ -7663,16 +7893,24 @@ export interface PageSlots {
|
|
|
7663
7893
|
*/
|
|
7664
7894
|
aside?: HTMLElement;
|
|
7665
7895
|
/**
|
|
7666
|
-
* The primary action
|
|
7667
|
-
*
|
|
7896
|
+
* The primary action for the page.
|
|
7897
|
+
*
|
|
7898
|
+
* Only accepts a single `Button` component with a `variant` of `primary`.
|
|
7668
7899
|
*
|
|
7669
7900
|
*/
|
|
7670
7901
|
'primary-action'?: HTMLElement;
|
|
7671
7902
|
/**
|
|
7672
|
-
* Secondary actions
|
|
7673
|
-
*
|
|
7903
|
+
* Secondary actions for the page.
|
|
7904
|
+
*
|
|
7905
|
+
* Only accepts `ButtonGroup` and `Button` components with a `variant` of `secondary` or `auto`.
|
|
7674
7906
|
*/
|
|
7675
7907
|
'secondary-actions'?: HTMLElement;
|
|
7908
|
+
/**
|
|
7909
|
+
* Navigations back actions for the page.
|
|
7910
|
+
*
|
|
7911
|
+
* Only accepts `Link` components.
|
|
7912
|
+
*/
|
|
7913
|
+
'breadcrumb-actions'?: HTMLElement;
|
|
7676
7914
|
}
|
|
7677
7915
|
|
|
7678
7916
|
export interface PasswordFieldEvents {
|
|
@@ -7746,6 +7984,15 @@ export interface ThumbnailEvents {
|
|
|
7746
7984
|
error: OnErrorEventHandler = null;
|
|
7747
7985
|
}
|
|
7748
7986
|
|
|
7987
|
+
export interface TooltipSlots {
|
|
7988
|
+
/**
|
|
7989
|
+
* The content of the Tooltip.
|
|
7990
|
+
*
|
|
7991
|
+
* Only accepts `Text`, `Paragraph` components, and raw `textContent`.
|
|
7992
|
+
*/
|
|
7993
|
+
children: HTMLElement;
|
|
7994
|
+
}
|
|
7995
|
+
|
|
7749
7996
|
export interface URLFieldEvents {
|
|
7750
7997
|
change: CallbackEventListener<'input'>;
|
|
7751
7998
|
input: CallbackEventListener<'input'>;
|
|
@@ -7808,35 +8055,35 @@ export interface FunctionSettingsEvents {
|
|
|
7808
8055
|
declare module 'react' {
|
|
7809
8056
|
namespace JSX {
|
|
7810
8057
|
interface IntrinsicElements {
|
|
7811
|
-
[tagName$
|
|
8058
|
+
[tagName$_]: ReactProps$_ & ReactBaseElementPropsWithChildren<Avatar>;
|
|
7812
8059
|
}
|
|
7813
8060
|
}
|
|
7814
8061
|
}
|
|
7815
8062
|
declare global {
|
|
7816
8063
|
namespace JSX {
|
|
7817
8064
|
interface IntrinsicElements {
|
|
7818
|
-
[tagName$
|
|
8065
|
+
[tagName$_]: ReactProps$_ & ReactBaseElementPropsWithChildren<Avatar>;
|
|
7819
8066
|
}
|
|
7820
8067
|
}
|
|
7821
8068
|
}
|
|
7822
8069
|
declare module 'react' {
|
|
7823
8070
|
namespace JSX {
|
|
7824
8071
|
interface IntrinsicElements {
|
|
7825
|
-
[tagName$
|
|
8072
|
+
[tagName$Z]: BadgeJSXProps & ReactBaseElementPropsWithChildren<Badge>;
|
|
7826
8073
|
}
|
|
7827
8074
|
}
|
|
7828
8075
|
}
|
|
7829
8076
|
declare global {
|
|
7830
8077
|
namespace JSX {
|
|
7831
8078
|
interface IntrinsicElements {
|
|
7832
|
-
[tagName$
|
|
8079
|
+
[tagName$Z]: BadgeJSXProps & ReactBaseElementPropsWithChildren<Badge>;
|
|
7833
8080
|
}
|
|
7834
8081
|
}
|
|
7835
8082
|
}
|
|
7836
8083
|
declare module 'react' {
|
|
7837
8084
|
namespace JSX {
|
|
7838
8085
|
interface IntrinsicElements {
|
|
7839
|
-
[tagName$
|
|
8086
|
+
[tagName$Y]: Omit<BannerJSXProps, 'secondaryActions'> &
|
|
7840
8087
|
ReactBaseElementPropsWithChildren<Banner>;
|
|
7841
8088
|
}
|
|
7842
8089
|
}
|
|
@@ -7844,7 +8091,7 @@ declare module 'react' {
|
|
|
7844
8091
|
declare global {
|
|
7845
8092
|
namespace JSX {
|
|
7846
8093
|
interface IntrinsicElements {
|
|
7847
|
-
[tagName$
|
|
8094
|
+
[tagName$Y]: Omit<BannerJSXProps, 'secondaryActions'> &
|
|
7848
8095
|
ReactBaseElementPropsWithChildren<Banner>;
|
|
7849
8096
|
}
|
|
7850
8097
|
}
|
|
@@ -7852,35 +8099,35 @@ declare global {
|
|
|
7852
8099
|
declare module 'react' {
|
|
7853
8100
|
namespace JSX {
|
|
7854
8101
|
interface IntrinsicElements {
|
|
7855
|
-
[tagName$
|
|
8102
|
+
[tagName$X]: BoxJSXProps & ReactBaseElementPropsWithChildren<Box>;
|
|
7856
8103
|
}
|
|
7857
8104
|
}
|
|
7858
8105
|
}
|
|
7859
8106
|
declare global {
|
|
7860
8107
|
namespace JSX {
|
|
7861
8108
|
interface IntrinsicElements {
|
|
7862
|
-
[tagName$
|
|
8109
|
+
[tagName$X]: BoxJSXProps & ReactBaseElementPropsWithChildren<Box>;
|
|
7863
8110
|
}
|
|
7864
8111
|
}
|
|
7865
8112
|
}
|
|
7866
8113
|
declare module 'react' {
|
|
7867
8114
|
namespace JSX {
|
|
7868
8115
|
interface IntrinsicElements {
|
|
7869
|
-
[tagName$
|
|
8116
|
+
[tagName$W]: ButtonJSXProps & ReactBaseElementPropsWithChildren<Button>;
|
|
7870
8117
|
}
|
|
7871
8118
|
}
|
|
7872
8119
|
}
|
|
7873
8120
|
declare global {
|
|
7874
8121
|
namespace JSX {
|
|
7875
8122
|
interface IntrinsicElements {
|
|
7876
|
-
[tagName$
|
|
8123
|
+
[tagName$W]: ButtonJSXProps & ReactBaseElementPropsWithChildren<Button>;
|
|
7877
8124
|
}
|
|
7878
8125
|
}
|
|
7879
8126
|
}
|
|
7880
8127
|
declare module 'react' {
|
|
7881
8128
|
namespace JSX {
|
|
7882
8129
|
interface IntrinsicElements {
|
|
7883
|
-
[tagName$
|
|
8130
|
+
[tagName$V]: ButtonGroupJSXProps &
|
|
7884
8131
|
ReactBaseElementPropsWithChildren<ButtonGroup>;
|
|
7885
8132
|
}
|
|
7886
8133
|
}
|
|
@@ -7888,7 +8135,7 @@ declare module 'react' {
|
|
|
7888
8135
|
declare global {
|
|
7889
8136
|
namespace JSX {
|
|
7890
8137
|
interface IntrinsicElements {
|
|
7891
|
-
[tagName$
|
|
8138
|
+
[tagName$V]: ButtonGroupJSXProps &
|
|
7892
8139
|
ReactBaseElementPropsWithChildren<ButtonGroup>;
|
|
7893
8140
|
}
|
|
7894
8141
|
}
|
|
@@ -7896,7 +8143,7 @@ declare global {
|
|
|
7896
8143
|
declare module 'react' {
|
|
7897
8144
|
namespace JSX {
|
|
7898
8145
|
interface IntrinsicElements {
|
|
7899
|
-
[tagName$
|
|
8146
|
+
[tagName$U]: CheckboxJSXProps &
|
|
7900
8147
|
ReactBaseElementPropsWithChildren<Checkbox>;
|
|
7901
8148
|
}
|
|
7902
8149
|
}
|
|
@@ -7904,7 +8151,7 @@ declare module 'react' {
|
|
|
7904
8151
|
declare global {
|
|
7905
8152
|
namespace JSX {
|
|
7906
8153
|
interface IntrinsicElements {
|
|
7907
|
-
[tagName$
|
|
8154
|
+
[tagName$U]: CheckboxJSXProps &
|
|
7908
8155
|
ReactBaseElementPropsWithChildren<Checkbox>;
|
|
7909
8156
|
}
|
|
7910
8157
|
}
|
|
@@ -7912,7 +8159,7 @@ declare global {
|
|
|
7912
8159
|
declare module 'react' {
|
|
7913
8160
|
namespace JSX {
|
|
7914
8161
|
interface IntrinsicElements {
|
|
7915
|
-
[tagName$
|
|
8162
|
+
[tagName$T]: Omit<
|
|
7916
8163
|
HTMLAttributes<HTMLElement>,
|
|
7917
8164
|
Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
|
|
7918
8165
|
> &
|
|
@@ -7924,7 +8171,7 @@ declare module 'react' {
|
|
|
7924
8171
|
declare global {
|
|
7925
8172
|
namespace JSX {
|
|
7926
8173
|
interface IntrinsicElements {
|
|
7927
|
-
[tagName$
|
|
8174
|
+
[tagName$T]: Omit<
|
|
7928
8175
|
React.HTMLAttributes<HTMLElement>,
|
|
7929
8176
|
Extract<
|
|
7930
8177
|
keyof React.HTMLAttributes<HTMLElement>,
|
|
@@ -7939,21 +8186,21 @@ declare global {
|
|
|
7939
8186
|
declare module 'react' {
|
|
7940
8187
|
namespace JSX {
|
|
7941
8188
|
interface IntrinsicElements {
|
|
7942
|
-
[tagName$
|
|
8189
|
+
[tagName$S]: ChoiceJSXProps & ReactBaseElementPropsWithChildren<Choice>;
|
|
7943
8190
|
}
|
|
7944
8191
|
}
|
|
7945
8192
|
}
|
|
7946
8193
|
declare global {
|
|
7947
8194
|
namespace JSX {
|
|
7948
8195
|
interface IntrinsicElements {
|
|
7949
|
-
[tagName$
|
|
8196
|
+
[tagName$S]: ChoiceJSXProps & ReactBaseElementPropsWithChildren<Choice>;
|
|
7950
8197
|
}
|
|
7951
8198
|
}
|
|
7952
8199
|
}
|
|
7953
8200
|
declare module 'react' {
|
|
7954
8201
|
namespace JSX {
|
|
7955
8202
|
interface IntrinsicElements {
|
|
7956
|
-
[tagName$
|
|
8203
|
+
[tagName$R]: ChoiceListJSXProps &
|
|
7957
8204
|
ReactBaseElementPropsWithChildren<ChoiceList>;
|
|
7958
8205
|
}
|
|
7959
8206
|
}
|
|
@@ -7961,7 +8208,7 @@ declare module 'react' {
|
|
|
7961
8208
|
declare global {
|
|
7962
8209
|
namespace JSX {
|
|
7963
8210
|
interface IntrinsicElements {
|
|
7964
|
-
[tagName$
|
|
8211
|
+
[tagName$R]: ChoiceListJSXProps &
|
|
7965
8212
|
ReactBaseElementPropsWithChildren<ChoiceList>;
|
|
7966
8213
|
}
|
|
7967
8214
|
}
|
|
@@ -7969,7 +8216,7 @@ declare global {
|
|
|
7969
8216
|
declare module 'react' {
|
|
7970
8217
|
namespace JSX {
|
|
7971
8218
|
interface IntrinsicElements {
|
|
7972
|
-
[tagName$
|
|
8219
|
+
[tagName$Q]: ClickableJSXProps &
|
|
7973
8220
|
ReactBaseElementPropsWithChildren<Clickable>;
|
|
7974
8221
|
}
|
|
7975
8222
|
}
|
|
@@ -7977,7 +8224,7 @@ declare module 'react' {
|
|
|
7977
8224
|
declare global {
|
|
7978
8225
|
namespace JSX {
|
|
7979
8226
|
interface IntrinsicElements {
|
|
7980
|
-
[tagName$
|
|
8227
|
+
[tagName$Q]: ClickableJSXProps &
|
|
7981
8228
|
ReactBaseElementPropsWithChildren<Clickable>;
|
|
7982
8229
|
}
|
|
7983
8230
|
}
|
|
@@ -7985,7 +8232,7 @@ declare global {
|
|
|
7985
8232
|
declare module 'react' {
|
|
7986
8233
|
namespace JSX {
|
|
7987
8234
|
interface IntrinsicElements {
|
|
7988
|
-
[tagName$
|
|
8235
|
+
[tagName$P]: Omit<
|
|
7989
8236
|
HTMLAttributes<HTMLElement>,
|
|
7990
8237
|
Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
|
|
7991
8238
|
> &
|
|
@@ -7997,7 +8244,7 @@ declare module 'react' {
|
|
|
7997
8244
|
declare global {
|
|
7998
8245
|
namespace JSX {
|
|
7999
8246
|
interface IntrinsicElements {
|
|
8000
|
-
[tagName$
|
|
8247
|
+
[tagName$P]: Omit<
|
|
8001
8248
|
React.HTMLAttributes<HTMLElement>,
|
|
8002
8249
|
Extract<
|
|
8003
8250
|
keyof React.HTMLAttributes<HTMLElement>,
|
|
@@ -8012,21 +8259,21 @@ declare global {
|
|
|
8012
8259
|
declare module 'react' {
|
|
8013
8260
|
namespace JSX {
|
|
8014
8261
|
interface IntrinsicElements {
|
|
8015
|
-
[tagName$
|
|
8262
|
+
[tagName$O]: ColorFieldJSXProps & ReactBaseElementProps<ColorField>;
|
|
8016
8263
|
}
|
|
8017
8264
|
}
|
|
8018
8265
|
}
|
|
8019
8266
|
declare global {
|
|
8020
8267
|
namespace JSX {
|
|
8021
8268
|
interface IntrinsicElements {
|
|
8022
|
-
[tagName$
|
|
8269
|
+
[tagName$O]: ColorFieldJSXProps & ReactBaseElementProps<ColorField>;
|
|
8023
8270
|
}
|
|
8024
8271
|
}
|
|
8025
8272
|
}
|
|
8026
8273
|
declare module 'react' {
|
|
8027
8274
|
namespace JSX {
|
|
8028
8275
|
interface IntrinsicElements {
|
|
8029
|
-
[tagName$
|
|
8276
|
+
[tagName$N]: Omit<
|
|
8030
8277
|
HTMLAttributes<HTMLElement>,
|
|
8031
8278
|
Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
|
|
8032
8279
|
> &
|
|
@@ -8037,7 +8284,7 @@ declare module 'react' {
|
|
|
8037
8284
|
declare global {
|
|
8038
8285
|
namespace JSX {
|
|
8039
8286
|
interface IntrinsicElements {
|
|
8040
|
-
[tagName$
|
|
8287
|
+
[tagName$N]: Omit<
|
|
8041
8288
|
React.HTMLAttributes<HTMLElement>,
|
|
8042
8289
|
Extract<
|
|
8043
8290
|
keyof React.HTMLAttributes<HTMLElement>,
|
|
@@ -8051,7 +8298,7 @@ declare global {
|
|
|
8051
8298
|
declare module 'react' {
|
|
8052
8299
|
namespace JSX {
|
|
8053
8300
|
interface IntrinsicElements {
|
|
8054
|
-
[tagName$
|
|
8301
|
+
[tagName$M]: Omit<
|
|
8055
8302
|
HTMLAttributes<HTMLElement>,
|
|
8056
8303
|
Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
|
|
8057
8304
|
> &
|
|
@@ -8062,7 +8309,7 @@ declare module 'react' {
|
|
|
8062
8309
|
declare global {
|
|
8063
8310
|
namespace JSX {
|
|
8064
8311
|
interface IntrinsicElements {
|
|
8065
|
-
[tagName$
|
|
8312
|
+
[tagName$M]: Omit<
|
|
8066
8313
|
React.HTMLAttributes<HTMLElement>,
|
|
8067
8314
|
Extract<
|
|
8068
8315
|
keyof React.HTMLAttributes<HTMLElement>,
|
|
@@ -8076,35 +8323,35 @@ declare global {
|
|
|
8076
8323
|
declare module 'react' {
|
|
8077
8324
|
namespace JSX {
|
|
8078
8325
|
interface IntrinsicElements {
|
|
8079
|
-
[tagName$
|
|
8326
|
+
[tagName$L]: DatePickerJSXProps & ReactBaseElementProps<DatePicker>;
|
|
8080
8327
|
}
|
|
8081
8328
|
}
|
|
8082
8329
|
}
|
|
8083
8330
|
declare global {
|
|
8084
8331
|
namespace JSX {
|
|
8085
8332
|
interface IntrinsicElements {
|
|
8086
|
-
[tagName$
|
|
8333
|
+
[tagName$L]: DatePickerJSXProps & ReactBaseElementProps<DatePicker>;
|
|
8087
8334
|
}
|
|
8088
8335
|
}
|
|
8089
8336
|
}
|
|
8090
8337
|
declare module 'react' {
|
|
8091
8338
|
namespace JSX {
|
|
8092
8339
|
interface IntrinsicElements {
|
|
8093
|
-
[tagName$
|
|
8340
|
+
[tagName$K]: DividerJSXProps & ReactBaseElementProps<Divider>;
|
|
8094
8341
|
}
|
|
8095
8342
|
}
|
|
8096
8343
|
}
|
|
8097
8344
|
declare global {
|
|
8098
8345
|
namespace JSX {
|
|
8099
8346
|
interface IntrinsicElements {
|
|
8100
|
-
[tagName$
|
|
8347
|
+
[tagName$K]: DividerJSXProps & ReactBaseElementProps<Divider>;
|
|
8101
8348
|
}
|
|
8102
8349
|
}
|
|
8103
8350
|
}
|
|
8104
8351
|
declare module 'react' {
|
|
8105
8352
|
namespace JSX {
|
|
8106
8353
|
interface IntrinsicElements {
|
|
8107
|
-
[tagName$
|
|
8354
|
+
[tagName$J]: Omit<
|
|
8108
8355
|
HTMLAttributes<HTMLElement>,
|
|
8109
8356
|
Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
|
|
8110
8357
|
> &
|
|
@@ -8115,7 +8362,7 @@ declare module 'react' {
|
|
|
8115
8362
|
declare global {
|
|
8116
8363
|
namespace JSX {
|
|
8117
8364
|
interface IntrinsicElements {
|
|
8118
|
-
[tagName$
|
|
8365
|
+
[tagName$J]: Omit<
|
|
8119
8366
|
React.HTMLAttributes<HTMLElement>,
|
|
8120
8367
|
Extract<
|
|
8121
8368
|
keyof React.HTMLAttributes<HTMLElement>,
|
|
@@ -8129,35 +8376,35 @@ declare global {
|
|
|
8129
8376
|
declare module 'react' {
|
|
8130
8377
|
namespace JSX {
|
|
8131
8378
|
interface IntrinsicElements {
|
|
8132
|
-
[tagName$
|
|
8379
|
+
[tagName$I]: EmailFieldJSXProps & ReactBaseElementProps<EmailField>;
|
|
8133
8380
|
}
|
|
8134
8381
|
}
|
|
8135
8382
|
}
|
|
8136
8383
|
declare global {
|
|
8137
8384
|
namespace JSX {
|
|
8138
8385
|
interface IntrinsicElements {
|
|
8139
|
-
[tagName$
|
|
8386
|
+
[tagName$I]: EmailFieldJSXProps & ReactBaseElementProps<EmailField>;
|
|
8140
8387
|
}
|
|
8141
8388
|
}
|
|
8142
8389
|
}
|
|
8143
8390
|
declare module 'react' {
|
|
8144
8391
|
namespace JSX {
|
|
8145
8392
|
interface IntrinsicElements {
|
|
8146
|
-
[tagName$
|
|
8393
|
+
[tagName$H]: GridJSXProps & ReactBaseElementPropsWithChildren<Grid>;
|
|
8147
8394
|
}
|
|
8148
8395
|
}
|
|
8149
8396
|
}
|
|
8150
8397
|
declare global {
|
|
8151
8398
|
namespace JSX {
|
|
8152
8399
|
interface IntrinsicElements {
|
|
8153
|
-
[tagName$
|
|
8400
|
+
[tagName$H]: GridJSXProps & ReactBaseElementPropsWithChildren<Grid>;
|
|
8154
8401
|
}
|
|
8155
8402
|
}
|
|
8156
8403
|
}
|
|
8157
8404
|
declare module 'react' {
|
|
8158
8405
|
namespace JSX {
|
|
8159
8406
|
interface IntrinsicElements {
|
|
8160
|
-
[tagName$
|
|
8407
|
+
[tagName$G]: GridItemJSXProps &
|
|
8161
8408
|
ReactBaseElementPropsWithChildren<GridItem>;
|
|
8162
8409
|
}
|
|
8163
8410
|
}
|
|
@@ -8165,7 +8412,7 @@ declare module 'react' {
|
|
|
8165
8412
|
declare global {
|
|
8166
8413
|
namespace JSX {
|
|
8167
8414
|
interface IntrinsicElements {
|
|
8168
|
-
[tagName$
|
|
8415
|
+
[tagName$G]: GridItemJSXProps &
|
|
8169
8416
|
ReactBaseElementPropsWithChildren<GridItem>;
|
|
8170
8417
|
}
|
|
8171
8418
|
}
|
|
@@ -8173,63 +8420,63 @@ declare global {
|
|
|
8173
8420
|
declare module 'react' {
|
|
8174
8421
|
namespace JSX {
|
|
8175
8422
|
interface IntrinsicElements {
|
|
8176
|
-
[tagName$
|
|
8423
|
+
[tagName$F]: HeadingJSXProps & ReactBaseElementPropsWithChildren<Heading>;
|
|
8177
8424
|
}
|
|
8178
8425
|
}
|
|
8179
8426
|
}
|
|
8180
8427
|
declare global {
|
|
8181
8428
|
namespace JSX {
|
|
8182
8429
|
interface IntrinsicElements {
|
|
8183
|
-
[tagName$
|
|
8430
|
+
[tagName$F]: HeadingJSXProps & ReactBaseElementPropsWithChildren<Heading>;
|
|
8184
8431
|
}
|
|
8185
8432
|
}
|
|
8186
8433
|
}
|
|
8187
8434
|
declare module 'react' {
|
|
8188
8435
|
namespace JSX {
|
|
8189
8436
|
interface IntrinsicElements {
|
|
8190
|
-
[tagName$
|
|
8437
|
+
[tagName$E]: IconJSXProps & ReactBaseElementProps<Icon>;
|
|
8191
8438
|
}
|
|
8192
8439
|
}
|
|
8193
8440
|
}
|
|
8194
8441
|
declare global {
|
|
8195
8442
|
namespace JSX {
|
|
8196
8443
|
interface IntrinsicElements {
|
|
8197
|
-
[tagName$
|
|
8444
|
+
[tagName$E]: IconJSXProps & ReactBaseElementProps<Icon>;
|
|
8198
8445
|
}
|
|
8199
8446
|
}
|
|
8200
8447
|
}
|
|
8201
8448
|
declare module 'react' {
|
|
8202
8449
|
namespace JSX {
|
|
8203
8450
|
interface IntrinsicElements {
|
|
8204
|
-
[tagName$
|
|
8451
|
+
[tagName$D]: ImageJSXProps & ReactBaseElementProps<Image>;
|
|
8205
8452
|
}
|
|
8206
8453
|
}
|
|
8207
8454
|
}
|
|
8208
8455
|
declare global {
|
|
8209
8456
|
namespace JSX {
|
|
8210
8457
|
interface IntrinsicElements {
|
|
8211
|
-
[tagName$
|
|
8458
|
+
[tagName$D]: ImageJSXProps & ReactBaseElementProps<Image>;
|
|
8212
8459
|
}
|
|
8213
8460
|
}
|
|
8214
8461
|
}
|
|
8215
8462
|
declare module 'react' {
|
|
8216
8463
|
namespace JSX {
|
|
8217
8464
|
interface IntrinsicElements {
|
|
8218
|
-
[tagName$
|
|
8465
|
+
[tagName$C]: LinkJSXProps & ReactBaseElementPropsWithChildren<Link>;
|
|
8219
8466
|
}
|
|
8220
8467
|
}
|
|
8221
8468
|
}
|
|
8222
8469
|
declare global {
|
|
8223
8470
|
namespace JSX {
|
|
8224
8471
|
interface IntrinsicElements {
|
|
8225
|
-
[tagName$
|
|
8472
|
+
[tagName$C]: LinkJSXProps & ReactBaseElementPropsWithChildren<Link>;
|
|
8226
8473
|
}
|
|
8227
8474
|
}
|
|
8228
8475
|
}
|
|
8229
8476
|
declare module 'react' {
|
|
8230
8477
|
namespace JSX {
|
|
8231
8478
|
interface IntrinsicElements {
|
|
8232
|
-
[tagName$
|
|
8479
|
+
[tagName$B]: ListItemJSXProps &
|
|
8233
8480
|
ReactBaseElementPropsWithChildren<ListItem>;
|
|
8234
8481
|
}
|
|
8235
8482
|
}
|
|
@@ -8237,7 +8484,7 @@ declare module 'react' {
|
|
|
8237
8484
|
declare global {
|
|
8238
8485
|
namespace JSX {
|
|
8239
8486
|
interface IntrinsicElements {
|
|
8240
|
-
[tagName$
|
|
8487
|
+
[tagName$B]: ListItemJSXProps &
|
|
8241
8488
|
ReactBaseElementPropsWithChildren<ListItem>;
|
|
8242
8489
|
}
|
|
8243
8490
|
}
|
|
@@ -8245,7 +8492,7 @@ declare global {
|
|
|
8245
8492
|
declare module 'react' {
|
|
8246
8493
|
namespace JSX {
|
|
8247
8494
|
interface IntrinsicElements {
|
|
8248
|
-
[tagName$
|
|
8495
|
+
[tagName$A]: Omit<
|
|
8249
8496
|
HTMLAttributes<HTMLElement>,
|
|
8250
8497
|
Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
|
|
8251
8498
|
> &
|
|
@@ -8256,7 +8503,7 @@ declare module 'react' {
|
|
|
8256
8503
|
declare global {
|
|
8257
8504
|
namespace JSX {
|
|
8258
8505
|
interface IntrinsicElements {
|
|
8259
|
-
[tagName$
|
|
8506
|
+
[tagName$A]: Omit<
|
|
8260
8507
|
React.HTMLAttributes<HTMLElement>,
|
|
8261
8508
|
Extract<
|
|
8262
8509
|
keyof React.HTMLAttributes<HTMLElement>,
|
|
@@ -8267,6 +8514,31 @@ declare global {
|
|
|
8267
8514
|
}
|
|
8268
8515
|
}
|
|
8269
8516
|
}
|
|
8517
|
+
declare module 'react' {
|
|
8518
|
+
namespace JSX {
|
|
8519
|
+
interface IntrinsicElements {
|
|
8520
|
+
[tagName$z]: Omit<
|
|
8521
|
+
HTMLAttributes<HTMLElement>,
|
|
8522
|
+
Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
|
|
8523
|
+
> &
|
|
8524
|
+
ModalJSXProps;
|
|
8525
|
+
}
|
|
8526
|
+
}
|
|
8527
|
+
}
|
|
8528
|
+
declare global {
|
|
8529
|
+
namespace JSX {
|
|
8530
|
+
interface IntrinsicElements {
|
|
8531
|
+
[tagName$z]: Omit<
|
|
8532
|
+
React.HTMLAttributes<HTMLElement>,
|
|
8533
|
+
Extract<
|
|
8534
|
+
keyof React.HTMLAttributes<HTMLElement>,
|
|
8535
|
+
`on${Capitalize<string>}`
|
|
8536
|
+
>
|
|
8537
|
+
> &
|
|
8538
|
+
ModalJSXProps;
|
|
8539
|
+
}
|
|
8540
|
+
}
|
|
8541
|
+
}
|
|
8270
8542
|
declare module 'react' {
|
|
8271
8543
|
namespace JSX {
|
|
8272
8544
|
interface IntrinsicElements {
|