@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.draft-order-index.selection-action.render.d.ts
CHANGED
|
@@ -49,13 +49,9 @@ declare const AdminActionBaseClass: typeof globalThis.HTMLElement;
|
|
|
49
49
|
declare const AdminActiontagName = 's-admin-action';
|
|
50
50
|
|
|
51
51
|
declare module 'preact' {
|
|
52
|
-
interface BaseProps {
|
|
53
|
-
slot?: Lowercase<string>;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
52
|
namespace createElement.JSX {
|
|
57
53
|
interface IntrinsicElements {
|
|
58
|
-
[URLFieldtagName]: URLFieldJSXProps &
|
|
54
|
+
[URLFieldtagName]: URLFieldJSXProps & URLFieldPreactBaseElementProps<URLField>;
|
|
59
55
|
}
|
|
60
56
|
}
|
|
61
57
|
}
|
|
@@ -69,6 +65,15 @@ declare global {
|
|
|
69
65
|
export interface URLFieldJSXProps extends Partial<Omit<URLFieldProps, 'accessory'>>, Pick<URLFieldProps$1, 'id'>, URLFieldFieldReactProps<typeof URLFieldtagName> {
|
|
70
66
|
}
|
|
71
67
|
|
|
68
|
+
export interface URLFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
69
|
+
/** Assigns a unique key to this element. */
|
|
70
|
+
key?: preact.Key;
|
|
71
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
72
|
+
ref?: preact.Ref<TClass>;
|
|
73
|
+
/** Assigns this element to a parent's slot. */
|
|
74
|
+
slot?: Lowercase<string>;
|
|
75
|
+
}
|
|
76
|
+
|
|
72
77
|
export interface URLFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
73
78
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
74
79
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -95,14 +100,10 @@ declare const URLFieldinternals: unique symbol;
|
|
|
95
100
|
declare const URLFieldBaseClass: typeof globalThis.HTMLElement;
|
|
96
101
|
|
|
97
102
|
declare module 'preact' {
|
|
98
|
-
interface BaseProps {
|
|
99
|
-
children?: preact.ComponentChildren;
|
|
100
|
-
slot?: Lowercase<string>;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
103
|
namespace createElement.JSX {
|
|
104
104
|
interface IntrinsicElements {
|
|
105
|
-
[UnorderedListtagName]: UnorderedListJSXProps &
|
|
105
|
+
[UnorderedListtagName]: UnorderedListJSXProps &
|
|
106
|
+
UnorderedListPreactBaseElementPropsWithChildren<UnorderedList>;
|
|
106
107
|
}
|
|
107
108
|
}
|
|
108
109
|
}
|
|
@@ -116,6 +117,19 @@ declare global {
|
|
|
116
117
|
export interface UnorderedListJSXProps extends Partial<UnorderedListProps>, Pick<UnorderedListProps$1, 'id'> {
|
|
117
118
|
}
|
|
118
119
|
|
|
120
|
+
export interface UnorderedListPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends UnorderedListPreactBaseElementProps<TClass> {
|
|
121
|
+
children?: preact.ComponentChildren;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export interface UnorderedListPreactBaseElementProps<TClass extends HTMLElement> {
|
|
125
|
+
/** Assigns a unique key to this element. */
|
|
126
|
+
key?: preact.Key;
|
|
127
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
128
|
+
ref?: preact.Ref<TClass>;
|
|
129
|
+
/** Assigns this element to a parent's slot. */
|
|
130
|
+
slot?: Lowercase<string>;
|
|
131
|
+
}
|
|
132
|
+
|
|
119
133
|
export interface UnorderedListClickOptions {
|
|
120
134
|
/**
|
|
121
135
|
* The event you want to influence the synthetic click.
|
|
@@ -137,13 +151,10 @@ declare const UnorderedListtagName = 's-unordered-list';
|
|
|
137
151
|
declare const UnorderedListBaseClass: typeof globalThis.HTMLElement;
|
|
138
152
|
|
|
139
153
|
declare module 'preact' {
|
|
140
|
-
interface BaseProps {
|
|
141
|
-
slot?: Lowercase<string>;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
154
|
namespace createElement.JSX {
|
|
145
155
|
interface IntrinsicElements {
|
|
146
|
-
[TextFieldtagName]: Omit<TextFieldJSXProps, 'accessory'> &
|
|
156
|
+
[TextFieldtagName]: Omit<TextFieldJSXProps, 'accessory'> &
|
|
157
|
+
TextFieldPreactBaseElementProps<TextField>;
|
|
147
158
|
}
|
|
148
159
|
}
|
|
149
160
|
}
|
|
@@ -161,6 +172,15 @@ export interface TextFieldJSXProps extends Partial<Omit<TextFieldProps, 'accesso
|
|
|
161
172
|
accessory?: ComponentChild;
|
|
162
173
|
}
|
|
163
174
|
|
|
175
|
+
export interface TextFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
176
|
+
/** Assigns a unique key to this element. */
|
|
177
|
+
key?: preact.Key;
|
|
178
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
179
|
+
ref?: preact.Ref<TClass>;
|
|
180
|
+
/** Assigns this element to a parent's slot. */
|
|
181
|
+
slot?: Lowercase<string>;
|
|
182
|
+
}
|
|
183
|
+
|
|
164
184
|
export interface TextFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
165
185
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
166
186
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -187,13 +207,9 @@ declare const TextFieldinternals: unique symbol;
|
|
|
187
207
|
declare const TextFieldBaseClass: typeof globalThis.HTMLElement;
|
|
188
208
|
|
|
189
209
|
declare module 'preact' {
|
|
190
|
-
interface BaseProps {
|
|
191
|
-
slot?: Lowercase<string>;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
210
|
namespace createElement.JSX {
|
|
195
211
|
interface IntrinsicElements {
|
|
196
|
-
[TextAreatagName]: TextAreaJSXProps &
|
|
212
|
+
[TextAreatagName]: TextAreaJSXProps & TextAreaPreactBaseElementProps<TextArea>;
|
|
197
213
|
}
|
|
198
214
|
}
|
|
199
215
|
}
|
|
@@ -207,6 +223,15 @@ declare global {
|
|
|
207
223
|
export interface TextAreaJSXProps extends Partial<TextAreaProps>, Pick<TextAreaProps$1, 'id'>, TextAreaFieldReactProps<typeof TextAreatagName> {
|
|
208
224
|
}
|
|
209
225
|
|
|
226
|
+
export interface TextAreaPreactBaseElementProps<TClass extends HTMLElement> {
|
|
227
|
+
/** Assigns a unique key to this element. */
|
|
228
|
+
key?: preact.Key;
|
|
229
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
230
|
+
ref?: preact.Ref<TClass>;
|
|
231
|
+
/** Assigns this element to a parent's slot. */
|
|
232
|
+
slot?: Lowercase<string>;
|
|
233
|
+
}
|
|
234
|
+
|
|
210
235
|
export interface TextAreaFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
211
236
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
212
237
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -233,14 +258,9 @@ declare const TextAreainternals: unique symbol;
|
|
|
233
258
|
declare const TextAreaBaseClass: typeof globalThis.HTMLElement;
|
|
234
259
|
|
|
235
260
|
declare module 'preact' {
|
|
236
|
-
interface BaseProps {
|
|
237
|
-
children?: preact.ComponentChildren;
|
|
238
|
-
slot?: Lowercase<string>;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
261
|
namespace createElement.JSX {
|
|
242
262
|
interface IntrinsicElements {
|
|
243
|
-
[TexttagName]: TextJSXProps &
|
|
263
|
+
[TexttagName]: TextJSXProps & TextPreactBaseElementPropsWithChildren<Text>;
|
|
244
264
|
}
|
|
245
265
|
}
|
|
246
266
|
}
|
|
@@ -254,6 +274,19 @@ declare global {
|
|
|
254
274
|
export interface TextJSXProps extends Partial<TextProps>, Pick<TextProps$1, 'id'> {
|
|
255
275
|
}
|
|
256
276
|
|
|
277
|
+
export interface TextPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TextPreactBaseElementProps<TClass> {
|
|
278
|
+
children?: preact.ComponentChildren;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
export interface TextPreactBaseElementProps<TClass extends HTMLElement> {
|
|
282
|
+
/** Assigns a unique key to this element. */
|
|
283
|
+
key?: preact.Key;
|
|
284
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
285
|
+
ref?: preact.Ref<TClass>;
|
|
286
|
+
/** Assigns this element to a parent's slot. */
|
|
287
|
+
slot?: Lowercase<string>;
|
|
288
|
+
}
|
|
289
|
+
|
|
257
290
|
export interface TextClickOptions {
|
|
258
291
|
/**
|
|
259
292
|
* The event you want to influence the synthetic click.
|
|
@@ -298,14 +331,10 @@ declare const TexttagName = 's-text';
|
|
|
298
331
|
declare const TextBaseClass: typeof globalThis.HTMLElement;
|
|
299
332
|
|
|
300
333
|
declare module 'preact' {
|
|
301
|
-
interface BaseProps {
|
|
302
|
-
children?: preact.ComponentChildren;
|
|
303
|
-
slot?: Lowercase<string>;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
334
|
namespace createElement.JSX {
|
|
307
335
|
interface IntrinsicElements {
|
|
308
|
-
[TableRowtagName]: TableRowJSXProps &
|
|
336
|
+
[TableRowtagName]: TableRowJSXProps &
|
|
337
|
+
TableRowPreactBaseElementPropsWithChildren<TableRow>;
|
|
309
338
|
}
|
|
310
339
|
}
|
|
311
340
|
}
|
|
@@ -319,6 +348,19 @@ declare global {
|
|
|
319
348
|
export interface TableRowJSXProps extends Partial<TableRowProps>, Pick<TableRowProps$1, 'id'> {
|
|
320
349
|
}
|
|
321
350
|
|
|
351
|
+
export interface TableRowPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableRowPreactBaseElementProps<TClass> {
|
|
352
|
+
children?: preact.ComponentChildren;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
export interface TableRowPreactBaseElementProps<TClass extends HTMLElement> {
|
|
356
|
+
/** Assigns a unique key to this element. */
|
|
357
|
+
key?: preact.Key;
|
|
358
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
359
|
+
ref?: preact.Ref<TClass>;
|
|
360
|
+
/** Assigns this element to a parent's slot. */
|
|
361
|
+
slot?: Lowercase<string>;
|
|
362
|
+
}
|
|
363
|
+
|
|
322
364
|
export interface TableRowClickOptions {
|
|
323
365
|
/**
|
|
324
366
|
* The event you want to influence the synthetic click.
|
|
@@ -340,14 +382,10 @@ declare const TableRowtagName = 's-table-row';
|
|
|
340
382
|
declare const TableRowBaseClass: typeof globalThis.HTMLElement;
|
|
341
383
|
|
|
342
384
|
declare module 'preact' {
|
|
343
|
-
interface BaseProps {
|
|
344
|
-
children?: preact.ComponentChildren;
|
|
345
|
-
slot?: Lowercase<string>;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
385
|
namespace createElement.JSX {
|
|
349
386
|
interface IntrinsicElements {
|
|
350
|
-
[TableHeaderRowtagName]: TableHeaderRowJSXProps &
|
|
387
|
+
[TableHeaderRowtagName]: TableHeaderRowJSXProps &
|
|
388
|
+
TableHeaderRowPreactBaseElementPropsWithChildren<TableHeaderRow>;
|
|
351
389
|
}
|
|
352
390
|
}
|
|
353
391
|
}
|
|
@@ -361,6 +399,19 @@ declare global {
|
|
|
361
399
|
export interface TableHeaderRowJSXProps extends Partial<TableHeaderRowProps>, Pick<TableHeaderRowProps$1, 'id'> {
|
|
362
400
|
}
|
|
363
401
|
|
|
402
|
+
export interface TableHeaderRowPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableHeaderRowPreactBaseElementProps<TClass> {
|
|
403
|
+
children?: preact.ComponentChildren;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
export interface TableHeaderRowPreactBaseElementProps<TClass extends HTMLElement> {
|
|
407
|
+
/** Assigns a unique key to this element. */
|
|
408
|
+
key?: preact.Key;
|
|
409
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
410
|
+
ref?: preact.Ref<TClass>;
|
|
411
|
+
/** Assigns this element to a parent's slot. */
|
|
412
|
+
slot?: Lowercase<string>;
|
|
413
|
+
}
|
|
414
|
+
|
|
364
415
|
export interface TableHeaderRowClickOptions {
|
|
365
416
|
/**
|
|
366
417
|
* The event you want to influence the synthetic click.
|
|
@@ -382,14 +433,10 @@ declare const TableHeaderRowtagName = 's-table-header-row';
|
|
|
382
433
|
declare const TableHeaderRowBaseClass: typeof globalThis.HTMLElement;
|
|
383
434
|
|
|
384
435
|
declare module 'preact' {
|
|
385
|
-
interface BaseProps {
|
|
386
|
-
children?: preact.ComponentChildren;
|
|
387
|
-
slot?: Lowercase<string>;
|
|
388
|
-
}
|
|
389
|
-
|
|
390
436
|
namespace createElement.JSX {
|
|
391
437
|
interface IntrinsicElements {
|
|
392
|
-
[TableHeadertagName]: TableHeaderJSXProps &
|
|
438
|
+
[TableHeadertagName]: TableHeaderJSXProps &
|
|
439
|
+
TableHeaderPreactBaseElementPropsWithChildren<TableHeader>;
|
|
393
440
|
}
|
|
394
441
|
}
|
|
395
442
|
}
|
|
@@ -403,6 +450,19 @@ declare global {
|
|
|
403
450
|
export interface TableHeaderJSXProps extends Partial<TableHeaderTableHeaderProps>, Pick<TableHeaderProps$1, 'id'> {
|
|
404
451
|
}
|
|
405
452
|
|
|
453
|
+
export interface TableHeaderPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableHeaderPreactBaseElementProps<TClass> {
|
|
454
|
+
children?: preact.ComponentChildren;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
export interface TableHeaderPreactBaseElementProps<TClass extends HTMLElement> {
|
|
458
|
+
/** Assigns a unique key to this element. */
|
|
459
|
+
key?: preact.Key;
|
|
460
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
461
|
+
ref?: preact.Ref<TClass>;
|
|
462
|
+
/** Assigns this element to a parent's slot. */
|
|
463
|
+
slot?: Lowercase<string>;
|
|
464
|
+
}
|
|
465
|
+
|
|
406
466
|
export interface TableHeaderClickOptions {
|
|
407
467
|
/**
|
|
408
468
|
* The event you want to influence the synthetic click.
|
|
@@ -428,14 +488,10 @@ declare const TableHeadertagName = 's-table-header';
|
|
|
428
488
|
declare const TableHeaderBaseClass: typeof globalThis.HTMLElement;
|
|
429
489
|
|
|
430
490
|
declare module 'preact' {
|
|
431
|
-
interface BaseProps {
|
|
432
|
-
children?: preact.ComponentChildren;
|
|
433
|
-
slot?: Lowercase<string>;
|
|
434
|
-
}
|
|
435
|
-
|
|
436
491
|
namespace createElement.JSX {
|
|
437
492
|
interface IntrinsicElements {
|
|
438
|
-
[TableCelltagName]: TableCellJSXProps &
|
|
493
|
+
[TableCelltagName]: TableCellJSXProps &
|
|
494
|
+
TableCellPreactBaseElementPropsWithChildren<TableCell>;
|
|
439
495
|
}
|
|
440
496
|
}
|
|
441
497
|
}
|
|
@@ -449,6 +505,19 @@ declare global {
|
|
|
449
505
|
export interface TableCellJSXProps extends Partial<TableCellProps>, Pick<TableCellProps$1, 'id'> {
|
|
450
506
|
}
|
|
451
507
|
|
|
508
|
+
export interface TableCellPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableCellPreactBaseElementProps<TClass> {
|
|
509
|
+
children?: preact.ComponentChildren;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
export interface TableCellPreactBaseElementProps<TClass extends HTMLElement> {
|
|
513
|
+
/** Assigns a unique key to this element. */
|
|
514
|
+
key?: preact.Key;
|
|
515
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
516
|
+
ref?: preact.Ref<TClass>;
|
|
517
|
+
/** Assigns this element to a parent's slot. */
|
|
518
|
+
slot?: Lowercase<string>;
|
|
519
|
+
}
|
|
520
|
+
|
|
452
521
|
export interface TableCellClickOptions {
|
|
453
522
|
/**
|
|
454
523
|
* The event you want to influence the synthetic click.
|
|
@@ -470,14 +539,10 @@ declare const TableCelltagName = 's-table-cell';
|
|
|
470
539
|
declare const TableCellBaseClass: typeof globalThis.HTMLElement;
|
|
471
540
|
|
|
472
541
|
declare module 'preact' {
|
|
473
|
-
interface BaseProps {
|
|
474
|
-
children?: preact.ComponentChildren;
|
|
475
|
-
slot?: Lowercase<string>;
|
|
476
|
-
}
|
|
477
|
-
|
|
478
542
|
namespace createElement.JSX {
|
|
479
543
|
interface IntrinsicElements {
|
|
480
|
-
[TableBodytagName]: TableBodyJSXProps &
|
|
544
|
+
[TableBodytagName]: TableBodyJSXProps &
|
|
545
|
+
TableBodyPreactBaseElementPropsWithChildren<TableBody>;
|
|
481
546
|
}
|
|
482
547
|
}
|
|
483
548
|
}
|
|
@@ -491,6 +556,19 @@ declare global {
|
|
|
491
556
|
export interface TableBodyJSXProps extends Partial<TableBodyProps>, Pick<TableBodyProps$1, 'id'> {
|
|
492
557
|
}
|
|
493
558
|
|
|
559
|
+
export interface TableBodyPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableBodyPreactBaseElementProps<TClass> {
|
|
560
|
+
children?: preact.ComponentChildren;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
export interface TableBodyPreactBaseElementProps<TClass extends HTMLElement> {
|
|
564
|
+
/** Assigns a unique key to this element. */
|
|
565
|
+
key?: preact.Key;
|
|
566
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
567
|
+
ref?: preact.Ref<TClass>;
|
|
568
|
+
/** Assigns this element to a parent's slot. */
|
|
569
|
+
slot?: Lowercase<string>;
|
|
570
|
+
}
|
|
571
|
+
|
|
494
572
|
export interface TableBodyClickOptions {
|
|
495
573
|
/**
|
|
496
574
|
* The event you want to influence the synthetic click.
|
|
@@ -512,14 +590,10 @@ declare const TableBodytagName = 's-table-body';
|
|
|
512
590
|
declare const TableBodyBaseClass: typeof globalThis.HTMLElement;
|
|
513
591
|
|
|
514
592
|
declare module 'preact' {
|
|
515
|
-
interface BaseProps {
|
|
516
|
-
children?: preact.ComponentChildren;
|
|
517
|
-
slot?: Lowercase<string>;
|
|
518
|
-
}
|
|
519
|
-
|
|
520
593
|
namespace createElement.JSX {
|
|
521
594
|
interface IntrinsicElements {
|
|
522
|
-
[TabletagName]: Omit<TableJSXProps, 'filters'> &
|
|
595
|
+
[TabletagName]: Omit<TableJSXProps, 'filters'> &
|
|
596
|
+
TablePreactBaseElementPropsWithChildren<Table>;
|
|
523
597
|
}
|
|
524
598
|
}
|
|
525
599
|
}
|
|
@@ -537,6 +611,19 @@ export interface TableJSXProps extends Partial<TableProps>, Pick<TableProps$1, '
|
|
|
537
611
|
filters?: ComponentChild;
|
|
538
612
|
}
|
|
539
613
|
|
|
614
|
+
export interface TablePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TablePreactBaseElementProps<TClass> {
|
|
615
|
+
children?: preact.ComponentChildren;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
export interface TablePreactBaseElementProps<TClass extends HTMLElement> {
|
|
619
|
+
/** Assigns a unique key to this element. */
|
|
620
|
+
key?: preact.Key;
|
|
621
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
622
|
+
ref?: preact.Ref<TClass>;
|
|
623
|
+
/** Assigns this element to a parent's slot. */
|
|
624
|
+
slot?: Lowercase<string>;
|
|
625
|
+
}
|
|
626
|
+
|
|
540
627
|
export interface TableClickOptions {
|
|
541
628
|
/**
|
|
542
629
|
* The event you want to influence the synthetic click.
|
|
@@ -573,14 +660,9 @@ declare const actualTableVariantSymbol: unique symbol;
|
|
|
573
660
|
declare const TableBaseClass: typeof globalThis.HTMLElement;
|
|
574
661
|
|
|
575
662
|
declare module 'preact' {
|
|
576
|
-
interface BaseProps {
|
|
577
|
-
children?: preact.ComponentChildren;
|
|
578
|
-
slot?: Lowercase<string>;
|
|
579
|
-
}
|
|
580
|
-
|
|
581
663
|
namespace createElement.JSX {
|
|
582
664
|
interface IntrinsicElements {
|
|
583
|
-
[StacktagName]: StackJSXProps &
|
|
665
|
+
[StacktagName]: StackJSXProps & StackPreactBaseElementPropsWithChildren<Stack>;
|
|
584
666
|
}
|
|
585
667
|
}
|
|
586
668
|
}
|
|
@@ -594,6 +676,19 @@ declare global {
|
|
|
594
676
|
export interface StackJSXProps extends Partial<StackProps>, Pick<StackProps$1, 'id'> {
|
|
595
677
|
}
|
|
596
678
|
|
|
679
|
+
export interface StackPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends StackPreactBaseElementProps<TClass> {
|
|
680
|
+
children?: preact.ComponentChildren;
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
export interface StackPreactBaseElementProps<TClass extends HTMLElement> {
|
|
684
|
+
/** Assigns a unique key to this element. */
|
|
685
|
+
key?: preact.Key;
|
|
686
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
687
|
+
ref?: preact.Ref<TClass>;
|
|
688
|
+
/** Assigns this element to a parent's slot. */
|
|
689
|
+
slot?: Lowercase<string>;
|
|
690
|
+
}
|
|
691
|
+
|
|
597
692
|
export interface StackClickOptions {
|
|
598
693
|
/**
|
|
599
694
|
* The event you want to influence the synthetic click.
|
|
@@ -669,7 +764,6 @@ export interface StackBoxProps extends Pick<
|
|
|
669
764
|
| 'borderRadius'
|
|
670
765
|
| 'borderStyle'
|
|
671
766
|
| 'borderWidth'
|
|
672
|
-
| 'display'
|
|
673
767
|
| 'inlineSize'
|
|
674
768
|
| 'maxBlockSize'
|
|
675
769
|
| 'maxInlineSize'
|
|
@@ -792,6 +886,16 @@ export interface StackBoxProps extends Pick<
|
|
|
792
886
|
* @default '' - meaning no override
|
|
793
887
|
*/
|
|
794
888
|
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
889
|
+
/**
|
|
890
|
+
* 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).
|
|
891
|
+
*
|
|
892
|
+
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
893
|
+
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
894
|
+
*
|
|
895
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
896
|
+
* @default 'auto'
|
|
897
|
+
*/
|
|
898
|
+
display: ResponsiveBoxProps['display'];
|
|
795
899
|
}
|
|
796
900
|
|
|
797
901
|
declare const StacktagName = 's-stack';
|
|
@@ -800,7 +904,7 @@ declare const StackBaseClass: typeof globalThis.HTMLElement;
|
|
|
800
904
|
declare module 'preact' {
|
|
801
905
|
namespace createElement.JSX {
|
|
802
906
|
interface IntrinsicElements {
|
|
803
|
-
[SpinnertagName]: SpinnerJSXProps
|
|
907
|
+
[SpinnertagName]: SpinnerJSXProps & SpinnerPreactBaseElementProps<Spinner>;
|
|
804
908
|
}
|
|
805
909
|
}
|
|
806
910
|
}
|
|
@@ -814,6 +918,15 @@ declare global {
|
|
|
814
918
|
export interface SpinnerJSXProps extends Partial<SpinnerProps>, Pick<SpinnerProps$1, 'id'> {
|
|
815
919
|
}
|
|
816
920
|
|
|
921
|
+
export interface SpinnerPreactBaseElementProps<TClass extends HTMLElement> {
|
|
922
|
+
/** Assigns a unique key to this element. */
|
|
923
|
+
key?: preact.Key;
|
|
924
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
925
|
+
ref?: preact.Ref<TClass>;
|
|
926
|
+
/** Assigns this element to a parent's slot. */
|
|
927
|
+
slot?: Lowercase<string>;
|
|
928
|
+
}
|
|
929
|
+
|
|
817
930
|
export interface SpinnerClickOptions {
|
|
818
931
|
/**
|
|
819
932
|
* The event you want to influence the synthetic click.
|
|
@@ -836,14 +949,9 @@ declare const SpinnertagName = 's-spinner';
|
|
|
836
949
|
declare const SpinnerBaseClass: typeof globalThis.HTMLElement;
|
|
837
950
|
|
|
838
951
|
declare module 'preact' {
|
|
839
|
-
interface BaseProps {
|
|
840
|
-
children?: preact.ComponentChildren;
|
|
841
|
-
slot?: Lowercase<string>;
|
|
842
|
-
}
|
|
843
|
-
|
|
844
952
|
namespace createElement.JSX {
|
|
845
953
|
interface IntrinsicElements {
|
|
846
|
-
[SelecttagName]: SelectJSXProps &
|
|
954
|
+
[SelecttagName]: SelectJSXProps & SelectPreactBaseElementPropsWithChildren<Select>;
|
|
847
955
|
}
|
|
848
956
|
}
|
|
849
957
|
}
|
|
@@ -878,6 +986,19 @@ export interface SelectProps extends Omit<PreactInputProps, 'value'>, Required<
|
|
|
878
986
|
value: Required<SelectProps$1>['value'];
|
|
879
987
|
}
|
|
880
988
|
|
|
989
|
+
export interface SelectPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends SelectPreactBaseElementProps<TClass> {
|
|
990
|
+
children?: preact.ComponentChildren;
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
export interface SelectPreactBaseElementProps<TClass extends HTMLElement> {
|
|
994
|
+
/** Assigns a unique key to this element. */
|
|
995
|
+
key?: preact.Key;
|
|
996
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
997
|
+
ref?: preact.Ref<TClass>;
|
|
998
|
+
/** Assigns this element to a parent's slot. */
|
|
999
|
+
slot?: Lowercase<string>;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
881
1002
|
export interface SelectClickOptions {
|
|
882
1003
|
/**
|
|
883
1004
|
* The event you want to influence the synthetic click.
|
|
@@ -899,14 +1020,9 @@ declare const Selectinternals: unique symbol;
|
|
|
899
1020
|
declare const SelectBaseClass: typeof globalThis.HTMLElement;
|
|
900
1021
|
|
|
901
1022
|
declare module 'preact' {
|
|
902
|
-
interface BaseProps {
|
|
903
|
-
children?: preact.ComponentChildren;
|
|
904
|
-
slot?: Lowercase<string>;
|
|
905
|
-
}
|
|
906
|
-
|
|
907
1023
|
namespace createElement.JSX {
|
|
908
1024
|
interface IntrinsicElements {
|
|
909
|
-
[SectiontagName]: SectionJSXProps &
|
|
1025
|
+
[SectiontagName]: SectionJSXProps & SectionPreactBaseElementPropsWithChildren<Section>;
|
|
910
1026
|
}
|
|
911
1027
|
}
|
|
912
1028
|
}
|
|
@@ -920,6 +1036,19 @@ declare global {
|
|
|
920
1036
|
export interface SectionJSXProps extends Partial<SectionProps>, Pick<SectionProps$1, 'id'> {
|
|
921
1037
|
}
|
|
922
1038
|
|
|
1039
|
+
export interface SectionPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends SectionPreactBaseElementProps<TClass> {
|
|
1040
|
+
children?: preact.ComponentChildren;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
export interface SectionPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1044
|
+
/** Assigns a unique key to this element. */
|
|
1045
|
+
key?: preact.Key;
|
|
1046
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1047
|
+
ref?: preact.Ref<TClass>;
|
|
1048
|
+
/** Assigns this element to a parent's slot. */
|
|
1049
|
+
slot?: Lowercase<string>;
|
|
1050
|
+
}
|
|
1051
|
+
|
|
923
1052
|
export interface SectionClickOptions {
|
|
924
1053
|
/**
|
|
925
1054
|
* The event you want to influence the synthetic click.
|
|
@@ -947,13 +1076,50 @@ declare const SectiontagName = 's-section';
|
|
|
947
1076
|
declare const SectionBaseClass: typeof globalThis.HTMLElement;
|
|
948
1077
|
|
|
949
1078
|
declare module 'preact' {
|
|
950
|
-
|
|
951
|
-
|
|
1079
|
+
namespace createElement.JSX {
|
|
1080
|
+
interface IntrinsicElements {
|
|
1081
|
+
[QueryContainertagName]: Omit<
|
|
1082
|
+
HTMLAttributes<HTMLElement>,
|
|
1083
|
+
Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
|
|
1084
|
+
> &
|
|
1085
|
+
QueryContainerJSXProps;
|
|
1086
|
+
}
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
declare global {
|
|
1091
|
+
interface HTMLElementTagNameMap {
|
|
1092
|
+
[QueryContainertagName]: QueryContainer;
|
|
952
1093
|
}
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
export interface QueryContainerJSXProps extends Partial<QueryContainerProps$1>, Pick<QueryContainerProps$1, 'id'> {
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
export interface QueryContainerProps extends Required<Pick<QueryContainerProps$1, 'id' | 'containerName'>> {
|
|
1100
|
+
}
|
|
953
1101
|
|
|
1102
|
+
export interface QueryContainerClickOptions {
|
|
1103
|
+
/**
|
|
1104
|
+
* The event you want to influence the synthetic click.
|
|
1105
|
+
*/
|
|
1106
|
+
sourceEvent?: QueryContainerActivationEventEsque;
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
export interface QueryContainerActivationEventEsque {
|
|
1110
|
+
shiftKey: boolean;
|
|
1111
|
+
metaKey: boolean;
|
|
1112
|
+
ctrlKey: boolean;
|
|
1113
|
+
button: number;
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
declare const QueryContainertagName = 's-query-container';
|
|
1117
|
+
declare const QueryContainerBaseClass: typeof globalThis.HTMLElement;
|
|
1118
|
+
|
|
1119
|
+
declare module 'preact' {
|
|
954
1120
|
namespace createElement.JSX {
|
|
955
1121
|
interface IntrinsicElements {
|
|
956
|
-
[PasswordFieldtagName]: PasswordFieldJSXProps &
|
|
1122
|
+
[PasswordFieldtagName]: PasswordFieldJSXProps & PasswordFieldPreactBaseElementProps<PasswordField>;
|
|
957
1123
|
}
|
|
958
1124
|
}
|
|
959
1125
|
}
|
|
@@ -967,6 +1133,15 @@ declare global {
|
|
|
967
1133
|
export interface PasswordFieldJSXProps extends Partial<PasswordFieldProps>, Pick<PasswordFieldProps$1, 'id'>, PasswordFieldFieldReactProps<typeof PasswordFieldtagName> {
|
|
968
1134
|
}
|
|
969
1135
|
|
|
1136
|
+
export interface PasswordFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1137
|
+
/** Assigns a unique key to this element. */
|
|
1138
|
+
key?: preact.Key;
|
|
1139
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1140
|
+
ref?: preact.Ref<TClass>;
|
|
1141
|
+
/** Assigns this element to a parent's slot. */
|
|
1142
|
+
slot?: Lowercase<string>;
|
|
1143
|
+
}
|
|
1144
|
+
|
|
970
1145
|
export interface PasswordFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
971
1146
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
972
1147
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -993,14 +1168,10 @@ declare const PasswordFieldinternals: unique symbol;
|
|
|
993
1168
|
declare const PasswordFieldBaseClass: typeof globalThis.HTMLElement;
|
|
994
1169
|
|
|
995
1170
|
declare module 'preact' {
|
|
996
|
-
interface BaseProps {
|
|
997
|
-
children?: preact.ComponentChildren;
|
|
998
|
-
slot?: Lowercase<string>;
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
1171
|
namespace createElement.JSX {
|
|
1002
1172
|
interface IntrinsicElements {
|
|
1003
|
-
[ParagraphtagName]: ParagraphJSXProps &
|
|
1173
|
+
[ParagraphtagName]: ParagraphJSXProps &
|
|
1174
|
+
ParagraphPreactBaseElementPropsWithChildren<Paragraph>;
|
|
1004
1175
|
}
|
|
1005
1176
|
}
|
|
1006
1177
|
}
|
|
@@ -1014,6 +1185,19 @@ declare global {
|
|
|
1014
1185
|
export interface ParagraphJSXProps extends Partial<ParagraphProps>, Pick<ParagraphProps$1, 'id'> {
|
|
1015
1186
|
}
|
|
1016
1187
|
|
|
1188
|
+
export interface ParagraphPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ParagraphPreactBaseElementProps<TClass> {
|
|
1189
|
+
children?: preact.ComponentChildren;
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
export interface ParagraphPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1193
|
+
/** Assigns a unique key to this element. */
|
|
1194
|
+
key?: preact.Key;
|
|
1195
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1196
|
+
ref?: preact.Ref<TClass>;
|
|
1197
|
+
/** Assigns this element to a parent's slot. */
|
|
1198
|
+
slot?: Lowercase<string>;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1017
1201
|
export interface ParagraphClickOptions {
|
|
1018
1202
|
/**
|
|
1019
1203
|
* The event you want to influence the synthetic click.
|
|
@@ -1047,14 +1231,10 @@ declare const ParagraphtagName = 's-paragraph';
|
|
|
1047
1231
|
declare const ParagraphBaseClass: typeof globalThis.HTMLElement;
|
|
1048
1232
|
|
|
1049
1233
|
declare module 'preact' {
|
|
1050
|
-
interface BaseProps {
|
|
1051
|
-
children?: preact.ComponentChildren;
|
|
1052
|
-
slot?: Lowercase<string>;
|
|
1053
|
-
}
|
|
1054
|
-
|
|
1055
1234
|
namespace createElement.JSX {
|
|
1056
1235
|
interface IntrinsicElements {
|
|
1057
|
-
[OrderedListtagName]: OrderedListJSXProps &
|
|
1236
|
+
[OrderedListtagName]: OrderedListJSXProps &
|
|
1237
|
+
OrderedListPreactBaseElementPropsWithChildren<OrderedList>;
|
|
1058
1238
|
}
|
|
1059
1239
|
}
|
|
1060
1240
|
}
|
|
@@ -1068,6 +1248,19 @@ declare global {
|
|
|
1068
1248
|
export interface OrderedListJSXProps extends Partial<OrderedListProps>, Pick<OrderedListProps$1, 'id'> {
|
|
1069
1249
|
}
|
|
1070
1250
|
|
|
1251
|
+
export interface OrderedListPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends OrderedListPreactBaseElementProps<TClass> {
|
|
1252
|
+
children?: preact.ComponentChildren;
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
export interface OrderedListPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1256
|
+
/** Assigns a unique key to this element. */
|
|
1257
|
+
key?: preact.Key;
|
|
1258
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1259
|
+
ref?: preact.Ref<TClass>;
|
|
1260
|
+
/** Assigns this element to a parent's slot. */
|
|
1261
|
+
slot?: Lowercase<string>;
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1071
1264
|
export interface OrderedListClickOptions {
|
|
1072
1265
|
/**
|
|
1073
1266
|
* The event you want to influence the synthetic click.
|
|
@@ -1089,13 +1282,10 @@ declare const OrderedListtagName = 's-ordered-list';
|
|
|
1089
1282
|
declare const OrderedListBaseClass: typeof globalThis.HTMLElement;
|
|
1090
1283
|
|
|
1091
1284
|
declare module 'preact' {
|
|
1092
|
-
interface BaseProps {
|
|
1093
|
-
children?: preact.ComponentChildren;
|
|
1094
|
-
}
|
|
1095
|
-
|
|
1096
1285
|
namespace createElement.JSX {
|
|
1097
1286
|
interface IntrinsicElements {
|
|
1098
|
-
[OptionGrouptagName]: OptionGroupJSXProps &
|
|
1287
|
+
[OptionGrouptagName]: OptionGroupJSXProps &
|
|
1288
|
+
OptionGroupPreactBaseElementPropsWithChildren<OptionGroup>;
|
|
1099
1289
|
}
|
|
1100
1290
|
}
|
|
1101
1291
|
}
|
|
@@ -1109,6 +1299,19 @@ declare global {
|
|
|
1109
1299
|
export interface OptionGroupJSXProps extends Partial<OptionGroupProps> {
|
|
1110
1300
|
}
|
|
1111
1301
|
|
|
1302
|
+
export interface OptionGroupPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends OptionGroupPreactBaseElementProps<TClass> {
|
|
1303
|
+
children?: preact.ComponentChildren;
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
export interface OptionGroupPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1307
|
+
/** Assigns a unique key to this element. */
|
|
1308
|
+
key?: preact.Key;
|
|
1309
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1310
|
+
ref?: preact.Ref<TClass>;
|
|
1311
|
+
/** Assigns this element to a parent's slot. */
|
|
1312
|
+
slot?: Lowercase<string>;
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1112
1315
|
export interface OptionGroupClickOptions {
|
|
1113
1316
|
/**
|
|
1114
1317
|
* The event you want to influence the synthetic click.
|
|
@@ -1130,13 +1333,9 @@ declare const OptionGrouptagName = 's-option-group';
|
|
|
1130
1333
|
declare const OptionGroupBaseClass: typeof globalThis.HTMLElement;
|
|
1131
1334
|
|
|
1132
1335
|
declare module 'preact' {
|
|
1133
|
-
interface BaseProps {
|
|
1134
|
-
children?: preact.ComponentChildren;
|
|
1135
|
-
}
|
|
1136
|
-
|
|
1137
1336
|
namespace createElement.JSX {
|
|
1138
1337
|
interface IntrinsicElements {
|
|
1139
|
-
[OptiontagName]: OptionJSXProps &
|
|
1338
|
+
[OptiontagName]: OptionJSXProps & OptionPreactBaseElementPropsWithChildren<Option>;
|
|
1140
1339
|
}
|
|
1141
1340
|
}
|
|
1142
1341
|
}
|
|
@@ -1150,6 +1349,19 @@ declare global {
|
|
|
1150
1349
|
export interface OptionJSXProps extends Partial<OptionProps> {
|
|
1151
1350
|
}
|
|
1152
1351
|
|
|
1352
|
+
export interface OptionPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends OptionPreactBaseElementProps<TClass> {
|
|
1353
|
+
children?: preact.ComponentChildren;
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1356
|
+
export interface OptionPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1357
|
+
/** Assigns a unique key to this element. */
|
|
1358
|
+
key?: preact.Key;
|
|
1359
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1360
|
+
ref?: preact.Ref<TClass>;
|
|
1361
|
+
/** Assigns this element to a parent's slot. */
|
|
1362
|
+
slot?: Lowercase<string>;
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1153
1365
|
export interface OptionClickOptions {
|
|
1154
1366
|
/**
|
|
1155
1367
|
* The event you want to influence the synthetic click.
|
|
@@ -1173,13 +1385,9 @@ declare const OptiontagName = 's-option';
|
|
|
1173
1385
|
declare const OptionBaseClass: typeof globalThis.HTMLElement;
|
|
1174
1386
|
|
|
1175
1387
|
declare module 'preact' {
|
|
1176
|
-
interface BaseProps {
|
|
1177
|
-
slot?: Lowercase<string>;
|
|
1178
|
-
}
|
|
1179
|
-
|
|
1180
1388
|
namespace createElement.JSX {
|
|
1181
1389
|
interface IntrinsicElements {
|
|
1182
|
-
[NumberFieldtagName]: NumberFieldJSXProps &
|
|
1390
|
+
[NumberFieldtagName]: NumberFieldJSXProps & NumberFieldPreactBaseElementProps<NumberField>;
|
|
1183
1391
|
}
|
|
1184
1392
|
}
|
|
1185
1393
|
}
|
|
@@ -1205,6 +1413,15 @@ export interface NumberFieldProps extends Omit<
|
|
|
1205
1413
|
value: Required<NumberFieldProps$1>['value'];
|
|
1206
1414
|
}
|
|
1207
1415
|
|
|
1416
|
+
export interface NumberFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1417
|
+
/** Assigns a unique key to this element. */
|
|
1418
|
+
key?: preact.Key;
|
|
1419
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1420
|
+
ref?: preact.Ref<TClass>;
|
|
1421
|
+
/** Assigns this element to a parent's slot. */
|
|
1422
|
+
slot?: Lowercase<string>;
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1208
1425
|
export interface NumberFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
1209
1426
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
1210
1427
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -1231,14 +1448,9 @@ declare const NumberFieldinternals: unique symbol;
|
|
|
1231
1448
|
declare const NumberFieldBaseClass: typeof globalThis.HTMLElement;
|
|
1232
1449
|
|
|
1233
1450
|
declare module 'preact' {
|
|
1234
|
-
interface BaseProps {
|
|
1235
|
-
children?: preact.ComponentChildren;
|
|
1236
|
-
slot?: Lowercase<string>;
|
|
1237
|
-
}
|
|
1238
|
-
|
|
1239
1451
|
namespace createElement.JSX {
|
|
1240
1452
|
interface IntrinsicElements {
|
|
1241
|
-
[MoneyFieldtagName]: MoneyFieldJSXProps &
|
|
1453
|
+
[MoneyFieldtagName]: MoneyFieldJSXProps & MoneyFieldPreactBaseElementProps<MoneyField>;
|
|
1242
1454
|
}
|
|
1243
1455
|
}
|
|
1244
1456
|
}
|
|
@@ -1256,6 +1468,15 @@ export interface MoneyFieldProps extends Omit<PreactFieldProps, 'value'>, Pick<R
|
|
|
1256
1468
|
value: Required<MoneyFieldProps$1>['value'];
|
|
1257
1469
|
}
|
|
1258
1470
|
|
|
1471
|
+
export interface MoneyFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1472
|
+
/** Assigns a unique key to this element. */
|
|
1473
|
+
key?: preact.Key;
|
|
1474
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1475
|
+
ref?: preact.Ref<TClass>;
|
|
1476
|
+
/** Assigns this element to a parent's slot. */
|
|
1477
|
+
slot?: Lowercase<string>;
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1259
1480
|
export interface MoneyFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
1260
1481
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
1261
1482
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -1282,14 +1503,10 @@ declare const MoneyFieldinternals: unique symbol;
|
|
|
1282
1503
|
declare const MoneyFieldBaseClass: typeof globalThis.HTMLElement;
|
|
1283
1504
|
|
|
1284
1505
|
declare module 'preact' {
|
|
1285
|
-
interface BaseProps {
|
|
1286
|
-
children?: preact.ComponentChildren;
|
|
1287
|
-
slot?: Lowercase<string>;
|
|
1288
|
-
}
|
|
1289
|
-
|
|
1290
1506
|
namespace createElement.JSX {
|
|
1291
1507
|
interface IntrinsicElements {
|
|
1292
|
-
[ListItemtagName]: ListItemJSXProps &
|
|
1508
|
+
[ListItemtagName]: ListItemJSXProps &
|
|
1509
|
+
ListItemPreactBaseElementPropsWithChildren<ListItem>;
|
|
1293
1510
|
}
|
|
1294
1511
|
}
|
|
1295
1512
|
}
|
|
@@ -1303,6 +1520,19 @@ declare global {
|
|
|
1303
1520
|
export interface ListItemJSXProps extends Partial<ListItemProps>, Pick<ListItemProps$1, 'id'> {
|
|
1304
1521
|
}
|
|
1305
1522
|
|
|
1523
|
+
export interface ListItemPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ListItemPreactBaseElementProps<TClass> {
|
|
1524
|
+
children?: preact.ComponentChildren;
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
export interface ListItemPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1528
|
+
/** Assigns a unique key to this element. */
|
|
1529
|
+
key?: preact.Key;
|
|
1530
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1531
|
+
ref?: preact.Ref<TClass>;
|
|
1532
|
+
/** Assigns this element to a parent's slot. */
|
|
1533
|
+
slot?: Lowercase<string>;
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1306
1536
|
export interface ListItemClickOptions {
|
|
1307
1537
|
/**
|
|
1308
1538
|
* The event you want to influence the synthetic click.
|
|
@@ -1324,14 +1554,9 @@ declare const ListItemtagName = 's-list-item';
|
|
|
1324
1554
|
declare const ListItemBaseClass: typeof globalThis.HTMLElement;
|
|
1325
1555
|
|
|
1326
1556
|
declare module 'preact' {
|
|
1327
|
-
interface BaseProps {
|
|
1328
|
-
children?: preact.ComponentChildren;
|
|
1329
|
-
slot?: Lowercase<string>;
|
|
1330
|
-
}
|
|
1331
|
-
|
|
1332
1557
|
namespace createElement.JSX {
|
|
1333
1558
|
interface IntrinsicElements {
|
|
1334
|
-
[LinktagName]: LinkJSXProps &
|
|
1559
|
+
[LinktagName]: LinkJSXProps & LinkPreactBaseElementPropsWithChildren<Link>;
|
|
1335
1560
|
}
|
|
1336
1561
|
}
|
|
1337
1562
|
}
|
|
@@ -1381,6 +1606,19 @@ export interface LinkActivationEventEsque {
|
|
|
1381
1606
|
button: number;
|
|
1382
1607
|
}
|
|
1383
1608
|
|
|
1609
|
+
export interface LinkPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends LinkPreactBaseElementProps<TClass> {
|
|
1610
|
+
children?: preact.ComponentChildren;
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1613
|
+
export interface LinkPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1614
|
+
/** Assigns a unique key to this element. */
|
|
1615
|
+
key?: preact.Key;
|
|
1616
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1617
|
+
ref?: preact.Ref<TClass>;
|
|
1618
|
+
/** Assigns this element to a parent's slot. */
|
|
1619
|
+
slot?: Lowercase<string>;
|
|
1620
|
+
}
|
|
1621
|
+
|
|
1384
1622
|
export interface LinkProps extends Pick<
|
|
1385
1623
|
LinkProps$1,
|
|
1386
1624
|
| 'accessibilityLabel'
|
|
@@ -1410,13 +1648,9 @@ declare const Link_base: (abstract new (
|
|
|
1410
1648
|
declare const LinkBaseClass: typeof globalThis.HTMLElement;
|
|
1411
1649
|
|
|
1412
1650
|
declare module 'preact' {
|
|
1413
|
-
interface BaseProps {
|
|
1414
|
-
slot?: Lowercase<string>;
|
|
1415
|
-
}
|
|
1416
|
-
|
|
1417
1651
|
namespace createElement.JSX {
|
|
1418
1652
|
interface IntrinsicElements {
|
|
1419
|
-
[ImagetagName]: ImageJSXProps &
|
|
1653
|
+
[ImagetagName]: ImageJSXProps & ImagePreactBaseElementProps<Image>;
|
|
1420
1654
|
}
|
|
1421
1655
|
}
|
|
1422
1656
|
}
|
|
@@ -1446,6 +1680,15 @@ export interface ImageActivationEventEsque {
|
|
|
1446
1680
|
button: number;
|
|
1447
1681
|
}
|
|
1448
1682
|
|
|
1683
|
+
export interface ImagePreactBaseElementProps<TClass extends HTMLElement> {
|
|
1684
|
+
/** Assigns a unique key to this element. */
|
|
1685
|
+
key?: preact.Key;
|
|
1686
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1687
|
+
ref?: preact.Ref<TClass>;
|
|
1688
|
+
/** Assigns this element to a parent's slot. */
|
|
1689
|
+
slot?: Lowercase<string>;
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1449
1692
|
export interface ImageProps extends Required<
|
|
1450
1693
|
Pick<
|
|
1451
1694
|
ImageProps$1,
|
|
@@ -1488,7 +1731,6 @@ export interface ImageBoxProps extends Pick<
|
|
|
1488
1731
|
| 'borderRadius'
|
|
1489
1732
|
| 'borderStyle'
|
|
1490
1733
|
| 'borderWidth'
|
|
1491
|
-
| 'display'
|
|
1492
1734
|
| 'inlineSize'
|
|
1493
1735
|
| 'maxBlockSize'
|
|
1494
1736
|
| 'maxInlineSize'
|
|
@@ -1611,19 +1853,25 @@ export interface ImageBoxProps extends Pick<
|
|
|
1611
1853
|
* @default '' - meaning no override
|
|
1612
1854
|
*/
|
|
1613
1855
|
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
1856
|
+
/**
|
|
1857
|
+
* 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).
|
|
1858
|
+
*
|
|
1859
|
+
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
1860
|
+
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
1861
|
+
*
|
|
1862
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
1863
|
+
* @default 'auto'
|
|
1864
|
+
*/
|
|
1865
|
+
display: ResponsiveBoxProps['display'];
|
|
1614
1866
|
}
|
|
1615
1867
|
|
|
1616
1868
|
declare const ImagetagName = 's-image';
|
|
1617
1869
|
declare const ImageBaseClass: typeof globalThis.HTMLElement;
|
|
1618
1870
|
|
|
1619
1871
|
declare module 'preact' {
|
|
1620
|
-
interface BaseProps {
|
|
1621
|
-
slot?: Lowercase<string>;
|
|
1622
|
-
}
|
|
1623
|
-
|
|
1624
1872
|
namespace createElement.JSX {
|
|
1625
1873
|
interface IntrinsicElements {
|
|
1626
|
-
[IcontagName]: IconJSXProps &
|
|
1874
|
+
[IcontagName]: IconJSXProps & IconPreactBaseElementProps<Icon>;
|
|
1627
1875
|
}
|
|
1628
1876
|
}
|
|
1629
1877
|
}
|
|
@@ -1637,6 +1885,15 @@ declare global {
|
|
|
1637
1885
|
export interface IconJSXProps extends Partial<IconIconProps>, Pick<IconProps$1, 'id'> {
|
|
1638
1886
|
}
|
|
1639
1887
|
|
|
1888
|
+
export interface IconPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1889
|
+
/** Assigns a unique key to this element. */
|
|
1890
|
+
key?: preact.Key;
|
|
1891
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1892
|
+
ref?: preact.Ref<TClass>;
|
|
1893
|
+
/** Assigns this element to a parent's slot. */
|
|
1894
|
+
slot?: Lowercase<string>;
|
|
1895
|
+
}
|
|
1896
|
+
|
|
1640
1897
|
export interface IconClickOptions {
|
|
1641
1898
|
/**
|
|
1642
1899
|
* The event you want to influence the synthetic click.
|
|
@@ -1668,14 +1925,9 @@ declare const IcontagName = 's-icon';
|
|
|
1668
1925
|
declare const IconBaseClass: typeof globalThis.HTMLElement;
|
|
1669
1926
|
|
|
1670
1927
|
declare module 'preact' {
|
|
1671
|
-
interface BaseProps {
|
|
1672
|
-
children?: preact.ComponentChildren;
|
|
1673
|
-
slot?: Lowercase<string>;
|
|
1674
|
-
}
|
|
1675
|
-
|
|
1676
1928
|
namespace createElement.JSX {
|
|
1677
1929
|
interface IntrinsicElements {
|
|
1678
|
-
[HeadingtagName]: HeadingJSXProps &
|
|
1930
|
+
[HeadingtagName]: HeadingJSXProps & HeadingPreactBaseElementPropsWithChildren<Heading>;
|
|
1679
1931
|
}
|
|
1680
1932
|
}
|
|
1681
1933
|
}
|
|
@@ -1689,6 +1941,19 @@ declare global {
|
|
|
1689
1941
|
export interface HeadingJSXProps extends Partial<HeadingProps>, Pick<HeadingProps$1, 'id'> {
|
|
1690
1942
|
}
|
|
1691
1943
|
|
|
1944
|
+
export interface HeadingPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends HeadingPreactBaseElementProps<TClass> {
|
|
1945
|
+
children?: preact.ComponentChildren;
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1948
|
+
export interface HeadingPreactBaseElementProps<TClass extends HTMLElement> {
|
|
1949
|
+
/** Assigns a unique key to this element. */
|
|
1950
|
+
key?: preact.Key;
|
|
1951
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
1952
|
+
ref?: preact.Ref<TClass>;
|
|
1953
|
+
/** Assigns this element to a parent's slot. */
|
|
1954
|
+
slot?: Lowercase<string>;
|
|
1955
|
+
}
|
|
1956
|
+
|
|
1692
1957
|
export interface HeadingClickOptions {
|
|
1693
1958
|
/**
|
|
1694
1959
|
* The event you want to influence the synthetic click.
|
|
@@ -1716,14 +1981,10 @@ declare const HeadingtagName = 's-heading';
|
|
|
1716
1981
|
declare const HeadingBaseClass: typeof globalThis.HTMLElement;
|
|
1717
1982
|
|
|
1718
1983
|
declare module 'preact' {
|
|
1719
|
-
interface BaseProps {
|
|
1720
|
-
children?: preact.ComponentChildren;
|
|
1721
|
-
slot?: Lowercase<string>;
|
|
1722
|
-
}
|
|
1723
|
-
|
|
1724
1984
|
namespace createElement.JSX {
|
|
1725
1985
|
interface IntrinsicElements {
|
|
1726
|
-
[GridItemtagName]: GridItemJSXProps &
|
|
1986
|
+
[GridItemtagName]: GridItemJSXProps &
|
|
1987
|
+
GridItemPreactBaseElementPropsWithChildren<GridItem>;
|
|
1727
1988
|
}
|
|
1728
1989
|
}
|
|
1729
1990
|
}
|
|
@@ -1737,6 +1998,19 @@ declare global {
|
|
|
1737
1998
|
export interface GridItemJSXProps extends Partial<GridItemProps>, Pick<GridItemProps$1, 'id'> {
|
|
1738
1999
|
}
|
|
1739
2000
|
|
|
2001
|
+
export interface GridItemPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends GridItemPreactBaseElementProps<TClass> {
|
|
2002
|
+
children?: preact.ComponentChildren;
|
|
2003
|
+
}
|
|
2004
|
+
|
|
2005
|
+
export interface GridItemPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2006
|
+
/** Assigns a unique key to this element. */
|
|
2007
|
+
key?: preact.Key;
|
|
2008
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2009
|
+
ref?: preact.Ref<TClass>;
|
|
2010
|
+
/** Assigns this element to a parent's slot. */
|
|
2011
|
+
slot?: Lowercase<string>;
|
|
2012
|
+
}
|
|
2013
|
+
|
|
1740
2014
|
export interface GridItemClickOptions {
|
|
1741
2015
|
/**
|
|
1742
2016
|
* The event you want to influence the synthetic click.
|
|
@@ -1768,7 +2042,6 @@ export interface GridItemBoxProps extends Pick<
|
|
|
1768
2042
|
| 'borderRadius'
|
|
1769
2043
|
| 'borderStyle'
|
|
1770
2044
|
| 'borderWidth'
|
|
1771
|
-
| 'display'
|
|
1772
2045
|
| 'inlineSize'
|
|
1773
2046
|
| 'maxBlockSize'
|
|
1774
2047
|
| 'maxInlineSize'
|
|
@@ -1891,20 +2164,25 @@ export interface GridItemBoxProps extends Pick<
|
|
|
1891
2164
|
* @default '' - meaning no override
|
|
1892
2165
|
*/
|
|
1893
2166
|
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
2167
|
+
/**
|
|
2168
|
+
* 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).
|
|
2169
|
+
*
|
|
2170
|
+
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
2171
|
+
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
2172
|
+
*
|
|
2173
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
2174
|
+
* @default 'auto'
|
|
2175
|
+
*/
|
|
2176
|
+
display: ResponsiveBoxProps['display'];
|
|
1894
2177
|
}
|
|
1895
2178
|
|
|
1896
2179
|
declare const GridItemtagName = 's-grid-item';
|
|
1897
2180
|
declare const GridItemBaseClass: typeof globalThis.HTMLElement;
|
|
1898
2181
|
|
|
1899
2182
|
declare module 'preact' {
|
|
1900
|
-
interface BaseProps {
|
|
1901
|
-
children?: preact.ComponentChildren;
|
|
1902
|
-
slot?: Lowercase<string>;
|
|
1903
|
-
}
|
|
1904
|
-
|
|
1905
2183
|
namespace createElement.JSX {
|
|
1906
2184
|
interface IntrinsicElements {
|
|
1907
|
-
[GridtagName]: GridJSXProps &
|
|
2185
|
+
[GridtagName]: GridJSXProps & GridPreactBaseElementPropsWithChildren<Grid>;
|
|
1908
2186
|
}
|
|
1909
2187
|
}
|
|
1910
2188
|
}
|
|
@@ -1932,6 +2210,19 @@ export interface GridActivationEventEsque {
|
|
|
1932
2210
|
button: number;
|
|
1933
2211
|
}
|
|
1934
2212
|
|
|
2213
|
+
export interface GridPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends GridPreactBaseElementProps<TClass> {
|
|
2214
|
+
children?: preact.ComponentChildren;
|
|
2215
|
+
}
|
|
2216
|
+
|
|
2217
|
+
export interface GridPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2218
|
+
/** Assigns a unique key to this element. */
|
|
2219
|
+
key?: preact.Key;
|
|
2220
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2221
|
+
ref?: preact.Ref<TClass>;
|
|
2222
|
+
/** Assigns this element to a parent's slot. */
|
|
2223
|
+
slot?: Lowercase<string>;
|
|
2224
|
+
}
|
|
2225
|
+
|
|
1935
2226
|
export interface GridProps extends GridBoxProps, Required<
|
|
1936
2227
|
Pick<
|
|
1937
2228
|
GridProps$1,
|
|
@@ -1992,7 +2283,6 @@ export interface GridBoxProps extends Pick<
|
|
|
1992
2283
|
| 'borderRadius'
|
|
1993
2284
|
| 'borderStyle'
|
|
1994
2285
|
| 'borderWidth'
|
|
1995
|
-
| 'display'
|
|
1996
2286
|
| 'inlineSize'
|
|
1997
2287
|
| 'maxBlockSize'
|
|
1998
2288
|
| 'maxInlineSize'
|
|
@@ -2115,19 +2405,25 @@ export interface GridBoxProps extends Pick<
|
|
|
2115
2405
|
* @default '' - meaning no override
|
|
2116
2406
|
*/
|
|
2117
2407
|
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
2408
|
+
/**
|
|
2409
|
+
* 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).
|
|
2410
|
+
*
|
|
2411
|
+
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
2412
|
+
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
2413
|
+
*
|
|
2414
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
2415
|
+
* @default 'auto'
|
|
2416
|
+
*/
|
|
2417
|
+
display: ResponsiveBoxProps['display'];
|
|
2118
2418
|
}
|
|
2119
2419
|
|
|
2120
2420
|
declare const GridtagName = 's-grid';
|
|
2121
2421
|
declare const GridBaseClass: typeof globalThis.HTMLElement;
|
|
2122
2422
|
|
|
2123
2423
|
declare module 'preact' {
|
|
2124
|
-
interface BaseProps {
|
|
2125
|
-
slot?: Lowercase<string>;
|
|
2126
|
-
}
|
|
2127
|
-
|
|
2128
2424
|
namespace createElement.JSX {
|
|
2129
2425
|
interface IntrinsicElements {
|
|
2130
|
-
[EmailFieldtagName]: EmailFieldJSXProps &
|
|
2426
|
+
[EmailFieldtagName]: EmailFieldJSXProps & EmailFieldPreactBaseElementProps<EmailField>;
|
|
2131
2427
|
}
|
|
2132
2428
|
}
|
|
2133
2429
|
}
|
|
@@ -2141,6 +2437,15 @@ declare global {
|
|
|
2141
2437
|
export interface EmailFieldJSXProps extends Partial<Omit<EmailFieldProps, 'accessory'>>, Pick<EmailFieldProps$1, 'id'>, FieldReactProps<typeof EmailFieldtagName> {
|
|
2142
2438
|
}
|
|
2143
2439
|
|
|
2440
|
+
export interface EmailFieldPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2441
|
+
/** Assigns a unique key to this element. */
|
|
2442
|
+
key?: preact.Key;
|
|
2443
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2444
|
+
ref?: preact.Ref<TClass>;
|
|
2445
|
+
/** Assigns this element to a parent's slot. */
|
|
2446
|
+
slot?: Lowercase<string>;
|
|
2447
|
+
}
|
|
2448
|
+
|
|
2144
2449
|
export interface FieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
2145
2450
|
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
2146
2451
|
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
@@ -2167,13 +2472,9 @@ declare const EmailFieldinternals: unique symbol;
|
|
|
2167
2472
|
declare const EmailFieldBaseClass: typeof globalThis.HTMLElement;
|
|
2168
2473
|
|
|
2169
2474
|
declare module 'preact' {
|
|
2170
|
-
interface BaseProps {
|
|
2171
|
-
slot?: Lowercase<string>;
|
|
2172
|
-
}
|
|
2173
|
-
|
|
2174
2475
|
namespace createElement.JSX {
|
|
2175
2476
|
interface IntrinsicElements {
|
|
2176
|
-
[DividertagName]: DividerJSXProps &
|
|
2477
|
+
[DividertagName]: DividerJSXProps & DividerPreactBaseElementProps<Divider>;
|
|
2177
2478
|
}
|
|
2178
2479
|
}
|
|
2179
2480
|
}
|
|
@@ -2187,6 +2488,15 @@ declare global {
|
|
|
2187
2488
|
export interface DividerJSXProps extends Partial<DividerProps>, Pick<DividerProps$1, 'id'> {
|
|
2188
2489
|
}
|
|
2189
2490
|
|
|
2491
|
+
export interface DividerPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2492
|
+
/** Assigns a unique key to this element. */
|
|
2493
|
+
key?: preact.Key;
|
|
2494
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2495
|
+
ref?: preact.Ref<TClass>;
|
|
2496
|
+
/** Assigns this element to a parent's slot. */
|
|
2497
|
+
slot?: Lowercase<string>;
|
|
2498
|
+
}
|
|
2499
|
+
|
|
2190
2500
|
export interface DividerClickOptions {
|
|
2191
2501
|
/**
|
|
2192
2502
|
* The event you want to influence the synthetic click.
|
|
@@ -2210,13 +2520,9 @@ declare const DividertagName = 's-divider';
|
|
|
2210
2520
|
declare const DividerBaseClass: typeof globalThis.HTMLElement;
|
|
2211
2521
|
|
|
2212
2522
|
declare module 'preact' {
|
|
2213
|
-
interface BaseProps {
|
|
2214
|
-
slot?: Lowercase<string>;
|
|
2215
|
-
}
|
|
2216
|
-
|
|
2217
2523
|
namespace createElement.JSX {
|
|
2218
2524
|
interface IntrinsicElements {
|
|
2219
|
-
[DatePickertagName]: DatePickerJSXProps &
|
|
2525
|
+
[DatePickertagName]: DatePickerJSXProps & DatePickerPreactBaseElementProps<DatePicker>;
|
|
2220
2526
|
}
|
|
2221
2527
|
}
|
|
2222
2528
|
}
|
|
@@ -2256,6 +2562,15 @@ export interface DatePickerActivationEventEsque {
|
|
|
2256
2562
|
button: number;
|
|
2257
2563
|
}
|
|
2258
2564
|
|
|
2565
|
+
export interface DatePickerPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2566
|
+
/** Assigns a unique key to this element. */
|
|
2567
|
+
key?: preact.Key;
|
|
2568
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2569
|
+
ref?: preact.Ref<TClass>;
|
|
2570
|
+
/** Assigns this element to a parent's slot. */
|
|
2571
|
+
slot?: Lowercase<string>;
|
|
2572
|
+
}
|
|
2573
|
+
|
|
2259
2574
|
export interface DatePickerProps extends Required<
|
|
2260
2575
|
Pick<
|
|
2261
2576
|
DatePickerProps$1,
|
|
@@ -2279,14 +2594,10 @@ declare const DatePickerinternals: unique symbol;
|
|
|
2279
2594
|
declare const DatePickerBaseClass$1: typeof globalThis.HTMLElement;
|
|
2280
2595
|
|
|
2281
2596
|
declare module 'preact' {
|
|
2282
|
-
interface BaseProps {
|
|
2283
|
-
children?: preact.ComponentChildren;
|
|
2284
|
-
slot?: Lowercase<string>;
|
|
2285
|
-
}
|
|
2286
|
-
|
|
2287
2597
|
namespace createElement.JSX {
|
|
2288
2598
|
interface IntrinsicElements {
|
|
2289
|
-
[ClickabletagName]: ClickableJSXProps &
|
|
2599
|
+
[ClickabletagName]: ClickableJSXProps &
|
|
2600
|
+
ClickablePreactBaseElementPropsWithChildren<Clickable>;
|
|
2290
2601
|
}
|
|
2291
2602
|
}
|
|
2292
2603
|
}
|
|
@@ -2338,6 +2649,19 @@ export interface ClickableActivationEventEsque {
|
|
|
2338
2649
|
button: number;
|
|
2339
2650
|
}
|
|
2340
2651
|
|
|
2652
|
+
export interface ClickablePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ClickablePreactBaseElementProps<TClass> {
|
|
2653
|
+
children?: preact.ComponentChildren;
|
|
2654
|
+
}
|
|
2655
|
+
|
|
2656
|
+
export interface ClickablePreactBaseElementProps<TClass extends HTMLElement> {
|
|
2657
|
+
/** Assigns a unique key to this element. */
|
|
2658
|
+
key?: preact.Key;
|
|
2659
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2660
|
+
ref?: preact.Ref<TClass>;
|
|
2661
|
+
/** Assigns this element to a parent's slot. */
|
|
2662
|
+
slot?: Lowercase<string>;
|
|
2663
|
+
}
|
|
2664
|
+
|
|
2341
2665
|
export interface ClickableProps extends Required<ClickableBoxProps>, ClickableBaseProps {
|
|
2342
2666
|
}
|
|
2343
2667
|
|
|
@@ -2353,7 +2677,6 @@ export interface ClickableBoxProps extends Pick<
|
|
|
2353
2677
|
| 'borderRadius'
|
|
2354
2678
|
| 'borderStyle'
|
|
2355
2679
|
| 'borderWidth'
|
|
2356
|
-
| 'display'
|
|
2357
2680
|
| 'inlineSize'
|
|
2358
2681
|
| 'maxBlockSize'
|
|
2359
2682
|
| 'maxInlineSize'
|
|
@@ -2476,6 +2799,16 @@ export interface ClickableBoxProps extends Pick<
|
|
|
2476
2799
|
* @default '' - meaning no override
|
|
2477
2800
|
*/
|
|
2478
2801
|
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
2802
|
+
/**
|
|
2803
|
+
* 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).
|
|
2804
|
+
*
|
|
2805
|
+
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
2806
|
+
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
2807
|
+
*
|
|
2808
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
2809
|
+
* @default 'auto'
|
|
2810
|
+
*/
|
|
2811
|
+
display: ResponsiveBoxProps['display'];
|
|
2479
2812
|
}
|
|
2480
2813
|
|
|
2481
2814
|
declare const ClickabletagName = 's-clickable';
|
|
@@ -2486,14 +2819,10 @@ declare const Clickable_base: (abstract new (
|
|
|
2486
2819
|
declare const ClickableBaseClass: typeof globalThis.HTMLElement;
|
|
2487
2820
|
|
|
2488
2821
|
declare module 'preact' {
|
|
2489
|
-
interface BaseProps {
|
|
2490
|
-
children?: preact.ComponentChildren;
|
|
2491
|
-
slot?: Lowercase<string>;
|
|
2492
|
-
}
|
|
2493
|
-
|
|
2494
2822
|
namespace createElement.JSX {
|
|
2495
2823
|
interface IntrinsicElements {
|
|
2496
|
-
[ChoiceListtagName]: ChoiceListJSXProps &
|
|
2824
|
+
[ChoiceListtagName]: ChoiceListJSXProps &
|
|
2825
|
+
ChoiceListPreactBaseElementPropsWithChildren<ChoiceList>;
|
|
2497
2826
|
}
|
|
2498
2827
|
}
|
|
2499
2828
|
}
|
|
@@ -2523,6 +2852,19 @@ export interface ChoiceListActivationEventEsque {
|
|
|
2523
2852
|
button: number;
|
|
2524
2853
|
}
|
|
2525
2854
|
|
|
2855
|
+
export interface ChoiceListPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ChoiceListPreactBaseElementProps<TClass> {
|
|
2856
|
+
children?: preact.ComponentChildren;
|
|
2857
|
+
}
|
|
2858
|
+
|
|
2859
|
+
export interface ChoiceListPreactBaseElementProps<TClass extends HTMLElement> {
|
|
2860
|
+
/** Assigns a unique key to this element. */
|
|
2861
|
+
key?: preact.Key;
|
|
2862
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2863
|
+
ref?: preact.Ref<TClass>;
|
|
2864
|
+
/** Assigns this element to a parent's slot. */
|
|
2865
|
+
slot?: Lowercase<string>;
|
|
2866
|
+
}
|
|
2867
|
+
|
|
2526
2868
|
export interface ChoiceListProps extends Required<
|
|
2527
2869
|
Pick<
|
|
2528
2870
|
ChoiceListProps$1,
|
|
@@ -2550,7 +2892,7 @@ declare const BaseClass$1: typeof globalThis.HTMLElement;
|
|
|
2550
2892
|
declare module 'preact' {
|
|
2551
2893
|
namespace createElement.JSX {
|
|
2552
2894
|
interface IntrinsicElements {
|
|
2553
|
-
[ChoicetagName]: ChoiceJSXProps
|
|
2895
|
+
[ChoicetagName]: ChoiceJSXProps & ChoicePreactBaseElementPropsWithChildren<Choice>;
|
|
2554
2896
|
}
|
|
2555
2897
|
}
|
|
2556
2898
|
}
|
|
@@ -2564,6 +2906,19 @@ declare global {
|
|
|
2564
2906
|
export interface ChoiceJSXProps extends Partial<ChoiceProps>, Pick<ChoiceProps$1, 'id'> {
|
|
2565
2907
|
}
|
|
2566
2908
|
|
|
2909
|
+
export interface ChoicePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ChoicePreactBaseElementProps<TClass> {
|
|
2910
|
+
children?: preact.ComponentChildren;
|
|
2911
|
+
}
|
|
2912
|
+
|
|
2913
|
+
export interface ChoicePreactBaseElementProps<TClass extends HTMLElement> {
|
|
2914
|
+
/** Assigns a unique key to this element. */
|
|
2915
|
+
key?: preact.Key;
|
|
2916
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
2917
|
+
ref?: preact.Ref<TClass>;
|
|
2918
|
+
/** Assigns this element to a parent's slot. */
|
|
2919
|
+
slot?: Lowercase<string>;
|
|
2920
|
+
}
|
|
2921
|
+
|
|
2567
2922
|
export interface ChoiceClickOptions {
|
|
2568
2923
|
/**
|
|
2569
2924
|
* The event you want to influence the synthetic click.
|
|
@@ -2598,7 +2953,8 @@ declare const ChoiceBaseClass: typeof globalThis.HTMLElement;
|
|
|
2598
2953
|
declare module 'preact' {
|
|
2599
2954
|
namespace createElement.JSX {
|
|
2600
2955
|
interface IntrinsicElements {
|
|
2601
|
-
[CheckboxtagName]: CheckboxJSXProps
|
|
2956
|
+
[CheckboxtagName]: CheckboxJSXProps &
|
|
2957
|
+
CheckboxPreactBaseElementPropsWithChildren<Checkbox>;
|
|
2602
2958
|
}
|
|
2603
2959
|
}
|
|
2604
2960
|
}
|
|
@@ -2636,6 +2992,19 @@ export interface PreactCheckboxProps extends Required<
|
|
|
2636
2992
|
value: Required<CheckboxProps$1>['value'];
|
|
2637
2993
|
}
|
|
2638
2994
|
|
|
2995
|
+
export interface CheckboxPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends CheckboxPreactBaseElementProps<TClass> {
|
|
2996
|
+
children?: preact.ComponentChildren;
|
|
2997
|
+
}
|
|
2998
|
+
|
|
2999
|
+
export interface CheckboxPreactBaseElementProps<TClass extends HTMLElement> {
|
|
3000
|
+
/** Assigns a unique key to this element. */
|
|
3001
|
+
key?: preact.Key;
|
|
3002
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
3003
|
+
ref?: preact.Ref<TClass>;
|
|
3004
|
+
/** Assigns this element to a parent's slot. */
|
|
3005
|
+
slot?: Lowercase<string>;
|
|
3006
|
+
}
|
|
3007
|
+
|
|
2639
3008
|
export interface CheckboxClickOptions {
|
|
2640
3009
|
/**
|
|
2641
3010
|
* The event you want to influence the synthetic click.
|
|
@@ -2655,14 +3024,9 @@ declare const internals: unique symbol;
|
|
|
2655
3024
|
declare const CheckboxBaseClass: typeof globalThis.HTMLElement;
|
|
2656
3025
|
|
|
2657
3026
|
declare module 'preact' {
|
|
2658
|
-
interface BaseProps {
|
|
2659
|
-
children?: preact.ComponentChildren;
|
|
2660
|
-
slot?: Lowercase<string>;
|
|
2661
|
-
}
|
|
2662
|
-
|
|
2663
3027
|
namespace createElement.JSX {
|
|
2664
3028
|
interface IntrinsicElements {
|
|
2665
|
-
[ButtontagName]: ButtonJSXProps &
|
|
3029
|
+
[ButtontagName]: ButtonJSXProps & ButtonPreactBaseElementPropsWithChildren<Button>;
|
|
2666
3030
|
}
|
|
2667
3031
|
}
|
|
2668
3032
|
}
|
|
@@ -2714,6 +3078,19 @@ export interface ButtonActivationEventEsque {
|
|
|
2714
3078
|
button: number;
|
|
2715
3079
|
}
|
|
2716
3080
|
|
|
3081
|
+
export interface ButtonPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ButtonPreactBaseElementProps<TClass> {
|
|
3082
|
+
children?: preact.ComponentChildren;
|
|
3083
|
+
}
|
|
3084
|
+
|
|
3085
|
+
export interface ButtonPreactBaseElementProps<TClass extends HTMLElement> {
|
|
3086
|
+
/** Assigns a unique key to this element. */
|
|
3087
|
+
key?: preact.Key;
|
|
3088
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
3089
|
+
ref?: preact.Ref<TClass>;
|
|
3090
|
+
/** Assigns this element to a parent's slot. */
|
|
3091
|
+
slot?: Lowercase<string>;
|
|
3092
|
+
}
|
|
3093
|
+
|
|
2717
3094
|
export interface ButtonProps extends ButtonBaseProps {
|
|
2718
3095
|
tone: Extract<ButtonProps$1['tone'], 'neutral' | 'critical' | 'auto'>;
|
|
2719
3096
|
icon: ButtonIconProps['type'];
|
|
@@ -2740,14 +3117,9 @@ declare const Button_base: (abstract new (
|
|
|
2740
3117
|
declare const ButtonBaseClass: typeof globalThis.HTMLElement;
|
|
2741
3118
|
|
|
2742
3119
|
declare module 'preact' {
|
|
2743
|
-
interface BaseProps {
|
|
2744
|
-
children?: preact.ComponentChildren;
|
|
2745
|
-
slot?: Lowercase<string>;
|
|
2746
|
-
}
|
|
2747
|
-
|
|
2748
3120
|
namespace createElement.JSX {
|
|
2749
3121
|
interface IntrinsicElements {
|
|
2750
|
-
[BoxtagName]: BoxJSXProps &
|
|
3122
|
+
[BoxtagName]: BoxJSXProps & BoxPreactBaseElementPropsWithChildren<Box>;
|
|
2751
3123
|
}
|
|
2752
3124
|
}
|
|
2753
3125
|
}
|
|
@@ -2761,6 +3133,19 @@ declare global {
|
|
|
2761
3133
|
export interface BoxJSXProps extends Partial<BoxProps>, Pick<BoxProps$1, 'id'> {
|
|
2762
3134
|
}
|
|
2763
3135
|
|
|
3136
|
+
export interface BoxPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends BoxPreactBaseElementProps<TClass> {
|
|
3137
|
+
children?: preact.ComponentChildren;
|
|
3138
|
+
}
|
|
3139
|
+
|
|
3140
|
+
export interface BoxPreactBaseElementProps<TClass extends HTMLElement> {
|
|
3141
|
+
/** Assigns a unique key to this element. */
|
|
3142
|
+
key?: preact.Key;
|
|
3143
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
3144
|
+
ref?: preact.Ref<TClass>;
|
|
3145
|
+
/** Assigns this element to a parent's slot. */
|
|
3146
|
+
slot?: Lowercase<string>;
|
|
3147
|
+
}
|
|
3148
|
+
|
|
2764
3149
|
export interface BoxClickOptions {
|
|
2765
3150
|
/**
|
|
2766
3151
|
* The event you want to influence the synthetic click.
|
|
@@ -2787,7 +3172,6 @@ export interface BoxProps extends Pick<
|
|
|
2787
3172
|
| 'borderRadius'
|
|
2788
3173
|
| 'borderStyle'
|
|
2789
3174
|
| 'borderWidth'
|
|
2790
|
-
| 'display'
|
|
2791
3175
|
| 'inlineSize'
|
|
2792
3176
|
| 'maxBlockSize'
|
|
2793
3177
|
| 'maxInlineSize'
|
|
@@ -2910,20 +3294,26 @@ export interface BoxProps extends Pick<
|
|
|
2910
3294
|
* @default '' - meaning no override
|
|
2911
3295
|
*/
|
|
2912
3296
|
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
3297
|
+
/**
|
|
3298
|
+
* 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).
|
|
3299
|
+
*
|
|
3300
|
+
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
3301
|
+
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
3302
|
+
*
|
|
3303
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
3304
|
+
* @default 'auto'
|
|
3305
|
+
*/
|
|
3306
|
+
display: ResponsiveBoxProps['display'];
|
|
2913
3307
|
}
|
|
2914
3308
|
|
|
2915
3309
|
declare const BoxtagName = 's-box';
|
|
2916
3310
|
declare const BoxBaseClass: typeof globalThis.HTMLElement;
|
|
2917
3311
|
|
|
2918
3312
|
declare module 'preact' {
|
|
2919
|
-
interface BaseProps {
|
|
2920
|
-
children?: preact.ComponentChildren;
|
|
2921
|
-
slot?: Lowercase<string>;
|
|
2922
|
-
}
|
|
2923
|
-
|
|
2924
3313
|
namespace createElement.JSX {
|
|
2925
3314
|
interface IntrinsicElements {
|
|
2926
|
-
[BannertagName]: Omit<BannerJSXProps, 'secondaryActions'> &
|
|
3315
|
+
[BannertagName]: Omit<BannerJSXProps, 'secondaryActions'> &
|
|
3316
|
+
BannerPreactBaseElementPropsWithChildren<Banner>;
|
|
2927
3317
|
}
|
|
2928
3318
|
}
|
|
2929
3319
|
}
|
|
@@ -2959,6 +3349,19 @@ export interface BannerActivationEventEsque {
|
|
|
2959
3349
|
button: number;
|
|
2960
3350
|
}
|
|
2961
3351
|
|
|
3352
|
+
export interface BannerPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends BannerPreactBaseElementProps<TClass> {
|
|
3353
|
+
children?: preact.ComponentChildren;
|
|
3354
|
+
}
|
|
3355
|
+
|
|
3356
|
+
export interface BannerPreactBaseElementProps<TClass extends HTMLElement> {
|
|
3357
|
+
/** Assigns a unique key to this element. */
|
|
3358
|
+
key?: preact.Key;
|
|
3359
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
3360
|
+
ref?: preact.Ref<TClass>;
|
|
3361
|
+
/** Assigns this element to a parent's slot. */
|
|
3362
|
+
slot?: Lowercase<string>;
|
|
3363
|
+
}
|
|
3364
|
+
|
|
2962
3365
|
export interface BannerProps extends Pick<
|
|
2963
3366
|
RequiredBannerProps,
|
|
2964
3367
|
'heading' | 'dismissible' | 'hidden' | 'tone'
|
|
@@ -2973,14 +3376,9 @@ declare const BannertagName = 's-banner';
|
|
|
2973
3376
|
declare const BannerBaseClass: typeof globalThis.HTMLElement;
|
|
2974
3377
|
|
|
2975
3378
|
declare module 'preact' {
|
|
2976
|
-
interface BaseProps {
|
|
2977
|
-
children?: preact.ComponentChildren;
|
|
2978
|
-
slot?: Lowercase<string>;
|
|
2979
|
-
}
|
|
2980
|
-
|
|
2981
3379
|
namespace createElement.JSX {
|
|
2982
3380
|
interface IntrinsicElements {
|
|
2983
|
-
[tagName]: BadgeJSXProps &
|
|
3381
|
+
[tagName]: BadgeJSXProps & PreactBaseElementPropsWithChildren<Badge>;
|
|
2984
3382
|
}
|
|
2985
3383
|
}
|
|
2986
3384
|
}
|
|
@@ -2994,6 +3392,19 @@ declare global {
|
|
|
2994
3392
|
export interface BadgeJSXProps extends Partial<BadgeProps>, Pick<BadgeProps$1, 'id'> {
|
|
2995
3393
|
}
|
|
2996
3394
|
|
|
3395
|
+
export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends PreactBaseElementProps<TClass> {
|
|
3396
|
+
children?: preact.ComponentChildren;
|
|
3397
|
+
}
|
|
3398
|
+
|
|
3399
|
+
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
3400
|
+
/** Assigns a unique key to this element. */
|
|
3401
|
+
key?: preact.Key;
|
|
3402
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
3403
|
+
ref?: preact.Ref<TClass>;
|
|
3404
|
+
/** Assigns this element to a parent's slot. */
|
|
3405
|
+
slot?: Lowercase<string>;
|
|
3406
|
+
}
|
|
3407
|
+
|
|
2997
3408
|
export interface ClickOptions {
|
|
2998
3409
|
/**
|
|
2999
3410
|
* The event you want to influence the synthetic click.
|
|
@@ -3063,9 +3474,10 @@ import { OptionGroup } from "../../../../../src/surfaces/admin/components/Option
|
|
|
3063
3474
|
import { OrderedList } from "../../../../../src/surfaces/admin/components/OrderedList";
|
|
3064
3475
|
import { Paragraph } from "../../../../../src/surfaces/admin/components/Paragraph";
|
|
3065
3476
|
import { PasswordField, PasswordFieldProps } from "../../../../../src/surfaces/admin/components/PasswordField";
|
|
3477
|
+
import { QueryContainer } from "../../../../../src/surfaces/admin/components/QueryContainer";
|
|
3066
3478
|
import { RequiredSectionProps, Section } from "../../../../../src/surfaces/admin/components/Section";
|
|
3067
3479
|
import { Select } from "../../../../../src/surfaces/admin/components/Select";
|
|
3068
|
-
import { AdminActionProps$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";
|
|
3480
|
+
import { AdminActionProps$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";
|
|
3069
3481
|
import { Spinner } from "../../../../../src/surfaces/admin/components/Spinner";
|
|
3070
3482
|
import { AlignedStackProps, ResponsiveStackProps, Stack } from "../../../../../src/surfaces/admin/components/Stack";
|
|
3071
3483
|
import { Table } from "../../../../../src/surfaces/admin/components/Table";
|