@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
|
@@ -38,13 +38,9 @@ declare const AdminPrintActionBaseClass: typeof globalThis.HTMLElement;
|
|
|
38
38
|
declare const AdminPrintActiontagName = 's-admin-print-action';
|
|
39
39
|
|
|
40
40
|
declare module 'preact' {
|
|
41
|
-
interface BaseProps {
|
|
42
|
-
slot?: Lowercase<string>;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
41
|
namespace createElement.JSX {
|
|
46
42
|
interface IntrinsicElements {
|
|
47
|
-
[URLFieldtagName]: URLFieldJSXProps &
|
|
43
|
+
[URLFieldtagName]: URLFieldJSXProps & URLFieldPreactBaseElementProps<URLField>;
|
|
48
44
|
}
|
|
49
45
|
}
|
|
50
46
|
}
|
|
@@ -58,6 +54,15 @@ declare global {
|
|
|
58
54
|
export interface URLFieldJSXProps extends Partial<Omit<URLFieldProps, 'accessory'>>, Pick<URLFieldProps$1, 'id'>, URLFieldFieldReactProps<typeof URLFieldtagName> {
|
|
59
55
|
}
|
|
60
56
|
|
|
57
|
+
export interface URLFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
58
|
+
/** Assigns a unique key to this element. */
|
|
59
|
+
key?: preact.Key;
|
|
60
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
61
|
+
ref?: preact.Ref<TClass>;
|
|
62
|
+
/** Assigns this element to a parent's slot. */
|
|
63
|
+
slot?: Lowercase<string>;
|
|
64
|
+
}
|
|
65
|
+
|
|
61
66
|
export interface URLFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
62
67
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
63
68
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -84,14 +89,10 @@ declare const URLFieldinternals: unique symbol;
|
|
|
84
89
|
declare const URLFieldBaseClass: typeof globalThis.HTMLElement;
|
|
85
90
|
|
|
86
91
|
declare module 'preact' {
|
|
87
|
-
interface BaseProps {
|
|
88
|
-
children?: preact.ComponentChildren;
|
|
89
|
-
slot?: Lowercase<string>;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
92
|
namespace createElement.JSX {
|
|
93
93
|
interface IntrinsicElements {
|
|
94
|
-
[UnorderedListtagName]: UnorderedListJSXProps &
|
|
94
|
+
[UnorderedListtagName]: UnorderedListJSXProps &
|
|
95
|
+
UnorderedListPreactBaseElementPropsWithChildren<UnorderedList>;
|
|
95
96
|
}
|
|
96
97
|
}
|
|
97
98
|
}
|
|
@@ -105,6 +106,19 @@ declare global {
|
|
|
105
106
|
export interface UnorderedListJSXProps extends Partial<UnorderedListProps>, Pick<UnorderedListProps$1, 'id'> {
|
|
106
107
|
}
|
|
107
108
|
|
|
109
|
+
export interface UnorderedListPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends UnorderedListPreactBaseElementProps<TClass> {
|
|
110
|
+
children?: preact.ComponentChildren;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export interface UnorderedListPreactBaseElementProps<TClass extends HTMLElement> {
|
|
114
|
+
/** Assigns a unique key to this element. */
|
|
115
|
+
key?: preact.Key;
|
|
116
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
117
|
+
ref?: preact.Ref<TClass>;
|
|
118
|
+
/** Assigns this element to a parent's slot. */
|
|
119
|
+
slot?: Lowercase<string>;
|
|
120
|
+
}
|
|
121
|
+
|
|
108
122
|
export interface UnorderedListClickOptions {
|
|
109
123
|
/**
|
|
110
124
|
* The event you want to influence the synthetic click.
|
|
@@ -126,13 +140,10 @@ declare const UnorderedListtagName = 's-unordered-list';
|
|
|
126
140
|
declare const UnorderedListBaseClass: typeof globalThis.HTMLElement;
|
|
127
141
|
|
|
128
142
|
declare module 'preact' {
|
|
129
|
-
interface BaseProps {
|
|
130
|
-
slot?: Lowercase<string>;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
143
|
namespace createElement.JSX {
|
|
134
144
|
interface IntrinsicElements {
|
|
135
|
-
[TextFieldtagName]: Omit<TextFieldJSXProps, 'accessory'> &
|
|
145
|
+
[TextFieldtagName]: Omit<TextFieldJSXProps, 'accessory'> &
|
|
146
|
+
TextFieldPreactBaseElementProps<TextField>;
|
|
136
147
|
}
|
|
137
148
|
}
|
|
138
149
|
}
|
|
@@ -150,6 +161,15 @@ export interface TextFieldJSXProps extends Partial<Omit<TextFieldProps, 'accesso
|
|
|
150
161
|
accessory?: ComponentChild;
|
|
151
162
|
}
|
|
152
163
|
|
|
164
|
+
export interface TextFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
165
|
+
/** Assigns a unique key to this element. */
|
|
166
|
+
key?: preact.Key;
|
|
167
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
168
|
+
ref?: preact.Ref<TClass>;
|
|
169
|
+
/** Assigns this element to a parent's slot. */
|
|
170
|
+
slot?: Lowercase<string>;
|
|
171
|
+
}
|
|
172
|
+
|
|
153
173
|
export interface TextFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
154
174
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
155
175
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -176,13 +196,9 @@ declare const TextFieldinternals: unique symbol;
|
|
|
176
196
|
declare const TextFieldBaseClass: typeof globalThis.HTMLElement;
|
|
177
197
|
|
|
178
198
|
declare module 'preact' {
|
|
179
|
-
interface BaseProps {
|
|
180
|
-
slot?: Lowercase<string>;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
199
|
namespace createElement.JSX {
|
|
184
200
|
interface IntrinsicElements {
|
|
185
|
-
[TextAreatagName]: TextAreaJSXProps &
|
|
201
|
+
[TextAreatagName]: TextAreaJSXProps & TextAreaPreactBaseElementProps<TextArea>;
|
|
186
202
|
}
|
|
187
203
|
}
|
|
188
204
|
}
|
|
@@ -196,6 +212,15 @@ declare global {
|
|
|
196
212
|
export interface TextAreaJSXProps extends Partial<TextAreaProps>, Pick<TextAreaProps$1, 'id'>, TextAreaFieldReactProps<typeof TextAreatagName> {
|
|
197
213
|
}
|
|
198
214
|
|
|
215
|
+
export interface TextAreaPreactBaseElementProps<TClass extends HTMLElement> {
|
|
216
|
+
/** Assigns a unique key to this element. */
|
|
217
|
+
key?: preact.Key;
|
|
218
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
219
|
+
ref?: preact.Ref<TClass>;
|
|
220
|
+
/** Assigns this element to a parent's slot. */
|
|
221
|
+
slot?: Lowercase<string>;
|
|
222
|
+
}
|
|
223
|
+
|
|
199
224
|
export interface TextAreaFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
200
225
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
201
226
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -222,14 +247,9 @@ declare const TextAreainternals: unique symbol;
|
|
|
222
247
|
declare const TextAreaBaseClass: typeof globalThis.HTMLElement;
|
|
223
248
|
|
|
224
249
|
declare module 'preact' {
|
|
225
|
-
interface BaseProps {
|
|
226
|
-
children?: preact.ComponentChildren;
|
|
227
|
-
slot?: Lowercase<string>;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
250
|
namespace createElement.JSX {
|
|
231
251
|
interface IntrinsicElements {
|
|
232
|
-
[TexttagName]: TextJSXProps &
|
|
252
|
+
[TexttagName]: TextJSXProps & TextPreactBaseElementPropsWithChildren<Text>;
|
|
233
253
|
}
|
|
234
254
|
}
|
|
235
255
|
}
|
|
@@ -243,6 +263,19 @@ declare global {
|
|
|
243
263
|
export interface TextJSXProps extends Partial<TextProps>, Pick<TextProps$1, 'id'> {
|
|
244
264
|
}
|
|
245
265
|
|
|
266
|
+
export interface TextPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TextPreactBaseElementProps<TClass> {
|
|
267
|
+
children?: preact.ComponentChildren;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
export interface TextPreactBaseElementProps<TClass extends HTMLElement> {
|
|
271
|
+
/** Assigns a unique key to this element. */
|
|
272
|
+
key?: preact.Key;
|
|
273
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
274
|
+
ref?: preact.Ref<TClass>;
|
|
275
|
+
/** Assigns this element to a parent's slot. */
|
|
276
|
+
slot?: Lowercase<string>;
|
|
277
|
+
}
|
|
278
|
+
|
|
246
279
|
export interface TextClickOptions {
|
|
247
280
|
/**
|
|
248
281
|
* The event you want to influence the synthetic click.
|
|
@@ -287,14 +320,10 @@ declare const TexttagName = 's-text';
|
|
|
287
320
|
declare const TextBaseClass: typeof globalThis.HTMLElement;
|
|
288
321
|
|
|
289
322
|
declare module 'preact' {
|
|
290
|
-
interface BaseProps {
|
|
291
|
-
children?: preact.ComponentChildren;
|
|
292
|
-
slot?: Lowercase<string>;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
323
|
namespace createElement.JSX {
|
|
296
324
|
interface IntrinsicElements {
|
|
297
|
-
[TableRowtagName]: TableRowJSXProps &
|
|
325
|
+
[TableRowtagName]: TableRowJSXProps &
|
|
326
|
+
TableRowPreactBaseElementPropsWithChildren<TableRow>;
|
|
298
327
|
}
|
|
299
328
|
}
|
|
300
329
|
}
|
|
@@ -308,6 +337,19 @@ declare global {
|
|
|
308
337
|
export interface TableRowJSXProps extends Partial<TableRowProps>, Pick<TableRowProps$1, 'id'> {
|
|
309
338
|
}
|
|
310
339
|
|
|
340
|
+
export interface TableRowPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableRowPreactBaseElementProps<TClass> {
|
|
341
|
+
children?: preact.ComponentChildren;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
export interface TableRowPreactBaseElementProps<TClass extends HTMLElement> {
|
|
345
|
+
/** Assigns a unique key to this element. */
|
|
346
|
+
key?: preact.Key;
|
|
347
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
348
|
+
ref?: preact.Ref<TClass>;
|
|
349
|
+
/** Assigns this element to a parent's slot. */
|
|
350
|
+
slot?: Lowercase<string>;
|
|
351
|
+
}
|
|
352
|
+
|
|
311
353
|
export interface TableRowClickOptions {
|
|
312
354
|
/**
|
|
313
355
|
* The event you want to influence the synthetic click.
|
|
@@ -329,14 +371,10 @@ declare const TableRowtagName = 's-table-row';
|
|
|
329
371
|
declare const TableRowBaseClass: typeof globalThis.HTMLElement;
|
|
330
372
|
|
|
331
373
|
declare module 'preact' {
|
|
332
|
-
interface BaseProps {
|
|
333
|
-
children?: preact.ComponentChildren;
|
|
334
|
-
slot?: Lowercase<string>;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
374
|
namespace createElement.JSX {
|
|
338
375
|
interface IntrinsicElements {
|
|
339
|
-
[TableHeaderRowtagName]: TableHeaderRowJSXProps &
|
|
376
|
+
[TableHeaderRowtagName]: TableHeaderRowJSXProps &
|
|
377
|
+
TableHeaderRowPreactBaseElementPropsWithChildren<TableHeaderRow>;
|
|
340
378
|
}
|
|
341
379
|
}
|
|
342
380
|
}
|
|
@@ -350,6 +388,19 @@ declare global {
|
|
|
350
388
|
export interface TableHeaderRowJSXProps extends Partial<TableHeaderRowProps>, Pick<TableHeaderRowProps$1, 'id'> {
|
|
351
389
|
}
|
|
352
390
|
|
|
391
|
+
export interface TableHeaderRowPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableHeaderRowPreactBaseElementProps<TClass> {
|
|
392
|
+
children?: preact.ComponentChildren;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
export interface TableHeaderRowPreactBaseElementProps<TClass extends HTMLElement> {
|
|
396
|
+
/** Assigns a unique key to this element. */
|
|
397
|
+
key?: preact.Key;
|
|
398
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
399
|
+
ref?: preact.Ref<TClass>;
|
|
400
|
+
/** Assigns this element to a parent's slot. */
|
|
401
|
+
slot?: Lowercase<string>;
|
|
402
|
+
}
|
|
403
|
+
|
|
353
404
|
export interface TableHeaderRowClickOptions {
|
|
354
405
|
/**
|
|
355
406
|
* The event you want to influence the synthetic click.
|
|
@@ -371,14 +422,10 @@ declare const TableHeaderRowtagName = 's-table-header-row';
|
|
|
371
422
|
declare const TableHeaderRowBaseClass: typeof globalThis.HTMLElement;
|
|
372
423
|
|
|
373
424
|
declare module 'preact' {
|
|
374
|
-
interface BaseProps {
|
|
375
|
-
children?: preact.ComponentChildren;
|
|
376
|
-
slot?: Lowercase<string>;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
425
|
namespace createElement.JSX {
|
|
380
426
|
interface IntrinsicElements {
|
|
381
|
-
[TableHeadertagName]: TableHeaderJSXProps &
|
|
427
|
+
[TableHeadertagName]: TableHeaderJSXProps &
|
|
428
|
+
TableHeaderPreactBaseElementPropsWithChildren<TableHeader>;
|
|
382
429
|
}
|
|
383
430
|
}
|
|
384
431
|
}
|
|
@@ -392,6 +439,19 @@ declare global {
|
|
|
392
439
|
export interface TableHeaderJSXProps extends Partial<TableHeaderTableHeaderProps>, Pick<TableHeaderProps$1, 'id'> {
|
|
393
440
|
}
|
|
394
441
|
|
|
442
|
+
export interface TableHeaderPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableHeaderPreactBaseElementProps<TClass> {
|
|
443
|
+
children?: preact.ComponentChildren;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
export interface TableHeaderPreactBaseElementProps<TClass extends HTMLElement> {
|
|
447
|
+
/** Assigns a unique key to this element. */
|
|
448
|
+
key?: preact.Key;
|
|
449
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
450
|
+
ref?: preact.Ref<TClass>;
|
|
451
|
+
/** Assigns this element to a parent's slot. */
|
|
452
|
+
slot?: Lowercase<string>;
|
|
453
|
+
}
|
|
454
|
+
|
|
395
455
|
export interface TableHeaderClickOptions {
|
|
396
456
|
/**
|
|
397
457
|
* The event you want to influence the synthetic click.
|
|
@@ -417,14 +477,10 @@ declare const TableHeadertagName = 's-table-header';
|
|
|
417
477
|
declare const TableHeaderBaseClass: typeof globalThis.HTMLElement;
|
|
418
478
|
|
|
419
479
|
declare module 'preact' {
|
|
420
|
-
interface BaseProps {
|
|
421
|
-
children?: preact.ComponentChildren;
|
|
422
|
-
slot?: Lowercase<string>;
|
|
423
|
-
}
|
|
424
|
-
|
|
425
480
|
namespace createElement.JSX {
|
|
426
481
|
interface IntrinsicElements {
|
|
427
|
-
[TableCelltagName]: TableCellJSXProps &
|
|
482
|
+
[TableCelltagName]: TableCellJSXProps &
|
|
483
|
+
TableCellPreactBaseElementPropsWithChildren<TableCell>;
|
|
428
484
|
}
|
|
429
485
|
}
|
|
430
486
|
}
|
|
@@ -438,6 +494,19 @@ declare global {
|
|
|
438
494
|
export interface TableCellJSXProps extends Partial<TableCellProps>, Pick<TableCellProps$1, 'id'> {
|
|
439
495
|
}
|
|
440
496
|
|
|
497
|
+
export interface TableCellPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableCellPreactBaseElementProps<TClass> {
|
|
498
|
+
children?: preact.ComponentChildren;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
export interface TableCellPreactBaseElementProps<TClass extends HTMLElement> {
|
|
502
|
+
/** Assigns a unique key to this element. */
|
|
503
|
+
key?: preact.Key;
|
|
504
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
505
|
+
ref?: preact.Ref<TClass>;
|
|
506
|
+
/** Assigns this element to a parent's slot. */
|
|
507
|
+
slot?: Lowercase<string>;
|
|
508
|
+
}
|
|
509
|
+
|
|
441
510
|
export interface TableCellClickOptions {
|
|
442
511
|
/**
|
|
443
512
|
* The event you want to influence the synthetic click.
|
|
@@ -459,14 +528,10 @@ declare const TableCelltagName = 's-table-cell';
|
|
|
459
528
|
declare const TableCellBaseClass: typeof globalThis.HTMLElement;
|
|
460
529
|
|
|
461
530
|
declare module 'preact' {
|
|
462
|
-
interface BaseProps {
|
|
463
|
-
children?: preact.ComponentChildren;
|
|
464
|
-
slot?: Lowercase<string>;
|
|
465
|
-
}
|
|
466
|
-
|
|
467
531
|
namespace createElement.JSX {
|
|
468
532
|
interface IntrinsicElements {
|
|
469
|
-
[TableBodytagName]: TableBodyJSXProps &
|
|
533
|
+
[TableBodytagName]: TableBodyJSXProps &
|
|
534
|
+
TableBodyPreactBaseElementPropsWithChildren<TableBody>;
|
|
470
535
|
}
|
|
471
536
|
}
|
|
472
537
|
}
|
|
@@ -480,6 +545,19 @@ declare global {
|
|
|
480
545
|
export interface TableBodyJSXProps extends Partial<TableBodyProps>, Pick<TableBodyProps$1, 'id'> {
|
|
481
546
|
}
|
|
482
547
|
|
|
548
|
+
export interface TableBodyPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableBodyPreactBaseElementProps<TClass> {
|
|
549
|
+
children?: preact.ComponentChildren;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
export interface TableBodyPreactBaseElementProps<TClass extends HTMLElement> {
|
|
553
|
+
/** Assigns a unique key to this element. */
|
|
554
|
+
key?: preact.Key;
|
|
555
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
556
|
+
ref?: preact.Ref<TClass>;
|
|
557
|
+
/** Assigns this element to a parent's slot. */
|
|
558
|
+
slot?: Lowercase<string>;
|
|
559
|
+
}
|
|
560
|
+
|
|
483
561
|
export interface TableBodyClickOptions {
|
|
484
562
|
/**
|
|
485
563
|
* The event you want to influence the synthetic click.
|
|
@@ -501,14 +579,10 @@ declare const TableBodytagName = 's-table-body';
|
|
|
501
579
|
declare const TableBodyBaseClass: typeof globalThis.HTMLElement;
|
|
502
580
|
|
|
503
581
|
declare module 'preact' {
|
|
504
|
-
interface BaseProps {
|
|
505
|
-
children?: preact.ComponentChildren;
|
|
506
|
-
slot?: Lowercase<string>;
|
|
507
|
-
}
|
|
508
|
-
|
|
509
582
|
namespace createElement.JSX {
|
|
510
583
|
interface IntrinsicElements {
|
|
511
|
-
[TabletagName]: Omit<TableJSXProps, 'filters'> &
|
|
584
|
+
[TabletagName]: Omit<TableJSXProps, 'filters'> &
|
|
585
|
+
TablePreactBaseElementPropsWithChildren<Table>;
|
|
512
586
|
}
|
|
513
587
|
}
|
|
514
588
|
}
|
|
@@ -526,6 +600,19 @@ export interface TableJSXProps extends Partial<TableProps>, Pick<TableProps$1, '
|
|
|
526
600
|
filters?: ComponentChild;
|
|
527
601
|
}
|
|
528
602
|
|
|
603
|
+
export interface TablePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TablePreactBaseElementProps<TClass> {
|
|
604
|
+
children?: preact.ComponentChildren;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
export interface TablePreactBaseElementProps<TClass extends HTMLElement> {
|
|
608
|
+
/** Assigns a unique key to this element. */
|
|
609
|
+
key?: preact.Key;
|
|
610
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
611
|
+
ref?: preact.Ref<TClass>;
|
|
612
|
+
/** Assigns this element to a parent's slot. */
|
|
613
|
+
slot?: Lowercase<string>;
|
|
614
|
+
}
|
|
615
|
+
|
|
529
616
|
export interface TableClickOptions {
|
|
530
617
|
/**
|
|
531
618
|
* The event you want to influence the synthetic click.
|
|
@@ -562,14 +649,9 @@ declare const actualTableVariantSymbol: unique symbol;
|
|
|
562
649
|
declare const TableBaseClass: typeof globalThis.HTMLElement;
|
|
563
650
|
|
|
564
651
|
declare module 'preact' {
|
|
565
|
-
interface BaseProps {
|
|
566
|
-
children?: preact.ComponentChildren;
|
|
567
|
-
slot?: Lowercase<string>;
|
|
568
|
-
}
|
|
569
|
-
|
|
570
652
|
namespace createElement.JSX {
|
|
571
653
|
interface IntrinsicElements {
|
|
572
|
-
[StacktagName]: StackJSXProps &
|
|
654
|
+
[StacktagName]: StackJSXProps & StackPreactBaseElementPropsWithChildren<Stack>;
|
|
573
655
|
}
|
|
574
656
|
}
|
|
575
657
|
}
|
|
@@ -583,6 +665,19 @@ declare global {
|
|
|
583
665
|
export interface StackJSXProps extends Partial<StackProps>, Pick<StackProps$1, 'id'> {
|
|
584
666
|
}
|
|
585
667
|
|
|
668
|
+
export interface StackPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends StackPreactBaseElementProps<TClass> {
|
|
669
|
+
children?: preact.ComponentChildren;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
export interface StackPreactBaseElementProps<TClass extends HTMLElement> {
|
|
673
|
+
/** Assigns a unique key to this element. */
|
|
674
|
+
key?: preact.Key;
|
|
675
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
676
|
+
ref?: preact.Ref<TClass>;
|
|
677
|
+
/** Assigns this element to a parent's slot. */
|
|
678
|
+
slot?: Lowercase<string>;
|
|
679
|
+
}
|
|
680
|
+
|
|
586
681
|
export interface StackClickOptions {
|
|
587
682
|
/**
|
|
588
683
|
* The event you want to influence the synthetic click.
|
|
@@ -658,7 +753,6 @@ export interface StackBoxProps extends Pick<
|
|
|
658
753
|
| 'borderRadius'
|
|
659
754
|
| 'borderStyle'
|
|
660
755
|
| 'borderWidth'
|
|
661
|
-
| 'display'
|
|
662
756
|
| 'inlineSize'
|
|
663
757
|
| 'maxBlockSize'
|
|
664
758
|
| 'maxInlineSize'
|
|
@@ -781,6 +875,16 @@ export interface StackBoxProps extends Pick<
|
|
|
781
875
|
* @default '' - meaning no override
|
|
782
876
|
*/
|
|
783
877
|
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
878
|
+
/**
|
|
879
|
+
* 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).
|
|
880
|
+
*
|
|
881
|
+
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
882
|
+
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
883
|
+
*
|
|
884
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
885
|
+
* @default 'auto'
|
|
886
|
+
*/
|
|
887
|
+
display: ResponsiveBoxProps['display'];
|
|
784
888
|
}
|
|
785
889
|
|
|
786
890
|
declare const StacktagName = 's-stack';
|
|
@@ -789,7 +893,7 @@ declare const StackBaseClass: typeof globalThis.HTMLElement;
|
|
|
789
893
|
declare module 'preact' {
|
|
790
894
|
namespace createElement.JSX {
|
|
791
895
|
interface IntrinsicElements {
|
|
792
|
-
[SpinnertagName]: SpinnerJSXProps
|
|
896
|
+
[SpinnertagName]: SpinnerJSXProps & SpinnerPreactBaseElementProps<Spinner>;
|
|
793
897
|
}
|
|
794
898
|
}
|
|
795
899
|
}
|
|
@@ -803,6 +907,15 @@ declare global {
|
|
|
803
907
|
export interface SpinnerJSXProps extends Partial<SpinnerProps>, Pick<SpinnerProps$1, 'id'> {
|
|
804
908
|
}
|
|
805
909
|
|
|
910
|
+
export interface SpinnerPreactBaseElementProps<TClass extends HTMLElement> {
|
|
911
|
+
/** Assigns a unique key to this element. */
|
|
912
|
+
key?: preact.Key;
|
|
913
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
914
|
+
ref?: preact.Ref<TClass>;
|
|
915
|
+
/** Assigns this element to a parent's slot. */
|
|
916
|
+
slot?: Lowercase<string>;
|
|
917
|
+
}
|
|
918
|
+
|
|
806
919
|
export interface SpinnerClickOptions {
|
|
807
920
|
/**
|
|
808
921
|
* The event you want to influence the synthetic click.
|
|
@@ -825,14 +938,9 @@ declare const SpinnertagName = 's-spinner';
|
|
|
825
938
|
declare const SpinnerBaseClass: typeof globalThis.HTMLElement;
|
|
826
939
|
|
|
827
940
|
declare module 'preact' {
|
|
828
|
-
interface BaseProps {
|
|
829
|
-
children?: preact.ComponentChildren;
|
|
830
|
-
slot?: Lowercase<string>;
|
|
831
|
-
}
|
|
832
|
-
|
|
833
941
|
namespace createElement.JSX {
|
|
834
942
|
interface IntrinsicElements {
|
|
835
|
-
[SelecttagName]: SelectJSXProps &
|
|
943
|
+
[SelecttagName]: SelectJSXProps & SelectPreactBaseElementPropsWithChildren<Select>;
|
|
836
944
|
}
|
|
837
945
|
}
|
|
838
946
|
}
|
|
@@ -867,6 +975,19 @@ export interface SelectProps extends Omit<PreactInputProps, 'value'>, Required<
|
|
|
867
975
|
value: Required<SelectProps$1>['value'];
|
|
868
976
|
}
|
|
869
977
|
|
|
978
|
+
export interface SelectPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends SelectPreactBaseElementProps<TClass> {
|
|
979
|
+
children?: preact.ComponentChildren;
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
export interface SelectPreactBaseElementProps<TClass extends HTMLElement> {
|
|
983
|
+
/** Assigns a unique key to this element. */
|
|
984
|
+
key?: preact.Key;
|
|
985
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
986
|
+
ref?: preact.Ref<TClass>;
|
|
987
|
+
/** Assigns this element to a parent's slot. */
|
|
988
|
+
slot?: Lowercase<string>;
|
|
989
|
+
}
|
|
990
|
+
|
|
870
991
|
export interface SelectClickOptions {
|
|
871
992
|
/**
|
|
872
993
|
* The event you want to influence the synthetic click.
|
|
@@ -888,14 +1009,9 @@ declare const Selectinternals: unique symbol;
|
|
|
888
1009
|
declare const SelectBaseClass: typeof globalThis.HTMLElement;
|
|
889
1010
|
|
|
890
1011
|
declare module 'preact' {
|
|
891
|
-
interface BaseProps {
|
|
892
|
-
children?: preact.ComponentChildren;
|
|
893
|
-
slot?: Lowercase<string>;
|
|
894
|
-
}
|
|
895
|
-
|
|
896
1012
|
namespace createElement.JSX {
|
|
897
1013
|
interface IntrinsicElements {
|
|
898
|
-
[SectiontagName]: SectionJSXProps &
|
|
1014
|
+
[SectiontagName]: SectionJSXProps & SectionPreactBaseElementPropsWithChildren<Section>;
|
|
899
1015
|
}
|
|
900
1016
|
}
|
|
901
1017
|
}
|
|
@@ -909,6 +1025,19 @@ declare global {
|
|
|
909
1025
|
export interface SectionJSXProps extends Partial<SectionProps>, Pick<SectionProps$1, 'id'> {
|
|
910
1026
|
}
|
|
911
1027
|
|
|
1028
|
+
export interface SectionPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends SectionPreactBaseElementProps<TClass> {
|
|
1029
|
+
children?: preact.ComponentChildren;
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
export interface SectionPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1033
|
+
/** Assigns a unique key to this element. */
|
|
1034
|
+
key?: preact.Key;
|
|
1035
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1036
|
+
ref?: preact.Ref<TClass>;
|
|
1037
|
+
/** Assigns this element to a parent's slot. */
|
|
1038
|
+
slot?: Lowercase<string>;
|
|
1039
|
+
}
|
|
1040
|
+
|
|
912
1041
|
export interface SectionClickOptions {
|
|
913
1042
|
/**
|
|
914
1043
|
* The event you want to influence the synthetic click.
|
|
@@ -936,13 +1065,50 @@ declare const SectiontagName = 's-section';
|
|
|
936
1065
|
declare const SectionBaseClass: typeof globalThis.HTMLElement;
|
|
937
1066
|
|
|
938
1067
|
declare module 'preact' {
|
|
939
|
-
|
|
940
|
-
|
|
1068
|
+
namespace createElement.JSX {
|
|
1069
|
+
interface IntrinsicElements {
|
|
1070
|
+
[QueryContainertagName]: Omit<
|
|
1071
|
+
HTMLAttributes<HTMLElement>,
|
|
1072
|
+
Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
|
|
1073
|
+
> &
|
|
1074
|
+
QueryContainerJSXProps;
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
declare global {
|
|
1080
|
+
interface HTMLElementTagNameMap {
|
|
1081
|
+
[QueryContainertagName]: QueryContainer;
|
|
941
1082
|
}
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
export interface QueryContainerJSXProps extends Partial<QueryContainerProps$1>, Pick<QueryContainerProps$1, 'id'> {
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
export interface QueryContainerProps extends Required<Pick<QueryContainerProps$1, 'id' | 'containerName'>> {
|
|
1089
|
+
}
|
|
942
1090
|
|
|
1091
|
+
export interface QueryContainerClickOptions {
|
|
1092
|
+
/**
|
|
1093
|
+
* The event you want to influence the synthetic click.
|
|
1094
|
+
*/
|
|
1095
|
+
sourceEvent?: QueryContainerActivationEventEsque;
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
export interface QueryContainerActivationEventEsque {
|
|
1099
|
+
shiftKey: boolean;
|
|
1100
|
+
metaKey: boolean;
|
|
1101
|
+
ctrlKey: boolean;
|
|
1102
|
+
button: number;
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
declare const QueryContainertagName = 's-query-container';
|
|
1106
|
+
declare const QueryContainerBaseClass: typeof globalThis.HTMLElement;
|
|
1107
|
+
|
|
1108
|
+
declare module 'preact' {
|
|
943
1109
|
namespace createElement.JSX {
|
|
944
1110
|
interface IntrinsicElements {
|
|
945
|
-
[PasswordFieldtagName]: PasswordFieldJSXProps &
|
|
1111
|
+
[PasswordFieldtagName]: PasswordFieldJSXProps & PasswordFieldPreactBaseElementProps<PasswordField>;
|
|
946
1112
|
}
|
|
947
1113
|
}
|
|
948
1114
|
}
|
|
@@ -956,6 +1122,15 @@ declare global {
|
|
|
956
1122
|
export interface PasswordFieldJSXProps extends Partial<PasswordFieldProps>, Pick<PasswordFieldProps$1, 'id'>, PasswordFieldFieldReactProps<typeof PasswordFieldtagName> {
|
|
957
1123
|
}
|
|
958
1124
|
|
|
1125
|
+
export interface PasswordFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1126
|
+
/** Assigns a unique key to this element. */
|
|
1127
|
+
key?: preact.Key;
|
|
1128
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1129
|
+
ref?: preact.Ref<TClass>;
|
|
1130
|
+
/** Assigns this element to a parent's slot. */
|
|
1131
|
+
slot?: Lowercase<string>;
|
|
1132
|
+
}
|
|
1133
|
+
|
|
959
1134
|
export interface PasswordFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
960
1135
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
961
1136
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -982,14 +1157,10 @@ declare const PasswordFieldinternals: unique symbol;
|
|
|
982
1157
|
declare const PasswordFieldBaseClass: typeof globalThis.HTMLElement;
|
|
983
1158
|
|
|
984
1159
|
declare module 'preact' {
|
|
985
|
-
interface BaseProps {
|
|
986
|
-
children?: preact.ComponentChildren;
|
|
987
|
-
slot?: Lowercase<string>;
|
|
988
|
-
}
|
|
989
|
-
|
|
990
1160
|
namespace createElement.JSX {
|
|
991
1161
|
interface IntrinsicElements {
|
|
992
|
-
[ParagraphtagName]: ParagraphJSXProps &
|
|
1162
|
+
[ParagraphtagName]: ParagraphJSXProps &
|
|
1163
|
+
ParagraphPreactBaseElementPropsWithChildren<Paragraph>;
|
|
993
1164
|
}
|
|
994
1165
|
}
|
|
995
1166
|
}
|
|
@@ -1003,6 +1174,19 @@ declare global {
|
|
|
1003
1174
|
export interface ParagraphJSXProps extends Partial<ParagraphProps>, Pick<ParagraphProps$1, 'id'> {
|
|
1004
1175
|
}
|
|
1005
1176
|
|
|
1177
|
+
export interface ParagraphPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ParagraphPreactBaseElementProps<TClass> {
|
|
1178
|
+
children?: preact.ComponentChildren;
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
export interface ParagraphPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1182
|
+
/** Assigns a unique key to this element. */
|
|
1183
|
+
key?: preact.Key;
|
|
1184
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1185
|
+
ref?: preact.Ref<TClass>;
|
|
1186
|
+
/** Assigns this element to a parent's slot. */
|
|
1187
|
+
slot?: Lowercase<string>;
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1006
1190
|
export interface ParagraphClickOptions {
|
|
1007
1191
|
/**
|
|
1008
1192
|
* The event you want to influence the synthetic click.
|
|
@@ -1036,14 +1220,10 @@ declare const ParagraphtagName = 's-paragraph';
|
|
|
1036
1220
|
declare const ParagraphBaseClass: typeof globalThis.HTMLElement;
|
|
1037
1221
|
|
|
1038
1222
|
declare module 'preact' {
|
|
1039
|
-
interface BaseProps {
|
|
1040
|
-
children?: preact.ComponentChildren;
|
|
1041
|
-
slot?: Lowercase<string>;
|
|
1042
|
-
}
|
|
1043
|
-
|
|
1044
1223
|
namespace createElement.JSX {
|
|
1045
1224
|
interface IntrinsicElements {
|
|
1046
|
-
[OrderedListtagName]: OrderedListJSXProps &
|
|
1225
|
+
[OrderedListtagName]: OrderedListJSXProps &
|
|
1226
|
+
OrderedListPreactBaseElementPropsWithChildren<OrderedList>;
|
|
1047
1227
|
}
|
|
1048
1228
|
}
|
|
1049
1229
|
}
|
|
@@ -1057,6 +1237,19 @@ declare global {
|
|
|
1057
1237
|
export interface OrderedListJSXProps extends Partial<OrderedListProps>, Pick<OrderedListProps$1, 'id'> {
|
|
1058
1238
|
}
|
|
1059
1239
|
|
|
1240
|
+
export interface OrderedListPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends OrderedListPreactBaseElementProps<TClass> {
|
|
1241
|
+
children?: preact.ComponentChildren;
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
export interface OrderedListPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1245
|
+
/** Assigns a unique key to this element. */
|
|
1246
|
+
key?: preact.Key;
|
|
1247
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1248
|
+
ref?: preact.Ref<TClass>;
|
|
1249
|
+
/** Assigns this element to a parent's slot. */
|
|
1250
|
+
slot?: Lowercase<string>;
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1060
1253
|
export interface OrderedListClickOptions {
|
|
1061
1254
|
/**
|
|
1062
1255
|
* The event you want to influence the synthetic click.
|
|
@@ -1078,13 +1271,10 @@ declare const OrderedListtagName = 's-ordered-list';
|
|
|
1078
1271
|
declare const OrderedListBaseClass: typeof globalThis.HTMLElement;
|
|
1079
1272
|
|
|
1080
1273
|
declare module 'preact' {
|
|
1081
|
-
interface BaseProps {
|
|
1082
|
-
children?: preact.ComponentChildren;
|
|
1083
|
-
}
|
|
1084
|
-
|
|
1085
1274
|
namespace createElement.JSX {
|
|
1086
1275
|
interface IntrinsicElements {
|
|
1087
|
-
[OptionGrouptagName]: OptionGroupJSXProps &
|
|
1276
|
+
[OptionGrouptagName]: OptionGroupJSXProps &
|
|
1277
|
+
OptionGroupPreactBaseElementPropsWithChildren<OptionGroup>;
|
|
1088
1278
|
}
|
|
1089
1279
|
}
|
|
1090
1280
|
}
|
|
@@ -1098,6 +1288,19 @@ declare global {
|
|
|
1098
1288
|
export interface OptionGroupJSXProps extends Partial<OptionGroupProps> {
|
|
1099
1289
|
}
|
|
1100
1290
|
|
|
1291
|
+
export interface OptionGroupPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends OptionGroupPreactBaseElementProps<TClass> {
|
|
1292
|
+
children?: preact.ComponentChildren;
|
|
1293
|
+
}
|
|
1294
|
+
|
|
1295
|
+
export interface OptionGroupPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1296
|
+
/** Assigns a unique key to this element. */
|
|
1297
|
+
key?: preact.Key;
|
|
1298
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1299
|
+
ref?: preact.Ref<TClass>;
|
|
1300
|
+
/** Assigns this element to a parent's slot. */
|
|
1301
|
+
slot?: Lowercase<string>;
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1101
1304
|
export interface OptionGroupClickOptions {
|
|
1102
1305
|
/**
|
|
1103
1306
|
* The event you want to influence the synthetic click.
|
|
@@ -1119,13 +1322,9 @@ declare const OptionGrouptagName = 's-option-group';
|
|
|
1119
1322
|
declare const OptionGroupBaseClass: typeof globalThis.HTMLElement;
|
|
1120
1323
|
|
|
1121
1324
|
declare module 'preact' {
|
|
1122
|
-
interface BaseProps {
|
|
1123
|
-
children?: preact.ComponentChildren;
|
|
1124
|
-
}
|
|
1125
|
-
|
|
1126
1325
|
namespace createElement.JSX {
|
|
1127
1326
|
interface IntrinsicElements {
|
|
1128
|
-
[OptiontagName]: OptionJSXProps &
|
|
1327
|
+
[OptiontagName]: OptionJSXProps & OptionPreactBaseElementPropsWithChildren<Option>;
|
|
1129
1328
|
}
|
|
1130
1329
|
}
|
|
1131
1330
|
}
|
|
@@ -1139,6 +1338,19 @@ declare global {
|
|
|
1139
1338
|
export interface OptionJSXProps extends Partial<OptionProps> {
|
|
1140
1339
|
}
|
|
1141
1340
|
|
|
1341
|
+
export interface OptionPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends OptionPreactBaseElementProps<TClass> {
|
|
1342
|
+
children?: preact.ComponentChildren;
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1345
|
+
export interface OptionPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1346
|
+
/** Assigns a unique key to this element. */
|
|
1347
|
+
key?: preact.Key;
|
|
1348
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1349
|
+
ref?: preact.Ref<TClass>;
|
|
1350
|
+
/** Assigns this element to a parent's slot. */
|
|
1351
|
+
slot?: Lowercase<string>;
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1142
1354
|
export interface OptionClickOptions {
|
|
1143
1355
|
/**
|
|
1144
1356
|
* The event you want to influence the synthetic click.
|
|
@@ -1162,13 +1374,9 @@ declare const OptiontagName = 's-option';
|
|
|
1162
1374
|
declare const OptionBaseClass: typeof globalThis.HTMLElement;
|
|
1163
1375
|
|
|
1164
1376
|
declare module 'preact' {
|
|
1165
|
-
interface BaseProps {
|
|
1166
|
-
slot?: Lowercase<string>;
|
|
1167
|
-
}
|
|
1168
|
-
|
|
1169
1377
|
namespace createElement.JSX {
|
|
1170
1378
|
interface IntrinsicElements {
|
|
1171
|
-
[NumberFieldtagName]: NumberFieldJSXProps &
|
|
1379
|
+
[NumberFieldtagName]: NumberFieldJSXProps & NumberFieldPreactBaseElementProps<NumberField>;
|
|
1172
1380
|
}
|
|
1173
1381
|
}
|
|
1174
1382
|
}
|
|
@@ -1194,6 +1402,15 @@ export interface NumberFieldProps extends Omit<
|
|
|
1194
1402
|
value: Required<NumberFieldProps$1>['value'];
|
|
1195
1403
|
}
|
|
1196
1404
|
|
|
1405
|
+
export interface NumberFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1406
|
+
/** Assigns a unique key to this element. */
|
|
1407
|
+
key?: preact.Key;
|
|
1408
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1409
|
+
ref?: preact.Ref<TClass>;
|
|
1410
|
+
/** Assigns this element to a parent's slot. */
|
|
1411
|
+
slot?: Lowercase<string>;
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1197
1414
|
export interface NumberFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
1198
1415
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
1199
1416
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -1220,14 +1437,9 @@ declare const NumberFieldinternals: unique symbol;
|
|
|
1220
1437
|
declare const NumberFieldBaseClass: typeof globalThis.HTMLElement;
|
|
1221
1438
|
|
|
1222
1439
|
declare module 'preact' {
|
|
1223
|
-
interface BaseProps {
|
|
1224
|
-
children?: preact.ComponentChildren;
|
|
1225
|
-
slot?: Lowercase<string>;
|
|
1226
|
-
}
|
|
1227
|
-
|
|
1228
1440
|
namespace createElement.JSX {
|
|
1229
1441
|
interface IntrinsicElements {
|
|
1230
|
-
[MoneyFieldtagName]: MoneyFieldJSXProps &
|
|
1442
|
+
[MoneyFieldtagName]: MoneyFieldJSXProps & MoneyFieldPreactBaseElementProps<MoneyField>;
|
|
1231
1443
|
}
|
|
1232
1444
|
}
|
|
1233
1445
|
}
|
|
@@ -1245,6 +1457,15 @@ export interface MoneyFieldProps extends Omit<PreactFieldProps, 'value'>, Pick<R
|
|
|
1245
1457
|
value: Required<MoneyFieldProps$1>['value'];
|
|
1246
1458
|
}
|
|
1247
1459
|
|
|
1460
|
+
export interface MoneyFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1461
|
+
/** Assigns a unique key to this element. */
|
|
1462
|
+
key?: preact.Key;
|
|
1463
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1464
|
+
ref?: preact.Ref<TClass>;
|
|
1465
|
+
/** Assigns this element to a parent's slot. */
|
|
1466
|
+
slot?: Lowercase<string>;
|
|
1467
|
+
}
|
|
1468
|
+
|
|
1248
1469
|
export interface MoneyFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
1249
1470
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
1250
1471
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -1271,14 +1492,10 @@ declare const MoneyFieldinternals: unique symbol;
|
|
|
1271
1492
|
declare const MoneyFieldBaseClass: typeof globalThis.HTMLElement;
|
|
1272
1493
|
|
|
1273
1494
|
declare module 'preact' {
|
|
1274
|
-
interface BaseProps {
|
|
1275
|
-
children?: preact.ComponentChildren;
|
|
1276
|
-
slot?: Lowercase<string>;
|
|
1277
|
-
}
|
|
1278
|
-
|
|
1279
1495
|
namespace createElement.JSX {
|
|
1280
1496
|
interface IntrinsicElements {
|
|
1281
|
-
[ListItemtagName]: ListItemJSXProps &
|
|
1497
|
+
[ListItemtagName]: ListItemJSXProps &
|
|
1498
|
+
ListItemPreactBaseElementPropsWithChildren<ListItem>;
|
|
1282
1499
|
}
|
|
1283
1500
|
}
|
|
1284
1501
|
}
|
|
@@ -1292,6 +1509,19 @@ declare global {
|
|
|
1292
1509
|
export interface ListItemJSXProps extends Partial<ListItemProps>, Pick<ListItemProps$1, 'id'> {
|
|
1293
1510
|
}
|
|
1294
1511
|
|
|
1512
|
+
export interface ListItemPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ListItemPreactBaseElementProps<TClass> {
|
|
1513
|
+
children?: preact.ComponentChildren;
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
export interface ListItemPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1517
|
+
/** Assigns a unique key to this element. */
|
|
1518
|
+
key?: preact.Key;
|
|
1519
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1520
|
+
ref?: preact.Ref<TClass>;
|
|
1521
|
+
/** Assigns this element to a parent's slot. */
|
|
1522
|
+
slot?: Lowercase<string>;
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1295
1525
|
export interface ListItemClickOptions {
|
|
1296
1526
|
/**
|
|
1297
1527
|
* The event you want to influence the synthetic click.
|
|
@@ -1313,14 +1543,9 @@ declare const ListItemtagName = 's-list-item';
|
|
|
1313
1543
|
declare const ListItemBaseClass: typeof globalThis.HTMLElement;
|
|
1314
1544
|
|
|
1315
1545
|
declare module 'preact' {
|
|
1316
|
-
interface BaseProps {
|
|
1317
|
-
children?: preact.ComponentChildren;
|
|
1318
|
-
slot?: Lowercase<string>;
|
|
1319
|
-
}
|
|
1320
|
-
|
|
1321
1546
|
namespace createElement.JSX {
|
|
1322
1547
|
interface IntrinsicElements {
|
|
1323
|
-
[LinktagName]: LinkJSXProps &
|
|
1548
|
+
[LinktagName]: LinkJSXProps & LinkPreactBaseElementPropsWithChildren<Link>;
|
|
1324
1549
|
}
|
|
1325
1550
|
}
|
|
1326
1551
|
}
|
|
@@ -1370,6 +1595,19 @@ export interface LinkActivationEventEsque {
|
|
|
1370
1595
|
button: number;
|
|
1371
1596
|
}
|
|
1372
1597
|
|
|
1598
|
+
export interface LinkPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends LinkPreactBaseElementProps<TClass> {
|
|
1599
|
+
children?: preact.ComponentChildren;
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1602
|
+
export interface LinkPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1603
|
+
/** Assigns a unique key to this element. */
|
|
1604
|
+
key?: preact.Key;
|
|
1605
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1606
|
+
ref?: preact.Ref<TClass>;
|
|
1607
|
+
/** Assigns this element to a parent's slot. */
|
|
1608
|
+
slot?: Lowercase<string>;
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1373
1611
|
export interface LinkProps extends Pick<
|
|
1374
1612
|
LinkProps$1,
|
|
1375
1613
|
| 'accessibilityLabel'
|
|
@@ -1399,13 +1637,9 @@ declare const Link_base: (abstract new (
|
|
|
1399
1637
|
declare const LinkBaseClass: typeof globalThis.HTMLElement;
|
|
1400
1638
|
|
|
1401
1639
|
declare module 'preact' {
|
|
1402
|
-
interface BaseProps {
|
|
1403
|
-
slot?: Lowercase<string>;
|
|
1404
|
-
}
|
|
1405
|
-
|
|
1406
1640
|
namespace createElement.JSX {
|
|
1407
1641
|
interface IntrinsicElements {
|
|
1408
|
-
[ImagetagName]: ImageJSXProps &
|
|
1642
|
+
[ImagetagName]: ImageJSXProps & ImagePreactBaseElementProps<Image>;
|
|
1409
1643
|
}
|
|
1410
1644
|
}
|
|
1411
1645
|
}
|
|
@@ -1435,6 +1669,15 @@ export interface ImageActivationEventEsque {
|
|
|
1435
1669
|
button: number;
|
|
1436
1670
|
}
|
|
1437
1671
|
|
|
1672
|
+
export interface ImagePreactBaseElementProps<TClass extends HTMLElement> {
|
|
1673
|
+
/** Assigns a unique key to this element. */
|
|
1674
|
+
key?: preact.Key;
|
|
1675
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1676
|
+
ref?: preact.Ref<TClass>;
|
|
1677
|
+
/** Assigns this element to a parent's slot. */
|
|
1678
|
+
slot?: Lowercase<string>;
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1438
1681
|
export interface ImageProps extends Required<
|
|
1439
1682
|
Pick<
|
|
1440
1683
|
ImageProps$1,
|
|
@@ -1477,7 +1720,6 @@ export interface ImageBoxProps extends Pick<
|
|
|
1477
1720
|
| 'borderRadius'
|
|
1478
1721
|
| 'borderStyle'
|
|
1479
1722
|
| 'borderWidth'
|
|
1480
|
-
| 'display'
|
|
1481
1723
|
| 'inlineSize'
|
|
1482
1724
|
| 'maxBlockSize'
|
|
1483
1725
|
| 'maxInlineSize'
|
|
@@ -1600,19 +1842,25 @@ export interface ImageBoxProps extends Pick<
|
|
|
1600
1842
|
* @default '' - meaning no override
|
|
1601
1843
|
*/
|
|
1602
1844
|
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
1845
|
+
/**
|
|
1846
|
+
* 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).
|
|
1847
|
+
*
|
|
1848
|
+
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
1849
|
+
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
1850
|
+
*
|
|
1851
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
1852
|
+
* @default 'auto'
|
|
1853
|
+
*/
|
|
1854
|
+
display: ResponsiveBoxProps['display'];
|
|
1603
1855
|
}
|
|
1604
1856
|
|
|
1605
1857
|
declare const ImagetagName = 's-image';
|
|
1606
1858
|
declare const ImageBaseClass: typeof globalThis.HTMLElement;
|
|
1607
1859
|
|
|
1608
1860
|
declare module 'preact' {
|
|
1609
|
-
interface BaseProps {
|
|
1610
|
-
slot?: Lowercase<string>;
|
|
1611
|
-
}
|
|
1612
|
-
|
|
1613
1861
|
namespace createElement.JSX {
|
|
1614
1862
|
interface IntrinsicElements {
|
|
1615
|
-
[IcontagName]: IconJSXProps &
|
|
1863
|
+
[IcontagName]: IconJSXProps & IconPreactBaseElementProps<Icon>;
|
|
1616
1864
|
}
|
|
1617
1865
|
}
|
|
1618
1866
|
}
|
|
@@ -1626,6 +1874,15 @@ declare global {
|
|
|
1626
1874
|
export interface IconJSXProps extends Partial<IconIconProps>, Pick<IconProps$1, 'id'> {
|
|
1627
1875
|
}
|
|
1628
1876
|
|
|
1877
|
+
export interface IconPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1878
|
+
/** Assigns a unique key to this element. */
|
|
1879
|
+
key?: preact.Key;
|
|
1880
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1881
|
+
ref?: preact.Ref<TClass>;
|
|
1882
|
+
/** Assigns this element to a parent's slot. */
|
|
1883
|
+
slot?: Lowercase<string>;
|
|
1884
|
+
}
|
|
1885
|
+
|
|
1629
1886
|
export interface IconClickOptions {
|
|
1630
1887
|
/**
|
|
1631
1888
|
* The event you want to influence the synthetic click.
|
|
@@ -1657,14 +1914,9 @@ declare const IcontagName = 's-icon';
|
|
|
1657
1914
|
declare const IconBaseClass: typeof globalThis.HTMLElement;
|
|
1658
1915
|
|
|
1659
1916
|
declare module 'preact' {
|
|
1660
|
-
interface BaseProps {
|
|
1661
|
-
children?: preact.ComponentChildren;
|
|
1662
|
-
slot?: Lowercase<string>;
|
|
1663
|
-
}
|
|
1664
|
-
|
|
1665
1917
|
namespace createElement.JSX {
|
|
1666
1918
|
interface IntrinsicElements {
|
|
1667
|
-
[HeadingtagName]: HeadingJSXProps &
|
|
1919
|
+
[HeadingtagName]: HeadingJSXProps & HeadingPreactBaseElementPropsWithChildren<Heading>;
|
|
1668
1920
|
}
|
|
1669
1921
|
}
|
|
1670
1922
|
}
|
|
@@ -1678,6 +1930,19 @@ declare global {
|
|
|
1678
1930
|
export interface HeadingJSXProps extends Partial<HeadingProps>, Pick<HeadingProps$1, 'id'> {
|
|
1679
1931
|
}
|
|
1680
1932
|
|
|
1933
|
+
export interface HeadingPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends HeadingPreactBaseElementProps<TClass> {
|
|
1934
|
+
children?: preact.ComponentChildren;
|
|
1935
|
+
}
|
|
1936
|
+
|
|
1937
|
+
export interface HeadingPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1938
|
+
/** Assigns a unique key to this element. */
|
|
1939
|
+
key?: preact.Key;
|
|
1940
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1941
|
+
ref?: preact.Ref<TClass>;
|
|
1942
|
+
/** Assigns this element to a parent's slot. */
|
|
1943
|
+
slot?: Lowercase<string>;
|
|
1944
|
+
}
|
|
1945
|
+
|
|
1681
1946
|
export interface HeadingClickOptions {
|
|
1682
1947
|
/**
|
|
1683
1948
|
* The event you want to influence the synthetic click.
|
|
@@ -1705,14 +1970,10 @@ declare const HeadingtagName = 's-heading';
|
|
|
1705
1970
|
declare const HeadingBaseClass: typeof globalThis.HTMLElement;
|
|
1706
1971
|
|
|
1707
1972
|
declare module 'preact' {
|
|
1708
|
-
interface BaseProps {
|
|
1709
|
-
children?: preact.ComponentChildren;
|
|
1710
|
-
slot?: Lowercase<string>;
|
|
1711
|
-
}
|
|
1712
|
-
|
|
1713
1973
|
namespace createElement.JSX {
|
|
1714
1974
|
interface IntrinsicElements {
|
|
1715
|
-
[GridItemtagName]: GridItemJSXProps &
|
|
1975
|
+
[GridItemtagName]: GridItemJSXProps &
|
|
1976
|
+
GridItemPreactBaseElementPropsWithChildren<GridItem>;
|
|
1716
1977
|
}
|
|
1717
1978
|
}
|
|
1718
1979
|
}
|
|
@@ -1726,6 +1987,19 @@ declare global {
|
|
|
1726
1987
|
export interface GridItemJSXProps extends Partial<GridItemProps>, Pick<GridItemProps$1, 'id'> {
|
|
1727
1988
|
}
|
|
1728
1989
|
|
|
1990
|
+
export interface GridItemPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends GridItemPreactBaseElementProps<TClass> {
|
|
1991
|
+
children?: preact.ComponentChildren;
|
|
1992
|
+
}
|
|
1993
|
+
|
|
1994
|
+
export interface GridItemPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1995
|
+
/** Assigns a unique key to this element. */
|
|
1996
|
+
key?: preact.Key;
|
|
1997
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1998
|
+
ref?: preact.Ref<TClass>;
|
|
1999
|
+
/** Assigns this element to a parent's slot. */
|
|
2000
|
+
slot?: Lowercase<string>;
|
|
2001
|
+
}
|
|
2002
|
+
|
|
1729
2003
|
export interface GridItemClickOptions {
|
|
1730
2004
|
/**
|
|
1731
2005
|
* The event you want to influence the synthetic click.
|
|
@@ -1757,7 +2031,6 @@ export interface GridItemBoxProps extends Pick<
|
|
|
1757
2031
|
| 'borderRadius'
|
|
1758
2032
|
| 'borderStyle'
|
|
1759
2033
|
| 'borderWidth'
|
|
1760
|
-
| 'display'
|
|
1761
2034
|
| 'inlineSize'
|
|
1762
2035
|
| 'maxBlockSize'
|
|
1763
2036
|
| 'maxInlineSize'
|
|
@@ -1880,20 +2153,25 @@ export interface GridItemBoxProps extends Pick<
|
|
|
1880
2153
|
* @default '' - meaning no override
|
|
1881
2154
|
*/
|
|
1882
2155
|
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
2156
|
+
/**
|
|
2157
|
+
* 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).
|
|
2158
|
+
*
|
|
2159
|
+
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
2160
|
+
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
2161
|
+
*
|
|
2162
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
2163
|
+
* @default 'auto'
|
|
2164
|
+
*/
|
|
2165
|
+
display: ResponsiveBoxProps['display'];
|
|
1883
2166
|
}
|
|
1884
2167
|
|
|
1885
2168
|
declare const GridItemtagName = 's-grid-item';
|
|
1886
2169
|
declare const GridItemBaseClass: typeof globalThis.HTMLElement;
|
|
1887
2170
|
|
|
1888
2171
|
declare module 'preact' {
|
|
1889
|
-
interface BaseProps {
|
|
1890
|
-
children?: preact.ComponentChildren;
|
|
1891
|
-
slot?: Lowercase<string>;
|
|
1892
|
-
}
|
|
1893
|
-
|
|
1894
2172
|
namespace createElement.JSX {
|
|
1895
2173
|
interface IntrinsicElements {
|
|
1896
|
-
[GridtagName]: GridJSXProps &
|
|
2174
|
+
[GridtagName]: GridJSXProps & GridPreactBaseElementPropsWithChildren<Grid>;
|
|
1897
2175
|
}
|
|
1898
2176
|
}
|
|
1899
2177
|
}
|
|
@@ -1921,6 +2199,19 @@ export interface GridActivationEventEsque {
|
|
|
1921
2199
|
button: number;
|
|
1922
2200
|
}
|
|
1923
2201
|
|
|
2202
|
+
export interface GridPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends GridPreactBaseElementProps<TClass> {
|
|
2203
|
+
children?: preact.ComponentChildren;
|
|
2204
|
+
}
|
|
2205
|
+
|
|
2206
|
+
export interface GridPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2207
|
+
/** Assigns a unique key to this element. */
|
|
2208
|
+
key?: preact.Key;
|
|
2209
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2210
|
+
ref?: preact.Ref<TClass>;
|
|
2211
|
+
/** Assigns this element to a parent's slot. */
|
|
2212
|
+
slot?: Lowercase<string>;
|
|
2213
|
+
}
|
|
2214
|
+
|
|
1924
2215
|
export interface GridProps extends GridBoxProps, Required<
|
|
1925
2216
|
Pick<
|
|
1926
2217
|
GridProps$1,
|
|
@@ -1981,7 +2272,6 @@ export interface GridBoxProps extends Pick<
|
|
|
1981
2272
|
| 'borderRadius'
|
|
1982
2273
|
| 'borderStyle'
|
|
1983
2274
|
| 'borderWidth'
|
|
1984
|
-
| 'display'
|
|
1985
2275
|
| 'inlineSize'
|
|
1986
2276
|
| 'maxBlockSize'
|
|
1987
2277
|
| 'maxInlineSize'
|
|
@@ -2104,19 +2394,25 @@ export interface GridBoxProps extends Pick<
|
|
|
2104
2394
|
* @default '' - meaning no override
|
|
2105
2395
|
*/
|
|
2106
2396
|
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
2397
|
+
/**
|
|
2398
|
+
* 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).
|
|
2399
|
+
*
|
|
2400
|
+
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
2401
|
+
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
2402
|
+
*
|
|
2403
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
2404
|
+
* @default 'auto'
|
|
2405
|
+
*/
|
|
2406
|
+
display: ResponsiveBoxProps['display'];
|
|
2107
2407
|
}
|
|
2108
2408
|
|
|
2109
2409
|
declare const GridtagName = 's-grid';
|
|
2110
2410
|
declare const GridBaseClass: typeof globalThis.HTMLElement;
|
|
2111
2411
|
|
|
2112
2412
|
declare module 'preact' {
|
|
2113
|
-
interface BaseProps {
|
|
2114
|
-
slot?: Lowercase<string>;
|
|
2115
|
-
}
|
|
2116
|
-
|
|
2117
2413
|
namespace createElement.JSX {
|
|
2118
2414
|
interface IntrinsicElements {
|
|
2119
|
-
[EmailFieldtagName]: EmailFieldJSXProps &
|
|
2415
|
+
[EmailFieldtagName]: EmailFieldJSXProps & EmailFieldPreactBaseElementProps<EmailField>;
|
|
2120
2416
|
}
|
|
2121
2417
|
}
|
|
2122
2418
|
}
|
|
@@ -2130,6 +2426,15 @@ declare global {
|
|
|
2130
2426
|
export interface EmailFieldJSXProps extends Partial<Omit<EmailFieldProps, 'accessory'>>, Pick<EmailFieldProps$1, 'id'>, FieldReactProps<typeof EmailFieldtagName> {
|
|
2131
2427
|
}
|
|
2132
2428
|
|
|
2429
|
+
export interface EmailFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2430
|
+
/** Assigns a unique key to this element. */
|
|
2431
|
+
key?: preact.Key;
|
|
2432
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2433
|
+
ref?: preact.Ref<TClass>;
|
|
2434
|
+
/** Assigns this element to a parent's slot. */
|
|
2435
|
+
slot?: Lowercase<string>;
|
|
2436
|
+
}
|
|
2437
|
+
|
|
2133
2438
|
export interface FieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
2134
2439
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
2135
2440
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -2156,13 +2461,9 @@ declare const EmailFieldinternals: unique symbol;
|
|
|
2156
2461
|
declare const EmailFieldBaseClass: typeof globalThis.HTMLElement;
|
|
2157
2462
|
|
|
2158
2463
|
declare module 'preact' {
|
|
2159
|
-
interface BaseProps {
|
|
2160
|
-
slot?: Lowercase<string>;
|
|
2161
|
-
}
|
|
2162
|
-
|
|
2163
2464
|
namespace createElement.JSX {
|
|
2164
2465
|
interface IntrinsicElements {
|
|
2165
|
-
[DividertagName]: DividerJSXProps &
|
|
2466
|
+
[DividertagName]: DividerJSXProps & DividerPreactBaseElementProps<Divider>;
|
|
2166
2467
|
}
|
|
2167
2468
|
}
|
|
2168
2469
|
}
|
|
@@ -2176,6 +2477,15 @@ declare global {
|
|
|
2176
2477
|
export interface DividerJSXProps extends Partial<DividerProps>, Pick<DividerProps$1, 'id'> {
|
|
2177
2478
|
}
|
|
2178
2479
|
|
|
2480
|
+
export interface DividerPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2481
|
+
/** Assigns a unique key to this element. */
|
|
2482
|
+
key?: preact.Key;
|
|
2483
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2484
|
+
ref?: preact.Ref<TClass>;
|
|
2485
|
+
/** Assigns this element to a parent's slot. */
|
|
2486
|
+
slot?: Lowercase<string>;
|
|
2487
|
+
}
|
|
2488
|
+
|
|
2179
2489
|
export interface DividerClickOptions {
|
|
2180
2490
|
/**
|
|
2181
2491
|
* The event you want to influence the synthetic click.
|
|
@@ -2199,13 +2509,9 @@ declare const DividertagName = 's-divider';
|
|
|
2199
2509
|
declare const DividerBaseClass: typeof globalThis.HTMLElement;
|
|
2200
2510
|
|
|
2201
2511
|
declare module 'preact' {
|
|
2202
|
-
interface BaseProps {
|
|
2203
|
-
slot?: Lowercase<string>;
|
|
2204
|
-
}
|
|
2205
|
-
|
|
2206
2512
|
namespace createElement.JSX {
|
|
2207
2513
|
interface IntrinsicElements {
|
|
2208
|
-
[DatePickertagName]: DatePickerJSXProps &
|
|
2514
|
+
[DatePickertagName]: DatePickerJSXProps & DatePickerPreactBaseElementProps<DatePicker>;
|
|
2209
2515
|
}
|
|
2210
2516
|
}
|
|
2211
2517
|
}
|
|
@@ -2245,6 +2551,15 @@ export interface DatePickerActivationEventEsque {
|
|
|
2245
2551
|
button: number;
|
|
2246
2552
|
}
|
|
2247
2553
|
|
|
2554
|
+
export interface DatePickerPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2555
|
+
/** Assigns a unique key to this element. */
|
|
2556
|
+
key?: preact.Key;
|
|
2557
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2558
|
+
ref?: preact.Ref<TClass>;
|
|
2559
|
+
/** Assigns this element to a parent's slot. */
|
|
2560
|
+
slot?: Lowercase<string>;
|
|
2561
|
+
}
|
|
2562
|
+
|
|
2248
2563
|
export interface DatePickerProps extends Required<
|
|
2249
2564
|
Pick<
|
|
2250
2565
|
DatePickerProps$1,
|
|
@@ -2268,14 +2583,10 @@ declare const DatePickerinternals: unique symbol;
|
|
|
2268
2583
|
declare const DatePickerBaseClass$1: typeof globalThis.HTMLElement;
|
|
2269
2584
|
|
|
2270
2585
|
declare module 'preact' {
|
|
2271
|
-
interface BaseProps {
|
|
2272
|
-
children?: preact.ComponentChildren;
|
|
2273
|
-
slot?: Lowercase<string>;
|
|
2274
|
-
}
|
|
2275
|
-
|
|
2276
2586
|
namespace createElement.JSX {
|
|
2277
2587
|
interface IntrinsicElements {
|
|
2278
|
-
[ClickabletagName]: ClickableJSXProps &
|
|
2588
|
+
[ClickabletagName]: ClickableJSXProps &
|
|
2589
|
+
ClickablePreactBaseElementPropsWithChildren<Clickable>;
|
|
2279
2590
|
}
|
|
2280
2591
|
}
|
|
2281
2592
|
}
|
|
@@ -2327,6 +2638,19 @@ export interface ClickableActivationEventEsque {
|
|
|
2327
2638
|
button: number;
|
|
2328
2639
|
}
|
|
2329
2640
|
|
|
2641
|
+
export interface ClickablePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ClickablePreactBaseElementProps<TClass> {
|
|
2642
|
+
children?: preact.ComponentChildren;
|
|
2643
|
+
}
|
|
2644
|
+
|
|
2645
|
+
export interface ClickablePreactBaseElementProps<TClass extends HTMLElement> {
|
|
2646
|
+
/** Assigns a unique key to this element. */
|
|
2647
|
+
key?: preact.Key;
|
|
2648
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2649
|
+
ref?: preact.Ref<TClass>;
|
|
2650
|
+
/** Assigns this element to a parent's slot. */
|
|
2651
|
+
slot?: Lowercase<string>;
|
|
2652
|
+
}
|
|
2653
|
+
|
|
2330
2654
|
export interface ClickableProps extends Required<ClickableBoxProps>, ClickableBaseProps {
|
|
2331
2655
|
}
|
|
2332
2656
|
|
|
@@ -2342,7 +2666,6 @@ export interface ClickableBoxProps extends Pick<
|
|
|
2342
2666
|
| 'borderRadius'
|
|
2343
2667
|
| 'borderStyle'
|
|
2344
2668
|
| 'borderWidth'
|
|
2345
|
-
| 'display'
|
|
2346
2669
|
| 'inlineSize'
|
|
2347
2670
|
| 'maxBlockSize'
|
|
2348
2671
|
| 'maxInlineSize'
|
|
@@ -2465,6 +2788,16 @@ export interface ClickableBoxProps extends Pick<
|
|
|
2465
2788
|
* @default '' - meaning no override
|
|
2466
2789
|
*/
|
|
2467
2790
|
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
2791
|
+
/**
|
|
2792
|
+
* 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).
|
|
2793
|
+
*
|
|
2794
|
+
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
2795
|
+
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
2796
|
+
*
|
|
2797
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
2798
|
+
* @default 'auto'
|
|
2799
|
+
*/
|
|
2800
|
+
display: ResponsiveBoxProps['display'];
|
|
2468
2801
|
}
|
|
2469
2802
|
|
|
2470
2803
|
declare const ClickabletagName = 's-clickable';
|
|
@@ -2475,14 +2808,10 @@ declare const Clickable_base: (abstract new (
|
|
|
2475
2808
|
declare const ClickableBaseClass: typeof globalThis.HTMLElement;
|
|
2476
2809
|
|
|
2477
2810
|
declare module 'preact' {
|
|
2478
|
-
interface BaseProps {
|
|
2479
|
-
children?: preact.ComponentChildren;
|
|
2480
|
-
slot?: Lowercase<string>;
|
|
2481
|
-
}
|
|
2482
|
-
|
|
2483
2811
|
namespace createElement.JSX {
|
|
2484
2812
|
interface IntrinsicElements {
|
|
2485
|
-
[ChoiceListtagName]: ChoiceListJSXProps &
|
|
2813
|
+
[ChoiceListtagName]: ChoiceListJSXProps &
|
|
2814
|
+
ChoiceListPreactBaseElementPropsWithChildren<ChoiceList>;
|
|
2486
2815
|
}
|
|
2487
2816
|
}
|
|
2488
2817
|
}
|
|
@@ -2512,6 +2841,19 @@ export interface ChoiceListActivationEventEsque {
|
|
|
2512
2841
|
button: number;
|
|
2513
2842
|
}
|
|
2514
2843
|
|
|
2844
|
+
export interface ChoiceListPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ChoiceListPreactBaseElementProps<TClass> {
|
|
2845
|
+
children?: preact.ComponentChildren;
|
|
2846
|
+
}
|
|
2847
|
+
|
|
2848
|
+
export interface ChoiceListPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2849
|
+
/** Assigns a unique key to this element. */
|
|
2850
|
+
key?: preact.Key;
|
|
2851
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2852
|
+
ref?: preact.Ref<TClass>;
|
|
2853
|
+
/** Assigns this element to a parent's slot. */
|
|
2854
|
+
slot?: Lowercase<string>;
|
|
2855
|
+
}
|
|
2856
|
+
|
|
2515
2857
|
export interface ChoiceListProps extends Required<
|
|
2516
2858
|
Pick<
|
|
2517
2859
|
ChoiceListProps$1,
|
|
@@ -2539,7 +2881,7 @@ declare const BaseClass$1: typeof globalThis.HTMLElement;
|
|
|
2539
2881
|
declare module 'preact' {
|
|
2540
2882
|
namespace createElement.JSX {
|
|
2541
2883
|
interface IntrinsicElements {
|
|
2542
|
-
[ChoicetagName]: ChoiceJSXProps
|
|
2884
|
+
[ChoicetagName]: ChoiceJSXProps & ChoicePreactBaseElementPropsWithChildren<Choice>;
|
|
2543
2885
|
}
|
|
2544
2886
|
}
|
|
2545
2887
|
}
|
|
@@ -2553,6 +2895,19 @@ declare global {
|
|
|
2553
2895
|
export interface ChoiceJSXProps extends Partial<ChoiceProps>, Pick<ChoiceProps$1, 'id'> {
|
|
2554
2896
|
}
|
|
2555
2897
|
|
|
2898
|
+
export interface ChoicePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ChoicePreactBaseElementProps<TClass> {
|
|
2899
|
+
children?: preact.ComponentChildren;
|
|
2900
|
+
}
|
|
2901
|
+
|
|
2902
|
+
export interface ChoicePreactBaseElementProps<TClass extends HTMLElement> {
|
|
2903
|
+
/** Assigns a unique key to this element. */
|
|
2904
|
+
key?: preact.Key;
|
|
2905
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2906
|
+
ref?: preact.Ref<TClass>;
|
|
2907
|
+
/** Assigns this element to a parent's slot. */
|
|
2908
|
+
slot?: Lowercase<string>;
|
|
2909
|
+
}
|
|
2910
|
+
|
|
2556
2911
|
export interface ChoiceClickOptions {
|
|
2557
2912
|
/**
|
|
2558
2913
|
* The event you want to influence the synthetic click.
|
|
@@ -2587,7 +2942,8 @@ declare const ChoiceBaseClass: typeof globalThis.HTMLElement;
|
|
|
2587
2942
|
declare module 'preact' {
|
|
2588
2943
|
namespace createElement.JSX {
|
|
2589
2944
|
interface IntrinsicElements {
|
|
2590
|
-
[CheckboxtagName]: CheckboxJSXProps
|
|
2945
|
+
[CheckboxtagName]: CheckboxJSXProps &
|
|
2946
|
+
CheckboxPreactBaseElementPropsWithChildren<Checkbox>;
|
|
2591
2947
|
}
|
|
2592
2948
|
}
|
|
2593
2949
|
}
|
|
@@ -2625,6 +2981,19 @@ export interface PreactCheckboxProps extends Required<
|
|
|
2625
2981
|
value: Required<CheckboxProps$1>['value'];
|
|
2626
2982
|
}
|
|
2627
2983
|
|
|
2984
|
+
export interface CheckboxPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends CheckboxPreactBaseElementProps<TClass> {
|
|
2985
|
+
children?: preact.ComponentChildren;
|
|
2986
|
+
}
|
|
2987
|
+
|
|
2988
|
+
export interface CheckboxPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2989
|
+
/** Assigns a unique key to this element. */
|
|
2990
|
+
key?: preact.Key;
|
|
2991
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2992
|
+
ref?: preact.Ref<TClass>;
|
|
2993
|
+
/** Assigns this element to a parent's slot. */
|
|
2994
|
+
slot?: Lowercase<string>;
|
|
2995
|
+
}
|
|
2996
|
+
|
|
2628
2997
|
export interface CheckboxClickOptions {
|
|
2629
2998
|
/**
|
|
2630
2999
|
* The event you want to influence the synthetic click.
|
|
@@ -2644,14 +3013,9 @@ declare const internals: unique symbol;
|
|
|
2644
3013
|
declare const CheckboxBaseClass: typeof globalThis.HTMLElement;
|
|
2645
3014
|
|
|
2646
3015
|
declare module 'preact' {
|
|
2647
|
-
interface BaseProps {
|
|
2648
|
-
children?: preact.ComponentChildren;
|
|
2649
|
-
slot?: Lowercase<string>;
|
|
2650
|
-
}
|
|
2651
|
-
|
|
2652
3016
|
namespace createElement.JSX {
|
|
2653
3017
|
interface IntrinsicElements {
|
|
2654
|
-
[ButtontagName]: ButtonJSXProps &
|
|
3018
|
+
[ButtontagName]: ButtonJSXProps & ButtonPreactBaseElementPropsWithChildren<Button>;
|
|
2655
3019
|
}
|
|
2656
3020
|
}
|
|
2657
3021
|
}
|
|
@@ -2703,6 +3067,19 @@ export interface ButtonActivationEventEsque {
|
|
|
2703
3067
|
button: number;
|
|
2704
3068
|
}
|
|
2705
3069
|
|
|
3070
|
+
export interface ButtonPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ButtonPreactBaseElementProps<TClass> {
|
|
3071
|
+
children?: preact.ComponentChildren;
|
|
3072
|
+
}
|
|
3073
|
+
|
|
3074
|
+
export interface ButtonPreactBaseElementProps<TClass extends HTMLElement> {
|
|
3075
|
+
/** Assigns a unique key to this element. */
|
|
3076
|
+
key?: preact.Key;
|
|
3077
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
3078
|
+
ref?: preact.Ref<TClass>;
|
|
3079
|
+
/** Assigns this element to a parent's slot. */
|
|
3080
|
+
slot?: Lowercase<string>;
|
|
3081
|
+
}
|
|
3082
|
+
|
|
2706
3083
|
export interface ButtonProps extends ButtonBaseProps {
|
|
2707
3084
|
tone: Extract<ButtonProps$1['tone'], 'neutral' | 'critical' | 'auto'>;
|
|
2708
3085
|
icon: ButtonIconProps['type'];
|
|
@@ -2729,14 +3106,9 @@ declare const Button_base: (abstract new (
|
|
|
2729
3106
|
declare const ButtonBaseClass: typeof globalThis.HTMLElement;
|
|
2730
3107
|
|
|
2731
3108
|
declare module 'preact' {
|
|
2732
|
-
interface BaseProps {
|
|
2733
|
-
children?: preact.ComponentChildren;
|
|
2734
|
-
slot?: Lowercase<string>;
|
|
2735
|
-
}
|
|
2736
|
-
|
|
2737
3109
|
namespace createElement.JSX {
|
|
2738
3110
|
interface IntrinsicElements {
|
|
2739
|
-
[BoxtagName]: BoxJSXProps &
|
|
3111
|
+
[BoxtagName]: BoxJSXProps & BoxPreactBaseElementPropsWithChildren<Box>;
|
|
2740
3112
|
}
|
|
2741
3113
|
}
|
|
2742
3114
|
}
|
|
@@ -2750,6 +3122,19 @@ declare global {
|
|
|
2750
3122
|
export interface BoxJSXProps extends Partial<BoxProps>, Pick<BoxProps$1, 'id'> {
|
|
2751
3123
|
}
|
|
2752
3124
|
|
|
3125
|
+
export interface BoxPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends BoxPreactBaseElementProps<TClass> {
|
|
3126
|
+
children?: preact.ComponentChildren;
|
|
3127
|
+
}
|
|
3128
|
+
|
|
3129
|
+
export interface BoxPreactBaseElementProps<TClass extends HTMLElement> {
|
|
3130
|
+
/** Assigns a unique key to this element. */
|
|
3131
|
+
key?: preact.Key;
|
|
3132
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
3133
|
+
ref?: preact.Ref<TClass>;
|
|
3134
|
+
/** Assigns this element to a parent's slot. */
|
|
3135
|
+
slot?: Lowercase<string>;
|
|
3136
|
+
}
|
|
3137
|
+
|
|
2753
3138
|
export interface BoxClickOptions {
|
|
2754
3139
|
/**
|
|
2755
3140
|
* The event you want to influence the synthetic click.
|
|
@@ -2776,7 +3161,6 @@ export interface BoxProps extends Pick<
|
|
|
2776
3161
|
| 'borderRadius'
|
|
2777
3162
|
| 'borderStyle'
|
|
2778
3163
|
| 'borderWidth'
|
|
2779
|
-
| 'display'
|
|
2780
3164
|
| 'inlineSize'
|
|
2781
3165
|
| 'maxBlockSize'
|
|
2782
3166
|
| 'maxInlineSize'
|
|
@@ -2899,20 +3283,26 @@ export interface BoxProps extends Pick<
|
|
|
2899
3283
|
* @default '' - meaning no override
|
|
2900
3284
|
*/
|
|
2901
3285
|
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
3286
|
+
/**
|
|
3287
|
+
* 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).
|
|
3288
|
+
*
|
|
3289
|
+
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
3290
|
+
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
3291
|
+
*
|
|
3292
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
3293
|
+
* @default 'auto'
|
|
3294
|
+
*/
|
|
3295
|
+
display: ResponsiveBoxProps['display'];
|
|
2902
3296
|
}
|
|
2903
3297
|
|
|
2904
3298
|
declare const BoxtagName = 's-box';
|
|
2905
3299
|
declare const BoxBaseClass: typeof globalThis.HTMLElement;
|
|
2906
3300
|
|
|
2907
3301
|
declare module 'preact' {
|
|
2908
|
-
interface BaseProps {
|
|
2909
|
-
children?: preact.ComponentChildren;
|
|
2910
|
-
slot?: Lowercase<string>;
|
|
2911
|
-
}
|
|
2912
|
-
|
|
2913
3302
|
namespace createElement.JSX {
|
|
2914
3303
|
interface IntrinsicElements {
|
|
2915
|
-
[BannertagName]: Omit<BannerJSXProps, 'secondaryActions'> &
|
|
3304
|
+
[BannertagName]: Omit<BannerJSXProps, 'secondaryActions'> &
|
|
3305
|
+
BannerPreactBaseElementPropsWithChildren<Banner>;
|
|
2916
3306
|
}
|
|
2917
3307
|
}
|
|
2918
3308
|
}
|
|
@@ -2948,6 +3338,19 @@ export interface BannerActivationEventEsque {
|
|
|
2948
3338
|
button: number;
|
|
2949
3339
|
}
|
|
2950
3340
|
|
|
3341
|
+
export interface BannerPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends BannerPreactBaseElementProps<TClass> {
|
|
3342
|
+
children?: preact.ComponentChildren;
|
|
3343
|
+
}
|
|
3344
|
+
|
|
3345
|
+
export interface BannerPreactBaseElementProps<TClass extends HTMLElement> {
|
|
3346
|
+
/** Assigns a unique key to this element. */
|
|
3347
|
+
key?: preact.Key;
|
|
3348
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
3349
|
+
ref?: preact.Ref<TClass>;
|
|
3350
|
+
/** Assigns this element to a parent's slot. */
|
|
3351
|
+
slot?: Lowercase<string>;
|
|
3352
|
+
}
|
|
3353
|
+
|
|
2951
3354
|
export interface BannerProps extends Pick<
|
|
2952
3355
|
RequiredBannerProps,
|
|
2953
3356
|
'heading' | 'dismissible' | 'hidden' | 'tone'
|
|
@@ -2962,14 +3365,9 @@ declare const BannertagName = 's-banner';
|
|
|
2962
3365
|
declare const BannerBaseClass: typeof globalThis.HTMLElement;
|
|
2963
3366
|
|
|
2964
3367
|
declare module 'preact' {
|
|
2965
|
-
interface BaseProps {
|
|
2966
|
-
children?: preact.ComponentChildren;
|
|
2967
|
-
slot?: Lowercase<string>;
|
|
2968
|
-
}
|
|
2969
|
-
|
|
2970
3368
|
namespace createElement.JSX {
|
|
2971
3369
|
interface IntrinsicElements {
|
|
2972
|
-
[tagName]: BadgeJSXProps &
|
|
3370
|
+
[tagName]: BadgeJSXProps & PreactBaseElementPropsWithChildren<Badge>;
|
|
2973
3371
|
}
|
|
2974
3372
|
}
|
|
2975
3373
|
}
|
|
@@ -2983,6 +3381,19 @@ declare global {
|
|
|
2983
3381
|
export interface BadgeJSXProps extends Partial<BadgeProps>, Pick<BadgeProps$1, 'id'> {
|
|
2984
3382
|
}
|
|
2985
3383
|
|
|
3384
|
+
export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends PreactBaseElementProps<TClass> {
|
|
3385
|
+
children?: preact.ComponentChildren;
|
|
3386
|
+
}
|
|
3387
|
+
|
|
3388
|
+
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
3389
|
+
/** Assigns a unique key to this element. */
|
|
3390
|
+
key?: preact.Key;
|
|
3391
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
3392
|
+
ref?: preact.Ref<TClass>;
|
|
3393
|
+
/** Assigns this element to a parent's slot. */
|
|
3394
|
+
slot?: Lowercase<string>;
|
|
3395
|
+
}
|
|
3396
|
+
|
|
2986
3397
|
export interface ClickOptions {
|
|
2987
3398
|
/**
|
|
2988
3399
|
* The event you want to influence the synthetic click.
|
|
@@ -3052,9 +3463,10 @@ import { OptionGroup } from "../../../../../src/surfaces/admin/components/Option
|
|
|
3052
3463
|
import { OrderedList } from "../../../../../src/surfaces/admin/components/OrderedList";
|
|
3053
3464
|
import { Paragraph } from "../../../../../src/surfaces/admin/components/Paragraph";
|
|
3054
3465
|
import { PasswordField, PasswordFieldProps } from "../../../../../src/surfaces/admin/components/PasswordField";
|
|
3466
|
+
import { QueryContainer } from "../../../../../src/surfaces/admin/components/QueryContainer";
|
|
3055
3467
|
import { RequiredSectionProps, Section } from "../../../../../src/surfaces/admin/components/Section";
|
|
3056
3468
|
import { Select } from "../../../../../src/surfaces/admin/components/Select";
|
|
3057
|
-
import { AdminPrintActionProps$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";
|
|
3469
|
+
import { AdminPrintActionProps$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";
|
|
3058
3470
|
import { Spinner } from "../../../../../src/surfaces/admin/components/Spinner";
|
|
3059
3471
|
import { AlignedStackProps, ResponsiveStackProps, Stack } from "../../../../../src/surfaces/admin/components/Stack";
|
|
3060
3472
|
import { Table } from "../../../../../src/surfaces/admin/components/Table";
|