@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
@@ -38,13 +38,9 @@ declare const AdminPrintActionBaseClass: typeof globalThis.HTMLElement;
38
38
  declare const AdminPrintActiontagName = 's-admin-print-action';
39
39
 
40
40
  declare module 'preact' {
41
- interface BaseProps {
42
- slot?: Lowercase<string>;
43
- }
44
-
45
41
  namespace createElement.JSX {
46
42
  interface IntrinsicElements {
47
- [URLFieldtagName]: URLFieldJSXProps & BaseProps;
43
+ [URLFieldtagName]: URLFieldJSXProps & URLFieldPreactBaseElementProps<URLField>;
48
44
  }
49
45
  }
50
46
  }
@@ -58,6 +54,15 @@ declare global {
58
54
  export interface URLFieldJSXProps extends Partial<Omit<URLFieldProps, 'accessory'>>, Pick<URLFieldProps$1, 'id'>, URLFieldFieldReactProps<typeof URLFieldtagName> {
59
55
  }
60
56
 
57
+ export interface URLFieldPreactBaseElementProps<TClass extends HTMLElement> {
58
+ /** Assigns a unique key to this element. */
59
+ key?: preact.Key;
60
+ /** Assigns a ref (generally from `useRef()`) to this element. */
61
+ ref?: preact.Ref<TClass>;
62
+ /** Assigns this element to a parent's slot. */
63
+ slot?: Lowercase<string>;
64
+ }
65
+
61
66
  export interface URLFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
62
67
  onInput?: ((event: CallbackEvent<T>) => void) | null;
63
68
  onChange?: ((event: CallbackEvent<T>) => void) | null;
@@ -84,14 +89,10 @@ declare const URLFieldinternals: unique symbol;
84
89
  declare const URLFieldBaseClass: typeof globalThis.HTMLElement;
85
90
 
86
91
  declare module 'preact' {
87
- interface BaseProps {
88
- children?: preact.ComponentChildren;
89
- slot?: Lowercase<string>;
90
- }
91
-
92
92
  namespace createElement.JSX {
93
93
  interface IntrinsicElements {
94
- [UnorderedListtagName]: UnorderedListJSXProps & BaseProps;
94
+ [UnorderedListtagName]: UnorderedListJSXProps &
95
+ UnorderedListPreactBaseElementPropsWithChildren<UnorderedList>;
95
96
  }
96
97
  }
97
98
  }
@@ -105,6 +106,19 @@ declare global {
105
106
  export interface UnorderedListJSXProps extends Partial<UnorderedListProps>, Pick<UnorderedListProps$1, 'id'> {
106
107
  }
107
108
 
109
+ export interface UnorderedListPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends UnorderedListPreactBaseElementProps<TClass> {
110
+ children?: preact.ComponentChildren;
111
+ }
112
+
113
+ export interface UnorderedListPreactBaseElementProps<TClass extends HTMLElement> {
114
+ /** Assigns a unique key to this element. */
115
+ key?: preact.Key;
116
+ /** Assigns a ref (generally from `useRef()`) to this element. */
117
+ ref?: preact.Ref<TClass>;
118
+ /** Assigns this element to a parent's slot. */
119
+ slot?: Lowercase<string>;
120
+ }
121
+
108
122
  export interface UnorderedListClickOptions {
109
123
  /**
110
124
  * The event you want to influence the synthetic click.
@@ -126,13 +140,10 @@ declare const UnorderedListtagName = 's-unordered-list';
126
140
  declare const UnorderedListBaseClass: typeof globalThis.HTMLElement;
127
141
 
128
142
  declare module 'preact' {
129
- interface BaseProps {
130
- slot?: Lowercase<string>;
131
- }
132
-
133
143
  namespace createElement.JSX {
134
144
  interface IntrinsicElements {
135
- [TextFieldtagName]: Omit<TextFieldJSXProps, 'accessory'> & BaseProps;
145
+ [TextFieldtagName]: Omit<TextFieldJSXProps, 'accessory'> &
146
+ TextFieldPreactBaseElementProps<TextField>;
136
147
  }
137
148
  }
138
149
  }
@@ -150,6 +161,15 @@ export interface TextFieldJSXProps extends Partial<Omit<TextFieldProps, 'accesso
150
161
  accessory?: ComponentChild;
151
162
  }
152
163
 
164
+ export interface TextFieldPreactBaseElementProps<TClass extends HTMLElement> {
165
+ /** Assigns a unique key to this element. */
166
+ key?: preact.Key;
167
+ /** Assigns a ref (generally from `useRef()`) to this element. */
168
+ ref?: preact.Ref<TClass>;
169
+ /** Assigns this element to a parent's slot. */
170
+ slot?: Lowercase<string>;
171
+ }
172
+
153
173
  export interface TextFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
154
174
  onInput?: ((event: CallbackEvent<T>) => void) | null;
155
175
  onChange?: ((event: CallbackEvent<T>) => void) | null;
@@ -176,13 +196,9 @@ declare const TextFieldinternals: unique symbol;
176
196
  declare const TextFieldBaseClass: typeof globalThis.HTMLElement;
177
197
 
178
198
  declare module 'preact' {
179
- interface BaseProps {
180
- slot?: Lowercase<string>;
181
- }
182
-
183
199
  namespace createElement.JSX {
184
200
  interface IntrinsicElements {
185
- [TextAreatagName]: TextAreaJSXProps & BaseProps;
201
+ [TextAreatagName]: TextAreaJSXProps & TextAreaPreactBaseElementProps<TextArea>;
186
202
  }
187
203
  }
188
204
  }
@@ -196,6 +212,15 @@ declare global {
196
212
  export interface TextAreaJSXProps extends Partial<TextAreaProps>, Pick<TextAreaProps$1, 'id'>, TextAreaFieldReactProps<typeof TextAreatagName> {
197
213
  }
198
214
 
215
+ export interface TextAreaPreactBaseElementProps<TClass extends HTMLElement> {
216
+ /** Assigns a unique key to this element. */
217
+ key?: preact.Key;
218
+ /** Assigns a ref (generally from `useRef()`) to this element. */
219
+ ref?: preact.Ref<TClass>;
220
+ /** Assigns this element to a parent's slot. */
221
+ slot?: Lowercase<string>;
222
+ }
223
+
199
224
  export interface TextAreaFieldReactProps<T extends keyof HTMLElementTagNameMap> {
200
225
  onInput?: ((event: CallbackEvent<T>) => void) | null;
201
226
  onChange?: ((event: CallbackEvent<T>) => void) | null;
@@ -222,14 +247,9 @@ declare const TextAreainternals: unique symbol;
222
247
  declare const TextAreaBaseClass: typeof globalThis.HTMLElement;
223
248
 
224
249
  declare module 'preact' {
225
- interface BaseProps {
226
- children?: preact.ComponentChildren;
227
- slot?: Lowercase<string>;
228
- }
229
-
230
250
  namespace createElement.JSX {
231
251
  interface IntrinsicElements {
232
- [TexttagName]: TextJSXProps & BaseProps;
252
+ [TexttagName]: TextJSXProps & TextPreactBaseElementPropsWithChildren<Text>;
233
253
  }
234
254
  }
235
255
  }
@@ -243,6 +263,19 @@ declare global {
243
263
  export interface TextJSXProps extends Partial<TextProps>, Pick<TextProps$1, 'id'> {
244
264
  }
245
265
 
266
+ export interface TextPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TextPreactBaseElementProps<TClass> {
267
+ children?: preact.ComponentChildren;
268
+ }
269
+
270
+ export interface TextPreactBaseElementProps<TClass extends HTMLElement> {
271
+ /** Assigns a unique key to this element. */
272
+ key?: preact.Key;
273
+ /** Assigns a ref (generally from `useRef()`) to this element. */
274
+ ref?: preact.Ref<TClass>;
275
+ /** Assigns this element to a parent's slot. */
276
+ slot?: Lowercase<string>;
277
+ }
278
+
246
279
  export interface TextClickOptions {
247
280
  /**
248
281
  * The event you want to influence the synthetic click.
@@ -287,14 +320,10 @@ declare const TexttagName = 's-text';
287
320
  declare const TextBaseClass: typeof globalThis.HTMLElement;
288
321
 
289
322
  declare module 'preact' {
290
- interface BaseProps {
291
- children?: preact.ComponentChildren;
292
- slot?: Lowercase<string>;
293
- }
294
-
295
323
  namespace createElement.JSX {
296
324
  interface IntrinsicElements {
297
- [TableRowtagName]: TableRowJSXProps & BaseProps;
325
+ [TableRowtagName]: TableRowJSXProps &
326
+ TableRowPreactBaseElementPropsWithChildren<TableRow>;
298
327
  }
299
328
  }
300
329
  }
@@ -308,6 +337,19 @@ declare global {
308
337
  export interface TableRowJSXProps extends Partial<TableRowProps>, Pick<TableRowProps$1, 'id'> {
309
338
  }
310
339
 
340
+ export interface TableRowPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableRowPreactBaseElementProps<TClass> {
341
+ children?: preact.ComponentChildren;
342
+ }
343
+
344
+ export interface TableRowPreactBaseElementProps<TClass extends HTMLElement> {
345
+ /** Assigns a unique key to this element. */
346
+ key?: preact.Key;
347
+ /** Assigns a ref (generally from `useRef()`) to this element. */
348
+ ref?: preact.Ref<TClass>;
349
+ /** Assigns this element to a parent's slot. */
350
+ slot?: Lowercase<string>;
351
+ }
352
+
311
353
  export interface TableRowClickOptions {
312
354
  /**
313
355
  * The event you want to influence the synthetic click.
@@ -329,14 +371,10 @@ declare const TableRowtagName = 's-table-row';
329
371
  declare const TableRowBaseClass: typeof globalThis.HTMLElement;
330
372
 
331
373
  declare module 'preact' {
332
- interface BaseProps {
333
- children?: preact.ComponentChildren;
334
- slot?: Lowercase<string>;
335
- }
336
-
337
374
  namespace createElement.JSX {
338
375
  interface IntrinsicElements {
339
- [TableHeaderRowtagName]: TableHeaderRowJSXProps & BaseProps;
376
+ [TableHeaderRowtagName]: TableHeaderRowJSXProps &
377
+ TableHeaderRowPreactBaseElementPropsWithChildren<TableHeaderRow>;
340
378
  }
341
379
  }
342
380
  }
@@ -350,6 +388,19 @@ declare global {
350
388
  export interface TableHeaderRowJSXProps extends Partial<TableHeaderRowProps>, Pick<TableHeaderRowProps$1, 'id'> {
351
389
  }
352
390
 
391
+ export interface TableHeaderRowPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableHeaderRowPreactBaseElementProps<TClass> {
392
+ children?: preact.ComponentChildren;
393
+ }
394
+
395
+ export interface TableHeaderRowPreactBaseElementProps<TClass extends HTMLElement> {
396
+ /** Assigns a unique key to this element. */
397
+ key?: preact.Key;
398
+ /** Assigns a ref (generally from `useRef()`) to this element. */
399
+ ref?: preact.Ref<TClass>;
400
+ /** Assigns this element to a parent's slot. */
401
+ slot?: Lowercase<string>;
402
+ }
403
+
353
404
  export interface TableHeaderRowClickOptions {
354
405
  /**
355
406
  * The event you want to influence the synthetic click.
@@ -371,14 +422,10 @@ declare const TableHeaderRowtagName = 's-table-header-row';
371
422
  declare const TableHeaderRowBaseClass: typeof globalThis.HTMLElement;
372
423
 
373
424
  declare module 'preact' {
374
- interface BaseProps {
375
- children?: preact.ComponentChildren;
376
- slot?: Lowercase<string>;
377
- }
378
-
379
425
  namespace createElement.JSX {
380
426
  interface IntrinsicElements {
381
- [TableHeadertagName]: TableHeaderJSXProps & BaseProps;
427
+ [TableHeadertagName]: TableHeaderJSXProps &
428
+ TableHeaderPreactBaseElementPropsWithChildren<TableHeader>;
382
429
  }
383
430
  }
384
431
  }
@@ -392,6 +439,19 @@ declare global {
392
439
  export interface TableHeaderJSXProps extends Partial<TableHeaderTableHeaderProps>, Pick<TableHeaderProps$1, 'id'> {
393
440
  }
394
441
 
442
+ export interface TableHeaderPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableHeaderPreactBaseElementProps<TClass> {
443
+ children?: preact.ComponentChildren;
444
+ }
445
+
446
+ export interface TableHeaderPreactBaseElementProps<TClass extends HTMLElement> {
447
+ /** Assigns a unique key to this element. */
448
+ key?: preact.Key;
449
+ /** Assigns a ref (generally from `useRef()`) to this element. */
450
+ ref?: preact.Ref<TClass>;
451
+ /** Assigns this element to a parent's slot. */
452
+ slot?: Lowercase<string>;
453
+ }
454
+
395
455
  export interface TableHeaderClickOptions {
396
456
  /**
397
457
  * The event you want to influence the synthetic click.
@@ -417,14 +477,10 @@ declare const TableHeadertagName = 's-table-header';
417
477
  declare const TableHeaderBaseClass: typeof globalThis.HTMLElement;
418
478
 
419
479
  declare module 'preact' {
420
- interface BaseProps {
421
- children?: preact.ComponentChildren;
422
- slot?: Lowercase<string>;
423
- }
424
-
425
480
  namespace createElement.JSX {
426
481
  interface IntrinsicElements {
427
- [TableCelltagName]: TableCellJSXProps & BaseProps;
482
+ [TableCelltagName]: TableCellJSXProps &
483
+ TableCellPreactBaseElementPropsWithChildren<TableCell>;
428
484
  }
429
485
  }
430
486
  }
@@ -438,6 +494,19 @@ declare global {
438
494
  export interface TableCellJSXProps extends Partial<TableCellProps>, Pick<TableCellProps$1, 'id'> {
439
495
  }
440
496
 
497
+ export interface TableCellPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableCellPreactBaseElementProps<TClass> {
498
+ children?: preact.ComponentChildren;
499
+ }
500
+
501
+ export interface TableCellPreactBaseElementProps<TClass extends HTMLElement> {
502
+ /** Assigns a unique key to this element. */
503
+ key?: preact.Key;
504
+ /** Assigns a ref (generally from `useRef()`) to this element. */
505
+ ref?: preact.Ref<TClass>;
506
+ /** Assigns this element to a parent's slot. */
507
+ slot?: Lowercase<string>;
508
+ }
509
+
441
510
  export interface TableCellClickOptions {
442
511
  /**
443
512
  * The event you want to influence the synthetic click.
@@ -459,14 +528,10 @@ declare const TableCelltagName = 's-table-cell';
459
528
  declare const TableCellBaseClass: typeof globalThis.HTMLElement;
460
529
 
461
530
  declare module 'preact' {
462
- interface BaseProps {
463
- children?: preact.ComponentChildren;
464
- slot?: Lowercase<string>;
465
- }
466
-
467
531
  namespace createElement.JSX {
468
532
  interface IntrinsicElements {
469
- [TableBodytagName]: TableBodyJSXProps & BaseProps;
533
+ [TableBodytagName]: TableBodyJSXProps &
534
+ TableBodyPreactBaseElementPropsWithChildren<TableBody>;
470
535
  }
471
536
  }
472
537
  }
@@ -480,6 +545,19 @@ declare global {
480
545
  export interface TableBodyJSXProps extends Partial<TableBodyProps>, Pick<TableBodyProps$1, 'id'> {
481
546
  }
482
547
 
548
+ export interface TableBodyPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableBodyPreactBaseElementProps<TClass> {
549
+ children?: preact.ComponentChildren;
550
+ }
551
+
552
+ export interface TableBodyPreactBaseElementProps<TClass extends HTMLElement> {
553
+ /** Assigns a unique key to this element. */
554
+ key?: preact.Key;
555
+ /** Assigns a ref (generally from `useRef()`) to this element. */
556
+ ref?: preact.Ref<TClass>;
557
+ /** Assigns this element to a parent's slot. */
558
+ slot?: Lowercase<string>;
559
+ }
560
+
483
561
  export interface TableBodyClickOptions {
484
562
  /**
485
563
  * The event you want to influence the synthetic click.
@@ -501,14 +579,10 @@ declare const TableBodytagName = 's-table-body';
501
579
  declare const TableBodyBaseClass: typeof globalThis.HTMLElement;
502
580
 
503
581
  declare module 'preact' {
504
- interface BaseProps {
505
- children?: preact.ComponentChildren;
506
- slot?: Lowercase<string>;
507
- }
508
-
509
582
  namespace createElement.JSX {
510
583
  interface IntrinsicElements {
511
- [TabletagName]: Omit<TableJSXProps, 'filters'> & BaseProps;
584
+ [TabletagName]: Omit<TableJSXProps, 'filters'> &
585
+ TablePreactBaseElementPropsWithChildren<Table>;
512
586
  }
513
587
  }
514
588
  }
@@ -526,6 +600,19 @@ export interface TableJSXProps extends Partial<TableProps>, Pick<TableProps$1, '
526
600
  filters?: ComponentChild;
527
601
  }
528
602
 
603
+ export interface TablePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TablePreactBaseElementProps<TClass> {
604
+ children?: preact.ComponentChildren;
605
+ }
606
+
607
+ export interface TablePreactBaseElementProps<TClass extends HTMLElement> {
608
+ /** Assigns a unique key to this element. */
609
+ key?: preact.Key;
610
+ /** Assigns a ref (generally from `useRef()`) to this element. */
611
+ ref?: preact.Ref<TClass>;
612
+ /** Assigns this element to a parent's slot. */
613
+ slot?: Lowercase<string>;
614
+ }
615
+
529
616
  export interface TableClickOptions {
530
617
  /**
531
618
  * The event you want to influence the synthetic click.
@@ -562,14 +649,9 @@ declare const actualTableVariantSymbol: unique symbol;
562
649
  declare const TableBaseClass: typeof globalThis.HTMLElement;
563
650
 
564
651
  declare module 'preact' {
565
- interface BaseProps {
566
- children?: preact.ComponentChildren;
567
- slot?: Lowercase<string>;
568
- }
569
-
570
652
  namespace createElement.JSX {
571
653
  interface IntrinsicElements {
572
- [StacktagName]: StackJSXProps & BaseProps;
654
+ [StacktagName]: StackJSXProps & StackPreactBaseElementPropsWithChildren<Stack>;
573
655
  }
574
656
  }
575
657
  }
@@ -583,6 +665,19 @@ declare global {
583
665
  export interface StackJSXProps extends Partial<StackProps>, Pick<StackProps$1, 'id'> {
584
666
  }
585
667
 
668
+ export interface StackPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends StackPreactBaseElementProps<TClass> {
669
+ children?: preact.ComponentChildren;
670
+ }
671
+
672
+ export interface StackPreactBaseElementProps<TClass extends HTMLElement> {
673
+ /** Assigns a unique key to this element. */
674
+ key?: preact.Key;
675
+ /** Assigns a ref (generally from `useRef()`) to this element. */
676
+ ref?: preact.Ref<TClass>;
677
+ /** Assigns this element to a parent's slot. */
678
+ slot?: Lowercase<string>;
679
+ }
680
+
586
681
  export interface StackClickOptions {
587
682
  /**
588
683
  * The event you want to influence the synthetic click.
@@ -658,7 +753,6 @@ export interface StackBoxProps extends Pick<
658
753
  | 'borderRadius'
659
754
  | 'borderStyle'
660
755
  | 'borderWidth'
661
- | 'display'
662
756
  | 'inlineSize'
663
757
  | 'maxBlockSize'
664
758
  | 'maxInlineSize'
@@ -781,6 +875,16 @@ export interface StackBoxProps extends Pick<
781
875
  * @default '' - meaning no override
782
876
  */
783
877
  paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
878
+ /**
879
+ * Sets the outer display type of the component. The outer type sets a component's participation in [flow layout](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_flow_layout).
880
+ *
881
+ * - `auto` the component's initial value. The actual value depends on the component and context.
882
+ * - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
883
+ *
884
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
885
+ * @default 'auto'
886
+ */
887
+ display: ResponsiveBoxProps['display'];
784
888
  }
785
889
 
786
890
  declare const StacktagName = 's-stack';
@@ -789,7 +893,7 @@ declare const StackBaseClass: typeof globalThis.HTMLElement;
789
893
  declare module 'preact' {
790
894
  namespace createElement.JSX {
791
895
  interface IntrinsicElements {
792
- [SpinnertagName]: SpinnerJSXProps;
896
+ [SpinnertagName]: SpinnerJSXProps & SpinnerPreactBaseElementProps<Spinner>;
793
897
  }
794
898
  }
795
899
  }
@@ -803,6 +907,15 @@ declare global {
803
907
  export interface SpinnerJSXProps extends Partial<SpinnerProps>, Pick<SpinnerProps$1, 'id'> {
804
908
  }
805
909
 
910
+ export interface SpinnerPreactBaseElementProps<TClass extends HTMLElement> {
911
+ /** Assigns a unique key to this element. */
912
+ key?: preact.Key;
913
+ /** Assigns a ref (generally from `useRef()`) to this element. */
914
+ ref?: preact.Ref<TClass>;
915
+ /** Assigns this element to a parent's slot. */
916
+ slot?: Lowercase<string>;
917
+ }
918
+
806
919
  export interface SpinnerClickOptions {
807
920
  /**
808
921
  * The event you want to influence the synthetic click.
@@ -825,14 +938,9 @@ declare const SpinnertagName = 's-spinner';
825
938
  declare const SpinnerBaseClass: typeof globalThis.HTMLElement;
826
939
 
827
940
  declare module 'preact' {
828
- interface BaseProps {
829
- children?: preact.ComponentChildren;
830
- slot?: Lowercase<string>;
831
- }
832
-
833
941
  namespace createElement.JSX {
834
942
  interface IntrinsicElements {
835
- [SelecttagName]: SelectJSXProps & BaseProps;
943
+ [SelecttagName]: SelectJSXProps & SelectPreactBaseElementPropsWithChildren<Select>;
836
944
  }
837
945
  }
838
946
  }
@@ -867,6 +975,19 @@ export interface SelectProps extends Omit<PreactInputProps, 'value'>, Required<
867
975
  value: Required<SelectProps$1>['value'];
868
976
  }
869
977
 
978
+ export interface SelectPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends SelectPreactBaseElementProps<TClass> {
979
+ children?: preact.ComponentChildren;
980
+ }
981
+
982
+ export interface SelectPreactBaseElementProps<TClass extends HTMLElement> {
983
+ /** Assigns a unique key to this element. */
984
+ key?: preact.Key;
985
+ /** Assigns a ref (generally from `useRef()`) to this element. */
986
+ ref?: preact.Ref<TClass>;
987
+ /** Assigns this element to a parent's slot. */
988
+ slot?: Lowercase<string>;
989
+ }
990
+
870
991
  export interface SelectClickOptions {
871
992
  /**
872
993
  * The event you want to influence the synthetic click.
@@ -888,14 +1009,9 @@ declare const Selectinternals: unique symbol;
888
1009
  declare const SelectBaseClass: typeof globalThis.HTMLElement;
889
1010
 
890
1011
  declare module 'preact' {
891
- interface BaseProps {
892
- children?: preact.ComponentChildren;
893
- slot?: Lowercase<string>;
894
- }
895
-
896
1012
  namespace createElement.JSX {
897
1013
  interface IntrinsicElements {
898
- [SectiontagName]: SectionJSXProps & BaseProps;
1014
+ [SectiontagName]: SectionJSXProps & SectionPreactBaseElementPropsWithChildren<Section>;
899
1015
  }
900
1016
  }
901
1017
  }
@@ -909,6 +1025,19 @@ declare global {
909
1025
  export interface SectionJSXProps extends Partial<SectionProps>, Pick<SectionProps$1, 'id'> {
910
1026
  }
911
1027
 
1028
+ export interface SectionPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends SectionPreactBaseElementProps<TClass> {
1029
+ children?: preact.ComponentChildren;
1030
+ }
1031
+
1032
+ export interface SectionPreactBaseElementProps<TClass extends HTMLElement> {
1033
+ /** Assigns a unique key to this element. */
1034
+ key?: preact.Key;
1035
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1036
+ ref?: preact.Ref<TClass>;
1037
+ /** Assigns this element to a parent's slot. */
1038
+ slot?: Lowercase<string>;
1039
+ }
1040
+
912
1041
  export interface SectionClickOptions {
913
1042
  /**
914
1043
  * The event you want to influence the synthetic click.
@@ -936,13 +1065,9 @@ declare const SectiontagName = 's-section';
936
1065
  declare const SectionBaseClass: typeof globalThis.HTMLElement;
937
1066
 
938
1067
  declare module 'preact' {
939
- interface BaseProps {
940
- slot?: Lowercase<string>;
941
- }
942
-
943
1068
  namespace createElement.JSX {
944
1069
  interface IntrinsicElements {
945
- [PasswordFieldtagName]: PasswordFieldJSXProps & BaseProps;
1070
+ [PasswordFieldtagName]: PasswordFieldJSXProps & PasswordFieldPreactBaseElementProps<PasswordField>;
946
1071
  }
947
1072
  }
948
1073
  }
@@ -956,6 +1081,15 @@ declare global {
956
1081
  export interface PasswordFieldJSXProps extends Partial<PasswordFieldProps>, Pick<PasswordFieldProps$1, 'id'>, PasswordFieldFieldReactProps<typeof PasswordFieldtagName> {
957
1082
  }
958
1083
 
1084
+ export interface PasswordFieldPreactBaseElementProps<TClass extends HTMLElement> {
1085
+ /** Assigns a unique key to this element. */
1086
+ key?: preact.Key;
1087
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1088
+ ref?: preact.Ref<TClass>;
1089
+ /** Assigns this element to a parent's slot. */
1090
+ slot?: Lowercase<string>;
1091
+ }
1092
+
959
1093
  export interface PasswordFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
960
1094
  onInput?: ((event: CallbackEvent<T>) => void) | null;
961
1095
  onChange?: ((event: CallbackEvent<T>) => void) | null;
@@ -982,14 +1116,10 @@ declare const PasswordFieldinternals: unique symbol;
982
1116
  declare const PasswordFieldBaseClass: typeof globalThis.HTMLElement;
983
1117
 
984
1118
  declare module 'preact' {
985
- interface BaseProps {
986
- children?: preact.ComponentChildren;
987
- slot?: Lowercase<string>;
988
- }
989
-
990
1119
  namespace createElement.JSX {
991
1120
  interface IntrinsicElements {
992
- [ParagraphtagName]: ParagraphJSXProps & BaseProps;
1121
+ [ParagraphtagName]: ParagraphJSXProps &
1122
+ ParagraphPreactBaseElementPropsWithChildren<Paragraph>;
993
1123
  }
994
1124
  }
995
1125
  }
@@ -1003,6 +1133,19 @@ declare global {
1003
1133
  export interface ParagraphJSXProps extends Partial<ParagraphProps>, Pick<ParagraphProps$1, 'id'> {
1004
1134
  }
1005
1135
 
1136
+ export interface ParagraphPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ParagraphPreactBaseElementProps<TClass> {
1137
+ children?: preact.ComponentChildren;
1138
+ }
1139
+
1140
+ export interface ParagraphPreactBaseElementProps<TClass extends HTMLElement> {
1141
+ /** Assigns a unique key to this element. */
1142
+ key?: preact.Key;
1143
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1144
+ ref?: preact.Ref<TClass>;
1145
+ /** Assigns this element to a parent's slot. */
1146
+ slot?: Lowercase<string>;
1147
+ }
1148
+
1006
1149
  export interface ParagraphClickOptions {
1007
1150
  /**
1008
1151
  * The event you want to influence the synthetic click.
@@ -1036,14 +1179,10 @@ declare const ParagraphtagName = 's-paragraph';
1036
1179
  declare const ParagraphBaseClass: typeof globalThis.HTMLElement;
1037
1180
 
1038
1181
  declare module 'preact' {
1039
- interface BaseProps {
1040
- children?: preact.ComponentChildren;
1041
- slot?: Lowercase<string>;
1042
- }
1043
-
1044
1182
  namespace createElement.JSX {
1045
1183
  interface IntrinsicElements {
1046
- [OrderedListtagName]: OrderedListJSXProps & BaseProps;
1184
+ [OrderedListtagName]: OrderedListJSXProps &
1185
+ OrderedListPreactBaseElementPropsWithChildren<OrderedList>;
1047
1186
  }
1048
1187
  }
1049
1188
  }
@@ -1057,6 +1196,19 @@ declare global {
1057
1196
  export interface OrderedListJSXProps extends Partial<OrderedListProps>, Pick<OrderedListProps$1, 'id'> {
1058
1197
  }
1059
1198
 
1199
+ export interface OrderedListPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends OrderedListPreactBaseElementProps<TClass> {
1200
+ children?: preact.ComponentChildren;
1201
+ }
1202
+
1203
+ export interface OrderedListPreactBaseElementProps<TClass extends HTMLElement> {
1204
+ /** Assigns a unique key to this element. */
1205
+ key?: preact.Key;
1206
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1207
+ ref?: preact.Ref<TClass>;
1208
+ /** Assigns this element to a parent's slot. */
1209
+ slot?: Lowercase<string>;
1210
+ }
1211
+
1060
1212
  export interface OrderedListClickOptions {
1061
1213
  /**
1062
1214
  * The event you want to influence the synthetic click.
@@ -1078,13 +1230,10 @@ declare const OrderedListtagName = 's-ordered-list';
1078
1230
  declare const OrderedListBaseClass: typeof globalThis.HTMLElement;
1079
1231
 
1080
1232
  declare module 'preact' {
1081
- interface BaseProps {
1082
- children?: preact.ComponentChildren;
1083
- }
1084
-
1085
1233
  namespace createElement.JSX {
1086
1234
  interface IntrinsicElements {
1087
- [OptionGrouptagName]: OptionGroupJSXProps & BaseProps;
1235
+ [OptionGrouptagName]: OptionGroupJSXProps &
1236
+ OptionGroupPreactBaseElementPropsWithChildren<OptionGroup>;
1088
1237
  }
1089
1238
  }
1090
1239
  }
@@ -1098,6 +1247,19 @@ declare global {
1098
1247
  export interface OptionGroupJSXProps extends Partial<OptionGroupProps> {
1099
1248
  }
1100
1249
 
1250
+ export interface OptionGroupPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends OptionGroupPreactBaseElementProps<TClass> {
1251
+ children?: preact.ComponentChildren;
1252
+ }
1253
+
1254
+ export interface OptionGroupPreactBaseElementProps<TClass extends HTMLElement> {
1255
+ /** Assigns a unique key to this element. */
1256
+ key?: preact.Key;
1257
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1258
+ ref?: preact.Ref<TClass>;
1259
+ /** Assigns this element to a parent's slot. */
1260
+ slot?: Lowercase<string>;
1261
+ }
1262
+
1101
1263
  export interface OptionGroupClickOptions {
1102
1264
  /**
1103
1265
  * The event you want to influence the synthetic click.
@@ -1119,13 +1281,9 @@ declare const OptionGrouptagName = 's-option-group';
1119
1281
  declare const OptionGroupBaseClass: typeof globalThis.HTMLElement;
1120
1282
 
1121
1283
  declare module 'preact' {
1122
- interface BaseProps {
1123
- children?: preact.ComponentChildren;
1124
- }
1125
-
1126
1284
  namespace createElement.JSX {
1127
1285
  interface IntrinsicElements {
1128
- [OptiontagName]: OptionJSXProps & BaseProps;
1286
+ [OptiontagName]: OptionJSXProps & OptionPreactBaseElementPropsWithChildren<Option>;
1129
1287
  }
1130
1288
  }
1131
1289
  }
@@ -1139,6 +1297,19 @@ declare global {
1139
1297
  export interface OptionJSXProps extends Partial<OptionProps> {
1140
1298
  }
1141
1299
 
1300
+ export interface OptionPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends OptionPreactBaseElementProps<TClass> {
1301
+ children?: preact.ComponentChildren;
1302
+ }
1303
+
1304
+ export interface OptionPreactBaseElementProps<TClass extends HTMLElement> {
1305
+ /** Assigns a unique key to this element. */
1306
+ key?: preact.Key;
1307
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1308
+ ref?: preact.Ref<TClass>;
1309
+ /** Assigns this element to a parent's slot. */
1310
+ slot?: Lowercase<string>;
1311
+ }
1312
+
1142
1313
  export interface OptionClickOptions {
1143
1314
  /**
1144
1315
  * The event you want to influence the synthetic click.
@@ -1162,13 +1333,9 @@ declare const OptiontagName = 's-option';
1162
1333
  declare const OptionBaseClass: typeof globalThis.HTMLElement;
1163
1334
 
1164
1335
  declare module 'preact' {
1165
- interface BaseProps {
1166
- slot?: Lowercase<string>;
1167
- }
1168
-
1169
1336
  namespace createElement.JSX {
1170
1337
  interface IntrinsicElements {
1171
- [NumberFieldtagName]: NumberFieldJSXProps & BaseProps;
1338
+ [NumberFieldtagName]: NumberFieldJSXProps & NumberFieldPreactBaseElementProps<NumberField>;
1172
1339
  }
1173
1340
  }
1174
1341
  }
@@ -1194,6 +1361,15 @@ export interface NumberFieldProps extends Omit<
1194
1361
  value: Required<NumberFieldProps$1>['value'];
1195
1362
  }
1196
1363
 
1364
+ export interface NumberFieldPreactBaseElementProps<TClass extends HTMLElement> {
1365
+ /** Assigns a unique key to this element. */
1366
+ key?: preact.Key;
1367
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1368
+ ref?: preact.Ref<TClass>;
1369
+ /** Assigns this element to a parent's slot. */
1370
+ slot?: Lowercase<string>;
1371
+ }
1372
+
1197
1373
  export interface NumberFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
1198
1374
  onInput?: ((event: CallbackEvent<T>) => void) | null;
1199
1375
  onChange?: ((event: CallbackEvent<T>) => void) | null;
@@ -1220,14 +1396,9 @@ declare const NumberFieldinternals: unique symbol;
1220
1396
  declare const NumberFieldBaseClass: typeof globalThis.HTMLElement;
1221
1397
 
1222
1398
  declare module 'preact' {
1223
- interface BaseProps {
1224
- children?: preact.ComponentChildren;
1225
- slot?: Lowercase<string>;
1226
- }
1227
-
1228
1399
  namespace createElement.JSX {
1229
1400
  interface IntrinsicElements {
1230
- [MoneyFieldtagName]: MoneyFieldJSXProps & BaseProps;
1401
+ [MoneyFieldtagName]: MoneyFieldJSXProps & MoneyFieldPreactBaseElementProps<MoneyField>;
1231
1402
  }
1232
1403
  }
1233
1404
  }
@@ -1245,6 +1416,15 @@ export interface MoneyFieldProps extends Omit<PreactFieldProps, 'value'>, Pick<R
1245
1416
  value: Required<MoneyFieldProps$1>['value'];
1246
1417
  }
1247
1418
 
1419
+ export interface MoneyFieldPreactBaseElementProps<TClass extends HTMLElement> {
1420
+ /** Assigns a unique key to this element. */
1421
+ key?: preact.Key;
1422
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1423
+ ref?: preact.Ref<TClass>;
1424
+ /** Assigns this element to a parent's slot. */
1425
+ slot?: Lowercase<string>;
1426
+ }
1427
+
1248
1428
  export interface MoneyFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
1249
1429
  onInput?: ((event: CallbackEvent<T>) => void) | null;
1250
1430
  onChange?: ((event: CallbackEvent<T>) => void) | null;
@@ -1271,14 +1451,10 @@ declare const MoneyFieldinternals: unique symbol;
1271
1451
  declare const MoneyFieldBaseClass: typeof globalThis.HTMLElement;
1272
1452
 
1273
1453
  declare module 'preact' {
1274
- interface BaseProps {
1275
- children?: preact.ComponentChildren;
1276
- slot?: Lowercase<string>;
1277
- }
1278
-
1279
1454
  namespace createElement.JSX {
1280
1455
  interface IntrinsicElements {
1281
- [ListItemtagName]: ListItemJSXProps & BaseProps;
1456
+ [ListItemtagName]: ListItemJSXProps &
1457
+ ListItemPreactBaseElementPropsWithChildren<ListItem>;
1282
1458
  }
1283
1459
  }
1284
1460
  }
@@ -1292,6 +1468,19 @@ declare global {
1292
1468
  export interface ListItemJSXProps extends Partial<ListItemProps>, Pick<ListItemProps$1, 'id'> {
1293
1469
  }
1294
1470
 
1471
+ export interface ListItemPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ListItemPreactBaseElementProps<TClass> {
1472
+ children?: preact.ComponentChildren;
1473
+ }
1474
+
1475
+ export interface ListItemPreactBaseElementProps<TClass extends HTMLElement> {
1476
+ /** Assigns a unique key to this element. */
1477
+ key?: preact.Key;
1478
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1479
+ ref?: preact.Ref<TClass>;
1480
+ /** Assigns this element to a parent's slot. */
1481
+ slot?: Lowercase<string>;
1482
+ }
1483
+
1295
1484
  export interface ListItemClickOptions {
1296
1485
  /**
1297
1486
  * The event you want to influence the synthetic click.
@@ -1313,14 +1502,9 @@ declare const ListItemtagName = 's-list-item';
1313
1502
  declare const ListItemBaseClass: typeof globalThis.HTMLElement;
1314
1503
 
1315
1504
  declare module 'preact' {
1316
- interface BaseProps {
1317
- children?: preact.ComponentChildren;
1318
- slot?: Lowercase<string>;
1319
- }
1320
-
1321
1505
  namespace createElement.JSX {
1322
1506
  interface IntrinsicElements {
1323
- [LinktagName]: LinkJSXProps & BaseProps;
1507
+ [LinktagName]: LinkJSXProps & LinkPreactBaseElementPropsWithChildren<Link>;
1324
1508
  }
1325
1509
  }
1326
1510
  }
@@ -1370,6 +1554,19 @@ export interface LinkActivationEventEsque {
1370
1554
  button: number;
1371
1555
  }
1372
1556
 
1557
+ export interface LinkPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends LinkPreactBaseElementProps<TClass> {
1558
+ children?: preact.ComponentChildren;
1559
+ }
1560
+
1561
+ export interface LinkPreactBaseElementProps<TClass extends HTMLElement> {
1562
+ /** Assigns a unique key to this element. */
1563
+ key?: preact.Key;
1564
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1565
+ ref?: preact.Ref<TClass>;
1566
+ /** Assigns this element to a parent's slot. */
1567
+ slot?: Lowercase<string>;
1568
+ }
1569
+
1373
1570
  export interface LinkProps extends Pick<
1374
1571
  LinkProps$1,
1375
1572
  | 'accessibilityLabel'
@@ -1399,13 +1596,9 @@ declare const Link_base: (abstract new (
1399
1596
  declare const LinkBaseClass: typeof globalThis.HTMLElement;
1400
1597
 
1401
1598
  declare module 'preact' {
1402
- interface BaseProps {
1403
- slot?: Lowercase<string>;
1404
- }
1405
-
1406
1599
  namespace createElement.JSX {
1407
1600
  interface IntrinsicElements {
1408
- [ImagetagName]: ImageJSXProps & BaseProps;
1601
+ [ImagetagName]: ImageJSXProps & ImagePreactBaseElementProps<Image>;
1409
1602
  }
1410
1603
  }
1411
1604
  }
@@ -1435,6 +1628,15 @@ export interface ImageActivationEventEsque {
1435
1628
  button: number;
1436
1629
  }
1437
1630
 
1631
+ export interface ImagePreactBaseElementProps<TClass extends HTMLElement> {
1632
+ /** Assigns a unique key to this element. */
1633
+ key?: preact.Key;
1634
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1635
+ ref?: preact.Ref<TClass>;
1636
+ /** Assigns this element to a parent's slot. */
1637
+ slot?: Lowercase<string>;
1638
+ }
1639
+
1438
1640
  export interface ImageProps extends Required<
1439
1641
  Pick<
1440
1642
  ImageProps$1,
@@ -1477,7 +1679,6 @@ export interface ImageBoxProps extends Pick<
1477
1679
  | 'borderRadius'
1478
1680
  | 'borderStyle'
1479
1681
  | 'borderWidth'
1480
- | 'display'
1481
1682
  | 'inlineSize'
1482
1683
  | 'maxBlockSize'
1483
1684
  | 'maxInlineSize'
@@ -1600,19 +1801,25 @@ export interface ImageBoxProps extends Pick<
1600
1801
  * @default '' - meaning no override
1601
1802
  */
1602
1803
  paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
1804
+ /**
1805
+ * 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).
1806
+ *
1807
+ * - `auto` the component's initial value. The actual value depends on the component and context.
1808
+ * - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
1809
+ *
1810
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
1811
+ * @default 'auto'
1812
+ */
1813
+ display: ResponsiveBoxProps['display'];
1603
1814
  }
1604
1815
 
1605
1816
  declare const ImagetagName = 's-image';
1606
1817
  declare const ImageBaseClass: typeof globalThis.HTMLElement;
1607
1818
 
1608
1819
  declare module 'preact' {
1609
- interface BaseProps {
1610
- slot?: Lowercase<string>;
1611
- }
1612
-
1613
1820
  namespace createElement.JSX {
1614
1821
  interface IntrinsicElements {
1615
- [IcontagName]: IconJSXProps & BaseProps;
1822
+ [IcontagName]: IconJSXProps & IconPreactBaseElementProps<Icon>;
1616
1823
  }
1617
1824
  }
1618
1825
  }
@@ -1626,6 +1833,15 @@ declare global {
1626
1833
  export interface IconJSXProps extends Partial<IconIconProps>, Pick<IconProps$1, 'id'> {
1627
1834
  }
1628
1835
 
1836
+ export interface IconPreactBaseElementProps<TClass extends HTMLElement> {
1837
+ /** Assigns a unique key to this element. */
1838
+ key?: preact.Key;
1839
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1840
+ ref?: preact.Ref<TClass>;
1841
+ /** Assigns this element to a parent's slot. */
1842
+ slot?: Lowercase<string>;
1843
+ }
1844
+
1629
1845
  export interface IconClickOptions {
1630
1846
  /**
1631
1847
  * The event you want to influence the synthetic click.
@@ -1657,14 +1873,9 @@ declare const IcontagName = 's-icon';
1657
1873
  declare const IconBaseClass: typeof globalThis.HTMLElement;
1658
1874
 
1659
1875
  declare module 'preact' {
1660
- interface BaseProps {
1661
- children?: preact.ComponentChildren;
1662
- slot?: Lowercase<string>;
1663
- }
1664
-
1665
1876
  namespace createElement.JSX {
1666
1877
  interface IntrinsicElements {
1667
- [HeadingtagName]: HeadingJSXProps & BaseProps;
1878
+ [HeadingtagName]: HeadingJSXProps & HeadingPreactBaseElementPropsWithChildren<Heading>;
1668
1879
  }
1669
1880
  }
1670
1881
  }
@@ -1678,6 +1889,19 @@ declare global {
1678
1889
  export interface HeadingJSXProps extends Partial<HeadingProps>, Pick<HeadingProps$1, 'id'> {
1679
1890
  }
1680
1891
 
1892
+ export interface HeadingPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends HeadingPreactBaseElementProps<TClass> {
1893
+ children?: preact.ComponentChildren;
1894
+ }
1895
+
1896
+ export interface HeadingPreactBaseElementProps<TClass extends HTMLElement> {
1897
+ /** Assigns a unique key to this element. */
1898
+ key?: preact.Key;
1899
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1900
+ ref?: preact.Ref<TClass>;
1901
+ /** Assigns this element to a parent's slot. */
1902
+ slot?: Lowercase<string>;
1903
+ }
1904
+
1681
1905
  export interface HeadingClickOptions {
1682
1906
  /**
1683
1907
  * The event you want to influence the synthetic click.
@@ -1705,14 +1929,10 @@ declare const HeadingtagName = 's-heading';
1705
1929
  declare const HeadingBaseClass: typeof globalThis.HTMLElement;
1706
1930
 
1707
1931
  declare module 'preact' {
1708
- interface BaseProps {
1709
- children?: preact.ComponentChildren;
1710
- slot?: Lowercase<string>;
1711
- }
1712
-
1713
1932
  namespace createElement.JSX {
1714
1933
  interface IntrinsicElements {
1715
- [GridItemtagName]: GridItemJSXProps & BaseProps;
1934
+ [GridItemtagName]: GridItemJSXProps &
1935
+ GridItemPreactBaseElementPropsWithChildren<GridItem>;
1716
1936
  }
1717
1937
  }
1718
1938
  }
@@ -1726,6 +1946,19 @@ declare global {
1726
1946
  export interface GridItemJSXProps extends Partial<GridItemProps>, Pick<GridItemProps$1, 'id'> {
1727
1947
  }
1728
1948
 
1949
+ export interface GridItemPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends GridItemPreactBaseElementProps<TClass> {
1950
+ children?: preact.ComponentChildren;
1951
+ }
1952
+
1953
+ export interface GridItemPreactBaseElementProps<TClass extends HTMLElement> {
1954
+ /** Assigns a unique key to this element. */
1955
+ key?: preact.Key;
1956
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1957
+ ref?: preact.Ref<TClass>;
1958
+ /** Assigns this element to a parent's slot. */
1959
+ slot?: Lowercase<string>;
1960
+ }
1961
+
1729
1962
  export interface GridItemClickOptions {
1730
1963
  /**
1731
1964
  * The event you want to influence the synthetic click.
@@ -1757,7 +1990,6 @@ export interface GridItemBoxProps extends Pick<
1757
1990
  | 'borderRadius'
1758
1991
  | 'borderStyle'
1759
1992
  | 'borderWidth'
1760
- | 'display'
1761
1993
  | 'inlineSize'
1762
1994
  | 'maxBlockSize'
1763
1995
  | 'maxInlineSize'
@@ -1880,20 +2112,25 @@ export interface GridItemBoxProps extends Pick<
1880
2112
  * @default '' - meaning no override
1881
2113
  */
1882
2114
  paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
2115
+ /**
2116
+ * 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).
2117
+ *
2118
+ * - `auto` the component's initial value. The actual value depends on the component and context.
2119
+ * - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
2120
+ *
2121
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
2122
+ * @default 'auto'
2123
+ */
2124
+ display: ResponsiveBoxProps['display'];
1883
2125
  }
1884
2126
 
1885
2127
  declare const GridItemtagName = 's-grid-item';
1886
2128
  declare const GridItemBaseClass: typeof globalThis.HTMLElement;
1887
2129
 
1888
2130
  declare module 'preact' {
1889
- interface BaseProps {
1890
- children?: preact.ComponentChildren;
1891
- slot?: Lowercase<string>;
1892
- }
1893
-
1894
2131
  namespace createElement.JSX {
1895
2132
  interface IntrinsicElements {
1896
- [GridtagName]: GridJSXProps & BaseProps;
2133
+ [GridtagName]: GridJSXProps & GridPreactBaseElementPropsWithChildren<Grid>;
1897
2134
  }
1898
2135
  }
1899
2136
  }
@@ -1921,6 +2158,19 @@ export interface GridActivationEventEsque {
1921
2158
  button: number;
1922
2159
  }
1923
2160
 
2161
+ export interface GridPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends GridPreactBaseElementProps<TClass> {
2162
+ children?: preact.ComponentChildren;
2163
+ }
2164
+
2165
+ export interface GridPreactBaseElementProps<TClass extends HTMLElement> {
2166
+ /** Assigns a unique key to this element. */
2167
+ key?: preact.Key;
2168
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2169
+ ref?: preact.Ref<TClass>;
2170
+ /** Assigns this element to a parent's slot. */
2171
+ slot?: Lowercase<string>;
2172
+ }
2173
+
1924
2174
  export interface GridProps extends GridBoxProps, Required<
1925
2175
  Pick<
1926
2176
  GridProps$1,
@@ -1981,7 +2231,6 @@ export interface GridBoxProps extends Pick<
1981
2231
  | 'borderRadius'
1982
2232
  | 'borderStyle'
1983
2233
  | 'borderWidth'
1984
- | 'display'
1985
2234
  | 'inlineSize'
1986
2235
  | 'maxBlockSize'
1987
2236
  | 'maxInlineSize'
@@ -2104,19 +2353,25 @@ export interface GridBoxProps extends Pick<
2104
2353
  * @default '' - meaning no override
2105
2354
  */
2106
2355
  paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
2356
+ /**
2357
+ * 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).
2358
+ *
2359
+ * - `auto` the component's initial value. The actual value depends on the component and context.
2360
+ * - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
2361
+ *
2362
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
2363
+ * @default 'auto'
2364
+ */
2365
+ display: ResponsiveBoxProps['display'];
2107
2366
  }
2108
2367
 
2109
2368
  declare const GridtagName = 's-grid';
2110
2369
  declare const GridBaseClass: typeof globalThis.HTMLElement;
2111
2370
 
2112
2371
  declare module 'preact' {
2113
- interface BaseProps {
2114
- slot?: Lowercase<string>;
2115
- }
2116
-
2117
2372
  namespace createElement.JSX {
2118
2373
  interface IntrinsicElements {
2119
- [EmailFieldtagName]: EmailFieldJSXProps & BaseProps;
2374
+ [EmailFieldtagName]: EmailFieldJSXProps & EmailFieldPreactBaseElementProps<EmailField>;
2120
2375
  }
2121
2376
  }
2122
2377
  }
@@ -2130,6 +2385,15 @@ declare global {
2130
2385
  export interface EmailFieldJSXProps extends Partial<Omit<EmailFieldProps, 'accessory'>>, Pick<EmailFieldProps$1, 'id'>, FieldReactProps<typeof EmailFieldtagName> {
2131
2386
  }
2132
2387
 
2388
+ export interface EmailFieldPreactBaseElementProps<TClass extends HTMLElement> {
2389
+ /** Assigns a unique key to this element. */
2390
+ key?: preact.Key;
2391
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2392
+ ref?: preact.Ref<TClass>;
2393
+ /** Assigns this element to a parent's slot. */
2394
+ slot?: Lowercase<string>;
2395
+ }
2396
+
2133
2397
  export interface FieldReactProps<T extends keyof HTMLElementTagNameMap> {
2134
2398
  onInput?: ((event: CallbackEvent<T>) => void) | null;
2135
2399
  onChange?: ((event: CallbackEvent<T>) => void) | null;
@@ -2156,13 +2420,9 @@ declare const EmailFieldinternals: unique symbol;
2156
2420
  declare const EmailFieldBaseClass: typeof globalThis.HTMLElement;
2157
2421
 
2158
2422
  declare module 'preact' {
2159
- interface BaseProps {
2160
- slot?: Lowercase<string>;
2161
- }
2162
-
2163
2423
  namespace createElement.JSX {
2164
2424
  interface IntrinsicElements {
2165
- [DividertagName]: DividerJSXProps & BaseProps;
2425
+ [DividertagName]: DividerJSXProps & DividerPreactBaseElementProps<Divider>;
2166
2426
  }
2167
2427
  }
2168
2428
  }
@@ -2176,6 +2436,15 @@ declare global {
2176
2436
  export interface DividerJSXProps extends Partial<DividerProps>, Pick<DividerProps$1, 'id'> {
2177
2437
  }
2178
2438
 
2439
+ export interface DividerPreactBaseElementProps<TClass extends HTMLElement> {
2440
+ /** Assigns a unique key to this element. */
2441
+ key?: preact.Key;
2442
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2443
+ ref?: preact.Ref<TClass>;
2444
+ /** Assigns this element to a parent's slot. */
2445
+ slot?: Lowercase<string>;
2446
+ }
2447
+
2179
2448
  export interface DividerClickOptions {
2180
2449
  /**
2181
2450
  * The event you want to influence the synthetic click.
@@ -2199,13 +2468,9 @@ declare const DividertagName = 's-divider';
2199
2468
  declare const DividerBaseClass: typeof globalThis.HTMLElement;
2200
2469
 
2201
2470
  declare module 'preact' {
2202
- interface BaseProps {
2203
- slot?: Lowercase<string>;
2204
- }
2205
-
2206
2471
  namespace createElement.JSX {
2207
2472
  interface IntrinsicElements {
2208
- [DatePickertagName]: DatePickerJSXProps & BaseProps;
2473
+ [DatePickertagName]: DatePickerJSXProps & DatePickerPreactBaseElementProps<DatePicker>;
2209
2474
  }
2210
2475
  }
2211
2476
  }
@@ -2245,6 +2510,15 @@ export interface DatePickerActivationEventEsque {
2245
2510
  button: number;
2246
2511
  }
2247
2512
 
2513
+ export interface DatePickerPreactBaseElementProps<TClass extends HTMLElement> {
2514
+ /** Assigns a unique key to this element. */
2515
+ key?: preact.Key;
2516
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2517
+ ref?: preact.Ref<TClass>;
2518
+ /** Assigns this element to a parent's slot. */
2519
+ slot?: Lowercase<string>;
2520
+ }
2521
+
2248
2522
  export interface DatePickerProps extends Required<
2249
2523
  Pick<
2250
2524
  DatePickerProps$1,
@@ -2268,14 +2542,10 @@ declare const DatePickerinternals: unique symbol;
2268
2542
  declare const DatePickerBaseClass$1: typeof globalThis.HTMLElement;
2269
2543
 
2270
2544
  declare module 'preact' {
2271
- interface BaseProps {
2272
- children?: preact.ComponentChildren;
2273
- slot?: Lowercase<string>;
2274
- }
2275
-
2276
2545
  namespace createElement.JSX {
2277
2546
  interface IntrinsicElements {
2278
- [ClickabletagName]: ClickableJSXProps & BaseProps;
2547
+ [ClickabletagName]: ClickableJSXProps &
2548
+ ClickablePreactBaseElementPropsWithChildren<Clickable>;
2279
2549
  }
2280
2550
  }
2281
2551
  }
@@ -2327,6 +2597,19 @@ export interface ClickableActivationEventEsque {
2327
2597
  button: number;
2328
2598
  }
2329
2599
 
2600
+ export interface ClickablePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ClickablePreactBaseElementProps<TClass> {
2601
+ children?: preact.ComponentChildren;
2602
+ }
2603
+
2604
+ export interface ClickablePreactBaseElementProps<TClass extends HTMLElement> {
2605
+ /** Assigns a unique key to this element. */
2606
+ key?: preact.Key;
2607
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2608
+ ref?: preact.Ref<TClass>;
2609
+ /** Assigns this element to a parent's slot. */
2610
+ slot?: Lowercase<string>;
2611
+ }
2612
+
2330
2613
  export interface ClickableProps extends Required<ClickableBoxProps>, ClickableBaseProps {
2331
2614
  }
2332
2615
 
@@ -2342,7 +2625,6 @@ export interface ClickableBoxProps extends Pick<
2342
2625
  | 'borderRadius'
2343
2626
  | 'borderStyle'
2344
2627
  | 'borderWidth'
2345
- | 'display'
2346
2628
  | 'inlineSize'
2347
2629
  | 'maxBlockSize'
2348
2630
  | 'maxInlineSize'
@@ -2465,6 +2747,16 @@ export interface ClickableBoxProps extends Pick<
2465
2747
  * @default '' - meaning no override
2466
2748
  */
2467
2749
  paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
2750
+ /**
2751
+ * 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).
2752
+ *
2753
+ * - `auto` the component's initial value. The actual value depends on the component and context.
2754
+ * - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
2755
+ *
2756
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
2757
+ * @default 'auto'
2758
+ */
2759
+ display: ResponsiveBoxProps['display'];
2468
2760
  }
2469
2761
 
2470
2762
  declare const ClickabletagName = 's-clickable';
@@ -2475,14 +2767,10 @@ declare const Clickable_base: (abstract new (
2475
2767
  declare const ClickableBaseClass: typeof globalThis.HTMLElement;
2476
2768
 
2477
2769
  declare module 'preact' {
2478
- interface BaseProps {
2479
- children?: preact.ComponentChildren;
2480
- slot?: Lowercase<string>;
2481
- }
2482
-
2483
2770
  namespace createElement.JSX {
2484
2771
  interface IntrinsicElements {
2485
- [ChoiceListtagName]: ChoiceListJSXProps & BaseProps;
2772
+ [ChoiceListtagName]: ChoiceListJSXProps &
2773
+ ChoiceListPreactBaseElementPropsWithChildren<ChoiceList>;
2486
2774
  }
2487
2775
  }
2488
2776
  }
@@ -2512,6 +2800,19 @@ export interface ChoiceListActivationEventEsque {
2512
2800
  button: number;
2513
2801
  }
2514
2802
 
2803
+ export interface ChoiceListPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ChoiceListPreactBaseElementProps<TClass> {
2804
+ children?: preact.ComponentChildren;
2805
+ }
2806
+
2807
+ export interface ChoiceListPreactBaseElementProps<TClass extends HTMLElement> {
2808
+ /** Assigns a unique key to this element. */
2809
+ key?: preact.Key;
2810
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2811
+ ref?: preact.Ref<TClass>;
2812
+ /** Assigns this element to a parent's slot. */
2813
+ slot?: Lowercase<string>;
2814
+ }
2815
+
2515
2816
  export interface ChoiceListProps extends Required<
2516
2817
  Pick<
2517
2818
  ChoiceListProps$1,
@@ -2539,7 +2840,7 @@ declare const BaseClass$1: typeof globalThis.HTMLElement;
2539
2840
  declare module 'preact' {
2540
2841
  namespace createElement.JSX {
2541
2842
  interface IntrinsicElements {
2542
- [ChoicetagName]: ChoiceJSXProps;
2843
+ [ChoicetagName]: ChoiceJSXProps & ChoicePreactBaseElementPropsWithChildren<Choice>;
2543
2844
  }
2544
2845
  }
2545
2846
  }
@@ -2553,6 +2854,19 @@ declare global {
2553
2854
  export interface ChoiceJSXProps extends Partial<ChoiceProps>, Pick<ChoiceProps$1, 'id'> {
2554
2855
  }
2555
2856
 
2857
+ export interface ChoicePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ChoicePreactBaseElementProps<TClass> {
2858
+ children?: preact.ComponentChildren;
2859
+ }
2860
+
2861
+ export interface ChoicePreactBaseElementProps<TClass extends HTMLElement> {
2862
+ /** Assigns a unique key to this element. */
2863
+ key?: preact.Key;
2864
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2865
+ ref?: preact.Ref<TClass>;
2866
+ /** Assigns this element to a parent's slot. */
2867
+ slot?: Lowercase<string>;
2868
+ }
2869
+
2556
2870
  export interface ChoiceClickOptions {
2557
2871
  /**
2558
2872
  * The event you want to influence the synthetic click.
@@ -2587,7 +2901,8 @@ declare const ChoiceBaseClass: typeof globalThis.HTMLElement;
2587
2901
  declare module 'preact' {
2588
2902
  namespace createElement.JSX {
2589
2903
  interface IntrinsicElements {
2590
- [CheckboxtagName]: CheckboxJSXProps;
2904
+ [CheckboxtagName]: CheckboxJSXProps &
2905
+ CheckboxPreactBaseElementPropsWithChildren<Checkbox>;
2591
2906
  }
2592
2907
  }
2593
2908
  }
@@ -2625,6 +2940,19 @@ export interface PreactCheckboxProps extends Required<
2625
2940
  value: Required<CheckboxProps$1>['value'];
2626
2941
  }
2627
2942
 
2943
+ export interface CheckboxPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends CheckboxPreactBaseElementProps<TClass> {
2944
+ children?: preact.ComponentChildren;
2945
+ }
2946
+
2947
+ export interface CheckboxPreactBaseElementProps<TClass extends HTMLElement> {
2948
+ /** Assigns a unique key to this element. */
2949
+ key?: preact.Key;
2950
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2951
+ ref?: preact.Ref<TClass>;
2952
+ /** Assigns this element to a parent's slot. */
2953
+ slot?: Lowercase<string>;
2954
+ }
2955
+
2628
2956
  export interface CheckboxClickOptions {
2629
2957
  /**
2630
2958
  * The event you want to influence the synthetic click.
@@ -2644,14 +2972,9 @@ declare const internals: unique symbol;
2644
2972
  declare const CheckboxBaseClass: typeof globalThis.HTMLElement;
2645
2973
 
2646
2974
  declare module 'preact' {
2647
- interface BaseProps {
2648
- children?: preact.ComponentChildren;
2649
- slot?: Lowercase<string>;
2650
- }
2651
-
2652
2975
  namespace createElement.JSX {
2653
2976
  interface IntrinsicElements {
2654
- [ButtontagName]: ButtonJSXProps & BaseProps;
2977
+ [ButtontagName]: ButtonJSXProps & ButtonPreactBaseElementPropsWithChildren<Button>;
2655
2978
  }
2656
2979
  }
2657
2980
  }
@@ -2703,6 +3026,19 @@ export interface ButtonActivationEventEsque {
2703
3026
  button: number;
2704
3027
  }
2705
3028
 
3029
+ export interface ButtonPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ButtonPreactBaseElementProps<TClass> {
3030
+ children?: preact.ComponentChildren;
3031
+ }
3032
+
3033
+ export interface ButtonPreactBaseElementProps<TClass extends HTMLElement> {
3034
+ /** Assigns a unique key to this element. */
3035
+ key?: preact.Key;
3036
+ /** Assigns a ref (generally from `useRef()`) to this element. */
3037
+ ref?: preact.Ref<TClass>;
3038
+ /** Assigns this element to a parent's slot. */
3039
+ slot?: Lowercase<string>;
3040
+ }
3041
+
2706
3042
  export interface ButtonProps extends ButtonBaseProps {
2707
3043
  tone: Extract<ButtonProps$1['tone'], 'neutral' | 'critical' | 'auto'>;
2708
3044
  icon: ButtonIconProps['type'];
@@ -2729,14 +3065,9 @@ declare const Button_base: (abstract new (
2729
3065
  declare const ButtonBaseClass: typeof globalThis.HTMLElement;
2730
3066
 
2731
3067
  declare module 'preact' {
2732
- interface BaseProps {
2733
- children?: preact.ComponentChildren;
2734
- slot?: Lowercase<string>;
2735
- }
2736
-
2737
3068
  namespace createElement.JSX {
2738
3069
  interface IntrinsicElements {
2739
- [BoxtagName]: BoxJSXProps & BaseProps;
3070
+ [BoxtagName]: BoxJSXProps & BoxPreactBaseElementPropsWithChildren<Box>;
2740
3071
  }
2741
3072
  }
2742
3073
  }
@@ -2750,6 +3081,19 @@ declare global {
2750
3081
  export interface BoxJSXProps extends Partial<BoxProps>, Pick<BoxProps$1, 'id'> {
2751
3082
  }
2752
3083
 
3084
+ export interface BoxPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends BoxPreactBaseElementProps<TClass> {
3085
+ children?: preact.ComponentChildren;
3086
+ }
3087
+
3088
+ export interface BoxPreactBaseElementProps<TClass extends HTMLElement> {
3089
+ /** Assigns a unique key to this element. */
3090
+ key?: preact.Key;
3091
+ /** Assigns a ref (generally from `useRef()`) to this element. */
3092
+ ref?: preact.Ref<TClass>;
3093
+ /** Assigns this element to a parent's slot. */
3094
+ slot?: Lowercase<string>;
3095
+ }
3096
+
2753
3097
  export interface BoxClickOptions {
2754
3098
  /**
2755
3099
  * The event you want to influence the synthetic click.
@@ -2776,7 +3120,6 @@ export interface BoxProps extends Pick<
2776
3120
  | 'borderRadius'
2777
3121
  | 'borderStyle'
2778
3122
  | 'borderWidth'
2779
- | 'display'
2780
3123
  | 'inlineSize'
2781
3124
  | 'maxBlockSize'
2782
3125
  | 'maxInlineSize'
@@ -2899,20 +3242,26 @@ export interface BoxProps extends Pick<
2899
3242
  * @default '' - meaning no override
2900
3243
  */
2901
3244
  paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
3245
+ /**
3246
+ * 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).
3247
+ *
3248
+ * - `auto` the component's initial value. The actual value depends on the component and context.
3249
+ * - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
3250
+ *
3251
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
3252
+ * @default 'auto'
3253
+ */
3254
+ display: ResponsiveBoxProps['display'];
2902
3255
  }
2903
3256
 
2904
3257
  declare const BoxtagName = 's-box';
2905
3258
  declare const BoxBaseClass: typeof globalThis.HTMLElement;
2906
3259
 
2907
3260
  declare module 'preact' {
2908
- interface BaseProps {
2909
- children?: preact.ComponentChildren;
2910
- slot?: Lowercase<string>;
2911
- }
2912
-
2913
3261
  namespace createElement.JSX {
2914
3262
  interface IntrinsicElements {
2915
- [BannertagName]: Omit<BannerJSXProps, 'secondaryActions'> & BaseProps;
3263
+ [BannertagName]: Omit<BannerJSXProps, 'secondaryActions'> &
3264
+ BannerPreactBaseElementPropsWithChildren<Banner>;
2916
3265
  }
2917
3266
  }
2918
3267
  }
@@ -2948,6 +3297,19 @@ export interface BannerActivationEventEsque {
2948
3297
  button: number;
2949
3298
  }
2950
3299
 
3300
+ export interface BannerPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends BannerPreactBaseElementProps<TClass> {
3301
+ children?: preact.ComponentChildren;
3302
+ }
3303
+
3304
+ export interface BannerPreactBaseElementProps<TClass extends HTMLElement> {
3305
+ /** Assigns a unique key to this element. */
3306
+ key?: preact.Key;
3307
+ /** Assigns a ref (generally from `useRef()`) to this element. */
3308
+ ref?: preact.Ref<TClass>;
3309
+ /** Assigns this element to a parent's slot. */
3310
+ slot?: Lowercase<string>;
3311
+ }
3312
+
2951
3313
  export interface BannerProps extends Pick<
2952
3314
  RequiredBannerProps,
2953
3315
  'heading' | 'dismissible' | 'hidden' | 'tone'
@@ -2962,14 +3324,9 @@ declare const BannertagName = 's-banner';
2962
3324
  declare const BannerBaseClass: typeof globalThis.HTMLElement;
2963
3325
 
2964
3326
  declare module 'preact' {
2965
- interface BaseProps {
2966
- children?: preact.ComponentChildren;
2967
- slot?: Lowercase<string>;
2968
- }
2969
-
2970
3327
  namespace createElement.JSX {
2971
3328
  interface IntrinsicElements {
2972
- [tagName]: BadgeJSXProps & BaseProps;
3329
+ [tagName]: BadgeJSXProps & PreactBaseElementPropsWithChildren<Badge>;
2973
3330
  }
2974
3331
  }
2975
3332
  }
@@ -2983,6 +3340,19 @@ declare global {
2983
3340
  export interface BadgeJSXProps extends Partial<BadgeProps>, Pick<BadgeProps$1, 'id'> {
2984
3341
  }
2985
3342
 
3343
+ export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends PreactBaseElementProps<TClass> {
3344
+ children?: preact.ComponentChildren;
3345
+ }
3346
+
3347
+ export interface PreactBaseElementProps<TClass extends HTMLElement> {
3348
+ /** Assigns a unique key to this element. */
3349
+ key?: preact.Key;
3350
+ /** Assigns a ref (generally from `useRef()`) to this element. */
3351
+ ref?: preact.Ref<TClass>;
3352
+ /** Assigns this element to a parent's slot. */
3353
+ slot?: Lowercase<string>;
3354
+ }
3355
+
2986
3356
  export interface ClickOptions {
2987
3357
  /**
2988
3358
  * The event you want to influence the synthetic click.