@shopify/ui-extensions 2025.10.0-rc.4 → 2025.10.0-rc.6
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/QueryContainer.d.ts +4 -0
- package/build/ts/docs/shared/components/QueryContainer.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/should-render/should-render.doc.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/Badge.d.ts +17 -6
- package/build/ts/surfaces/admin/components/Banner.d.ts +17 -6
- package/build/ts/surfaces/admin/components/Box.d.ts +28 -7
- package/build/ts/surfaces/admin/components/Button.d.ts +16 -6
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +17 -2
- package/build/ts/surfaces/admin/components/Choice.d.ts +17 -2
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +17 -6
- package/build/ts/surfaces/admin/components/Clickable.d.ts +28 -7
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +11 -5
- package/build/ts/surfaces/admin/components/Divider.d.ts +12 -5
- package/build/ts/surfaces/admin/components/EmailField.d.ts +11 -5
- package/build/ts/surfaces/admin/components/Form.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Grid.d.ts +28 -7
- package/build/ts/surfaces/admin/components/GridItem.d.ts +29 -7
- package/build/ts/surfaces/admin/components/Heading.d.ts +17 -6
- package/build/ts/surfaces/admin/components/Icon.d.ts +12 -5
- package/build/ts/surfaces/admin/components/Image.d.ts +22 -6
- package/build/ts/surfaces/admin/components/Link.d.ts +16 -6
- package/build/ts/surfaces/admin/components/ListItem.d.ts +18 -6
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +11 -6
- package/build/ts/surfaces/admin/components/NumberField.d.ts +11 -5
- package/build/ts/surfaces/admin/components/Option.d.ts +17 -5
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +18 -5
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +18 -6
- package/build/ts/surfaces/admin/components/Page.d.ts +20 -5
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +18 -6
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +11 -5
- package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +106 -0
- package/build/ts/surfaces/admin/components/SearchField.d.ts +14 -6
- package/build/ts/surfaces/admin/components/Section.d.ts +17 -6
- package/build/ts/surfaces/admin/components/Select.d.ts +16 -6
- package/build/ts/surfaces/admin/components/Spinner.d.ts +12 -2
- package/build/ts/surfaces/admin/components/Stack.d.ts +28 -7
- 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 +11 -2
- package/build/ts/surfaces/admin/components/Table.d.ts +17 -6
- package/build/ts/surfaces/admin/components/TableBody.d.ts +18 -6
- package/build/ts/surfaces/admin/components/TableCell.d.ts +18 -6
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +18 -6
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +18 -6
- package/build/ts/surfaces/admin/components/TableRow.d.ts +18 -6
- package/build/ts/surfaces/admin/components/Text.d.ts +17 -6
- package/build/ts/surfaces/admin/components/TextArea.d.ts +11 -5
- package/build/ts/surfaces/admin/components/TextField.d.ts +13 -5
- package/build/ts/surfaces/admin/components/URLField.d.ts +11 -5
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +18 -6
- package/build/ts/surfaces/admin/components/shared.d.ts +34 -44
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.block.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.catalog-details.block.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.collection-details.block.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.company-details.action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.company-details.block.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.customer-details.block.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.block.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.block.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.order-details.block.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.order-index.action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.product-details.action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.product-details.block.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.product-details.reorder.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.product-purchase-option.action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.block.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +630 -218
- package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +630 -218
- package/build/ts/surfaces/customer-account/api/docs.d.ts +1 -1
- package/build/ts/surfaces/customer-account/api/docs.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/shared.d.ts +0 -6
- package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +4 -5
- package/build/ts/surfaces/customer-account/components/ImageGroup.d.ts +4 -4
- package/build/ts/surfaces/customer-account/components/Page.d.ts +3 -5
- package/build/ts/surfaces/customer-account/components/shared.d.ts +11 -0
- package/build/ts/surfaces/customer-account/components/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/shared.ts +17 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +6 -17
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +6 -17
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +6 -17
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +6 -17
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +6 -17
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +6 -17
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +6 -17
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +6 -17
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +6 -17
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +6 -17
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +6 -17
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +6 -17
- package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +6 -17
- package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +6 -17
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +6 -17
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +6 -17
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +6 -17
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +6 -17
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +6 -17
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +6 -17
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +6 -17
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/docs/shared/components/QueryContainer.ts +12 -0
- 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/Badge.d.ts +17 -6
- package/src/surfaces/admin/components/Banner.d.ts +17 -6
- package/src/surfaces/admin/components/Box.d.ts +28 -7
- package/src/surfaces/admin/components/Button.d.ts +16 -6
- package/src/surfaces/admin/components/Checkbox.d.ts +17 -2
- package/src/surfaces/admin/components/Choice.d.ts +17 -2
- package/src/surfaces/admin/components/ChoiceList.d.ts +17 -6
- package/src/surfaces/admin/components/Clickable.d.ts +28 -7
- package/src/surfaces/admin/components/DatePicker.d.ts +11 -5
- package/src/surfaces/admin/components/Divider.d.ts +12 -5
- package/src/surfaces/admin/components/EmailField.d.ts +11 -5
- package/src/surfaces/admin/components/Form.d.ts +1 -1
- package/src/surfaces/admin/components/Grid.d.ts +28 -7
- package/src/surfaces/admin/components/GridItem.d.ts +29 -7
- package/src/surfaces/admin/components/Heading.d.ts +17 -6
- package/src/surfaces/admin/components/Icon.d.ts +12 -5
- package/src/surfaces/admin/components/Image.d.ts +22 -6
- package/src/surfaces/admin/components/Link.d.ts +16 -6
- package/src/surfaces/admin/components/ListItem.d.ts +18 -6
- package/src/surfaces/admin/components/MoneyField.d.ts +11 -6
- package/src/surfaces/admin/components/NumberField.d.ts +11 -5
- package/src/surfaces/admin/components/Option.d.ts +17 -5
- package/src/surfaces/admin/components/OptionGroup.d.ts +18 -5
- package/src/surfaces/admin/components/OrderedList.d.ts +18 -6
- package/src/surfaces/admin/components/Page.d.ts +20 -5
- package/src/surfaces/admin/components/Paragraph.d.ts +18 -6
- package/src/surfaces/admin/components/PasswordField.d.ts +11 -5
- package/src/surfaces/admin/components/QueryContainer/examples/default.html +5 -0
- package/src/surfaces/admin/components/QueryContainer.d.ts +106 -0
- package/src/surfaces/admin/components/SearchField.d.ts +14 -6
- package/src/surfaces/admin/components/Section.d.ts +17 -6
- package/src/surfaces/admin/components/Select.d.ts +16 -6
- package/src/surfaces/admin/components/Spinner.d.ts +12 -2
- package/src/surfaces/admin/components/Stack.d.ts +28 -7
- package/src/surfaces/admin/components/StandardComponents.ts +1 -0
- package/src/surfaces/admin/components/Switch.d.ts +11 -2
- package/src/surfaces/admin/components/Table.d.ts +17 -6
- package/src/surfaces/admin/components/TableBody.d.ts +18 -6
- package/src/surfaces/admin/components/TableCell.d.ts +18 -6
- package/src/surfaces/admin/components/TableHeader.d.ts +18 -6
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +18 -6
- package/src/surfaces/admin/components/TableRow.d.ts +18 -6
- package/src/surfaces/admin/components/Text.d.ts +17 -6
- package/src/surfaces/admin/components/TextArea.d.ts +11 -5
- package/src/surfaces/admin/components/TextField.d.ts +13 -5
- package/src/surfaces/admin/components/URLField.d.ts +11 -5
- package/src/surfaces/admin/components/UnorderedList.d.ts +18 -6
- package/src/surfaces/admin/components/shared.d.ts +34 -44
- package/src/surfaces/admin/components.d.ts +333 -513
- package/src/surfaces/customer-account/api/docs.ts +1 -1
- package/src/surfaces/customer-account/api/shared.ts +0 -6
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-js.example.ts +1 -1
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-preact.example.tsx +1 -1
- package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +4 -5
- package/src/surfaces/customer-account/components/ImageGroup.d.ts +4 -4
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-js.example.ts +4 -4
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-preact.example.tsx +4 -4
- package/src/surfaces/customer-account/components/Page.d.ts +3 -5
- package/src/surfaces/customer-account/components/shared.ts +17 -0
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
declare module 'preact' {
|
|
2
|
-
interface BaseProps {
|
|
3
|
-
slot?: Lowercase<string>;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
2
|
namespace createElement.JSX {
|
|
7
3
|
interface IntrinsicElements {
|
|
8
|
-
[URLFieldtagName]: URLFieldJSXProps &
|
|
4
|
+
[URLFieldtagName]: URLFieldJSXProps & URLFieldPreactBaseElementProps<URLField>;
|
|
9
5
|
}
|
|
10
6
|
}
|
|
11
7
|
}
|
|
@@ -19,6 +15,15 @@ declare global {
|
|
|
19
15
|
export interface URLFieldJSXProps extends Partial<Omit<URLFieldProps, 'accessory'>>, Pick<URLFieldProps$1, 'id'>, URLFieldFieldReactProps<typeof URLFieldtagName> {
|
|
20
16
|
}
|
|
21
17
|
|
|
18
|
+
export interface URLFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
19
|
+
/** Assigns a unique key to this element. */
|
|
20
|
+
key?: preact.Key;
|
|
21
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
22
|
+
ref?: preact.Ref<TClass>;
|
|
23
|
+
/** Assigns this element to a parent's slot. */
|
|
24
|
+
slot?: Lowercase<string>;
|
|
25
|
+
}
|
|
26
|
+
|
|
22
27
|
export interface URLFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
23
28
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
24
29
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -45,14 +50,10 @@ declare const URLFieldinternals: unique symbol;
|
|
|
45
50
|
declare const URLFieldBaseClass: typeof globalThis.HTMLElement;
|
|
46
51
|
|
|
47
52
|
declare module 'preact' {
|
|
48
|
-
interface BaseProps {
|
|
49
|
-
children?: preact.ComponentChildren;
|
|
50
|
-
slot?: Lowercase<string>;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
53
|
namespace createElement.JSX {
|
|
54
54
|
interface IntrinsicElements {
|
|
55
|
-
[UnorderedListtagName]: UnorderedListJSXProps &
|
|
55
|
+
[UnorderedListtagName]: UnorderedListJSXProps &
|
|
56
|
+
UnorderedListPreactBaseElementPropsWithChildren<UnorderedList>;
|
|
56
57
|
}
|
|
57
58
|
}
|
|
58
59
|
}
|
|
@@ -66,6 +67,19 @@ declare global {
|
|
|
66
67
|
export interface UnorderedListJSXProps extends Partial<UnorderedListProps>, Pick<UnorderedListProps$1, 'id'> {
|
|
67
68
|
}
|
|
68
69
|
|
|
70
|
+
export interface UnorderedListPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends UnorderedListPreactBaseElementProps<TClass> {
|
|
71
|
+
children?: preact.ComponentChildren;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export interface UnorderedListPreactBaseElementProps<TClass extends HTMLElement> {
|
|
75
|
+
/** Assigns a unique key to this element. */
|
|
76
|
+
key?: preact.Key;
|
|
77
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
78
|
+
ref?: preact.Ref<TClass>;
|
|
79
|
+
/** Assigns this element to a parent's slot. */
|
|
80
|
+
slot?: Lowercase<string>;
|
|
81
|
+
}
|
|
82
|
+
|
|
69
83
|
export interface UnorderedListClickOptions {
|
|
70
84
|
/**
|
|
71
85
|
* The event you want to influence the synthetic click.
|
|
@@ -87,13 +101,10 @@ declare const UnorderedListtagName = 's-unordered-list';
|
|
|
87
101
|
declare const UnorderedListBaseClass: typeof globalThis.HTMLElement;
|
|
88
102
|
|
|
89
103
|
declare module 'preact' {
|
|
90
|
-
interface BaseProps {
|
|
91
|
-
slot?: Lowercase<string>;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
104
|
namespace createElement.JSX {
|
|
95
105
|
interface IntrinsicElements {
|
|
96
|
-
[TextFieldtagName]: Omit<TextFieldJSXProps, 'accessory'> &
|
|
106
|
+
[TextFieldtagName]: Omit<TextFieldJSXProps, 'accessory'> &
|
|
107
|
+
TextFieldPreactBaseElementProps<TextField>;
|
|
97
108
|
}
|
|
98
109
|
}
|
|
99
110
|
}
|
|
@@ -111,6 +122,15 @@ export interface TextFieldJSXProps extends Partial<Omit<TextFieldProps, 'accesso
|
|
|
111
122
|
accessory?: ComponentChild;
|
|
112
123
|
}
|
|
113
124
|
|
|
125
|
+
export interface TextFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
126
|
+
/** Assigns a unique key to this element. */
|
|
127
|
+
key?: preact.Key;
|
|
128
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
129
|
+
ref?: preact.Ref<TClass>;
|
|
130
|
+
/** Assigns this element to a parent's slot. */
|
|
131
|
+
slot?: Lowercase<string>;
|
|
132
|
+
}
|
|
133
|
+
|
|
114
134
|
export interface TextFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
115
135
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
116
136
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -137,13 +157,9 @@ declare const TextFieldinternals: unique symbol;
|
|
|
137
157
|
declare const TextFieldBaseClass: typeof globalThis.HTMLElement;
|
|
138
158
|
|
|
139
159
|
declare module 'preact' {
|
|
140
|
-
interface BaseProps {
|
|
141
|
-
slot?: Lowercase<string>;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
160
|
namespace createElement.JSX {
|
|
145
161
|
interface IntrinsicElements {
|
|
146
|
-
[TextAreatagName]: TextAreaJSXProps &
|
|
162
|
+
[TextAreatagName]: TextAreaJSXProps & TextAreaPreactBaseElementProps<TextArea>;
|
|
147
163
|
}
|
|
148
164
|
}
|
|
149
165
|
}
|
|
@@ -157,6 +173,15 @@ declare global {
|
|
|
157
173
|
export interface TextAreaJSXProps extends Partial<TextAreaProps>, Pick<TextAreaProps$1, 'id'>, TextAreaFieldReactProps<typeof TextAreatagName> {
|
|
158
174
|
}
|
|
159
175
|
|
|
176
|
+
export interface TextAreaPreactBaseElementProps<TClass extends HTMLElement> {
|
|
177
|
+
/** Assigns a unique key to this element. */
|
|
178
|
+
key?: preact.Key;
|
|
179
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
180
|
+
ref?: preact.Ref<TClass>;
|
|
181
|
+
/** Assigns this element to a parent's slot. */
|
|
182
|
+
slot?: Lowercase<string>;
|
|
183
|
+
}
|
|
184
|
+
|
|
160
185
|
export interface TextAreaFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
161
186
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
162
187
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -183,14 +208,9 @@ declare const TextAreainternals: unique symbol;
|
|
|
183
208
|
declare const TextAreaBaseClass: typeof globalThis.HTMLElement;
|
|
184
209
|
|
|
185
210
|
declare module 'preact' {
|
|
186
|
-
interface BaseProps {
|
|
187
|
-
children?: preact.ComponentChildren;
|
|
188
|
-
slot?: Lowercase<string>;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
211
|
namespace createElement.JSX {
|
|
192
212
|
interface IntrinsicElements {
|
|
193
|
-
[TexttagName]: TextJSXProps &
|
|
213
|
+
[TexttagName]: TextJSXProps & TextPreactBaseElementPropsWithChildren<Text>;
|
|
194
214
|
}
|
|
195
215
|
}
|
|
196
216
|
}
|
|
@@ -204,6 +224,19 @@ declare global {
|
|
|
204
224
|
export interface TextJSXProps extends Partial<TextProps>, Pick<TextProps$1, 'id'> {
|
|
205
225
|
}
|
|
206
226
|
|
|
227
|
+
export interface TextPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TextPreactBaseElementProps<TClass> {
|
|
228
|
+
children?: preact.ComponentChildren;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
export interface TextPreactBaseElementProps<TClass extends HTMLElement> {
|
|
232
|
+
/** Assigns a unique key to this element. */
|
|
233
|
+
key?: preact.Key;
|
|
234
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
235
|
+
ref?: preact.Ref<TClass>;
|
|
236
|
+
/** Assigns this element to a parent's slot. */
|
|
237
|
+
slot?: Lowercase<string>;
|
|
238
|
+
}
|
|
239
|
+
|
|
207
240
|
export interface TextClickOptions {
|
|
208
241
|
/**
|
|
209
242
|
* The event you want to influence the synthetic click.
|
|
@@ -248,14 +281,10 @@ declare const TexttagName = 's-text';
|
|
|
248
281
|
declare const TextBaseClass: typeof globalThis.HTMLElement;
|
|
249
282
|
|
|
250
283
|
declare module 'preact' {
|
|
251
|
-
interface BaseProps {
|
|
252
|
-
children?: preact.ComponentChildren;
|
|
253
|
-
slot?: Lowercase<string>;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
284
|
namespace createElement.JSX {
|
|
257
285
|
interface IntrinsicElements {
|
|
258
|
-
[TableRowtagName]: TableRowJSXProps &
|
|
286
|
+
[TableRowtagName]: TableRowJSXProps &
|
|
287
|
+
TableRowPreactBaseElementPropsWithChildren<TableRow>;
|
|
259
288
|
}
|
|
260
289
|
}
|
|
261
290
|
}
|
|
@@ -269,6 +298,19 @@ declare global {
|
|
|
269
298
|
export interface TableRowJSXProps extends Partial<TableRowProps>, Pick<TableRowProps$1, 'id'> {
|
|
270
299
|
}
|
|
271
300
|
|
|
301
|
+
export interface TableRowPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableRowPreactBaseElementProps<TClass> {
|
|
302
|
+
children?: preact.ComponentChildren;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
export interface TableRowPreactBaseElementProps<TClass extends HTMLElement> {
|
|
306
|
+
/** Assigns a unique key to this element. */
|
|
307
|
+
key?: preact.Key;
|
|
308
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
309
|
+
ref?: preact.Ref<TClass>;
|
|
310
|
+
/** Assigns this element to a parent's slot. */
|
|
311
|
+
slot?: Lowercase<string>;
|
|
312
|
+
}
|
|
313
|
+
|
|
272
314
|
export interface TableRowClickOptions {
|
|
273
315
|
/**
|
|
274
316
|
* The event you want to influence the synthetic click.
|
|
@@ -290,14 +332,10 @@ declare const TableRowtagName = 's-table-row';
|
|
|
290
332
|
declare const TableRowBaseClass: typeof globalThis.HTMLElement;
|
|
291
333
|
|
|
292
334
|
declare module 'preact' {
|
|
293
|
-
interface BaseProps {
|
|
294
|
-
children?: preact.ComponentChildren;
|
|
295
|
-
slot?: Lowercase<string>;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
335
|
namespace createElement.JSX {
|
|
299
336
|
interface IntrinsicElements {
|
|
300
|
-
[TableHeaderRowtagName]: TableHeaderRowJSXProps &
|
|
337
|
+
[TableHeaderRowtagName]: TableHeaderRowJSXProps &
|
|
338
|
+
TableHeaderRowPreactBaseElementPropsWithChildren<TableHeaderRow>;
|
|
301
339
|
}
|
|
302
340
|
}
|
|
303
341
|
}
|
|
@@ -311,6 +349,19 @@ declare global {
|
|
|
311
349
|
export interface TableHeaderRowJSXProps extends Partial<TableHeaderRowProps>, Pick<TableHeaderRowProps$1, 'id'> {
|
|
312
350
|
}
|
|
313
351
|
|
|
352
|
+
export interface TableHeaderRowPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableHeaderRowPreactBaseElementProps<TClass> {
|
|
353
|
+
children?: preact.ComponentChildren;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
export interface TableHeaderRowPreactBaseElementProps<TClass extends HTMLElement> {
|
|
357
|
+
/** Assigns a unique key to this element. */
|
|
358
|
+
key?: preact.Key;
|
|
359
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
360
|
+
ref?: preact.Ref<TClass>;
|
|
361
|
+
/** Assigns this element to a parent's slot. */
|
|
362
|
+
slot?: Lowercase<string>;
|
|
363
|
+
}
|
|
364
|
+
|
|
314
365
|
export interface TableHeaderRowClickOptions {
|
|
315
366
|
/**
|
|
316
367
|
* The event you want to influence the synthetic click.
|
|
@@ -332,14 +383,10 @@ declare const TableHeaderRowtagName = 's-table-header-row';
|
|
|
332
383
|
declare const TableHeaderRowBaseClass: typeof globalThis.HTMLElement;
|
|
333
384
|
|
|
334
385
|
declare module 'preact' {
|
|
335
|
-
interface BaseProps {
|
|
336
|
-
children?: preact.ComponentChildren;
|
|
337
|
-
slot?: Lowercase<string>;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
386
|
namespace createElement.JSX {
|
|
341
387
|
interface IntrinsicElements {
|
|
342
|
-
[TableHeadertagName]: TableHeaderJSXProps &
|
|
388
|
+
[TableHeadertagName]: TableHeaderJSXProps &
|
|
389
|
+
TableHeaderPreactBaseElementPropsWithChildren<TableHeader>;
|
|
343
390
|
}
|
|
344
391
|
}
|
|
345
392
|
}
|
|
@@ -353,6 +400,19 @@ declare global {
|
|
|
353
400
|
export interface TableHeaderJSXProps extends Partial<TableHeaderTableHeaderProps>, Pick<TableHeaderProps$1, 'id'> {
|
|
354
401
|
}
|
|
355
402
|
|
|
403
|
+
export interface TableHeaderPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableHeaderPreactBaseElementProps<TClass> {
|
|
404
|
+
children?: preact.ComponentChildren;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
export interface TableHeaderPreactBaseElementProps<TClass extends HTMLElement> {
|
|
408
|
+
/** Assigns a unique key to this element. */
|
|
409
|
+
key?: preact.Key;
|
|
410
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
411
|
+
ref?: preact.Ref<TClass>;
|
|
412
|
+
/** Assigns this element to a parent's slot. */
|
|
413
|
+
slot?: Lowercase<string>;
|
|
414
|
+
}
|
|
415
|
+
|
|
356
416
|
export interface TableHeaderClickOptions {
|
|
357
417
|
/**
|
|
358
418
|
* The event you want to influence the synthetic click.
|
|
@@ -378,14 +438,10 @@ declare const TableHeadertagName = 's-table-header';
|
|
|
378
438
|
declare const TableHeaderBaseClass: typeof globalThis.HTMLElement;
|
|
379
439
|
|
|
380
440
|
declare module 'preact' {
|
|
381
|
-
interface BaseProps {
|
|
382
|
-
children?: preact.ComponentChildren;
|
|
383
|
-
slot?: Lowercase<string>;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
441
|
namespace createElement.JSX {
|
|
387
442
|
interface IntrinsicElements {
|
|
388
|
-
[TableCelltagName]: TableCellJSXProps &
|
|
443
|
+
[TableCelltagName]: TableCellJSXProps &
|
|
444
|
+
TableCellPreactBaseElementPropsWithChildren<TableCell>;
|
|
389
445
|
}
|
|
390
446
|
}
|
|
391
447
|
}
|
|
@@ -399,6 +455,19 @@ declare global {
|
|
|
399
455
|
export interface TableCellJSXProps extends Partial<TableCellProps>, Pick<TableCellProps$1, 'id'> {
|
|
400
456
|
}
|
|
401
457
|
|
|
458
|
+
export interface TableCellPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableCellPreactBaseElementProps<TClass> {
|
|
459
|
+
children?: preact.ComponentChildren;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
export interface TableCellPreactBaseElementProps<TClass extends HTMLElement> {
|
|
463
|
+
/** Assigns a unique key to this element. */
|
|
464
|
+
key?: preact.Key;
|
|
465
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
466
|
+
ref?: preact.Ref<TClass>;
|
|
467
|
+
/** Assigns this element to a parent's slot. */
|
|
468
|
+
slot?: Lowercase<string>;
|
|
469
|
+
}
|
|
470
|
+
|
|
402
471
|
export interface TableCellClickOptions {
|
|
403
472
|
/**
|
|
404
473
|
* The event you want to influence the synthetic click.
|
|
@@ -420,14 +489,10 @@ declare const TableCelltagName = 's-table-cell';
|
|
|
420
489
|
declare const TableCellBaseClass: typeof globalThis.HTMLElement;
|
|
421
490
|
|
|
422
491
|
declare module 'preact' {
|
|
423
|
-
interface BaseProps {
|
|
424
|
-
children?: preact.ComponentChildren;
|
|
425
|
-
slot?: Lowercase<string>;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
492
|
namespace createElement.JSX {
|
|
429
493
|
interface IntrinsicElements {
|
|
430
|
-
[TableBodytagName]: TableBodyJSXProps &
|
|
494
|
+
[TableBodytagName]: TableBodyJSXProps &
|
|
495
|
+
TableBodyPreactBaseElementPropsWithChildren<TableBody>;
|
|
431
496
|
}
|
|
432
497
|
}
|
|
433
498
|
}
|
|
@@ -441,6 +506,19 @@ declare global {
|
|
|
441
506
|
export interface TableBodyJSXProps extends Partial<TableBodyProps>, Pick<TableBodyProps$1, 'id'> {
|
|
442
507
|
}
|
|
443
508
|
|
|
509
|
+
export interface TableBodyPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableBodyPreactBaseElementProps<TClass> {
|
|
510
|
+
children?: preact.ComponentChildren;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
export interface TableBodyPreactBaseElementProps<TClass extends HTMLElement> {
|
|
514
|
+
/** Assigns a unique key to this element. */
|
|
515
|
+
key?: preact.Key;
|
|
516
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
517
|
+
ref?: preact.Ref<TClass>;
|
|
518
|
+
/** Assigns this element to a parent's slot. */
|
|
519
|
+
slot?: Lowercase<string>;
|
|
520
|
+
}
|
|
521
|
+
|
|
444
522
|
export interface TableBodyClickOptions {
|
|
445
523
|
/**
|
|
446
524
|
* The event you want to influence the synthetic click.
|
|
@@ -462,14 +540,10 @@ declare const TableBodytagName = 's-table-body';
|
|
|
462
540
|
declare const TableBodyBaseClass: typeof globalThis.HTMLElement;
|
|
463
541
|
|
|
464
542
|
declare module 'preact' {
|
|
465
|
-
interface BaseProps {
|
|
466
|
-
children?: preact.ComponentChildren;
|
|
467
|
-
slot?: Lowercase<string>;
|
|
468
|
-
}
|
|
469
|
-
|
|
470
543
|
namespace createElement.JSX {
|
|
471
544
|
interface IntrinsicElements {
|
|
472
|
-
[TabletagName]: Omit<TableJSXProps, 'filters'> &
|
|
545
|
+
[TabletagName]: Omit<TableJSXProps, 'filters'> &
|
|
546
|
+
TablePreactBaseElementPropsWithChildren<Table>;
|
|
473
547
|
}
|
|
474
548
|
}
|
|
475
549
|
}
|
|
@@ -487,6 +561,19 @@ export interface TableJSXProps extends Partial<TableProps>, Pick<TableProps$1, '
|
|
|
487
561
|
filters?: ComponentChild;
|
|
488
562
|
}
|
|
489
563
|
|
|
564
|
+
export interface TablePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TablePreactBaseElementProps<TClass> {
|
|
565
|
+
children?: preact.ComponentChildren;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
export interface TablePreactBaseElementProps<TClass extends HTMLElement> {
|
|
569
|
+
/** Assigns a unique key to this element. */
|
|
570
|
+
key?: preact.Key;
|
|
571
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
572
|
+
ref?: preact.Ref<TClass>;
|
|
573
|
+
/** Assigns this element to a parent's slot. */
|
|
574
|
+
slot?: Lowercase<string>;
|
|
575
|
+
}
|
|
576
|
+
|
|
490
577
|
export interface TableClickOptions {
|
|
491
578
|
/**
|
|
492
579
|
* The event you want to influence the synthetic click.
|
|
@@ -523,14 +610,9 @@ declare const actualTableVariantSymbol: unique symbol;
|
|
|
523
610
|
declare const TableBaseClass: typeof globalThis.HTMLElement;
|
|
524
611
|
|
|
525
612
|
declare module 'preact' {
|
|
526
|
-
interface BaseProps {
|
|
527
|
-
children?: preact.ComponentChildren;
|
|
528
|
-
slot?: Lowercase<string>;
|
|
529
|
-
}
|
|
530
|
-
|
|
531
613
|
namespace createElement.JSX {
|
|
532
614
|
interface IntrinsicElements {
|
|
533
|
-
[StacktagName]: StackJSXProps &
|
|
615
|
+
[StacktagName]: StackJSXProps & StackPreactBaseElementPropsWithChildren<Stack>;
|
|
534
616
|
}
|
|
535
617
|
}
|
|
536
618
|
}
|
|
@@ -544,6 +626,19 @@ declare global {
|
|
|
544
626
|
export interface StackJSXProps extends Partial<StackProps>, Pick<StackProps$1, 'id'> {
|
|
545
627
|
}
|
|
546
628
|
|
|
629
|
+
export interface StackPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends StackPreactBaseElementProps<TClass> {
|
|
630
|
+
children?: preact.ComponentChildren;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
export interface StackPreactBaseElementProps<TClass extends HTMLElement> {
|
|
634
|
+
/** Assigns a unique key to this element. */
|
|
635
|
+
key?: preact.Key;
|
|
636
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
637
|
+
ref?: preact.Ref<TClass>;
|
|
638
|
+
/** Assigns this element to a parent's slot. */
|
|
639
|
+
slot?: Lowercase<string>;
|
|
640
|
+
}
|
|
641
|
+
|
|
547
642
|
export interface StackClickOptions {
|
|
548
643
|
/**
|
|
549
644
|
* The event you want to influence the synthetic click.
|
|
@@ -619,7 +714,6 @@ export interface StackBoxProps extends Pick<
|
|
|
619
714
|
| 'borderRadius'
|
|
620
715
|
| 'borderStyle'
|
|
621
716
|
| 'borderWidth'
|
|
622
|
-
| 'display'
|
|
623
717
|
| 'inlineSize'
|
|
624
718
|
| 'maxBlockSize'
|
|
625
719
|
| 'maxInlineSize'
|
|
@@ -742,6 +836,16 @@ export interface StackBoxProps extends Pick<
|
|
|
742
836
|
* @default '' - meaning no override
|
|
743
837
|
*/
|
|
744
838
|
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
839
|
+
/**
|
|
840
|
+
* Sets the outer display type of the component. The outer type sets a component's participation in [flow layout](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_flow_layout).
|
|
841
|
+
*
|
|
842
|
+
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
843
|
+
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
844
|
+
*
|
|
845
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
846
|
+
* @default 'auto'
|
|
847
|
+
*/
|
|
848
|
+
display: ResponsiveBoxProps['display'];
|
|
745
849
|
}
|
|
746
850
|
|
|
747
851
|
declare const StacktagName = 's-stack';
|
|
@@ -750,7 +854,7 @@ declare const StackBaseClass: typeof globalThis.HTMLElement;
|
|
|
750
854
|
declare module 'preact' {
|
|
751
855
|
namespace createElement.JSX {
|
|
752
856
|
interface IntrinsicElements {
|
|
753
|
-
[SpinnertagName]: SpinnerJSXProps
|
|
857
|
+
[SpinnertagName]: SpinnerJSXProps & SpinnerPreactBaseElementProps<Spinner>;
|
|
754
858
|
}
|
|
755
859
|
}
|
|
756
860
|
}
|
|
@@ -764,6 +868,15 @@ declare global {
|
|
|
764
868
|
export interface SpinnerJSXProps extends Partial<SpinnerProps>, Pick<SpinnerProps$1, 'id'> {
|
|
765
869
|
}
|
|
766
870
|
|
|
871
|
+
export interface SpinnerPreactBaseElementProps<TClass extends HTMLElement> {
|
|
872
|
+
/** Assigns a unique key to this element. */
|
|
873
|
+
key?: preact.Key;
|
|
874
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
875
|
+
ref?: preact.Ref<TClass>;
|
|
876
|
+
/** Assigns this element to a parent's slot. */
|
|
877
|
+
slot?: Lowercase<string>;
|
|
878
|
+
}
|
|
879
|
+
|
|
767
880
|
export interface SpinnerClickOptions {
|
|
768
881
|
/**
|
|
769
882
|
* The event you want to influence the synthetic click.
|
|
@@ -786,14 +899,9 @@ declare const SpinnertagName = 's-spinner';
|
|
|
786
899
|
declare const SpinnerBaseClass: typeof globalThis.HTMLElement;
|
|
787
900
|
|
|
788
901
|
declare module 'preact' {
|
|
789
|
-
interface BaseProps {
|
|
790
|
-
children?: preact.ComponentChildren;
|
|
791
|
-
slot?: Lowercase<string>;
|
|
792
|
-
}
|
|
793
|
-
|
|
794
902
|
namespace createElement.JSX {
|
|
795
903
|
interface IntrinsicElements {
|
|
796
|
-
[SelecttagName]: SelectJSXProps &
|
|
904
|
+
[SelecttagName]: SelectJSXProps & SelectPreactBaseElementPropsWithChildren<Select>;
|
|
797
905
|
}
|
|
798
906
|
}
|
|
799
907
|
}
|
|
@@ -828,6 +936,19 @@ export interface SelectProps extends Omit<PreactInputProps, 'value'>, Required<
|
|
|
828
936
|
value: Required<SelectProps$1>['value'];
|
|
829
937
|
}
|
|
830
938
|
|
|
939
|
+
export interface SelectPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends SelectPreactBaseElementProps<TClass> {
|
|
940
|
+
children?: preact.ComponentChildren;
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
export interface SelectPreactBaseElementProps<TClass extends HTMLElement> {
|
|
944
|
+
/** Assigns a unique key to this element. */
|
|
945
|
+
key?: preact.Key;
|
|
946
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
947
|
+
ref?: preact.Ref<TClass>;
|
|
948
|
+
/** Assigns this element to a parent's slot. */
|
|
949
|
+
slot?: Lowercase<string>;
|
|
950
|
+
}
|
|
951
|
+
|
|
831
952
|
export interface SelectClickOptions {
|
|
832
953
|
/**
|
|
833
954
|
* The event you want to influence the synthetic click.
|
|
@@ -849,14 +970,9 @@ declare const Selectinternals: unique symbol;
|
|
|
849
970
|
declare const SelectBaseClass: typeof globalThis.HTMLElement;
|
|
850
971
|
|
|
851
972
|
declare module 'preact' {
|
|
852
|
-
interface BaseProps {
|
|
853
|
-
children?: preact.ComponentChildren;
|
|
854
|
-
slot?: Lowercase<string>;
|
|
855
|
-
}
|
|
856
|
-
|
|
857
973
|
namespace createElement.JSX {
|
|
858
974
|
interface IntrinsicElements {
|
|
859
|
-
[SectiontagName]: SectionJSXProps &
|
|
975
|
+
[SectiontagName]: SectionJSXProps & SectionPreactBaseElementPropsWithChildren<Section>;
|
|
860
976
|
}
|
|
861
977
|
}
|
|
862
978
|
}
|
|
@@ -870,6 +986,19 @@ declare global {
|
|
|
870
986
|
export interface SectionJSXProps extends Partial<SectionProps>, Pick<SectionProps$1, 'id'> {
|
|
871
987
|
}
|
|
872
988
|
|
|
989
|
+
export interface SectionPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends SectionPreactBaseElementProps<TClass> {
|
|
990
|
+
children?: preact.ComponentChildren;
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
export interface SectionPreactBaseElementProps<TClass extends HTMLElement> {
|
|
994
|
+
/** Assigns a unique key to this element. */
|
|
995
|
+
key?: preact.Key;
|
|
996
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
997
|
+
ref?: preact.Ref<TClass>;
|
|
998
|
+
/** Assigns this element to a parent's slot. */
|
|
999
|
+
slot?: Lowercase<string>;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
873
1002
|
export interface SectionClickOptions {
|
|
874
1003
|
/**
|
|
875
1004
|
* The event you want to influence the synthetic click.
|
|
@@ -897,13 +1026,50 @@ declare const SectiontagName = 's-section';
|
|
|
897
1026
|
declare const SectionBaseClass: typeof globalThis.HTMLElement;
|
|
898
1027
|
|
|
899
1028
|
declare module 'preact' {
|
|
900
|
-
|
|
901
|
-
|
|
1029
|
+
namespace createElement.JSX {
|
|
1030
|
+
interface IntrinsicElements {
|
|
1031
|
+
[QueryContainertagName]: Omit<
|
|
1032
|
+
HTMLAttributes<HTMLElement>,
|
|
1033
|
+
Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
|
|
1034
|
+
> &
|
|
1035
|
+
QueryContainerJSXProps;
|
|
1036
|
+
}
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
declare global {
|
|
1041
|
+
interface HTMLElementTagNameMap {
|
|
1042
|
+
[QueryContainertagName]: QueryContainer;
|
|
902
1043
|
}
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
export interface QueryContainerJSXProps extends Partial<QueryContainerProps$1>, Pick<QueryContainerProps$1, 'id'> {
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
export interface QueryContainerProps extends Required<Pick<QueryContainerProps$1, 'id' | 'containerName'>> {
|
|
1050
|
+
}
|
|
903
1051
|
|
|
1052
|
+
export interface QueryContainerClickOptions {
|
|
1053
|
+
/**
|
|
1054
|
+
* The event you want to influence the synthetic click.
|
|
1055
|
+
*/
|
|
1056
|
+
sourceEvent?: QueryContainerActivationEventEsque;
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
export interface QueryContainerActivationEventEsque {
|
|
1060
|
+
shiftKey: boolean;
|
|
1061
|
+
metaKey: boolean;
|
|
1062
|
+
ctrlKey: boolean;
|
|
1063
|
+
button: number;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
declare const QueryContainertagName = 's-query-container';
|
|
1067
|
+
declare const QueryContainerBaseClass: typeof globalThis.HTMLElement;
|
|
1068
|
+
|
|
1069
|
+
declare module 'preact' {
|
|
904
1070
|
namespace createElement.JSX {
|
|
905
1071
|
interface IntrinsicElements {
|
|
906
|
-
[PasswordFieldtagName]: PasswordFieldJSXProps &
|
|
1072
|
+
[PasswordFieldtagName]: PasswordFieldJSXProps & PasswordFieldPreactBaseElementProps<PasswordField>;
|
|
907
1073
|
}
|
|
908
1074
|
}
|
|
909
1075
|
}
|
|
@@ -917,6 +1083,15 @@ declare global {
|
|
|
917
1083
|
export interface PasswordFieldJSXProps extends Partial<PasswordFieldProps>, Pick<PasswordFieldProps$1, 'id'>, PasswordFieldFieldReactProps<typeof PasswordFieldtagName> {
|
|
918
1084
|
}
|
|
919
1085
|
|
|
1086
|
+
export interface PasswordFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1087
|
+
/** Assigns a unique key to this element. */
|
|
1088
|
+
key?: preact.Key;
|
|
1089
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1090
|
+
ref?: preact.Ref<TClass>;
|
|
1091
|
+
/** Assigns this element to a parent's slot. */
|
|
1092
|
+
slot?: Lowercase<string>;
|
|
1093
|
+
}
|
|
1094
|
+
|
|
920
1095
|
export interface PasswordFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
921
1096
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
922
1097
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -943,14 +1118,10 @@ declare const PasswordFieldinternals: unique symbol;
|
|
|
943
1118
|
declare const PasswordFieldBaseClass: typeof globalThis.HTMLElement;
|
|
944
1119
|
|
|
945
1120
|
declare module 'preact' {
|
|
946
|
-
interface BaseProps {
|
|
947
|
-
children?: preact.ComponentChildren;
|
|
948
|
-
slot?: Lowercase<string>;
|
|
949
|
-
}
|
|
950
|
-
|
|
951
1121
|
namespace createElement.JSX {
|
|
952
1122
|
interface IntrinsicElements {
|
|
953
|
-
[ParagraphtagName]: ParagraphJSXProps &
|
|
1123
|
+
[ParagraphtagName]: ParagraphJSXProps &
|
|
1124
|
+
ParagraphPreactBaseElementPropsWithChildren<Paragraph>;
|
|
954
1125
|
}
|
|
955
1126
|
}
|
|
956
1127
|
}
|
|
@@ -964,6 +1135,19 @@ declare global {
|
|
|
964
1135
|
export interface ParagraphJSXProps extends Partial<ParagraphProps>, Pick<ParagraphProps$1, 'id'> {
|
|
965
1136
|
}
|
|
966
1137
|
|
|
1138
|
+
export interface ParagraphPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ParagraphPreactBaseElementProps<TClass> {
|
|
1139
|
+
children?: preact.ComponentChildren;
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
export interface ParagraphPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1143
|
+
/** Assigns a unique key to this element. */
|
|
1144
|
+
key?: preact.Key;
|
|
1145
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1146
|
+
ref?: preact.Ref<TClass>;
|
|
1147
|
+
/** Assigns this element to a parent's slot. */
|
|
1148
|
+
slot?: Lowercase<string>;
|
|
1149
|
+
}
|
|
1150
|
+
|
|
967
1151
|
export interface ParagraphClickOptions {
|
|
968
1152
|
/**
|
|
969
1153
|
* The event you want to influence the synthetic click.
|
|
@@ -997,14 +1181,10 @@ declare const ParagraphtagName = 's-paragraph';
|
|
|
997
1181
|
declare const ParagraphBaseClass: typeof globalThis.HTMLElement;
|
|
998
1182
|
|
|
999
1183
|
declare module 'preact' {
|
|
1000
|
-
interface BaseProps {
|
|
1001
|
-
children?: preact.ComponentChildren;
|
|
1002
|
-
slot?: Lowercase<string>;
|
|
1003
|
-
}
|
|
1004
|
-
|
|
1005
1184
|
namespace createElement.JSX {
|
|
1006
1185
|
interface IntrinsicElements {
|
|
1007
|
-
[OrderedListtagName]: OrderedListJSXProps &
|
|
1186
|
+
[OrderedListtagName]: OrderedListJSXProps &
|
|
1187
|
+
OrderedListPreactBaseElementPropsWithChildren<OrderedList>;
|
|
1008
1188
|
}
|
|
1009
1189
|
}
|
|
1010
1190
|
}
|
|
@@ -1018,6 +1198,19 @@ declare global {
|
|
|
1018
1198
|
export interface OrderedListJSXProps extends Partial<OrderedListProps>, Pick<OrderedListProps$1, 'id'> {
|
|
1019
1199
|
}
|
|
1020
1200
|
|
|
1201
|
+
export interface OrderedListPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends OrderedListPreactBaseElementProps<TClass> {
|
|
1202
|
+
children?: preact.ComponentChildren;
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
export interface OrderedListPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1206
|
+
/** Assigns a unique key to this element. */
|
|
1207
|
+
key?: preact.Key;
|
|
1208
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1209
|
+
ref?: preact.Ref<TClass>;
|
|
1210
|
+
/** Assigns this element to a parent's slot. */
|
|
1211
|
+
slot?: Lowercase<string>;
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1021
1214
|
export interface OrderedListClickOptions {
|
|
1022
1215
|
/**
|
|
1023
1216
|
* The event you want to influence the synthetic click.
|
|
@@ -1039,13 +1232,10 @@ declare const OrderedListtagName = 's-ordered-list';
|
|
|
1039
1232
|
declare const OrderedListBaseClass: typeof globalThis.HTMLElement;
|
|
1040
1233
|
|
|
1041
1234
|
declare module 'preact' {
|
|
1042
|
-
interface BaseProps {
|
|
1043
|
-
children?: preact.ComponentChildren;
|
|
1044
|
-
}
|
|
1045
|
-
|
|
1046
1235
|
namespace createElement.JSX {
|
|
1047
1236
|
interface IntrinsicElements {
|
|
1048
|
-
[OptionGrouptagName]: OptionGroupJSXProps &
|
|
1237
|
+
[OptionGrouptagName]: OptionGroupJSXProps &
|
|
1238
|
+
OptionGroupPreactBaseElementPropsWithChildren<OptionGroup>;
|
|
1049
1239
|
}
|
|
1050
1240
|
}
|
|
1051
1241
|
}
|
|
@@ -1059,6 +1249,19 @@ declare global {
|
|
|
1059
1249
|
export interface OptionGroupJSXProps extends Partial<OptionGroupProps> {
|
|
1060
1250
|
}
|
|
1061
1251
|
|
|
1252
|
+
export interface OptionGroupPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends OptionGroupPreactBaseElementProps<TClass> {
|
|
1253
|
+
children?: preact.ComponentChildren;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
export interface OptionGroupPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1257
|
+
/** Assigns a unique key to this element. */
|
|
1258
|
+
key?: preact.Key;
|
|
1259
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1260
|
+
ref?: preact.Ref<TClass>;
|
|
1261
|
+
/** Assigns this element to a parent's slot. */
|
|
1262
|
+
slot?: Lowercase<string>;
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1062
1265
|
export interface OptionGroupClickOptions {
|
|
1063
1266
|
/**
|
|
1064
1267
|
* The event you want to influence the synthetic click.
|
|
@@ -1080,13 +1283,9 @@ declare const OptionGrouptagName = 's-option-group';
|
|
|
1080
1283
|
declare const OptionGroupBaseClass: typeof globalThis.HTMLElement;
|
|
1081
1284
|
|
|
1082
1285
|
declare module 'preact' {
|
|
1083
|
-
interface BaseProps {
|
|
1084
|
-
children?: preact.ComponentChildren;
|
|
1085
|
-
}
|
|
1086
|
-
|
|
1087
1286
|
namespace createElement.JSX {
|
|
1088
1287
|
interface IntrinsicElements {
|
|
1089
|
-
[OptiontagName]: OptionJSXProps &
|
|
1288
|
+
[OptiontagName]: OptionJSXProps & OptionPreactBaseElementPropsWithChildren<Option>;
|
|
1090
1289
|
}
|
|
1091
1290
|
}
|
|
1092
1291
|
}
|
|
@@ -1100,6 +1299,19 @@ declare global {
|
|
|
1100
1299
|
export interface OptionJSXProps extends Partial<OptionProps> {
|
|
1101
1300
|
}
|
|
1102
1301
|
|
|
1302
|
+
export interface OptionPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends OptionPreactBaseElementProps<TClass> {
|
|
1303
|
+
children?: preact.ComponentChildren;
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
export interface OptionPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1307
|
+
/** Assigns a unique key to this element. */
|
|
1308
|
+
key?: preact.Key;
|
|
1309
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1310
|
+
ref?: preact.Ref<TClass>;
|
|
1311
|
+
/** Assigns this element to a parent's slot. */
|
|
1312
|
+
slot?: Lowercase<string>;
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1103
1315
|
export interface OptionClickOptions {
|
|
1104
1316
|
/**
|
|
1105
1317
|
* The event you want to influence the synthetic click.
|
|
@@ -1123,13 +1335,9 @@ declare const OptiontagName = 's-option';
|
|
|
1123
1335
|
declare const OptionBaseClass: typeof globalThis.HTMLElement;
|
|
1124
1336
|
|
|
1125
1337
|
declare module 'preact' {
|
|
1126
|
-
interface BaseProps {
|
|
1127
|
-
slot?: Lowercase<string>;
|
|
1128
|
-
}
|
|
1129
|
-
|
|
1130
1338
|
namespace createElement.JSX {
|
|
1131
1339
|
interface IntrinsicElements {
|
|
1132
|
-
[NumberFieldtagName]: NumberFieldJSXProps &
|
|
1340
|
+
[NumberFieldtagName]: NumberFieldJSXProps & NumberFieldPreactBaseElementProps<NumberField>;
|
|
1133
1341
|
}
|
|
1134
1342
|
}
|
|
1135
1343
|
}
|
|
@@ -1155,6 +1363,15 @@ export interface NumberFieldProps extends Omit<
|
|
|
1155
1363
|
value: Required<NumberFieldProps$1>['value'];
|
|
1156
1364
|
}
|
|
1157
1365
|
|
|
1366
|
+
export interface NumberFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1367
|
+
/** Assigns a unique key to this element. */
|
|
1368
|
+
key?: preact.Key;
|
|
1369
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1370
|
+
ref?: preact.Ref<TClass>;
|
|
1371
|
+
/** Assigns this element to a parent's slot. */
|
|
1372
|
+
slot?: Lowercase<string>;
|
|
1373
|
+
}
|
|
1374
|
+
|
|
1158
1375
|
export interface NumberFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
1159
1376
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
1160
1377
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -1181,14 +1398,9 @@ declare const NumberFieldinternals: unique symbol;
|
|
|
1181
1398
|
declare const NumberFieldBaseClass: typeof globalThis.HTMLElement;
|
|
1182
1399
|
|
|
1183
1400
|
declare module 'preact' {
|
|
1184
|
-
interface BaseProps {
|
|
1185
|
-
children?: preact.ComponentChildren;
|
|
1186
|
-
slot?: Lowercase<string>;
|
|
1187
|
-
}
|
|
1188
|
-
|
|
1189
1401
|
namespace createElement.JSX {
|
|
1190
1402
|
interface IntrinsicElements {
|
|
1191
|
-
[MoneyFieldtagName]: MoneyFieldJSXProps &
|
|
1403
|
+
[MoneyFieldtagName]: MoneyFieldJSXProps & MoneyFieldPreactBaseElementProps<MoneyField>;
|
|
1192
1404
|
}
|
|
1193
1405
|
}
|
|
1194
1406
|
}
|
|
@@ -1206,6 +1418,15 @@ export interface MoneyFieldProps extends Omit<PreactFieldProps, 'value'>, Pick<R
|
|
|
1206
1418
|
value: Required<MoneyFieldProps$1>['value'];
|
|
1207
1419
|
}
|
|
1208
1420
|
|
|
1421
|
+
export interface MoneyFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1422
|
+
/** Assigns a unique key to this element. */
|
|
1423
|
+
key?: preact.Key;
|
|
1424
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1425
|
+
ref?: preact.Ref<TClass>;
|
|
1426
|
+
/** Assigns this element to a parent's slot. */
|
|
1427
|
+
slot?: Lowercase<string>;
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1209
1430
|
export interface MoneyFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
1210
1431
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
1211
1432
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -1232,14 +1453,10 @@ declare const MoneyFieldinternals: unique symbol;
|
|
|
1232
1453
|
declare const MoneyFieldBaseClass: typeof globalThis.HTMLElement;
|
|
1233
1454
|
|
|
1234
1455
|
declare module 'preact' {
|
|
1235
|
-
interface BaseProps {
|
|
1236
|
-
children?: preact.ComponentChildren;
|
|
1237
|
-
slot?: Lowercase<string>;
|
|
1238
|
-
}
|
|
1239
|
-
|
|
1240
1456
|
namespace createElement.JSX {
|
|
1241
1457
|
interface IntrinsicElements {
|
|
1242
|
-
[ListItemtagName]: ListItemJSXProps &
|
|
1458
|
+
[ListItemtagName]: ListItemJSXProps &
|
|
1459
|
+
ListItemPreactBaseElementPropsWithChildren<ListItem>;
|
|
1243
1460
|
}
|
|
1244
1461
|
}
|
|
1245
1462
|
}
|
|
@@ -1253,6 +1470,19 @@ declare global {
|
|
|
1253
1470
|
export interface ListItemJSXProps extends Partial<ListItemProps>, Pick<ListItemProps$1, 'id'> {
|
|
1254
1471
|
}
|
|
1255
1472
|
|
|
1473
|
+
export interface ListItemPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ListItemPreactBaseElementProps<TClass> {
|
|
1474
|
+
children?: preact.ComponentChildren;
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
export interface ListItemPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1478
|
+
/** Assigns a unique key to this element. */
|
|
1479
|
+
key?: preact.Key;
|
|
1480
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1481
|
+
ref?: preact.Ref<TClass>;
|
|
1482
|
+
/** Assigns this element to a parent's slot. */
|
|
1483
|
+
slot?: Lowercase<string>;
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1256
1486
|
export interface ListItemClickOptions {
|
|
1257
1487
|
/**
|
|
1258
1488
|
* The event you want to influence the synthetic click.
|
|
@@ -1274,14 +1504,9 @@ declare const ListItemtagName = 's-list-item';
|
|
|
1274
1504
|
declare const ListItemBaseClass: typeof globalThis.HTMLElement;
|
|
1275
1505
|
|
|
1276
1506
|
declare module 'preact' {
|
|
1277
|
-
interface BaseProps {
|
|
1278
|
-
children?: preact.ComponentChildren;
|
|
1279
|
-
slot?: Lowercase<string>;
|
|
1280
|
-
}
|
|
1281
|
-
|
|
1282
1507
|
namespace createElement.JSX {
|
|
1283
1508
|
interface IntrinsicElements {
|
|
1284
|
-
[LinktagName]: LinkJSXProps &
|
|
1509
|
+
[LinktagName]: LinkJSXProps & LinkPreactBaseElementPropsWithChildren<Link>;
|
|
1285
1510
|
}
|
|
1286
1511
|
}
|
|
1287
1512
|
}
|
|
@@ -1331,6 +1556,19 @@ export interface LinkActivationEventEsque {
|
|
|
1331
1556
|
button: number;
|
|
1332
1557
|
}
|
|
1333
1558
|
|
|
1559
|
+
export interface LinkPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends LinkPreactBaseElementProps<TClass> {
|
|
1560
|
+
children?: preact.ComponentChildren;
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
export interface LinkPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1564
|
+
/** Assigns a unique key to this element. */
|
|
1565
|
+
key?: preact.Key;
|
|
1566
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1567
|
+
ref?: preact.Ref<TClass>;
|
|
1568
|
+
/** Assigns this element to a parent's slot. */
|
|
1569
|
+
slot?: Lowercase<string>;
|
|
1570
|
+
}
|
|
1571
|
+
|
|
1334
1572
|
export interface LinkProps extends Pick<
|
|
1335
1573
|
LinkProps$1,
|
|
1336
1574
|
| 'accessibilityLabel'
|
|
@@ -1360,13 +1598,9 @@ declare const Link_base: (abstract new (
|
|
|
1360
1598
|
declare const LinkBaseClass: typeof globalThis.HTMLElement;
|
|
1361
1599
|
|
|
1362
1600
|
declare module 'preact' {
|
|
1363
|
-
interface BaseProps {
|
|
1364
|
-
slot?: Lowercase<string>;
|
|
1365
|
-
}
|
|
1366
|
-
|
|
1367
1601
|
namespace createElement.JSX {
|
|
1368
1602
|
interface IntrinsicElements {
|
|
1369
|
-
[ImagetagName]: ImageJSXProps &
|
|
1603
|
+
[ImagetagName]: ImageJSXProps & ImagePreactBaseElementProps<Image>;
|
|
1370
1604
|
}
|
|
1371
1605
|
}
|
|
1372
1606
|
}
|
|
@@ -1396,6 +1630,15 @@ export interface ImageActivationEventEsque {
|
|
|
1396
1630
|
button: number;
|
|
1397
1631
|
}
|
|
1398
1632
|
|
|
1633
|
+
export interface ImagePreactBaseElementProps<TClass extends HTMLElement> {
|
|
1634
|
+
/** Assigns a unique key to this element. */
|
|
1635
|
+
key?: preact.Key;
|
|
1636
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1637
|
+
ref?: preact.Ref<TClass>;
|
|
1638
|
+
/** Assigns this element to a parent's slot. */
|
|
1639
|
+
slot?: Lowercase<string>;
|
|
1640
|
+
}
|
|
1641
|
+
|
|
1399
1642
|
export interface ImageProps extends Required<
|
|
1400
1643
|
Pick<
|
|
1401
1644
|
ImageProps$1,
|
|
@@ -1438,7 +1681,6 @@ export interface ImageBoxProps extends Pick<
|
|
|
1438
1681
|
| 'borderRadius'
|
|
1439
1682
|
| 'borderStyle'
|
|
1440
1683
|
| 'borderWidth'
|
|
1441
|
-
| 'display'
|
|
1442
1684
|
| 'inlineSize'
|
|
1443
1685
|
| 'maxBlockSize'
|
|
1444
1686
|
| 'maxInlineSize'
|
|
@@ -1561,19 +1803,25 @@ export interface ImageBoxProps extends Pick<
|
|
|
1561
1803
|
* @default '' - meaning no override
|
|
1562
1804
|
*/
|
|
1563
1805
|
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
1806
|
+
/**
|
|
1807
|
+
* Sets the outer display type of the component. The outer type sets a component's participation in [flow layout](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_flow_layout).
|
|
1808
|
+
*
|
|
1809
|
+
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
1810
|
+
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
1811
|
+
*
|
|
1812
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
1813
|
+
* @default 'auto'
|
|
1814
|
+
*/
|
|
1815
|
+
display: ResponsiveBoxProps['display'];
|
|
1564
1816
|
}
|
|
1565
1817
|
|
|
1566
1818
|
declare const ImagetagName = 's-image';
|
|
1567
1819
|
declare const ImageBaseClass: typeof globalThis.HTMLElement;
|
|
1568
1820
|
|
|
1569
1821
|
declare module 'preact' {
|
|
1570
|
-
interface BaseProps {
|
|
1571
|
-
slot?: Lowercase<string>;
|
|
1572
|
-
}
|
|
1573
|
-
|
|
1574
1822
|
namespace createElement.JSX {
|
|
1575
1823
|
interface IntrinsicElements {
|
|
1576
|
-
[IcontagName]: IconJSXProps &
|
|
1824
|
+
[IcontagName]: IconJSXProps & IconPreactBaseElementProps<Icon>;
|
|
1577
1825
|
}
|
|
1578
1826
|
}
|
|
1579
1827
|
}
|
|
@@ -1587,6 +1835,15 @@ declare global {
|
|
|
1587
1835
|
export interface IconJSXProps extends Partial<IconIconProps>, Pick<IconProps$1, 'id'> {
|
|
1588
1836
|
}
|
|
1589
1837
|
|
|
1838
|
+
export interface IconPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1839
|
+
/** Assigns a unique key to this element. */
|
|
1840
|
+
key?: preact.Key;
|
|
1841
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1842
|
+
ref?: preact.Ref<TClass>;
|
|
1843
|
+
/** Assigns this element to a parent's slot. */
|
|
1844
|
+
slot?: Lowercase<string>;
|
|
1845
|
+
}
|
|
1846
|
+
|
|
1590
1847
|
export interface IconClickOptions {
|
|
1591
1848
|
/**
|
|
1592
1849
|
* The event you want to influence the synthetic click.
|
|
@@ -1618,14 +1875,9 @@ declare const IcontagName = 's-icon';
|
|
|
1618
1875
|
declare const IconBaseClass: typeof globalThis.HTMLElement;
|
|
1619
1876
|
|
|
1620
1877
|
declare module 'preact' {
|
|
1621
|
-
interface BaseProps {
|
|
1622
|
-
children?: preact.ComponentChildren;
|
|
1623
|
-
slot?: Lowercase<string>;
|
|
1624
|
-
}
|
|
1625
|
-
|
|
1626
1878
|
namespace createElement.JSX {
|
|
1627
1879
|
interface IntrinsicElements {
|
|
1628
|
-
[HeadingtagName]: HeadingJSXProps &
|
|
1880
|
+
[HeadingtagName]: HeadingJSXProps & HeadingPreactBaseElementPropsWithChildren<Heading>;
|
|
1629
1881
|
}
|
|
1630
1882
|
}
|
|
1631
1883
|
}
|
|
@@ -1639,6 +1891,19 @@ declare global {
|
|
|
1639
1891
|
export interface HeadingJSXProps extends Partial<HeadingProps>, Pick<HeadingProps$1, 'id'> {
|
|
1640
1892
|
}
|
|
1641
1893
|
|
|
1894
|
+
export interface HeadingPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends HeadingPreactBaseElementProps<TClass> {
|
|
1895
|
+
children?: preact.ComponentChildren;
|
|
1896
|
+
}
|
|
1897
|
+
|
|
1898
|
+
export interface HeadingPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1899
|
+
/** Assigns a unique key to this element. */
|
|
1900
|
+
key?: preact.Key;
|
|
1901
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1902
|
+
ref?: preact.Ref<TClass>;
|
|
1903
|
+
/** Assigns this element to a parent's slot. */
|
|
1904
|
+
slot?: Lowercase<string>;
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1642
1907
|
export interface HeadingClickOptions {
|
|
1643
1908
|
/**
|
|
1644
1909
|
* The event you want to influence the synthetic click.
|
|
@@ -1666,14 +1931,10 @@ declare const HeadingtagName = 's-heading';
|
|
|
1666
1931
|
declare const HeadingBaseClass: typeof globalThis.HTMLElement;
|
|
1667
1932
|
|
|
1668
1933
|
declare module 'preact' {
|
|
1669
|
-
interface BaseProps {
|
|
1670
|
-
children?: preact.ComponentChildren;
|
|
1671
|
-
slot?: Lowercase<string>;
|
|
1672
|
-
}
|
|
1673
|
-
|
|
1674
1934
|
namespace createElement.JSX {
|
|
1675
1935
|
interface IntrinsicElements {
|
|
1676
|
-
[GridItemtagName]: GridItemJSXProps &
|
|
1936
|
+
[GridItemtagName]: GridItemJSXProps &
|
|
1937
|
+
GridItemPreactBaseElementPropsWithChildren<GridItem>;
|
|
1677
1938
|
}
|
|
1678
1939
|
}
|
|
1679
1940
|
}
|
|
@@ -1687,6 +1948,19 @@ declare global {
|
|
|
1687
1948
|
export interface GridItemJSXProps extends Partial<GridItemProps>, Pick<GridItemProps$1, 'id'> {
|
|
1688
1949
|
}
|
|
1689
1950
|
|
|
1951
|
+
export interface GridItemPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends GridItemPreactBaseElementProps<TClass> {
|
|
1952
|
+
children?: preact.ComponentChildren;
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
export interface GridItemPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1956
|
+
/** Assigns a unique key to this element. */
|
|
1957
|
+
key?: preact.Key;
|
|
1958
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1959
|
+
ref?: preact.Ref<TClass>;
|
|
1960
|
+
/** Assigns this element to a parent's slot. */
|
|
1961
|
+
slot?: Lowercase<string>;
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1690
1964
|
export interface GridItemClickOptions {
|
|
1691
1965
|
/**
|
|
1692
1966
|
* The event you want to influence the synthetic click.
|
|
@@ -1718,7 +1992,6 @@ export interface GridItemBoxProps extends Pick<
|
|
|
1718
1992
|
| 'borderRadius'
|
|
1719
1993
|
| 'borderStyle'
|
|
1720
1994
|
| 'borderWidth'
|
|
1721
|
-
| 'display'
|
|
1722
1995
|
| 'inlineSize'
|
|
1723
1996
|
| 'maxBlockSize'
|
|
1724
1997
|
| 'maxInlineSize'
|
|
@@ -1841,20 +2114,25 @@ export interface GridItemBoxProps extends Pick<
|
|
|
1841
2114
|
* @default '' - meaning no override
|
|
1842
2115
|
*/
|
|
1843
2116
|
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
2117
|
+
/**
|
|
2118
|
+
* Sets the outer display type of the component. The outer type sets a component's participation in [flow layout](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_flow_layout).
|
|
2119
|
+
*
|
|
2120
|
+
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
2121
|
+
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
2122
|
+
*
|
|
2123
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
2124
|
+
* @default 'auto'
|
|
2125
|
+
*/
|
|
2126
|
+
display: ResponsiveBoxProps['display'];
|
|
1844
2127
|
}
|
|
1845
2128
|
|
|
1846
2129
|
declare const GridItemtagName = 's-grid-item';
|
|
1847
2130
|
declare const GridItemBaseClass: typeof globalThis.HTMLElement;
|
|
1848
2131
|
|
|
1849
2132
|
declare module 'preact' {
|
|
1850
|
-
interface BaseProps {
|
|
1851
|
-
children?: preact.ComponentChildren;
|
|
1852
|
-
slot?: Lowercase<string>;
|
|
1853
|
-
}
|
|
1854
|
-
|
|
1855
2133
|
namespace createElement.JSX {
|
|
1856
2134
|
interface IntrinsicElements {
|
|
1857
|
-
[GridtagName]: GridJSXProps &
|
|
2135
|
+
[GridtagName]: GridJSXProps & GridPreactBaseElementPropsWithChildren<Grid>;
|
|
1858
2136
|
}
|
|
1859
2137
|
}
|
|
1860
2138
|
}
|
|
@@ -1882,6 +2160,19 @@ export interface GridActivationEventEsque {
|
|
|
1882
2160
|
button: number;
|
|
1883
2161
|
}
|
|
1884
2162
|
|
|
2163
|
+
export interface GridPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends GridPreactBaseElementProps<TClass> {
|
|
2164
|
+
children?: preact.ComponentChildren;
|
|
2165
|
+
}
|
|
2166
|
+
|
|
2167
|
+
export interface GridPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2168
|
+
/** Assigns a unique key to this element. */
|
|
2169
|
+
key?: preact.Key;
|
|
2170
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2171
|
+
ref?: preact.Ref<TClass>;
|
|
2172
|
+
/** Assigns this element to a parent's slot. */
|
|
2173
|
+
slot?: Lowercase<string>;
|
|
2174
|
+
}
|
|
2175
|
+
|
|
1885
2176
|
export interface GridProps extends GridBoxProps, Required<
|
|
1886
2177
|
Pick<
|
|
1887
2178
|
GridProps$1,
|
|
@@ -1942,7 +2233,6 @@ export interface GridBoxProps extends Pick<
|
|
|
1942
2233
|
| 'borderRadius'
|
|
1943
2234
|
| 'borderStyle'
|
|
1944
2235
|
| 'borderWidth'
|
|
1945
|
-
| 'display'
|
|
1946
2236
|
| 'inlineSize'
|
|
1947
2237
|
| 'maxBlockSize'
|
|
1948
2238
|
| 'maxInlineSize'
|
|
@@ -2065,19 +2355,25 @@ export interface GridBoxProps extends Pick<
|
|
|
2065
2355
|
* @default '' - meaning no override
|
|
2066
2356
|
*/
|
|
2067
2357
|
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
2358
|
+
/**
|
|
2359
|
+
* Sets the outer display type of the component. The outer type sets a component's participation in [flow layout](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_flow_layout).
|
|
2360
|
+
*
|
|
2361
|
+
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
2362
|
+
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
2363
|
+
*
|
|
2364
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
2365
|
+
* @default 'auto'
|
|
2366
|
+
*/
|
|
2367
|
+
display: ResponsiveBoxProps['display'];
|
|
2068
2368
|
}
|
|
2069
2369
|
|
|
2070
2370
|
declare const GridtagName = 's-grid';
|
|
2071
2371
|
declare const GridBaseClass: typeof globalThis.HTMLElement;
|
|
2072
2372
|
|
|
2073
2373
|
declare module 'preact' {
|
|
2074
|
-
interface BaseProps {
|
|
2075
|
-
slot?: Lowercase<string>;
|
|
2076
|
-
}
|
|
2077
|
-
|
|
2078
2374
|
namespace createElement.JSX {
|
|
2079
2375
|
interface IntrinsicElements {
|
|
2080
|
-
[EmailFieldtagName]: EmailFieldJSXProps &
|
|
2376
|
+
[EmailFieldtagName]: EmailFieldJSXProps & EmailFieldPreactBaseElementProps<EmailField>;
|
|
2081
2377
|
}
|
|
2082
2378
|
}
|
|
2083
2379
|
}
|
|
@@ -2091,6 +2387,15 @@ declare global {
|
|
|
2091
2387
|
export interface EmailFieldJSXProps extends Partial<Omit<EmailFieldProps, 'accessory'>>, Pick<EmailFieldProps$1, 'id'>, FieldReactProps<typeof EmailFieldtagName> {
|
|
2092
2388
|
}
|
|
2093
2389
|
|
|
2390
|
+
export interface EmailFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2391
|
+
/** Assigns a unique key to this element. */
|
|
2392
|
+
key?: preact.Key;
|
|
2393
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2394
|
+
ref?: preact.Ref<TClass>;
|
|
2395
|
+
/** Assigns this element to a parent's slot. */
|
|
2396
|
+
slot?: Lowercase<string>;
|
|
2397
|
+
}
|
|
2398
|
+
|
|
2094
2399
|
export interface FieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
2095
2400
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
2096
2401
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -2117,13 +2422,9 @@ declare const EmailFieldinternals: unique symbol;
|
|
|
2117
2422
|
declare const EmailFieldBaseClass: typeof globalThis.HTMLElement;
|
|
2118
2423
|
|
|
2119
2424
|
declare module 'preact' {
|
|
2120
|
-
interface BaseProps {
|
|
2121
|
-
slot?: Lowercase<string>;
|
|
2122
|
-
}
|
|
2123
|
-
|
|
2124
2425
|
namespace createElement.JSX {
|
|
2125
2426
|
interface IntrinsicElements {
|
|
2126
|
-
[DividertagName]: DividerJSXProps &
|
|
2427
|
+
[DividertagName]: DividerJSXProps & DividerPreactBaseElementProps<Divider>;
|
|
2127
2428
|
}
|
|
2128
2429
|
}
|
|
2129
2430
|
}
|
|
@@ -2137,6 +2438,15 @@ declare global {
|
|
|
2137
2438
|
export interface DividerJSXProps extends Partial<DividerProps>, Pick<DividerProps$1, 'id'> {
|
|
2138
2439
|
}
|
|
2139
2440
|
|
|
2441
|
+
export interface DividerPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2442
|
+
/** Assigns a unique key to this element. */
|
|
2443
|
+
key?: preact.Key;
|
|
2444
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2445
|
+
ref?: preact.Ref<TClass>;
|
|
2446
|
+
/** Assigns this element to a parent's slot. */
|
|
2447
|
+
slot?: Lowercase<string>;
|
|
2448
|
+
}
|
|
2449
|
+
|
|
2140
2450
|
export interface DividerClickOptions {
|
|
2141
2451
|
/**
|
|
2142
2452
|
* The event you want to influence the synthetic click.
|
|
@@ -2160,13 +2470,9 @@ declare const DividertagName = 's-divider';
|
|
|
2160
2470
|
declare const DividerBaseClass: typeof globalThis.HTMLElement;
|
|
2161
2471
|
|
|
2162
2472
|
declare module 'preact' {
|
|
2163
|
-
interface BaseProps {
|
|
2164
|
-
slot?: Lowercase<string>;
|
|
2165
|
-
}
|
|
2166
|
-
|
|
2167
2473
|
namespace createElement.JSX {
|
|
2168
2474
|
interface IntrinsicElements {
|
|
2169
|
-
[DatePickertagName]: DatePickerJSXProps &
|
|
2475
|
+
[DatePickertagName]: DatePickerJSXProps & DatePickerPreactBaseElementProps<DatePicker>;
|
|
2170
2476
|
}
|
|
2171
2477
|
}
|
|
2172
2478
|
}
|
|
@@ -2206,6 +2512,15 @@ export interface DatePickerActivationEventEsque {
|
|
|
2206
2512
|
button: number;
|
|
2207
2513
|
}
|
|
2208
2514
|
|
|
2515
|
+
export interface DatePickerPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2516
|
+
/** Assigns a unique key to this element. */
|
|
2517
|
+
key?: preact.Key;
|
|
2518
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2519
|
+
ref?: preact.Ref<TClass>;
|
|
2520
|
+
/** Assigns this element to a parent's slot. */
|
|
2521
|
+
slot?: Lowercase<string>;
|
|
2522
|
+
}
|
|
2523
|
+
|
|
2209
2524
|
export interface DatePickerProps extends Required<
|
|
2210
2525
|
Pick<
|
|
2211
2526
|
DatePickerProps$1,
|
|
@@ -2229,14 +2544,10 @@ declare const DatePickerinternals: unique symbol;
|
|
|
2229
2544
|
declare const DatePickerBaseClass$1: typeof globalThis.HTMLElement;
|
|
2230
2545
|
|
|
2231
2546
|
declare module 'preact' {
|
|
2232
|
-
interface BaseProps {
|
|
2233
|
-
children?: preact.ComponentChildren;
|
|
2234
|
-
slot?: Lowercase<string>;
|
|
2235
|
-
}
|
|
2236
|
-
|
|
2237
2547
|
namespace createElement.JSX {
|
|
2238
2548
|
interface IntrinsicElements {
|
|
2239
|
-
[ClickabletagName]: ClickableJSXProps &
|
|
2549
|
+
[ClickabletagName]: ClickableJSXProps &
|
|
2550
|
+
ClickablePreactBaseElementPropsWithChildren<Clickable>;
|
|
2240
2551
|
}
|
|
2241
2552
|
}
|
|
2242
2553
|
}
|
|
@@ -2288,6 +2599,19 @@ export interface ClickableActivationEventEsque {
|
|
|
2288
2599
|
button: number;
|
|
2289
2600
|
}
|
|
2290
2601
|
|
|
2602
|
+
export interface ClickablePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ClickablePreactBaseElementProps<TClass> {
|
|
2603
|
+
children?: preact.ComponentChildren;
|
|
2604
|
+
}
|
|
2605
|
+
|
|
2606
|
+
export interface ClickablePreactBaseElementProps<TClass extends HTMLElement> {
|
|
2607
|
+
/** Assigns a unique key to this element. */
|
|
2608
|
+
key?: preact.Key;
|
|
2609
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2610
|
+
ref?: preact.Ref<TClass>;
|
|
2611
|
+
/** Assigns this element to a parent's slot. */
|
|
2612
|
+
slot?: Lowercase<string>;
|
|
2613
|
+
}
|
|
2614
|
+
|
|
2291
2615
|
export interface ClickableProps extends Required<ClickableBoxProps>, ClickableBaseProps {
|
|
2292
2616
|
}
|
|
2293
2617
|
|
|
@@ -2303,7 +2627,6 @@ export interface ClickableBoxProps extends Pick<
|
|
|
2303
2627
|
| 'borderRadius'
|
|
2304
2628
|
| 'borderStyle'
|
|
2305
2629
|
| 'borderWidth'
|
|
2306
|
-
| 'display'
|
|
2307
2630
|
| 'inlineSize'
|
|
2308
2631
|
| 'maxBlockSize'
|
|
2309
2632
|
| 'maxInlineSize'
|
|
@@ -2426,6 +2749,16 @@ export interface ClickableBoxProps extends Pick<
|
|
|
2426
2749
|
* @default '' - meaning no override
|
|
2427
2750
|
*/
|
|
2428
2751
|
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
2752
|
+
/**
|
|
2753
|
+
* Sets the outer display type of the component. The outer type sets a component's participation in [flow layout](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_flow_layout).
|
|
2754
|
+
*
|
|
2755
|
+
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
2756
|
+
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
2757
|
+
*
|
|
2758
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
2759
|
+
* @default 'auto'
|
|
2760
|
+
*/
|
|
2761
|
+
display: ResponsiveBoxProps['display'];
|
|
2429
2762
|
}
|
|
2430
2763
|
|
|
2431
2764
|
declare const ClickabletagName = 's-clickable';
|
|
@@ -2436,14 +2769,10 @@ declare const Clickable_base: (abstract new (
|
|
|
2436
2769
|
declare const ClickableBaseClass: typeof globalThis.HTMLElement;
|
|
2437
2770
|
|
|
2438
2771
|
declare module 'preact' {
|
|
2439
|
-
interface BaseProps {
|
|
2440
|
-
children?: preact.ComponentChildren;
|
|
2441
|
-
slot?: Lowercase<string>;
|
|
2442
|
-
}
|
|
2443
|
-
|
|
2444
2772
|
namespace createElement.JSX {
|
|
2445
2773
|
interface IntrinsicElements {
|
|
2446
|
-
[ChoiceListtagName]: ChoiceListJSXProps &
|
|
2774
|
+
[ChoiceListtagName]: ChoiceListJSXProps &
|
|
2775
|
+
ChoiceListPreactBaseElementPropsWithChildren<ChoiceList>;
|
|
2447
2776
|
}
|
|
2448
2777
|
}
|
|
2449
2778
|
}
|
|
@@ -2473,6 +2802,19 @@ export interface ChoiceListActivationEventEsque {
|
|
|
2473
2802
|
button: number;
|
|
2474
2803
|
}
|
|
2475
2804
|
|
|
2805
|
+
export interface ChoiceListPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ChoiceListPreactBaseElementProps<TClass> {
|
|
2806
|
+
children?: preact.ComponentChildren;
|
|
2807
|
+
}
|
|
2808
|
+
|
|
2809
|
+
export interface ChoiceListPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2810
|
+
/** Assigns a unique key to this element. */
|
|
2811
|
+
key?: preact.Key;
|
|
2812
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2813
|
+
ref?: preact.Ref<TClass>;
|
|
2814
|
+
/** Assigns this element to a parent's slot. */
|
|
2815
|
+
slot?: Lowercase<string>;
|
|
2816
|
+
}
|
|
2817
|
+
|
|
2476
2818
|
export interface ChoiceListProps extends Required<
|
|
2477
2819
|
Pick<
|
|
2478
2820
|
ChoiceListProps$1,
|
|
@@ -2500,7 +2842,7 @@ declare const BaseClass$1: typeof globalThis.HTMLElement;
|
|
|
2500
2842
|
declare module 'preact' {
|
|
2501
2843
|
namespace createElement.JSX {
|
|
2502
2844
|
interface IntrinsicElements {
|
|
2503
|
-
[ChoicetagName]: ChoiceJSXProps
|
|
2845
|
+
[ChoicetagName]: ChoiceJSXProps & ChoicePreactBaseElementPropsWithChildren<Choice>;
|
|
2504
2846
|
}
|
|
2505
2847
|
}
|
|
2506
2848
|
}
|
|
@@ -2514,6 +2856,19 @@ declare global {
|
|
|
2514
2856
|
export interface ChoiceJSXProps extends Partial<ChoiceProps>, Pick<ChoiceProps$1, 'id'> {
|
|
2515
2857
|
}
|
|
2516
2858
|
|
|
2859
|
+
export interface ChoicePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ChoicePreactBaseElementProps<TClass> {
|
|
2860
|
+
children?: preact.ComponentChildren;
|
|
2861
|
+
}
|
|
2862
|
+
|
|
2863
|
+
export interface ChoicePreactBaseElementProps<TClass extends HTMLElement> {
|
|
2864
|
+
/** Assigns a unique key to this element. */
|
|
2865
|
+
key?: preact.Key;
|
|
2866
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2867
|
+
ref?: preact.Ref<TClass>;
|
|
2868
|
+
/** Assigns this element to a parent's slot. */
|
|
2869
|
+
slot?: Lowercase<string>;
|
|
2870
|
+
}
|
|
2871
|
+
|
|
2517
2872
|
export interface ChoiceClickOptions {
|
|
2518
2873
|
/**
|
|
2519
2874
|
* The event you want to influence the synthetic click.
|
|
@@ -2548,7 +2903,8 @@ declare const ChoiceBaseClass: typeof globalThis.HTMLElement;
|
|
|
2548
2903
|
declare module 'preact' {
|
|
2549
2904
|
namespace createElement.JSX {
|
|
2550
2905
|
interface IntrinsicElements {
|
|
2551
|
-
[CheckboxtagName]: CheckboxJSXProps
|
|
2906
|
+
[CheckboxtagName]: CheckboxJSXProps &
|
|
2907
|
+
CheckboxPreactBaseElementPropsWithChildren<Checkbox>;
|
|
2552
2908
|
}
|
|
2553
2909
|
}
|
|
2554
2910
|
}
|
|
@@ -2586,6 +2942,19 @@ export interface PreactCheckboxProps extends Required<
|
|
|
2586
2942
|
value: Required<CheckboxProps$1>['value'];
|
|
2587
2943
|
}
|
|
2588
2944
|
|
|
2945
|
+
export interface CheckboxPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends CheckboxPreactBaseElementProps<TClass> {
|
|
2946
|
+
children?: preact.ComponentChildren;
|
|
2947
|
+
}
|
|
2948
|
+
|
|
2949
|
+
export interface CheckboxPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2950
|
+
/** Assigns a unique key to this element. */
|
|
2951
|
+
key?: preact.Key;
|
|
2952
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2953
|
+
ref?: preact.Ref<TClass>;
|
|
2954
|
+
/** Assigns this element to a parent's slot. */
|
|
2955
|
+
slot?: Lowercase<string>;
|
|
2956
|
+
}
|
|
2957
|
+
|
|
2589
2958
|
export interface CheckboxClickOptions {
|
|
2590
2959
|
/**
|
|
2591
2960
|
* The event you want to influence the synthetic click.
|
|
@@ -2605,14 +2974,9 @@ declare const internals: unique symbol;
|
|
|
2605
2974
|
declare const CheckboxBaseClass: typeof globalThis.HTMLElement;
|
|
2606
2975
|
|
|
2607
2976
|
declare module 'preact' {
|
|
2608
|
-
interface BaseProps {
|
|
2609
|
-
children?: preact.ComponentChildren;
|
|
2610
|
-
slot?: Lowercase<string>;
|
|
2611
|
-
}
|
|
2612
|
-
|
|
2613
2977
|
namespace createElement.JSX {
|
|
2614
2978
|
interface IntrinsicElements {
|
|
2615
|
-
[ButtontagName]: ButtonJSXProps &
|
|
2979
|
+
[ButtontagName]: ButtonJSXProps & ButtonPreactBaseElementPropsWithChildren<Button>;
|
|
2616
2980
|
}
|
|
2617
2981
|
}
|
|
2618
2982
|
}
|
|
@@ -2664,6 +3028,19 @@ export interface ButtonActivationEventEsque {
|
|
|
2664
3028
|
button: number;
|
|
2665
3029
|
}
|
|
2666
3030
|
|
|
3031
|
+
export interface ButtonPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ButtonPreactBaseElementProps<TClass> {
|
|
3032
|
+
children?: preact.ComponentChildren;
|
|
3033
|
+
}
|
|
3034
|
+
|
|
3035
|
+
export interface ButtonPreactBaseElementProps<TClass extends HTMLElement> {
|
|
3036
|
+
/** Assigns a unique key to this element. */
|
|
3037
|
+
key?: preact.Key;
|
|
3038
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
3039
|
+
ref?: preact.Ref<TClass>;
|
|
3040
|
+
/** Assigns this element to a parent's slot. */
|
|
3041
|
+
slot?: Lowercase<string>;
|
|
3042
|
+
}
|
|
3043
|
+
|
|
2667
3044
|
export interface ButtonProps extends ButtonBaseProps {
|
|
2668
3045
|
tone: Extract<ButtonProps$1['tone'], 'neutral' | 'critical' | 'auto'>;
|
|
2669
3046
|
icon: ButtonIconProps['type'];
|
|
@@ -2690,14 +3067,9 @@ declare const Button_base: (abstract new (
|
|
|
2690
3067
|
declare const ButtonBaseClass: typeof globalThis.HTMLElement;
|
|
2691
3068
|
|
|
2692
3069
|
declare module 'preact' {
|
|
2693
|
-
interface BaseProps {
|
|
2694
|
-
children?: preact.ComponentChildren;
|
|
2695
|
-
slot?: Lowercase<string>;
|
|
2696
|
-
}
|
|
2697
|
-
|
|
2698
3070
|
namespace createElement.JSX {
|
|
2699
3071
|
interface IntrinsicElements {
|
|
2700
|
-
[BoxtagName]: BoxJSXProps &
|
|
3072
|
+
[BoxtagName]: BoxJSXProps & BoxPreactBaseElementPropsWithChildren<Box>;
|
|
2701
3073
|
}
|
|
2702
3074
|
}
|
|
2703
3075
|
}
|
|
@@ -2711,6 +3083,19 @@ declare global {
|
|
|
2711
3083
|
export interface BoxJSXProps extends Partial<BoxProps>, Pick<BoxProps$1, 'id'> {
|
|
2712
3084
|
}
|
|
2713
3085
|
|
|
3086
|
+
export interface BoxPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends BoxPreactBaseElementProps<TClass> {
|
|
3087
|
+
children?: preact.ComponentChildren;
|
|
3088
|
+
}
|
|
3089
|
+
|
|
3090
|
+
export interface BoxPreactBaseElementProps<TClass extends HTMLElement> {
|
|
3091
|
+
/** Assigns a unique key to this element. */
|
|
3092
|
+
key?: preact.Key;
|
|
3093
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
3094
|
+
ref?: preact.Ref<TClass>;
|
|
3095
|
+
/** Assigns this element to a parent's slot. */
|
|
3096
|
+
slot?: Lowercase<string>;
|
|
3097
|
+
}
|
|
3098
|
+
|
|
2714
3099
|
export interface BoxClickOptions {
|
|
2715
3100
|
/**
|
|
2716
3101
|
* The event you want to influence the synthetic click.
|
|
@@ -2737,7 +3122,6 @@ export interface BoxProps extends Pick<
|
|
|
2737
3122
|
| 'borderRadius'
|
|
2738
3123
|
| 'borderStyle'
|
|
2739
3124
|
| 'borderWidth'
|
|
2740
|
-
| 'display'
|
|
2741
3125
|
| 'inlineSize'
|
|
2742
3126
|
| 'maxBlockSize'
|
|
2743
3127
|
| 'maxInlineSize'
|
|
@@ -2860,20 +3244,26 @@ export interface BoxProps extends Pick<
|
|
|
2860
3244
|
* @default '' - meaning no override
|
|
2861
3245
|
*/
|
|
2862
3246
|
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
3247
|
+
/**
|
|
3248
|
+
* Sets the outer display type of the component. The outer type sets a component's participation in [flow layout](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_flow_layout).
|
|
3249
|
+
*
|
|
3250
|
+
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
3251
|
+
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
3252
|
+
*
|
|
3253
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
3254
|
+
* @default 'auto'
|
|
3255
|
+
*/
|
|
3256
|
+
display: ResponsiveBoxProps['display'];
|
|
2863
3257
|
}
|
|
2864
3258
|
|
|
2865
3259
|
declare const BoxtagName = 's-box';
|
|
2866
3260
|
declare const BoxBaseClass: typeof globalThis.HTMLElement;
|
|
2867
3261
|
|
|
2868
3262
|
declare module 'preact' {
|
|
2869
|
-
interface BaseProps {
|
|
2870
|
-
children?: preact.ComponentChildren;
|
|
2871
|
-
slot?: Lowercase<string>;
|
|
2872
|
-
}
|
|
2873
|
-
|
|
2874
3263
|
namespace createElement.JSX {
|
|
2875
3264
|
interface IntrinsicElements {
|
|
2876
|
-
[BannertagName]: Omit<BannerJSXProps, 'secondaryActions'> &
|
|
3265
|
+
[BannertagName]: Omit<BannerJSXProps, 'secondaryActions'> &
|
|
3266
|
+
BannerPreactBaseElementPropsWithChildren<Banner>;
|
|
2877
3267
|
}
|
|
2878
3268
|
}
|
|
2879
3269
|
}
|
|
@@ -2909,6 +3299,19 @@ export interface BannerActivationEventEsque {
|
|
|
2909
3299
|
button: number;
|
|
2910
3300
|
}
|
|
2911
3301
|
|
|
3302
|
+
export interface BannerPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends BannerPreactBaseElementProps<TClass> {
|
|
3303
|
+
children?: preact.ComponentChildren;
|
|
3304
|
+
}
|
|
3305
|
+
|
|
3306
|
+
export interface BannerPreactBaseElementProps<TClass extends HTMLElement> {
|
|
3307
|
+
/** Assigns a unique key to this element. */
|
|
3308
|
+
key?: preact.Key;
|
|
3309
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
3310
|
+
ref?: preact.Ref<TClass>;
|
|
3311
|
+
/** Assigns this element to a parent's slot. */
|
|
3312
|
+
slot?: Lowercase<string>;
|
|
3313
|
+
}
|
|
3314
|
+
|
|
2912
3315
|
export interface BannerProps extends Pick<
|
|
2913
3316
|
RequiredBannerProps,
|
|
2914
3317
|
'heading' | 'dismissible' | 'hidden' | 'tone'
|
|
@@ -2923,14 +3326,9 @@ declare const BannertagName = 's-banner';
|
|
|
2923
3326
|
declare const BannerBaseClass: typeof globalThis.HTMLElement;
|
|
2924
3327
|
|
|
2925
3328
|
declare module 'preact' {
|
|
2926
|
-
interface BaseProps {
|
|
2927
|
-
children?: preact.ComponentChildren;
|
|
2928
|
-
slot?: Lowercase<string>;
|
|
2929
|
-
}
|
|
2930
|
-
|
|
2931
3329
|
namespace createElement.JSX {
|
|
2932
3330
|
interface IntrinsicElements {
|
|
2933
|
-
[tagName]: BadgeJSXProps &
|
|
3331
|
+
[tagName]: BadgeJSXProps & PreactBaseElementPropsWithChildren<Badge>;
|
|
2934
3332
|
}
|
|
2935
3333
|
}
|
|
2936
3334
|
}
|
|
@@ -2944,6 +3342,19 @@ declare global {
|
|
|
2944
3342
|
export interface BadgeJSXProps extends Partial<BadgeProps>, Pick<BadgeProps$1, 'id'> {
|
|
2945
3343
|
}
|
|
2946
3344
|
|
|
3345
|
+
export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends PreactBaseElementProps<TClass> {
|
|
3346
|
+
children?: preact.ComponentChildren;
|
|
3347
|
+
}
|
|
3348
|
+
|
|
3349
|
+
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
3350
|
+
/** Assigns a unique key to this element. */
|
|
3351
|
+
key?: preact.Key;
|
|
3352
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
3353
|
+
ref?: preact.Ref<TClass>;
|
|
3354
|
+
/** Assigns this element to a parent's slot. */
|
|
3355
|
+
slot?: Lowercase<string>;
|
|
3356
|
+
}
|
|
3357
|
+
|
|
2947
3358
|
export interface ClickOptions {
|
|
2948
3359
|
/**
|
|
2949
3360
|
* The event you want to influence the synthetic click.
|
|
@@ -3012,9 +3423,10 @@ import { OptionGroup } from "../../../../../src/surfaces/admin/components/Option
|
|
|
3012
3423
|
import { OrderedList } from "../../../../../src/surfaces/admin/components/OrderedList";
|
|
3013
3424
|
import { Paragraph } from "../../../../../src/surfaces/admin/components/Paragraph";
|
|
3014
3425
|
import { PasswordField, PasswordFieldProps } from "../../../../../src/surfaces/admin/components/PasswordField";
|
|
3426
|
+
import { QueryContainer } from "../../../../../src/surfaces/admin/components/QueryContainer";
|
|
3015
3427
|
import { RequiredSectionProps, Section } from "../../../../../src/surfaces/admin/components/Section";
|
|
3016
3428
|
import { Select } from "../../../../../src/surfaces/admin/components/Select";
|
|
3017
|
-
import { BadgeProps$1, BannerProps$1, BoxProps$1, ButtonProps$1, CheckboxProps$1, ChoiceListProps$1, ChoiceProps$1, ClickableProps$1, ComponentChild, DatePickerProps$1, DividerProps$1, EmailFieldProps$1, GridItemProps$1, GridProps$1, HeadingProps$1, IconProps$1, IconType, ImageProps$1, InteractionProps, LinkProps$1, ListItemProps$1, MaybeAllValuesShorthandProperty, MoneyFieldProps$1, NumberFieldProps$1, OptionGroupProps$1, OptionProps$1, OrderedListProps$1, ParagraphProps$1, PasswordFieldProps$1, SectionProps$1, SelectProps$1, SpinnerProps$1, StackProps$1, TableBodyProps$1, TableCellProps$1, TableHeaderProps$1, TableHeaderRowProps$1, TableProps$1, TableRowProps$1, TextAreaProps$1, TextFieldProps$1, TextProps$1, URLFieldProps$1, UnorderedListProps$1 } from "../../../../../src/surfaces/admin/components/shared";
|
|
3429
|
+
import { BadgeProps$1, BannerProps$1, BoxProps$1, ButtonProps$1, CheckboxProps$1, ChoiceListProps$1, ChoiceProps$1, ClickableProps$1, ComponentChild, DatePickerProps$1, DividerProps$1, EmailFieldProps$1, GridItemProps$1, GridProps$1, HeadingProps$1, IconProps$1, IconType, ImageProps$1, InteractionProps, LinkProps$1, ListItemProps$1, MaybeAllValuesShorthandProperty, MoneyFieldProps$1, NumberFieldProps$1, OptionGroupProps$1, OptionProps$1, OrderedListProps$1, ParagraphProps$1, PasswordFieldProps$1, QueryContainerProps$1, SectionProps$1, SelectProps$1, SpinnerProps$1, StackProps$1, TableBodyProps$1, TableCellProps$1, TableHeaderProps$1, TableHeaderRowProps$1, TableProps$1, TableRowProps$1, TextAreaProps$1, TextFieldProps$1, TextProps$1, URLFieldProps$1, UnorderedListProps$1 } from "../../../../../src/surfaces/admin/components/shared";
|
|
3018
3430
|
import { Spinner } from "../../../../../src/surfaces/admin/components/Spinner";
|
|
3019
3431
|
import { AlignedStackProps, ResponsiveStackProps, Stack } from "../../../../../src/surfaces/admin/components/Stack";
|
|
3020
3432
|
import { Table } from "../../../../../src/surfaces/admin/components/Table";
|