@shopify/ui-extensions 2025.10.0-rc.36 → 2025.10.0-rc.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ts/shared.d.ts +24 -4
- package/build/ts/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminAction.d.ts +1 -1
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +1 -1
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Avatar.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Badge.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Banner.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Box.d.ts +8 -1
- package/build/ts/surfaces/admin/components/Button.d.ts +1 -1
- package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +14 -2
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Chip.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Choice.d.ts +1 -1
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Clickable.d.ts +8 -1
- package/build/ts/surfaces/admin/components/ClickableChip.d.ts +1 -1
- package/build/ts/surfaces/admin/components/ColorField.d.ts +3 -1
- package/build/ts/surfaces/admin/components/ColorPicker.d.ts +1 -1
- package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts +2 -2
- package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/DateField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Divider.d.ts +1 -1
- package/build/ts/surfaces/admin/components/DropZone.d.ts +1 -1
- package/build/ts/surfaces/admin/components/EmailField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Form.d.ts +1 -1
- package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Grid.d.ts +20 -1
- package/build/ts/surfaces/admin/components/GridItem.d.ts +8 -1
- package/build/ts/surfaces/admin/components/Heading.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Icon.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Image.d.ts +8 -1
- package/build/ts/surfaces/admin/components/Link.d.ts +1 -1
- package/build/ts/surfaces/admin/components/ListItem.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Menu.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Modal.d.ts +1 -1
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +1 -3
- package/build/ts/surfaces/admin/components/NumberField.d.ts +1 -3
- package/build/ts/surfaces/admin/components/Option.d.ts +1 -1
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +1 -1
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Page.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +1 -1
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +1 -1
- package/build/ts/surfaces/admin/components/SearchField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Section.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Select.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Spinner.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Stack.d.ts +14 -1
- package/build/ts/surfaces/admin/components/Switch.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Table.d.ts +3 -2
- package/build/ts/surfaces/admin/components/TableBody.d.ts +1 -1
- package/build/ts/surfaces/admin/components/TableCell.d.ts +1 -1
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +3 -2
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +1 -1
- package/build/ts/surfaces/admin/components/TableRow.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Text.d.ts +1 -1
- package/build/ts/surfaces/admin/components/TextArea.d.ts +1 -1
- package/build/ts/surfaces/admin/components/TextField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Thumbnail.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Tooltip.d.ts +1 -1
- package/build/ts/surfaces/admin/components/URLField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +1 -1
- package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/shared.d.ts +245 -222
- package/build/ts/surfaces/admin/docs-types.d.ts +4 -0
- package/build/ts/surfaces/admin/docs-types.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts +2 -2
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +29 -29
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/shared.d.ts +6 -6
- package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts +6 -6
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api.d.ts +1 -1
- package/build/ts/surfaces/customer-account/api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/subscription.d.ts +2 -2
- package/build/ts/surfaces/customer-account/preact/subscription.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/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/components/Badge.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/components/Box.d.ts +82 -8
- package/build/ts/surfaces/point-of-sale/components/Icon.d.ts +111 -30
- package/build/ts/surfaces/point-of-sale/components/PosBlock/PosBlock.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/PosBlock/PosBlock.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/PosBlock.d.ts +64 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField.d.ts +1 -4
- package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +82 -8
- package/build/ts/surfaces/point-of-sale/components/Tile.d.ts +1 -38
- package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField.d.ts +65 -0
- package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +321 -150
- package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.block.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.home.modal.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.block.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.block.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.block.render.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts +2 -17
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/docs/shared/components/Modal.ts +1 -1
- package/src/shared.ts +25 -4
- package/src/surfaces/admin/components/AdminAction.d.ts +1 -1
- package/src/surfaces/admin/components/AdminBlock.d.ts +1 -1
- package/src/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
- package/src/surfaces/admin/components/Avatar.d.ts +1 -1
- package/src/surfaces/admin/components/Badge.d.ts +1 -1
- package/src/surfaces/admin/components/Banner.d.ts +1 -1
- package/src/surfaces/admin/components/Box.d.ts +8 -1
- package/src/surfaces/admin/components/Button.d.ts +1 -1
- package/src/surfaces/admin/components/ButtonGroup.d.ts +14 -2
- package/src/surfaces/admin/components/Checkbox.d.ts +1 -1
- package/src/surfaces/admin/components/Chip.d.ts +1 -1
- package/src/surfaces/admin/components/Choice.d.ts +1 -1
- package/src/surfaces/admin/components/ChoiceList.d.ts +1 -1
- package/src/surfaces/admin/components/Clickable.d.ts +8 -1
- package/src/surfaces/admin/components/ClickableChip.d.ts +1 -1
- package/src/surfaces/admin/components/ColorField.d.ts +3 -1
- package/src/surfaces/admin/components/ColorPicker.d.ts +1 -1
- package/src/surfaces/admin/components/DateField.d.ts +1 -1
- package/src/surfaces/admin/components/DatePicker.d.ts +1 -1
- package/src/surfaces/admin/components/Divider.d.ts +1 -1
- package/src/surfaces/admin/components/DropZone.d.ts +1 -1
- package/src/surfaces/admin/components/EmailField.d.ts +1 -1
- package/src/surfaces/admin/components/Form.d.ts +1 -1
- package/src/surfaces/admin/components/FunctionSettings.d.ts +1 -1
- package/src/surfaces/admin/components/Grid.d.ts +20 -1
- package/src/surfaces/admin/components/GridItem.d.ts +8 -1
- package/src/surfaces/admin/components/Heading.d.ts +1 -1
- package/src/surfaces/admin/components/Icon.d.ts +1 -1
- package/src/surfaces/admin/components/Image.d.ts +8 -1
- package/src/surfaces/admin/components/Link.d.ts +1 -1
- package/src/surfaces/admin/components/ListItem.d.ts +1 -1
- package/src/surfaces/admin/components/Menu.d.ts +1 -1
- package/src/surfaces/admin/components/Modal/examples/default.html +23 -0
- package/src/surfaces/admin/components/Modal.d.ts +1 -1
- package/src/surfaces/admin/components/MoneyField.d.ts +1 -3
- package/src/surfaces/admin/components/NumberField.d.ts +1 -3
- package/src/surfaces/admin/components/Option.d.ts +1 -1
- package/src/surfaces/admin/components/OptionGroup.d.ts +1 -1
- package/src/surfaces/admin/components/OrderedList.d.ts +1 -1
- package/src/surfaces/admin/components/Page.d.ts +1 -1
- package/src/surfaces/admin/components/Paragraph.d.ts +1 -1
- package/src/surfaces/admin/components/PasswordField.d.ts +1 -1
- package/src/surfaces/admin/components/QueryContainer.d.ts +1 -1
- package/src/surfaces/admin/components/SearchField.d.ts +1 -1
- package/src/surfaces/admin/components/Section.d.ts +1 -1
- package/src/surfaces/admin/components/Select.d.ts +1 -1
- package/src/surfaces/admin/components/Spinner.d.ts +1 -1
- package/src/surfaces/admin/components/Stack.d.ts +14 -1
- package/src/surfaces/admin/components/Switch.d.ts +1 -1
- package/src/surfaces/admin/components/Table.d.ts +3 -2
- package/src/surfaces/admin/components/TableBody.d.ts +1 -1
- package/src/surfaces/admin/components/TableCell.d.ts +1 -1
- package/src/surfaces/admin/components/TableHeader.d.ts +3 -2
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +1 -1
- package/src/surfaces/admin/components/TableRow.d.ts +1 -1
- package/src/surfaces/admin/components/Text.d.ts +1 -1
- package/src/surfaces/admin/components/TextArea.d.ts +1 -1
- package/src/surfaces/admin/components/TextField.d.ts +1 -1
- package/src/surfaces/admin/components/Thumbnail.d.ts +1 -1
- package/src/surfaces/admin/components/Tooltip.d.ts +1 -1
- package/src/surfaces/admin/components/URLField.d.ts +1 -1
- package/src/surfaces/admin/components/UnorderedList.d.ts +1 -1
- package/src/surfaces/admin/components/patterns/examples/details.html +5 -11
- package/src/surfaces/admin/components/patterns/examples/details.jsx +4 -13
- package/src/surfaces/admin/components/patterns/examples/homepage.html +3 -12
- package/src/surfaces/admin/components/patterns/examples/homepage.jsx +3 -12
- package/src/surfaces/admin/components/patterns/examples/index.html +4 -10
- package/src/surfaces/admin/components/patterns/examples/index.jsx +4 -11
- package/src/surfaces/admin/components/patterns/examples/indexTable.html +4 -9
- package/src/surfaces/admin/components/patterns/examples/mediaCard.html +1 -1
- package/src/surfaces/admin/components/patterns/examples/settings.html +1 -2
- package/src/surfaces/admin/components/patterns/examples/settings.jsx +2 -6
- package/src/surfaces/admin/components/shared.d.ts +245 -222
- package/src/surfaces/admin/components.d.ts +293 -228
- package/src/surfaces/admin/docs-types.ts +8 -1
- package/src/surfaces/customer-account/api/cart-line/cart-line-item.ts +2 -2
- package/src/surfaces/customer-account/api/order-status/order-status.ts +29 -29
- package/src/surfaces/customer-account/api/shared.ts +6 -6
- package/src/surfaces/customer-account/api/standard-api/standard-api.ts +6 -6
- package/src/surfaces/customer-account/api.ts +1 -1
- package/src/surfaces/customer-account/preact/subscription.ts +3 -3
- package/src/surfaces/point-of-sale/api.ts +0 -1
- package/src/surfaces/point-of-sale/components/Badge.d.ts +1 -1
- package/src/surfaces/point-of-sale/components/Box.d.ts +82 -8
- package/src/surfaces/point-of-sale/components/Icon.d.ts +111 -30
- package/src/surfaces/point-of-sale/components/PosBlock/examples/default.html +11 -0
- package/src/surfaces/point-of-sale/components/PosBlock.d.ts +64 -0
- package/src/surfaces/point-of-sale/components/SearchField.d.ts +1 -4
- package/src/surfaces/point-of-sale/components/Stack.d.ts +82 -8
- package/src/surfaces/point-of-sale/components/Tile.d.ts +1 -38
- package/src/surfaces/point-of-sale/components/TimeField/examples/default.html +12 -0
- package/src/surfaces/point-of-sale/components/TimeField.d.ts +65 -0
- package/src/surfaces/point-of-sale/components/components-shared.d.ts +321 -150
- package/src/surfaces/point-of-sale/components.d.ts +1041 -530
- package/src/surfaces/point-of-sale/types/cart.ts +2 -18
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ const data: SharedReferenceEntityTemplateSchema = {
|
|
|
5
5
|
description:
|
|
6
6
|
'Use modal to display content in a overlay. This component is useful for creating a distraction-free experience, such as a confirmation dialog or a settings panel.',
|
|
7
7
|
category: 'Polaris web components',
|
|
8
|
-
subCategory: '
|
|
8
|
+
subCategory: 'Overlays',
|
|
9
9
|
related: [],
|
|
10
10
|
};
|
|
11
11
|
|
package/src/shared.ts
CHANGED
|
@@ -941,11 +941,10 @@ export interface GraphQLError {
|
|
|
941
941
|
/**
|
|
942
942
|
* Represents a read-only value managed on the main thread that an extension can subscribe to.
|
|
943
943
|
*
|
|
944
|
-
* Example:
|
|
944
|
+
* Example: extension surfaces use this to manage the state of an object and
|
|
945
945
|
* communicate state changes to extensions running in a sandboxed web worker.
|
|
946
946
|
*
|
|
947
|
-
* This interface is compatible with Preact's
|
|
948
|
-
* https://github.com/preactjs/signals/blob/a023a132a81bd4ba4a0bebb8cbbeffbd8c8bbafc/packages/core/src/index.ts#L700-L709
|
|
947
|
+
* This interface is compatible with [Preact's ReadonlySigna](https://github.com/preactjs/signals/blob/a023a132a81bd4ba4a0bebb8cbbeffbd8c8bbafc/packages/core/src/index.ts#L700-L709).
|
|
949
948
|
*/
|
|
950
949
|
export interface ReadonlySignalLike<T> {
|
|
951
950
|
readonly value: T;
|
|
@@ -956,9 +955,31 @@ export interface ReadonlySignalLike<T> {
|
|
|
956
955
|
* A remote-subscribable object exposed to a sandboxed web worker.
|
|
957
956
|
*
|
|
958
957
|
* Example: extensions use this to get updates about an object
|
|
959
|
-
* managed by
|
|
958
|
+
* managed by extension surfaces on the main thread.
|
|
960
959
|
*/
|
|
961
960
|
export interface StatefulRemoteSubscribable<T> extends ReadonlySignalLike<T> {
|
|
962
961
|
readonly current: T;
|
|
963
962
|
destroy(): Promise<void>;
|
|
964
963
|
}
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* Represents a read-only value managed on the main thread that an extension can subscribe to.
|
|
967
|
+
*
|
|
968
|
+
* Example: extension surfaces use this to manage the state of an object and
|
|
969
|
+
* communicate state changes to extensions running in a sandboxed web worker.
|
|
970
|
+
*
|
|
971
|
+
* This interface is compatible with [Preact's ReadonlySignal](https://github.com/preactjs/signals/blob/a023a132a81bd4ba4a0bebb8cbbeffbd8c8bbafc/packages/core/src/index.ts#L700-L709).
|
|
972
|
+
*
|
|
973
|
+
* Some fields are deprecated but still supported for backwards compatibility.
|
|
974
|
+
* In version 2025-10, [`StatefulRemoteSubscribable`](https://github.com/Shopify/remote-dom/blob/03929aa8418a89d41d294005f219837582718df8/packages/async-subscription/src/types.ts#L17) was replaced with `ReadonlySignalLike`. The old fields will be removed some time in the future.
|
|
975
|
+
*/
|
|
976
|
+
export interface SubscribableSignalLike<T> extends ReadonlySignalLike<T> {
|
|
977
|
+
/**
|
|
978
|
+
* @deprecated Use `.value` instead.
|
|
979
|
+
*/
|
|
980
|
+
readonly current: T;
|
|
981
|
+
/**
|
|
982
|
+
* @deprecated No longer needed. Use Preact Signal management instead.
|
|
983
|
+
*/
|
|
984
|
+
destroy(): Promise<void>;
|
|
985
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.19.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
import type {
|
|
9
9
|
BoxProps$1,
|
|
10
10
|
MaybeAllValuesShorthandProperty,
|
|
11
|
+
SizeUnits,
|
|
11
12
|
ComponentChild,
|
|
12
13
|
} from './shared.d.ts';
|
|
13
14
|
|
|
@@ -194,6 +195,12 @@ export interface BoxProps
|
|
|
194
195
|
* @default 'auto'
|
|
195
196
|
*/
|
|
196
197
|
display: ResponsiveBoxProps['display'];
|
|
198
|
+
blockSize: SizeUnits | 'auto';
|
|
199
|
+
minBlockSize: SizeUnits | '0';
|
|
200
|
+
maxBlockSize: SizeUnits | 'none';
|
|
201
|
+
inlineSize: SizeUnits | 'auto';
|
|
202
|
+
minInlineSize: SizeUnits | '0';
|
|
203
|
+
maxInlineSize: SizeUnits | 'none';
|
|
197
204
|
}
|
|
198
205
|
|
|
199
206
|
export type Styles = string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.19.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -111,7 +111,19 @@ declare module 'preact' {
|
|
|
111
111
|
declare const tagName = 's-button-group';
|
|
112
112
|
export interface ButtonGroupJSXProps
|
|
113
113
|
extends Partial<ButtonGroupProps>,
|
|
114
|
-
Pick<ButtonGroupProps$1, 'id'> {
|
|
114
|
+
Pick<ButtonGroupProps$1, 'id'> {
|
|
115
|
+
/**
|
|
116
|
+
* The primary action button for the group.
|
|
117
|
+
* Accepts a single Button element with a `variant` of `primary`.
|
|
118
|
+
* Cannot be used when gap="none".
|
|
119
|
+
*/
|
|
120
|
+
primaryAction?: ComponentChild;
|
|
121
|
+
/**
|
|
122
|
+
* Secondary action buttons for the group.
|
|
123
|
+
* Accepts Button elements with a `variant` of `secondary` or `auto`.
|
|
124
|
+
*/
|
|
125
|
+
secondaryActions?: ComponentChild;
|
|
126
|
+
}
|
|
115
127
|
|
|
116
128
|
export {ButtonGroup};
|
|
117
129
|
export type {ButtonGroupJSXProps};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.19.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -10,6 +10,7 @@ import type {
|
|
|
10
10
|
BoxProps$1,
|
|
11
11
|
ClickableProps$1,
|
|
12
12
|
MaybeAllValuesShorthandProperty,
|
|
13
|
+
SizeUnits,
|
|
13
14
|
InteractionProps,
|
|
14
15
|
ComponentChild,
|
|
15
16
|
} from './shared.d.ts';
|
|
@@ -197,6 +198,12 @@ export interface BoxProps
|
|
|
197
198
|
* @default 'auto'
|
|
198
199
|
*/
|
|
199
200
|
display: ResponsiveBoxProps['display'];
|
|
201
|
+
blockSize: SizeUnits | 'auto';
|
|
202
|
+
minBlockSize: SizeUnits | '0';
|
|
203
|
+
maxBlockSize: SizeUnits | 'none';
|
|
204
|
+
inlineSize: SizeUnits | 'auto';
|
|
205
|
+
minInlineSize: SizeUnits | '0';
|
|
206
|
+
maxInlineSize: SizeUnits | 'none';
|
|
200
207
|
}
|
|
201
208
|
|
|
202
209
|
export type ClickableBaseProps = Required<
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.19.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -211,6 +211,8 @@ declare class ColorField
|
|
|
211
211
|
/** @private */
|
|
212
212
|
formResetCallback(): void;
|
|
213
213
|
constructor();
|
|
214
|
+
/** @private */
|
|
215
|
+
setInternalValue(value: string, normalize: boolean): void;
|
|
214
216
|
}
|
|
215
217
|
declare global {
|
|
216
218
|
interface HTMLElementTagNameMap {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.19.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -9,6 +9,11 @@ import type {
|
|
|
9
9
|
BoxProps$1,
|
|
10
10
|
GridProps$1,
|
|
11
11
|
MaybeAllValuesShorthandProperty,
|
|
12
|
+
SizeUnits,
|
|
13
|
+
AlignItemsKeyword,
|
|
14
|
+
JustifyItemsKeyword,
|
|
15
|
+
AlignContentKeyword,
|
|
16
|
+
JustifyContentKeyword,
|
|
12
17
|
ComponentChild,
|
|
13
18
|
} from './shared.d.ts';
|
|
14
19
|
|
|
@@ -195,6 +200,12 @@ export interface BoxProps
|
|
|
195
200
|
* @default 'auto'
|
|
196
201
|
*/
|
|
197
202
|
display: ResponsiveBoxProps['display'];
|
|
203
|
+
blockSize: SizeUnits | 'auto';
|
|
204
|
+
minBlockSize: SizeUnits | '0';
|
|
205
|
+
maxBlockSize: SizeUnits | 'none';
|
|
206
|
+
inlineSize: SizeUnits | 'auto';
|
|
207
|
+
minInlineSize: SizeUnits | '0';
|
|
208
|
+
maxInlineSize: SizeUnits | 'none';
|
|
198
209
|
}
|
|
199
210
|
|
|
200
211
|
export type RequiredAlignedProps = Required<GridProps$1>;
|
|
@@ -217,6 +228,14 @@ export interface GridProps
|
|
|
217
228
|
| 'placeContent'
|
|
218
229
|
>
|
|
219
230
|
> {
|
|
231
|
+
alignItems: AlignItemsKeyword | '';
|
|
232
|
+
justifyItems: JustifyItemsKeyword | '';
|
|
233
|
+
placeItems: `${AlignItemsKeyword} ${JustifyItemsKeyword}` | AlignItemsKeyword;
|
|
234
|
+
alignContent: AlignContentKeyword | '';
|
|
235
|
+
justifyContent: JustifyContentKeyword | '';
|
|
236
|
+
placeContent:
|
|
237
|
+
| `${AlignContentKeyword} ${JustifyContentKeyword}`
|
|
238
|
+
| AlignContentKeyword;
|
|
220
239
|
/**
|
|
221
240
|
* Adjust spacing between elements.
|
|
222
241
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.19.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -10,6 +10,7 @@ import type {
|
|
|
10
10
|
BoxProps$1,
|
|
11
11
|
GridItemProps$1,
|
|
12
12
|
MaybeAllValuesShorthandProperty,
|
|
13
|
+
SizeUnits,
|
|
13
14
|
ComponentChild,
|
|
14
15
|
} from './shared.d.ts';
|
|
15
16
|
|
|
@@ -196,6 +197,12 @@ export interface BoxProps
|
|
|
196
197
|
* @default 'auto'
|
|
197
198
|
*/
|
|
198
199
|
display: ResponsiveBoxProps['display'];
|
|
200
|
+
blockSize: SizeUnits | 'auto';
|
|
201
|
+
minBlockSize: SizeUnits | '0';
|
|
202
|
+
maxBlockSize: SizeUnits | 'none';
|
|
203
|
+
inlineSize: SizeUnits | 'auto';
|
|
204
|
+
minInlineSize: SizeUnits | '0';
|
|
205
|
+
maxInlineSize: SizeUnits | 'none';
|
|
199
206
|
}
|
|
200
207
|
|
|
201
208
|
export type RequiredGridItemProps = Required<GridItemProps$1>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.19.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -10,6 +10,7 @@ import type {
|
|
|
10
10
|
BoxProps$1,
|
|
11
11
|
ImageProps$1,
|
|
12
12
|
MaybeAllValuesShorthandProperty,
|
|
13
|
+
SizeUnits,
|
|
13
14
|
ComponentChild,
|
|
14
15
|
} from './shared.d.ts';
|
|
15
16
|
|
|
@@ -196,6 +197,12 @@ export interface BoxProps
|
|
|
196
197
|
* @default 'auto'
|
|
197
198
|
*/
|
|
198
199
|
display: ResponsiveBoxProps['display'];
|
|
200
|
+
blockSize: SizeUnits | 'auto';
|
|
201
|
+
minBlockSize: SizeUnits | '0';
|
|
202
|
+
maxBlockSize: SizeUnits | 'none';
|
|
203
|
+
inlineSize: SizeUnits | 'auto';
|
|
204
|
+
minInlineSize: SizeUnits | '0';
|
|
205
|
+
maxInlineSize: SizeUnits | 'none';
|
|
199
206
|
}
|
|
200
207
|
|
|
201
208
|
export interface ImageProps
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<s-button commandFor="modal">
|
|
2
|
+
Open
|
|
3
|
+
</s-button>
|
|
4
|
+
|
|
5
|
+
<s-modal id="modal" heading="Details">
|
|
6
|
+
<s-paragraph>
|
|
7
|
+
Displaying more details here.
|
|
8
|
+
</s-paragraph>
|
|
9
|
+
|
|
10
|
+
<s-button
|
|
11
|
+
slot="secondary-actions"
|
|
12
|
+
commandFor="modal"
|
|
13
|
+
command="--hide">
|
|
14
|
+
Close
|
|
15
|
+
</s-button>
|
|
16
|
+
<s-button
|
|
17
|
+
slot="primary-action"
|
|
18
|
+
variant="primary"
|
|
19
|
+
commandFor="modal"
|
|
20
|
+
command="--hide">
|
|
21
|
+
Save
|
|
22
|
+
</s-button>
|
|
23
|
+
</s-modal>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.19.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -210,8 +210,6 @@ declare class MoneyField
|
|
|
210
210
|
accessor max: MoneyFieldProps['max'];
|
|
211
211
|
accessor min: MoneyFieldProps['min'];
|
|
212
212
|
accessor step: MoneyFieldProps['step'];
|
|
213
|
-
get value(): MoneyFieldProps['value'];
|
|
214
|
-
set value(value: MoneyFieldProps['value']);
|
|
215
213
|
constructor();
|
|
216
214
|
}
|
|
217
215
|
declare global {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.19.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -214,8 +214,6 @@ declare class NumberField
|
|
|
214
214
|
extends PreactFieldElement<NumberFieldProps['autocomplete']>
|
|
215
215
|
implements NumberFieldProps
|
|
216
216
|
{
|
|
217
|
-
get value(): string;
|
|
218
|
-
set value(value: string);
|
|
219
217
|
accessor inputMode: NumberFieldProps['inputMode'];
|
|
220
218
|
accessor step: NumberFieldProps['step'];
|
|
221
219
|
accessor max: NumberFieldProps['max'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.19.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -9,6 +9,10 @@ import type {
|
|
|
9
9
|
BoxProps$1,
|
|
10
10
|
StackProps$1,
|
|
11
11
|
MaybeAllValuesShorthandProperty,
|
|
12
|
+
SizeUnits,
|
|
13
|
+
JustifyContentKeyword,
|
|
14
|
+
AlignItemsKeyword,
|
|
15
|
+
AlignContentKeyword,
|
|
12
16
|
ComponentChild,
|
|
13
17
|
} from './shared.d.ts';
|
|
14
18
|
|
|
@@ -195,6 +199,12 @@ export interface BoxProps
|
|
|
195
199
|
* @default 'auto'
|
|
196
200
|
*/
|
|
197
201
|
display: ResponsiveBoxProps['display'];
|
|
202
|
+
blockSize: SizeUnits | 'auto';
|
|
203
|
+
minBlockSize: SizeUnits | '0';
|
|
204
|
+
maxBlockSize: SizeUnits | 'none';
|
|
205
|
+
inlineSize: SizeUnits | 'auto';
|
|
206
|
+
minInlineSize: SizeUnits | '0';
|
|
207
|
+
maxInlineSize: SizeUnits | 'none';
|
|
198
208
|
}
|
|
199
209
|
|
|
200
210
|
export type AlignedStackProps = Required<StackProps$1>;
|
|
@@ -208,6 +218,9 @@ export interface StackProps
|
|
|
208
218
|
Required<AlignedStackProps>,
|
|
209
219
|
'justifyContent' | 'alignItems' | 'alignContent'
|
|
210
220
|
> {
|
|
221
|
+
justifyContent: JustifyContentKeyword;
|
|
222
|
+
alignItems: AlignItemsKeyword;
|
|
223
|
+
alignContent: AlignContentKeyword;
|
|
211
224
|
/**
|
|
212
225
|
* Adjust spacing between elements.
|
|
213
226
|
*
|