@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
package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts
CHANGED
|
@@ -90,13 +90,9 @@ declare const AdminBlockBaseClass: typeof globalThis.HTMLElement;
|
|
|
90
90
|
declare const AdminBlocktagName = 's-admin-block';
|
|
91
91
|
|
|
92
92
|
declare module 'preact' {
|
|
93
|
-
interface BaseProps {
|
|
94
|
-
slot?: Lowercase<string>;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
93
|
namespace createElement.JSX {
|
|
98
94
|
interface IntrinsicElements {
|
|
99
|
-
[URLFieldtagName]: URLFieldJSXProps &
|
|
95
|
+
[URLFieldtagName]: URLFieldJSXProps & URLFieldPreactBaseElementProps<URLField>;
|
|
100
96
|
}
|
|
101
97
|
}
|
|
102
98
|
}
|
|
@@ -110,6 +106,15 @@ declare global {
|
|
|
110
106
|
export interface URLFieldJSXProps extends Partial<Omit<URLFieldProps, 'accessory'>>, Pick<URLFieldProps$1, 'id'>, URLFieldFieldReactProps<typeof URLFieldtagName> {
|
|
111
107
|
}
|
|
112
108
|
|
|
109
|
+
export interface URLFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
110
|
+
/** Assigns a unique key to this element. */
|
|
111
|
+
key?: preact.Key;
|
|
112
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
113
|
+
ref?: preact.Ref<TClass>;
|
|
114
|
+
/** Assigns this element to a parent's slot. */
|
|
115
|
+
slot?: Lowercase<string>;
|
|
116
|
+
}
|
|
117
|
+
|
|
113
118
|
export interface URLFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
114
119
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
115
120
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -136,14 +141,10 @@ declare const URLFieldinternals: unique symbol;
|
|
|
136
141
|
declare const URLFieldBaseClass: typeof globalThis.HTMLElement;
|
|
137
142
|
|
|
138
143
|
declare module 'preact' {
|
|
139
|
-
interface BaseProps {
|
|
140
|
-
children?: preact.ComponentChildren;
|
|
141
|
-
slot?: Lowercase<string>;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
144
|
namespace createElement.JSX {
|
|
145
145
|
interface IntrinsicElements {
|
|
146
|
-
[UnorderedListtagName]: UnorderedListJSXProps &
|
|
146
|
+
[UnorderedListtagName]: UnorderedListJSXProps &
|
|
147
|
+
UnorderedListPreactBaseElementPropsWithChildren<UnorderedList>;
|
|
147
148
|
}
|
|
148
149
|
}
|
|
149
150
|
}
|
|
@@ -157,6 +158,19 @@ declare global {
|
|
|
157
158
|
export interface UnorderedListJSXProps extends Partial<UnorderedListProps>, Pick<UnorderedListProps$1, 'id'> {
|
|
158
159
|
}
|
|
159
160
|
|
|
161
|
+
export interface UnorderedListPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends UnorderedListPreactBaseElementProps<TClass> {
|
|
162
|
+
children?: preact.ComponentChildren;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export interface UnorderedListPreactBaseElementProps<TClass extends HTMLElement> {
|
|
166
|
+
/** Assigns a unique key to this element. */
|
|
167
|
+
key?: preact.Key;
|
|
168
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
169
|
+
ref?: preact.Ref<TClass>;
|
|
170
|
+
/** Assigns this element to a parent's slot. */
|
|
171
|
+
slot?: Lowercase<string>;
|
|
172
|
+
}
|
|
173
|
+
|
|
160
174
|
export interface UnorderedListClickOptions {
|
|
161
175
|
/**
|
|
162
176
|
* The event you want to influence the synthetic click.
|
|
@@ -178,13 +192,10 @@ declare const UnorderedListtagName = 's-unordered-list';
|
|
|
178
192
|
declare const UnorderedListBaseClass: typeof globalThis.HTMLElement;
|
|
179
193
|
|
|
180
194
|
declare module 'preact' {
|
|
181
|
-
interface BaseProps {
|
|
182
|
-
slot?: Lowercase<string>;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
195
|
namespace createElement.JSX {
|
|
186
196
|
interface IntrinsicElements {
|
|
187
|
-
[TextFieldtagName]: Omit<TextFieldJSXProps, 'accessory'> &
|
|
197
|
+
[TextFieldtagName]: Omit<TextFieldJSXProps, 'accessory'> &
|
|
198
|
+
TextFieldPreactBaseElementProps<TextField>;
|
|
188
199
|
}
|
|
189
200
|
}
|
|
190
201
|
}
|
|
@@ -202,6 +213,15 @@ export interface TextFieldJSXProps extends Partial<Omit<TextFieldProps, 'accesso
|
|
|
202
213
|
accessory?: ComponentChild;
|
|
203
214
|
}
|
|
204
215
|
|
|
216
|
+
export interface TextFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
217
|
+
/** Assigns a unique key to this element. */
|
|
218
|
+
key?: preact.Key;
|
|
219
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
220
|
+
ref?: preact.Ref<TClass>;
|
|
221
|
+
/** Assigns this element to a parent's slot. */
|
|
222
|
+
slot?: Lowercase<string>;
|
|
223
|
+
}
|
|
224
|
+
|
|
205
225
|
export interface TextFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
206
226
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
207
227
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -228,13 +248,9 @@ declare const TextFieldinternals: unique symbol;
|
|
|
228
248
|
declare const TextFieldBaseClass: typeof globalThis.HTMLElement;
|
|
229
249
|
|
|
230
250
|
declare module 'preact' {
|
|
231
|
-
interface BaseProps {
|
|
232
|
-
slot?: Lowercase<string>;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
251
|
namespace createElement.JSX {
|
|
236
252
|
interface IntrinsicElements {
|
|
237
|
-
[TextAreatagName]: TextAreaJSXProps &
|
|
253
|
+
[TextAreatagName]: TextAreaJSXProps & TextAreaPreactBaseElementProps<TextArea>;
|
|
238
254
|
}
|
|
239
255
|
}
|
|
240
256
|
}
|
|
@@ -248,6 +264,15 @@ declare global {
|
|
|
248
264
|
export interface TextAreaJSXProps extends Partial<TextAreaProps>, Pick<TextAreaProps$1, 'id'>, TextAreaFieldReactProps<typeof TextAreatagName> {
|
|
249
265
|
}
|
|
250
266
|
|
|
267
|
+
export interface TextAreaPreactBaseElementProps<TClass extends HTMLElement> {
|
|
268
|
+
/** Assigns a unique key to this element. */
|
|
269
|
+
key?: preact.Key;
|
|
270
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
271
|
+
ref?: preact.Ref<TClass>;
|
|
272
|
+
/** Assigns this element to a parent's slot. */
|
|
273
|
+
slot?: Lowercase<string>;
|
|
274
|
+
}
|
|
275
|
+
|
|
251
276
|
export interface TextAreaFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
252
277
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
253
278
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -274,14 +299,9 @@ declare const TextAreainternals: unique symbol;
|
|
|
274
299
|
declare const TextAreaBaseClass: typeof globalThis.HTMLElement;
|
|
275
300
|
|
|
276
301
|
declare module 'preact' {
|
|
277
|
-
interface BaseProps {
|
|
278
|
-
children?: preact.ComponentChildren;
|
|
279
|
-
slot?: Lowercase<string>;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
302
|
namespace createElement.JSX {
|
|
283
303
|
interface IntrinsicElements {
|
|
284
|
-
[TexttagName]: TextJSXProps &
|
|
304
|
+
[TexttagName]: TextJSXProps & TextPreactBaseElementPropsWithChildren<Text>;
|
|
285
305
|
}
|
|
286
306
|
}
|
|
287
307
|
}
|
|
@@ -295,6 +315,19 @@ declare global {
|
|
|
295
315
|
export interface TextJSXProps extends Partial<TextProps>, Pick<TextProps$1, 'id'> {
|
|
296
316
|
}
|
|
297
317
|
|
|
318
|
+
export interface TextPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TextPreactBaseElementProps<TClass> {
|
|
319
|
+
children?: preact.ComponentChildren;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
export interface TextPreactBaseElementProps<TClass extends HTMLElement> {
|
|
323
|
+
/** Assigns a unique key to this element. */
|
|
324
|
+
key?: preact.Key;
|
|
325
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
326
|
+
ref?: preact.Ref<TClass>;
|
|
327
|
+
/** Assigns this element to a parent's slot. */
|
|
328
|
+
slot?: Lowercase<string>;
|
|
329
|
+
}
|
|
330
|
+
|
|
298
331
|
export interface TextClickOptions {
|
|
299
332
|
/**
|
|
300
333
|
* The event you want to influence the synthetic click.
|
|
@@ -339,14 +372,10 @@ declare const TexttagName = 's-text';
|
|
|
339
372
|
declare const TextBaseClass: typeof globalThis.HTMLElement;
|
|
340
373
|
|
|
341
374
|
declare module 'preact' {
|
|
342
|
-
interface BaseProps {
|
|
343
|
-
children?: preact.ComponentChildren;
|
|
344
|
-
slot?: Lowercase<string>;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
375
|
namespace createElement.JSX {
|
|
348
376
|
interface IntrinsicElements {
|
|
349
|
-
[TableRowtagName]: TableRowJSXProps &
|
|
377
|
+
[TableRowtagName]: TableRowJSXProps &
|
|
378
|
+
TableRowPreactBaseElementPropsWithChildren<TableRow>;
|
|
350
379
|
}
|
|
351
380
|
}
|
|
352
381
|
}
|
|
@@ -360,6 +389,19 @@ declare global {
|
|
|
360
389
|
export interface TableRowJSXProps extends Partial<TableRowProps>, Pick<TableRowProps$1, 'id'> {
|
|
361
390
|
}
|
|
362
391
|
|
|
392
|
+
export interface TableRowPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableRowPreactBaseElementProps<TClass> {
|
|
393
|
+
children?: preact.ComponentChildren;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
export interface TableRowPreactBaseElementProps<TClass extends HTMLElement> {
|
|
397
|
+
/** Assigns a unique key to this element. */
|
|
398
|
+
key?: preact.Key;
|
|
399
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
400
|
+
ref?: preact.Ref<TClass>;
|
|
401
|
+
/** Assigns this element to a parent's slot. */
|
|
402
|
+
slot?: Lowercase<string>;
|
|
403
|
+
}
|
|
404
|
+
|
|
363
405
|
export interface TableRowClickOptions {
|
|
364
406
|
/**
|
|
365
407
|
* The event you want to influence the synthetic click.
|
|
@@ -381,14 +423,10 @@ declare const TableRowtagName = 's-table-row';
|
|
|
381
423
|
declare const TableRowBaseClass: typeof globalThis.HTMLElement;
|
|
382
424
|
|
|
383
425
|
declare module 'preact' {
|
|
384
|
-
interface BaseProps {
|
|
385
|
-
children?: preact.ComponentChildren;
|
|
386
|
-
slot?: Lowercase<string>;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
426
|
namespace createElement.JSX {
|
|
390
427
|
interface IntrinsicElements {
|
|
391
|
-
[TableHeaderRowtagName]: TableHeaderRowJSXProps &
|
|
428
|
+
[TableHeaderRowtagName]: TableHeaderRowJSXProps &
|
|
429
|
+
TableHeaderRowPreactBaseElementPropsWithChildren<TableHeaderRow>;
|
|
392
430
|
}
|
|
393
431
|
}
|
|
394
432
|
}
|
|
@@ -402,6 +440,19 @@ declare global {
|
|
|
402
440
|
export interface TableHeaderRowJSXProps extends Partial<TableHeaderRowProps>, Pick<TableHeaderRowProps$1, 'id'> {
|
|
403
441
|
}
|
|
404
442
|
|
|
443
|
+
export interface TableHeaderRowPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableHeaderRowPreactBaseElementProps<TClass> {
|
|
444
|
+
children?: preact.ComponentChildren;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
export interface TableHeaderRowPreactBaseElementProps<TClass extends HTMLElement> {
|
|
448
|
+
/** Assigns a unique key to this element. */
|
|
449
|
+
key?: preact.Key;
|
|
450
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
451
|
+
ref?: preact.Ref<TClass>;
|
|
452
|
+
/** Assigns this element to a parent's slot. */
|
|
453
|
+
slot?: Lowercase<string>;
|
|
454
|
+
}
|
|
455
|
+
|
|
405
456
|
export interface TableHeaderRowClickOptions {
|
|
406
457
|
/**
|
|
407
458
|
* The event you want to influence the synthetic click.
|
|
@@ -423,14 +474,10 @@ declare const TableHeaderRowtagName = 's-table-header-row';
|
|
|
423
474
|
declare const TableHeaderRowBaseClass: typeof globalThis.HTMLElement;
|
|
424
475
|
|
|
425
476
|
declare module 'preact' {
|
|
426
|
-
interface BaseProps {
|
|
427
|
-
children?: preact.ComponentChildren;
|
|
428
|
-
slot?: Lowercase<string>;
|
|
429
|
-
}
|
|
430
|
-
|
|
431
477
|
namespace createElement.JSX {
|
|
432
478
|
interface IntrinsicElements {
|
|
433
|
-
[TableHeadertagName]: TableHeaderJSXProps &
|
|
479
|
+
[TableHeadertagName]: TableHeaderJSXProps &
|
|
480
|
+
TableHeaderPreactBaseElementPropsWithChildren<TableHeader>;
|
|
434
481
|
}
|
|
435
482
|
}
|
|
436
483
|
}
|
|
@@ -444,6 +491,19 @@ declare global {
|
|
|
444
491
|
export interface TableHeaderJSXProps extends Partial<TableHeaderTableHeaderProps>, Pick<TableHeaderProps$1, 'id'> {
|
|
445
492
|
}
|
|
446
493
|
|
|
494
|
+
export interface TableHeaderPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableHeaderPreactBaseElementProps<TClass> {
|
|
495
|
+
children?: preact.ComponentChildren;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
export interface TableHeaderPreactBaseElementProps<TClass extends HTMLElement> {
|
|
499
|
+
/** Assigns a unique key to this element. */
|
|
500
|
+
key?: preact.Key;
|
|
501
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
502
|
+
ref?: preact.Ref<TClass>;
|
|
503
|
+
/** Assigns this element to a parent's slot. */
|
|
504
|
+
slot?: Lowercase<string>;
|
|
505
|
+
}
|
|
506
|
+
|
|
447
507
|
export interface TableHeaderClickOptions {
|
|
448
508
|
/**
|
|
449
509
|
* The event you want to influence the synthetic click.
|
|
@@ -469,14 +529,10 @@ declare const TableHeadertagName = 's-table-header';
|
|
|
469
529
|
declare const TableHeaderBaseClass: typeof globalThis.HTMLElement;
|
|
470
530
|
|
|
471
531
|
declare module 'preact' {
|
|
472
|
-
interface BaseProps {
|
|
473
|
-
children?: preact.ComponentChildren;
|
|
474
|
-
slot?: Lowercase<string>;
|
|
475
|
-
}
|
|
476
|
-
|
|
477
532
|
namespace createElement.JSX {
|
|
478
533
|
interface IntrinsicElements {
|
|
479
|
-
[TableCelltagName]: TableCellJSXProps &
|
|
534
|
+
[TableCelltagName]: TableCellJSXProps &
|
|
535
|
+
TableCellPreactBaseElementPropsWithChildren<TableCell>;
|
|
480
536
|
}
|
|
481
537
|
}
|
|
482
538
|
}
|
|
@@ -490,6 +546,19 @@ declare global {
|
|
|
490
546
|
export interface TableCellJSXProps extends Partial<TableCellProps>, Pick<TableCellProps$1, 'id'> {
|
|
491
547
|
}
|
|
492
548
|
|
|
549
|
+
export interface TableCellPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableCellPreactBaseElementProps<TClass> {
|
|
550
|
+
children?: preact.ComponentChildren;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
export interface TableCellPreactBaseElementProps<TClass extends HTMLElement> {
|
|
554
|
+
/** Assigns a unique key to this element. */
|
|
555
|
+
key?: preact.Key;
|
|
556
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
557
|
+
ref?: preact.Ref<TClass>;
|
|
558
|
+
/** Assigns this element to a parent's slot. */
|
|
559
|
+
slot?: Lowercase<string>;
|
|
560
|
+
}
|
|
561
|
+
|
|
493
562
|
export interface TableCellClickOptions {
|
|
494
563
|
/**
|
|
495
564
|
* The event you want to influence the synthetic click.
|
|
@@ -511,14 +580,10 @@ declare const TableCelltagName = 's-table-cell';
|
|
|
511
580
|
declare const TableCellBaseClass: typeof globalThis.HTMLElement;
|
|
512
581
|
|
|
513
582
|
declare module 'preact' {
|
|
514
|
-
interface BaseProps {
|
|
515
|
-
children?: preact.ComponentChildren;
|
|
516
|
-
slot?: Lowercase<string>;
|
|
517
|
-
}
|
|
518
|
-
|
|
519
583
|
namespace createElement.JSX {
|
|
520
584
|
interface IntrinsicElements {
|
|
521
|
-
[TableBodytagName]: TableBodyJSXProps &
|
|
585
|
+
[TableBodytagName]: TableBodyJSXProps &
|
|
586
|
+
TableBodyPreactBaseElementPropsWithChildren<TableBody>;
|
|
522
587
|
}
|
|
523
588
|
}
|
|
524
589
|
}
|
|
@@ -532,6 +597,19 @@ declare global {
|
|
|
532
597
|
export interface TableBodyJSXProps extends Partial<TableBodyProps>, Pick<TableBodyProps$1, 'id'> {
|
|
533
598
|
}
|
|
534
599
|
|
|
600
|
+
export interface TableBodyPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableBodyPreactBaseElementProps<TClass> {
|
|
601
|
+
children?: preact.ComponentChildren;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
export interface TableBodyPreactBaseElementProps<TClass extends HTMLElement> {
|
|
605
|
+
/** Assigns a unique key to this element. */
|
|
606
|
+
key?: preact.Key;
|
|
607
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
608
|
+
ref?: preact.Ref<TClass>;
|
|
609
|
+
/** Assigns this element to a parent's slot. */
|
|
610
|
+
slot?: Lowercase<string>;
|
|
611
|
+
}
|
|
612
|
+
|
|
535
613
|
export interface TableBodyClickOptions {
|
|
536
614
|
/**
|
|
537
615
|
* The event you want to influence the synthetic click.
|
|
@@ -553,14 +631,10 @@ declare const TableBodytagName = 's-table-body';
|
|
|
553
631
|
declare const TableBodyBaseClass: typeof globalThis.HTMLElement;
|
|
554
632
|
|
|
555
633
|
declare module 'preact' {
|
|
556
|
-
interface BaseProps {
|
|
557
|
-
children?: preact.ComponentChildren;
|
|
558
|
-
slot?: Lowercase<string>;
|
|
559
|
-
}
|
|
560
|
-
|
|
561
634
|
namespace createElement.JSX {
|
|
562
635
|
interface IntrinsicElements {
|
|
563
|
-
[TabletagName]: Omit<TableJSXProps, 'filters'> &
|
|
636
|
+
[TabletagName]: Omit<TableJSXProps, 'filters'> &
|
|
637
|
+
TablePreactBaseElementPropsWithChildren<Table>;
|
|
564
638
|
}
|
|
565
639
|
}
|
|
566
640
|
}
|
|
@@ -578,6 +652,19 @@ export interface TableJSXProps extends Partial<TableProps>, Pick<TableProps$1, '
|
|
|
578
652
|
filters?: ComponentChild;
|
|
579
653
|
}
|
|
580
654
|
|
|
655
|
+
export interface TablePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TablePreactBaseElementProps<TClass> {
|
|
656
|
+
children?: preact.ComponentChildren;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
export interface TablePreactBaseElementProps<TClass extends HTMLElement> {
|
|
660
|
+
/** Assigns a unique key to this element. */
|
|
661
|
+
key?: preact.Key;
|
|
662
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
663
|
+
ref?: preact.Ref<TClass>;
|
|
664
|
+
/** Assigns this element to a parent's slot. */
|
|
665
|
+
slot?: Lowercase<string>;
|
|
666
|
+
}
|
|
667
|
+
|
|
581
668
|
export interface TableClickOptions {
|
|
582
669
|
/**
|
|
583
670
|
* The event you want to influence the synthetic click.
|
|
@@ -614,14 +701,9 @@ declare const actualTableVariantSymbol: unique symbol;
|
|
|
614
701
|
declare const TableBaseClass: typeof globalThis.HTMLElement;
|
|
615
702
|
|
|
616
703
|
declare module 'preact' {
|
|
617
|
-
interface BaseProps {
|
|
618
|
-
children?: preact.ComponentChildren;
|
|
619
|
-
slot?: Lowercase<string>;
|
|
620
|
-
}
|
|
621
|
-
|
|
622
704
|
namespace createElement.JSX {
|
|
623
705
|
interface IntrinsicElements {
|
|
624
|
-
[StacktagName]: StackJSXProps &
|
|
706
|
+
[StacktagName]: StackJSXProps & StackPreactBaseElementPropsWithChildren<Stack>;
|
|
625
707
|
}
|
|
626
708
|
}
|
|
627
709
|
}
|
|
@@ -635,6 +717,19 @@ declare global {
|
|
|
635
717
|
export interface StackJSXProps extends Partial<StackProps>, Pick<StackProps$1, 'id'> {
|
|
636
718
|
}
|
|
637
719
|
|
|
720
|
+
export interface StackPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends StackPreactBaseElementProps<TClass> {
|
|
721
|
+
children?: preact.ComponentChildren;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
export interface StackPreactBaseElementProps<TClass extends HTMLElement> {
|
|
725
|
+
/** Assigns a unique key to this element. */
|
|
726
|
+
key?: preact.Key;
|
|
727
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
728
|
+
ref?: preact.Ref<TClass>;
|
|
729
|
+
/** Assigns this element to a parent's slot. */
|
|
730
|
+
slot?: Lowercase<string>;
|
|
731
|
+
}
|
|
732
|
+
|
|
638
733
|
export interface StackClickOptions {
|
|
639
734
|
/**
|
|
640
735
|
* The event you want to influence the synthetic click.
|
|
@@ -710,7 +805,6 @@ export interface StackBoxProps extends Pick<
|
|
|
710
805
|
| 'borderRadius'
|
|
711
806
|
| 'borderStyle'
|
|
712
807
|
| 'borderWidth'
|
|
713
|
-
| 'display'
|
|
714
808
|
| 'inlineSize'
|
|
715
809
|
| 'maxBlockSize'
|
|
716
810
|
| 'maxInlineSize'
|
|
@@ -833,6 +927,16 @@ export interface StackBoxProps extends Pick<
|
|
|
833
927
|
* @default '' - meaning no override
|
|
834
928
|
*/
|
|
835
929
|
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
930
|
+
/**
|
|
931
|
+
* 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).
|
|
932
|
+
*
|
|
933
|
+
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
934
|
+
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
935
|
+
*
|
|
936
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
937
|
+
* @default 'auto'
|
|
938
|
+
*/
|
|
939
|
+
display: ResponsiveBoxProps['display'];
|
|
836
940
|
}
|
|
837
941
|
|
|
838
942
|
declare const StacktagName = 's-stack';
|
|
@@ -841,7 +945,7 @@ declare const StackBaseClass: typeof globalThis.HTMLElement;
|
|
|
841
945
|
declare module 'preact' {
|
|
842
946
|
namespace createElement.JSX {
|
|
843
947
|
interface IntrinsicElements {
|
|
844
|
-
[SpinnertagName]: SpinnerJSXProps
|
|
948
|
+
[SpinnertagName]: SpinnerJSXProps & SpinnerPreactBaseElementProps<Spinner>;
|
|
845
949
|
}
|
|
846
950
|
}
|
|
847
951
|
}
|
|
@@ -855,6 +959,15 @@ declare global {
|
|
|
855
959
|
export interface SpinnerJSXProps extends Partial<SpinnerProps>, Pick<SpinnerProps$1, 'id'> {
|
|
856
960
|
}
|
|
857
961
|
|
|
962
|
+
export interface SpinnerPreactBaseElementProps<TClass extends HTMLElement> {
|
|
963
|
+
/** Assigns a unique key to this element. */
|
|
964
|
+
key?: preact.Key;
|
|
965
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
966
|
+
ref?: preact.Ref<TClass>;
|
|
967
|
+
/** Assigns this element to a parent's slot. */
|
|
968
|
+
slot?: Lowercase<string>;
|
|
969
|
+
}
|
|
970
|
+
|
|
858
971
|
export interface SpinnerClickOptions {
|
|
859
972
|
/**
|
|
860
973
|
* The event you want to influence the synthetic click.
|
|
@@ -877,14 +990,9 @@ declare const SpinnertagName = 's-spinner';
|
|
|
877
990
|
declare const SpinnerBaseClass: typeof globalThis.HTMLElement;
|
|
878
991
|
|
|
879
992
|
declare module 'preact' {
|
|
880
|
-
interface BaseProps {
|
|
881
|
-
children?: preact.ComponentChildren;
|
|
882
|
-
slot?: Lowercase<string>;
|
|
883
|
-
}
|
|
884
|
-
|
|
885
993
|
namespace createElement.JSX {
|
|
886
994
|
interface IntrinsicElements {
|
|
887
|
-
[SelecttagName]: SelectJSXProps &
|
|
995
|
+
[SelecttagName]: SelectJSXProps & SelectPreactBaseElementPropsWithChildren<Select>;
|
|
888
996
|
}
|
|
889
997
|
}
|
|
890
998
|
}
|
|
@@ -919,6 +1027,19 @@ export interface SelectProps extends Omit<PreactInputProps, 'value'>, Required<
|
|
|
919
1027
|
value: Required<SelectProps$1>['value'];
|
|
920
1028
|
}
|
|
921
1029
|
|
|
1030
|
+
export interface SelectPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends SelectPreactBaseElementProps<TClass> {
|
|
1031
|
+
children?: preact.ComponentChildren;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
export interface SelectPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1035
|
+
/** Assigns a unique key to this element. */
|
|
1036
|
+
key?: preact.Key;
|
|
1037
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1038
|
+
ref?: preact.Ref<TClass>;
|
|
1039
|
+
/** Assigns this element to a parent's slot. */
|
|
1040
|
+
slot?: Lowercase<string>;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
922
1043
|
export interface SelectClickOptions {
|
|
923
1044
|
/**
|
|
924
1045
|
* The event you want to influence the synthetic click.
|
|
@@ -940,14 +1061,9 @@ declare const Selectinternals: unique symbol;
|
|
|
940
1061
|
declare const SelectBaseClass: typeof globalThis.HTMLElement;
|
|
941
1062
|
|
|
942
1063
|
declare module 'preact' {
|
|
943
|
-
interface BaseProps {
|
|
944
|
-
children?: preact.ComponentChildren;
|
|
945
|
-
slot?: Lowercase<string>;
|
|
946
|
-
}
|
|
947
|
-
|
|
948
1064
|
namespace createElement.JSX {
|
|
949
1065
|
interface IntrinsicElements {
|
|
950
|
-
[SectiontagName]: SectionJSXProps &
|
|
1066
|
+
[SectiontagName]: SectionJSXProps & SectionPreactBaseElementPropsWithChildren<Section>;
|
|
951
1067
|
}
|
|
952
1068
|
}
|
|
953
1069
|
}
|
|
@@ -961,6 +1077,19 @@ declare global {
|
|
|
961
1077
|
export interface SectionJSXProps extends Partial<SectionProps>, Pick<SectionProps$1, 'id'> {
|
|
962
1078
|
}
|
|
963
1079
|
|
|
1080
|
+
export interface SectionPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends SectionPreactBaseElementProps<TClass> {
|
|
1081
|
+
children?: preact.ComponentChildren;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
export interface SectionPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1085
|
+
/** Assigns a unique key to this element. */
|
|
1086
|
+
key?: preact.Key;
|
|
1087
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1088
|
+
ref?: preact.Ref<TClass>;
|
|
1089
|
+
/** Assigns this element to a parent's slot. */
|
|
1090
|
+
slot?: Lowercase<string>;
|
|
1091
|
+
}
|
|
1092
|
+
|
|
964
1093
|
export interface SectionClickOptions {
|
|
965
1094
|
/**
|
|
966
1095
|
* The event you want to influence the synthetic click.
|
|
@@ -988,13 +1117,50 @@ declare const SectiontagName = 's-section';
|
|
|
988
1117
|
declare const SectionBaseClass: typeof globalThis.HTMLElement;
|
|
989
1118
|
|
|
990
1119
|
declare module 'preact' {
|
|
991
|
-
|
|
992
|
-
|
|
1120
|
+
namespace createElement.JSX {
|
|
1121
|
+
interface IntrinsicElements {
|
|
1122
|
+
[QueryContainertagName]: Omit<
|
|
1123
|
+
HTMLAttributes<HTMLElement>,
|
|
1124
|
+
Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
|
|
1125
|
+
> &
|
|
1126
|
+
QueryContainerJSXProps;
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
declare global {
|
|
1132
|
+
interface HTMLElementTagNameMap {
|
|
1133
|
+
[QueryContainertagName]: QueryContainer;
|
|
993
1134
|
}
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
export interface QueryContainerJSXProps extends Partial<QueryContainerProps$1>, Pick<QueryContainerProps$1, 'id'> {
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
export interface QueryContainerProps extends Required<Pick<QueryContainerProps$1, 'id' | 'containerName'>> {
|
|
1141
|
+
}
|
|
994
1142
|
|
|
1143
|
+
export interface QueryContainerClickOptions {
|
|
1144
|
+
/**
|
|
1145
|
+
* The event you want to influence the synthetic click.
|
|
1146
|
+
*/
|
|
1147
|
+
sourceEvent?: QueryContainerActivationEventEsque;
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
export interface QueryContainerActivationEventEsque {
|
|
1151
|
+
shiftKey: boolean;
|
|
1152
|
+
metaKey: boolean;
|
|
1153
|
+
ctrlKey: boolean;
|
|
1154
|
+
button: number;
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
declare const QueryContainertagName = 's-query-container';
|
|
1158
|
+
declare const QueryContainerBaseClass: typeof globalThis.HTMLElement;
|
|
1159
|
+
|
|
1160
|
+
declare module 'preact' {
|
|
995
1161
|
namespace createElement.JSX {
|
|
996
1162
|
interface IntrinsicElements {
|
|
997
|
-
[PasswordFieldtagName]: PasswordFieldJSXProps &
|
|
1163
|
+
[PasswordFieldtagName]: PasswordFieldJSXProps & PasswordFieldPreactBaseElementProps<PasswordField>;
|
|
998
1164
|
}
|
|
999
1165
|
}
|
|
1000
1166
|
}
|
|
@@ -1008,6 +1174,15 @@ declare global {
|
|
|
1008
1174
|
export interface PasswordFieldJSXProps extends Partial<PasswordFieldProps>, Pick<PasswordFieldProps$1, 'id'>, PasswordFieldFieldReactProps<typeof PasswordFieldtagName> {
|
|
1009
1175
|
}
|
|
1010
1176
|
|
|
1177
|
+
export interface PasswordFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1178
|
+
/** Assigns a unique key to this element. */
|
|
1179
|
+
key?: preact.Key;
|
|
1180
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1181
|
+
ref?: preact.Ref<TClass>;
|
|
1182
|
+
/** Assigns this element to a parent's slot. */
|
|
1183
|
+
slot?: Lowercase<string>;
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1011
1186
|
export interface PasswordFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
1012
1187
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
1013
1188
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -1034,14 +1209,10 @@ declare const PasswordFieldinternals: unique symbol;
|
|
|
1034
1209
|
declare const PasswordFieldBaseClass: typeof globalThis.HTMLElement;
|
|
1035
1210
|
|
|
1036
1211
|
declare module 'preact' {
|
|
1037
|
-
interface BaseProps {
|
|
1038
|
-
children?: preact.ComponentChildren;
|
|
1039
|
-
slot?: Lowercase<string>;
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
1212
|
namespace createElement.JSX {
|
|
1043
1213
|
interface IntrinsicElements {
|
|
1044
|
-
[ParagraphtagName]: ParagraphJSXProps &
|
|
1214
|
+
[ParagraphtagName]: ParagraphJSXProps &
|
|
1215
|
+
ParagraphPreactBaseElementPropsWithChildren<Paragraph>;
|
|
1045
1216
|
}
|
|
1046
1217
|
}
|
|
1047
1218
|
}
|
|
@@ -1055,6 +1226,19 @@ declare global {
|
|
|
1055
1226
|
export interface ParagraphJSXProps extends Partial<ParagraphProps>, Pick<ParagraphProps$1, 'id'> {
|
|
1056
1227
|
}
|
|
1057
1228
|
|
|
1229
|
+
export interface ParagraphPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ParagraphPreactBaseElementProps<TClass> {
|
|
1230
|
+
children?: preact.ComponentChildren;
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
export interface ParagraphPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1234
|
+
/** Assigns a unique key to this element. */
|
|
1235
|
+
key?: preact.Key;
|
|
1236
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1237
|
+
ref?: preact.Ref<TClass>;
|
|
1238
|
+
/** Assigns this element to a parent's slot. */
|
|
1239
|
+
slot?: Lowercase<string>;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1058
1242
|
export interface ParagraphClickOptions {
|
|
1059
1243
|
/**
|
|
1060
1244
|
* The event you want to influence the synthetic click.
|
|
@@ -1088,14 +1272,10 @@ declare const ParagraphtagName = 's-paragraph';
|
|
|
1088
1272
|
declare const ParagraphBaseClass: typeof globalThis.HTMLElement;
|
|
1089
1273
|
|
|
1090
1274
|
declare module 'preact' {
|
|
1091
|
-
interface BaseProps {
|
|
1092
|
-
children?: preact.ComponentChildren;
|
|
1093
|
-
slot?: Lowercase<string>;
|
|
1094
|
-
}
|
|
1095
|
-
|
|
1096
1275
|
namespace createElement.JSX {
|
|
1097
1276
|
interface IntrinsicElements {
|
|
1098
|
-
[OrderedListtagName]: OrderedListJSXProps &
|
|
1277
|
+
[OrderedListtagName]: OrderedListJSXProps &
|
|
1278
|
+
OrderedListPreactBaseElementPropsWithChildren<OrderedList>;
|
|
1099
1279
|
}
|
|
1100
1280
|
}
|
|
1101
1281
|
}
|
|
@@ -1109,6 +1289,19 @@ declare global {
|
|
|
1109
1289
|
export interface OrderedListJSXProps extends Partial<OrderedListProps>, Pick<OrderedListProps$1, 'id'> {
|
|
1110
1290
|
}
|
|
1111
1291
|
|
|
1292
|
+
export interface OrderedListPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends OrderedListPreactBaseElementProps<TClass> {
|
|
1293
|
+
children?: preact.ComponentChildren;
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
export interface OrderedListPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1297
|
+
/** Assigns a unique key to this element. */
|
|
1298
|
+
key?: preact.Key;
|
|
1299
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1300
|
+
ref?: preact.Ref<TClass>;
|
|
1301
|
+
/** Assigns this element to a parent's slot. */
|
|
1302
|
+
slot?: Lowercase<string>;
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1112
1305
|
export interface OrderedListClickOptions {
|
|
1113
1306
|
/**
|
|
1114
1307
|
* The event you want to influence the synthetic click.
|
|
@@ -1130,13 +1323,10 @@ declare const OrderedListtagName = 's-ordered-list';
|
|
|
1130
1323
|
declare const OrderedListBaseClass: typeof globalThis.HTMLElement;
|
|
1131
1324
|
|
|
1132
1325
|
declare module 'preact' {
|
|
1133
|
-
interface BaseProps {
|
|
1134
|
-
children?: preact.ComponentChildren;
|
|
1135
|
-
}
|
|
1136
|
-
|
|
1137
1326
|
namespace createElement.JSX {
|
|
1138
1327
|
interface IntrinsicElements {
|
|
1139
|
-
[OptionGrouptagName]: OptionGroupJSXProps &
|
|
1328
|
+
[OptionGrouptagName]: OptionGroupJSXProps &
|
|
1329
|
+
OptionGroupPreactBaseElementPropsWithChildren<OptionGroup>;
|
|
1140
1330
|
}
|
|
1141
1331
|
}
|
|
1142
1332
|
}
|
|
@@ -1150,6 +1340,19 @@ declare global {
|
|
|
1150
1340
|
export interface OptionGroupJSXProps extends Partial<OptionGroupProps> {
|
|
1151
1341
|
}
|
|
1152
1342
|
|
|
1343
|
+
export interface OptionGroupPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends OptionGroupPreactBaseElementProps<TClass> {
|
|
1344
|
+
children?: preact.ComponentChildren;
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
|
+
export interface OptionGroupPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1348
|
+
/** Assigns a unique key to this element. */
|
|
1349
|
+
key?: preact.Key;
|
|
1350
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1351
|
+
ref?: preact.Ref<TClass>;
|
|
1352
|
+
/** Assigns this element to a parent's slot. */
|
|
1353
|
+
slot?: Lowercase<string>;
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1153
1356
|
export interface OptionGroupClickOptions {
|
|
1154
1357
|
/**
|
|
1155
1358
|
* The event you want to influence the synthetic click.
|
|
@@ -1171,13 +1374,9 @@ declare const OptionGrouptagName = 's-option-group';
|
|
|
1171
1374
|
declare const OptionGroupBaseClass: typeof globalThis.HTMLElement;
|
|
1172
1375
|
|
|
1173
1376
|
declare module 'preact' {
|
|
1174
|
-
interface BaseProps {
|
|
1175
|
-
children?: preact.ComponentChildren;
|
|
1176
|
-
}
|
|
1177
|
-
|
|
1178
1377
|
namespace createElement.JSX {
|
|
1179
1378
|
interface IntrinsicElements {
|
|
1180
|
-
[OptiontagName]: OptionJSXProps &
|
|
1379
|
+
[OptiontagName]: OptionJSXProps & OptionPreactBaseElementPropsWithChildren<Option>;
|
|
1181
1380
|
}
|
|
1182
1381
|
}
|
|
1183
1382
|
}
|
|
@@ -1191,6 +1390,19 @@ declare global {
|
|
|
1191
1390
|
export interface OptionJSXProps extends Partial<OptionProps> {
|
|
1192
1391
|
}
|
|
1193
1392
|
|
|
1393
|
+
export interface OptionPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends OptionPreactBaseElementProps<TClass> {
|
|
1394
|
+
children?: preact.ComponentChildren;
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
export interface OptionPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1398
|
+
/** Assigns a unique key to this element. */
|
|
1399
|
+
key?: preact.Key;
|
|
1400
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1401
|
+
ref?: preact.Ref<TClass>;
|
|
1402
|
+
/** Assigns this element to a parent's slot. */
|
|
1403
|
+
slot?: Lowercase<string>;
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1194
1406
|
export interface OptionClickOptions {
|
|
1195
1407
|
/**
|
|
1196
1408
|
* The event you want to influence the synthetic click.
|
|
@@ -1214,13 +1426,9 @@ declare const OptiontagName = 's-option';
|
|
|
1214
1426
|
declare const OptionBaseClass: typeof globalThis.HTMLElement;
|
|
1215
1427
|
|
|
1216
1428
|
declare module 'preact' {
|
|
1217
|
-
interface BaseProps {
|
|
1218
|
-
slot?: Lowercase<string>;
|
|
1219
|
-
}
|
|
1220
|
-
|
|
1221
1429
|
namespace createElement.JSX {
|
|
1222
1430
|
interface IntrinsicElements {
|
|
1223
|
-
[NumberFieldtagName]: NumberFieldJSXProps &
|
|
1431
|
+
[NumberFieldtagName]: NumberFieldJSXProps & NumberFieldPreactBaseElementProps<NumberField>;
|
|
1224
1432
|
}
|
|
1225
1433
|
}
|
|
1226
1434
|
}
|
|
@@ -1246,6 +1454,15 @@ export interface NumberFieldProps extends Omit<
|
|
|
1246
1454
|
value: Required<NumberFieldProps$1>['value'];
|
|
1247
1455
|
}
|
|
1248
1456
|
|
|
1457
|
+
export interface NumberFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1458
|
+
/** Assigns a unique key to this element. */
|
|
1459
|
+
key?: preact.Key;
|
|
1460
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1461
|
+
ref?: preact.Ref<TClass>;
|
|
1462
|
+
/** Assigns this element to a parent's slot. */
|
|
1463
|
+
slot?: Lowercase<string>;
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1249
1466
|
export interface NumberFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
1250
1467
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
1251
1468
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -1272,14 +1489,9 @@ declare const NumberFieldinternals: unique symbol;
|
|
|
1272
1489
|
declare const NumberFieldBaseClass: typeof globalThis.HTMLElement;
|
|
1273
1490
|
|
|
1274
1491
|
declare module 'preact' {
|
|
1275
|
-
interface BaseProps {
|
|
1276
|
-
children?: preact.ComponentChildren;
|
|
1277
|
-
slot?: Lowercase<string>;
|
|
1278
|
-
}
|
|
1279
|
-
|
|
1280
1492
|
namespace createElement.JSX {
|
|
1281
1493
|
interface IntrinsicElements {
|
|
1282
|
-
[MoneyFieldtagName]: MoneyFieldJSXProps &
|
|
1494
|
+
[MoneyFieldtagName]: MoneyFieldJSXProps & MoneyFieldPreactBaseElementProps<MoneyField>;
|
|
1283
1495
|
}
|
|
1284
1496
|
}
|
|
1285
1497
|
}
|
|
@@ -1297,6 +1509,15 @@ export interface MoneyFieldProps extends Omit<PreactFieldProps, 'value'>, Pick<R
|
|
|
1297
1509
|
value: Required<MoneyFieldProps$1>['value'];
|
|
1298
1510
|
}
|
|
1299
1511
|
|
|
1512
|
+
export interface MoneyFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1513
|
+
/** Assigns a unique key to this element. */
|
|
1514
|
+
key?: preact.Key;
|
|
1515
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1516
|
+
ref?: preact.Ref<TClass>;
|
|
1517
|
+
/** Assigns this element to a parent's slot. */
|
|
1518
|
+
slot?: Lowercase<string>;
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1300
1521
|
export interface MoneyFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
1301
1522
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
1302
1523
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -1323,14 +1544,10 @@ declare const MoneyFieldinternals: unique symbol;
|
|
|
1323
1544
|
declare const MoneyFieldBaseClass: typeof globalThis.HTMLElement;
|
|
1324
1545
|
|
|
1325
1546
|
declare module 'preact' {
|
|
1326
|
-
interface BaseProps {
|
|
1327
|
-
children?: preact.ComponentChildren;
|
|
1328
|
-
slot?: Lowercase<string>;
|
|
1329
|
-
}
|
|
1330
|
-
|
|
1331
1547
|
namespace createElement.JSX {
|
|
1332
1548
|
interface IntrinsicElements {
|
|
1333
|
-
[ListItemtagName]: ListItemJSXProps &
|
|
1549
|
+
[ListItemtagName]: ListItemJSXProps &
|
|
1550
|
+
ListItemPreactBaseElementPropsWithChildren<ListItem>;
|
|
1334
1551
|
}
|
|
1335
1552
|
}
|
|
1336
1553
|
}
|
|
@@ -1344,6 +1561,19 @@ declare global {
|
|
|
1344
1561
|
export interface ListItemJSXProps extends Partial<ListItemProps>, Pick<ListItemProps$1, 'id'> {
|
|
1345
1562
|
}
|
|
1346
1563
|
|
|
1564
|
+
export interface ListItemPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ListItemPreactBaseElementProps<TClass> {
|
|
1565
|
+
children?: preact.ComponentChildren;
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
export interface ListItemPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1569
|
+
/** Assigns a unique key to this element. */
|
|
1570
|
+
key?: preact.Key;
|
|
1571
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1572
|
+
ref?: preact.Ref<TClass>;
|
|
1573
|
+
/** Assigns this element to a parent's slot. */
|
|
1574
|
+
slot?: Lowercase<string>;
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1347
1577
|
export interface ListItemClickOptions {
|
|
1348
1578
|
/**
|
|
1349
1579
|
* The event you want to influence the synthetic click.
|
|
@@ -1365,14 +1595,9 @@ declare const ListItemtagName = 's-list-item';
|
|
|
1365
1595
|
declare const ListItemBaseClass: typeof globalThis.HTMLElement;
|
|
1366
1596
|
|
|
1367
1597
|
declare module 'preact' {
|
|
1368
|
-
interface BaseProps {
|
|
1369
|
-
children?: preact.ComponentChildren;
|
|
1370
|
-
slot?: Lowercase<string>;
|
|
1371
|
-
}
|
|
1372
|
-
|
|
1373
1598
|
namespace createElement.JSX {
|
|
1374
1599
|
interface IntrinsicElements {
|
|
1375
|
-
[LinktagName]: LinkJSXProps &
|
|
1600
|
+
[LinktagName]: LinkJSXProps & LinkPreactBaseElementPropsWithChildren<Link>;
|
|
1376
1601
|
}
|
|
1377
1602
|
}
|
|
1378
1603
|
}
|
|
@@ -1422,6 +1647,19 @@ export interface LinkActivationEventEsque {
|
|
|
1422
1647
|
button: number;
|
|
1423
1648
|
}
|
|
1424
1649
|
|
|
1650
|
+
export interface LinkPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends LinkPreactBaseElementProps<TClass> {
|
|
1651
|
+
children?: preact.ComponentChildren;
|
|
1652
|
+
}
|
|
1653
|
+
|
|
1654
|
+
export interface LinkPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1655
|
+
/** Assigns a unique key to this element. */
|
|
1656
|
+
key?: preact.Key;
|
|
1657
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1658
|
+
ref?: preact.Ref<TClass>;
|
|
1659
|
+
/** Assigns this element to a parent's slot. */
|
|
1660
|
+
slot?: Lowercase<string>;
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1425
1663
|
export interface LinkProps extends Pick<
|
|
1426
1664
|
LinkProps$1,
|
|
1427
1665
|
| 'accessibilityLabel'
|
|
@@ -1451,13 +1689,9 @@ declare const Link_base: (abstract new (
|
|
|
1451
1689
|
declare const LinkBaseClass: typeof globalThis.HTMLElement;
|
|
1452
1690
|
|
|
1453
1691
|
declare module 'preact' {
|
|
1454
|
-
interface BaseProps {
|
|
1455
|
-
slot?: Lowercase<string>;
|
|
1456
|
-
}
|
|
1457
|
-
|
|
1458
1692
|
namespace createElement.JSX {
|
|
1459
1693
|
interface IntrinsicElements {
|
|
1460
|
-
[ImagetagName]: ImageJSXProps &
|
|
1694
|
+
[ImagetagName]: ImageJSXProps & ImagePreactBaseElementProps<Image>;
|
|
1461
1695
|
}
|
|
1462
1696
|
}
|
|
1463
1697
|
}
|
|
@@ -1487,6 +1721,15 @@ export interface ImageActivationEventEsque {
|
|
|
1487
1721
|
button: number;
|
|
1488
1722
|
}
|
|
1489
1723
|
|
|
1724
|
+
export interface ImagePreactBaseElementProps<TClass extends HTMLElement> {
|
|
1725
|
+
/** Assigns a unique key to this element. */
|
|
1726
|
+
key?: preact.Key;
|
|
1727
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1728
|
+
ref?: preact.Ref<TClass>;
|
|
1729
|
+
/** Assigns this element to a parent's slot. */
|
|
1730
|
+
slot?: Lowercase<string>;
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1490
1733
|
export interface ImageProps extends Required<
|
|
1491
1734
|
Pick<
|
|
1492
1735
|
ImageProps$1,
|
|
@@ -1529,7 +1772,6 @@ export interface ImageBoxProps extends Pick<
|
|
|
1529
1772
|
| 'borderRadius'
|
|
1530
1773
|
| 'borderStyle'
|
|
1531
1774
|
| 'borderWidth'
|
|
1532
|
-
| 'display'
|
|
1533
1775
|
| 'inlineSize'
|
|
1534
1776
|
| 'maxBlockSize'
|
|
1535
1777
|
| 'maxInlineSize'
|
|
@@ -1652,19 +1894,25 @@ export interface ImageBoxProps extends Pick<
|
|
|
1652
1894
|
* @default '' - meaning no override
|
|
1653
1895
|
*/
|
|
1654
1896
|
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
1897
|
+
/**
|
|
1898
|
+
* 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).
|
|
1899
|
+
*
|
|
1900
|
+
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
1901
|
+
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
1902
|
+
*
|
|
1903
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
1904
|
+
* @default 'auto'
|
|
1905
|
+
*/
|
|
1906
|
+
display: ResponsiveBoxProps['display'];
|
|
1655
1907
|
}
|
|
1656
1908
|
|
|
1657
1909
|
declare const ImagetagName = 's-image';
|
|
1658
1910
|
declare const ImageBaseClass: typeof globalThis.HTMLElement;
|
|
1659
1911
|
|
|
1660
1912
|
declare module 'preact' {
|
|
1661
|
-
interface BaseProps {
|
|
1662
|
-
slot?: Lowercase<string>;
|
|
1663
|
-
}
|
|
1664
|
-
|
|
1665
1913
|
namespace createElement.JSX {
|
|
1666
1914
|
interface IntrinsicElements {
|
|
1667
|
-
[IcontagName]: IconJSXProps &
|
|
1915
|
+
[IcontagName]: IconJSXProps & IconPreactBaseElementProps<Icon>;
|
|
1668
1916
|
}
|
|
1669
1917
|
}
|
|
1670
1918
|
}
|
|
@@ -1678,6 +1926,15 @@ declare global {
|
|
|
1678
1926
|
export interface IconJSXProps extends Partial<IconIconProps>, Pick<IconProps$1, 'id'> {
|
|
1679
1927
|
}
|
|
1680
1928
|
|
|
1929
|
+
export interface IconPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1930
|
+
/** Assigns a unique key to this element. */
|
|
1931
|
+
key?: preact.Key;
|
|
1932
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1933
|
+
ref?: preact.Ref<TClass>;
|
|
1934
|
+
/** Assigns this element to a parent's slot. */
|
|
1935
|
+
slot?: Lowercase<string>;
|
|
1936
|
+
}
|
|
1937
|
+
|
|
1681
1938
|
export interface IconClickOptions {
|
|
1682
1939
|
/**
|
|
1683
1940
|
* The event you want to influence the synthetic click.
|
|
@@ -1709,14 +1966,9 @@ declare const IcontagName = 's-icon';
|
|
|
1709
1966
|
declare const IconBaseClass: typeof globalThis.HTMLElement;
|
|
1710
1967
|
|
|
1711
1968
|
declare module 'preact' {
|
|
1712
|
-
interface BaseProps {
|
|
1713
|
-
children?: preact.ComponentChildren;
|
|
1714
|
-
slot?: Lowercase<string>;
|
|
1715
|
-
}
|
|
1716
|
-
|
|
1717
1969
|
namespace createElement.JSX {
|
|
1718
1970
|
interface IntrinsicElements {
|
|
1719
|
-
[HeadingtagName]: HeadingJSXProps &
|
|
1971
|
+
[HeadingtagName]: HeadingJSXProps & HeadingPreactBaseElementPropsWithChildren<Heading>;
|
|
1720
1972
|
}
|
|
1721
1973
|
}
|
|
1722
1974
|
}
|
|
@@ -1730,6 +1982,19 @@ declare global {
|
|
|
1730
1982
|
export interface HeadingJSXProps extends Partial<HeadingProps>, Pick<HeadingProps$1, 'id'> {
|
|
1731
1983
|
}
|
|
1732
1984
|
|
|
1985
|
+
export interface HeadingPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends HeadingPreactBaseElementProps<TClass> {
|
|
1986
|
+
children?: preact.ComponentChildren;
|
|
1987
|
+
}
|
|
1988
|
+
|
|
1989
|
+
export interface HeadingPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1990
|
+
/** Assigns a unique key to this element. */
|
|
1991
|
+
key?: preact.Key;
|
|
1992
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1993
|
+
ref?: preact.Ref<TClass>;
|
|
1994
|
+
/** Assigns this element to a parent's slot. */
|
|
1995
|
+
slot?: Lowercase<string>;
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1733
1998
|
export interface HeadingClickOptions {
|
|
1734
1999
|
/**
|
|
1735
2000
|
* The event you want to influence the synthetic click.
|
|
@@ -1757,14 +2022,10 @@ declare const HeadingtagName = 's-heading';
|
|
|
1757
2022
|
declare const HeadingBaseClass: typeof globalThis.HTMLElement;
|
|
1758
2023
|
|
|
1759
2024
|
declare module 'preact' {
|
|
1760
|
-
interface BaseProps {
|
|
1761
|
-
children?: preact.ComponentChildren;
|
|
1762
|
-
slot?: Lowercase<string>;
|
|
1763
|
-
}
|
|
1764
|
-
|
|
1765
2025
|
namespace createElement.JSX {
|
|
1766
2026
|
interface IntrinsicElements {
|
|
1767
|
-
[GridItemtagName]: GridItemJSXProps &
|
|
2027
|
+
[GridItemtagName]: GridItemJSXProps &
|
|
2028
|
+
GridItemPreactBaseElementPropsWithChildren<GridItem>;
|
|
1768
2029
|
}
|
|
1769
2030
|
}
|
|
1770
2031
|
}
|
|
@@ -1778,6 +2039,19 @@ declare global {
|
|
|
1778
2039
|
export interface GridItemJSXProps extends Partial<GridItemProps>, Pick<GridItemProps$1, 'id'> {
|
|
1779
2040
|
}
|
|
1780
2041
|
|
|
2042
|
+
export interface GridItemPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends GridItemPreactBaseElementProps<TClass> {
|
|
2043
|
+
children?: preact.ComponentChildren;
|
|
2044
|
+
}
|
|
2045
|
+
|
|
2046
|
+
export interface GridItemPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2047
|
+
/** Assigns a unique key to this element. */
|
|
2048
|
+
key?: preact.Key;
|
|
2049
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2050
|
+
ref?: preact.Ref<TClass>;
|
|
2051
|
+
/** Assigns this element to a parent's slot. */
|
|
2052
|
+
slot?: Lowercase<string>;
|
|
2053
|
+
}
|
|
2054
|
+
|
|
1781
2055
|
export interface GridItemClickOptions {
|
|
1782
2056
|
/**
|
|
1783
2057
|
* The event you want to influence the synthetic click.
|
|
@@ -1809,7 +2083,6 @@ export interface GridItemBoxProps extends Pick<
|
|
|
1809
2083
|
| 'borderRadius'
|
|
1810
2084
|
| 'borderStyle'
|
|
1811
2085
|
| 'borderWidth'
|
|
1812
|
-
| 'display'
|
|
1813
2086
|
| 'inlineSize'
|
|
1814
2087
|
| 'maxBlockSize'
|
|
1815
2088
|
| 'maxInlineSize'
|
|
@@ -1932,20 +2205,25 @@ export interface GridItemBoxProps extends Pick<
|
|
|
1932
2205
|
* @default '' - meaning no override
|
|
1933
2206
|
*/
|
|
1934
2207
|
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
2208
|
+
/**
|
|
2209
|
+
* 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).
|
|
2210
|
+
*
|
|
2211
|
+
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
2212
|
+
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
2213
|
+
*
|
|
2214
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
2215
|
+
* @default 'auto'
|
|
2216
|
+
*/
|
|
2217
|
+
display: ResponsiveBoxProps['display'];
|
|
1935
2218
|
}
|
|
1936
2219
|
|
|
1937
2220
|
declare const GridItemtagName = 's-grid-item';
|
|
1938
2221
|
declare const GridItemBaseClass: typeof globalThis.HTMLElement;
|
|
1939
2222
|
|
|
1940
2223
|
declare module 'preact' {
|
|
1941
|
-
interface BaseProps {
|
|
1942
|
-
children?: preact.ComponentChildren;
|
|
1943
|
-
slot?: Lowercase<string>;
|
|
1944
|
-
}
|
|
1945
|
-
|
|
1946
2224
|
namespace createElement.JSX {
|
|
1947
2225
|
interface IntrinsicElements {
|
|
1948
|
-
[GridtagName]: GridJSXProps &
|
|
2226
|
+
[GridtagName]: GridJSXProps & GridPreactBaseElementPropsWithChildren<Grid>;
|
|
1949
2227
|
}
|
|
1950
2228
|
}
|
|
1951
2229
|
}
|
|
@@ -1973,6 +2251,19 @@ export interface GridActivationEventEsque {
|
|
|
1973
2251
|
button: number;
|
|
1974
2252
|
}
|
|
1975
2253
|
|
|
2254
|
+
export interface GridPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends GridPreactBaseElementProps<TClass> {
|
|
2255
|
+
children?: preact.ComponentChildren;
|
|
2256
|
+
}
|
|
2257
|
+
|
|
2258
|
+
export interface GridPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2259
|
+
/** Assigns a unique key to this element. */
|
|
2260
|
+
key?: preact.Key;
|
|
2261
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2262
|
+
ref?: preact.Ref<TClass>;
|
|
2263
|
+
/** Assigns this element to a parent's slot. */
|
|
2264
|
+
slot?: Lowercase<string>;
|
|
2265
|
+
}
|
|
2266
|
+
|
|
1976
2267
|
export interface GridProps extends GridBoxProps, Required<
|
|
1977
2268
|
Pick<
|
|
1978
2269
|
GridProps$1,
|
|
@@ -2033,7 +2324,6 @@ export interface GridBoxProps extends Pick<
|
|
|
2033
2324
|
| 'borderRadius'
|
|
2034
2325
|
| 'borderStyle'
|
|
2035
2326
|
| 'borderWidth'
|
|
2036
|
-
| 'display'
|
|
2037
2327
|
| 'inlineSize'
|
|
2038
2328
|
| 'maxBlockSize'
|
|
2039
2329
|
| 'maxInlineSize'
|
|
@@ -2156,19 +2446,25 @@ export interface GridBoxProps extends Pick<
|
|
|
2156
2446
|
* @default '' - meaning no override
|
|
2157
2447
|
*/
|
|
2158
2448
|
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
2449
|
+
/**
|
|
2450
|
+
* 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).
|
|
2451
|
+
*
|
|
2452
|
+
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
2453
|
+
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
2454
|
+
*
|
|
2455
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
2456
|
+
* @default 'auto'
|
|
2457
|
+
*/
|
|
2458
|
+
display: ResponsiveBoxProps['display'];
|
|
2159
2459
|
}
|
|
2160
2460
|
|
|
2161
2461
|
declare const GridtagName = 's-grid';
|
|
2162
2462
|
declare const GridBaseClass: typeof globalThis.HTMLElement;
|
|
2163
2463
|
|
|
2164
2464
|
declare module 'preact' {
|
|
2165
|
-
interface BaseProps {
|
|
2166
|
-
slot?: Lowercase<string>;
|
|
2167
|
-
}
|
|
2168
|
-
|
|
2169
2465
|
namespace createElement.JSX {
|
|
2170
2466
|
interface IntrinsicElements {
|
|
2171
|
-
[EmailFieldtagName]: EmailFieldJSXProps &
|
|
2467
|
+
[EmailFieldtagName]: EmailFieldJSXProps & EmailFieldPreactBaseElementProps<EmailField>;
|
|
2172
2468
|
}
|
|
2173
2469
|
}
|
|
2174
2470
|
}
|
|
@@ -2182,6 +2478,15 @@ declare global {
|
|
|
2182
2478
|
export interface EmailFieldJSXProps extends Partial<Omit<EmailFieldProps, 'accessory'>>, Pick<EmailFieldProps$1, 'id'>, FieldReactProps<typeof EmailFieldtagName> {
|
|
2183
2479
|
}
|
|
2184
2480
|
|
|
2481
|
+
export interface EmailFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2482
|
+
/** Assigns a unique key to this element. */
|
|
2483
|
+
key?: preact.Key;
|
|
2484
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2485
|
+
ref?: preact.Ref<TClass>;
|
|
2486
|
+
/** Assigns this element to a parent's slot. */
|
|
2487
|
+
slot?: Lowercase<string>;
|
|
2488
|
+
}
|
|
2489
|
+
|
|
2185
2490
|
export interface FieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
2186
2491
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
2187
2492
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -2208,13 +2513,9 @@ declare const EmailFieldinternals: unique symbol;
|
|
|
2208
2513
|
declare const EmailFieldBaseClass: typeof globalThis.HTMLElement;
|
|
2209
2514
|
|
|
2210
2515
|
declare module 'preact' {
|
|
2211
|
-
interface BaseProps {
|
|
2212
|
-
slot?: Lowercase<string>;
|
|
2213
|
-
}
|
|
2214
|
-
|
|
2215
2516
|
namespace createElement.JSX {
|
|
2216
2517
|
interface IntrinsicElements {
|
|
2217
|
-
[DividertagName]: DividerJSXProps &
|
|
2518
|
+
[DividertagName]: DividerJSXProps & DividerPreactBaseElementProps<Divider>;
|
|
2218
2519
|
}
|
|
2219
2520
|
}
|
|
2220
2521
|
}
|
|
@@ -2228,6 +2529,15 @@ declare global {
|
|
|
2228
2529
|
export interface DividerJSXProps extends Partial<DividerProps>, Pick<DividerProps$1, 'id'> {
|
|
2229
2530
|
}
|
|
2230
2531
|
|
|
2532
|
+
export interface DividerPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2533
|
+
/** Assigns a unique key to this element. */
|
|
2534
|
+
key?: preact.Key;
|
|
2535
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2536
|
+
ref?: preact.Ref<TClass>;
|
|
2537
|
+
/** Assigns this element to a parent's slot. */
|
|
2538
|
+
slot?: Lowercase<string>;
|
|
2539
|
+
}
|
|
2540
|
+
|
|
2231
2541
|
export interface DividerClickOptions {
|
|
2232
2542
|
/**
|
|
2233
2543
|
* The event you want to influence the synthetic click.
|
|
@@ -2251,13 +2561,9 @@ declare const DividertagName = 's-divider';
|
|
|
2251
2561
|
declare const DividerBaseClass: typeof globalThis.HTMLElement;
|
|
2252
2562
|
|
|
2253
2563
|
declare module 'preact' {
|
|
2254
|
-
interface BaseProps {
|
|
2255
|
-
slot?: Lowercase<string>;
|
|
2256
|
-
}
|
|
2257
|
-
|
|
2258
2564
|
namespace createElement.JSX {
|
|
2259
2565
|
interface IntrinsicElements {
|
|
2260
|
-
[DatePickertagName]: DatePickerJSXProps &
|
|
2566
|
+
[DatePickertagName]: DatePickerJSXProps & DatePickerPreactBaseElementProps<DatePicker>;
|
|
2261
2567
|
}
|
|
2262
2568
|
}
|
|
2263
2569
|
}
|
|
@@ -2297,6 +2603,15 @@ export interface DatePickerActivationEventEsque {
|
|
|
2297
2603
|
button: number;
|
|
2298
2604
|
}
|
|
2299
2605
|
|
|
2606
|
+
export interface DatePickerPreactBaseElementProps<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
|
+
|
|
2300
2615
|
export interface DatePickerProps extends Required<
|
|
2301
2616
|
Pick<
|
|
2302
2617
|
DatePickerProps$1,
|
|
@@ -2320,14 +2635,10 @@ declare const DatePickerinternals: unique symbol;
|
|
|
2320
2635
|
declare const DatePickerBaseClass$1: typeof globalThis.HTMLElement;
|
|
2321
2636
|
|
|
2322
2637
|
declare module 'preact' {
|
|
2323
|
-
interface BaseProps {
|
|
2324
|
-
children?: preact.ComponentChildren;
|
|
2325
|
-
slot?: Lowercase<string>;
|
|
2326
|
-
}
|
|
2327
|
-
|
|
2328
2638
|
namespace createElement.JSX {
|
|
2329
2639
|
interface IntrinsicElements {
|
|
2330
|
-
[ClickabletagName]: ClickableJSXProps &
|
|
2640
|
+
[ClickabletagName]: ClickableJSXProps &
|
|
2641
|
+
ClickablePreactBaseElementPropsWithChildren<Clickable>;
|
|
2331
2642
|
}
|
|
2332
2643
|
}
|
|
2333
2644
|
}
|
|
@@ -2379,6 +2690,19 @@ export interface ClickableActivationEventEsque {
|
|
|
2379
2690
|
button: number;
|
|
2380
2691
|
}
|
|
2381
2692
|
|
|
2693
|
+
export interface ClickablePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ClickablePreactBaseElementProps<TClass> {
|
|
2694
|
+
children?: preact.ComponentChildren;
|
|
2695
|
+
}
|
|
2696
|
+
|
|
2697
|
+
export interface ClickablePreactBaseElementProps<TClass extends HTMLElement> {
|
|
2698
|
+
/** Assigns a unique key to this element. */
|
|
2699
|
+
key?: preact.Key;
|
|
2700
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2701
|
+
ref?: preact.Ref<TClass>;
|
|
2702
|
+
/** Assigns this element to a parent's slot. */
|
|
2703
|
+
slot?: Lowercase<string>;
|
|
2704
|
+
}
|
|
2705
|
+
|
|
2382
2706
|
export interface ClickableProps extends Required<ClickableBoxProps>, ClickableBaseProps {
|
|
2383
2707
|
}
|
|
2384
2708
|
|
|
@@ -2394,7 +2718,6 @@ export interface ClickableBoxProps extends Pick<
|
|
|
2394
2718
|
| 'borderRadius'
|
|
2395
2719
|
| 'borderStyle'
|
|
2396
2720
|
| 'borderWidth'
|
|
2397
|
-
| 'display'
|
|
2398
2721
|
| 'inlineSize'
|
|
2399
2722
|
| 'maxBlockSize'
|
|
2400
2723
|
| 'maxInlineSize'
|
|
@@ -2517,6 +2840,16 @@ export interface ClickableBoxProps extends Pick<
|
|
|
2517
2840
|
* @default '' - meaning no override
|
|
2518
2841
|
*/
|
|
2519
2842
|
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
2843
|
+
/**
|
|
2844
|
+
* 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).
|
|
2845
|
+
*
|
|
2846
|
+
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
2847
|
+
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
2848
|
+
*
|
|
2849
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
2850
|
+
* @default 'auto'
|
|
2851
|
+
*/
|
|
2852
|
+
display: ResponsiveBoxProps['display'];
|
|
2520
2853
|
}
|
|
2521
2854
|
|
|
2522
2855
|
declare const ClickabletagName = 's-clickable';
|
|
@@ -2527,14 +2860,10 @@ declare const Clickable_base: (abstract new (
|
|
|
2527
2860
|
declare const ClickableBaseClass: typeof globalThis.HTMLElement;
|
|
2528
2861
|
|
|
2529
2862
|
declare module 'preact' {
|
|
2530
|
-
interface BaseProps {
|
|
2531
|
-
children?: preact.ComponentChildren;
|
|
2532
|
-
slot?: Lowercase<string>;
|
|
2533
|
-
}
|
|
2534
|
-
|
|
2535
2863
|
namespace createElement.JSX {
|
|
2536
2864
|
interface IntrinsicElements {
|
|
2537
|
-
[ChoiceListtagName]: ChoiceListJSXProps &
|
|
2865
|
+
[ChoiceListtagName]: ChoiceListJSXProps &
|
|
2866
|
+
ChoiceListPreactBaseElementPropsWithChildren<ChoiceList>;
|
|
2538
2867
|
}
|
|
2539
2868
|
}
|
|
2540
2869
|
}
|
|
@@ -2564,6 +2893,19 @@ export interface ChoiceListActivationEventEsque {
|
|
|
2564
2893
|
button: number;
|
|
2565
2894
|
}
|
|
2566
2895
|
|
|
2896
|
+
export interface ChoiceListPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ChoiceListPreactBaseElementProps<TClass> {
|
|
2897
|
+
children?: preact.ComponentChildren;
|
|
2898
|
+
}
|
|
2899
|
+
|
|
2900
|
+
export interface ChoiceListPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2901
|
+
/** Assigns a unique key to this element. */
|
|
2902
|
+
key?: preact.Key;
|
|
2903
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2904
|
+
ref?: preact.Ref<TClass>;
|
|
2905
|
+
/** Assigns this element to a parent's slot. */
|
|
2906
|
+
slot?: Lowercase<string>;
|
|
2907
|
+
}
|
|
2908
|
+
|
|
2567
2909
|
export interface ChoiceListProps extends Required<
|
|
2568
2910
|
Pick<
|
|
2569
2911
|
ChoiceListProps$1,
|
|
@@ -2591,7 +2933,7 @@ declare const BaseClass$1: typeof globalThis.HTMLElement;
|
|
|
2591
2933
|
declare module 'preact' {
|
|
2592
2934
|
namespace createElement.JSX {
|
|
2593
2935
|
interface IntrinsicElements {
|
|
2594
|
-
[ChoicetagName]: ChoiceJSXProps
|
|
2936
|
+
[ChoicetagName]: ChoiceJSXProps & ChoicePreactBaseElementPropsWithChildren<Choice>;
|
|
2595
2937
|
}
|
|
2596
2938
|
}
|
|
2597
2939
|
}
|
|
@@ -2605,6 +2947,19 @@ declare global {
|
|
|
2605
2947
|
export interface ChoiceJSXProps extends Partial<ChoiceProps>, Pick<ChoiceProps$1, 'id'> {
|
|
2606
2948
|
}
|
|
2607
2949
|
|
|
2950
|
+
export interface ChoicePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ChoicePreactBaseElementProps<TClass> {
|
|
2951
|
+
children?: preact.ComponentChildren;
|
|
2952
|
+
}
|
|
2953
|
+
|
|
2954
|
+
export interface ChoicePreactBaseElementProps<TClass extends HTMLElement> {
|
|
2955
|
+
/** Assigns a unique key to this element. */
|
|
2956
|
+
key?: preact.Key;
|
|
2957
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2958
|
+
ref?: preact.Ref<TClass>;
|
|
2959
|
+
/** Assigns this element to a parent's slot. */
|
|
2960
|
+
slot?: Lowercase<string>;
|
|
2961
|
+
}
|
|
2962
|
+
|
|
2608
2963
|
export interface ChoiceClickOptions {
|
|
2609
2964
|
/**
|
|
2610
2965
|
* The event you want to influence the synthetic click.
|
|
@@ -2639,7 +2994,8 @@ declare const ChoiceBaseClass: typeof globalThis.HTMLElement;
|
|
|
2639
2994
|
declare module 'preact' {
|
|
2640
2995
|
namespace createElement.JSX {
|
|
2641
2996
|
interface IntrinsicElements {
|
|
2642
|
-
[CheckboxtagName]: CheckboxJSXProps
|
|
2997
|
+
[CheckboxtagName]: CheckboxJSXProps &
|
|
2998
|
+
CheckboxPreactBaseElementPropsWithChildren<Checkbox>;
|
|
2643
2999
|
}
|
|
2644
3000
|
}
|
|
2645
3001
|
}
|
|
@@ -2677,6 +3033,19 @@ export interface PreactCheckboxProps extends Required<
|
|
|
2677
3033
|
value: Required<CheckboxProps$1>['value'];
|
|
2678
3034
|
}
|
|
2679
3035
|
|
|
3036
|
+
export interface CheckboxPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends CheckboxPreactBaseElementProps<TClass> {
|
|
3037
|
+
children?: preact.ComponentChildren;
|
|
3038
|
+
}
|
|
3039
|
+
|
|
3040
|
+
export interface CheckboxPreactBaseElementProps<TClass extends HTMLElement> {
|
|
3041
|
+
/** Assigns a unique key to this element. */
|
|
3042
|
+
key?: preact.Key;
|
|
3043
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
3044
|
+
ref?: preact.Ref<TClass>;
|
|
3045
|
+
/** Assigns this element to a parent's slot. */
|
|
3046
|
+
slot?: Lowercase<string>;
|
|
3047
|
+
}
|
|
3048
|
+
|
|
2680
3049
|
export interface CheckboxClickOptions {
|
|
2681
3050
|
/**
|
|
2682
3051
|
* The event you want to influence the synthetic click.
|
|
@@ -2696,14 +3065,9 @@ declare const internals: unique symbol;
|
|
|
2696
3065
|
declare const CheckboxBaseClass: typeof globalThis.HTMLElement;
|
|
2697
3066
|
|
|
2698
3067
|
declare module 'preact' {
|
|
2699
|
-
interface BaseProps {
|
|
2700
|
-
children?: preact.ComponentChildren;
|
|
2701
|
-
slot?: Lowercase<string>;
|
|
2702
|
-
}
|
|
2703
|
-
|
|
2704
3068
|
namespace createElement.JSX {
|
|
2705
3069
|
interface IntrinsicElements {
|
|
2706
|
-
[ButtontagName]: ButtonJSXProps &
|
|
3070
|
+
[ButtontagName]: ButtonJSXProps & ButtonPreactBaseElementPropsWithChildren<Button>;
|
|
2707
3071
|
}
|
|
2708
3072
|
}
|
|
2709
3073
|
}
|
|
@@ -2755,6 +3119,19 @@ export interface ButtonActivationEventEsque {
|
|
|
2755
3119
|
button: number;
|
|
2756
3120
|
}
|
|
2757
3121
|
|
|
3122
|
+
export interface ButtonPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ButtonPreactBaseElementProps<TClass> {
|
|
3123
|
+
children?: preact.ComponentChildren;
|
|
3124
|
+
}
|
|
3125
|
+
|
|
3126
|
+
export interface ButtonPreactBaseElementProps<TClass extends HTMLElement> {
|
|
3127
|
+
/** Assigns a unique key to this element. */
|
|
3128
|
+
key?: preact.Key;
|
|
3129
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
3130
|
+
ref?: preact.Ref<TClass>;
|
|
3131
|
+
/** Assigns this element to a parent's slot. */
|
|
3132
|
+
slot?: Lowercase<string>;
|
|
3133
|
+
}
|
|
3134
|
+
|
|
2758
3135
|
export interface ButtonProps extends ButtonBaseProps {
|
|
2759
3136
|
tone: Extract<ButtonProps$1['tone'], 'neutral' | 'critical' | 'auto'>;
|
|
2760
3137
|
icon: ButtonIconProps['type'];
|
|
@@ -2781,14 +3158,9 @@ declare const Button_base: (abstract new (
|
|
|
2781
3158
|
declare const ButtonBaseClass: typeof globalThis.HTMLElement;
|
|
2782
3159
|
|
|
2783
3160
|
declare module 'preact' {
|
|
2784
|
-
interface BaseProps {
|
|
2785
|
-
children?: preact.ComponentChildren;
|
|
2786
|
-
slot?: Lowercase<string>;
|
|
2787
|
-
}
|
|
2788
|
-
|
|
2789
3161
|
namespace createElement.JSX {
|
|
2790
3162
|
interface IntrinsicElements {
|
|
2791
|
-
[BoxtagName]: BoxJSXProps &
|
|
3163
|
+
[BoxtagName]: BoxJSXProps & BoxPreactBaseElementPropsWithChildren<Box>;
|
|
2792
3164
|
}
|
|
2793
3165
|
}
|
|
2794
3166
|
}
|
|
@@ -2802,6 +3174,19 @@ declare global {
|
|
|
2802
3174
|
export interface BoxJSXProps extends Partial<BoxProps>, Pick<BoxProps$1, 'id'> {
|
|
2803
3175
|
}
|
|
2804
3176
|
|
|
3177
|
+
export interface BoxPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends BoxPreactBaseElementProps<TClass> {
|
|
3178
|
+
children?: preact.ComponentChildren;
|
|
3179
|
+
}
|
|
3180
|
+
|
|
3181
|
+
export interface BoxPreactBaseElementProps<TClass extends HTMLElement> {
|
|
3182
|
+
/** Assigns a unique key to this element. */
|
|
3183
|
+
key?: preact.Key;
|
|
3184
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
3185
|
+
ref?: preact.Ref<TClass>;
|
|
3186
|
+
/** Assigns this element to a parent's slot. */
|
|
3187
|
+
slot?: Lowercase<string>;
|
|
3188
|
+
}
|
|
3189
|
+
|
|
2805
3190
|
export interface BoxClickOptions {
|
|
2806
3191
|
/**
|
|
2807
3192
|
* The event you want to influence the synthetic click.
|
|
@@ -2828,7 +3213,6 @@ export interface BoxProps extends Pick<
|
|
|
2828
3213
|
| 'borderRadius'
|
|
2829
3214
|
| 'borderStyle'
|
|
2830
3215
|
| 'borderWidth'
|
|
2831
|
-
| 'display'
|
|
2832
3216
|
| 'inlineSize'
|
|
2833
3217
|
| 'maxBlockSize'
|
|
2834
3218
|
| 'maxInlineSize'
|
|
@@ -2951,20 +3335,26 @@ export interface BoxProps extends Pick<
|
|
|
2951
3335
|
* @default '' - meaning no override
|
|
2952
3336
|
*/
|
|
2953
3337
|
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
3338
|
+
/**
|
|
3339
|
+
* 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).
|
|
3340
|
+
*
|
|
3341
|
+
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
3342
|
+
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
3343
|
+
*
|
|
3344
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
3345
|
+
* @default 'auto'
|
|
3346
|
+
*/
|
|
3347
|
+
display: ResponsiveBoxProps['display'];
|
|
2954
3348
|
}
|
|
2955
3349
|
|
|
2956
3350
|
declare const BoxtagName = 's-box';
|
|
2957
3351
|
declare const BoxBaseClass: typeof globalThis.HTMLElement;
|
|
2958
3352
|
|
|
2959
3353
|
declare module 'preact' {
|
|
2960
|
-
interface BaseProps {
|
|
2961
|
-
children?: preact.ComponentChildren;
|
|
2962
|
-
slot?: Lowercase<string>;
|
|
2963
|
-
}
|
|
2964
|
-
|
|
2965
3354
|
namespace createElement.JSX {
|
|
2966
3355
|
interface IntrinsicElements {
|
|
2967
|
-
[BannertagName]: Omit<BannerJSXProps, 'secondaryActions'> &
|
|
3356
|
+
[BannertagName]: Omit<BannerJSXProps, 'secondaryActions'> &
|
|
3357
|
+
BannerPreactBaseElementPropsWithChildren<Banner>;
|
|
2968
3358
|
}
|
|
2969
3359
|
}
|
|
2970
3360
|
}
|
|
@@ -3000,6 +3390,19 @@ export interface BannerActivationEventEsque {
|
|
|
3000
3390
|
button: number;
|
|
3001
3391
|
}
|
|
3002
3392
|
|
|
3393
|
+
export interface BannerPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends BannerPreactBaseElementProps<TClass> {
|
|
3394
|
+
children?: preact.ComponentChildren;
|
|
3395
|
+
}
|
|
3396
|
+
|
|
3397
|
+
export interface BannerPreactBaseElementProps<TClass extends HTMLElement> {
|
|
3398
|
+
/** Assigns a unique key to this element. */
|
|
3399
|
+
key?: preact.Key;
|
|
3400
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
3401
|
+
ref?: preact.Ref<TClass>;
|
|
3402
|
+
/** Assigns this element to a parent's slot. */
|
|
3403
|
+
slot?: Lowercase<string>;
|
|
3404
|
+
}
|
|
3405
|
+
|
|
3003
3406
|
export interface BannerProps extends Pick<
|
|
3004
3407
|
RequiredBannerProps,
|
|
3005
3408
|
'heading' | 'dismissible' | 'hidden' | 'tone'
|
|
@@ -3014,14 +3417,9 @@ declare const BannertagName = 's-banner';
|
|
|
3014
3417
|
declare const BannerBaseClass: typeof globalThis.HTMLElement;
|
|
3015
3418
|
|
|
3016
3419
|
declare module 'preact' {
|
|
3017
|
-
interface BaseProps {
|
|
3018
|
-
children?: preact.ComponentChildren;
|
|
3019
|
-
slot?: Lowercase<string>;
|
|
3020
|
-
}
|
|
3021
|
-
|
|
3022
3420
|
namespace createElement.JSX {
|
|
3023
3421
|
interface IntrinsicElements {
|
|
3024
|
-
[tagName]: BadgeJSXProps &
|
|
3422
|
+
[tagName]: BadgeJSXProps & PreactBaseElementPropsWithChildren<Badge>;
|
|
3025
3423
|
}
|
|
3026
3424
|
}
|
|
3027
3425
|
}
|
|
@@ -3035,6 +3433,19 @@ declare global {
|
|
|
3035
3433
|
export interface BadgeJSXProps extends Partial<BadgeProps>, Pick<BadgeProps$1, 'id'> {
|
|
3036
3434
|
}
|
|
3037
3435
|
|
|
3436
|
+
export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends PreactBaseElementProps<TClass> {
|
|
3437
|
+
children?: preact.ComponentChildren;
|
|
3438
|
+
}
|
|
3439
|
+
|
|
3440
|
+
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
3441
|
+
/** Assigns a unique key to this element. */
|
|
3442
|
+
key?: preact.Key;
|
|
3443
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
3444
|
+
ref?: preact.Ref<TClass>;
|
|
3445
|
+
/** Assigns this element to a parent's slot. */
|
|
3446
|
+
slot?: Lowercase<string>;
|
|
3447
|
+
}
|
|
3448
|
+
|
|
3038
3449
|
export interface ClickOptions {
|
|
3039
3450
|
/**
|
|
3040
3451
|
* The event you want to influence the synthetic click.
|
|
@@ -3105,9 +3516,10 @@ import { OptionGroup } from "../../../../../src/surfaces/admin/components/Option
|
|
|
3105
3516
|
import { OrderedList } from "../../../../../src/surfaces/admin/components/OrderedList";
|
|
3106
3517
|
import { Paragraph } from "../../../../../src/surfaces/admin/components/Paragraph";
|
|
3107
3518
|
import { PasswordField, PasswordFieldProps } from "../../../../../src/surfaces/admin/components/PasswordField";
|
|
3519
|
+
import { QueryContainer } from "../../../../../src/surfaces/admin/components/QueryContainer";
|
|
3108
3520
|
import { RequiredSectionProps, Section } from "../../../../../src/surfaces/admin/components/Section";
|
|
3109
3521
|
import { Select } from "../../../../../src/surfaces/admin/components/Select";
|
|
3110
|
-
import { AdminBlockProps$1, 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";
|
|
3522
|
+
import { AdminBlockProps$1, 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";
|
|
3111
3523
|
import { Spinner } from "../../../../../src/surfaces/admin/components/Spinner";
|
|
3112
3524
|
import { AlignedStackProps, ResponsiveStackProps, Stack } from "../../../../../src/surfaces/admin/components/Stack";
|
|
3113
3525
|
import { Table } from "../../../../../src/surfaces/admin/components/Table";
|