@shopify/ui-extensions 2025.10.3 → 2025.10.4
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/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 +7 -2
- package/build/ts/surfaces/admin/components/Banner.d.ts +6 -2
- package/build/ts/surfaces/admin/components/Box.d.ts +7 -2
- package/build/ts/surfaces/admin/components/Button.d.ts +6 -2
- package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +6 -2
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Chip.d.ts +6 -2
- package/build/ts/surfaces/admin/components/Choice.d.ts +10 -2
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +8 -2
- package/build/ts/surfaces/admin/components/Clickable.d.ts +6 -2
- package/build/ts/surfaces/admin/components/ClickableChip.d.ts +47 -4
- 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/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 +183 -0
- 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 +7 -2
- package/build/ts/surfaces/admin/components/GridItem.d.ts +7 -2
- package/build/ts/surfaces/admin/components/Heading.d.ts +7 -2
- 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 +6 -2
- package/build/ts/surfaces/admin/components/ListItem.d.ts +7 -2
- package/build/ts/surfaces/admin/components/Menu.d.ts +9 -2
- package/build/ts/surfaces/admin/components/Modal.d.ts +6 -2
- 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 +7 -2
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +9 -2
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +9 -2
- package/build/ts/surfaces/admin/components/Page.d.ts +6 -2
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +7 -2
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +7 -2
- package/build/ts/surfaces/admin/components/SearchField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Section.d.ts +7 -2
- package/build/ts/surfaces/admin/components/Select.d.ts +8 -2
- package/build/ts/surfaces/admin/components/Spinner.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Stack.d.ts +7 -2
- 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/Table.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Table.d.ts +6 -2
- package/build/ts/surfaces/admin/components/TableBody.d.ts +7 -2
- package/build/ts/surfaces/admin/components/TableCell.d.ts +7 -2
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +7 -2
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +7 -2
- package/build/ts/surfaces/admin/components/TableRow.d.ts +7 -2
- package/build/ts/surfaces/admin/components/Text.d.ts +7 -2
- package/build/ts/surfaces/admin/components/TextArea.d.ts +1 -1
- package/build/ts/surfaces/admin/components/TextField.d.ts +7 -2
- package/build/ts/surfaces/admin/components/Thumbnail.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Tooltip.d.ts +9 -2
- package/build/ts/surfaces/admin/components/URLField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +9 -2
- package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/appCard.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/calloutCard.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/emptyState.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/footerHelp.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/footerHelp.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts +2 -2
- package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/interstitialNav.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/mediaCard.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/metricsCard.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/resourceList.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/resourceList.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/setupGuide.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/shared.d.ts +31 -4
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.catalog-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.collection-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.company-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.company-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.customer-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.order-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.order-index.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.product-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.product-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.product-details.reorder.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.product-purchase-option.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +1 -0
- package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction/CustomerAccountAction.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/ImageGroup/ImageGroup.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- 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 +7 -2
- package/src/surfaces/admin/components/Banner.d.ts +6 -2
- package/src/surfaces/admin/components/Box.d.ts +7 -2
- package/src/surfaces/admin/components/Button.d.ts +6 -2
- package/src/surfaces/admin/components/ButtonGroup.d.ts +6 -2
- package/src/surfaces/admin/components/Checkbox/examples/indeterminate-state.jsx +6 -6
- package/src/surfaces/admin/components/Checkbox/examples/validation-example.jsx +3 -3
- package/src/surfaces/admin/components/Checkbox.d.ts +1 -1
- package/src/surfaces/admin/components/Chip.d.ts +6 -2
- package/src/surfaces/admin/components/Choice.d.ts +10 -2
- package/src/surfaces/admin/components/ChoiceList/examples/validation-example.jsx +1 -1
- package/src/surfaces/admin/components/ChoiceList.d.ts +8 -2
- package/src/surfaces/admin/components/Clickable.d.ts +6 -2
- package/src/surfaces/admin/components/ClickableChip.d.ts +47 -4
- package/src/surfaces/admin/components/ColorField/examples/validation-example.jsx +4 -4
- 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/DateField/examples/validation-example.jsx +3 -3
- package/src/surfaces/admin/components/DateField.d.ts +1 -1
- package/src/surfaces/admin/components/DatePicker/examples/analytics-dashboard.html +1 -1
- package/src/surfaces/admin/components/DatePicker/examples/analytics-dashboard.jsx +3 -3
- package/src/surfaces/admin/components/DatePicker/examples/form-integration.jsx +2 -2
- 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/examples/default.jsx +3 -3
- package/src/surfaces/admin/components/DropZone.d.ts +183 -0
- package/src/surfaces/admin/components/EmailField/examples/validation-example.jsx +3 -3
- 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 +7 -2
- package/src/surfaces/admin/components/GridItem.d.ts +7 -2
- package/src/surfaces/admin/components/Heading.d.ts +7 -2
- 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 +6 -2
- package/src/surfaces/admin/components/ListItem.d.ts +7 -2
- package/src/surfaces/admin/components/Menu/examples/menu-with-links-and-disabled-items.jsx +1 -1
- package/src/surfaces/admin/components/Menu.d.ts +9 -2
- package/src/surfaces/admin/components/Modal/examples/form-modal.html +2 -3
- package/src/surfaces/admin/components/Modal/examples/form-modal.jsx +1 -2
- package/src/surfaces/admin/components/Modal.d.ts +6 -2
- package/src/surfaces/admin/components/MoneyField/examples/basic-field.jsx +1 -1
- package/src/surfaces/admin/components/MoneyField/examples/basic-usage.html +0 -1
- package/src/surfaces/admin/components/MoneyField/examples/basic-usage.jsx +0 -1
- package/src/surfaces/admin/components/MoneyField/examples/currency-formatting-with-form-integration.html +0 -3
- package/src/surfaces/admin/components/MoneyField/examples/currency-formatting-with-form-integration.jsx +4 -7
- package/src/surfaces/admin/components/MoneyField/examples/validation-example.jsx +4 -5
- package/src/surfaces/admin/components/MoneyField/examples/with-validation-limits.html +0 -1
- package/src/surfaces/admin/components/MoneyField/examples/with-validation-limits.jsx +0 -1
- package/src/surfaces/admin/components/MoneyField.d.ts +1 -1
- package/src/surfaces/admin/components/NumberField/examples/basic-usage.jsx +1 -1
- package/src/surfaces/admin/components/NumberField/examples/default.jsx +1 -1
- package/src/surfaces/admin/components/NumberField/examples/multiple-examples.jsx +4 -4
- package/src/surfaces/admin/components/NumberField/examples/with-prefix-and-suffix.jsx +1 -1
- package/src/surfaces/admin/components/NumberField.d.ts +1 -1
- package/src/surfaces/admin/components/Option.d.ts +7 -2
- package/src/surfaces/admin/components/OptionGroup.d.ts +9 -2
- package/src/surfaces/admin/components/OrderedList.d.ts +9 -2
- package/src/surfaces/admin/components/Page/examples/large-inline-size-for-wide-content.jsx +1 -1
- package/src/surfaces/admin/components/Page/examples/page-with-heading.jsx +1 -1
- package/src/surfaces/admin/components/Page/examples/small-inline-size-for-focused-content.jsx +1 -1
- package/src/surfaces/admin/components/Page.d.ts +6 -2
- package/src/surfaces/admin/components/Paragraph.d.ts +7 -2
- package/src/surfaces/admin/components/PasswordField/examples/in-form-layout.html +2 -3
- package/src/surfaces/admin/components/PasswordField/examples/in-form-layout.jsx +2 -3
- package/src/surfaces/admin/components/PasswordField.d.ts +1 -1
- package/src/surfaces/admin/components/Popover/examples/notifications.html +3 -3
- package/src/surfaces/admin/components/Popover/examples/notifications.jsx +3 -3
- package/src/surfaces/admin/components/Popover/examples/table-display-options.html +2 -2
- package/src/surfaces/admin/components/Popover/examples/table-display-options.jsx +3 -7
- package/src/surfaces/admin/components/QueryContainer.d.ts +7 -2
- package/src/surfaces/admin/components/SearchField.d.ts +1 -1
- package/src/surfaces/admin/components/Section.d.ts +7 -2
- package/src/surfaces/admin/components/Select/examples/default.jsx +5 -5
- package/src/surfaces/admin/components/Select.d.ts +8 -2
- package/src/surfaces/admin/components/Spinner.d.ts +1 -1
- package/src/surfaces/admin/components/Stack.d.ts +7 -2
- package/src/surfaces/admin/components/StandardComponents.ts +1 -0
- package/src/surfaces/admin/components/Switch.d.ts +1 -1
- package/src/surfaces/admin/components/Table/examples/default.html +12 -8
- package/src/surfaces/admin/components/Table/examples/default.jsx +13 -9
- package/src/surfaces/admin/components/Table/examples/full-width-product-inventory-table.html +2 -2
- package/src/surfaces/admin/components/Table/examples/full-width-product-inventory-table.jsx +2 -2
- package/src/surfaces/admin/components/Table/examples/{advanced-table-with-all-list-slot-types.html → list-variant.html} +16 -6
- package/src/surfaces/admin/components/Table/examples/{advanced-table-with-all-list-slot-types.jsx → list-variant.jsx} +3 -3
- package/src/surfaces/admin/components/Table/examples/with-loading-state.html +26 -3
- package/src/surfaces/admin/components/Table/examples/with-loading-state.jsx +27 -4
- package/src/surfaces/admin/components/Table/examples/with-pagination.html +1 -1
- package/src/surfaces/admin/components/Table/examples/with-pagination.jsx +1 -1
- package/src/surfaces/admin/components/Table.d.ts +6 -2
- package/src/surfaces/admin/components/TableBody.d.ts +7 -2
- package/src/surfaces/admin/components/TableCell.d.ts +7 -2
- package/src/surfaces/admin/components/TableHeader.d.ts +7 -2
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +7 -2
- package/src/surfaces/admin/components/TableRow.d.ts +7 -2
- package/src/surfaces/admin/components/Text.d.ts +7 -2
- package/src/surfaces/admin/components/TextArea.d.ts +1 -1
- package/src/surfaces/admin/components/TextField/examples/with-accessory.html +2 -4
- package/src/surfaces/admin/components/TextField/examples/with-accessory.jsx +6 -6
- package/src/surfaces/admin/components/TextField.d.ts +7 -2
- package/src/surfaces/admin/components/Thumbnail.d.ts +1 -1
- package/src/surfaces/admin/components/Tooltip.d.ts +9 -2
- package/src/surfaces/admin/components/URLField.d.ts +1 -1
- package/src/surfaces/admin/components/UnorderedList.d.ts +9 -2
- package/src/surfaces/admin/components/patterns/examples/appCard.html +0 -1
- package/src/surfaces/admin/components/patterns/examples/appCard.jsx +0 -1
- package/src/surfaces/admin/components/patterns/examples/details.jsx +20 -28
- package/src/surfaces/admin/components/patterns/examples/emptyState.html +1 -0
- package/src/surfaces/admin/components/patterns/examples/emptyState.jsx +1 -0
- package/src/surfaces/admin/components/patterns/examples/footerHelp.html +3 -0
- package/src/surfaces/admin/components/patterns/examples/footerHelp.jsx +3 -0
- package/src/surfaces/admin/components/patterns/examples/homepage.jsx +22 -35
- package/src/surfaces/admin/components/patterns/examples/index.html +1 -0
- package/src/surfaces/admin/components/patterns/examples/index.jsx +7 -14
- package/src/surfaces/admin/components/patterns/examples/indexTable.html +3 -0
- package/src/surfaces/admin/components/patterns/examples/indexTable.jsx +3 -0
- package/src/surfaces/admin/components/patterns/examples/mediaCard.html +1 -1
- package/src/surfaces/admin/components/patterns/examples/mediaCard.jsx +1 -1
- package/src/surfaces/admin/components/patterns/examples/metricsCard.jsx +1 -1
- package/src/surfaces/admin/components/patterns/examples/resourceList.html +58 -0
- package/src/surfaces/admin/components/patterns/examples/resourceList.jsx +58 -0
- package/src/surfaces/admin/components/patterns/examples/settings.jsx +11 -19
- package/src/surfaces/admin/components/patterns/examples/setupGuide.jsx +1 -3
- package/src/surfaces/admin/components/patterns/index.ab.doc.ts +6 -6
- package/src/surfaces/admin/components/shared.d.ts +31 -4
- package/src/surfaces/admin/components/using-polaris-web-components/examples/html-forms.html +1 -1
- package/src/surfaces/admin/components.d.ts +48 -11
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.25.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -139,7 +139,12 @@ declare module 'preact' {
|
|
|
139
139
|
declare const tagName = 's-badge';
|
|
140
140
|
export interface BadgeJSXProps
|
|
141
141
|
extends Partial<BadgeProps>,
|
|
142
|
-
Pick<BadgeProps$1, 'id'> {
|
|
142
|
+
Pick<BadgeProps$1, 'id' | 'children'> {
|
|
143
|
+
/**
|
|
144
|
+
* The content of the Badge.
|
|
145
|
+
*/
|
|
146
|
+
children?: ComponentChildren;
|
|
147
|
+
}
|
|
143
148
|
|
|
144
149
|
export {Badge};
|
|
145
150
|
export type {BadgeJSXProps};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.25.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -129,7 +129,11 @@ declare module 'preact' {
|
|
|
129
129
|
declare const tagName = 's-banner';
|
|
130
130
|
export interface BannerJSXProps
|
|
131
131
|
extends Partial<BannerProps>,
|
|
132
|
-
Pick<BannerProps$1, 'id'> {
|
|
132
|
+
Pick<BannerProps$1, 'id' | 'children'> {
|
|
133
|
+
/**
|
|
134
|
+
* The content of the Banner.
|
|
135
|
+
*/
|
|
136
|
+
children?: ComponentChildren;
|
|
133
137
|
/**
|
|
134
138
|
* The secondary actions to display at the bottom of the Banner.
|
|
135
139
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.25.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -382,7 +382,12 @@ declare module 'preact' {
|
|
|
382
382
|
declare const tagName = 's-box';
|
|
383
383
|
export interface BoxJSXProps
|
|
384
384
|
extends Partial<BoxProps>,
|
|
385
|
-
Pick<BoxProps$1, 'id'> {
|
|
385
|
+
Pick<BoxProps$1, 'id' | 'children'> {
|
|
386
|
+
/**
|
|
387
|
+
* The content of the Box.
|
|
388
|
+
*/
|
|
389
|
+
children?: ComponentChildren;
|
|
390
|
+
}
|
|
386
391
|
|
|
387
392
|
export {Box};
|
|
388
393
|
export type {BoxJSXProps};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.25.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -208,7 +208,11 @@ declare module 'preact' {
|
|
|
208
208
|
declare const tagName = 's-button';
|
|
209
209
|
export interface ButtonJSXProps
|
|
210
210
|
extends Partial<ButtonProps>,
|
|
211
|
-
Pick<ButtonProps$1, 'id'> {
|
|
211
|
+
Pick<ButtonProps$1, 'id' | 'children'> {
|
|
212
|
+
/**
|
|
213
|
+
* The content of the Button.
|
|
214
|
+
*/
|
|
215
|
+
children?: ComponentChildren;
|
|
212
216
|
onClick?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
213
217
|
onFocus?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
214
218
|
onBlur?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.25.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -114,7 +114,11 @@ declare module 'preact' {
|
|
|
114
114
|
declare const tagName = 's-button-group';
|
|
115
115
|
export interface ButtonGroupJSXProps
|
|
116
116
|
extends Partial<ButtonGroupProps>,
|
|
117
|
-
Pick<ButtonGroupProps$1, 'id'> {
|
|
117
|
+
Pick<ButtonGroupProps$1, 'id' | 'children'> {
|
|
118
|
+
/**
|
|
119
|
+
* The content of the ButtonGroup.
|
|
120
|
+
*/
|
|
121
|
+
children?: ComponentChildren;
|
|
118
122
|
/**
|
|
119
123
|
* The primary action button for the group.
|
|
120
124
|
* Accepts a single Button element with a `variant` of `primary`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.25.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -108,7 +108,11 @@ declare module 'preact' {
|
|
|
108
108
|
declare const tagName = 's-chip';
|
|
109
109
|
export interface ChipJSXProps
|
|
110
110
|
extends Partial<ChipProps>,
|
|
111
|
-
Pick<ChipProps$1, 'id'> {
|
|
111
|
+
Pick<ChipProps$1, 'id' | 'children'> {
|
|
112
|
+
/**
|
|
113
|
+
* The content of the Chip.
|
|
114
|
+
*/
|
|
115
|
+
children?: ComponentChildren;
|
|
112
116
|
/**
|
|
113
117
|
* The graphic to display in the chip.
|
|
114
118
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.25.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -125,7 +125,15 @@ declare module 'preact' {
|
|
|
125
125
|
declare const tagName = 's-choice';
|
|
126
126
|
export interface ChoiceJSXProps
|
|
127
127
|
extends Partial<ChoiceProps>,
|
|
128
|
-
Pick<ChoiceProps$1, 'id' | 'details'> {
|
|
128
|
+
Pick<ChoiceProps$1, 'id' | 'children' | 'details'> {
|
|
129
|
+
/**
|
|
130
|
+
* Content to use as the choice label.
|
|
131
|
+
*
|
|
132
|
+
* The label is produced by extracting and
|
|
133
|
+
* concatenating the text nodes from the provided content;
|
|
134
|
+
* any markup or element structure is ignored.
|
|
135
|
+
*/
|
|
136
|
+
children?: ComponentChildren;
|
|
129
137
|
/**
|
|
130
138
|
* Additional text to provide context or guidance for the input.
|
|
131
139
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.25.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -150,7 +150,13 @@ declare module 'preact' {
|
|
|
150
150
|
declare const tagName = 's-choice-list';
|
|
151
151
|
export interface ChoiceListJSXProps
|
|
152
152
|
extends Partial<ChoiceListProps>,
|
|
153
|
-
Pick<ChoiceListProps$1, 'id'> {
|
|
153
|
+
Pick<ChoiceListProps$1, 'id' | 'children'> {
|
|
154
|
+
/**
|
|
155
|
+
* The choices a user can select from.
|
|
156
|
+
*
|
|
157
|
+
* Accepts `Choice` components.
|
|
158
|
+
*/
|
|
159
|
+
children?: ComponentChildren;
|
|
154
160
|
onChange?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
155
161
|
onInput?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
156
162
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.25.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -455,7 +455,11 @@ declare module 'preact' {
|
|
|
455
455
|
declare const tagName = 's-clickable';
|
|
456
456
|
export interface ClickableJSXProps
|
|
457
457
|
extends Partial<ClickableProps>,
|
|
458
|
-
Pick<ClickableProps$1, 'id'> {
|
|
458
|
+
Pick<ClickableProps$1, 'id' | 'children'> {
|
|
459
|
+
/**
|
|
460
|
+
* The content of the Clickable.
|
|
461
|
+
*/
|
|
462
|
+
children?: ComponentChildren;
|
|
459
463
|
onClick?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
460
464
|
onFocus?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
461
465
|
onBlur?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.25.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -6,7 +6,11 @@
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
8
8
|
/// <reference lib="DOM" />
|
|
9
|
-
import type {
|
|
9
|
+
import type {
|
|
10
|
+
ComponentChildren,
|
|
11
|
+
ClickableChipProps$1,
|
|
12
|
+
InteractionProps,
|
|
13
|
+
} from './shared.d.ts';
|
|
10
14
|
|
|
11
15
|
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
12
16
|
currentTarget: HTMLElementTagNameMap[T];
|
|
@@ -41,6 +45,9 @@ export interface ClickableChipProps
|
|
|
41
45
|
| 'hidden'
|
|
42
46
|
| 'href'
|
|
43
47
|
| 'disabled'
|
|
48
|
+
| 'command'
|
|
49
|
+
| 'commandFor'
|
|
50
|
+
| 'interestFor'
|
|
44
51
|
>
|
|
45
52
|
> {}
|
|
46
53
|
|
|
@@ -104,8 +111,40 @@ declare abstract class PreactCustomElement extends BaseClass {
|
|
|
104
111
|
click({sourceEvent}?: ClickOptions): void;
|
|
105
112
|
}
|
|
106
113
|
|
|
114
|
+
export interface PreactOverlayControlProps
|
|
115
|
+
extends Pick<InteractionProps, 'commandFor' | 'interestFor'> {
|
|
116
|
+
/**
|
|
117
|
+
* Sets the action the [command](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command) should take when this clickable is activated.
|
|
118
|
+
*
|
|
119
|
+
* See the documentation of particular components for the actions they support.
|
|
120
|
+
*
|
|
121
|
+
* - `--auto`: a default action for the target component.
|
|
122
|
+
* - `--show`: shows the target component.
|
|
123
|
+
* - `--hide`: hides the target component.
|
|
124
|
+
* - `--toggle`: toggles the target component.
|
|
125
|
+
*
|
|
126
|
+
* @default '--auto'
|
|
127
|
+
*/
|
|
128
|
+
command: Extract<
|
|
129
|
+
InteractionProps['command'],
|
|
130
|
+
'--show' | '--hide' | '--toggle' | '--auto'
|
|
131
|
+
>;
|
|
132
|
+
/**
|
|
133
|
+
* Sets the element the [commandFor](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#commandfor) should act on when this clickable is activated.
|
|
134
|
+
*/
|
|
135
|
+
commandFor: Extract<InteractionProps['commandFor'], string>;
|
|
136
|
+
/**
|
|
137
|
+
* Sets the element the [interestFor](https://open-ui.org/components/interest-invokers.explainer/#the-pitch-in-code) should act on when this clickable is activated.
|
|
138
|
+
*/
|
|
139
|
+
interestFor: Extract<InteractionProps['interestFor'], string>;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
declare const ClickableChip_base: (abstract new (
|
|
143
|
+
args_0: RenderImpl,
|
|
144
|
+
) => PreactCustomElement & PreactOverlayControlProps) &
|
|
145
|
+
Pick<typeof PreactCustomElement, 'prototype' | 'observedAttributes'>;
|
|
107
146
|
declare class ClickableChip
|
|
108
|
-
extends
|
|
147
|
+
extends ClickableChip_base
|
|
109
148
|
implements ClickableChipProps
|
|
110
149
|
{
|
|
111
150
|
accessor color: ClickableChipProps['color'];
|
|
@@ -136,7 +175,11 @@ declare module 'preact' {
|
|
|
136
175
|
declare const tagName = 's-clickable-chip';
|
|
137
176
|
export interface ClickableChipJSXProps
|
|
138
177
|
extends Partial<ClickableChipProps>,
|
|
139
|
-
Pick<ClickableChipProps$1, 'id'> {
|
|
178
|
+
Pick<ClickableChipProps$1, 'id' | 'children'> {
|
|
179
|
+
/**
|
|
180
|
+
* The content of the clickable chip.
|
|
181
|
+
*/
|
|
182
|
+
children?: ComponentChildren;
|
|
140
183
|
/**
|
|
141
184
|
* The graphic to display in the clickable chip.
|
|
142
185
|
*
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
/** VERSION: 1.25.0 **/
|
|
2
|
+
/* eslint-disable import/extensions */
|
|
3
|
+
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-namespace */
|
|
5
|
+
/* eslint-disable @typescript-eslint/member-ordering */
|
|
6
|
+
|
|
7
|
+
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
8
|
+
/// <reference lib="DOM" />
|
|
9
|
+
import type {ComponentChildren, DropZoneProps$1} from './shared.d.ts';
|
|
10
|
+
|
|
11
|
+
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
12
|
+
currentTarget: HTMLElementTagNameMap[T];
|
|
13
|
+
};
|
|
14
|
+
export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
|
|
15
|
+
| (EventListener & {
|
|
16
|
+
(event: CallbackEvent<T>): void;
|
|
17
|
+
})
|
|
18
|
+
| null;
|
|
19
|
+
/** Used when an element does not have children. */
|
|
20
|
+
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
21
|
+
/** Assigns a unique key to this element. */
|
|
22
|
+
key?: preact.Key;
|
|
23
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
24
|
+
ref?: preact.Ref<TClass>;
|
|
25
|
+
/** Assigns this element to a parent's slot. */
|
|
26
|
+
slot?: Lowercase<string>;
|
|
27
|
+
}
|
|
28
|
+
/** Used when an element has children. */
|
|
29
|
+
export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
|
|
30
|
+
extends PreactBaseElementProps<TClass> {
|
|
31
|
+
children?: preact.ComponentChildren;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface DropZoneProps
|
|
35
|
+
extends Required<
|
|
36
|
+
Pick<
|
|
37
|
+
DropZoneProps$1,
|
|
38
|
+
| 'accept'
|
|
39
|
+
| 'accessibilityLabel'
|
|
40
|
+
| 'disabled'
|
|
41
|
+
| 'files'
|
|
42
|
+
| 'name'
|
|
43
|
+
| 'error'
|
|
44
|
+
| 'label'
|
|
45
|
+
| 'labelAccessibilityVisibility'
|
|
46
|
+
| 'multiple'
|
|
47
|
+
| 'required'
|
|
48
|
+
| 'value'
|
|
49
|
+
>
|
|
50
|
+
> {}
|
|
51
|
+
|
|
52
|
+
export type Styles = string;
|
|
53
|
+
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
54
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
55
|
+
styles?: Styles;
|
|
56
|
+
};
|
|
57
|
+
export interface ActivationEventEsque {
|
|
58
|
+
shiftKey: boolean;
|
|
59
|
+
metaKey: boolean;
|
|
60
|
+
ctrlKey: boolean;
|
|
61
|
+
button: number;
|
|
62
|
+
}
|
|
63
|
+
export interface ClickOptions {
|
|
64
|
+
/**
|
|
65
|
+
* The event you want to influence the synthetic click.
|
|
66
|
+
*/
|
|
67
|
+
sourceEvent?: ActivationEventEsque;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Base class for creating custom elements with Preact.
|
|
71
|
+
* While this class could be used in both Node and the browser, the constructor will only be used in the browser.
|
|
72
|
+
* So we give it a type of HTMLElement to avoid typing issues later where it's used, which will only happen in the browser.
|
|
73
|
+
*/
|
|
74
|
+
declare const BaseClass$1: typeof globalThis.HTMLElement;
|
|
75
|
+
declare abstract class PreactCustomElement extends BaseClass$1 {
|
|
76
|
+
/** @private */
|
|
77
|
+
static get observedAttributes(): string[];
|
|
78
|
+
constructor({
|
|
79
|
+
styles,
|
|
80
|
+
ShadowRoot: renderFunction,
|
|
81
|
+
delegatesFocus,
|
|
82
|
+
...options
|
|
83
|
+
}: RenderImpl);
|
|
84
|
+
|
|
85
|
+
/** @private */
|
|
86
|
+
setAttribute(name: string, value: string): void;
|
|
87
|
+
/** @private */
|
|
88
|
+
attributeChangedCallback(name: string): void;
|
|
89
|
+
/** @private */
|
|
90
|
+
connectedCallback(): void;
|
|
91
|
+
/** @private */
|
|
92
|
+
disconnectedCallback(): void;
|
|
93
|
+
/** @private */
|
|
94
|
+
adoptedCallback(): void;
|
|
95
|
+
/**
|
|
96
|
+
* Queue a run of the render function.
|
|
97
|
+
* You shouldn't need to call this manually - it should be handled by changes to @property values.
|
|
98
|
+
* @private
|
|
99
|
+
*/
|
|
100
|
+
queueRender(): void;
|
|
101
|
+
/**
|
|
102
|
+
* Like the standard `element.click()`, but you can influence the behavior with a `sourceEvent`.
|
|
103
|
+
*
|
|
104
|
+
* For example, if the `sourceEvent` was a middle click, or has particular keys held down,
|
|
105
|
+
* components will attempt to produce the desired behavior on links, such as opening the page in the background tab.
|
|
106
|
+
* @private
|
|
107
|
+
* @param options
|
|
108
|
+
*/
|
|
109
|
+
click({sourceEvent}?: ClickOptions): void;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export type ReplaceType<TType, TFrom, TTo> = Exclude<TType, TFrom> | TTo;
|
|
113
|
+
|
|
114
|
+
declare const setFiles: unique symbol;
|
|
115
|
+
|
|
116
|
+
declare const internals: unique symbol;
|
|
117
|
+
declare const getFileInput: unique symbol;
|
|
118
|
+
declare class BaseClass extends PreactCustomElement {
|
|
119
|
+
static formAssociated: boolean;
|
|
120
|
+
constructor(renderImpl: RenderImpl);
|
|
121
|
+
/** @private */
|
|
122
|
+
[internals]: ElementInternals;
|
|
123
|
+
}
|
|
124
|
+
declare class DropZone extends BaseClass implements DropZoneProps {
|
|
125
|
+
accessor accept: DropZoneProps['accept'];
|
|
126
|
+
accessor accessibilityLabel: DropZoneProps['accessibilityLabel'];
|
|
127
|
+
accessor disabled: DropZoneProps['disabled'];
|
|
128
|
+
accessor error: DropZoneProps['error'];
|
|
129
|
+
accessor label: DropZoneProps['label'];
|
|
130
|
+
accessor labelAccessibilityVisibility: DropZoneProps['labelAccessibilityVisibility'];
|
|
131
|
+
accessor multiple: DropZoneProps['multiple'];
|
|
132
|
+
accessor name: DropZoneProps['name'];
|
|
133
|
+
accessor required: DropZoneProps['required'];
|
|
134
|
+
accessor onchange: CallbackEventListener<typeof tagName>;
|
|
135
|
+
accessor oninput: CallbackEventListener<typeof tagName>;
|
|
136
|
+
accessor ondroprejected: CallbackEventListener<typeof tagName>;
|
|
137
|
+
get value(): string;
|
|
138
|
+
/** This sets the input value for a file type, which cannot be set programatically, so it can only be reset. */
|
|
139
|
+
set value(value: '' | null);
|
|
140
|
+
get files(): File[];
|
|
141
|
+
set files(files: File[]);
|
|
142
|
+
/** @private */
|
|
143
|
+
[setFiles](files: File[]): void;
|
|
144
|
+
/** @private */
|
|
145
|
+
[getFileInput](): ReplaceType<
|
|
146
|
+
Element | null | undefined,
|
|
147
|
+
Element,
|
|
148
|
+
HTMLInputElement
|
|
149
|
+
>;
|
|
150
|
+
|
|
151
|
+
/** @private */
|
|
152
|
+
formResetCallback(): void;
|
|
153
|
+
constructor();
|
|
154
|
+
}
|
|
155
|
+
declare global {
|
|
156
|
+
interface HTMLElementTagNameMap {
|
|
157
|
+
[tagName]: DropZone;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
declare module 'preact' {
|
|
161
|
+
namespace createElement.JSX {
|
|
162
|
+
interface IntrinsicElements {
|
|
163
|
+
[tagName]: DropZoneJSXProps &
|
|
164
|
+
PreactBaseElementPropsWithChildren<DropZone>;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
declare const tagName = 's-drop-zone';
|
|
170
|
+
export interface DropZoneJSXProps
|
|
171
|
+
extends Partial<DropZoneProps>,
|
|
172
|
+
Pick<DropZoneProps$1, 'id'> {
|
|
173
|
+
/**
|
|
174
|
+
* Content to include inside the DropZone container
|
|
175
|
+
*/
|
|
176
|
+
children?: ComponentChildren;
|
|
177
|
+
onChange?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
178
|
+
onInput?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
179
|
+
onDropRejected?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export {DropZone};
|
|
183
|
+
export type {DropZoneJSXProps};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.25.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -511,7 +511,12 @@ declare module 'preact' {
|
|
|
511
511
|
declare const tagName = 's-grid';
|
|
512
512
|
export interface GridJSXProps
|
|
513
513
|
extends Partial<GridProps>,
|
|
514
|
-
Pick<GridProps$1, 'id'> {
|
|
514
|
+
Pick<GridProps$1, 'id' | 'children'> {
|
|
515
|
+
/**
|
|
516
|
+
* The content of the Grid.
|
|
517
|
+
*/
|
|
518
|
+
children?: ComponentChildren;
|
|
519
|
+
}
|
|
515
520
|
|
|
516
521
|
export {Grid};
|
|
517
522
|
export type {GridJSXProps};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.25.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -395,7 +395,12 @@ declare module 'preact' {
|
|
|
395
395
|
declare const tagName = 's-grid-item';
|
|
396
396
|
export interface GridItemJSXProps
|
|
397
397
|
extends Partial<GridItemProps>,
|
|
398
|
-
Pick<GridItemProps$1, 'id'> {
|
|
398
|
+
Pick<GridItemProps$1, 'id' | 'children'> {
|
|
399
|
+
/**
|
|
400
|
+
* The content of the GridItem.
|
|
401
|
+
*/
|
|
402
|
+
children?: ComponentChildren;
|
|
403
|
+
}
|
|
399
404
|
|
|
400
405
|
export {GridItem};
|
|
401
406
|
export type {GridItemJSXProps};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.25.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -113,7 +113,12 @@ declare module 'preact' {
|
|
|
113
113
|
declare const tagName = 's-heading';
|
|
114
114
|
export interface HeadingJSXProps
|
|
115
115
|
extends Partial<HeadingProps>,
|
|
116
|
-
Pick<HeadingProps$1, 'id'> {
|
|
116
|
+
Pick<HeadingProps$1, 'id' | 'children'> {
|
|
117
|
+
/**
|
|
118
|
+
* The content of the Heading.
|
|
119
|
+
*/
|
|
120
|
+
children?: ComponentChildren;
|
|
121
|
+
}
|
|
117
122
|
|
|
118
123
|
export {Heading};
|
|
119
124
|
export type {HeadingJSXProps};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.25.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -172,7 +172,11 @@ declare module 'preact' {
|
|
|
172
172
|
declare const tagName = 's-link';
|
|
173
173
|
export interface LinkJSXProps
|
|
174
174
|
extends Partial<LinkProps>,
|
|
175
|
-
Pick<LinkProps$1, 'id' | 'lang'> {
|
|
175
|
+
Pick<LinkProps$1, 'id' | 'lang' | 'children'> {
|
|
176
|
+
/**
|
|
177
|
+
* The content of the Link.
|
|
178
|
+
*/
|
|
179
|
+
children?: ComponentChildren;
|
|
176
180
|
onClick?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
177
181
|
}
|
|
178
182
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.25.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -104,7 +104,12 @@ declare module 'preact' {
|
|
|
104
104
|
declare const tagName = 's-list-item';
|
|
105
105
|
export interface ListItemJSXProps
|
|
106
106
|
extends Partial<ListItemProps>,
|
|
107
|
-
Pick<ListItemProps$1, 'id'> {
|
|
107
|
+
Pick<ListItemProps$1, 'id' | 'children'> {
|
|
108
|
+
/**
|
|
109
|
+
* The content of the ListItem.
|
|
110
|
+
*/
|
|
111
|
+
children?: ComponentChildren;
|
|
112
|
+
}
|
|
108
113
|
|
|
109
114
|
export {ListItem};
|
|
110
115
|
export type {ListItemJSXProps};
|