@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
@@ -1,11 +1,7 @@
1
1
  declare module 'preact' {
2
- interface BaseProps {
3
- slot?: Lowercase<string>;
4
- }
5
-
6
2
  namespace createElement.JSX {
7
3
  interface IntrinsicElements {
8
- [URLFieldtagName]: URLFieldJSXProps & BaseProps;
4
+ [URLFieldtagName]: URLFieldJSXProps & URLFieldPreactBaseElementProps<URLField>;
9
5
  }
10
6
  }
11
7
  }
@@ -19,6 +15,15 @@ declare global {
19
15
  export interface URLFieldJSXProps extends Partial<Omit<URLFieldProps, 'accessory'>>, Pick<URLFieldProps$1, 'id'>, URLFieldFieldReactProps<typeof URLFieldtagName> {
20
16
  }
21
17
 
18
+ export interface URLFieldPreactBaseElementProps<TClass extends HTMLElement> {
19
+ /** Assigns a unique key to this element. */
20
+ key?: preact.Key;
21
+ /** Assigns a ref (generally from `useRef()`) to this element. */
22
+ ref?: preact.Ref<TClass>;
23
+ /** Assigns this element to a parent's slot. */
24
+ slot?: Lowercase<string>;
25
+ }
26
+
22
27
  export interface URLFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
23
28
  onInput?: ((event: CallbackEvent<T>) => void) | null;
24
29
  onChange?: ((event: CallbackEvent<T>) => void) | null;
@@ -45,14 +50,10 @@ declare const URLFieldinternals: unique symbol;
45
50
  declare const URLFieldBaseClass: typeof globalThis.HTMLElement;
46
51
 
47
52
  declare module 'preact' {
48
- interface BaseProps {
49
- children?: preact.ComponentChildren;
50
- slot?: Lowercase<string>;
51
- }
52
-
53
53
  namespace createElement.JSX {
54
54
  interface IntrinsicElements {
55
- [UnorderedListtagName]: UnorderedListJSXProps & BaseProps;
55
+ [UnorderedListtagName]: UnorderedListJSXProps &
56
+ UnorderedListPreactBaseElementPropsWithChildren<UnorderedList>;
56
57
  }
57
58
  }
58
59
  }
@@ -66,6 +67,19 @@ declare global {
66
67
  export interface UnorderedListJSXProps extends Partial<UnorderedListProps>, Pick<UnorderedListProps$1, 'id'> {
67
68
  }
68
69
 
70
+ export interface UnorderedListPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends UnorderedListPreactBaseElementProps<TClass> {
71
+ children?: preact.ComponentChildren;
72
+ }
73
+
74
+ export interface UnorderedListPreactBaseElementProps<TClass extends HTMLElement> {
75
+ /** Assigns a unique key to this element. */
76
+ key?: preact.Key;
77
+ /** Assigns a ref (generally from `useRef()`) to this element. */
78
+ ref?: preact.Ref<TClass>;
79
+ /** Assigns this element to a parent's slot. */
80
+ slot?: Lowercase<string>;
81
+ }
82
+
69
83
  export interface UnorderedListClickOptions {
70
84
  /**
71
85
  * The event you want to influence the synthetic click.
@@ -87,13 +101,10 @@ declare const UnorderedListtagName = 's-unordered-list';
87
101
  declare const UnorderedListBaseClass: typeof globalThis.HTMLElement;
88
102
 
89
103
  declare module 'preact' {
90
- interface BaseProps {
91
- slot?: Lowercase<string>;
92
- }
93
-
94
104
  namespace createElement.JSX {
95
105
  interface IntrinsicElements {
96
- [TextFieldtagName]: Omit<TextFieldJSXProps, 'accessory'> & BaseProps;
106
+ [TextFieldtagName]: Omit<TextFieldJSXProps, 'accessory'> &
107
+ TextFieldPreactBaseElementProps<TextField>;
97
108
  }
98
109
  }
99
110
  }
@@ -111,6 +122,15 @@ export interface TextFieldJSXProps extends Partial<Omit<TextFieldProps, 'accesso
111
122
  accessory?: ComponentChild;
112
123
  }
113
124
 
125
+ export interface TextFieldPreactBaseElementProps<TClass extends HTMLElement> {
126
+ /** Assigns a unique key to this element. */
127
+ key?: preact.Key;
128
+ /** Assigns a ref (generally from `useRef()`) to this element. */
129
+ ref?: preact.Ref<TClass>;
130
+ /** Assigns this element to a parent's slot. */
131
+ slot?: Lowercase<string>;
132
+ }
133
+
114
134
  export interface TextFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
115
135
  onInput?: ((event: CallbackEvent<T>) => void) | null;
116
136
  onChange?: ((event: CallbackEvent<T>) => void) | null;
@@ -137,13 +157,9 @@ declare const TextFieldinternals: unique symbol;
137
157
  declare const TextFieldBaseClass: typeof globalThis.HTMLElement;
138
158
 
139
159
  declare module 'preact' {
140
- interface BaseProps {
141
- slot?: Lowercase<string>;
142
- }
143
-
144
160
  namespace createElement.JSX {
145
161
  interface IntrinsicElements {
146
- [TextAreatagName]: TextAreaJSXProps & BaseProps;
162
+ [TextAreatagName]: TextAreaJSXProps & TextAreaPreactBaseElementProps<TextArea>;
147
163
  }
148
164
  }
149
165
  }
@@ -157,6 +173,15 @@ declare global {
157
173
  export interface TextAreaJSXProps extends Partial<TextAreaProps>, Pick<TextAreaProps$1, 'id'>, TextAreaFieldReactProps<typeof TextAreatagName> {
158
174
  }
159
175
 
176
+ export interface TextAreaPreactBaseElementProps<TClass extends HTMLElement> {
177
+ /** Assigns a unique key to this element. */
178
+ key?: preact.Key;
179
+ /** Assigns a ref (generally from `useRef()`) to this element. */
180
+ ref?: preact.Ref<TClass>;
181
+ /** Assigns this element to a parent's slot. */
182
+ slot?: Lowercase<string>;
183
+ }
184
+
160
185
  export interface TextAreaFieldReactProps<T extends keyof HTMLElementTagNameMap> {
161
186
  onInput?: ((event: CallbackEvent<T>) => void) | null;
162
187
  onChange?: ((event: CallbackEvent<T>) => void) | null;
@@ -183,14 +208,9 @@ declare const TextAreainternals: unique symbol;
183
208
  declare const TextAreaBaseClass: typeof globalThis.HTMLElement;
184
209
 
185
210
  declare module 'preact' {
186
- interface BaseProps {
187
- children?: preact.ComponentChildren;
188
- slot?: Lowercase<string>;
189
- }
190
-
191
211
  namespace createElement.JSX {
192
212
  interface IntrinsicElements {
193
- [TexttagName]: TextJSXProps & BaseProps;
213
+ [TexttagName]: TextJSXProps & TextPreactBaseElementPropsWithChildren<Text>;
194
214
  }
195
215
  }
196
216
  }
@@ -204,6 +224,19 @@ declare global {
204
224
  export interface TextJSXProps extends Partial<TextProps>, Pick<TextProps$1, 'id'> {
205
225
  }
206
226
 
227
+ export interface TextPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TextPreactBaseElementProps<TClass> {
228
+ children?: preact.ComponentChildren;
229
+ }
230
+
231
+ export interface TextPreactBaseElementProps<TClass extends HTMLElement> {
232
+ /** Assigns a unique key to this element. */
233
+ key?: preact.Key;
234
+ /** Assigns a ref (generally from `useRef()`) to this element. */
235
+ ref?: preact.Ref<TClass>;
236
+ /** Assigns this element to a parent's slot. */
237
+ slot?: Lowercase<string>;
238
+ }
239
+
207
240
  export interface TextClickOptions {
208
241
  /**
209
242
  * The event you want to influence the synthetic click.
@@ -248,14 +281,10 @@ declare const TexttagName = 's-text';
248
281
  declare const TextBaseClass: typeof globalThis.HTMLElement;
249
282
 
250
283
  declare module 'preact' {
251
- interface BaseProps {
252
- children?: preact.ComponentChildren;
253
- slot?: Lowercase<string>;
254
- }
255
-
256
284
  namespace createElement.JSX {
257
285
  interface IntrinsicElements {
258
- [TableRowtagName]: TableRowJSXProps & BaseProps;
286
+ [TableRowtagName]: TableRowJSXProps &
287
+ TableRowPreactBaseElementPropsWithChildren<TableRow>;
259
288
  }
260
289
  }
261
290
  }
@@ -269,6 +298,19 @@ declare global {
269
298
  export interface TableRowJSXProps extends Partial<TableRowProps>, Pick<TableRowProps$1, 'id'> {
270
299
  }
271
300
 
301
+ export interface TableRowPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableRowPreactBaseElementProps<TClass> {
302
+ children?: preact.ComponentChildren;
303
+ }
304
+
305
+ export interface TableRowPreactBaseElementProps<TClass extends HTMLElement> {
306
+ /** Assigns a unique key to this element. */
307
+ key?: preact.Key;
308
+ /** Assigns a ref (generally from `useRef()`) to this element. */
309
+ ref?: preact.Ref<TClass>;
310
+ /** Assigns this element to a parent's slot. */
311
+ slot?: Lowercase<string>;
312
+ }
313
+
272
314
  export interface TableRowClickOptions {
273
315
  /**
274
316
  * The event you want to influence the synthetic click.
@@ -290,14 +332,10 @@ declare const TableRowtagName = 's-table-row';
290
332
  declare const TableRowBaseClass: typeof globalThis.HTMLElement;
291
333
 
292
334
  declare module 'preact' {
293
- interface BaseProps {
294
- children?: preact.ComponentChildren;
295
- slot?: Lowercase<string>;
296
- }
297
-
298
335
  namespace createElement.JSX {
299
336
  interface IntrinsicElements {
300
- [TableHeaderRowtagName]: TableHeaderRowJSXProps & BaseProps;
337
+ [TableHeaderRowtagName]: TableHeaderRowJSXProps &
338
+ TableHeaderRowPreactBaseElementPropsWithChildren<TableHeaderRow>;
301
339
  }
302
340
  }
303
341
  }
@@ -311,6 +349,19 @@ declare global {
311
349
  export interface TableHeaderRowJSXProps extends Partial<TableHeaderRowProps>, Pick<TableHeaderRowProps$1, 'id'> {
312
350
  }
313
351
 
352
+ export interface TableHeaderRowPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableHeaderRowPreactBaseElementProps<TClass> {
353
+ children?: preact.ComponentChildren;
354
+ }
355
+
356
+ export interface TableHeaderRowPreactBaseElementProps<TClass extends HTMLElement> {
357
+ /** Assigns a unique key to this element. */
358
+ key?: preact.Key;
359
+ /** Assigns a ref (generally from `useRef()`) to this element. */
360
+ ref?: preact.Ref<TClass>;
361
+ /** Assigns this element to a parent's slot. */
362
+ slot?: Lowercase<string>;
363
+ }
364
+
314
365
  export interface TableHeaderRowClickOptions {
315
366
  /**
316
367
  * The event you want to influence the synthetic click.
@@ -332,14 +383,10 @@ declare const TableHeaderRowtagName = 's-table-header-row';
332
383
  declare const TableHeaderRowBaseClass: typeof globalThis.HTMLElement;
333
384
 
334
385
  declare module 'preact' {
335
- interface BaseProps {
336
- children?: preact.ComponentChildren;
337
- slot?: Lowercase<string>;
338
- }
339
-
340
386
  namespace createElement.JSX {
341
387
  interface IntrinsicElements {
342
- [TableHeadertagName]: TableHeaderJSXProps & BaseProps;
388
+ [TableHeadertagName]: TableHeaderJSXProps &
389
+ TableHeaderPreactBaseElementPropsWithChildren<TableHeader>;
343
390
  }
344
391
  }
345
392
  }
@@ -353,6 +400,19 @@ declare global {
353
400
  export interface TableHeaderJSXProps extends Partial<TableHeaderTableHeaderProps>, Pick<TableHeaderProps$1, 'id'> {
354
401
  }
355
402
 
403
+ export interface TableHeaderPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableHeaderPreactBaseElementProps<TClass> {
404
+ children?: preact.ComponentChildren;
405
+ }
406
+
407
+ export interface TableHeaderPreactBaseElementProps<TClass extends HTMLElement> {
408
+ /** Assigns a unique key to this element. */
409
+ key?: preact.Key;
410
+ /** Assigns a ref (generally from `useRef()`) to this element. */
411
+ ref?: preact.Ref<TClass>;
412
+ /** Assigns this element to a parent's slot. */
413
+ slot?: Lowercase<string>;
414
+ }
415
+
356
416
  export interface TableHeaderClickOptions {
357
417
  /**
358
418
  * The event you want to influence the synthetic click.
@@ -378,14 +438,10 @@ declare const TableHeadertagName = 's-table-header';
378
438
  declare const TableHeaderBaseClass: typeof globalThis.HTMLElement;
379
439
 
380
440
  declare module 'preact' {
381
- interface BaseProps {
382
- children?: preact.ComponentChildren;
383
- slot?: Lowercase<string>;
384
- }
385
-
386
441
  namespace createElement.JSX {
387
442
  interface IntrinsicElements {
388
- [TableCelltagName]: TableCellJSXProps & BaseProps;
443
+ [TableCelltagName]: TableCellJSXProps &
444
+ TableCellPreactBaseElementPropsWithChildren<TableCell>;
389
445
  }
390
446
  }
391
447
  }
@@ -399,6 +455,19 @@ declare global {
399
455
  export interface TableCellJSXProps extends Partial<TableCellProps>, Pick<TableCellProps$1, 'id'> {
400
456
  }
401
457
 
458
+ export interface TableCellPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableCellPreactBaseElementProps<TClass> {
459
+ children?: preact.ComponentChildren;
460
+ }
461
+
462
+ export interface TableCellPreactBaseElementProps<TClass extends HTMLElement> {
463
+ /** Assigns a unique key to this element. */
464
+ key?: preact.Key;
465
+ /** Assigns a ref (generally from `useRef()`) to this element. */
466
+ ref?: preact.Ref<TClass>;
467
+ /** Assigns this element to a parent's slot. */
468
+ slot?: Lowercase<string>;
469
+ }
470
+
402
471
  export interface TableCellClickOptions {
403
472
  /**
404
473
  * The event you want to influence the synthetic click.
@@ -420,14 +489,10 @@ declare const TableCelltagName = 's-table-cell';
420
489
  declare const TableCellBaseClass: typeof globalThis.HTMLElement;
421
490
 
422
491
  declare module 'preact' {
423
- interface BaseProps {
424
- children?: preact.ComponentChildren;
425
- slot?: Lowercase<string>;
426
- }
427
-
428
492
  namespace createElement.JSX {
429
493
  interface IntrinsicElements {
430
- [TableBodytagName]: TableBodyJSXProps & BaseProps;
494
+ [TableBodytagName]: TableBodyJSXProps &
495
+ TableBodyPreactBaseElementPropsWithChildren<TableBody>;
431
496
  }
432
497
  }
433
498
  }
@@ -441,6 +506,19 @@ declare global {
441
506
  export interface TableBodyJSXProps extends Partial<TableBodyProps>, Pick<TableBodyProps$1, 'id'> {
442
507
  }
443
508
 
509
+ export interface TableBodyPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableBodyPreactBaseElementProps<TClass> {
510
+ children?: preact.ComponentChildren;
511
+ }
512
+
513
+ export interface TableBodyPreactBaseElementProps<TClass extends HTMLElement> {
514
+ /** Assigns a unique key to this element. */
515
+ key?: preact.Key;
516
+ /** Assigns a ref (generally from `useRef()`) to this element. */
517
+ ref?: preact.Ref<TClass>;
518
+ /** Assigns this element to a parent's slot. */
519
+ slot?: Lowercase<string>;
520
+ }
521
+
444
522
  export interface TableBodyClickOptions {
445
523
  /**
446
524
  * The event you want to influence the synthetic click.
@@ -462,14 +540,10 @@ declare const TableBodytagName = 's-table-body';
462
540
  declare const TableBodyBaseClass: typeof globalThis.HTMLElement;
463
541
 
464
542
  declare module 'preact' {
465
- interface BaseProps {
466
- children?: preact.ComponentChildren;
467
- slot?: Lowercase<string>;
468
- }
469
-
470
543
  namespace createElement.JSX {
471
544
  interface IntrinsicElements {
472
- [TabletagName]: Omit<TableJSXProps, 'filters'> & BaseProps;
545
+ [TabletagName]: Omit<TableJSXProps, 'filters'> &
546
+ TablePreactBaseElementPropsWithChildren<Table>;
473
547
  }
474
548
  }
475
549
  }
@@ -487,6 +561,19 @@ export interface TableJSXProps extends Partial<TableProps>, Pick<TableProps$1, '
487
561
  filters?: ComponentChild;
488
562
  }
489
563
 
564
+ export interface TablePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TablePreactBaseElementProps<TClass> {
565
+ children?: preact.ComponentChildren;
566
+ }
567
+
568
+ export interface TablePreactBaseElementProps<TClass extends HTMLElement> {
569
+ /** Assigns a unique key to this element. */
570
+ key?: preact.Key;
571
+ /** Assigns a ref (generally from `useRef()`) to this element. */
572
+ ref?: preact.Ref<TClass>;
573
+ /** Assigns this element to a parent's slot. */
574
+ slot?: Lowercase<string>;
575
+ }
576
+
490
577
  export interface TableClickOptions {
491
578
  /**
492
579
  * The event you want to influence the synthetic click.
@@ -523,14 +610,9 @@ declare const actualTableVariantSymbol: unique symbol;
523
610
  declare const TableBaseClass: typeof globalThis.HTMLElement;
524
611
 
525
612
  declare module 'preact' {
526
- interface BaseProps {
527
- children?: preact.ComponentChildren;
528
- slot?: Lowercase<string>;
529
- }
530
-
531
613
  namespace createElement.JSX {
532
614
  interface IntrinsicElements {
533
- [StacktagName]: StackJSXProps & BaseProps;
615
+ [StacktagName]: StackJSXProps & StackPreactBaseElementPropsWithChildren<Stack>;
534
616
  }
535
617
  }
536
618
  }
@@ -544,6 +626,19 @@ declare global {
544
626
  export interface StackJSXProps extends Partial<StackProps>, Pick<StackProps$1, 'id'> {
545
627
  }
546
628
 
629
+ export interface StackPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends StackPreactBaseElementProps<TClass> {
630
+ children?: preact.ComponentChildren;
631
+ }
632
+
633
+ export interface StackPreactBaseElementProps<TClass extends HTMLElement> {
634
+ /** Assigns a unique key to this element. */
635
+ key?: preact.Key;
636
+ /** Assigns a ref (generally from `useRef()`) to this element. */
637
+ ref?: preact.Ref<TClass>;
638
+ /** Assigns this element to a parent's slot. */
639
+ slot?: Lowercase<string>;
640
+ }
641
+
547
642
  export interface StackClickOptions {
548
643
  /**
549
644
  * The event you want to influence the synthetic click.
@@ -619,7 +714,6 @@ export interface StackBoxProps extends Pick<
619
714
  | 'borderRadius'
620
715
  | 'borderStyle'
621
716
  | 'borderWidth'
622
- | 'display'
623
717
  | 'inlineSize'
624
718
  | 'maxBlockSize'
625
719
  | 'maxInlineSize'
@@ -742,6 +836,16 @@ export interface StackBoxProps extends Pick<
742
836
  * @default '' - meaning no override
743
837
  */
744
838
  paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
839
+ /**
840
+ * 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).
841
+ *
842
+ * - `auto` the component's initial value. The actual value depends on the component and context.
843
+ * - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
844
+ *
845
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
846
+ * @default 'auto'
847
+ */
848
+ display: ResponsiveBoxProps['display'];
745
849
  }
746
850
 
747
851
  declare const StacktagName = 's-stack';
@@ -750,7 +854,7 @@ declare const StackBaseClass: typeof globalThis.HTMLElement;
750
854
  declare module 'preact' {
751
855
  namespace createElement.JSX {
752
856
  interface IntrinsicElements {
753
- [SpinnertagName]: SpinnerJSXProps;
857
+ [SpinnertagName]: SpinnerJSXProps & SpinnerPreactBaseElementProps<Spinner>;
754
858
  }
755
859
  }
756
860
  }
@@ -764,6 +868,15 @@ declare global {
764
868
  export interface SpinnerJSXProps extends Partial<SpinnerProps>, Pick<SpinnerProps$1, 'id'> {
765
869
  }
766
870
 
871
+ export interface SpinnerPreactBaseElementProps<TClass extends HTMLElement> {
872
+ /** Assigns a unique key to this element. */
873
+ key?: preact.Key;
874
+ /** Assigns a ref (generally from `useRef()`) to this element. */
875
+ ref?: preact.Ref<TClass>;
876
+ /** Assigns this element to a parent's slot. */
877
+ slot?: Lowercase<string>;
878
+ }
879
+
767
880
  export interface SpinnerClickOptions {
768
881
  /**
769
882
  * The event you want to influence the synthetic click.
@@ -786,14 +899,9 @@ declare const SpinnertagName = 's-spinner';
786
899
  declare const SpinnerBaseClass: typeof globalThis.HTMLElement;
787
900
 
788
901
  declare module 'preact' {
789
- interface BaseProps {
790
- children?: preact.ComponentChildren;
791
- slot?: Lowercase<string>;
792
- }
793
-
794
902
  namespace createElement.JSX {
795
903
  interface IntrinsicElements {
796
- [SelecttagName]: SelectJSXProps & BaseProps;
904
+ [SelecttagName]: SelectJSXProps & SelectPreactBaseElementPropsWithChildren<Select>;
797
905
  }
798
906
  }
799
907
  }
@@ -828,6 +936,19 @@ export interface SelectProps extends Omit<PreactInputProps, 'value'>, Required<
828
936
  value: Required<SelectProps$1>['value'];
829
937
  }
830
938
 
939
+ export interface SelectPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends SelectPreactBaseElementProps<TClass> {
940
+ children?: preact.ComponentChildren;
941
+ }
942
+
943
+ export interface SelectPreactBaseElementProps<TClass extends HTMLElement> {
944
+ /** Assigns a unique key to this element. */
945
+ key?: preact.Key;
946
+ /** Assigns a ref (generally from `useRef()`) to this element. */
947
+ ref?: preact.Ref<TClass>;
948
+ /** Assigns this element to a parent's slot. */
949
+ slot?: Lowercase<string>;
950
+ }
951
+
831
952
  export interface SelectClickOptions {
832
953
  /**
833
954
  * The event you want to influence the synthetic click.
@@ -849,14 +970,9 @@ declare const Selectinternals: unique symbol;
849
970
  declare const SelectBaseClass: typeof globalThis.HTMLElement;
850
971
 
851
972
  declare module 'preact' {
852
- interface BaseProps {
853
- children?: preact.ComponentChildren;
854
- slot?: Lowercase<string>;
855
- }
856
-
857
973
  namespace createElement.JSX {
858
974
  interface IntrinsicElements {
859
- [SectiontagName]: SectionJSXProps & BaseProps;
975
+ [SectiontagName]: SectionJSXProps & SectionPreactBaseElementPropsWithChildren<Section>;
860
976
  }
861
977
  }
862
978
  }
@@ -870,6 +986,19 @@ declare global {
870
986
  export interface SectionJSXProps extends Partial<SectionProps>, Pick<SectionProps$1, 'id'> {
871
987
  }
872
988
 
989
+ export interface SectionPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends SectionPreactBaseElementProps<TClass> {
990
+ children?: preact.ComponentChildren;
991
+ }
992
+
993
+ export interface SectionPreactBaseElementProps<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
+
873
1002
  export interface SectionClickOptions {
874
1003
  /**
875
1004
  * The event you want to influence the synthetic click.
@@ -897,13 +1026,9 @@ declare const SectiontagName = 's-section';
897
1026
  declare const SectionBaseClass: typeof globalThis.HTMLElement;
898
1027
 
899
1028
  declare module 'preact' {
900
- interface BaseProps {
901
- slot?: Lowercase<string>;
902
- }
903
-
904
1029
  namespace createElement.JSX {
905
1030
  interface IntrinsicElements {
906
- [PasswordFieldtagName]: PasswordFieldJSXProps & BaseProps;
1031
+ [PasswordFieldtagName]: PasswordFieldJSXProps & PasswordFieldPreactBaseElementProps<PasswordField>;
907
1032
  }
908
1033
  }
909
1034
  }
@@ -917,6 +1042,15 @@ declare global {
917
1042
  export interface PasswordFieldJSXProps extends Partial<PasswordFieldProps>, Pick<PasswordFieldProps$1, 'id'>, PasswordFieldFieldReactProps<typeof PasswordFieldtagName> {
918
1043
  }
919
1044
 
1045
+ export interface PasswordFieldPreactBaseElementProps<TClass extends HTMLElement> {
1046
+ /** Assigns a unique key to this element. */
1047
+ key?: preact.Key;
1048
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1049
+ ref?: preact.Ref<TClass>;
1050
+ /** Assigns this element to a parent's slot. */
1051
+ slot?: Lowercase<string>;
1052
+ }
1053
+
920
1054
  export interface PasswordFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
921
1055
  onInput?: ((event: CallbackEvent<T>) => void) | null;
922
1056
  onChange?: ((event: CallbackEvent<T>) => void) | null;
@@ -943,14 +1077,10 @@ declare const PasswordFieldinternals: unique symbol;
943
1077
  declare const PasswordFieldBaseClass: typeof globalThis.HTMLElement;
944
1078
 
945
1079
  declare module 'preact' {
946
- interface BaseProps {
947
- children?: preact.ComponentChildren;
948
- slot?: Lowercase<string>;
949
- }
950
-
951
1080
  namespace createElement.JSX {
952
1081
  interface IntrinsicElements {
953
- [ParagraphtagName]: ParagraphJSXProps & BaseProps;
1082
+ [ParagraphtagName]: ParagraphJSXProps &
1083
+ ParagraphPreactBaseElementPropsWithChildren<Paragraph>;
954
1084
  }
955
1085
  }
956
1086
  }
@@ -964,6 +1094,19 @@ declare global {
964
1094
  export interface ParagraphJSXProps extends Partial<ParagraphProps>, Pick<ParagraphProps$1, 'id'> {
965
1095
  }
966
1096
 
1097
+ export interface ParagraphPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ParagraphPreactBaseElementProps<TClass> {
1098
+ children?: preact.ComponentChildren;
1099
+ }
1100
+
1101
+ export interface ParagraphPreactBaseElementProps<TClass extends HTMLElement> {
1102
+ /** Assigns a unique key to this element. */
1103
+ key?: preact.Key;
1104
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1105
+ ref?: preact.Ref<TClass>;
1106
+ /** Assigns this element to a parent's slot. */
1107
+ slot?: Lowercase<string>;
1108
+ }
1109
+
967
1110
  export interface ParagraphClickOptions {
968
1111
  /**
969
1112
  * The event you want to influence the synthetic click.
@@ -997,14 +1140,10 @@ declare const ParagraphtagName = 's-paragraph';
997
1140
  declare const ParagraphBaseClass: typeof globalThis.HTMLElement;
998
1141
 
999
1142
  declare module 'preact' {
1000
- interface BaseProps {
1001
- children?: preact.ComponentChildren;
1002
- slot?: Lowercase<string>;
1003
- }
1004
-
1005
1143
  namespace createElement.JSX {
1006
1144
  interface IntrinsicElements {
1007
- [OrderedListtagName]: OrderedListJSXProps & BaseProps;
1145
+ [OrderedListtagName]: OrderedListJSXProps &
1146
+ OrderedListPreactBaseElementPropsWithChildren<OrderedList>;
1008
1147
  }
1009
1148
  }
1010
1149
  }
@@ -1018,6 +1157,19 @@ declare global {
1018
1157
  export interface OrderedListJSXProps extends Partial<OrderedListProps>, Pick<OrderedListProps$1, 'id'> {
1019
1158
  }
1020
1159
 
1160
+ export interface OrderedListPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends OrderedListPreactBaseElementProps<TClass> {
1161
+ children?: preact.ComponentChildren;
1162
+ }
1163
+
1164
+ export interface OrderedListPreactBaseElementProps<TClass extends HTMLElement> {
1165
+ /** Assigns a unique key to this element. */
1166
+ key?: preact.Key;
1167
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1168
+ ref?: preact.Ref<TClass>;
1169
+ /** Assigns this element to a parent's slot. */
1170
+ slot?: Lowercase<string>;
1171
+ }
1172
+
1021
1173
  export interface OrderedListClickOptions {
1022
1174
  /**
1023
1175
  * The event you want to influence the synthetic click.
@@ -1039,13 +1191,10 @@ declare const OrderedListtagName = 's-ordered-list';
1039
1191
  declare const OrderedListBaseClass: typeof globalThis.HTMLElement;
1040
1192
 
1041
1193
  declare module 'preact' {
1042
- interface BaseProps {
1043
- children?: preact.ComponentChildren;
1044
- }
1045
-
1046
1194
  namespace createElement.JSX {
1047
1195
  interface IntrinsicElements {
1048
- [OptionGrouptagName]: OptionGroupJSXProps & BaseProps;
1196
+ [OptionGrouptagName]: OptionGroupJSXProps &
1197
+ OptionGroupPreactBaseElementPropsWithChildren<OptionGroup>;
1049
1198
  }
1050
1199
  }
1051
1200
  }
@@ -1059,6 +1208,19 @@ declare global {
1059
1208
  export interface OptionGroupJSXProps extends Partial<OptionGroupProps> {
1060
1209
  }
1061
1210
 
1211
+ export interface OptionGroupPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends OptionGroupPreactBaseElementProps<TClass> {
1212
+ children?: preact.ComponentChildren;
1213
+ }
1214
+
1215
+ export interface OptionGroupPreactBaseElementProps<TClass extends HTMLElement> {
1216
+ /** Assigns a unique key to this element. */
1217
+ key?: preact.Key;
1218
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1219
+ ref?: preact.Ref<TClass>;
1220
+ /** Assigns this element to a parent's slot. */
1221
+ slot?: Lowercase<string>;
1222
+ }
1223
+
1062
1224
  export interface OptionGroupClickOptions {
1063
1225
  /**
1064
1226
  * The event you want to influence the synthetic click.
@@ -1080,13 +1242,9 @@ declare const OptionGrouptagName = 's-option-group';
1080
1242
  declare const OptionGroupBaseClass: typeof globalThis.HTMLElement;
1081
1243
 
1082
1244
  declare module 'preact' {
1083
- interface BaseProps {
1084
- children?: preact.ComponentChildren;
1085
- }
1086
-
1087
1245
  namespace createElement.JSX {
1088
1246
  interface IntrinsicElements {
1089
- [OptiontagName]: OptionJSXProps & BaseProps;
1247
+ [OptiontagName]: OptionJSXProps & OptionPreactBaseElementPropsWithChildren<Option>;
1090
1248
  }
1091
1249
  }
1092
1250
  }
@@ -1100,6 +1258,19 @@ declare global {
1100
1258
  export interface OptionJSXProps extends Partial<OptionProps> {
1101
1259
  }
1102
1260
 
1261
+ export interface OptionPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends OptionPreactBaseElementProps<TClass> {
1262
+ children?: preact.ComponentChildren;
1263
+ }
1264
+
1265
+ export interface OptionPreactBaseElementProps<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
+
1103
1274
  export interface OptionClickOptions {
1104
1275
  /**
1105
1276
  * The event you want to influence the synthetic click.
@@ -1123,13 +1294,9 @@ declare const OptiontagName = 's-option';
1123
1294
  declare const OptionBaseClass: typeof globalThis.HTMLElement;
1124
1295
 
1125
1296
  declare module 'preact' {
1126
- interface BaseProps {
1127
- slot?: Lowercase<string>;
1128
- }
1129
-
1130
1297
  namespace createElement.JSX {
1131
1298
  interface IntrinsicElements {
1132
- [NumberFieldtagName]: NumberFieldJSXProps & BaseProps;
1299
+ [NumberFieldtagName]: NumberFieldJSXProps & NumberFieldPreactBaseElementProps<NumberField>;
1133
1300
  }
1134
1301
  }
1135
1302
  }
@@ -1155,6 +1322,15 @@ export interface NumberFieldProps extends Omit<
1155
1322
  value: Required<NumberFieldProps$1>['value'];
1156
1323
  }
1157
1324
 
1325
+ export interface NumberFieldPreactBaseElementProps<TClass extends HTMLElement> {
1326
+ /** Assigns a unique key to this element. */
1327
+ key?: preact.Key;
1328
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1329
+ ref?: preact.Ref<TClass>;
1330
+ /** Assigns this element to a parent's slot. */
1331
+ slot?: Lowercase<string>;
1332
+ }
1333
+
1158
1334
  export interface NumberFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
1159
1335
  onInput?: ((event: CallbackEvent<T>) => void) | null;
1160
1336
  onChange?: ((event: CallbackEvent<T>) => void) | null;
@@ -1181,14 +1357,9 @@ declare const NumberFieldinternals: unique symbol;
1181
1357
  declare const NumberFieldBaseClass: typeof globalThis.HTMLElement;
1182
1358
 
1183
1359
  declare module 'preact' {
1184
- interface BaseProps {
1185
- children?: preact.ComponentChildren;
1186
- slot?: Lowercase<string>;
1187
- }
1188
-
1189
1360
  namespace createElement.JSX {
1190
1361
  interface IntrinsicElements {
1191
- [MoneyFieldtagName]: MoneyFieldJSXProps & BaseProps;
1362
+ [MoneyFieldtagName]: MoneyFieldJSXProps & MoneyFieldPreactBaseElementProps<MoneyField>;
1192
1363
  }
1193
1364
  }
1194
1365
  }
@@ -1206,6 +1377,15 @@ export interface MoneyFieldProps extends Omit<PreactFieldProps, 'value'>, Pick<R
1206
1377
  value: Required<MoneyFieldProps$1>['value'];
1207
1378
  }
1208
1379
 
1380
+ export interface MoneyFieldPreactBaseElementProps<TClass extends HTMLElement> {
1381
+ /** Assigns a unique key to this element. */
1382
+ key?: preact.Key;
1383
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1384
+ ref?: preact.Ref<TClass>;
1385
+ /** Assigns this element to a parent's slot. */
1386
+ slot?: Lowercase<string>;
1387
+ }
1388
+
1209
1389
  export interface MoneyFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
1210
1390
  onInput?: ((event: CallbackEvent<T>) => void) | null;
1211
1391
  onChange?: ((event: CallbackEvent<T>) => void) | null;
@@ -1232,14 +1412,10 @@ declare const MoneyFieldinternals: unique symbol;
1232
1412
  declare const MoneyFieldBaseClass: typeof globalThis.HTMLElement;
1233
1413
 
1234
1414
  declare module 'preact' {
1235
- interface BaseProps {
1236
- children?: preact.ComponentChildren;
1237
- slot?: Lowercase<string>;
1238
- }
1239
-
1240
1415
  namespace createElement.JSX {
1241
1416
  interface IntrinsicElements {
1242
- [ListItemtagName]: ListItemJSXProps & BaseProps;
1417
+ [ListItemtagName]: ListItemJSXProps &
1418
+ ListItemPreactBaseElementPropsWithChildren<ListItem>;
1243
1419
  }
1244
1420
  }
1245
1421
  }
@@ -1253,6 +1429,19 @@ declare global {
1253
1429
  export interface ListItemJSXProps extends Partial<ListItemProps>, Pick<ListItemProps$1, 'id'> {
1254
1430
  }
1255
1431
 
1432
+ export interface ListItemPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ListItemPreactBaseElementProps<TClass> {
1433
+ children?: preact.ComponentChildren;
1434
+ }
1435
+
1436
+ export interface ListItemPreactBaseElementProps<TClass extends HTMLElement> {
1437
+ /** Assigns a unique key to this element. */
1438
+ key?: preact.Key;
1439
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1440
+ ref?: preact.Ref<TClass>;
1441
+ /** Assigns this element to a parent's slot. */
1442
+ slot?: Lowercase<string>;
1443
+ }
1444
+
1256
1445
  export interface ListItemClickOptions {
1257
1446
  /**
1258
1447
  * The event you want to influence the synthetic click.
@@ -1274,14 +1463,9 @@ declare const ListItemtagName = 's-list-item';
1274
1463
  declare const ListItemBaseClass: typeof globalThis.HTMLElement;
1275
1464
 
1276
1465
  declare module 'preact' {
1277
- interface BaseProps {
1278
- children?: preact.ComponentChildren;
1279
- slot?: Lowercase<string>;
1280
- }
1281
-
1282
1466
  namespace createElement.JSX {
1283
1467
  interface IntrinsicElements {
1284
- [LinktagName]: LinkJSXProps & BaseProps;
1468
+ [LinktagName]: LinkJSXProps & LinkPreactBaseElementPropsWithChildren<Link>;
1285
1469
  }
1286
1470
  }
1287
1471
  }
@@ -1331,6 +1515,19 @@ export interface LinkActivationEventEsque {
1331
1515
  button: number;
1332
1516
  }
1333
1517
 
1518
+ export interface LinkPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends LinkPreactBaseElementProps<TClass> {
1519
+ children?: preact.ComponentChildren;
1520
+ }
1521
+
1522
+ export interface LinkPreactBaseElementProps<TClass extends HTMLElement> {
1523
+ /** Assigns a unique key to this element. */
1524
+ key?: preact.Key;
1525
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1526
+ ref?: preact.Ref<TClass>;
1527
+ /** Assigns this element to a parent's slot. */
1528
+ slot?: Lowercase<string>;
1529
+ }
1530
+
1334
1531
  export interface LinkProps extends Pick<
1335
1532
  LinkProps$1,
1336
1533
  | 'accessibilityLabel'
@@ -1360,13 +1557,9 @@ declare const Link_base: (abstract new (
1360
1557
  declare const LinkBaseClass: typeof globalThis.HTMLElement;
1361
1558
 
1362
1559
  declare module 'preact' {
1363
- interface BaseProps {
1364
- slot?: Lowercase<string>;
1365
- }
1366
-
1367
1560
  namespace createElement.JSX {
1368
1561
  interface IntrinsicElements {
1369
- [ImagetagName]: ImageJSXProps & BaseProps;
1562
+ [ImagetagName]: ImageJSXProps & ImagePreactBaseElementProps<Image>;
1370
1563
  }
1371
1564
  }
1372
1565
  }
@@ -1396,6 +1589,15 @@ export interface ImageActivationEventEsque {
1396
1589
  button: number;
1397
1590
  }
1398
1591
 
1592
+ export interface ImagePreactBaseElementProps<TClass extends HTMLElement> {
1593
+ /** Assigns a unique key to this element. */
1594
+ key?: preact.Key;
1595
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1596
+ ref?: preact.Ref<TClass>;
1597
+ /** Assigns this element to a parent's slot. */
1598
+ slot?: Lowercase<string>;
1599
+ }
1600
+
1399
1601
  export interface ImageProps extends Required<
1400
1602
  Pick<
1401
1603
  ImageProps$1,
@@ -1438,7 +1640,6 @@ export interface ImageBoxProps extends Pick<
1438
1640
  | 'borderRadius'
1439
1641
  | 'borderStyle'
1440
1642
  | 'borderWidth'
1441
- | 'display'
1442
1643
  | 'inlineSize'
1443
1644
  | 'maxBlockSize'
1444
1645
  | 'maxInlineSize'
@@ -1561,19 +1762,25 @@ export interface ImageBoxProps extends Pick<
1561
1762
  * @default '' - meaning no override
1562
1763
  */
1563
1764
  paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
1765
+ /**
1766
+ * 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).
1767
+ *
1768
+ * - `auto` the component's initial value. The actual value depends on the component and context.
1769
+ * - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
1770
+ *
1771
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
1772
+ * @default 'auto'
1773
+ */
1774
+ display: ResponsiveBoxProps['display'];
1564
1775
  }
1565
1776
 
1566
1777
  declare const ImagetagName = 's-image';
1567
1778
  declare const ImageBaseClass: typeof globalThis.HTMLElement;
1568
1779
 
1569
1780
  declare module 'preact' {
1570
- interface BaseProps {
1571
- slot?: Lowercase<string>;
1572
- }
1573
-
1574
1781
  namespace createElement.JSX {
1575
1782
  interface IntrinsicElements {
1576
- [IcontagName]: IconJSXProps & BaseProps;
1783
+ [IcontagName]: IconJSXProps & IconPreactBaseElementProps<Icon>;
1577
1784
  }
1578
1785
  }
1579
1786
  }
@@ -1587,6 +1794,15 @@ declare global {
1587
1794
  export interface IconJSXProps extends Partial<IconIconProps>, Pick<IconProps$1, 'id'> {
1588
1795
  }
1589
1796
 
1797
+ export interface IconPreactBaseElementProps<TClass extends HTMLElement> {
1798
+ /** Assigns a unique key to this element. */
1799
+ key?: preact.Key;
1800
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1801
+ ref?: preact.Ref<TClass>;
1802
+ /** Assigns this element to a parent's slot. */
1803
+ slot?: Lowercase<string>;
1804
+ }
1805
+
1590
1806
  export interface IconClickOptions {
1591
1807
  /**
1592
1808
  * The event you want to influence the synthetic click.
@@ -1618,14 +1834,9 @@ declare const IcontagName = 's-icon';
1618
1834
  declare const IconBaseClass: typeof globalThis.HTMLElement;
1619
1835
 
1620
1836
  declare module 'preact' {
1621
- interface BaseProps {
1622
- children?: preact.ComponentChildren;
1623
- slot?: Lowercase<string>;
1624
- }
1625
-
1626
1837
  namespace createElement.JSX {
1627
1838
  interface IntrinsicElements {
1628
- [HeadingtagName]: HeadingJSXProps & BaseProps;
1839
+ [HeadingtagName]: HeadingJSXProps & HeadingPreactBaseElementPropsWithChildren<Heading>;
1629
1840
  }
1630
1841
  }
1631
1842
  }
@@ -1639,6 +1850,19 @@ declare global {
1639
1850
  export interface HeadingJSXProps extends Partial<HeadingProps>, Pick<HeadingProps$1, 'id'> {
1640
1851
  }
1641
1852
 
1853
+ export interface HeadingPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends HeadingPreactBaseElementProps<TClass> {
1854
+ children?: preact.ComponentChildren;
1855
+ }
1856
+
1857
+ export interface HeadingPreactBaseElementProps<TClass extends HTMLElement> {
1858
+ /** Assigns a unique key to this element. */
1859
+ key?: preact.Key;
1860
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1861
+ ref?: preact.Ref<TClass>;
1862
+ /** Assigns this element to a parent's slot. */
1863
+ slot?: Lowercase<string>;
1864
+ }
1865
+
1642
1866
  export interface HeadingClickOptions {
1643
1867
  /**
1644
1868
  * The event you want to influence the synthetic click.
@@ -1666,14 +1890,10 @@ declare const HeadingtagName = 's-heading';
1666
1890
  declare const HeadingBaseClass: typeof globalThis.HTMLElement;
1667
1891
 
1668
1892
  declare module 'preact' {
1669
- interface BaseProps {
1670
- children?: preact.ComponentChildren;
1671
- slot?: Lowercase<string>;
1672
- }
1673
-
1674
1893
  namespace createElement.JSX {
1675
1894
  interface IntrinsicElements {
1676
- [GridItemtagName]: GridItemJSXProps & BaseProps;
1895
+ [GridItemtagName]: GridItemJSXProps &
1896
+ GridItemPreactBaseElementPropsWithChildren<GridItem>;
1677
1897
  }
1678
1898
  }
1679
1899
  }
@@ -1687,6 +1907,19 @@ declare global {
1687
1907
  export interface GridItemJSXProps extends Partial<GridItemProps>, Pick<GridItemProps$1, 'id'> {
1688
1908
  }
1689
1909
 
1910
+ export interface GridItemPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends GridItemPreactBaseElementProps<TClass> {
1911
+ children?: preact.ComponentChildren;
1912
+ }
1913
+
1914
+ export interface GridItemPreactBaseElementProps<TClass extends HTMLElement> {
1915
+ /** Assigns a unique key to this element. */
1916
+ key?: preact.Key;
1917
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1918
+ ref?: preact.Ref<TClass>;
1919
+ /** Assigns this element to a parent's slot. */
1920
+ slot?: Lowercase<string>;
1921
+ }
1922
+
1690
1923
  export interface GridItemClickOptions {
1691
1924
  /**
1692
1925
  * The event you want to influence the synthetic click.
@@ -1718,7 +1951,6 @@ export interface GridItemBoxProps extends Pick<
1718
1951
  | 'borderRadius'
1719
1952
  | 'borderStyle'
1720
1953
  | 'borderWidth'
1721
- | 'display'
1722
1954
  | 'inlineSize'
1723
1955
  | 'maxBlockSize'
1724
1956
  | 'maxInlineSize'
@@ -1841,20 +2073,25 @@ export interface GridItemBoxProps extends Pick<
1841
2073
  * @default '' - meaning no override
1842
2074
  */
1843
2075
  paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
2076
+ /**
2077
+ * 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).
2078
+ *
2079
+ * - `auto` the component's initial value. The actual value depends on the component and context.
2080
+ * - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
2081
+ *
2082
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
2083
+ * @default 'auto'
2084
+ */
2085
+ display: ResponsiveBoxProps['display'];
1844
2086
  }
1845
2087
 
1846
2088
  declare const GridItemtagName = 's-grid-item';
1847
2089
  declare const GridItemBaseClass: typeof globalThis.HTMLElement;
1848
2090
 
1849
2091
  declare module 'preact' {
1850
- interface BaseProps {
1851
- children?: preact.ComponentChildren;
1852
- slot?: Lowercase<string>;
1853
- }
1854
-
1855
2092
  namespace createElement.JSX {
1856
2093
  interface IntrinsicElements {
1857
- [GridtagName]: GridJSXProps & BaseProps;
2094
+ [GridtagName]: GridJSXProps & GridPreactBaseElementPropsWithChildren<Grid>;
1858
2095
  }
1859
2096
  }
1860
2097
  }
@@ -1882,6 +2119,19 @@ export interface GridActivationEventEsque {
1882
2119
  button: number;
1883
2120
  }
1884
2121
 
2122
+ export interface GridPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends GridPreactBaseElementProps<TClass> {
2123
+ children?: preact.ComponentChildren;
2124
+ }
2125
+
2126
+ export interface GridPreactBaseElementProps<TClass extends HTMLElement> {
2127
+ /** Assigns a unique key to this element. */
2128
+ key?: preact.Key;
2129
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2130
+ ref?: preact.Ref<TClass>;
2131
+ /** Assigns this element to a parent's slot. */
2132
+ slot?: Lowercase<string>;
2133
+ }
2134
+
1885
2135
  export interface GridProps extends GridBoxProps, Required<
1886
2136
  Pick<
1887
2137
  GridProps$1,
@@ -1942,7 +2192,6 @@ export interface GridBoxProps extends Pick<
1942
2192
  | 'borderRadius'
1943
2193
  | 'borderStyle'
1944
2194
  | 'borderWidth'
1945
- | 'display'
1946
2195
  | 'inlineSize'
1947
2196
  | 'maxBlockSize'
1948
2197
  | 'maxInlineSize'
@@ -2065,19 +2314,25 @@ export interface GridBoxProps extends Pick<
2065
2314
  * @default '' - meaning no override
2066
2315
  */
2067
2316
  paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
2317
+ /**
2318
+ * 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).
2319
+ *
2320
+ * - `auto` the component's initial value. The actual value depends on the component and context.
2321
+ * - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
2322
+ *
2323
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
2324
+ * @default 'auto'
2325
+ */
2326
+ display: ResponsiveBoxProps['display'];
2068
2327
  }
2069
2328
 
2070
2329
  declare const GridtagName = 's-grid';
2071
2330
  declare const GridBaseClass: typeof globalThis.HTMLElement;
2072
2331
 
2073
2332
  declare module 'preact' {
2074
- interface BaseProps {
2075
- slot?: Lowercase<string>;
2076
- }
2077
-
2078
2333
  namespace createElement.JSX {
2079
2334
  interface IntrinsicElements {
2080
- [EmailFieldtagName]: EmailFieldJSXProps & BaseProps;
2335
+ [EmailFieldtagName]: EmailFieldJSXProps & EmailFieldPreactBaseElementProps<EmailField>;
2081
2336
  }
2082
2337
  }
2083
2338
  }
@@ -2091,6 +2346,15 @@ declare global {
2091
2346
  export interface EmailFieldJSXProps extends Partial<Omit<EmailFieldProps, 'accessory'>>, Pick<EmailFieldProps$1, 'id'>, FieldReactProps<typeof EmailFieldtagName> {
2092
2347
  }
2093
2348
 
2349
+ export interface EmailFieldPreactBaseElementProps<TClass extends HTMLElement> {
2350
+ /** Assigns a unique key to this element. */
2351
+ key?: preact.Key;
2352
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2353
+ ref?: preact.Ref<TClass>;
2354
+ /** Assigns this element to a parent's slot. */
2355
+ slot?: Lowercase<string>;
2356
+ }
2357
+
2094
2358
  export interface FieldReactProps<T extends keyof HTMLElementTagNameMap> {
2095
2359
  onInput?: ((event: CallbackEvent<T>) => void) | null;
2096
2360
  onChange?: ((event: CallbackEvent<T>) => void) | null;
@@ -2117,13 +2381,9 @@ declare const EmailFieldinternals: unique symbol;
2117
2381
  declare const EmailFieldBaseClass: typeof globalThis.HTMLElement;
2118
2382
 
2119
2383
  declare module 'preact' {
2120
- interface BaseProps {
2121
- slot?: Lowercase<string>;
2122
- }
2123
-
2124
2384
  namespace createElement.JSX {
2125
2385
  interface IntrinsicElements {
2126
- [DividertagName]: DividerJSXProps & BaseProps;
2386
+ [DividertagName]: DividerJSXProps & DividerPreactBaseElementProps<Divider>;
2127
2387
  }
2128
2388
  }
2129
2389
  }
@@ -2137,6 +2397,15 @@ declare global {
2137
2397
  export interface DividerJSXProps extends Partial<DividerProps>, Pick<DividerProps$1, 'id'> {
2138
2398
  }
2139
2399
 
2400
+ export interface DividerPreactBaseElementProps<TClass extends HTMLElement> {
2401
+ /** Assigns a unique key to this element. */
2402
+ key?: preact.Key;
2403
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2404
+ ref?: preact.Ref<TClass>;
2405
+ /** Assigns this element to a parent's slot. */
2406
+ slot?: Lowercase<string>;
2407
+ }
2408
+
2140
2409
  export interface DividerClickOptions {
2141
2410
  /**
2142
2411
  * The event you want to influence the synthetic click.
@@ -2160,13 +2429,9 @@ declare const DividertagName = 's-divider';
2160
2429
  declare const DividerBaseClass: typeof globalThis.HTMLElement;
2161
2430
 
2162
2431
  declare module 'preact' {
2163
- interface BaseProps {
2164
- slot?: Lowercase<string>;
2165
- }
2166
-
2167
2432
  namespace createElement.JSX {
2168
2433
  interface IntrinsicElements {
2169
- [DatePickertagName]: DatePickerJSXProps & BaseProps;
2434
+ [DatePickertagName]: DatePickerJSXProps & DatePickerPreactBaseElementProps<DatePicker>;
2170
2435
  }
2171
2436
  }
2172
2437
  }
@@ -2206,6 +2471,15 @@ export interface DatePickerActivationEventEsque {
2206
2471
  button: number;
2207
2472
  }
2208
2473
 
2474
+ export interface DatePickerPreactBaseElementProps<TClass extends HTMLElement> {
2475
+ /** Assigns a unique key to this element. */
2476
+ key?: preact.Key;
2477
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2478
+ ref?: preact.Ref<TClass>;
2479
+ /** Assigns this element to a parent's slot. */
2480
+ slot?: Lowercase<string>;
2481
+ }
2482
+
2209
2483
  export interface DatePickerProps extends Required<
2210
2484
  Pick<
2211
2485
  DatePickerProps$1,
@@ -2229,14 +2503,10 @@ declare const DatePickerinternals: unique symbol;
2229
2503
  declare const DatePickerBaseClass$1: typeof globalThis.HTMLElement;
2230
2504
 
2231
2505
  declare module 'preact' {
2232
- interface BaseProps {
2233
- children?: preact.ComponentChildren;
2234
- slot?: Lowercase<string>;
2235
- }
2236
-
2237
2506
  namespace createElement.JSX {
2238
2507
  interface IntrinsicElements {
2239
- [ClickabletagName]: ClickableJSXProps & BaseProps;
2508
+ [ClickabletagName]: ClickableJSXProps &
2509
+ ClickablePreactBaseElementPropsWithChildren<Clickable>;
2240
2510
  }
2241
2511
  }
2242
2512
  }
@@ -2288,6 +2558,19 @@ export interface ClickableActivationEventEsque {
2288
2558
  button: number;
2289
2559
  }
2290
2560
 
2561
+ export interface ClickablePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ClickablePreactBaseElementProps<TClass> {
2562
+ children?: preact.ComponentChildren;
2563
+ }
2564
+
2565
+ export interface ClickablePreactBaseElementProps<TClass extends HTMLElement> {
2566
+ /** Assigns a unique key to this element. */
2567
+ key?: preact.Key;
2568
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2569
+ ref?: preact.Ref<TClass>;
2570
+ /** Assigns this element to a parent's slot. */
2571
+ slot?: Lowercase<string>;
2572
+ }
2573
+
2291
2574
  export interface ClickableProps extends Required<ClickableBoxProps>, ClickableBaseProps {
2292
2575
  }
2293
2576
 
@@ -2303,7 +2586,6 @@ export interface ClickableBoxProps extends Pick<
2303
2586
  | 'borderRadius'
2304
2587
  | 'borderStyle'
2305
2588
  | 'borderWidth'
2306
- | 'display'
2307
2589
  | 'inlineSize'
2308
2590
  | 'maxBlockSize'
2309
2591
  | 'maxInlineSize'
@@ -2426,6 +2708,16 @@ export interface ClickableBoxProps extends Pick<
2426
2708
  * @default '' - meaning no override
2427
2709
  */
2428
2710
  paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
2711
+ /**
2712
+ * 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).
2713
+ *
2714
+ * - `auto` the component's initial value. The actual value depends on the component and context.
2715
+ * - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
2716
+ *
2717
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
2718
+ * @default 'auto'
2719
+ */
2720
+ display: ResponsiveBoxProps['display'];
2429
2721
  }
2430
2722
 
2431
2723
  declare const ClickabletagName = 's-clickable';
@@ -2436,14 +2728,10 @@ declare const Clickable_base: (abstract new (
2436
2728
  declare const ClickableBaseClass: typeof globalThis.HTMLElement;
2437
2729
 
2438
2730
  declare module 'preact' {
2439
- interface BaseProps {
2440
- children?: preact.ComponentChildren;
2441
- slot?: Lowercase<string>;
2442
- }
2443
-
2444
2731
  namespace createElement.JSX {
2445
2732
  interface IntrinsicElements {
2446
- [ChoiceListtagName]: ChoiceListJSXProps & BaseProps;
2733
+ [ChoiceListtagName]: ChoiceListJSXProps &
2734
+ ChoiceListPreactBaseElementPropsWithChildren<ChoiceList>;
2447
2735
  }
2448
2736
  }
2449
2737
  }
@@ -2473,6 +2761,19 @@ export interface ChoiceListActivationEventEsque {
2473
2761
  button: number;
2474
2762
  }
2475
2763
 
2764
+ export interface ChoiceListPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ChoiceListPreactBaseElementProps<TClass> {
2765
+ children?: preact.ComponentChildren;
2766
+ }
2767
+
2768
+ export interface ChoiceListPreactBaseElementProps<TClass extends HTMLElement> {
2769
+ /** Assigns a unique key to this element. */
2770
+ key?: preact.Key;
2771
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2772
+ ref?: preact.Ref<TClass>;
2773
+ /** Assigns this element to a parent's slot. */
2774
+ slot?: Lowercase<string>;
2775
+ }
2776
+
2476
2777
  export interface ChoiceListProps extends Required<
2477
2778
  Pick<
2478
2779
  ChoiceListProps$1,
@@ -2500,7 +2801,7 @@ declare const BaseClass$1: typeof globalThis.HTMLElement;
2500
2801
  declare module 'preact' {
2501
2802
  namespace createElement.JSX {
2502
2803
  interface IntrinsicElements {
2503
- [ChoicetagName]: ChoiceJSXProps;
2804
+ [ChoicetagName]: ChoiceJSXProps & ChoicePreactBaseElementPropsWithChildren<Choice>;
2504
2805
  }
2505
2806
  }
2506
2807
  }
@@ -2514,6 +2815,19 @@ declare global {
2514
2815
  export interface ChoiceJSXProps extends Partial<ChoiceProps>, Pick<ChoiceProps$1, 'id'> {
2515
2816
  }
2516
2817
 
2818
+ export interface ChoicePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ChoicePreactBaseElementProps<TClass> {
2819
+ children?: preact.ComponentChildren;
2820
+ }
2821
+
2822
+ export interface ChoicePreactBaseElementProps<TClass extends HTMLElement> {
2823
+ /** Assigns a unique key to this element. */
2824
+ key?: preact.Key;
2825
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2826
+ ref?: preact.Ref<TClass>;
2827
+ /** Assigns this element to a parent's slot. */
2828
+ slot?: Lowercase<string>;
2829
+ }
2830
+
2517
2831
  export interface ChoiceClickOptions {
2518
2832
  /**
2519
2833
  * The event you want to influence the synthetic click.
@@ -2548,7 +2862,8 @@ declare const ChoiceBaseClass: typeof globalThis.HTMLElement;
2548
2862
  declare module 'preact' {
2549
2863
  namespace createElement.JSX {
2550
2864
  interface IntrinsicElements {
2551
- [CheckboxtagName]: CheckboxJSXProps;
2865
+ [CheckboxtagName]: CheckboxJSXProps &
2866
+ CheckboxPreactBaseElementPropsWithChildren<Checkbox>;
2552
2867
  }
2553
2868
  }
2554
2869
  }
@@ -2586,6 +2901,19 @@ export interface PreactCheckboxProps extends Required<
2586
2901
  value: Required<CheckboxProps$1>['value'];
2587
2902
  }
2588
2903
 
2904
+ export interface CheckboxPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends CheckboxPreactBaseElementProps<TClass> {
2905
+ children?: preact.ComponentChildren;
2906
+ }
2907
+
2908
+ export interface CheckboxPreactBaseElementProps<TClass extends HTMLElement> {
2909
+ /** Assigns a unique key to this element. */
2910
+ key?: preact.Key;
2911
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2912
+ ref?: preact.Ref<TClass>;
2913
+ /** Assigns this element to a parent's slot. */
2914
+ slot?: Lowercase<string>;
2915
+ }
2916
+
2589
2917
  export interface CheckboxClickOptions {
2590
2918
  /**
2591
2919
  * The event you want to influence the synthetic click.
@@ -2605,14 +2933,9 @@ declare const internals: unique symbol;
2605
2933
  declare const CheckboxBaseClass: typeof globalThis.HTMLElement;
2606
2934
 
2607
2935
  declare module 'preact' {
2608
- interface BaseProps {
2609
- children?: preact.ComponentChildren;
2610
- slot?: Lowercase<string>;
2611
- }
2612
-
2613
2936
  namespace createElement.JSX {
2614
2937
  interface IntrinsicElements {
2615
- [ButtontagName]: ButtonJSXProps & BaseProps;
2938
+ [ButtontagName]: ButtonJSXProps & ButtonPreactBaseElementPropsWithChildren<Button>;
2616
2939
  }
2617
2940
  }
2618
2941
  }
@@ -2664,6 +2987,19 @@ export interface ButtonActivationEventEsque {
2664
2987
  button: number;
2665
2988
  }
2666
2989
 
2990
+ export interface ButtonPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ButtonPreactBaseElementProps<TClass> {
2991
+ children?: preact.ComponentChildren;
2992
+ }
2993
+
2994
+ export interface ButtonPreactBaseElementProps<TClass extends HTMLElement> {
2995
+ /** Assigns a unique key to this element. */
2996
+ key?: preact.Key;
2997
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2998
+ ref?: preact.Ref<TClass>;
2999
+ /** Assigns this element to a parent's slot. */
3000
+ slot?: Lowercase<string>;
3001
+ }
3002
+
2667
3003
  export interface ButtonProps extends ButtonBaseProps {
2668
3004
  tone: Extract<ButtonProps$1['tone'], 'neutral' | 'critical' | 'auto'>;
2669
3005
  icon: ButtonIconProps['type'];
@@ -2690,14 +3026,9 @@ declare const Button_base: (abstract new (
2690
3026
  declare const ButtonBaseClass: typeof globalThis.HTMLElement;
2691
3027
 
2692
3028
  declare module 'preact' {
2693
- interface BaseProps {
2694
- children?: preact.ComponentChildren;
2695
- slot?: Lowercase<string>;
2696
- }
2697
-
2698
3029
  namespace createElement.JSX {
2699
3030
  interface IntrinsicElements {
2700
- [BoxtagName]: BoxJSXProps & BaseProps;
3031
+ [BoxtagName]: BoxJSXProps & BoxPreactBaseElementPropsWithChildren<Box>;
2701
3032
  }
2702
3033
  }
2703
3034
  }
@@ -2711,6 +3042,19 @@ declare global {
2711
3042
  export interface BoxJSXProps extends Partial<BoxProps>, Pick<BoxProps$1, 'id'> {
2712
3043
  }
2713
3044
 
3045
+ export interface BoxPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends BoxPreactBaseElementProps<TClass> {
3046
+ children?: preact.ComponentChildren;
3047
+ }
3048
+
3049
+ export interface BoxPreactBaseElementProps<TClass extends HTMLElement> {
3050
+ /** Assigns a unique key to this element. */
3051
+ key?: preact.Key;
3052
+ /** Assigns a ref (generally from `useRef()`) to this element. */
3053
+ ref?: preact.Ref<TClass>;
3054
+ /** Assigns this element to a parent's slot. */
3055
+ slot?: Lowercase<string>;
3056
+ }
3057
+
2714
3058
  export interface BoxClickOptions {
2715
3059
  /**
2716
3060
  * The event you want to influence the synthetic click.
@@ -2737,7 +3081,6 @@ export interface BoxProps extends Pick<
2737
3081
  | 'borderRadius'
2738
3082
  | 'borderStyle'
2739
3083
  | 'borderWidth'
2740
- | 'display'
2741
3084
  | 'inlineSize'
2742
3085
  | 'maxBlockSize'
2743
3086
  | 'maxInlineSize'
@@ -2860,20 +3203,26 @@ export interface BoxProps extends Pick<
2860
3203
  * @default '' - meaning no override
2861
3204
  */
2862
3205
  paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
3206
+ /**
3207
+ * 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).
3208
+ *
3209
+ * - `auto` the component's initial value. The actual value depends on the component and context.
3210
+ * - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
3211
+ *
3212
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
3213
+ * @default 'auto'
3214
+ */
3215
+ display: ResponsiveBoxProps['display'];
2863
3216
  }
2864
3217
 
2865
3218
  declare const BoxtagName = 's-box';
2866
3219
  declare const BoxBaseClass: typeof globalThis.HTMLElement;
2867
3220
 
2868
3221
  declare module 'preact' {
2869
- interface BaseProps {
2870
- children?: preact.ComponentChildren;
2871
- slot?: Lowercase<string>;
2872
- }
2873
-
2874
3222
  namespace createElement.JSX {
2875
3223
  interface IntrinsicElements {
2876
- [BannertagName]: Omit<BannerJSXProps, 'secondaryActions'> & BaseProps;
3224
+ [BannertagName]: Omit<BannerJSXProps, 'secondaryActions'> &
3225
+ BannerPreactBaseElementPropsWithChildren<Banner>;
2877
3226
  }
2878
3227
  }
2879
3228
  }
@@ -2909,6 +3258,19 @@ export interface BannerActivationEventEsque {
2909
3258
  button: number;
2910
3259
  }
2911
3260
 
3261
+ export interface BannerPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends BannerPreactBaseElementProps<TClass> {
3262
+ children?: preact.ComponentChildren;
3263
+ }
3264
+
3265
+ export interface BannerPreactBaseElementProps<TClass extends HTMLElement> {
3266
+ /** Assigns a unique key to this element. */
3267
+ key?: preact.Key;
3268
+ /** Assigns a ref (generally from `useRef()`) to this element. */
3269
+ ref?: preact.Ref<TClass>;
3270
+ /** Assigns this element to a parent's slot. */
3271
+ slot?: Lowercase<string>;
3272
+ }
3273
+
2912
3274
  export interface BannerProps extends Pick<
2913
3275
  RequiredBannerProps,
2914
3276
  'heading' | 'dismissible' | 'hidden' | 'tone'
@@ -2923,14 +3285,9 @@ declare const BannertagName = 's-banner';
2923
3285
  declare const BannerBaseClass: typeof globalThis.HTMLElement;
2924
3286
 
2925
3287
  declare module 'preact' {
2926
- interface BaseProps {
2927
- children?: preact.ComponentChildren;
2928
- slot?: Lowercase<string>;
2929
- }
2930
-
2931
3288
  namespace createElement.JSX {
2932
3289
  interface IntrinsicElements {
2933
- [tagName]: BadgeJSXProps & BaseProps;
3290
+ [tagName]: BadgeJSXProps & PreactBaseElementPropsWithChildren<Badge>;
2934
3291
  }
2935
3292
  }
2936
3293
  }
@@ -2944,6 +3301,19 @@ declare global {
2944
3301
  export interface BadgeJSXProps extends Partial<BadgeProps>, Pick<BadgeProps$1, 'id'> {
2945
3302
  }
2946
3303
 
3304
+ export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends PreactBaseElementProps<TClass> {
3305
+ children?: preact.ComponentChildren;
3306
+ }
3307
+
3308
+ export interface PreactBaseElementProps<TClass extends HTMLElement> {
3309
+ /** Assigns a unique key to this element. */
3310
+ key?: preact.Key;
3311
+ /** Assigns a ref (generally from `useRef()`) to this element. */
3312
+ ref?: preact.Ref<TClass>;
3313
+ /** Assigns this element to a parent's slot. */
3314
+ slot?: Lowercase<string>;
3315
+ }
3316
+
2947
3317
  export interface ClickOptions {
2948
3318
  /**
2949
3319
  * The event you want to influence the synthetic click.