@shopify/ui-extensions 2025.10.0-rc.7 → 2025.10.0-rc.9

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 (187) hide show
  1. package/build/ts/surfaces/admin/components/AdminAction.d.ts +1 -1
  2. package/build/ts/surfaces/admin/components/AdminBlock.d.ts +1 -1
  3. package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
  4. package/build/ts/surfaces/admin/components/Avatar.d.ts +139 -0
  5. package/build/ts/surfaces/admin/components/Badge.d.ts +1 -1
  6. package/build/ts/surfaces/admin/components/Banner.d.ts +1 -1
  7. package/build/ts/surfaces/admin/components/Box.d.ts +1 -1
  8. package/build/ts/surfaces/admin/components/Button.d.ts +1 -1
  9. package/build/ts/surfaces/admin/components/Checkbox.d.ts +1 -1
  10. package/build/ts/surfaces/admin/components/Choice.d.ts +1 -1
  11. package/build/ts/surfaces/admin/components/ChoiceList.d.ts +1 -1
  12. package/build/ts/surfaces/admin/components/Clickable.d.ts +1 -1
  13. package/build/ts/surfaces/admin/components/DatePicker.d.ts +1 -1
  14. package/build/ts/surfaces/admin/components/Divider.d.ts +1 -1
  15. package/build/ts/surfaces/admin/components/EmailField.d.ts +1 -1
  16. package/build/ts/surfaces/admin/components/Form.d.ts +1 -1
  17. package/build/ts/surfaces/admin/components/Grid.d.ts +1 -1
  18. package/build/ts/surfaces/admin/components/GridItem.d.ts +1 -1
  19. package/build/ts/surfaces/admin/components/Heading.d.ts +1 -1
  20. package/build/ts/surfaces/admin/components/Icon.d.ts +1 -1
  21. package/build/ts/surfaces/admin/components/Image.d.ts +1 -1
  22. package/build/ts/surfaces/admin/components/Link.d.ts +1 -1
  23. package/build/ts/surfaces/admin/components/ListItem.d.ts +1 -1
  24. package/build/ts/surfaces/admin/components/MoneyField.d.ts +1 -1
  25. package/build/ts/surfaces/admin/components/NumberField.d.ts +1 -1
  26. package/build/ts/surfaces/admin/components/Option.d.ts +1 -1
  27. package/build/ts/surfaces/admin/components/OptionGroup.d.ts +1 -1
  28. package/build/ts/surfaces/admin/components/OrderedList.d.ts +1 -1
  29. package/build/ts/surfaces/admin/components/Page.d.ts +1 -1
  30. package/build/ts/surfaces/admin/components/Paragraph.d.ts +1 -1
  31. package/build/ts/surfaces/admin/components/PasswordField.d.ts +1 -1
  32. package/build/ts/surfaces/admin/components/QueryContainer.d.ts +1 -1
  33. package/build/ts/surfaces/admin/components/SearchField.d.ts +1 -1
  34. package/build/ts/surfaces/admin/components/Section.d.ts +1 -1
  35. package/build/ts/surfaces/admin/components/Select.d.ts +1 -1
  36. package/build/ts/surfaces/admin/components/Spinner.d.ts +1 -1
  37. package/build/ts/surfaces/admin/components/Stack.d.ts +1 -1
  38. package/build/ts/surfaces/admin/components/StandardComponents.d.ts +1 -1
  39. package/build/ts/surfaces/admin/components/StandardComponents.d.ts.map +1 -1
  40. package/build/ts/surfaces/admin/components/Switch.d.ts +1 -1
  41. package/build/ts/surfaces/admin/components/Table.d.ts +1 -1
  42. package/build/ts/surfaces/admin/components/TableBody.d.ts +1 -1
  43. package/build/ts/surfaces/admin/components/TableCell.d.ts +1 -1
  44. package/build/ts/surfaces/admin/components/TableHeader.d.ts +1 -1
  45. package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +1 -1
  46. package/build/ts/surfaces/admin/components/TableRow.d.ts +1 -1
  47. package/build/ts/surfaces/admin/components/Text.d.ts +1 -1
  48. package/build/ts/surfaces/admin/components/TextArea.d.ts +1 -1
  49. package/build/ts/surfaces/admin/components/TextField.d.ts +1 -1
  50. package/build/ts/surfaces/admin/components/Thumbnail.d.ts +133 -0
  51. package/build/ts/surfaces/admin/components/URLField.d.ts +1 -1
  52. package/build/ts/surfaces/admin/components/UnorderedList.d.ts +1 -1
  53. package/build/ts/surfaces/admin/components/shared.d.ts +219 -160
  54. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.render.d.ts +121 -11
  55. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.block.render.d.ts +121 -11
  56. package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +121 -11
  57. package/build/ts/surfaces/admin/targets/admin.catalog-details.block.render.d.ts +121 -11
  58. package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +121 -11
  59. package/build/ts/surfaces/admin/targets/admin.collection-details.block.render.d.ts +121 -11
  60. package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +121 -11
  61. package/build/ts/surfaces/admin/targets/admin.company-details.action.render.d.ts +121 -11
  62. package/build/ts/surfaces/admin/targets/admin.company-details.block.render.d.ts +121 -11
  63. package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +121 -11
  64. package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +121 -11
  65. package/build/ts/surfaces/admin/targets/admin.customer-details.block.render.d.ts +121 -11
  66. package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +121 -11
  67. package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.render.d.ts +121 -11
  68. package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.render.d.ts +121 -11
  69. package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.render.d.ts +121 -11
  70. package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +121 -11
  71. package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +121 -11
  72. package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +121 -11
  73. package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.render.d.ts +121 -11
  74. package/build/ts/surfaces/admin/targets/admin.draft-order-details.block.render.d.ts +121 -11
  75. package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +121 -11
  76. package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.render.d.ts +121 -11
  77. package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.render.d.ts +121 -11
  78. package/build/ts/surfaces/admin/targets/admin.gift-card-details.block.render.d.ts +121 -11
  79. package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +121 -11
  80. package/build/ts/surfaces/admin/targets/admin.order-details.block.render.d.ts +121 -11
  81. package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +121 -11
  82. package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.render.d.ts +121 -11
  83. package/build/ts/surfaces/admin/targets/admin.order-index.action.render.d.ts +121 -11
  84. package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.render.d.ts +121 -11
  85. package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.render.d.ts +121 -11
  86. package/build/ts/surfaces/admin/targets/admin.product-details.action.render.d.ts +121 -11
  87. package/build/ts/surfaces/admin/targets/admin.product-details.block.render.d.ts +121 -11
  88. package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +121 -11
  89. package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +121 -11
  90. package/build/ts/surfaces/admin/targets/admin.product-details.reorder.render.d.ts +121 -11
  91. package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +121 -11
  92. package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.render.d.ts +121 -11
  93. package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.render.d.ts +121 -11
  94. package/build/ts/surfaces/admin/targets/admin.product-purchase-option.action.render.d.ts +121 -11
  95. package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +121 -11
  96. package/build/ts/surfaces/admin/targets/admin.product-variant-details.block.render.d.ts +121 -11
  97. package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +121 -11
  98. package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +121 -11
  99. package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +121 -11
  100. package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +121 -11
  101. package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +121 -11
  102. package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts +4 -0
  103. package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts.map +1 -0
  104. package/build/ts/surfaces/customer-account/components/Avatar.d.ts +66 -0
  105. package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts +1 -1
  106. package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts.map +1 -1
  107. package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +61 -0
  108. package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +61 -0
  109. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +61 -0
  110. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +61 -0
  111. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +61 -0
  112. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +61 -0
  113. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +61 -0
  114. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +61 -0
  115. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +61 -0
  116. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +61 -0
  117. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +61 -0
  118. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +61 -0
  119. package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +61 -0
  120. package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +61 -0
  121. package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +61 -0
  122. package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +61 -0
  123. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +61 -0
  124. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +61 -0
  125. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +61 -0
  126. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +61 -0
  127. package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +61 -0
  128. package/build/tsconfig.tsbuildinfo +1 -1
  129. package/package.json +1 -1
  130. package/src/surfaces/admin/components/AdminAction.d.ts +1 -1
  131. package/src/surfaces/admin/components/AdminBlock.d.ts +1 -1
  132. package/src/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
  133. package/src/surfaces/admin/components/Avatar.d.ts +139 -0
  134. package/src/surfaces/admin/components/Badge.d.ts +1 -1
  135. package/src/surfaces/admin/components/Banner.d.ts +1 -1
  136. package/src/surfaces/admin/components/Box.d.ts +1 -1
  137. package/src/surfaces/admin/components/Button.d.ts +1 -1
  138. package/src/surfaces/admin/components/Checkbox.d.ts +1 -1
  139. package/src/surfaces/admin/components/Choice.d.ts +1 -1
  140. package/src/surfaces/admin/components/ChoiceList.d.ts +1 -1
  141. package/src/surfaces/admin/components/Clickable.d.ts +1 -1
  142. package/src/surfaces/admin/components/DatePicker.d.ts +1 -1
  143. package/src/surfaces/admin/components/Divider.d.ts +1 -1
  144. package/src/surfaces/admin/components/EmailField.d.ts +1 -1
  145. package/src/surfaces/admin/components/Form.d.ts +1 -1
  146. package/src/surfaces/admin/components/Grid.d.ts +1 -1
  147. package/src/surfaces/admin/components/GridItem.d.ts +1 -1
  148. package/src/surfaces/admin/components/Heading.d.ts +1 -1
  149. package/src/surfaces/admin/components/Icon.d.ts +1 -1
  150. package/src/surfaces/admin/components/Image.d.ts +1 -1
  151. package/src/surfaces/admin/components/Link.d.ts +1 -1
  152. package/src/surfaces/admin/components/ListItem.d.ts +1 -1
  153. package/src/surfaces/admin/components/MoneyField.d.ts +1 -1
  154. package/src/surfaces/admin/components/NumberField.d.ts +1 -1
  155. package/src/surfaces/admin/components/Option.d.ts +1 -1
  156. package/src/surfaces/admin/components/OptionGroup.d.ts +1 -1
  157. package/src/surfaces/admin/components/OrderedList.d.ts +1 -1
  158. package/src/surfaces/admin/components/Page.d.ts +1 -1
  159. package/src/surfaces/admin/components/Paragraph.d.ts +1 -1
  160. package/src/surfaces/admin/components/PasswordField.d.ts +1 -1
  161. package/src/surfaces/admin/components/QueryContainer.d.ts +1 -1
  162. package/src/surfaces/admin/components/SearchField.d.ts +1 -1
  163. package/src/surfaces/admin/components/Section.d.ts +1 -1
  164. package/src/surfaces/admin/components/Select.d.ts +1 -1
  165. package/src/surfaces/admin/components/Spinner.d.ts +1 -1
  166. package/src/surfaces/admin/components/Stack.d.ts +1 -1
  167. package/src/surfaces/admin/components/StandardComponents.ts +2 -0
  168. package/src/surfaces/admin/components/Switch.d.ts +1 -1
  169. package/src/surfaces/admin/components/Table.d.ts +1 -1
  170. package/src/surfaces/admin/components/TableBody.d.ts +1 -1
  171. package/src/surfaces/admin/components/TableCell.d.ts +1 -1
  172. package/src/surfaces/admin/components/TableHeader.d.ts +1 -1
  173. package/src/surfaces/admin/components/TableHeaderRow.d.ts +1 -1
  174. package/src/surfaces/admin/components/TableRow.d.ts +1 -1
  175. package/src/surfaces/admin/components/Text.d.ts +1 -1
  176. package/src/surfaces/admin/components/TextArea.d.ts +1 -1
  177. package/src/surfaces/admin/components/TextField.d.ts +1 -1
  178. package/src/surfaces/admin/components/Thumbnail.d.ts +133 -0
  179. package/src/surfaces/admin/components/URLField.d.ts +1 -1
  180. package/src/surfaces/admin/components/UnorderedList.d.ts +1 -1
  181. package/src/surfaces/admin/components/shared.d.ts +219 -160
  182. package/src/surfaces/admin/components.d.ts +975 -413
  183. package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-js.example.ts +9 -0
  184. package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-preact.example.tsx +9 -0
  185. package/src/surfaces/customer-account/components/Avatar.d.ts +66 -0
  186. package/src/surfaces/customer-account/components/StandardComponents.ts +1 -0
  187. package/src/surfaces/customer-account/components.d.ts +67 -0
