@shopify/ui-extensions 2025.10.0-rc.4 → 2025.10.0-rc.5

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.
Files changed (197) hide show
  1. package/build/ts/docs/shared/components/QueryContainer.d.ts +4 -0
  2. package/build/ts/docs/shared/components/QueryContainer.d.ts.map +1 -0
  3. package/build/ts/surfaces/admin/api/should-render/should-render.doc.d.ts.map +1 -1
  4. package/build/ts/surfaces/admin/components/AdminAction.d.ts +1 -1
  5. package/build/ts/surfaces/admin/components/AdminBlock.d.ts +1 -1
  6. package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
  7. package/build/ts/surfaces/admin/components/Badge.d.ts +17 -6
  8. package/build/ts/surfaces/admin/components/Banner.d.ts +17 -6
  9. package/build/ts/surfaces/admin/components/Box.d.ts +28 -7
  10. package/build/ts/surfaces/admin/components/Button.d.ts +16 -6
  11. package/build/ts/surfaces/admin/components/Checkbox.d.ts +17 -2
  12. package/build/ts/surfaces/admin/components/Choice.d.ts +17 -2
  13. package/build/ts/surfaces/admin/components/ChoiceList.d.ts +17 -6
  14. package/build/ts/surfaces/admin/components/Clickable.d.ts +28 -7
  15. package/build/ts/surfaces/admin/components/DatePicker.d.ts +11 -5
  16. package/build/ts/surfaces/admin/components/Divider.d.ts +12 -5
  17. package/build/ts/surfaces/admin/components/EmailField.d.ts +11 -5
  18. package/build/ts/surfaces/admin/components/Form.d.ts +1 -1
  19. package/build/ts/surfaces/admin/components/Grid.d.ts +28 -7
  20. package/build/ts/surfaces/admin/components/GridItem.d.ts +29 -7
  21. package/build/ts/surfaces/admin/components/Heading.d.ts +17 -6
  22. package/build/ts/surfaces/admin/components/Icon.d.ts +12 -5
  23. package/build/ts/surfaces/admin/components/Image.d.ts +22 -6
  24. package/build/ts/surfaces/admin/components/Link.d.ts +16 -6
  25. package/build/ts/surfaces/admin/components/ListItem.d.ts +18 -6
  26. package/build/ts/surfaces/admin/components/MoneyField.d.ts +11 -6
  27. package/build/ts/surfaces/admin/components/NumberField.d.ts +11 -5
  28. package/build/ts/surfaces/admin/components/Option.d.ts +17 -5
  29. package/build/ts/surfaces/admin/components/OptionGroup.d.ts +18 -5
  30. package/build/ts/surfaces/admin/components/OrderedList.d.ts +18 -6
  31. package/build/ts/surfaces/admin/components/Page.d.ts +20 -5
  32. package/build/ts/surfaces/admin/components/Paragraph.d.ts +18 -6
  33. package/build/ts/surfaces/admin/components/PasswordField.d.ts +11 -5
  34. package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts +4 -0
  35. package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -0
  36. package/build/ts/surfaces/admin/components/QueryContainer.d.ts +106 -0
  37. package/build/ts/surfaces/admin/components/SearchField.d.ts +14 -6
  38. package/build/ts/surfaces/admin/components/Section.d.ts +17 -6
  39. package/build/ts/surfaces/admin/components/Select.d.ts +16 -6
  40. package/build/ts/surfaces/admin/components/Spinner.d.ts +12 -2
  41. package/build/ts/surfaces/admin/components/Stack.d.ts +28 -7
  42. package/build/ts/surfaces/admin/components/Switch.d.ts +11 -2
  43. package/build/ts/surfaces/admin/components/Table.d.ts +17 -6
  44. package/build/ts/surfaces/admin/components/TableBody.d.ts +18 -6
  45. package/build/ts/surfaces/admin/components/TableCell.d.ts +18 -6
  46. package/build/ts/surfaces/admin/components/TableHeader.d.ts +18 -6
  47. package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +18 -6
  48. package/build/ts/surfaces/admin/components/TableRow.d.ts +18 -6
  49. package/build/ts/surfaces/admin/components/Text.d.ts +17 -6
  50. package/build/ts/surfaces/admin/components/TextArea.d.ts +11 -5
  51. package/build/ts/surfaces/admin/components/TextField.d.ts +13 -5
  52. package/build/ts/surfaces/admin/components/URLField.d.ts +11 -5
  53. package/build/ts/surfaces/admin/components/UnorderedList.d.ts +18 -6
  54. package/build/ts/surfaces/admin/components/shared.d.ts +34 -44
  55. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.render.d.ts +589 -219
  56. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.block.render.d.ts +589 -219
  57. package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +589 -219
  58. package/build/ts/surfaces/admin/targets/admin.catalog-details.block.render.d.ts +589 -219
  59. package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +589 -219
  60. package/build/ts/surfaces/admin/targets/admin.collection-details.block.render.d.ts +589 -219
  61. package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +589 -219
  62. package/build/ts/surfaces/admin/targets/admin.company-details.action.render.d.ts +589 -219
  63. package/build/ts/surfaces/admin/targets/admin.company-details.block.render.d.ts +589 -219
  64. package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +589 -219
  65. package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +589 -219
  66. package/build/ts/surfaces/admin/targets/admin.customer-details.block.render.d.ts +589 -219
  67. package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +589 -219
  68. package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.render.d.ts +589 -219
  69. package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.render.d.ts +589 -219
  70. package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.render.d.ts +589 -219
  71. package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +589 -219
  72. package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +589 -219
  73. package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +589 -219
  74. package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.render.d.ts +589 -219
  75. package/build/ts/surfaces/admin/targets/admin.draft-order-details.block.render.d.ts +589 -219
  76. package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +589 -219
  77. package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.render.d.ts +589 -219
  78. package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.render.d.ts +589 -219
  79. package/build/ts/surfaces/admin/targets/admin.gift-card-details.block.render.d.ts +589 -219
  80. package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +589 -219
  81. package/build/ts/surfaces/admin/targets/admin.order-details.block.render.d.ts +589 -219
  82. package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +589 -219
  83. package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.render.d.ts +589 -219
  84. package/build/ts/surfaces/admin/targets/admin.order-index.action.render.d.ts +589 -219
  85. package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.render.d.ts +589 -219
  86. package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.render.d.ts +589 -219
  87. package/build/ts/surfaces/admin/targets/admin.product-details.action.render.d.ts +589 -219
  88. package/build/ts/surfaces/admin/targets/admin.product-details.block.render.d.ts +589 -219
  89. package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +589 -219
  90. package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +589 -219
  91. package/build/ts/surfaces/admin/targets/admin.product-details.reorder.render.d.ts +589 -219
  92. package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +589 -219
  93. package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.render.d.ts +589 -219
  94. package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.render.d.ts +589 -219
  95. package/build/ts/surfaces/admin/targets/admin.product-purchase-option.action.render.d.ts +589 -219
  96. package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +589 -219
  97. package/build/ts/surfaces/admin/targets/admin.product-variant-details.block.render.d.ts +589 -219
  98. package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +589 -219
  99. package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +589 -219
  100. package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +589 -219
  101. package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +589 -219
  102. package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +589 -219
  103. package/build/ts/surfaces/customer-account/api/docs.d.ts +1 -1
  104. package/build/ts/surfaces/customer-account/api/docs.d.ts.map +1 -1
  105. package/build/ts/surfaces/customer-account/api/shared.d.ts +0 -6
  106. package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
  107. package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +4 -5
  108. package/build/ts/surfaces/customer-account/components/ImageGroup.d.ts +4 -4
  109. package/build/ts/surfaces/customer-account/components/Page.d.ts +3 -5
  110. package/build/ts/surfaces/customer-account/components/shared.d.ts +11 -0
  111. package/build/ts/surfaces/customer-account/components/shared.d.ts.map +1 -1
  112. package/build/ts/surfaces/customer-account/components/shared.ts +17 -0
  113. package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +6 -17
  114. package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +6 -17
  115. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +6 -17
  116. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +6 -17
  117. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +6 -17
  118. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +6 -17
  119. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +6 -17
  120. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +6 -17
  121. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +6 -17
  122. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +6 -17
  123. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +6 -17
  124. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +6 -17
  125. package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +6 -17
  126. package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +6 -17
  127. package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +6 -17
  128. package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +6 -17
  129. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +6 -17
  130. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +6 -17
  131. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +6 -17
  132. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +6 -17
  133. package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +6 -17
  134. package/build/tsconfig.tsbuildinfo +1 -1
  135. package/package.json +1 -1
  136. package/src/docs/shared/components/QueryContainer.ts +12 -0
  137. package/src/surfaces/admin/components/AdminAction.d.ts +1 -1
  138. package/src/surfaces/admin/components/AdminBlock.d.ts +1 -1
  139. package/src/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
  140. package/src/surfaces/admin/components/Badge.d.ts +17 -6
  141. package/src/surfaces/admin/components/Banner.d.ts +17 -6
  142. package/src/surfaces/admin/components/Box.d.ts +28 -7
  143. package/src/surfaces/admin/components/Button.d.ts +16 -6
  144. package/src/surfaces/admin/components/Checkbox.d.ts +17 -2
  145. package/src/surfaces/admin/components/Choice.d.ts +17 -2
  146. package/src/surfaces/admin/components/ChoiceList.d.ts +17 -6
  147. package/src/surfaces/admin/components/Clickable.d.ts +28 -7
  148. package/src/surfaces/admin/components/DatePicker.d.ts +11 -5
  149. package/src/surfaces/admin/components/Divider.d.ts +12 -5
  150. package/src/surfaces/admin/components/EmailField.d.ts +11 -5
  151. package/src/surfaces/admin/components/Form.d.ts +1 -1
  152. package/src/surfaces/admin/components/Grid.d.ts +28 -7
  153. package/src/surfaces/admin/components/GridItem.d.ts +29 -7
  154. package/src/surfaces/admin/components/Heading.d.ts +17 -6
  155. package/src/surfaces/admin/components/Icon.d.ts +12 -5
  156. package/src/surfaces/admin/components/Image.d.ts +22 -6
  157. package/src/surfaces/admin/components/Link.d.ts +16 -6
  158. package/src/surfaces/admin/components/ListItem.d.ts +18 -6
  159. package/src/surfaces/admin/components/MoneyField.d.ts +11 -6
  160. package/src/surfaces/admin/components/NumberField.d.ts +11 -5
  161. package/src/surfaces/admin/components/Option.d.ts +17 -5
  162. package/src/surfaces/admin/components/OptionGroup.d.ts +18 -5
  163. package/src/surfaces/admin/components/OrderedList.d.ts +18 -6
  164. package/src/surfaces/admin/components/Page.d.ts +20 -5
  165. package/src/surfaces/admin/components/Paragraph.d.ts +18 -6
  166. package/src/surfaces/admin/components/PasswordField.d.ts +11 -5
  167. package/src/surfaces/admin/components/QueryContainer/examples/default.html +5 -0
  168. package/src/surfaces/admin/components/QueryContainer.d.ts +106 -0
  169. package/src/surfaces/admin/components/SearchField.d.ts +14 -6
  170. package/src/surfaces/admin/components/Section.d.ts +17 -6
  171. package/src/surfaces/admin/components/Select.d.ts +16 -6
  172. package/src/surfaces/admin/components/Spinner.d.ts +12 -2
  173. package/src/surfaces/admin/components/Stack.d.ts +28 -7
  174. package/src/surfaces/admin/components/Switch.d.ts +11 -2
  175. package/src/surfaces/admin/components/Table.d.ts +17 -6
  176. package/src/surfaces/admin/components/TableBody.d.ts +18 -6
  177. package/src/surfaces/admin/components/TableCell.d.ts +18 -6
  178. package/src/surfaces/admin/components/TableHeader.d.ts +18 -6
  179. package/src/surfaces/admin/components/TableHeaderRow.d.ts +18 -6
  180. package/src/surfaces/admin/components/TableRow.d.ts +18 -6
  181. package/src/surfaces/admin/components/Text.d.ts +17 -6
  182. package/src/surfaces/admin/components/TextArea.d.ts +11 -5
  183. package/src/surfaces/admin/components/TextField.d.ts +13 -5
  184. package/src/surfaces/admin/components/URLField.d.ts +11 -5
  185. package/src/surfaces/admin/components/UnorderedList.d.ts +18 -6
  186. package/src/surfaces/admin/components/shared.d.ts +34 -44
  187. package/src/surfaces/admin/components.d.ts +333 -513
  188. package/src/surfaces/customer-account/api/docs.ts +1 -1
  189. package/src/surfaces/customer-account/api/shared.ts +0 -6
  190. package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-js.example.ts +1 -1
  191. package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-preact.example.tsx +1 -1
  192. package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +4 -5
  193. package/src/surfaces/customer-account/components/ImageGroup.d.ts +4 -4
  194. package/src/surfaces/customer-account/components/Page/examples/basic-Page-js.example.ts +4 -4
  195. package/src/surfaces/customer-account/components/Page/examples/basic-Page-preact.example.tsx +4 -4
  196. package/src/surfaces/customer-account/components/Page.d.ts +3 -5
  197. package/src/surfaces/customer-account/components/shared.ts +17 -0