@@ -191,6 +191,58 @@ export interface UnorderedListProps extends UnorderedListProps$1 {
191
191
  declare const UnorderedListtagName = 's-unordered-list';
192
192
  declare const UnorderedListBaseClass: typeof globalThis.HTMLElement;
193
193
 
194
+ declare module 'preact' {
195
+ namespace createElement.JSX {
196
+ interface IntrinsicElements {
197
+ [ThumbnailtagName]: ThumbnailJSXProps & ThumbnailPreactBaseElementProps<Thumbnail>;
198
+ }
199
+ }
200
+ }
201
+
202
+ declare global {
203
+ interface HTMLElementTagNameMap {
204
+ [ThumbnailtagName]: Thumbnail;
205
+ }
206
+ }
207
+
208
+ export interface ThumbnailJSXProps extends Partial<ThumbnailProps>, Pick<ThumbnailProps$1, 'id'> {
209
+ onLoad?: ((event: CallbackEvent<typeof ThumbnailtagName>) => void) | null;
210
+ onError?: ((event: CallbackEvent<typeof tagName>) => void) | null;
211
+ }
212
+
213
+ export interface ThumbnailClickOptions {
214
+ /**
215
+ * The event you want to influence the synthetic click.
216
+ */
217
+ sourceEvent?: ThumbnailActivationEventEsque;
218
+ }
219
+
220
+ export interface ThumbnailActivationEventEsque {
221
+ shiftKey: boolean;
222
+ metaKey: boolean;
223
+ ctrlKey: boolean;
224
+ button: number;
225
+ }
226
+
227
+ export interface ThumbnailPreactBaseElementProps<TClass extends HTMLElement> {
228
+ /** Assigns a unique key to this element. */
229
+ key?: preact.Key;
230
+ /** Assigns a ref (generally from `useRef()`) to this element. */
231
+ ref?: preact.Ref<TClass>;
232
+ /** Assigns this element to a parent's slot. */
233
+ slot?: Lowercase<string>;
234
+ }
235
+
236
+ export interface ThumbnailProps extends Required<Pick<ThumbnailProps$1, 'src' | 'alt'>> {
237
+ size: Extract<
238
+ ThumbnailProps$1['size'],
239
+ 'small-200' | 'small-100' | 'small' | 'base' | 'large' | 'large-100'
240
+ >;
241
+ }
242
+
243
+ declare const ThumbnailtagName = 's-thumbnail';
244
+ declare const ThumbnailBaseClass: typeof globalThis.HTMLElement;
245
+
194
246
  declare module 'preact' {
195
247
  namespace createElement.JSX {
196
248
  interface IntrinsicElements {
@@ -3419,25 +3471,25 @@ declare const BannerBaseClass: typeof globalThis.HTMLElement;
3419
3471
  declare module 'preact' {
3420
3472
  namespace createElement.JSX {
3421
3473
  interface IntrinsicElements {
3422
- [tagName]: BadgeJSXProps & PreactBaseElementPropsWithChildren<Badge>;
3474
+ [BadgetagName]: BadgeJSXProps & BadgePreactBaseElementPropsWithChildren<Badge>;
3423
3475
  }
3424
3476
  }
3425
3477
  }
3426
3478
 
3427
3479
  declare global {
3428
3480
  interface HTMLElementTagNameMap {
3429
- [tagName]: Badge;
3481
+ [BadgetagName]: Badge;
3430
3482
  }
3431
3483
  }
3432
3484
 
3433
3485
  export interface BadgeJSXProps extends Partial<BadgeProps>, Pick<BadgeProps$1, 'id'> {
3434
3486
  }
3435
3487
 
3436
- export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends PreactBaseElementProps<TClass> {
3488
+ export interface BadgePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends BadgePreactBaseElementProps<TClass> {
3437
3489
  children?: preact.ComponentChildren;
3438
3490
  }
3439
3491
 
3440
- export interface PreactBaseElementProps<TClass extends HTMLElement> {
3492
+ export interface BadgePreactBaseElementProps<TClass extends HTMLElement> {
3441
3493
  /** Assigns a unique key to this element. */
3442
3494
  key?: preact.Key;
3443
3495
  /** Assigns a ref (generally from `useRef()`) to this element. */
@@ -3446,14 +3498,14 @@ export interface PreactBaseElementProps<TClass extends HTMLElement> {
3446
3498
  slot?: Lowercase<string>;
3447
3499
  }
3448
3500
 
3449
- export interface ClickOptions {
3501
+ export interface BadgeClickOptions {
3450
3502
  /**
3451
3503
  * The event you want to influence the synthetic click.
3452
3504
  */
3453
- sourceEvent?: ActivationEventEsque;
3505
+ sourceEvent?: BadgeActivationEventEsque;
3454
3506
  }
3455
3507
 
3456
- export interface ActivationEventEsque {
3508
+ export interface BadgeActivationEventEsque {
3457
3509
  shiftKey: boolean;
3458
3510
  metaKey: boolean;
3459
3511
  ctrlKey: boolean;
@@ -3483,7 +3535,63 @@ export interface IconProps extends Pick<IconProps$1, 'type' | 'tone' | 'color' |
3483
3535
  size: Extract<IconProps$1['size'], 'small' | 'base'>;
3484
3536
  }
3485
3537
 
3486
- declare const tagName = 's-badge';
3538
+ declare const BadgetagName = 's-badge';
3539
+ declare const BadgeBaseClass: typeof globalThis.HTMLElement;
3540
+
3541
+ declare module 'preact' {
3542
+ namespace createElement.JSX {
3543
+ interface IntrinsicElements {
3544
+ [tagName]: AvatarJSXProps & PreactBaseElementPropsWithChildren<Avatar>;
3545
+ }
3546
+ }
3547
+ }
3548
+
3549
+ declare global {
3550
+ interface HTMLElementTagNameMap {
3551
+ [tagName]: Avatar;
3552
+ }
3553
+ }
3554
+
3555
+ export interface AvatarJSXProps extends Partial<AvatarProps>, Pick<AvatarProps$1, 'id'> {
3556
+ onLoad?: () => void;
3557
+ onError?: () => void;
3558
+ }
3559
+
3560
+ export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends PreactBaseElementProps<TClass> {
3561
+ children?: preact.ComponentChildren;
3562
+ }
3563
+
3564
+ export interface PreactBaseElementProps<TClass extends HTMLElement> {
3565
+ /** Assigns a unique key to this element. */
3566
+ key?: preact.Key;
3567
+ /** Assigns a ref (generally from `useRef()`) to this element. */
3568
+ ref?: preact.Ref<TClass>;
3569
+ /** Assigns this element to a parent's slot. */
3570
+ slot?: Lowercase<string>;
3571
+ }
3572
+
3573
+ export interface ClickOptions {
3574
+ /**
3575
+ * The event you want to influence the synthetic click.
3576
+ */
3577
+ sourceEvent?: ActivationEventEsque;
3578
+ }
3579
+
3580
+ export interface ActivationEventEsque {
3581
+ shiftKey: boolean;
3582
+ metaKey: boolean;
3583
+ ctrlKey: boolean;
3584
+ button: number;
3585
+ }
3586
+
3587
+ export interface AvatarProps extends Required<Pick<AvatarProps$1, 'initials' | 'src' | 'alt'>> {
3588
+ size: Extract<
3589
+ AvatarProps$1['size'],
3590
+ 'small-200' | 'small' | 'base' | 'large' | 'large-200'
3591
+ >;
3592
+ }
3593
+
3594
+ declare const tagName = 's-avatar';
3487
3595
  /**
3488
3596
  * Base class for creating custom elements with Preact.
3489
3597
  * While this class could be used in both Node and the browser, the constructor will only be used in the browser.
@@ -3492,8 +3600,9 @@ declare const tagName = 's-badge';
3492
3600
  declare const BaseClass: typeof globalThis.HTMLElement;
3493
3601
 
3494
3602
  import { AdminBlock } from "../../../../../src/surfaces/admin/components/AdminBlock";
3495
- import { Badge, RenderImpl } from "../../../../../src/surfaces/admin/components/Badge";
3496
- import { Banner, CallbackEvent, RequiredBannerProps } from "../../../../../src/surfaces/admin/components/Banner";
3603
+ import { Avatar, CallbackEvent, RenderImpl } from "../../../../../src/surfaces/admin/components/Avatar";
3604
+ import { Badge } from "../../../../../src/surfaces/admin/components/Badge";
3605
+ import { Banner, RequiredBannerProps } from "../../../../../src/surfaces/admin/components/Banner";
3497
3606
  import { Box, BoxBorderRadii, BoxBorderStyles, RequiredBoxProps, ResponsiveBoxProps } from "../../../../../src/surfaces/admin/components/Box";
3498
3607
  import { Button, ButtonBaseProps } from "../../../../../src/surfaces/admin/components/Button";
3499
3608
  import { Checkbox, PreactInputProps } from "../../../../../src/surfaces/admin/components/Checkbox";
@@ -3519,7 +3628,7 @@ import { PasswordField, PasswordFieldProps } from "../../../../../src/surfaces/a
3519
3628
  import { QueryContainer } from "../../../../../src/surfaces/admin/components/QueryContainer";
3520
3629
  import { RequiredSectionProps, Section } from "../../../../../src/surfaces/admin/components/Section";
3521
3630
  import { Select } from "../../../../../src/surfaces/admin/components/Select";
3522
- import { AdminBlockProps$1, BadgeProps$1, BannerProps$1, BoxProps$1, ButtonProps$1, CheckboxProps$1, ChoiceListProps$1, ChoiceProps$1, ClickableProps$1, ComponentChild, DatePickerProps$1, DividerProps$1, EmailFieldProps$1, GridItemProps$1, GridProps$1, HeadingProps$1, IconProps$1, IconType, ImageProps$1, InteractionProps, LinkProps$1, ListItemProps$1, MaybeAllValuesShorthandProperty, MoneyFieldProps$1, NumberFieldProps$1, OptionGroupProps$1, OptionProps$1, OrderedListProps$1, ParagraphProps$1, PasswordFieldProps$1, QueryContainerProps$1, SectionProps$1, SelectProps$1, SpinnerProps$1, StackProps$1, TableBodyProps$1, TableCellProps$1, TableHeaderProps$1, TableHeaderRowProps$1, TableProps$1, TableRowProps$1, TextAreaProps$1, TextFieldProps$1, TextProps$1, URLFieldProps$1, UnorderedListProps$1 } from "../../../../../src/surfaces/admin/components/shared";
3631
+ import { AdminBlockProps$1, AvatarProps$1, BadgeProps$1, BannerProps$1, BoxProps$1, ButtonProps$1, CheckboxProps$1, ChoiceListProps$1, ChoiceProps$1, ClickableProps$1, ComponentChild, DatePickerProps$1, DividerProps$1, EmailFieldProps$1, GridItemProps$1, GridProps$1, HeadingProps$1, IconProps$1, IconType, ImageProps$1, InteractionProps, LinkProps$1, ListItemProps$1, MaybeAllValuesShorthandProperty, MoneyFieldProps$1, NumberFieldProps$1, OptionGroupProps$1, OptionProps$1, OrderedListProps$1, ParagraphProps$1, PasswordFieldProps$1, QueryContainerProps$1, SectionProps$1, SelectProps$1, SpinnerProps$1, StackProps$1, TableBodyProps$1, TableCellProps$1, TableHeaderProps$1, TableHeaderRowProps$1, TableProps$1, TableRowProps$1, TextAreaProps$1, TextFieldProps$1, TextProps$1, ThumbnailProps$1, URLFieldProps$1, UnorderedListProps$1 } from "../../../../../src/surfaces/admin/components/shared";
3523
3632
  import { Spinner } from "../../../../../src/surfaces/admin/components/Spinner";
3524
3633
  import { AlignedStackProps, ResponsiveStackProps, Stack } from "../../../../../src/surfaces/admin/components/Stack";
3525
3634
  import { Table } from "../../../../../src/surfaces/admin/components/Table";
@@ -3530,6 +3639,7 @@ import { TableHeaderRow } from "../../../../../src/surfaces/admin/components/Tab
3530
3639
  import { TableRow } from "../../../../../src/surfaces/admin/components/TableRow";
3531
3640
  import { TextArea, TextAreaProps } from "../../../../../src/surfaces/admin/components/TextArea";
3532
3641
  import { TextField, TextFieldProps } from "../../../../../src/surfaces/admin/components/TextField";
3642
+ import { Thumbnail } from "../../../../../src/surfaces/admin/components/Thumbnail";
3533
3643
  import { UnorderedList } from "../../../../../src/surfaces/admin/components/UnorderedList";
3534
3644
  import { URLField, URLFieldProps } from "../../../../../src/surfaces/admin/components/URLField";
3535
3645
  import type { ExtensionTargets } from '../extension-targets';
@@ -139,6 +139,58 @@ export interface UnorderedListProps extends UnorderedListProps$1 {
139
139
  declare const UnorderedListtagName = 's-unordered-list';
140
140
  declare const UnorderedListBaseClass: typeof globalThis.HTMLElement;
141
141
 
142
+ declare module 'preact' {
143
+ namespace createElement.JSX {
144
+ interface IntrinsicElements {
145
+ [ThumbnailtagName]: ThumbnailJSXProps & ThumbnailPreactBaseElementProps<Thumbnail>;
146
+ }
147
+ }
148
+ }
149
+
150
+ declare global {
151
+ interface HTMLElementTagNameMap {
152
+ [ThumbnailtagName]: Thumbnail;
153
+ }
154
+ }
155
+
156
+ export interface ThumbnailJSXProps extends Partial<ThumbnailProps>, Pick<ThumbnailProps$1, 'id'> {
157
+ onLoad?: ((event: CallbackEvent<typeof ThumbnailtagName>) => void) | null;
158
+ onError?: ((event: CallbackEvent<typeof tagName>) => void) | null;
159
+ }
160
+
161
+ export interface ThumbnailClickOptions {
162
+ /**
163
+ * The event you want to influence the synthetic click.
164
+ */
165
+ sourceEvent?: ThumbnailActivationEventEsque;
166
+ }
167
+
168
+ export interface ThumbnailActivationEventEsque {
169
+ shiftKey: boolean;
170
+ metaKey: boolean;
171
+ ctrlKey: boolean;
172
+ button: number;
173
+ }
174
+
175
+ export interface ThumbnailPreactBaseElementProps<TClass extends HTMLElement> {
176
+ /** Assigns a unique key to this element. */
177
+ key?: preact.Key;
178
+ /** Assigns a ref (generally from `useRef()`) to this element. */
179
+ ref?: preact.Ref<TClass>;
180
+ /** Assigns this element to a parent's slot. */
181
+ slot?: Lowercase<string>;
182
+ }
183
+
184
+ export interface ThumbnailProps extends Required<Pick<ThumbnailProps$1, 'src' | 'alt'>> {
185
+ size: Extract<
186
+ ThumbnailProps$1['size'],
187
+ 'small-200' | 'small-100' | 'small' | 'base' | 'large' | 'large-100'
188
+ >;
189
+ }
190
+
191
+ declare const ThumbnailtagName = 's-thumbnail';
192
+ declare const ThumbnailBaseClass: typeof globalThis.HTMLElement;
193
+
142
194
  declare module 'preact' {
143
195
  namespace createElement.JSX {
144
196
  interface IntrinsicElements {
@@ -3367,25 +3419,25 @@ declare const BannerBaseClass: typeof globalThis.HTMLElement;
3367
3419
  declare module 'preact' {
3368
3420
  namespace createElement.JSX {
3369
3421
  interface IntrinsicElements {
3370
- [tagName]: BadgeJSXProps & PreactBaseElementPropsWithChildren<Badge>;
3422
+ [BadgetagName]: BadgeJSXProps & BadgePreactBaseElementPropsWithChildren<Badge>;
3371
3423
  }
3372
3424
  }
3373
3425
  }
3374
3426
 
3375
3427
  declare global {
3376
3428
  interface HTMLElementTagNameMap {
3377
- [tagName]: Badge;
3429
+ [BadgetagName]: Badge;
3378
3430
  }
3379
3431
  }
3380
3432
 
3381
3433
  export interface BadgeJSXProps extends Partial<BadgeProps>, Pick<BadgeProps$1, 'id'> {
3382
3434
  }
3383
3435
 
3384
- export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends PreactBaseElementProps<TClass> {
3436
+ export interface BadgePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends BadgePreactBaseElementProps<TClass> {
3385
3437
  children?: preact.ComponentChildren;
3386
3438
  }
3387
3439
 
3388
- export interface PreactBaseElementProps<TClass extends HTMLElement> {
3440
+ export interface BadgePreactBaseElementProps<TClass extends HTMLElement> {
3389
3441
  /** Assigns a unique key to this element. */
3390
3442
  key?: preact.Key;
3391
3443
  /** Assigns a ref (generally from `useRef()`) to this element. */
@@ -3394,14 +3446,14 @@ export interface PreactBaseElementProps<TClass extends HTMLElement> {
3394
3446
  slot?: Lowercase<string>;
3395
3447
  }
3396
3448
 
3397
- export interface ClickOptions {
3449
+ export interface BadgeClickOptions {
3398
3450
  /**
3399
3451
  * The event you want to influence the synthetic click.
3400
3452
  */
3401
- sourceEvent?: ActivationEventEsque;
3453
+ sourceEvent?: BadgeActivationEventEsque;
3402
3454
  }
3403
3455
 
3404
- export interface ActivationEventEsque {
3456
+ export interface BadgeActivationEventEsque {
3405
3457
  shiftKey: boolean;
3406
3458
  metaKey: boolean;
3407
3459
  ctrlKey: boolean;
@@ -3431,7 +3483,63 @@ export interface IconProps extends Pick<IconProps$1, 'type' | 'tone' | 'color' |
3431
3483
  size: Extract<IconProps$1['size'], 'small' | 'base'>;
3432
3484
  }
3433
3485
 
3434
- declare const tagName = 's-badge';
3486
+ declare const BadgetagName = 's-badge';
3487
+ declare const BadgeBaseClass: typeof globalThis.HTMLElement;
3488
+
3489
+ declare module 'preact' {
3490
+ namespace createElement.JSX {
3491
+ interface IntrinsicElements {
3492
+ [tagName]: AvatarJSXProps & PreactBaseElementPropsWithChildren<Avatar>;
3493
+ }
3494
+ }
3495
+ }
3496
+
3497
+ declare global {
3498
+ interface HTMLElementTagNameMap {
3499
+ [tagName]: Avatar;
3500
+ }
3501
+ }
3502
+
3503
+ export interface AvatarJSXProps extends Partial<AvatarProps>, Pick<AvatarProps$1, 'id'> {
3504
+ onLoad?: () => void;
3505
+ onError?: () => void;
3506
+ }
3507
+
3508
+ export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends PreactBaseElementProps<TClass> {
3509
+ children?: preact.ComponentChildren;
3510
+ }
3511
+
3512
+ export interface PreactBaseElementProps<TClass extends HTMLElement> {
3513
+ /** Assigns a unique key to this element. */
3514
+ key?: preact.Key;
3515
+ /** Assigns a ref (generally from `useRef()`) to this element. */
3516
+ ref?: preact.Ref<TClass>;
3517
+ /** Assigns this element to a parent's slot. */
3518
+ slot?: Lowercase<string>;
3519
+ }
3520
+
3521
+ export interface ClickOptions {
3522
+ /**
3523
+ * The event you want to influence the synthetic click.
3524
+ */
3525
+ sourceEvent?: ActivationEventEsque;
3526
+ }
3527
+
3528
+ export interface ActivationEventEsque {
3529
+ shiftKey: boolean;
3530
+ metaKey: boolean;
3531
+ ctrlKey: boolean;
3532
+ button: number;
3533
+ }
3534
+
3535
+ export interface AvatarProps extends Required<Pick<AvatarProps$1, 'initials' | 'src' | 'alt'>> {
3536
+ size: Extract<
3537
+ AvatarProps$1['size'],
3538
+ 'small-200' | 'small' | 'base' | 'large' | 'large-200'
3539
+ >;
3540
+ }
3541
+
3542
+ declare const tagName = 's-avatar';
3435
3543
  /**
3436
3544
  * Base class for creating custom elements with Preact.
3437
3545
  * While this class could be used in both Node and the browser, the constructor will only be used in the browser.
@@ -3440,8 +3548,9 @@ declare const tagName = 's-badge';
3440
3548
  declare const BaseClass: typeof globalThis.HTMLElement;
3441
3549
 
3442
3550
  import { AdminPrintAction } from "../../../../../src/surfaces/admin/components/AdminPrintAction";
3443
- import { Badge, RenderImpl } from "../../../../../src/surfaces/admin/components/Badge";
3444
- import { Banner, CallbackEvent, RequiredBannerProps } from "../../../../../src/surfaces/admin/components/Banner";
3551
+ import { Avatar, CallbackEvent, RenderImpl } from "../../../../../src/surfaces/admin/components/Avatar";
3552
+ import { Badge } from "../../../../../src/surfaces/admin/components/Badge";
3553
+ import { Banner, RequiredBannerProps } from "../../../../../src/surfaces/admin/components/Banner";
3445
3554
  import { Box, BoxBorderRadii, BoxBorderStyles, RequiredBoxProps, ResponsiveBoxProps } from "../../../../../src/surfaces/admin/components/Box";
3446
3555
  import { Button, ButtonBaseProps } from "../../../../../src/surfaces/admin/components/Button";
3447
3556
  import { Checkbox, PreactInputProps } from "../../../../../src/surfaces/admin/components/Checkbox";
@@ -3466,7 +3575,7 @@ import { PasswordField, PasswordFieldProps } from "../../../../../src/surfaces/a
3466
3575
  import { QueryContainer } from "../../../../../src/surfaces/admin/components/QueryContainer";
3467
3576
  import { RequiredSectionProps, Section } from "../../../../../src/surfaces/admin/components/Section";
3468
3577
  import { Select } from "../../../../../src/surfaces/admin/components/Select";
3469
- import { AdminPrintActionProps$1, BadgeProps$1, BannerProps$1, BoxProps$1, ButtonProps$1, CheckboxProps$1, ChoiceListProps$1, ChoiceProps$1, ClickableProps$1, ComponentChild, DatePickerProps$1, DividerProps$1, EmailFieldProps$1, GridItemProps$1, GridProps$1, HeadingProps$1, IconProps$1, IconType, ImageProps$1, InteractionProps, LinkProps$1, ListItemProps$1, MaybeAllValuesShorthandProperty, MoneyFieldProps$1, NumberFieldProps$1, OptionGroupProps$1, OptionProps$1, OrderedListProps$1, ParagraphProps$1, PasswordFieldProps$1, QueryContainerProps$1, SectionProps$1, SelectProps$1, SpinnerProps$1, StackProps$1, TableBodyProps$1, TableCellProps$1, TableHeaderProps$1, TableHeaderRowProps$1, TableProps$1, TableRowProps$1, TextAreaProps$1, TextFieldProps$1, TextProps$1, URLFieldProps$1, UnorderedListProps$1 } from "../../../../../src/surfaces/admin/components/shared";
3578
+ import { AdminPrintActionProps$1, AvatarProps$1, BadgeProps$1, BannerProps$1, BoxProps$1, ButtonProps$1, CheckboxProps$1, ChoiceListProps$1, ChoiceProps$1, ClickableProps$1, ComponentChild, DatePickerProps$1, DividerProps$1, EmailFieldProps$1, GridItemProps$1, GridProps$1, HeadingProps$1, IconProps$1, IconType, ImageProps$1, InteractionProps, LinkProps$1, ListItemProps$1, MaybeAllValuesShorthandProperty, MoneyFieldProps$1, NumberFieldProps$1, OptionGroupProps$1, OptionProps$1, OrderedListProps$1, ParagraphProps$1, PasswordFieldProps$1, QueryContainerProps$1, SectionProps$1, SelectProps$1, SpinnerProps$1, StackProps$1, TableBodyProps$1, TableCellProps$1, TableHeaderProps$1, TableHeaderRowProps$1, TableProps$1, TableRowProps$1, TextAreaProps$1, TextFieldProps$1, TextProps$1, ThumbnailProps$1, URLFieldProps$1, UnorderedListProps$1 } from "../../../../../src/surfaces/admin/components/shared";
3470
3579
  import { Spinner } from "../../../../../src/surfaces/admin/components/Spinner";
3471
3580
  import { AlignedStackProps, ResponsiveStackProps, Stack } from "../../../../../src/surfaces/admin/components/Stack";
3472
3581
  import { Table } from "../../../../../src/surfaces/admin/components/Table";
@@ -3477,6 +3586,7 @@ import { TableHeaderRow } from "../../../../../src/surfaces/admin/components/Tab
3477
3586
  import { TableRow } from "../../../../../src/surfaces/admin/components/TableRow";
3478
3587
  import { TextArea, TextAreaProps } from "../../../../../src/surfaces/admin/components/TextArea";
3479
3588
  import { TextField, TextFieldProps } from "../../../../../src/surfaces/admin/components/TextField";
3589
+ import { Thumbnail } from "../../../../../src/surfaces/admin/components/Thumbnail";
3480
3590
  import { UnorderedList } from "../../../../../src/surfaces/admin/components/UnorderedList";
3481
3591
  import { URLField, URLFieldProps } from "../../../../../src/surfaces/admin/components/URLField";
3482
3592
  import type { ExtensionTargets } from '../extension-targets';
@@ -191,6 +191,58 @@ export interface UnorderedListProps extends UnorderedListProps$1 {
191
191
  declare const UnorderedListtagName = 's-unordered-list';
192
192
  declare const UnorderedListBaseClass: typeof globalThis.HTMLElement;
193
193
 
194
+ declare module 'preact' {
195
+ namespace createElement.JSX {
196
+ interface IntrinsicElements {
197
+ [ThumbnailtagName]: ThumbnailJSXProps & ThumbnailPreactBaseElementProps<Thumbnail>;
198
+ }
199
+ }
200
+ }
201
+
202
+ declare global {
203
+ interface HTMLElementTagNameMap {
204
+ [ThumbnailtagName]: Thumbnail;
205
+ }
206
+ }
207
+
208
+ export interface ThumbnailJSXProps extends Partial<ThumbnailProps>, Pick<ThumbnailProps$1, 'id'> {
209
+ onLoad?: ((event: CallbackEvent<typeof ThumbnailtagName>) => void) | null;
210
+ onError?: ((event: CallbackEvent<typeof tagName>) => void) | null;
211
+ }
212
+
213
+ export interface ThumbnailClickOptions {
214
+ /**
215
+ * The event you want to influence the synthetic click.
216
+ */
217
+ sourceEvent?: ThumbnailActivationEventEsque;
218
+ }
219
+
220
+ export interface ThumbnailActivationEventEsque {
221
+ shiftKey: boolean;
222
+ metaKey: boolean;
223
+ ctrlKey: boolean;
224
+ button: number;
225
+ }
226
+
227
+ export interface ThumbnailPreactBaseElementProps<TClass extends HTMLElement> {
228
+ /** Assigns a unique key to this element. */
229
+ key?: preact.Key;
230
+ /** Assigns a ref (generally from `useRef()`) to this element. */
231
+ ref?: preact.Ref<TClass>;
232
+ /** Assigns this element to a parent's slot. */
233
+ slot?: Lowercase<string>;
234
+ }
235
+
236
+ export interface ThumbnailProps extends Required<Pick<ThumbnailProps$1, 'src' | 'alt'>> {
237
+ size: Extract<
238
+ ThumbnailProps$1['size'],
239
+ 'small-200' | 'small-100' | 'small' | 'base' | 'large' | 'large-100'
240
+ >;
241
+ }
242
+
243
+ declare const ThumbnailtagName = 's-thumbnail';
244
+ declare const ThumbnailBaseClass: typeof globalThis.HTMLElement;
245
+
194
246
  declare module 'preact' {
195
247
  namespace createElement.JSX {
196
248
  interface IntrinsicElements {
@@ -3419,25 +3471,25 @@ declare const BannerBaseClass: typeof globalThis.HTMLElement;
3419
3471
  declare module 'preact' {
3420
3472
  namespace createElement.JSX {
3421
3473
  interface IntrinsicElements {
3422
- [tagName]: BadgeJSXProps & PreactBaseElementPropsWithChildren<Badge>;
3474
+ [BadgetagName]: BadgeJSXProps & BadgePreactBaseElementPropsWithChildren<Badge>;
3423
3475
  }
3424
3476
  }
3425
3477
  }
3426
3478
 
3427
3479
  declare global {
3428
3480
  interface HTMLElementTagNameMap {
3429
- [tagName]: Badge;
3481
+ [BadgetagName]: Badge;
3430
3482
  }
3431
3483
  }
3432
3484
 
3433
3485
  export interface BadgeJSXProps extends Partial<BadgeProps>, Pick<BadgeProps$1, 'id'> {
3434
3486
  }
3435
3487
 
3436
- export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends PreactBaseElementProps<TClass> {
3488
+ export interface BadgePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends BadgePreactBaseElementProps<TClass> {
3437
3489
  children?: preact.ComponentChildren;
3438
3490
  }
3439
3491
 
3440
- export interface PreactBaseElementProps<TClass extends HTMLElement> {
3492
+ export interface BadgePreactBaseElementProps<TClass extends HTMLElement> {
3441
3493
  /** Assigns a unique key to this element. */
3442
3494
  key?: preact.Key;
3443
3495
  /** Assigns a ref (generally from `useRef()`) to this element. */
@@ -3446,14 +3498,14 @@ export interface PreactBaseElementProps<TClass extends HTMLElement> {
3446
3498
  slot?: Lowercase<string>;
3447
3499
  }
3448
3500
 
3449
- export interface ClickOptions {
3501
+ export interface BadgeClickOptions {
3450
3502
  /**
3451
3503
  * The event you want to influence the synthetic click.
3452
3504
  */
3453
- sourceEvent?: ActivationEventEsque;
3505
+ sourceEvent?: BadgeActivationEventEsque;
3454
3506
  }
3455
3507
 
3456
- export interface ActivationEventEsque {
3508
+ export interface BadgeActivationEventEsque {
3457
3509
  shiftKey: boolean;
3458
3510
  metaKey: boolean;
3459
3511
  ctrlKey: boolean;
@@ -3483,7 +3535,63 @@ export interface IconProps extends Pick<IconProps$1, 'type' | 'tone' | 'color' |
3483
3535
  size: Extract<IconProps$1['size'], 'small' | 'base'>;
3484
3536
  }
3485
3537
 
3486
- declare const tagName = 's-badge';
3538
+ declare const BadgetagName = 's-badge';
3539
+ declare const BadgeBaseClass: typeof globalThis.HTMLElement;
3540
+
3541
+ declare module 'preact' {
3542
+ namespace createElement.JSX {
3543
+ interface IntrinsicElements {
3544
+ [tagName]: AvatarJSXProps & PreactBaseElementPropsWithChildren<Avatar>;
3545
+ }
3546
+ }
3547
+ }
3548
+
3549
+ declare global {
3550
+ interface HTMLElementTagNameMap {
3551
+ [tagName]: Avatar;
3552
+ }
3553
+ }
3554
+
3555
+ export interface AvatarJSXProps extends Partial<AvatarProps>, Pick<AvatarProps$1, 'id'> {
3556
+ onLoad?: () => void;
3557
+ onError?: () => void;
3558
+ }
3559
+
3560
+ export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends PreactBaseElementProps<TClass> {
3561
+ children?: preact.ComponentChildren;
3562
+ }
3563
+
3564
+ export interface PreactBaseElementProps<TClass extends HTMLElement> {
3565
+ /** Assigns a unique key to this element. */
3566
+ key?: preact.Key;
3567
+ /** Assigns a ref (generally from `useRef()`) to this element. */
3568
+ ref?: preact.Ref<TClass>;
3569
+ /** Assigns this element to a parent's slot. */
3570
+ slot?: Lowercase<string>;
3571
+ }
3572
+
3573
+ export interface ClickOptions {
3574
+ /**
3575
+ * The event you want to influence the synthetic click.
3576
+ */
3577
+ sourceEvent?: ActivationEventEsque;
3578
+ }
3579
+
3580
+ export interface ActivationEventEsque {
3581
+ shiftKey: boolean;
3582
+ metaKey: boolean;
3583
+ ctrlKey: boolean;
3584
+ button: number;
3585
+ }
3586
+
3587
+ export interface AvatarProps extends Required<Pick<AvatarProps$1, 'initials' | 'src' | 'alt'>> {
3588
+ size: Extract<
3589
+ AvatarProps$1['size'],
3590
+ 'small-200' | 'small' | 'base' | 'large' | 'large-200'
3591
+ >;
3592
+ }
3593
+
3594
+ declare const tagName = 's-avatar';
3487
3595
  /**
3488
3596
  * Base class for creating custom elements with Preact.
3489
3597
  * While this class could be used in both Node and the browser, the constructor will only be used in the browser.
@@ -3492,8 +3600,9 @@ declare const tagName = 's-badge';
3492
3600
  declare const BaseClass: typeof globalThis.HTMLElement;
3493
3601
 
3494
3602
  import { AdminBlock } from "../../../../../src/surfaces/admin/components/AdminBlock";
3495
- import { Badge, RenderImpl } from "../../../../../src/surfaces/admin/components/Badge";
3496
- import { Banner, CallbackEvent, RequiredBannerProps } from "../../../../../src/surfaces/admin/components/Banner";
3603
+ import { Avatar, CallbackEvent, RenderImpl } from "../../../../../src/surfaces/admin/components/Avatar";
3604
+ import { Badge } from "../../../../../src/surfaces/admin/components/Badge";
3605
+ import { Banner, RequiredBannerProps } from "../../../../../src/surfaces/admin/components/Banner";
3497
3606
  import { Box, BoxBorderRadii, BoxBorderStyles, RequiredBoxProps, ResponsiveBoxProps } from "../../../../../src/surfaces/admin/components/Box";
3498
3607
  import { Button, ButtonBaseProps } from "../../../../../src/surfaces/admin/components/Button";
3499
3608
  import { Checkbox, PreactInputProps } from "../../../../../src/surfaces/admin/components/Checkbox";
@@ -3519,7 +3628,7 @@ import { PasswordField, PasswordFieldProps } from "../../../../../src/surfaces/a
3519
3628
  import { QueryContainer } from "../../../../../src/surfaces/admin/components/QueryContainer";
3520
3629
  import { RequiredSectionProps, Section } from "../../../../../src/surfaces/admin/components/Section";
3521
3630
  import { Select } from "../../../../../src/surfaces/admin/components/Select";
3522
- import { AdminBlockProps$1, BadgeProps$1, BannerProps$1, BoxProps$1, ButtonProps$1, CheckboxProps$1, ChoiceListProps$1, ChoiceProps$1, ClickableProps$1, ComponentChild, DatePickerProps$1, DividerProps$1, EmailFieldProps$1, GridItemProps$1, GridProps$1, HeadingProps$1, IconProps$1, IconType, ImageProps$1, InteractionProps, LinkProps$1, ListItemProps$1, MaybeAllValuesShorthandProperty, MoneyFieldProps$1, NumberFieldProps$1, OptionGroupProps$1, OptionProps$1, OrderedListProps$1, ParagraphProps$1, PasswordFieldProps$1, QueryContainerProps$1, SectionProps$1, SelectProps$1, SpinnerProps$1, StackProps$1, TableBodyProps$1, TableCellProps$1, TableHeaderProps$1, TableHeaderRowProps$1, TableProps$1, TableRowProps$1, TextAreaProps$1, TextFieldProps$1, TextProps$1, URLFieldProps$1, UnorderedListProps$1 } from "../../../../../src/surfaces/admin/components/shared";
3631
+ import { AdminBlockProps$1, AvatarProps$1, BadgeProps$1, BannerProps$1, BoxProps$1, ButtonProps$1, CheckboxProps$1, ChoiceListProps$1, ChoiceProps$1, ClickableProps$1, ComponentChild, DatePickerProps$1, DividerProps$1, EmailFieldProps$1, GridItemProps$1, GridProps$1, HeadingProps$1, IconProps$1, IconType, ImageProps$1, InteractionProps, LinkProps$1, ListItemProps$1, MaybeAllValuesShorthandProperty, MoneyFieldProps$1, NumberFieldProps$1, OptionGroupProps$1, OptionProps$1, OrderedListProps$1, ParagraphProps$1, PasswordFieldProps$1, QueryContainerProps$1, SectionProps$1, SelectProps$1, SpinnerProps$1, StackProps$1, TableBodyProps$1, TableCellProps$1, TableHeaderProps$1, TableHeaderRowProps$1, TableProps$1, TableRowProps$1, TextAreaProps$1, TextFieldProps$1, TextProps$1, ThumbnailProps$1, URLFieldProps$1, UnorderedListProps$1 } from "../../../../../src/surfaces/admin/components/shared";
3523
3632
  import { Spinner } from "../../../../../src/surfaces/admin/components/Spinner";
3524
3633
  import { AlignedStackProps, ResponsiveStackProps, Stack } from "../../../../../src/surfaces/admin/components/Stack";
3525
3634
  import { Table } from "../../../../../src/surfaces/admin/components/Table";
@@ -3530,6 +3639,7 @@ import { TableHeaderRow } from "../../../../../src/surfaces/admin/components/Tab
3530
3639
  import { TableRow } from "../../../../../src/surfaces/admin/components/TableRow";
3531
3640
  import { TextArea, TextAreaProps } from "../../../../../src/surfaces/admin/components/TextArea";
3532
3641
  import { TextField, TextFieldProps } from "../../../../../src/surfaces/admin/components/TextField";
3642
+ import { Thumbnail } from "../../../../../src/surfaces/admin/components/Thumbnail";
3533
3643
  import { UnorderedList } from "../../../../../src/surfaces/admin/components/UnorderedList";
3534
3644
  import { URLField, URLFieldProps } from "../../../../../src/surfaces/admin/components/URLField";
3535
3645
  import type { ExtensionTargets } from '../extension-targets';