@@ -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 & BaseProps;
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 & BaseProps;
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'> & BaseProps;
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 & BaseProps;
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 & BaseProps;
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 & BaseProps;
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 & BaseProps;
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 & BaseProps;
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 & BaseProps;
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 & BaseProps;
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'> & BaseProps;
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 & BaseProps;
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 & BaseProps;
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 & BaseProps;
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,9 @@ declare const SectiontagName = 's-section';
947
1076
  declare const SectionBaseClass: typeof globalThis.HTMLElement;
948
1077
 
949
1078
  declare module 'preact' {
950
- interface BaseProps {
951
- slot?: Lowercase<string>;
952
- }
953
-
954
1079
  namespace createElement.JSX {
955
1080
  interface IntrinsicElements {
956
- [PasswordFieldtagName]: PasswordFieldJSXProps & BaseProps;
1081
+ [PasswordFieldtagName]: PasswordFieldJSXProps & PasswordFieldPreactBaseElementProps<PasswordField>;
957
1082
  }
958
1083
  }
959
1084
  }
@@ -967,6 +1092,15 @@ declare global {
967
1092
  export interface PasswordFieldJSXProps extends Partial<PasswordFieldProps>, Pick<PasswordFieldProps$1, 'id'>, PasswordFieldFieldReactProps<typeof PasswordFieldtagName> {
968
1093
  }
969
1094
 
1095
+ export interface PasswordFieldPreactBaseElementProps<TClass extends HTMLElement> {
1096
+ /** Assigns a unique key to this element. */
1097
+ key?: preact.Key;
1098
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1099
+ ref?: preact.Ref<TClass>;
1100
+ /** Assigns this element to a parent's slot. */
1101
+ slot?: Lowercase<string>;
1102
+ }
1103
+
970
1104
  export interface PasswordFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
971
1105
  onInput?: ((event: CallbackEvent<T>) => void) | null;
972
1106
  onChange?: ((event: CallbackEvent<T>) => void) | null;
@@ -993,14 +1127,10 @@ declare const PasswordFieldinternals: unique symbol;
993
1127
  declare const PasswordFieldBaseClass: typeof globalThis.HTMLElement;
994
1128
 
995
1129
  declare module 'preact' {
996
- interface BaseProps {
997
- children?: preact.ComponentChildren;
998
- slot?: Lowercase<string>;
999
- }
1000
-
1001
1130
  namespace createElement.JSX {
1002
1131
  interface IntrinsicElements {
1003
- [ParagraphtagName]: ParagraphJSXProps & BaseProps;
1132
+ [ParagraphtagName]: ParagraphJSXProps &
1133
+ ParagraphPreactBaseElementPropsWithChildren<Paragraph>;
1004
1134
  }
1005
1135
  }
1006
1136
  }
@@ -1014,6 +1144,19 @@ declare global {
1014
1144
  export interface ParagraphJSXProps extends Partial<ParagraphProps>, Pick<ParagraphProps$1, 'id'> {
1015
1145
  }
1016
1146
 
1147
+ export interface ParagraphPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ParagraphPreactBaseElementProps<TClass> {
1148
+ children?: preact.ComponentChildren;
1149
+ }
1150
+
1151
+ export interface ParagraphPreactBaseElementProps<TClass extends HTMLElement> {
1152
+ /** Assigns a unique key to this element. */
1153
+ key?: preact.Key;
1154
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1155
+ ref?: preact.Ref<TClass>;
1156
+ /** Assigns this element to a parent's slot. */
1157
+ slot?: Lowercase<string>;
1158
+ }
1159
+
1017
1160
  export interface ParagraphClickOptions {
1018
1161
  /**
1019
1162
  * The event you want to influence the synthetic click.
@@ -1047,14 +1190,10 @@ declare const ParagraphtagName = 's-paragraph';
1047
1190
  declare const ParagraphBaseClass: typeof globalThis.HTMLElement;
1048
1191
 
1049
1192
  declare module 'preact' {
1050
- interface BaseProps {
1051
- children?: preact.ComponentChildren;
1052
- slot?: Lowercase<string>;
1053
- }
1054
-
1055
1193
  namespace createElement.JSX {
1056
1194
  interface IntrinsicElements {
1057
- [OrderedListtagName]: OrderedListJSXProps & BaseProps;
1195
+ [OrderedListtagName]: OrderedListJSXProps &
1196
+ OrderedListPreactBaseElementPropsWithChildren<OrderedList>;
1058
1197
  }
1059
1198
  }
1060
1199
  }
@@ -1068,6 +1207,19 @@ declare global {
1068
1207
  export interface OrderedListJSXProps extends Partial<OrderedListProps>, Pick<OrderedListProps$1, 'id'> {
1069
1208
  }
1070
1209
 
1210
+ export interface OrderedListPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends OrderedListPreactBaseElementProps<TClass> {
1211
+ children?: preact.ComponentChildren;
1212
+ }
1213
+
1214
+ export interface OrderedListPreactBaseElementProps<TClass extends HTMLElement> {
1215
+ /** Assigns a unique key to this element. */
1216
+ key?: preact.Key;
1217
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1218
+ ref?: preact.Ref<TClass>;
1219
+ /** Assigns this element to a parent's slot. */
1220
+ slot?: Lowercase<string>;
1221
+ }
1222
+
1071
1223
  export interface OrderedListClickOptions {
1072
1224
  /**
1073
1225
  * The event you want to influence the synthetic click.
@@ -1089,13 +1241,10 @@ declare const OrderedListtagName = 's-ordered-list';
1089
1241
  declare const OrderedListBaseClass: typeof globalThis.HTMLElement;
1090
1242
 
1091
1243
  declare module 'preact' {
1092
- interface BaseProps {
1093
- children?: preact.ComponentChildren;
1094
- }
1095
-
1096
1244
  namespace createElement.JSX {
1097
1245
  interface IntrinsicElements {
1098
- [OptionGrouptagName]: OptionGroupJSXProps & BaseProps;
1246
+ [OptionGrouptagName]: OptionGroupJSXProps &
1247
+ OptionGroupPreactBaseElementPropsWithChildren<OptionGroup>;
1099
1248
  }
1100
1249
  }
1101
1250
  }
@@ -1109,6 +1258,19 @@ declare global {
1109
1258
  export interface OptionGroupJSXProps extends Partial<OptionGroupProps> {
1110
1259
  }
1111
1260
 
1261
+ export interface OptionGroupPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends OptionGroupPreactBaseElementProps<TClass> {
1262
+ children?: preact.ComponentChildren;
1263
+ }
1264
+
1265
+ export interface OptionGroupPreactBaseElementProps<TClass extends HTMLElement> {
1266
+ /** Assigns a unique key to this element. */
1267
+ key?: preact.Key;
1268
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1269
+ ref?: preact.Ref<TClass>;
1270
+ /** Assigns this element to a parent's slot. */
1271
+ slot?: Lowercase<string>;
1272
+ }
1273
+
1112
1274
  export interface OptionGroupClickOptions {
1113
1275
  /**
1114
1276
  * The event you want to influence the synthetic click.
@@ -1130,13 +1292,9 @@ declare const OptionGrouptagName = 's-option-group';
1130
1292
  declare const OptionGroupBaseClass: typeof globalThis.HTMLElement;
1131
1293
 
1132
1294
  declare module 'preact' {
1133
- interface BaseProps {
1134
- children?: preact.ComponentChildren;
1135
- }
1136
-
1137
1295
  namespace createElement.JSX {
1138
1296
  interface IntrinsicElements {
1139
- [OptiontagName]: OptionJSXProps & BaseProps;
1297
+ [OptiontagName]: OptionJSXProps & OptionPreactBaseElementPropsWithChildren<Option>;
1140
1298
  }
1141
1299
  }
1142
1300
  }
@@ -1150,6 +1308,19 @@ declare global {
1150
1308
  export interface OptionJSXProps extends Partial<OptionProps> {
1151
1309
  }
1152
1310
 
1311
+ export interface OptionPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends OptionPreactBaseElementProps<TClass> {
1312
+ children?: preact.ComponentChildren;
1313
+ }
1314
+
1315
+ export interface OptionPreactBaseElementProps<TClass extends HTMLElement> {
1316
+ /** Assigns a unique key to this element. */
1317
+ key?: preact.Key;
1318
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1319
+ ref?: preact.Ref<TClass>;
1320
+ /** Assigns this element to a parent's slot. */
1321
+ slot?: Lowercase<string>;
1322
+ }
1323
+
1153
1324
  export interface OptionClickOptions {
1154
1325
  /**
1155
1326
  * The event you want to influence the synthetic click.
@@ -1173,13 +1344,9 @@ declare const OptiontagName = 's-option';
1173
1344
  declare const OptionBaseClass: typeof globalThis.HTMLElement;
1174
1345
 
1175
1346
  declare module 'preact' {
1176
- interface BaseProps {
1177
- slot?: Lowercase<string>;
1178
- }
1179
-
1180
1347
  namespace createElement.JSX {
1181
1348
  interface IntrinsicElements {
1182
- [NumberFieldtagName]: NumberFieldJSXProps & BaseProps;
1349
+ [NumberFieldtagName]: NumberFieldJSXProps & NumberFieldPreactBaseElementProps<NumberField>;
1183
1350
  }
1184
1351
  }
1185
1352
  }
@@ -1205,6 +1372,15 @@ export interface NumberFieldProps extends Omit<
1205
1372
  value: Required<NumberFieldProps$1>['value'];
1206
1373
  }
1207
1374
 
1375
+ export interface NumberFieldPreactBaseElementProps<TClass extends HTMLElement> {
1376
+ /** Assigns a unique key to this element. */
1377
+ key?: preact.Key;
1378
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1379
+ ref?: preact.Ref<TClass>;
1380
+ /** Assigns this element to a parent's slot. */
1381
+ slot?: Lowercase<string>;
1382
+ }
1383
+
1208
1384
  export interface NumberFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
1209
1385
  onInput?: ((event: CallbackEvent<T>) => void) | null;
1210
1386
  onChange?: ((event: CallbackEvent<T>) => void) | null;
@@ -1231,14 +1407,9 @@ declare const NumberFieldinternals: unique symbol;
1231
1407
  declare const NumberFieldBaseClass: typeof globalThis.HTMLElement;
1232
1408
 
1233
1409
  declare module 'preact' {
1234
- interface BaseProps {
1235
- children?: preact.ComponentChildren;
1236
- slot?: Lowercase<string>;
1237
- }
1238
-
1239
1410
  namespace createElement.JSX {
1240
1411
  interface IntrinsicElements {
1241
- [MoneyFieldtagName]: MoneyFieldJSXProps & BaseProps;
1412
+ [MoneyFieldtagName]: MoneyFieldJSXProps & MoneyFieldPreactBaseElementProps<MoneyField>;
1242
1413
  }
1243
1414
  }
1244
1415
  }
@@ -1256,6 +1427,15 @@ export interface MoneyFieldProps extends Omit<PreactFieldProps, 'value'>, Pick<R
1256
1427
  value: Required<MoneyFieldProps$1>['value'];
1257
1428
  }
1258
1429
 
1430
+ export interface MoneyFieldPreactBaseElementProps<TClass extends HTMLElement> {
1431
+ /** Assigns a unique key to this element. */
1432
+ key?: preact.Key;
1433
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1434
+ ref?: preact.Ref<TClass>;
1435
+ /** Assigns this element to a parent's slot. */
1436
+ slot?: Lowercase<string>;
1437
+ }
1438
+
1259
1439
  export interface MoneyFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
1260
1440
  onInput?: ((event: CallbackEvent<T>) => void) | null;
1261
1441
  onChange?: ((event: CallbackEvent<T>) => void) | null;
@@ -1282,14 +1462,10 @@ declare const MoneyFieldinternals: unique symbol;
1282
1462
  declare const MoneyFieldBaseClass: typeof globalThis.HTMLElement;
1283
1463
 
1284
1464
  declare module 'preact' {
1285
- interface BaseProps {
1286
- children?: preact.ComponentChildren;
1287
- slot?: Lowercase<string>;
1288
- }
1289
-
1290
1465
  namespace createElement.JSX {
1291
1466
  interface IntrinsicElements {
1292
- [ListItemtagName]: ListItemJSXProps & BaseProps;
1467
+ [ListItemtagName]: ListItemJSXProps &
1468
+ ListItemPreactBaseElementPropsWithChildren<ListItem>;
1293
1469
  }
1294
1470
  }
1295
1471
  }
@@ -1303,6 +1479,19 @@ declare global {
1303
1479
  export interface ListItemJSXProps extends Partial<ListItemProps>, Pick<ListItemProps$1, 'id'> {
1304
1480
  }
1305
1481
 
1482
+ export interface ListItemPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ListItemPreactBaseElementProps<TClass> {
1483
+ children?: preact.ComponentChildren;
1484
+ }
1485
+
1486
+ export interface ListItemPreactBaseElementProps<TClass extends HTMLElement> {
1487
+ /** Assigns a unique key to this element. */
1488
+ key?: preact.Key;
1489
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1490
+ ref?: preact.Ref<TClass>;
1491
+ /** Assigns this element to a parent's slot. */
1492
+ slot?: Lowercase<string>;
1493
+ }
1494
+
1306
1495
  export interface ListItemClickOptions {
1307
1496
  /**
1308
1497
  * The event you want to influence the synthetic click.
@@ -1324,14 +1513,9 @@ declare const ListItemtagName = 's-list-item';
1324
1513
  declare const ListItemBaseClass: typeof globalThis.HTMLElement;
1325
1514
 
1326
1515
  declare module 'preact' {
1327
- interface BaseProps {
1328
- children?: preact.ComponentChildren;
1329
- slot?: Lowercase<string>;
1330
- }
1331
-
1332
1516
  namespace createElement.JSX {
1333
1517
  interface IntrinsicElements {
1334
- [LinktagName]: LinkJSXProps & BaseProps;
1518
+ [LinktagName]: LinkJSXProps & LinkPreactBaseElementPropsWithChildren<Link>;
1335
1519
  }
1336
1520
  }
1337
1521
  }
@@ -1381,6 +1565,19 @@ export interface LinkActivationEventEsque {
1381
1565
  button: number;
1382
1566
  }
1383
1567
 
1568
+ export interface LinkPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends LinkPreactBaseElementProps<TClass> {
1569
+ children?: preact.ComponentChildren;
1570
+ }
1571
+
1572
+ export interface LinkPreactBaseElementProps<TClass extends HTMLElement> {
1573
+ /** Assigns a unique key to this element. */
1574
+ key?: preact.Key;
1575
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1576
+ ref?: preact.Ref<TClass>;
1577
+ /** Assigns this element to a parent's slot. */
1578
+ slot?: Lowercase<string>;
1579
+ }
1580
+
1384
1581
  export interface LinkProps extends Pick<
1385
1582
  LinkProps$1,
1386
1583
  | 'accessibilityLabel'
@@ -1410,13 +1607,9 @@ declare const Link_base: (abstract new (
1410
1607
  declare const LinkBaseClass: typeof globalThis.HTMLElement;
1411
1608
 
1412
1609
  declare module 'preact' {
1413
- interface BaseProps {
1414
- slot?: Lowercase<string>;
1415
- }
1416
-
1417
1610
  namespace createElement.JSX {
1418
1611
  interface IntrinsicElements {
1419
- [ImagetagName]: ImageJSXProps & BaseProps;
1612
+ [ImagetagName]: ImageJSXProps & ImagePreactBaseElementProps<Image>;
1420
1613
  }
1421
1614
  }
1422
1615
  }
@@ -1446,6 +1639,15 @@ export interface ImageActivationEventEsque {
1446
1639
  button: number;
1447
1640
  }
1448
1641
 
1642
+ export interface ImagePreactBaseElementProps<TClass extends HTMLElement> {
1643
+ /** Assigns a unique key to this element. */
1644
+ key?: preact.Key;
1645
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1646
+ ref?: preact.Ref<TClass>;
1647
+ /** Assigns this element to a parent's slot. */
1648
+ slot?: Lowercase<string>;
1649
+ }
1650
+
1449
1651
  export interface ImageProps extends Required<
1450
1652
  Pick<
1451
1653
  ImageProps$1,
@@ -1488,7 +1690,6 @@ export interface ImageBoxProps extends Pick<
1488
1690
  | 'borderRadius'
1489
1691
  | 'borderStyle'
1490
1692
  | 'borderWidth'
1491
- | 'display'
1492
1693
  | 'inlineSize'
1493
1694
  | 'maxBlockSize'
1494
1695
  | 'maxInlineSize'
@@ -1611,19 +1812,25 @@ export interface ImageBoxProps extends Pick<
1611
1812
  * @default '' - meaning no override
1612
1813
  */
1613
1814
  paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
1815
+ /**
1816
+ * 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).
1817
+ *
1818
+ * - `auto` the component's initial value. The actual value depends on the component and context.
1819
+ * - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
1820
+ *
1821
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
1822
+ * @default 'auto'
1823
+ */
1824
+ display: ResponsiveBoxProps['display'];
1614
1825
  }
1615
1826
 
1616
1827
  declare const ImagetagName = 's-image';
1617
1828
  declare const ImageBaseClass: typeof globalThis.HTMLElement;
1618
1829
 
1619
1830
  declare module 'preact' {
1620
- interface BaseProps {
1621
- slot?: Lowercase<string>;
1622
- }
1623
-
1624
1831
  namespace createElement.JSX {
1625
1832
  interface IntrinsicElements {
1626
- [IcontagName]: IconJSXProps & BaseProps;
1833
+ [IcontagName]: IconJSXProps & IconPreactBaseElementProps<Icon>;
1627
1834
  }
1628
1835
  }
1629
1836
  }
@@ -1637,6 +1844,15 @@ declare global {
1637
1844
  export interface IconJSXProps extends Partial<IconIconProps>, Pick<IconProps$1, 'id'> {
1638
1845
  }
1639
1846
 
1847
+ export interface IconPreactBaseElementProps<TClass extends HTMLElement> {
1848
+ /** Assigns a unique key to this element. */
1849
+ key?: preact.Key;
1850
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1851
+ ref?: preact.Ref<TClass>;
1852
+ /** Assigns this element to a parent's slot. */
1853
+ slot?: Lowercase<string>;
1854
+ }
1855
+
1640
1856
  export interface IconClickOptions {
1641
1857
  /**
1642
1858
  * The event you want to influence the synthetic click.
@@ -1668,14 +1884,9 @@ declare const IcontagName = 's-icon';
1668
1884
  declare const IconBaseClass: typeof globalThis.HTMLElement;
1669
1885
 
1670
1886
  declare module 'preact' {
1671
- interface BaseProps {
1672
- children?: preact.ComponentChildren;
1673
- slot?: Lowercase<string>;
1674
- }
1675
-
1676
1887
  namespace createElement.JSX {
1677
1888
  interface IntrinsicElements {
1678
- [HeadingtagName]: HeadingJSXProps & BaseProps;
1889
+ [HeadingtagName]: HeadingJSXProps & HeadingPreactBaseElementPropsWithChildren<Heading>;
1679
1890
  }
1680
1891
  }
1681
1892
  }
@@ -1689,6 +1900,19 @@ declare global {
1689
1900
  export interface HeadingJSXProps extends Partial<HeadingProps>, Pick<HeadingProps$1, 'id'> {
1690
1901
  }
1691
1902
 
1903
+ export interface HeadingPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends HeadingPreactBaseElementProps<TClass> {
1904
+ children?: preact.ComponentChildren;
1905
+ }
1906
+
1907
+ export interface HeadingPreactBaseElementProps<TClass extends HTMLElement> {
1908
+ /** Assigns a unique key to this element. */
1909
+ key?: preact.Key;
1910
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1911
+ ref?: preact.Ref<TClass>;
1912
+ /** Assigns this element to a parent's slot. */
1913
+ slot?: Lowercase<string>;
1914
+ }
1915
+
1692
1916
  export interface HeadingClickOptions {
1693
1917
  /**
1694
1918
  * The event you want to influence the synthetic click.
@@ -1716,14 +1940,10 @@ declare const HeadingtagName = 's-heading';
1716
1940
  declare const HeadingBaseClass: typeof globalThis.HTMLElement;
1717
1941
 
1718
1942
  declare module 'preact' {
1719
- interface BaseProps {
1720
- children?: preact.ComponentChildren;
1721
- slot?: Lowercase<string>;
1722
- }
1723
-
1724
1943
  namespace createElement.JSX {
1725
1944
  interface IntrinsicElements {
1726
- [GridItemtagName]: GridItemJSXProps & BaseProps;
1945
+ [GridItemtagName]: GridItemJSXProps &
1946
+ GridItemPreactBaseElementPropsWithChildren<GridItem>;
1727
1947
  }
1728
1948
  }
1729
1949
  }
@@ -1737,6 +1957,19 @@ declare global {
1737
1957
  export interface GridItemJSXProps extends Partial<GridItemProps>, Pick<GridItemProps$1, 'id'> {
1738
1958
  }
1739
1959
 
1960
+ export interface GridItemPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends GridItemPreactBaseElementProps<TClass> {
1961
+ children?: preact.ComponentChildren;
1962
+ }
1963
+
1964
+ export interface GridItemPreactBaseElementProps<TClass extends HTMLElement> {
1965
+ /** Assigns a unique key to this element. */
1966
+ key?: preact.Key;
1967
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1968
+ ref?: preact.Ref<TClass>;
1969
+ /** Assigns this element to a parent's slot. */
1970
+ slot?: Lowercase<string>;
1971
+ }
1972
+
1740
1973
  export interface GridItemClickOptions {
1741
1974
  /**
1742
1975
  * The event you want to influence the synthetic click.
@@ -1768,7 +2001,6 @@ export interface GridItemBoxProps extends Pick<
1768
2001
  | 'borderRadius'
1769
2002
  | 'borderStyle'
1770
2003
  | 'borderWidth'
1771
- | 'display'
1772
2004
  | 'inlineSize'
1773
2005
  | 'maxBlockSize'
1774
2006
  | 'maxInlineSize'
@@ -1891,20 +2123,25 @@ export interface GridItemBoxProps extends Pick<
1891
2123
  * @default '' - meaning no override
1892
2124
  */
1893
2125
  paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
2126
+ /**
2127
+ * 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).
2128
+ *
2129
+ * - `auto` the component's initial value. The actual value depends on the component and context.
2130
+ * - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
2131
+ *
2132
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
2133
+ * @default 'auto'
2134
+ */
2135
+ display: ResponsiveBoxProps['display'];
1894
2136
  }
1895
2137
 
1896
2138
  declare const GridItemtagName = 's-grid-item';
1897
2139
  declare const GridItemBaseClass: typeof globalThis.HTMLElement;
1898
2140
 
1899
2141
  declare module 'preact' {
1900
- interface BaseProps {
1901
- children?: preact.ComponentChildren;
1902
- slot?: Lowercase<string>;
1903
- }
1904
-
1905
2142
  namespace createElement.JSX {
1906
2143
  interface IntrinsicElements {
1907
- [GridtagName]: GridJSXProps & BaseProps;
2144
+ [GridtagName]: GridJSXProps & GridPreactBaseElementPropsWithChildren<Grid>;
1908
2145
  }
1909
2146
  }
1910
2147
  }
@@ -1932,6 +2169,19 @@ export interface GridActivationEventEsque {
1932
2169
  button: number;
1933
2170
  }
1934
2171
 
2172
+ export interface GridPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends GridPreactBaseElementProps<TClass> {
2173
+ children?: preact.ComponentChildren;
2174
+ }
2175
+
2176
+ export interface GridPreactBaseElementProps<TClass extends HTMLElement> {
2177
+ /** Assigns a unique key to this element. */
2178
+ key?: preact.Key;
2179
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2180
+ ref?: preact.Ref<TClass>;
2181
+ /** Assigns this element to a parent's slot. */
2182
+ slot?: Lowercase<string>;
2183
+ }
2184
+
1935
2185
  export interface GridProps extends GridBoxProps, Required<
1936
2186
  Pick<
1937
2187
  GridProps$1,
@@ -1992,7 +2242,6 @@ export interface GridBoxProps extends Pick<
1992
2242
  | 'borderRadius'
1993
2243
  | 'borderStyle'
1994
2244
  | 'borderWidth'
1995
- | 'display'
1996
2245
  | 'inlineSize'
1997
2246
  | 'maxBlockSize'
1998
2247
  | 'maxInlineSize'
@@ -2115,19 +2364,25 @@ export interface GridBoxProps extends Pick<
2115
2364
  * @default '' - meaning no override
2116
2365
  */
2117
2366
  paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
2367
+ /**
2368
+ * 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).
2369
+ *
2370
+ * - `auto` the component's initial value. The actual value depends on the component and context.
2371
+ * - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
2372
+ *
2373
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
2374
+ * @default 'auto'
2375
+ */
2376
+ display: ResponsiveBoxProps['display'];
2118
2377
  }
2119
2378
 
2120
2379
  declare const GridtagName = 's-grid';
2121
2380
  declare const GridBaseClass: typeof globalThis.HTMLElement;
2122
2381
 
2123
2382
  declare module 'preact' {
2124
- interface BaseProps {
2125
- slot?: Lowercase<string>;
2126
- }
2127
-
2128
2383
  namespace createElement.JSX {
2129
2384
  interface IntrinsicElements {
2130
- [EmailFieldtagName]: EmailFieldJSXProps & BaseProps;
2385
+ [EmailFieldtagName]: EmailFieldJSXProps & EmailFieldPreactBaseElementProps<EmailField>;
2131
2386
  }
2132
2387
  }
2133
2388
  }
@@ -2141,6 +2396,15 @@ declare global {
2141
2396
  export interface EmailFieldJSXProps extends Partial<Omit<EmailFieldProps, 'accessory'>>, Pick<EmailFieldProps$1, 'id'>, FieldReactProps<typeof EmailFieldtagName> {
2142
2397
  }
2143
2398
 
2399
+ export interface EmailFieldPreactBaseElementProps<TClass extends HTMLElement> {
2400
+ /** Assigns a unique key to this element. */
2401
+ key?: preact.Key;
2402
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2403
+ ref?: preact.Ref<TClass>;
2404
+ /** Assigns this element to a parent's slot. */
2405
+ slot?: Lowercase<string>;
2406
+ }
2407
+
2144
2408
  export interface FieldReactProps<T extends keyof HTMLElementTagNameMap> {
2145
2409
  onInput?: ((event: CallbackEvent<T>) => void) | null;
2146
2410
  onChange?: ((event: CallbackEvent<T>) => void) | null;
@@ -2167,13 +2431,9 @@ declare const EmailFieldinternals: unique symbol;
2167
2431
  declare const EmailFieldBaseClass: typeof globalThis.HTMLElement;
2168
2432
 
2169
2433
  declare module 'preact' {
2170
- interface BaseProps {
2171
- slot?: Lowercase<string>;
2172
- }
2173
-
2174
2434
  namespace createElement.JSX {
2175
2435
  interface IntrinsicElements {
2176
- [DividertagName]: DividerJSXProps & BaseProps;
2436
+ [DividertagName]: DividerJSXProps & DividerPreactBaseElementProps<Divider>;
2177
2437
  }
2178
2438
  }
2179
2439
  }
@@ -2187,6 +2447,15 @@ declare global {
2187
2447
  export interface DividerJSXProps extends Partial<DividerProps>, Pick<DividerProps$1, 'id'> {
2188
2448
  }
2189
2449
 
2450
+ export interface DividerPreactBaseElementProps<TClass extends HTMLElement> {
2451
+ /** Assigns a unique key to this element. */
2452
+ key?: preact.Key;
2453
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2454
+ ref?: preact.Ref<TClass>;
2455
+ /** Assigns this element to a parent's slot. */
2456
+ slot?: Lowercase<string>;
2457
+ }
2458
+
2190
2459
  export interface DividerClickOptions {
2191
2460
  /**
2192
2461
  * The event you want to influence the synthetic click.
@@ -2210,13 +2479,9 @@ declare const DividertagName = 's-divider';
2210
2479
  declare const DividerBaseClass: typeof globalThis.HTMLElement;
2211
2480
 
2212
2481
  declare module 'preact' {
2213
- interface BaseProps {
2214
- slot?: Lowercase<string>;
2215
- }
2216
-
2217
2482
  namespace createElement.JSX {
2218
2483
  interface IntrinsicElements {
2219
- [DatePickertagName]: DatePickerJSXProps & BaseProps;
2484
+ [DatePickertagName]: DatePickerJSXProps & DatePickerPreactBaseElementProps<DatePicker>;
2220
2485
  }
2221
2486
  }
2222
2487
  }
@@ -2256,6 +2521,15 @@ export interface DatePickerActivationEventEsque {
2256
2521
  button: number;
2257
2522
  }
2258
2523
 
2524
+ export interface DatePickerPreactBaseElementProps<TClass extends HTMLElement> {
2525
+ /** Assigns a unique key to this element. */
2526
+ key?: preact.Key;
2527
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2528
+ ref?: preact.Ref<TClass>;
2529
+ /** Assigns this element to a parent's slot. */
2530
+ slot?: Lowercase<string>;
2531
+ }
2532
+
2259
2533
  export interface DatePickerProps extends Required<
2260
2534
  Pick<
2261
2535
  DatePickerProps$1,
@@ -2279,14 +2553,10 @@ declare const DatePickerinternals: unique symbol;
2279
2553
  declare const DatePickerBaseClass$1: typeof globalThis.HTMLElement;
2280
2554
 
2281
2555
  declare module 'preact' {
2282
- interface BaseProps {
2283
- children?: preact.ComponentChildren;
2284
- slot?: Lowercase<string>;
2285
- }
2286
-
2287
2556
  namespace createElement.JSX {
2288
2557
  interface IntrinsicElements {
2289
- [ClickabletagName]: ClickableJSXProps & BaseProps;
2558
+ [ClickabletagName]: ClickableJSXProps &
2559
+ ClickablePreactBaseElementPropsWithChildren<Clickable>;
2290
2560
  }
2291
2561
  }
2292
2562
  }
@@ -2338,6 +2608,19 @@ export interface ClickableActivationEventEsque {
2338
2608
  button: number;
2339
2609
  }
2340
2610
 
2611
+ export interface ClickablePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ClickablePreactBaseElementProps<TClass> {
2612
+ children?: preact.ComponentChildren;
2613
+ }
2614
+
2615
+ export interface ClickablePreactBaseElementProps<TClass extends HTMLElement> {
2616
+ /** Assigns a unique key to this element. */
2617
+ key?: preact.Key;
2618
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2619
+ ref?: preact.Ref<TClass>;
2620
+ /** Assigns this element to a parent's slot. */
2621
+ slot?: Lowercase<string>;
2622
+ }
2623
+
2341
2624
  export interface ClickableProps extends Required<ClickableBoxProps>, ClickableBaseProps {
2342
2625
  }
2343
2626
 
@@ -2353,7 +2636,6 @@ export interface ClickableBoxProps extends Pick<
2353
2636
  | 'borderRadius'
2354
2637
  | 'borderStyle'
2355
2638
  | 'borderWidth'
2356
- | 'display'
2357
2639
  | 'inlineSize'
2358
2640
  | 'maxBlockSize'
2359
2641
  | 'maxInlineSize'
@@ -2476,6 +2758,16 @@ export interface ClickableBoxProps extends Pick<
2476
2758
  * @default '' - meaning no override
2477
2759
  */
2478
2760
  paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
2761
+ /**
2762
+ * 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).
2763
+ *
2764
+ * - `auto` the component's initial value. The actual value depends on the component and context.
2765
+ * - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
2766
+ *
2767
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
2768
+ * @default 'auto'
2769
+ */
2770
+ display: ResponsiveBoxProps['display'];
2479
2771
  }
2480
2772
 
2481
2773
  declare const ClickabletagName = 's-clickable';
@@ -2486,14 +2778,10 @@ declare const Clickable_base: (abstract new (
2486
2778
  declare const ClickableBaseClass: typeof globalThis.HTMLElement;
2487
2779
 
2488
2780
  declare module 'preact' {
2489
- interface BaseProps {
2490
- children?: preact.ComponentChildren;
2491
- slot?: Lowercase<string>;
2492
- }
2493
-
2494
2781
  namespace createElement.JSX {
2495
2782
  interface IntrinsicElements {
2496
- [ChoiceListtagName]: ChoiceListJSXProps & BaseProps;
2783
+ [ChoiceListtagName]: ChoiceListJSXProps &
2784
+ ChoiceListPreactBaseElementPropsWithChildren<ChoiceList>;
2497
2785
  }
2498
2786
  }
2499
2787
  }
@@ -2523,6 +2811,19 @@ export interface ChoiceListActivationEventEsque {
2523
2811
  button: number;
2524
2812
  }
2525
2813
 
2814
+ export interface ChoiceListPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ChoiceListPreactBaseElementProps<TClass> {
2815
+ children?: preact.ComponentChildren;
2816
+ }
2817
+
2818
+ export interface ChoiceListPreactBaseElementProps<TClass extends HTMLElement> {
2819
+ /** Assigns a unique key to this element. */
2820
+ key?: preact.Key;
2821
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2822
+ ref?: preact.Ref<TClass>;
2823
+ /** Assigns this element to a parent's slot. */
2824
+ slot?: Lowercase<string>;
2825
+ }
2826
+
2526
2827
  export interface ChoiceListProps extends Required<
2527
2828
  Pick<
2528
2829
  ChoiceListProps$1,
@@ -2550,7 +2851,7 @@ declare const BaseClass$1: typeof globalThis.HTMLElement;
2550
2851
  declare module 'preact' {
2551
2852
  namespace createElement.JSX {
2552
2853
  interface IntrinsicElements {
2553
- [ChoicetagName]: ChoiceJSXProps;
2854
+ [ChoicetagName]: ChoiceJSXProps & ChoicePreactBaseElementPropsWithChildren<Choice>;
2554
2855
  }
2555
2856
  }
2556
2857
  }
@@ -2564,6 +2865,19 @@ declare global {
2564
2865
  export interface ChoiceJSXProps extends Partial<ChoiceProps>, Pick<ChoiceProps$1, 'id'> {
2565
2866
  }
2566
2867
 
2868
+ export interface ChoicePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ChoicePreactBaseElementProps<TClass> {
2869
+ children?: preact.ComponentChildren;
2870
+ }
2871
+
2872
+ export interface ChoicePreactBaseElementProps<TClass extends HTMLElement> {
2873
+ /** Assigns a unique key to this element. */
2874
+ key?: preact.Key;
2875
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2876
+ ref?: preact.Ref<TClass>;
2877
+ /** Assigns this element to a parent's slot. */
2878
+ slot?: Lowercase<string>;
2879
+ }
2880
+
2567
2881
  export interface ChoiceClickOptions {
2568
2882
  /**
2569
2883
  * The event you want to influence the synthetic click.
@@ -2598,7 +2912,8 @@ declare const ChoiceBaseClass: typeof globalThis.HTMLElement;
2598
2912
  declare module 'preact' {
2599
2913
  namespace createElement.JSX {
2600
2914
  interface IntrinsicElements {
2601
- [CheckboxtagName]: CheckboxJSXProps;
2915
+ [CheckboxtagName]: CheckboxJSXProps &
2916
+ CheckboxPreactBaseElementPropsWithChildren<Checkbox>;
2602
2917
  }
2603
2918
  }
2604
2919
  }
@@ -2636,6 +2951,19 @@ export interface PreactCheckboxProps extends Required<
2636
2951
  value: Required<CheckboxProps$1>['value'];
2637
2952
  }
2638
2953
 
2954
+ export interface CheckboxPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends CheckboxPreactBaseElementProps<TClass> {
2955
+ children?: preact.ComponentChildren;
2956
+ }
2957
+
2958
+ export interface CheckboxPreactBaseElementProps<TClass extends HTMLElement> {
2959
+ /** Assigns a unique key to this element. */
2960
+ key?: preact.Key;
2961
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2962
+ ref?: preact.Ref<TClass>;
2963
+ /** Assigns this element to a parent's slot. */
2964
+ slot?: Lowercase<string>;
2965
+ }
2966
+
2639
2967
  export interface CheckboxClickOptions {
2640
2968
  /**
2641
2969
  * The event you want to influence the synthetic click.
@@ -2655,14 +2983,9 @@ declare const internals: unique symbol;
2655
2983
  declare const CheckboxBaseClass: typeof globalThis.HTMLElement;
2656
2984
 
2657
2985
  declare module 'preact' {
2658
- interface BaseProps {
2659
- children?: preact.ComponentChildren;
2660
- slot?: Lowercase<string>;
2661
- }
2662
-
2663
2986
  namespace createElement.JSX {
2664
2987
  interface IntrinsicElements {
2665
- [ButtontagName]: ButtonJSXProps & BaseProps;
2988
+ [ButtontagName]: ButtonJSXProps & ButtonPreactBaseElementPropsWithChildren<Button>;
2666
2989
  }
2667
2990
  }
2668
2991
  }
@@ -2714,6 +3037,19 @@ export interface ButtonActivationEventEsque {
2714
3037
  button: number;
2715
3038
  }
2716
3039
 
3040
+ export interface ButtonPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ButtonPreactBaseElementProps<TClass> {
3041
+ children?: preact.ComponentChildren;
3042
+ }
3043
+
3044
+ export interface ButtonPreactBaseElementProps<TClass extends HTMLElement> {
3045
+ /** Assigns a unique key to this element. */
3046
+ key?: preact.Key;
3047
+ /** Assigns a ref (generally from `useRef()`) to this element. */
3048
+ ref?: preact.Ref<TClass>;
3049
+ /** Assigns this element to a parent's slot. */
3050
+ slot?: Lowercase<string>;
3051
+ }
3052
+
2717
3053
  export interface ButtonProps extends ButtonBaseProps {
2718
3054
  tone: Extract<ButtonProps$1['tone'], 'neutral' | 'critical' | 'auto'>;
2719
3055
  icon: ButtonIconProps['type'];
@@ -2740,14 +3076,9 @@ declare const Button_base: (abstract new (
2740
3076
  declare const ButtonBaseClass: typeof globalThis.HTMLElement;
2741
3077
 
2742
3078
  declare module 'preact' {
2743
- interface BaseProps {
2744
- children?: preact.ComponentChildren;
2745
- slot?: Lowercase<string>;
2746
- }
2747
-
2748
3079
  namespace createElement.JSX {
2749
3080
  interface IntrinsicElements {
2750
- [BoxtagName]: BoxJSXProps & BaseProps;
3081
+ [BoxtagName]: BoxJSXProps & BoxPreactBaseElementPropsWithChildren<Box>;
2751
3082
  }
2752
3083
  }
2753
3084
  }
@@ -2761,6 +3092,19 @@ declare global {
2761
3092
  export interface BoxJSXProps extends Partial<BoxProps>, Pick<BoxProps$1, 'id'> {
2762
3093
  }
2763
3094
 
3095
+ export interface BoxPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends BoxPreactBaseElementProps<TClass> {
3096
+ children?: preact.ComponentChildren;
3097
+ }
3098
+
3099
+ export interface BoxPreactBaseElementProps<TClass extends HTMLElement> {
3100
+ /** Assigns a unique key to this element. */
3101
+ key?: preact.Key;
3102
+ /** Assigns a ref (generally from `useRef()`) to this element. */
3103
+ ref?: preact.Ref<TClass>;
3104
+ /** Assigns this element to a parent's slot. */
3105
+ slot?: Lowercase<string>;
3106
+ }
3107
+
2764
3108
  export interface BoxClickOptions {
2765
3109
  /**
2766
3110
  * The event you want to influence the synthetic click.
@@ -2787,7 +3131,6 @@ export interface BoxProps extends Pick<
2787
3131
  | 'borderRadius'
2788
3132
  | 'borderStyle'
2789
3133
  | 'borderWidth'
2790
- | 'display'
2791
3134
  | 'inlineSize'
2792
3135
  | 'maxBlockSize'
2793
3136
  | 'maxInlineSize'
@@ -2910,20 +3253,26 @@ export interface BoxProps extends Pick<
2910
3253
  * @default '' - meaning no override
2911
3254
  */
2912
3255
  paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
3256
+ /**
3257
+ * 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).
3258
+ *
3259
+ * - `auto` the component's initial value. The actual value depends on the component and context.
3260
+ * - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
3261
+ *
3262
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
3263
+ * @default 'auto'
3264
+ */
3265
+ display: ResponsiveBoxProps['display'];
2913
3266
  }
2914
3267
 
2915
3268
  declare const BoxtagName = 's-box';
2916
3269
  declare const BoxBaseClass: typeof globalThis.HTMLElement;
2917
3270
 
2918
3271
  declare module 'preact' {
2919
- interface BaseProps {
2920
- children?: preact.ComponentChildren;
2921
- slot?: Lowercase<string>;
2922
- }
2923
-
2924
3272
  namespace createElement.JSX {
2925
3273
  interface IntrinsicElements {
2926
- [BannertagName]: Omit<BannerJSXProps, 'secondaryActions'> & BaseProps;
3274
+ [BannertagName]: Omit<BannerJSXProps, 'secondaryActions'> &
3275
+ BannerPreactBaseElementPropsWithChildren<Banner>;
2927
3276
  }
2928
3277
  }
2929
3278
  }
@@ -2959,6 +3308,19 @@ export interface BannerActivationEventEsque {
2959
3308
  button: number;
2960
3309
  }
2961
3310
 
3311
+ export interface BannerPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends BannerPreactBaseElementProps<TClass> {
3312
+ children?: preact.ComponentChildren;
3313
+ }
3314
+
3315
+ export interface BannerPreactBaseElementProps<TClass extends HTMLElement> {
3316
+ /** Assigns a unique key to this element. */
3317
+ key?: preact.Key;
3318
+ /** Assigns a ref (generally from `useRef()`) to this element. */
3319
+ ref?: preact.Ref<TClass>;
3320
+ /** Assigns this element to a parent's slot. */
3321
+ slot?: Lowercase<string>;
3322
+ }
3323
+
2962
3324
  export interface BannerProps extends Pick<
2963
3325
  RequiredBannerProps,
2964
3326
  'heading' | 'dismissible' | 'hidden' | 'tone'
@@ -2973,14 +3335,9 @@ declare const BannertagName = 's-banner';
2973
3335
  declare const BannerBaseClass: typeof globalThis.HTMLElement;
2974
3336
 
2975
3337
  declare module 'preact' {
2976
- interface BaseProps {
2977
- children?: preact.ComponentChildren;
2978
- slot?: Lowercase<string>;
2979
- }
2980
-
2981
3338
  namespace createElement.JSX {
2982
3339
  interface IntrinsicElements {
2983
- [tagName]: BadgeJSXProps & BaseProps;
3340
+ [tagName]: BadgeJSXProps & PreactBaseElementPropsWithChildren<Badge>;
2984
3341
  }
2985
3342
  }
2986
3343
  }
@@ -2994,6 +3351,19 @@ declare global {
2994
3351
  export interface BadgeJSXProps extends Partial<BadgeProps>, Pick<BadgeProps$1, 'id'> {
2995
3352
  }
2996
3353
 
3354
+ export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends PreactBaseElementProps<TClass> {
3355
+ children?: preact.ComponentChildren;
3356
+ }
3357
+
3358
+ export interface PreactBaseElementProps<TClass extends HTMLElement> {
3359
+ /** Assigns a unique key to this element. */
3360
+ key?: preact.Key;
3361
+ /** Assigns a ref (generally from `useRef()`) to this element. */
3362
+ ref?: preact.Ref<TClass>;
3363
+ /** Assigns this element to a parent's slot. */
3364
+ slot?: Lowercase<string>;
3365
+ }
3366
+
2997
3367
  export interface ClickOptions {
2998
3368
  /**
2999
3369
  * The event you want to influence the synthetic click.