@shopify/ui-extensions 2026.1.0-rc.2 → 2026.1.0-rc.3

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.
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.25.0 **/
1
+ /** VERSION: 1.28.3 **/
2
2
 
3
3
  /* eslint-disable @typescript-eslint/ban-types */
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -10,6 +10,8 @@
10
10
  * TODO: Update `any` type here after this is resolved
11
11
  * https://github.com/Shopify/ui-api-design/issues/139
12
12
  */
13
+ import * as _shopify_admin_web_component_foundations from '@shopify/admin-web-component-foundations';
14
+
13
15
  export type ComponentChildren = preact.ComponentChildren;
14
16
  export type StringChildren = string;
15
17
  export interface GlobalProps {
@@ -166,11 +168,11 @@ export interface ExtendableEvent extends Event {
166
168
  */
167
169
  waitUntil?: (promise: Promise<void>) => void;
168
170
  }
169
- export interface AggregateError<T extends Error> extends Error {
171
+ interface AggregateError$1<T extends Error> extends Error {
170
172
  errors: T[];
171
173
  }
172
174
  export interface AggregateErrorEvent<T extends Error> extends ErrorEvent {
173
- error: AggregateError<T>;
175
+ error: AggregateError$1<T>;
174
176
  }
175
177
  export type SizeKeyword =
176
178
  | 'small-500'
@@ -263,6 +265,7 @@ declare const privateIconArray: readonly [
263
265
  'alert-octagon-filled',
264
266
  'alert-triangle',
265
267
  'alert-triangle-filled',
268
+ 'align-horizontal-centers',
266
269
  'app-extension',
267
270
  'apps',
268
271
  'archive',
@@ -3247,6 +3250,38 @@ interface PopoverProps$1
3247
3250
  */
3248
3251
  children?: ComponentChildren;
3249
3252
  }
3253
+ interface PressButtonProps$1
3254
+ extends GlobalProps,
3255
+ Pick<
3256
+ ButtonProps$1,
3257
+ | 'accessibilityLabel'
3258
+ | 'children'
3259
+ | 'icon'
3260
+ | 'inlineSize'
3261
+ | 'lang'
3262
+ | 'tone'
3263
+ | 'variant'
3264
+ | 'disabled'
3265
+ | 'loading'
3266
+ | 'onClick'
3267
+ | 'onBlur'
3268
+ | 'onFocus'
3269
+ > {
3270
+ /**
3271
+ * Whether the button is pressed.
3272
+ *
3273
+ * @default false
3274
+ */
3275
+ pressed?: boolean;
3276
+ /**
3277
+ * Whether the button is pressed by default.
3278
+ *
3279
+ * @default false
3280
+ *
3281
+ * @implementation `defaultPressed` reflects to the `pressed` attribute.
3282
+ */
3283
+ defaultPressed?: boolean;
3284
+ }
3250
3285
  interface QueryContainerProps$1 extends GlobalProps {
3251
3286
  /**
3252
3287
  * The content of the container.
@@ -3805,6 +3840,70 @@ export interface Context<T> extends Provider<T> {
3805
3840
  Provider: Provider<T>;
3806
3841
  displayName?: string;
3807
3842
  }
3843
+ export type Styles = string;
3844
+ declare const shadowRootSymbol: unique symbol;
3845
+ export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
3846
+ ShadowRoot: (element: any) => ComponentChildren$1;
3847
+ styles?: Styles;
3848
+ /**
3849
+ * Only needed once in the root element, to inject global shadow CSS for all components.
3850
+ */
3851
+ globalShadowCSS?: Styles;
3852
+ };
3853
+ export interface ActivationEventEsque {
3854
+ shiftKey: boolean;
3855
+ metaKey: boolean;
3856
+ ctrlKey: boolean;
3857
+ button: number;
3858
+ }
3859
+ export interface ClickOptions {
3860
+ /**
3861
+ * The event you want to influence the synthetic click.
3862
+ */
3863
+ sourceEvent?: ActivationEventEsque;
3864
+ }
3865
+ declare const BaseClass: typeof globalThis.HTMLElement;
3866
+ export declare abstract class PreactCustomElement extends BaseClass {
3867
+ /** @private */
3868
+ #private;
3869
+ /** @private */
3870
+ static get observedAttributes(): string[];
3871
+ /** @private */
3872
+ [shadowRootSymbol]: ShadowRoot | null;
3873
+ constructor({
3874
+ styles,
3875
+ ShadowRoot: renderFunction,
3876
+ delegatesFocus,
3877
+ globalShadowCSS,
3878
+ ...options
3879
+ }: RenderImpl);
3880
+
3881
+ /** @private */
3882
+ setAttribute(name: string, value: string): void;
3883
+ /** @private */
3884
+ attributeChangedCallback(name: string): void;
3885
+ /** @private */
3886
+ connectedCallback(): void;
3887
+ /** @private */
3888
+ disconnectedCallback(): void;
3889
+ /** @private */
3890
+ adoptedCallback(): void;
3891
+ /**
3892
+ * Queue a run of the render function.
3893
+ * You shouldn't need to call this manually - it should be handled by changes to @property values.
3894
+ * @private
3895
+ */
3896
+ queueRender(): void;
3897
+ /**
3898
+ * Like the standard `element.click()`, but you can influence the behavior with a `sourceEvent`.
3899
+ *
3900
+ * For example, if the `sourceEvent` was a middle click, or has particular keys held down,
3901
+ * components will attempt to produce the desired behavior on links, such as opening the page in the background tab.
3902
+ * @private
3903
+ * @param options
3904
+ */
3905
+ click({sourceEvent}?: ClickOptions): void;
3906
+ }
3808
3907
  type IconType$1 =
3809
3908
  | 'adjust'
3810
3909
  | 'affiliate'
@@ -3816,6 +3915,7 @@ type IconType$1 =
3816
3915
  | 'alert-octagon'
3817
3916
  | 'alert-octagon-filled'
3818
3917
  | 'alert-triangle'
3918
+ | 'align-horizontal-centers'
3819
3919
  | 'app-extension'
3820
3920
  | 'apps'
3821
3921
  | 'archive'
@@ -4239,6 +4339,7 @@ type IconType$1 =
4239
4339
  | 'sort-ascending'
4240
4340
  | 'sort-descending'
4241
4341
  | 'sound'
4342
+ | 'split'
4242
4343
  | 'sports'
4243
4344
  | 'star'
4244
4345
  | 'star-filled'
@@ -4326,64 +4427,8 @@ export interface AvatarProps
4326
4427
  >;
4327
4428
  }
4328
4429
 
4329
- export type Styles = string;
4330
- export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
4331
- ShadowRoot: (element: any) => ComponentChildren;
4332
- styles?: Styles;
4333
- };
4334
- export interface ActivationEventEsque {
4335
- shiftKey: boolean;
4336
- metaKey: boolean;
4337
- ctrlKey: boolean;
4338
- button: number;
4339
- }
4340
- export interface ClickOptions {
4341
- /**
4342
- * The event you want to influence the synthetic click.
4343
- */
4344
- sourceEvent?: ActivationEventEsque;
4345
- }
4346
- /**
4347
- * Base class for creating custom elements with Preact.
4348
- * While this class could be used in both Node and the browser, the constructor will only be used in the browser.
4349
- * So we give it a type of HTMLElement to avoid typing issues later where it's used, which will only happen in the browser.
4350
- */
4351
- declare const BaseClass$4: typeof globalThis.HTMLElement;
4352
- declare abstract class PreactCustomElement extends BaseClass$4 {
4353
- /** @private */
4354
- static get observedAttributes(): string[];
4355
- constructor({
4356
- styles,
4357
- ShadowRoot: renderFunction,
4358
- delegatesFocus,
4359
- ...options
4360
- }: RenderImpl);
4361
-
4362
- /** @private */
4363
- setAttribute(name: string, value: string): void;
4364
- /** @private */
4365
- attributeChangedCallback(name: string): void;
4366
- /** @private */
4367
- connectedCallback(): void;
4368
- /** @private */
4369
- disconnectedCallback(): void;
4370
- /** @private */
4371
- adoptedCallback(): void;
4372
- /**
4373
- * Queue a run of the render function.
4374
- * You shouldn't need to call this manually - it should be handled by changes to @property values.
4375
- * @private
4376
- */
4377
- queueRender(): void;
4378
- /**
4379
- * Like the standard `element.click()`, but you can influence the behavior with a `sourceEvent`.
4380
- *
4381
- * For example, if the `sourceEvent` was a middle click, or has particular keys held down,
4382
- * components will attempt to produce the desired behavior on links, such as opening the page in the background tab.
4383
- * @private
4384
- * @param options
4385
- */
4386
- click({sourceEvent}?: ClickOptions): void;
4430
+ declare class PolarisCustomElement extends PreactCustomElement {
4431
+ constructor(renderImpl: Omit<RenderImpl, 'globalShadowCSS'>);
4387
4432
  }
4388
4433
 
4389
4434
  export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
@@ -4444,7 +4489,7 @@ export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
4444
4489
  children?: preact.ComponentChildren;
4445
4490
  }
4446
4491
 
4447
- declare class Avatar extends PreactCustomElement implements AvatarProps {
4492
+ declare class Avatar extends PolarisCustomElement implements AvatarProps {
4448
4493
  accessor initials: AvatarProps['initials'];
4449
4494
  accessor src: AvatarProps['src'];
4450
4495
  accessor size: AvatarProps['size'];
@@ -4453,19 +4498,19 @@ declare class Avatar extends PreactCustomElement implements AvatarProps {
4453
4498
  }
4454
4499
  declare global {
4455
4500
  interface HTMLElementTagNameMap {
4456
- [tagName$Z]: Avatar;
4501
+ [tagName$_]: Avatar;
4457
4502
  }
4458
4503
  }
4459
4504
  declare module 'preact' {
4460
4505
  namespace createElement.JSX {
4461
4506
  interface IntrinsicElements {
4462
- [tagName$Z]: AvatarJSXProps & PreactBaseElementProps<Avatar>;
4507
+ [tagName$_]: ReactProps$_ & PreactBaseElementProps<Avatar>;
4463
4508
  }
4464
4509
  }
4465
4510
  }
4466
4511
 
4467
- declare const tagName$Z = 's-avatar';
4468
- export interface AvatarJSXProps
4512
+ declare const tagName$_ = 's-avatar';
4513
+ export interface ReactProps$_
4469
4514
  extends Partial<AvatarProps>,
4470
4515
  Pick<AvatarProps$1, 'id'> {
4471
4516
  onLoad?: () => void;
@@ -4500,7 +4545,7 @@ export interface BadgeProps
4500
4545
  >;
4501
4546
  }
4502
4547
 
4503
- declare class Badge extends PreactCustomElement implements BadgeProps {
4548
+ declare class Badge extends PolarisCustomElement implements BadgeProps {
4504
4549
  accessor color: BadgeProps['color'];
4505
4550
  accessor icon: BadgeProps['icon'];
4506
4551
  accessor size: BadgeProps['size'];
@@ -4509,18 +4554,18 @@ declare class Badge extends PreactCustomElement implements BadgeProps {
4509
4554
  }
4510
4555
  declare global {
4511
4556
  interface HTMLElementTagNameMap {
4512
- [tagName$Y]: Badge;
4557
+ [tagName$Z]: Badge;
4513
4558
  }
4514
4559
  }
4515
4560
  declare module 'preact' {
4516
4561
  namespace createElement.JSX {
4517
4562
  interface IntrinsicElements {
4518
- [tagName$Y]: BadgeJSXProps & PreactBaseElementPropsWithChildren<Badge>;
4563
+ [tagName$Z]: BadgeJSXProps & PreactBaseElementPropsWithChildren<Badge>;
4519
4564
  }
4520
4565
  }
4521
4566
  }
4522
4567
 
4523
- declare const tagName$Y = 's-badge';
4568
+ declare const tagName$Z = 's-badge';
4524
4569
  export interface BadgeJSXProps
4525
4570
  extends Partial<BadgeProps>,
4526
4571
  Pick<BadgeProps$1, 'id' | 'children'> {
@@ -4542,7 +4587,7 @@ export interface BannerProps
4542
4587
  >;
4543
4588
  }
4544
4589
 
4545
- declare class Banner extends PreactCustomElement implements BannerProps {
4590
+ declare class Banner extends PolarisCustomElement implements BannerProps {
4546
4591
  accessor heading: BannerProps['heading'];
4547
4592
  accessor tone: BannerProps['tone'];
4548
4593
  accessor hidden: BannerProps['hidden'];
@@ -4551,19 +4596,19 @@ declare class Banner extends PreactCustomElement implements BannerProps {
4551
4596
  }
4552
4597
  declare global {
4553
4598
  interface HTMLElementTagNameMap {
4554
- [tagName$X]: Banner;
4599
+ [tagName$Y]: Banner;
4555
4600
  }
4556
4601
  }
4557
4602
  declare module 'preact' {
4558
4603
  namespace createElement.JSX {
4559
4604
  interface IntrinsicElements {
4560
- [tagName$X]: Omit<BannerJSXProps, 'secondaryActions'> &
4605
+ [tagName$Y]: Omit<BannerJSXProps, 'secondaryActions'> &
4561
4606
  PreactBaseElementPropsWithChildren<Banner>;
4562
4607
  }
4563
4608
  }
4564
4609
  }
4565
4610
 
4566
- declare const tagName$X = 's-banner';
4611
+ declare const tagName$Y = 's-banner';
4567
4612
  export interface BannerJSXProps
4568
4613
  extends Partial<BannerProps>,
4569
4614
  Pick<BannerProps$1, 'id' | 'children'> {
@@ -4577,8 +4622,8 @@ export interface BannerJSXProps
4577
4622
  * Only Buttons with the `variant` of "secondary" or "auto" are permitted. A maximum of two `s-button` components are allowed.
4578
4623
  */
4579
4624
  secondaryActions?: ComponentChildren;
4580
- onDismiss?: ((event: CallbackEvent<typeof tagName$X>) => void) | null;
4581
- onAfterHide?: ((event: CallbackEvent<typeof tagName$X>) => void) | null;
4625
+ onDismiss?: ((event: CallbackEvent<typeof tagName$Y>) => void) | null;
4626
+ onAfterHide?: ((event: CallbackEvent<typeof tagName$Y>) => void) | null;
4582
4627
  }
4583
4628
 
4584
4629
  export type MakeResponsive<T> = T | `@container${string}`;
@@ -4827,7 +4872,7 @@ export interface BoxProps
4827
4872
  maxInlineSize: SizeUnitsOrNone;
4828
4873
  }
4829
4874
 
4830
- declare class BoxElement extends PreactCustomElement implements BoxProps {
4875
+ declare class BoxElement extends PolarisCustomElement implements BoxProps {
4831
4876
  constructor(renderImpl: RenderImpl);
4832
4877
  accessor accessibilityRole: BoxProps['accessibilityRole'];
4833
4878
  accessor background: BoxProps['background'];
@@ -4860,18 +4905,18 @@ declare class Box extends BoxElement implements BoxProps {
4860
4905
  }
4861
4906
  declare global {
4862
4907
  interface HTMLElementTagNameMap {
4863
- [tagName$W]: Box;
4908
+ [tagName$X]: Box;
4864
4909
  }
4865
4910
  }
4866
4911
  declare module 'preact' {
4867
4912
  namespace createElement.JSX {
4868
4913
  interface IntrinsicElements {
4869
- [tagName$W]: BoxJSXProps & PreactBaseElementPropsWithChildren<Box>;
4914
+ [tagName$X]: BoxJSXProps & PreactBaseElementPropsWithChildren<Box>;
4870
4915
  }
4871
4916
  }
4872
4917
  }
4873
4918
 
4874
- declare const tagName$W = 's-box';
4919
+ declare const tagName$X = 's-box';
4875
4920
  export interface BoxJSXProps
4876
4921
  extends Partial<BoxProps>,
4877
4922
  Pick<BoxProps$1, 'id' | 'children'> {
@@ -4904,6 +4949,7 @@ export type ButtonBaseProps = Required<
4904
4949
  | 'target'
4905
4950
  | 'href'
4906
4951
  | 'download'
4952
+ | 'inlineSize'
4907
4953
  >
4908
4954
  >;
4909
4955
  export interface ButtonProps extends ButtonBaseProps {
@@ -4940,9 +4986,12 @@ export interface PreactOverlayControlProps
4940
4986
  }
4941
4987
 
4942
4988
  declare const Button_base: (abstract new (
4943
- args_0: RenderImpl,
4944
- ) => PreactCustomElement & PreactOverlayControlProps) &
4945
- Pick<typeof PreactCustomElement, 'prototype' | 'observedAttributes'>;
4989
+ renderImpl: Omit<
4990
+ _shopify_admin_web_component_foundations.RenderImpl,
4991
+ 'globalShadowCSS'
4992
+ >,
4993
+ ) => PolarisCustomElement & PreactOverlayControlProps) &
4994
+ Pick<typeof PolarisCustomElement, 'prototype' | 'observedAttributes'>;
4946
4995
  declare class Button extends Button_base implements ButtonProps {
4947
4996
  accessor disabled: ButtonProps['disabled'];
4948
4997
  accessor icon: ButtonProps['icon'];
@@ -4954,22 +5003,23 @@ declare class Button extends Button_base implements ButtonProps {
4954
5003
  accessor download: ButtonProps['download'];
4955
5004
  accessor type: ButtonProps['type'];
4956
5005
  accessor accessibilityLabel: ButtonProps['accessibilityLabel'];
5006
+ accessor inlineSize: ButtonProps['inlineSize'];
4957
5007
  constructor();
4958
5008
  }
4959
5009
  declare global {
4960
5010
  interface HTMLElementTagNameMap {
4961
- [tagName$V]: Button;
5011
+ [tagName$W]: Button;
4962
5012
  }
4963
5013
  }
4964
5014
  declare module 'preact' {
4965
5015
  namespace createElement.JSX {
4966
5016
  interface IntrinsicElements {
4967
- [tagName$V]: ButtonJSXProps & PreactBaseElementPropsWithChildren<Button>;
5017
+ [tagName$W]: ButtonJSXProps & PreactBaseElementPropsWithChildren<Button>;
4968
5018
  }
4969
5019
  }
4970
5020
  }
4971
5021
 
4972
- declare const tagName$V = 's-button';
5022
+ declare const tagName$W = 's-button';
4973
5023
  export interface ButtonJSXProps
4974
5024
  extends Partial<ButtonProps>,
4975
5025
  Pick<ButtonProps$1, 'id' | 'children'> {
@@ -4977,16 +5027,16 @@ export interface ButtonJSXProps
4977
5027
  * The content of the Button.
4978
5028
  */
4979
5029
  children?: ComponentChildren;
4980
- onClick?: ((event: CallbackEvent<typeof tagName$V>) => void) | null;
4981
- onFocus?: ((event: CallbackEvent<typeof tagName$V>) => void) | null;
4982
- onBlur?: ((event: CallbackEvent<typeof tagName$V>) => void) | null;
5030
+ onClick?: ((event: CallbackEvent<typeof tagName$W>) => void) | null;
5031
+ onFocus?: ((event: CallbackEvent<typeof tagName$W>) => void) | null;
5032
+ onBlur?: ((event: CallbackEvent<typeof tagName$W>) => void) | null;
4983
5033
  }
4984
5034
 
4985
5035
  export interface ButtonGroupProps
4986
5036
  extends Required<Pick<ButtonGroupProps$1, 'gap' | 'accessibilityLabel'>> {}
4987
5037
 
4988
5038
  declare class ButtonGroup
4989
- extends PreactCustomElement
5039
+ extends PolarisCustomElement
4990
5040
  implements ButtonGroupProps
4991
5041
  {
4992
5042
  accessor gap: ButtonGroupProps['gap'];
@@ -4995,13 +5045,13 @@ declare class ButtonGroup
4995
5045
  }
4996
5046
  declare global {
4997
5047
  interface HTMLElementTagNameMap {
4998
- [tagName$U]: ButtonGroup;
5048
+ [tagName$V]: ButtonGroup;
4999
5049
  }
5000
5050
  }
5001
5051
  declare module 'preact' {
5002
5052
  namespace createElement.JSX {
5003
5053
  interface IntrinsicElements {
5004
- [tagName$U]: Omit<
5054
+ [tagName$V]: Omit<
5005
5055
  ButtonGroupJSXProps,
5006
5056
  'primaryAction' | 'secondaryActions'
5007
5057
  > &
@@ -5010,7 +5060,7 @@ declare module 'preact' {
5010
5060
  }
5011
5061
  }
5012
5062
 
5013
- declare const tagName$U = 's-button-group';
5063
+ declare const tagName$V = 's-button-group';
5014
5064
  export interface ButtonGroupJSXProps
5015
5065
  extends Partial<ButtonGroupProps>,
5016
5066
  Pick<ButtonGroupProps$1, 'id' | 'children'> {
@@ -5026,7 +5076,7 @@ export interface ButtonGroupJSXProps
5026
5076
  primaryAction?: ComponentChildren;
5027
5077
  /**
5028
5078
  * Secondary action buttons for the group.
5029
- * Accepts Button elements with a `variant` of `secondary` or `auto`.
5079
+ * Accepts Button or PressButton elements with a `variant` of `secondary` or `auto`.
5030
5080
  */
5031
5081
  secondaryActions?: ComponentChildren;
5032
5082
  }
@@ -5036,7 +5086,7 @@ export type PreactInputProps = Required<
5036
5086
  Pick<TextFieldProps$1, 'disabled' | 'id' | 'name' | 'value'>
5037
5087
  >;
5038
5088
  declare class PreactInputElement
5039
- extends PreactCustomElement
5089
+ extends PolarisCustomElement
5040
5090
  implements PreactInputProps
5041
5091
  {
5042
5092
  static formAssociated: boolean;
@@ -5103,48 +5153,48 @@ declare class Checkbox extends PreactCheckboxElement implements CheckboxProps {
5103
5153
  }
5104
5154
  declare global {
5105
5155
  interface HTMLElementTagNameMap {
5106
- [tagName$T]: Checkbox;
5156
+ [tagName$U]: Checkbox;
5107
5157
  }
5108
5158
  }
5109
5159
  declare module 'preact' {
5110
5160
  namespace createElement.JSX {
5111
5161
  interface IntrinsicElements {
5112
- [tagName$T]: CheckboxJSXProps & PreactBaseElementProps<Checkbox>;
5162
+ [tagName$U]: CheckboxJSXProps & PreactBaseElementProps<Checkbox>;
5113
5163
  }
5114
5164
  }
5115
5165
  }
5116
5166
 
5117
- declare const tagName$T = 's-checkbox';
5167
+ declare const tagName$U = 's-checkbox';
5118
5168
  export interface CheckboxJSXProps
5119
5169
  extends Partial<CheckboxProps>,
5120
5170
  Pick<CheckboxProps$1, 'id'> {
5121
- onChange?: ((event: CallbackEvent<typeof tagName$T>) => void) | null;
5122
- onInput?: ((event: CallbackEvent<typeof tagName$T>) => void) | null;
5171
+ onChange?: ((event: CallbackEvent<typeof tagName$U>) => void) | null;
5172
+ onInput?: ((event: CallbackEvent<typeof tagName$U>) => void) | null;
5123
5173
  }
5124
5174
 
5125
5175
  export interface ChipProps
5126
5176
  extends Required<Pick<ChipProps$2, 'color' | 'accessibilityLabel'>> {}
5127
5177
 
5128
- declare class Chip extends PreactCustomElement implements ChipProps {
5178
+ declare class Chip extends PolarisCustomElement implements ChipProps {
5129
5179
  accessor color: ChipProps['color'];
5130
5180
  accessor accessibilityLabel: ChipProps['accessibilityLabel'];
5131
5181
  constructor();
5132
5182
  }
5133
5183
  declare global {
5134
5184
  interface HTMLElementTagNameMap {
5135
- [tagName$S]: Chip;
5185
+ [tagName$T]: Chip;
5136
5186
  }
5137
5187
  }
5138
5188
  declare module 'preact' {
5139
5189
  namespace createElement.JSX {
5140
5190
  interface IntrinsicElements {
5141
- [tagName$S]: Omit<ChipJSXProps, 'graphic'> &
5191
+ [tagName$T]: Omit<ChipJSXProps, 'graphic'> &
5142
5192
  PreactBaseElementPropsWithChildren<Chip>;
5143
5193
  }
5144
5194
  }
5145
5195
  }
5146
5196
 
5147
- declare const tagName$S = 's-chip';
5197
+ declare const tagName$T = 's-chip';
5148
5198
  export interface ChipJSXProps
5149
5199
  extends Partial<ChipProps>,
5150
5200
  Pick<ChipProps$2, 'id' | 'children'> {
@@ -5172,7 +5222,7 @@ export interface ChoiceProps
5172
5222
  >
5173
5223
  > {}
5174
5224
 
5175
- declare class Choice extends PreactCustomElement implements ChoiceProps {
5225
+ declare class Choice extends PolarisCustomElement implements ChoiceProps {
5176
5226
  accessor disabled: ChoiceProps['disabled'];
5177
5227
  get selected(): boolean;
5178
5228
  set selected(selected: ChoiceProps['selected']);
@@ -5187,19 +5237,19 @@ declare class Choice extends PreactCustomElement implements ChoiceProps {
5187
5237
  }
5188
5238
  declare global {
5189
5239
  interface HTMLElementTagNameMap {
5190
- [tagName$R]: Choice;
5240
+ [tagName$S]: Choice;
5191
5241
  }
5192
5242
  }
5193
5243
  declare module 'preact' {
5194
5244
  namespace createElement.JSX {
5195
5245
  interface IntrinsicElements {
5196
- [tagName$R]: Omit<ChoiceJSXProps, 'details'> &
5246
+ [tagName$S]: Omit<ChoiceJSXProps, 'details' | 'secondaryContent'> &
5197
5247
  PreactBaseElementPropsWithChildren<Choice>;
5198
5248
  }
5199
5249
  }
5200
5250
  }
5201
5251
 
5202
- declare const tagName$R = 's-choice';
5252
+ declare const tagName$S = 's-choice';
5203
5253
  export interface ChoiceJSXProps
5204
5254
  extends Partial<ChoiceProps>,
5205
5255
  Pick<ChoiceProps$1, 'id' | 'children' | 'details'> {
@@ -5220,6 +5270,12 @@ export interface ChoiceJSXProps
5220
5270
  * @implementation this content should be linked to the input with an `aria-describedby` attribute.
5221
5271
  */
5222
5272
  details?: ComponentChildren;
5273
+ /**
5274
+ * Additional content to display below the choice label.
5275
+ * Can include rich content like TextFields, Buttons, or other interactive components.
5276
+ * Event handlers on React components are preserved.
5277
+ */
5278
+ secondaryContent?: ComponentChildren;
5223
5279
  }
5224
5280
 
5225
5281
  export interface ChoiceListProps
@@ -5238,7 +5294,7 @@ export interface ChoiceListProps
5238
5294
  > {}
5239
5295
 
5240
5296
  declare const internals$3: unique symbol;
5241
- declare class BaseClass$3 extends PreactCustomElement {
5297
+ declare class BaseClass$3 extends PolarisCustomElement {
5242
5298
  static formAssociated: boolean;
5243
5299
  constructor(renderImpl: RenderImpl);
5244
5300
  /** @private */
@@ -5264,19 +5320,19 @@ declare class ChoiceList extends BaseClass$3 implements ChoiceListProps {
5264
5320
  }
5265
5321
  declare global {
5266
5322
  interface HTMLElementTagNameMap {
5267
- [tagName$Q]: ChoiceList;
5323
+ [tagName$R]: ChoiceList;
5268
5324
  }
5269
5325
  }
5270
5326
  declare module 'preact' {
5271
5327
  namespace createElement.JSX {
5272
5328
  interface IntrinsicElements {
5273
- [tagName$Q]: ChoiceListJSXProps &
5329
+ [tagName$R]: ChoiceListJSXProps &
5274
5330
  PreactBaseElementPropsWithChildren<ChoiceList>;
5275
5331
  }
5276
5332
  }
5277
5333
  }
5278
5334
 
5279
- declare const tagName$Q = 's-choice-list';
5335
+ declare const tagName$R = 's-choice-list';
5280
5336
  export interface ChoiceListJSXProps
5281
5337
  extends Partial<ChoiceListProps>,
5282
5338
  Pick<ChoiceListProps$1, 'id' | 'children'> {
@@ -5286,8 +5342,8 @@ export interface ChoiceListJSXProps
5286
5342
  * Accepts `Choice` components.
5287
5343
  */
5288
5344
  children?: ComponentChildren;
5289
- onChange?: ((event: CallbackEvent<typeof tagName$Q>) => void) | null;
5290
- onInput?: ((event: CallbackEvent<typeof tagName$Q>) => void) | null;
5345
+ onChange?: ((event: CallbackEvent<typeof tagName$R>) => void) | null;
5346
+ onInput?: ((event: CallbackEvent<typeof tagName$R>) => void) | null;
5291
5347
  }
5292
5348
 
5293
5349
  export type ClickableBaseProps = Required<
@@ -5311,7 +5367,7 @@ export interface ClickableProps
5311
5367
  ClickableBaseProps {}
5312
5368
 
5313
5369
  declare const Clickable_base: (abstract new (
5314
- renderImpl: RenderImpl,
5370
+ renderImpl: _shopify_admin_web_component_foundations.RenderImpl,
5315
5371
  ) => BoxElement & PreactOverlayControlProps) &
5316
5372
  Pick<typeof BoxElement, 'prototype' | 'observedAttributes'>;
5317
5373
  declare class Clickable extends Clickable_base implements ClickableProps {
@@ -5325,19 +5381,19 @@ declare class Clickable extends Clickable_base implements ClickableProps {
5325
5381
  }
5326
5382
  declare global {
5327
5383
  interface HTMLElementTagNameMap {
5328
- [tagName$P]: Clickable;
5384
+ [tagName$Q]: Clickable;
5329
5385
  }
5330
5386
  }
5331
5387
  declare module 'preact' {
5332
5388
  namespace createElement.JSX {
5333
5389
  interface IntrinsicElements {
5334
- [tagName$P]: ClickableJSXProps &
5390
+ [tagName$Q]: ClickableJSXProps &
5335
5391
  PreactBaseElementPropsWithChildren<Clickable>;
5336
5392
  }
5337
5393
  }
5338
5394
  }
5339
5395
 
5340
- declare const tagName$P = 's-clickable';
5396
+ declare const tagName$Q = 's-clickable';
5341
5397
  export interface ClickableJSXProps
5342
5398
  extends Partial<ClickableProps>,
5343
5399
  Pick<ClickableProps$1, 'id' | 'children'> {
@@ -5345,9 +5401,9 @@ export interface ClickableJSXProps
5345
5401
  * The content of the Clickable.
5346
5402
  */
5347
5403
  children?: ComponentChildren;
5348
- onClick?: ((event: CallbackEvent<typeof tagName$P>) => void) | null;
5349
- onFocus?: ((event: CallbackEvent<typeof tagName$P>) => void) | null;
5350
- onBlur?: ((event: CallbackEvent<typeof tagName$P>) => void) | null;
5404
+ onClick?: ((event: CallbackEvent<typeof tagName$Q>) => void) | null;
5405
+ onFocus?: ((event: CallbackEvent<typeof tagName$Q>) => void) | null;
5406
+ onBlur?: ((event: CallbackEvent<typeof tagName$Q>) => void) | null;
5351
5407
  }
5352
5408
 
5353
5409
  export interface ClickableChipProps
@@ -5367,9 +5423,12 @@ export interface ClickableChipProps
5367
5423
  > {}
5368
5424
 
5369
5425
  declare const ClickableChip_base: (abstract new (
5370
- args_0: RenderImpl,
5371
- ) => PreactCustomElement & PreactOverlayControlProps) &
5372
- Pick<typeof PreactCustomElement, 'prototype' | 'observedAttributes'>;
5426
+ renderImpl: Omit<
5427
+ _shopify_admin_web_component_foundations.RenderImpl,
5428
+ 'globalShadowCSS'
5429
+ >,
5430
+ ) => PolarisCustomElement & PreactOverlayControlProps) &
5431
+ Pick<typeof PolarisCustomElement, 'prototype' | 'observedAttributes'>;
5373
5432
  declare class ClickableChip
5374
5433
  extends ClickableChip_base
5375
5434
  implements ClickableChipProps
@@ -5384,19 +5443,19 @@ declare class ClickableChip
5384
5443
  }
5385
5444
  declare global {
5386
5445
  interface HTMLElementTagNameMap {
5387
- [tagName$O]: ClickableChip;
5446
+ [tagName$P]: ClickableChip;
5388
5447
  }
5389
5448
  }
5390
5449
  declare module 'preact' {
5391
5450
  namespace createElement.JSX {
5392
5451
  interface IntrinsicElements {
5393
- [tagName$O]: Omit<ClickableChipJSXProps, 'graphic'> &
5452
+ [tagName$P]: Omit<ClickableChipJSXProps, 'graphic'> &
5394
5453
  PreactBaseElementPropsWithChildren<ClickableChip>;
5395
5454
  }
5396
5455
  }
5397
5456
  }
5398
5457
 
5399
- declare const tagName$O = 's-clickable-chip';
5458
+ declare const tagName$P = 's-clickable-chip';
5400
5459
  export interface ClickableChipJSXProps
5401
5460
  extends Partial<ClickableChipProps>,
5402
5461
  Pick<ClickableChipProps$1, 'id' | 'children'> {
@@ -5410,9 +5469,9 @@ export interface ClickableChipJSXProps
5410
5469
  * Only accepts `Icon` components.
5411
5470
  */
5412
5471
  graphic?: ComponentChildren;
5413
- onClick?: ((event: CallbackEvent<typeof tagName$O>) => void) | null;
5414
- onRemove?: ((event: CallbackEvent<typeof tagName$O>) => void) | null;
5415
- onAfterHide?: ((event: CallbackEvent<typeof tagName$O>) => void) | null;
5472
+ onClick?: ((event: CallbackEvent<typeof tagName$P>) => void) | null;
5473
+ onRemove?: ((event: CallbackEvent<typeof tagName$P>) => void) | null;
5474
+ onAfterHide?: ((event: CallbackEvent<typeof tagName$P>) => void) | null;
5416
5475
  }
5417
5476
 
5418
5477
  export type PreactFieldProps<Autocomplete extends string = string> =
@@ -5512,24 +5571,24 @@ declare class ColorField
5512
5571
  }
5513
5572
  declare global {
5514
5573
  interface HTMLElementTagNameMap {
5515
- [tagName$N]: ColorField;
5574
+ [tagName$O]: ColorField;
5516
5575
  }
5517
5576
  }
5518
5577
  declare module 'preact' {
5519
5578
  namespace createElement.JSX {
5520
5579
  interface IntrinsicElements {
5521
- [tagName$N]: ColorFieldJSXProps & PreactBaseElementProps<ColorField>;
5580
+ [tagName$O]: ColorFieldJSXProps & PreactBaseElementProps<ColorField>;
5522
5581
  }
5523
5582
  }
5524
5583
  }
5525
5584
 
5526
- declare const tagName$N = 's-color-field';
5585
+ declare const tagName$O = 's-color-field';
5527
5586
  export interface ColorFieldJSXProps
5528
5587
  extends Partial<Omit<ColorFieldProps, 'accessory'>>,
5529
5588
  Pick<ColorFieldProps$1, 'id' | 'alpha' | 'value' | 'defaultValue'>,
5530
- FieldReactProps<typeof tagName$N> {
5531
- onInput?: (event: CallbackEvent<typeof tagName$N>) => void;
5532
- onChange?: (event: CallbackEvent<typeof tagName$N>) => void;
5589
+ FieldReactProps<typeof tagName$O> {
5590
+ onInput?: (event: CallbackEvent<typeof tagName$O>) => void;
5591
+ onChange?: (event: CallbackEvent<typeof tagName$O>) => void;
5533
5592
  }
5534
5593
 
5535
5594
  export interface ColorPickerProps
@@ -5538,7 +5597,7 @@ export interface ColorPickerProps
5538
5597
  > {}
5539
5598
 
5540
5599
  declare const internals$2: unique symbol;
5541
- declare class BaseClass$2 extends PreactCustomElement {
5600
+ declare class BaseClass$2 extends PolarisCustomElement {
5542
5601
  static formAssociated: boolean;
5543
5602
  constructor(renderImpl: RenderImpl);
5544
5603
  /** @private */
@@ -5555,26 +5614,26 @@ declare class ColorPicker extends BaseClass$2 implements ColorPickerProps {
5555
5614
  }
5556
5615
  declare global {
5557
5616
  interface HTMLElementTagNameMap {
5558
- [tagName$M]: ColorPicker;
5617
+ [tagName$N]: ColorPicker;
5559
5618
  }
5560
5619
  }
5561
5620
  declare module 'preact' {
5562
5621
  namespace createElement.JSX {
5563
5622
  interface IntrinsicElements {
5564
- [tagName$M]: ColorPickerJSXProps & PreactBaseElementProps<ColorPicker>;
5623
+ [tagName$N]: ColorPickerJSXProps & PreactBaseElementProps<ColorPicker>;
5565
5624
  }
5566
5625
  }
5567
5626
  }
5568
5627
 
5569
- declare const tagName$M = 's-color-picker';
5628
+ declare const tagName$N = 's-color-picker';
5570
5629
  export interface ColorPickerJSXProps
5571
5630
  extends Partial<ColorPickerProps>,
5572
5631
  Pick<
5573
5632
  ColorPickerProps$1,
5574
5633
  'id' | 'alpha' | 'value' | 'defaultValue' | 'name'
5575
5634
  > {
5576
- onInput?: (event: CallbackEvent<typeof tagName$M>) => void | null;
5577
- onChange?: (event: CallbackEvent<typeof tagName$M>) => void | null;
5635
+ onInput?: (event: CallbackEvent<typeof tagName$N>) => void | null;
5636
+ onChange?: (event: CallbackEvent<typeof tagName$N>) => void | null;
5578
5637
  }
5579
5638
 
5580
5639
  export interface DateFieldProps
@@ -5608,27 +5667,27 @@ declare class DateField
5608
5667
  }
5609
5668
  declare global {
5610
5669
  interface HTMLElementTagNameMap {
5611
- [tagName$L]: DateField;
5670
+ [tagName$M]: DateField;
5612
5671
  }
5613
5672
  }
5614
5673
  declare module 'preact' {
5615
5674
  namespace createElement.JSX {
5616
5675
  interface IntrinsicElements {
5617
- [tagName$L]: DateFieldJSXProps & PreactBaseElementProps<DateField>;
5676
+ [tagName$M]: DateFieldJSXProps & PreactBaseElementProps<DateField>;
5618
5677
  }
5619
5678
  }
5620
5679
  }
5621
5680
 
5622
- declare const tagName$L = 's-date-field';
5681
+ declare const tagName$M = 's-date-field';
5623
5682
  export interface DateFieldJSXProps
5624
5683
  extends Partial<DateFieldProps>,
5625
5684
  Pick<DateFieldProps$1, 'id'> {
5626
- onBlur?: ((event: CallbackEvent<typeof tagName$L>) => void) | null;
5627
- onChange?: ((event: CallbackEvent<typeof tagName$L>) => void) | null;
5628
- onFocus?: ((event: CallbackEvent<typeof tagName$L>) => void) | null;
5629
- onInput?: ((event: CallbackEvent<typeof tagName$L>) => void) | null;
5630
- onInvalid?: ((event: CallbackEvent<typeof tagName$L>) => void) | null;
5631
- onViewChange?: ((event: CallbackEvent<typeof tagName$L>) => void) | null;
5685
+ onBlur?: ((event: CallbackEvent<typeof tagName$M>) => void) | null;
5686
+ onChange?: ((event: CallbackEvent<typeof tagName$M>) => void) | null;
5687
+ onFocus?: ((event: CallbackEvent<typeof tagName$M>) => void) | null;
5688
+ onInput?: ((event: CallbackEvent<typeof tagName$M>) => void) | null;
5689
+ onInvalid?: ((event: CallbackEvent<typeof tagName$M>) => void) | null;
5690
+ onViewChange?: ((event: CallbackEvent<typeof tagName$M>) => void) | null;
5632
5691
  }
5633
5692
 
5634
5693
  export interface DatePickerProps
@@ -5651,7 +5710,7 @@ export interface DatePickerProps
5651
5710
 
5652
5711
  declare const internals$1: unique symbol;
5653
5712
  declare const dirtyStateSymbol: unique symbol;
5654
- declare class BaseClass$1 extends PreactCustomElement {
5713
+ declare class BaseClass$1 extends PolarisCustomElement {
5655
5714
  static formAssociated: boolean;
5656
5715
  constructor(renderImpl: RenderImpl);
5657
5716
  /** @private */
@@ -5678,26 +5737,26 @@ declare class DatePicker extends BaseClass$1 implements DatePickerProps {
5678
5737
  }
5679
5738
  declare global {
5680
5739
  interface HTMLElementTagNameMap {
5681
- [tagName$K]: DatePicker;
5740
+ [tagName$L]: DatePicker;
5682
5741
  }
5683
5742
  }
5684
5743
  declare module 'preact' {
5685
5744
  namespace createElement.JSX {
5686
5745
  interface IntrinsicElements {
5687
- [tagName$K]: DatePickerJSXProps & PreactBaseElementProps<DatePicker>;
5746
+ [tagName$L]: DatePickerJSXProps & PreactBaseElementProps<DatePicker>;
5688
5747
  }
5689
5748
  }
5690
5749
  }
5691
5750
 
5692
- declare const tagName$K = 's-date-picker';
5751
+ declare const tagName$L = 's-date-picker';
5693
5752
  export interface DatePickerJSXProps
5694
5753
  extends Partial<DatePickerProps>,
5695
5754
  Pick<DatePickerProps$1, 'id'> {
5696
- onViewChange?: ((event: CallbackEvent<typeof tagName$K>) => void) | null;
5697
- onFocus?: ((event: CallbackEvent<typeof tagName$K>) => void) | null;
5698
- onBlur?: ((event: CallbackEvent<typeof tagName$K>) => void) | null;
5699
- onInput?: ((event: CallbackEvent<typeof tagName$K>) => void) | null;
5700
- onChange?: ((event: CallbackEvent<typeof tagName$K>) => void) | null;
5755
+ onViewChange?: ((event: CallbackEvent<typeof tagName$L>) => void) | null;
5756
+ onFocus?: ((event: CallbackEvent<typeof tagName$L>) => void) | null;
5757
+ onBlur?: ((event: CallbackEvent<typeof tagName$L>) => void) | null;
5758
+ onInput?: ((event: CallbackEvent<typeof tagName$L>) => void) | null;
5759
+ onChange?: ((event: CallbackEvent<typeof tagName$L>) => void) | null;
5701
5760
  }
5702
5761
 
5703
5762
  export interface DividerProps
@@ -5706,25 +5765,25 @@ export interface DividerProps
5706
5765
  color: Extract<DividerProps$1['color'], 'base' | 'strong'>;
5707
5766
  }
5708
5767
 
5709
- declare class Divider extends PreactCustomElement implements DividerProps {
5768
+ declare class Divider extends PolarisCustomElement implements DividerProps {
5710
5769
  accessor direction: DividerProps['direction'];
5711
5770
  accessor color: DividerProps['color'];
5712
5771
  constructor();
5713
5772
  }
5714
5773
  declare global {
5715
5774
  interface HTMLElementTagNameMap {
5716
- [tagName$J]: Divider;
5775
+ [tagName$K]: Divider;
5717
5776
  }
5718
5777
  }
5719
5778
  declare module 'preact' {
5720
5779
  namespace createElement.JSX {
5721
5780
  interface IntrinsicElements {
5722
- [tagName$J]: DividerJSXProps & PreactBaseElementProps<Divider>;
5781
+ [tagName$K]: DividerJSXProps & PreactBaseElementProps<Divider>;
5723
5782
  }
5724
5783
  }
5725
5784
  }
5726
5785
 
5727
- declare const tagName$J = 's-divider';
5786
+ declare const tagName$K = 's-divider';
5728
5787
  export interface DividerJSXProps
5729
5788
  extends Partial<DividerProps>,
5730
5789
  Pick<DividerProps$1, 'id'> {}
@@ -5753,7 +5812,7 @@ declare const setFiles: unique symbol;
5753
5812
 
5754
5813
  declare const internals: unique symbol;
5755
5814
  declare const getFileInput: unique symbol;
5756
- declare class BaseClass extends PreactCustomElement {
5815
+ declare class BaseClass extends PolarisCustomElement {
5757
5816
  static formAssociated: boolean;
5758
5817
  constructor(renderImpl: RenderImpl);
5759
5818
  /** @private */
@@ -5789,19 +5848,19 @@ declare class DropZone extends BaseClass implements DropZoneProps {
5789
5848
  }
5790
5849
  declare global {
5791
5850
  interface HTMLElementTagNameMap {
5792
- [tagName$I]: DropZone;
5851
+ [tagName$J]: DropZone;
5793
5852
  }
5794
5853
  }
5795
5854
  declare module 'preact' {
5796
5855
  namespace createElement.JSX {
5797
5856
  interface IntrinsicElements {
5798
- [tagName$I]: DropZoneJSXProps &
5857
+ [tagName$J]: DropZoneJSXProps &
5799
5858
  PreactBaseElementPropsWithChildren<DropZone>;
5800
5859
  }
5801
5860
  }
5802
5861
  }
5803
5862
 
5804
- declare const tagName$I = 's-drop-zone';
5863
+ declare const tagName$J = 's-drop-zone';
5805
5864
  export interface DropZoneJSXProps
5806
5865
  extends Partial<DropZoneProps>,
5807
5866
  Pick<DropZoneProps$1, 'id'> {
@@ -5809,9 +5868,9 @@ export interface DropZoneJSXProps
5809
5868
  * Content to include inside the DropZone container
5810
5869
  */
5811
5870
  children?: ComponentChildren;
5812
- onChange?: ((event: CallbackEvent<typeof tagName$I>) => void) | null;
5813
- onInput?: ((event: CallbackEvent<typeof tagName$I>) => void) | null;
5814
- onDropRejected?: ((event: CallbackEvent<typeof tagName$I>) => void) | null;
5871
+ onChange?: ((event: CallbackEvent<typeof tagName$J>) => void) | null;
5872
+ onInput?: ((event: CallbackEvent<typeof tagName$J>) => void) | null;
5873
+ onDropRejected?: ((event: CallbackEvent<typeof tagName$J>) => void) | null;
5815
5874
  }
5816
5875
 
5817
5876
  export type EmailFieldProps = PreactFieldProps<
@@ -5830,22 +5889,22 @@ declare class EmailField
5830
5889
  }
5831
5890
  declare global {
5832
5891
  interface HTMLElementTagNameMap {
5833
- [tagName$H]: EmailField;
5892
+ [tagName$I]: EmailField;
5834
5893
  }
5835
5894
  }
5836
5895
  declare module 'preact' {
5837
5896
  namespace createElement.JSX {
5838
5897
  interface IntrinsicElements {
5839
- [tagName$H]: EmailFieldJSXProps & PreactBaseElementProps<EmailField>;
5898
+ [tagName$I]: EmailFieldJSXProps & PreactBaseElementProps<EmailField>;
5840
5899
  }
5841
5900
  }
5842
5901
  }
5843
5902
 
5844
- declare const tagName$H = 's-email-field';
5903
+ declare const tagName$I = 's-email-field';
5845
5904
  export interface EmailFieldJSXProps
5846
5905
  extends Partial<Omit<EmailFieldProps, 'accessory'>>,
5847
5906
  Pick<EmailFieldProps$1, 'id'>,
5848
- FieldReactProps<typeof tagName$H> {}
5907
+ FieldReactProps<typeof tagName$I> {}
5849
5908
 
5850
5909
  export type RequiredAlignedProps = Required<GridProps$1>;
5851
5910
  export type ResponsiveGridProps = MakeResponsivePick<
@@ -5976,18 +6035,18 @@ declare class Grid extends BoxElement implements GridProps {
5976
6035
  }
5977
6036
  declare global {
5978
6037
  interface HTMLElementTagNameMap {
5979
- [tagName$G]: Grid;
6038
+ [tagName$H]: Grid;
5980
6039
  }
5981
6040
  }
5982
6041
  declare module 'preact' {
5983
6042
  namespace createElement.JSX {
5984
6043
  interface IntrinsicElements {
5985
- [tagName$G]: GridJSXProps & PreactBaseElementPropsWithChildren<Grid>;
6044
+ [tagName$H]: GridJSXProps & PreactBaseElementPropsWithChildren<Grid>;
5986
6045
  }
5987
6046
  }
5988
6047
  }
5989
6048
 
5990
- declare const tagName$G = 's-grid';
6049
+ declare const tagName$H = 's-grid';
5991
6050
  export interface GridJSXProps
5992
6051
  extends Partial<GridProps>,
5993
6052
  Pick<GridProps$1, 'id' | 'children'> {
@@ -6012,19 +6071,19 @@ declare class GridItem extends BoxElement implements GridItemProps {
6012
6071
  }
6013
6072
  declare global {
6014
6073
  interface HTMLElementTagNameMap {
6015
- [tagName$F]: GridItem;
6074
+ [tagName$G]: GridItem;
6016
6075
  }
6017
6076
  }
6018
6077
  declare module 'preact' {
6019
6078
  namespace createElement.JSX {
6020
6079
  interface IntrinsicElements {
6021
- [tagName$F]: GridItemJSXProps &
6080
+ [tagName$G]: GridItemJSXProps &
6022
6081
  PreactBaseElementPropsWithChildren<GridItem>;
6023
6082
  }
6024
6083
  }
6025
6084
  }
6026
6085
 
6027
- declare const tagName$F = 's-grid-item';
6086
+ declare const tagName$G = 's-grid-item';
6028
6087
  export interface GridItemJSXProps
6029
6088
  extends Partial<GridItemProps>,
6030
6089
  Pick<GridItemProps$1, 'id' | 'children'> {
@@ -6042,7 +6101,7 @@ export interface HeadingProps
6042
6101
  >
6043
6102
  > {}
6044
6103
 
6045
- declare class Heading extends PreactCustomElement implements HeadingProps {
6104
+ declare class Heading extends PolarisCustomElement implements HeadingProps {
6046
6105
  accessor accessibilityRole: HeadingProps['accessibilityRole'];
6047
6106
  accessor lineClamp: HeadingProps['lineClamp'];
6048
6107
  accessor accessibilityVisibility: HeadingProps['accessibilityVisibility'];
@@ -6050,19 +6109,19 @@ declare class Heading extends PreactCustomElement implements HeadingProps {
6050
6109
  }
6051
6110
  declare global {
6052
6111
  interface HTMLElementTagNameMap {
6053
- [tagName$E]: Heading;
6112
+ [tagName$F]: Heading;
6054
6113
  }
6055
6114
  }
6056
6115
  declare module 'preact' {
6057
6116
  namespace createElement.JSX {
6058
6117
  interface IntrinsicElements {
6059
- [tagName$E]: HeadingJSXProps &
6118
+ [tagName$F]: HeadingJSXProps &
6060
6119
  PreactBaseElementPropsWithChildren<Heading>;
6061
6120
  }
6062
6121
  }
6063
6122
  }
6064
6123
 
6065
- declare const tagName$E = 's-heading';
6124
+ declare const tagName$F = 's-heading';
6066
6125
  export interface HeadingJSXProps
6067
6126
  extends Partial<HeadingProps>,
6068
6127
  Pick<HeadingProps$1, 'id' | 'children'> {
@@ -6072,7 +6131,7 @@ export interface HeadingJSXProps
6072
6131
  children?: ComponentChildren;
6073
6132
  }
6074
6133
 
6075
- declare class Icon extends PreactCustomElement implements IconProps {
6134
+ declare class Icon extends PolarisCustomElement implements IconProps {
6076
6135
  accessor color: IconProps['color'];
6077
6136
  accessor tone: IconProps['tone'];
6078
6137
  accessor type: IconProps['type'];
@@ -6082,18 +6141,18 @@ declare class Icon extends PreactCustomElement implements IconProps {
6082
6141
  }
6083
6142
  declare global {
6084
6143
  interface HTMLElementTagNameMap {
6085
- [tagName$D]: Icon;
6144
+ [tagName$E]: Icon;
6086
6145
  }
6087
6146
  }
6088
6147
  declare module 'preact' {
6089
6148
  namespace createElement.JSX {
6090
6149
  interface IntrinsicElements {
6091
- [tagName$D]: IconJSXProps & PreactBaseElementProps<Icon>;
6150
+ [tagName$E]: IconJSXProps & PreactBaseElementProps<Icon>;
6092
6151
  }
6093
6152
  }
6094
6153
  }
6095
6154
 
6096
- declare const tagName$D = 's-icon';
6155
+ declare const tagName$E = 's-icon';
6097
6156
  export interface IconJSXProps
6098
6157
  extends Partial<IconProps>,
6099
6158
  Pick<IconProps$1, 'id'> {}
@@ -6124,7 +6183,7 @@ export interface ImageProps
6124
6183
  >
6125
6184
  > {}
6126
6185
 
6127
- declare class Image extends PreactCustomElement implements ImageProps {
6186
+ declare class Image extends PolarisCustomElement implements ImageProps {
6128
6187
  accessor src: ImageProps['src'];
6129
6188
  accessor srcSet: ImageProps['srcSet'];
6130
6189
  accessor sizes: ImageProps['sizes'];
@@ -6143,23 +6202,23 @@ declare class Image extends PreactCustomElement implements ImageProps {
6143
6202
  }
6144
6203
  declare global {
6145
6204
  interface HTMLElementTagNameMap {
6146
- [tagName$C]: Image;
6205
+ [tagName$D]: Image;
6147
6206
  }
6148
6207
  }
6149
6208
  declare module 'preact' {
6150
6209
  namespace createElement.JSX {
6151
6210
  interface IntrinsicElements {
6152
- [tagName$C]: ImageJSXProps & PreactBaseElementProps<Image>;
6211
+ [tagName$D]: ImageJSXProps & PreactBaseElementProps<Image>;
6153
6212
  }
6154
6213
  }
6155
6214
  }
6156
6215
 
6157
- declare const tagName$C = 's-image';
6216
+ declare const tagName$D = 's-image';
6158
6217
  export interface ImageJSXProps
6159
6218
  extends Partial<ImageProps>,
6160
6219
  Pick<ImageProps$1, 'id'> {
6161
- onError?: ((event: CallbackEvent<typeof tagName$C>) => void) | null;
6162
- onLoad?: ((event: CallbackEvent<typeof tagName$C>) => void) | null;
6220
+ onError?: ((event: CallbackEvent<typeof tagName$D>) => void) | null;
6221
+ onLoad?: ((event: CallbackEvent<typeof tagName$D>) => void) | null;
6163
6222
  }
6164
6223
 
6165
6224
  export type RequiredLinkProps = Required<LinkProps$1>;
@@ -6182,9 +6241,12 @@ export interface LinkProps extends LinkBaseProps {
6182
6241
  }
6183
6242
 
6184
6243
  declare const Link_base: (abstract new (
6185
- args_0: RenderImpl,
6186
- ) => PreactCustomElement & PreactOverlayControlProps) &
6187
- Pick<typeof PreactCustomElement, 'prototype' | 'observedAttributes'>;
6244
+ renderImpl: Omit<
6245
+ _shopify_admin_web_component_foundations.RenderImpl,
6246
+ 'globalShadowCSS'
6247
+ >,
6248
+ ) => PolarisCustomElement & PreactOverlayControlProps) &
6249
+ Pick<typeof PolarisCustomElement, 'prototype' | 'observedAttributes'>;
6188
6250
  declare class Link extends Link_base implements LinkProps {
6189
6251
  accessor tone: LinkProps['tone'];
6190
6252
  accessor accessibilityLabel: LinkProps['accessibilityLabel'];
@@ -6196,18 +6258,18 @@ declare class Link extends Link_base implements LinkProps {
6196
6258
  }
6197
6259
  declare global {
6198
6260
  interface HTMLElementTagNameMap {
6199
- [tagName$B]: Link;
6261
+ [tagName$C]: Link;
6200
6262
  }
6201
6263
  }
6202
6264
  declare module 'preact' {
6203
6265
  namespace createElement.JSX {
6204
6266
  interface IntrinsicElements {
6205
- [tagName$B]: LinkJSXProps & PreactBaseElementPropsWithChildren<Link>;
6267
+ [tagName$C]: LinkJSXProps & PreactBaseElementPropsWithChildren<Link>;
6206
6268
  }
6207
6269
  }
6208
6270
  }
6209
6271
 
6210
- declare const tagName$B = 's-link';
6272
+ declare const tagName$C = 's-link';
6211
6273
  export interface LinkJSXProps
6212
6274
  extends Partial<LinkProps>,
6213
6275
  Pick<LinkProps$1, 'id' | 'lang' | 'children'> {
@@ -6215,29 +6277,29 @@ export interface LinkJSXProps
6215
6277
  * The content of the Link.
6216
6278
  */
6217
6279
  children?: ComponentChildren;
6218
- onClick?: ((event: CallbackEvent<typeof tagName$B>) => void) | null;
6280
+ onClick?: ((event: CallbackEvent<typeof tagName$C>) => void) | null;
6219
6281
  }
6220
6282
 
6221
6283
  export interface ListItemProps extends ListItemProps$1 {}
6222
6284
 
6223
- declare class ListItem extends PreactCustomElement implements ListItemProps {
6285
+ declare class ListItem extends PolarisCustomElement implements ListItemProps {
6224
6286
  constructor();
6225
6287
  }
6226
6288
  declare global {
6227
6289
  interface HTMLElementTagNameMap {
6228
- [tagName$A]: ListItem;
6290
+ [tagName$B]: ListItem;
6229
6291
  }
6230
6292
  }
6231
6293
  declare module 'preact' {
6232
6294
  namespace createElement.JSX {
6233
6295
  interface IntrinsicElements {
6234
- [tagName$A]: ListItemJSXProps &
6296
+ [tagName$B]: ListItemJSXProps &
6235
6297
  PreactBaseElementPropsWithChildren<ListItem>;
6236
6298
  }
6237
6299
  }
6238
6300
  }
6239
6301
 
6240
- declare const tagName$A = 's-list-item';
6302
+ declare const tagName$B = 's-list-item';
6241
6303
  export interface ListItemJSXProps
6242
6304
  extends Partial<ListItemProps>,
6243
6305
  Pick<ListItemProps$1, 'id' | 'children'> {
@@ -6280,7 +6342,7 @@ declare global {
6280
6342
  }
6281
6343
  }
6282
6344
 
6283
- declare class PreactOverlayElement extends PreactCustomElement {
6345
+ declare class PreactOverlayElement extends PolarisCustomElement {
6284
6346
  constructor(renderImpl: RenderImpl);
6285
6347
  /** @private */
6286
6348
  [overlayHidden]: boolean;
@@ -6300,18 +6362,18 @@ declare class Menu extends PreactOverlayElement implements MenuProps {
6300
6362
  }
6301
6363
  declare global {
6302
6364
  interface HTMLElementTagNameMap {
6303
- [tagName$z]: Menu;
6365
+ [tagName$A]: Menu;
6304
6366
  }
6305
6367
  }
6306
6368
  declare module 'preact' {
6307
6369
  namespace createElement.JSX {
6308
6370
  interface IntrinsicElements {
6309
- [tagName$z]: MenuJSXProps & PreactBaseElementPropsWithChildren<Menu>;
6371
+ [tagName$A]: MenuJSXProps & PreactBaseElementPropsWithChildren<Menu>;
6310
6372
  }
6311
6373
  }
6312
6374
  }
6313
6375
 
6314
- declare const tagName$z = 's-menu';
6376
+ declare const tagName$A = 's-menu';
6315
6377
  export interface MenuJSXProps
6316
6378
  extends Partial<MenuProps>,
6317
6379
  Pick<MenuProps$1, 'id' | 'children'> {
@@ -6344,41 +6406,6 @@ export interface ModalProps
6344
6406
  >;
6345
6407
  }
6346
6408
 
6347
- export interface Context<T> {
6348
- readonly defaultValue: T;
6349
- }
6350
- declare class AddedContext<T> extends EventTarget {
6351
- constructor(defaultValue: T);
6352
- get value(): T;
6353
- set value(value: T);
6354
- }
6355
-
6356
- /**
6357
- * A callback which is provided by a context requester and is called with the value satisfying the request.
6358
- * This callback can be called multiple times by context providers as the requested value is changed.
6359
- */
6360
- export type ContextCallback<T> = (value: T) => void;
6361
- /**
6362
- * An event fired by a context requester to signal it desires a named context.
6363
- *
6364
- * A provider should inspect the `context` property of the event to determine if it has a value that can
6365
- * satisfy the request, calling the `callback` with the requested value if so.
6366
- */
6367
- declare class ContextRequestEvent<T> extends Event {
6368
- readonly context: Context<T>;
6369
- readonly callback: ContextCallback<T>;
6370
- constructor(context: Context<T>, callback: ContextCallback<T>);
6371
- }
6372
- declare global {
6373
- interface HTMLElementEventMap {
6374
- /**
6375
- * A 'context-request' event can be emitted by any element which desires
6376
- * a context value to be injected by an external provider.
6377
- */
6378
- 'context-request': ContextRequestEvent<unknown>;
6379
- }
6380
- }
6381
-
6382
6409
  declare const hasOpenChildModal: unique symbol;
6383
6410
 
6384
6411
  declare const show: unique symbol;
@@ -6438,19 +6465,19 @@ declare class Modal extends PreactOverlayElement implements ModalProps {
6438
6465
  }
6439
6466
  declare global {
6440
6467
  interface HTMLElementTagNameMap {
6441
- [tagName$y]: Modal;
6468
+ [tagName$z]: Modal;
6442
6469
  }
6443
6470
  }
6444
6471
  declare module 'preact' {
6445
6472
  namespace createElement.JSX {
6446
6473
  interface IntrinsicElements {
6447
- [tagName$y]: Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'> &
6474
+ [tagName$z]: Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'> &
6448
6475
  PreactBaseElementPropsWithChildren<Modal>;
6449
6476
  }
6450
6477
  }
6451
6478
  }
6452
6479
 
6453
- declare const tagName$y = 's-modal';
6480
+ declare const tagName$z = 's-modal';
6454
6481
  export interface ModalJSXProps
6455
6482
  extends Partial<ModalProps>,
6456
6483
  Pick<ModalProps$1, 'id' | 'children'> {
@@ -6470,10 +6497,10 @@ export interface ModalJSXProps
6470
6497
  * Only `Button` elements with a variant of `secondary` or `auto` are allowed.
6471
6498
  */
6472
6499
  secondaryActions?: ComponentChildren;
6473
- onHide?: ((event: CallbackEvent<typeof tagName$y>) => void) | null;
6474
- onShow?: ((event: CallbackEvent<typeof tagName$y>) => void) | null;
6475
- onAfterHide?: ((event: CallbackEvent<typeof tagName$y>) => void) | null;
6476
- onAfterShow?: ((event: CallbackEvent<typeof tagName$y>) => void) | null;
6500
+ onHide?: ((event: CallbackEvent<typeof tagName$z>) => void) | null;
6501
+ onShow?: ((event: CallbackEvent<typeof tagName$z>) => void) | null;
6502
+ onAfterHide?: ((event: CallbackEvent<typeof tagName$z>) => void) | null;
6503
+ onAfterShow?: ((event: CallbackEvent<typeof tagName$z>) => void) | null;
6477
6504
  }
6478
6505
 
6479
6506
  export type RequiredMoneyFieldProps = Required<MoneyFieldProps$1>;
@@ -6495,21 +6522,21 @@ declare class MoneyField
6495
6522
  }
6496
6523
  declare global {
6497
6524
  interface HTMLElementTagNameMap {
6498
- [tagName$x]: MoneyField;
6525
+ [tagName$y]: MoneyField;
6499
6526
  }
6500
6527
  }
6501
6528
  declare module 'preact' {
6502
6529
  namespace createElement.JSX {
6503
6530
  interface IntrinsicElements {
6504
- [tagName$x]: MoneyFieldJSXProps & PreactBaseElementProps<MoneyField>;
6531
+ [tagName$y]: MoneyFieldJSXProps & PreactBaseElementProps<MoneyField>;
6505
6532
  }
6506
6533
  }
6507
6534
  }
6508
6535
 
6509
- declare const tagName$x = 's-money-field';
6536
+ declare const tagName$y = 's-money-field';
6510
6537
  export interface MoneyFieldJSXProps
6511
6538
  extends Partial<MoneyFieldProps>,
6512
- FieldReactProps<typeof tagName$x>,
6539
+ FieldReactProps<typeof tagName$y>,
6513
6540
  Pick<MoneyFieldProps$1, 'id'> {}
6514
6541
 
6515
6542
  export interface NumberFieldProps
@@ -6542,29 +6569,29 @@ declare class NumberField
6542
6569
  }
6543
6570
  declare global {
6544
6571
  interface HTMLElementTagNameMap {
6545
- [tagName$w]: NumberField;
6572
+ [tagName$x]: NumberField;
6546
6573
  }
6547
6574
  }
6548
6575
  declare module 'preact' {
6549
6576
  namespace createElement.JSX {
6550
6577
  interface IntrinsicElements {
6551
- [tagName$w]: NumberFieldJSXProps & PreactBaseElementProps<NumberField>;
6578
+ [tagName$x]: NumberFieldJSXProps & PreactBaseElementProps<NumberField>;
6552
6579
  }
6553
6580
  }
6554
6581
  }
6555
6582
 
6556
- declare const tagName$w = 's-number-field';
6583
+ declare const tagName$x = 's-number-field';
6557
6584
  export interface NumberFieldJSXProps
6558
6585
  extends Partial<NumberFieldProps>,
6559
6586
  Pick<NumberFieldProps$1, 'id'>,
6560
- FieldReactProps<typeof tagName$w> {}
6587
+ FieldReactProps<typeof tagName$x> {}
6561
6588
 
6562
6589
  export interface OptionProps
6563
6590
  extends Required<
6564
6591
  Pick<OptionProps$1, 'disabled' | 'value' | 'selected' | 'defaultSelected'>
6565
6592
  > {}
6566
6593
 
6567
- declare class Option extends PreactCustomElement implements OptionProps {
6594
+ declare class Option extends PolarisCustomElement implements OptionProps {
6568
6595
  accessor selected: OptionProps['selected'];
6569
6596
  accessor defaultSelected: OptionProps['defaultSelected'];
6570
6597
  accessor value: OptionProps['value'];
@@ -6573,18 +6600,18 @@ declare class Option extends PreactCustomElement implements OptionProps {
6573
6600
  }
6574
6601
  declare global {
6575
6602
  interface HTMLElementTagNameMap {
6576
- [tagName$v]: Option;
6603
+ [tagName$w]: Option;
6577
6604
  }
6578
6605
  }
6579
6606
  declare module 'preact' {
6580
6607
  namespace createElement.JSX {
6581
6608
  interface IntrinsicElements {
6582
- [tagName$v]: OptionJSXProps & PreactBaseElementPropsWithChildren<Option>;
6609
+ [tagName$w]: OptionJSXProps & PreactBaseElementPropsWithChildren<Option>;
6583
6610
  }
6584
6611
  }
6585
6612
  }
6586
6613
 
6587
- declare const tagName$v = 's-option';
6614
+ declare const tagName$w = 's-option';
6588
6615
  export interface OptionJSXProps
6589
6616
  extends Partial<OptionProps>,
6590
6617
  Pick<OptionProps$1, 'id' | 'children'> {
@@ -6598,7 +6625,7 @@ export interface OptionGroupProps
6598
6625
  extends Required<Pick<OptionGroupProps$1, 'disabled' | 'label'>> {}
6599
6626
 
6600
6627
  declare class OptionGroup
6601
- extends PreactCustomElement
6628
+ extends PolarisCustomElement
6602
6629
  implements OptionGroupProps
6603
6630
  {
6604
6631
  accessor disabled: OptionGroupProps['disabled'];
@@ -6607,19 +6634,19 @@ declare class OptionGroup
6607
6634
  }
6608
6635
  declare global {
6609
6636
  interface HTMLElementTagNameMap {
6610
- [tagName$u]: OptionGroup;
6637
+ [tagName$v]: OptionGroup;
6611
6638
  }
6612
6639
  }
6613
6640
  declare module 'preact' {
6614
6641
  namespace createElement.JSX {
6615
6642
  interface IntrinsicElements {
6616
- [tagName$u]: OptionGroupJSXProps &
6643
+ [tagName$v]: OptionGroupJSXProps &
6617
6644
  PreactBaseElementPropsWithChildren<OptionGroup>;
6618
6645
  }
6619
6646
  }
6620
6647
  }
6621
6648
 
6622
- declare const tagName$u = 's-option-group';
6649
+ declare const tagName$v = 's-option-group';
6623
6650
  export interface OptionGroupJSXProps
6624
6651
  extends Partial<OptionGroupProps>,
6625
6652
  Pick<OptionGroupProps$1, 'id' | 'children'> {
@@ -6634,26 +6661,26 @@ export interface OptionGroupJSXProps
6634
6661
  export interface OrderedListProps extends OrderedListProps$1 {}
6635
6662
 
6636
6663
  declare class OrderedList
6637
- extends PreactCustomElement
6664
+ extends PolarisCustomElement
6638
6665
  implements OrderedListProps
6639
6666
  {
6640
6667
  constructor();
6641
6668
  }
6642
6669
  declare global {
6643
6670
  interface HTMLElementTagNameMap {
6644
- [tagName$t]: OrderedList;
6671
+ [tagName$u]: OrderedList;
6645
6672
  }
6646
6673
  }
6647
6674
  declare module 'preact' {
6648
6675
  namespace createElement.JSX {
6649
6676
  interface IntrinsicElements {
6650
- [tagName$t]: OrderedListJSXProps &
6677
+ [tagName$u]: OrderedListJSXProps &
6651
6678
  PreactBaseElementPropsWithChildren<OrderedList>;
6652
6679
  }
6653
6680
  }
6654
6681
  }
6655
6682
 
6656
- declare const tagName$t = 's-ordered-list';
6683
+ declare const tagName$u = 's-ordered-list';
6657
6684
  export interface OrderedListJSXProps
6658
6685
  extends Partial<OrderedListProps>,
6659
6686
  Pick<OrderedListProps$1, 'id'> {
@@ -6670,7 +6697,7 @@ export interface PageProps
6670
6697
  inlineSize: Extract<PageProps$1['inlineSize'], 'base' | 'large' | 'small'>;
6671
6698
  }
6672
6699
 
6673
- declare class Page extends PreactCustomElement implements PageProps {
6700
+ declare class Page extends PolarisCustomElement implements PageProps {
6674
6701
  accessor inlineSize: PageProps['inlineSize'];
6675
6702
  accessor heading: PageProps['heading'];
6676
6703
  constructor();
@@ -6681,13 +6708,13 @@ declare class Page extends PreactCustomElement implements PageProps {
6681
6708
  }
6682
6709
  declare global {
6683
6710
  interface HTMLElementTagNameMap {
6684
- [tagName$s]: Page;
6711
+ [tagName$t]: Page;
6685
6712
  }
6686
6713
  }
6687
6714
  declare module 'preact' {
6688
6715
  namespace createElement.JSX {
6689
6716
  interface IntrinsicElements {
6690
- [tagName$s]: Omit<
6717
+ [tagName$t]: Omit<
6691
6718
  PageJSXProps,
6692
6719
  'aside' | 'primaryAction' | 'secondaryActions' | 'breadcrumbActions'
6693
6720
  > &
@@ -6696,7 +6723,7 @@ declare module 'preact' {
6696
6723
  }
6697
6724
  }
6698
6725
 
6699
- declare const tagName$s = 's-page';
6726
+ declare const tagName$t = 's-page';
6700
6727
  export interface PageJSXProps
6701
6728
  extends Partial<PageProps>,
6702
6729
  Pick<PageProps$1, 'id' | 'children'> {
@@ -6746,7 +6773,7 @@ export interface ParagraphProps
6746
6773
  color: Extract<ParagraphProps$1['color'], 'base' | 'subdued'>;
6747
6774
  }
6748
6775
 
6749
- declare class Paragraph extends PreactCustomElement implements ParagraphProps {
6776
+ declare class Paragraph extends PolarisCustomElement implements ParagraphProps {
6750
6777
  accessor fontVariantNumeric: ParagraphProps['fontVariantNumeric'];
6751
6778
  accessor lineClamp: ParagraphProps['lineClamp'];
6752
6779
  accessor tone: Extract<
@@ -6761,19 +6788,19 @@ declare class Paragraph extends PreactCustomElement implements ParagraphProps {
6761
6788
  }
6762
6789
  declare global {
6763
6790
  interface HTMLElementTagNameMap {
6764
- [tagName$r]: Paragraph;
6791
+ [tagName$s]: Paragraph;
6765
6792
  }
6766
6793
  }
6767
6794
  declare module 'preact' {
6768
6795
  namespace createElement.JSX {
6769
6796
  interface IntrinsicElements {
6770
- [tagName$r]: ParagraphJSXProps &
6797
+ [tagName$s]: ParagraphJSXProps &
6771
6798
  PreactBaseElementPropsWithChildren<Paragraph>;
6772
6799
  }
6773
6800
  }
6774
6801
  }
6775
6802
 
6776
- declare const tagName$r = 's-paragraph';
6803
+ declare const tagName$s = 's-paragraph';
6777
6804
  export interface ParagraphJSXProps
6778
6805
  extends Partial<ParagraphProps>,
6779
6806
  Pick<ParagraphProps$1, 'id' | 'children'> {
@@ -6815,23 +6842,23 @@ declare class PasswordField
6815
6842
  }
6816
6843
  declare global {
6817
6844
  interface HTMLElementTagNameMap {
6818
- [tagName$q]: PasswordField;
6845
+ [tagName$r]: PasswordField;
6819
6846
  }
6820
6847
  }
6821
6848
  declare module 'preact' {
6822
6849
  namespace createElement.JSX {
6823
6850
  interface IntrinsicElements {
6824
- [tagName$q]: PasswordFieldJSXProps &
6851
+ [tagName$r]: PasswordFieldJSXProps &
6825
6852
  PreactBaseElementProps<PasswordField>;
6826
6853
  }
6827
6854
  }
6828
6855
  }
6829
6856
 
6830
- declare const tagName$q = 's-password-field';
6857
+ declare const tagName$r = 's-password-field';
6831
6858
  export interface PasswordFieldJSXProps
6832
6859
  extends Partial<PasswordFieldProps>,
6833
6860
  Pick<PasswordFieldProps$1, 'id'>,
6834
- FieldReactProps<typeof tagName$q> {}
6861
+ FieldReactProps<typeof tagName$r> {}
6835
6862
 
6836
6863
  export interface PopoverProps
6837
6864
  extends Required<
@@ -6860,26 +6887,26 @@ declare class PreactPopoverElement<TTagName extends keyof HTMLElementTagNameMap>
6860
6887
  }
6861
6888
 
6862
6889
  declare class Popover
6863
- extends PreactPopoverElement<typeof tagName$p>
6890
+ extends PreactPopoverElement<typeof tagName$q>
6864
6891
  implements PopoverProps
6865
6892
  {
6866
6893
  constructor();
6867
6894
  }
6868
6895
  declare global {
6869
6896
  interface HTMLElementTagNameMap {
6870
- [tagName$p]: Popover;
6897
+ [tagName$q]: Popover;
6871
6898
  }
6872
6899
  }
6873
6900
  declare module 'preact' {
6874
6901
  namespace createElement.JSX {
6875
6902
  interface IntrinsicElements {
6876
- [tagName$p]: PopoverJSXProps &
6903
+ [tagName$q]: PopoverJSXProps &
6877
6904
  PreactBaseElementPropsWithChildren<Popover>;
6878
6905
  }
6879
6906
  }
6880
6907
  }
6881
6908
 
6882
- declare const tagName$p = 's-popover';
6909
+ declare const tagName$q = 's-popover';
6883
6910
  export interface PopoverJSXProps
6884
6911
  extends Partial<PopoverProps>,
6885
6912
  Pick<PopoverProps$1, 'id' | 'children'> {
@@ -6887,19 +6914,83 @@ export interface PopoverJSXProps
6887
6914
  * The content of the Popover.
6888
6915
  */
6889
6916
  children?: ComponentChildren;
6890
- onHide?: (event: CallbackEvent<typeof tagName$p>) => void | null;
6891
- onShow?: (event: CallbackEvent<typeof tagName$p>) => void | null;
6892
- onAfterHide?: (event: CallbackEvent<typeof tagName$p>) => void | null;
6893
- onAfterShow?: (event: CallbackEvent<typeof tagName$p>) => void | null;
6894
- onToggle?: (event: CallbackToggleEvent<typeof tagName$p>) => void | null;
6895
- onAfterToggle?: (event: CallbackToggleEvent<typeof tagName$p>) => void | null;
6917
+ onHide?: (event: CallbackEvent<typeof tagName$q>) => void | null;
6918
+ onShow?: (event: CallbackEvent<typeof tagName$q>) => void | null;
6919
+ onAfterHide?: (event: CallbackEvent<typeof tagName$q>) => void | null;
6920
+ onAfterShow?: (event: CallbackEvent<typeof tagName$q>) => void | null;
6921
+ onToggle?: (event: CallbackToggleEvent<typeof tagName$q>) => void | null;
6922
+ onAfterToggle?: (event: CallbackToggleEvent<typeof tagName$q>) => void | null;
6923
+ }
6924
+
6925
+ export type PressButtonBaseProps = Required<
6926
+ Pick<
6927
+ PressButtonProps$1,
6928
+ | 'accessibilityLabel'
6929
+ | 'disabled'
6930
+ | 'icon'
6931
+ | 'inlineSize'
6932
+ | 'lang'
6933
+ | 'loading'
6934
+ | 'tone'
6935
+ | 'variant'
6936
+ | 'pressed'
6937
+ | 'defaultPressed'
6938
+ >
6939
+ >;
6940
+ export interface PressButtonProps extends PressButtonBaseProps {
6941
+ tone: Extract<PressButtonProps$1['tone'], 'neutral'>;
6942
+ icon: IconProps['type'];
6943
+ variant: Extract<PressButtonProps$1['variant'], 'secondary' | 'tertiary'>;
6944
+ }
6945
+
6946
+ declare class PressButton
6947
+ extends PolarisCustomElement
6948
+ implements PressButtonProps
6949
+ {
6950
+ accessor disabled: PressButtonProps['disabled'];
6951
+ accessor icon: PressButtonProps['icon'];
6952
+ accessor loading: PressButtonProps['loading'];
6953
+ accessor variant: PressButtonProps['variant'];
6954
+ accessor tone: PressButtonProps['tone'];
6955
+ accessor inlineSize: PressButtonProps['inlineSize'];
6956
+ get pressed(): boolean;
6957
+ set pressed(pressed: PressButtonProps['pressed']);
6958
+ accessor defaultPressed: PressButtonProps['defaultPressed'];
6959
+ accessor accessibilityLabel: PressButtonProps['accessibilityLabel'];
6960
+ constructor();
6961
+ }
6962
+ declare global {
6963
+ interface HTMLElementTagNameMap {
6964
+ [tagName$p]: PressButton;
6965
+ }
6966
+ }
6967
+ declare module 'preact' {
6968
+ namespace createElement.JSX {
6969
+ interface IntrinsicElements {
6970
+ [tagName$p]: PressButtonJSXProps &
6971
+ PreactBaseElementPropsWithChildren<PressButton>;
6972
+ }
6973
+ }
6974
+ }
6975
+
6976
+ declare const tagName$p = 's-press-button';
6977
+ export interface PressButtonJSXProps
6978
+ extends Partial<PressButtonProps>,
6979
+ Pick<PressButtonProps$1, 'children'> {
6980
+ /**
6981
+ * The content of the PressButton.
6982
+ */
6983
+ children?: ComponentChildren;
6984
+ onClick?: ((event: CallbackEvent<typeof tagName$p>) => void) | null;
6985
+ onFocus?: ((event: CallbackEvent<typeof tagName$p>) => void) | null;
6986
+ onBlur?: ((event: CallbackEvent<typeof tagName$p>) => void) | null;
6896
6987
  }
6897
6988
 
6898
6989
  export interface QueryContainerProps
6899
6990
  extends Required<Pick<QueryContainerProps$1, 'id' | 'containerName'>> {}
6900
6991
 
6901
6992
  declare class QueryContainer
6902
- extends PreactCustomElement
6993
+ extends PolarisCustomElement
6903
6994
  implements QueryContainerProps
6904
6995
  {
6905
6996
  accessor containerName: QueryContainerProps['containerName'];
@@ -6994,7 +7085,7 @@ export interface SectionProps
6994
7085
  padding: RequiredSectionProps['padding'];
6995
7086
  }
6996
7087
 
6997
- declare class Section extends PreactCustomElement implements SectionProps {
7088
+ declare class Section extends PolarisCustomElement implements SectionProps {
6998
7089
  constructor();
6999
7090
  /** @private */
7000
7091
  connectedCallback(): void;
@@ -7111,7 +7202,7 @@ export interface SpinnerProps
7111
7202
  size: Extract<SpinnerProps$1['size'], 'large' | 'large-100' | 'base'>;
7112
7203
  }
7113
7204
 
7114
- declare class Spinner extends PreactCustomElement implements SpinnerProps {
7205
+ declare class Spinner extends PolarisCustomElement implements SpinnerProps {
7115
7206
  accessor accessibilityLabel: string;
7116
7207
  accessor size: SpinnerProps['size'];
7117
7208
  constructor();
@@ -7301,7 +7392,7 @@ declare const actualTableVariantSymbol: unique symbol;
7301
7392
  declare const tableHeadersSharedDataSymbol: unique symbol;
7302
7393
  export type ActualTableVariant = 'table' | 'list';
7303
7394
 
7304
- declare class Table extends PreactCustomElement implements TableProps {
7395
+ declare class Table extends PolarisCustomElement implements TableProps {
7305
7396
  accessor variant: TableProps['variant'];
7306
7397
  accessor loading: TableProps['loading'];
7307
7398
  accessor paginate: TableProps['paginate'];
@@ -7311,9 +7402,9 @@ declare class Table extends PreactCustomElement implements TableProps {
7311
7402
  * @private
7312
7403
  * The actual table variant, which is either 'table' or 'list'.
7313
7404
  */
7314
- [actualTableVariantSymbol]: AddedContext<ActualTableVariant>;
7405
+ [actualTableVariantSymbol]: _shopify_admin_web_component_foundations.AddedContext<ActualTableVariant>;
7315
7406
  /** @private */
7316
- [tableHeadersSharedDataSymbol]: AddedContext<
7407
+ [tableHeadersSharedDataSymbol]: _shopify_admin_web_component_foundations.AddedContext<
7317
7408
  {
7318
7409
  listSlot: TableHeaderProps['listSlot'];
7319
7410
  textContent: string;
@@ -7353,7 +7444,7 @@ export interface TableJSXProps
7353
7444
 
7354
7445
  export interface TableBodyProps extends TableBodyProps$1 {}
7355
7446
 
7356
- declare class TableBody extends PreactCustomElement implements TableBodyProps {
7447
+ declare class TableBody extends PolarisCustomElement implements TableBodyProps {
7357
7448
  constructor();
7358
7449
  }
7359
7450
  declare global {
@@ -7384,7 +7475,7 @@ export interface TableCellProps extends TableCellProps$1 {}
7384
7475
 
7385
7476
  declare const headerFormatSymbol: unique symbol;
7386
7477
 
7387
- declare class TableCell extends PreactCustomElement implements TableCellProps {
7478
+ declare class TableCell extends PolarisCustomElement implements TableCellProps {
7388
7479
  constructor();
7389
7480
  /** @private */
7390
7481
  get [headerFormatSymbol](): HeaderFormat;
@@ -7416,7 +7507,7 @@ export interface TableCellJSXProps
7416
7507
  }
7417
7508
 
7418
7509
  declare class TableHeader
7419
- extends PreactCustomElement
7510
+ extends PolarisCustomElement
7420
7511
  implements TableHeaderProps
7421
7512
  {
7422
7513
  accessor listSlot: TableHeaderProps['listSlot'];
@@ -7450,7 +7541,7 @@ export interface TableHeaderJSXProps
7450
7541
  export interface TableHeaderRowProps extends TableHeaderRowProps$1 {}
7451
7542
 
7452
7543
  declare class TableHeaderRow
7453
- extends PreactCustomElement
7544
+ extends PolarisCustomElement
7454
7545
  implements TableHeaderRowProps
7455
7546
  {
7456
7547
  constructor();
@@ -7486,7 +7577,7 @@ export interface TableHeaderRowJSXProps
7486
7577
  export interface TableRowProps
7487
7578
  extends Pick<TableRowProps$1, 'children' | 'clickDelegate'> {}
7488
7579
 
7489
- declare class TableRow extends PreactCustomElement implements TableRowProps {
7580
+ declare class TableRow extends PolarisCustomElement implements TableRowProps {
7490
7581
  constructor();
7491
7582
  accessor clickDelegate: string;
7492
7583
  }
@@ -7534,7 +7625,7 @@ export interface TextProps
7534
7625
  >;
7535
7626
  tone: Extract<
7536
7627
  TextProps$1['tone'],
7537
- 'auto' | 'info' | 'success' | 'warning' | 'critical' | 'neutral' | 'caution'
7628
+ 'auto' | 'neutral' | 'info' | 'success' | 'warning' | 'caution' | 'critical'
7538
7629
  >;
7539
7630
  fontVariantNumeric: Extract<
7540
7631
  TextProps$1['fontVariantNumeric'],
@@ -7542,7 +7633,7 @@ export interface TextProps
7542
7633
  >;
7543
7634
  }
7544
7635
 
7545
- declare class Text extends PreactCustomElement implements TextProps {
7636
+ declare class Text extends PolarisCustomElement implements TextProps {
7546
7637
  accessor fontVariantNumeric: TextProps['fontVariantNumeric'];
7547
7638
  accessor color: TextProps['color'];
7548
7639
  accessor tone: TextProps['tone'];
@@ -7663,7 +7754,7 @@ export interface ThumbnailProps
7663
7754
  >;
7664
7755
  }
7665
7756
 
7666
- declare class Thumbnail extends PreactCustomElement implements ThumbnailProps {
7757
+ declare class Thumbnail extends PolarisCustomElement implements ThumbnailProps {
7667
7758
  accessor src: ThumbnailProps['src'];
7668
7759
  accessor alt: ThumbnailProps['alt'];
7669
7760
  accessor size: ThumbnailProps['size'];
@@ -7757,7 +7848,7 @@ export interface URLFieldJSXProps
7757
7848
  export interface UnorderedListProps extends UnorderedListProps$1 {}
7758
7849
 
7759
7850
  declare class UnorderedList
7760
- extends PreactCustomElement
7851
+ extends PolarisCustomElement
7761
7852
  implements UnorderedListProps
7762
7853
  {
7763
7854
  constructor();
@@ -7806,7 +7897,7 @@ export interface AdminActionJSXProps
7806
7897
  }
7807
7898
 
7808
7899
  declare class AdminAction
7809
- extends PreactCustomElement
7900
+ extends PolarisCustomElement
7810
7901
  implements AdminActionProps
7811
7902
  {
7812
7903
  heading: string;
@@ -7840,7 +7931,7 @@ export interface AdminBlockJSXProps
7840
7931
  Pick<AdminBlockProps$1, 'id'> {}
7841
7932
 
7842
7933
  declare class AdminBlock
7843
- extends PreactCustomElement
7934
+ extends PolarisCustomElement
7844
7935
  implements AdminBlockProps
7845
7936
  {
7846
7937
  heading: string;
@@ -7871,7 +7962,7 @@ export interface AdminPrintActionJSXProps
7871
7962
  Pick<AdminPrintActionProps$1, 'id'> {}
7872
7963
 
7873
7964
  declare class AdminPrintAction
7874
- extends PreactCustomElement
7965
+ extends PolarisCustomElement
7875
7966
  implements AdminPrintActionProps
7876
7967
  {
7877
7968
  src: string;
@@ -7908,7 +7999,7 @@ export interface FormJSXProps extends Partial<FormProps> {
7908
7999
  onReset?: ((event: CallbackEvent<typeof tagName$1>) => void) | null;
7909
8000
  }
7910
8001
 
7911
- declare class Form extends PreactCustomElement implements FormProps {
8002
+ declare class Form extends PolarisCustomElement implements FormProps {
7912
8003
  constructor();
7913
8004
  }
7914
8005
  declare global {
@@ -8016,6 +8107,7 @@ export {
8016
8107
  Paragraph,
8017
8108
  PasswordField,
8018
8109
  Popover,
8110
+ PressButton,
8019
8111
  QueryContainer,
8020
8112
  SearchField,
8021
8113
  Section,
@@ -8041,7 +8133,7 @@ export type {
8041
8133
  AdminActionJSXProps,
8042
8134
  AdminBlockJSXProps,
8043
8135
  AdminPrintActionJSXProps,
8044
- AvatarJSXProps,
8136
+ ReactProps$_AvatarJSXProps,
8045
8137
  BadgeJSXProps,
8046
8138
  BannerJSXProps,
8047
8139
  BoxJSXProps,
@@ -8080,6 +8172,7 @@ export type {
8080
8172
  ParagraphJSXProps,
8081
8173
  PasswordFieldJSXProps,
8082
8174
  PopoverJSXProps,
8175
+ PressButtonJSXProps,
8083
8176
  QueryContainerJSXProps,
8084
8177
  SearchFieldJSXProps,
8085
8178
  SectionJSXProps,
@@ -8165,7 +8258,7 @@ export interface ButtonGroupSlots {
8165
8258
  'primary-action'?: HTMLElement;
8166
8259
  /**
8167
8260
  * Secondary action buttons for the group.
8168
- * Accepts Button elements with a `variant` of `secondary` or `auto`.
8261
+ * Accepts Button or PressButton elements with a `variant` of `secondary` or `auto`.
8169
8262
  */
8170
8263
  'secondary-actions'?: HTMLElement;
8171
8264
  }
@@ -8206,6 +8299,12 @@ export interface ChoiceSlots {
8206
8299
  * @implementation this content should be linked to the input with an `aria-describedby` attribute.
8207
8300
  */
8208
8301
  details?: HTMLElement;
8302
+ /**
8303
+ * Additional content to display below the choice label.
8304
+ * Can include rich content like TextFields, Buttons, or other interactive components.
8305
+ * Event handlers on React components are preserved.
8306
+ */
8307
+ 'secondary-content'?: HTMLElement;
8209
8308
  }
8210
8309
 
8211
8310
  export interface ChoiceListEvents {
@@ -8483,6 +8582,19 @@ export interface PopoverSlots {
8483
8582
  children?: HTMLElement;
8484
8583
  }
8485
8584
 
8585
+ export interface PressButtonEvents {
8586
+ click: CallbackEventListener<typeof tagName> | null = null;
8587
+ blur: CallbackEventListener<typeof tagName> | null = null;
8588
+ focus: CallbackEventListener<typeof tagName> | null = null;
8589
+ }
8590
+
8591
+ export interface PressButtonSlots {
8592
+ /**
8593
+ * The content of the PressButton.
8594
+ */
8595
+ children?: HTMLElement;
8596
+ }
8597
+
8486
8598
  export interface QueryContainerSlots {
8487
8599
  /**
8488
8600
  * The content of the container.
@@ -8694,35 +8806,35 @@ export interface FunctionSettingsEvents {
8694
8806
  declare module 'react' {
8695
8807
  namespace JSX {
8696
8808
  interface IntrinsicElements {
8697
- [tagName$Z]: AvatarJSXProps & ReactBaseElementProps<Avatar>;
8809
+ [tagName$_]: ReactProps$_ & ReactBaseElementProps<Avatar>;
8698
8810
  }
8699
8811
  }
8700
8812
  }
8701
8813
  declare global {
8702
8814
  namespace JSX {
8703
8815
  interface IntrinsicElements {
8704
- [tagName$Z]: AvatarJSXProps & ReactBaseElementProps<Avatar>;
8816
+ [tagName$_]: ReactProps$_ & ReactBaseElementProps<Avatar>;
8705
8817
  }
8706
8818
  }
8707
8819
  }
8708
8820
  declare module 'react' {
8709
8821
  namespace JSX {
8710
8822
  interface IntrinsicElements {
8711
- [tagName$Y]: BadgeJSXProps & ReactBaseElementPropsWithChildren<Badge>;
8823
+ [tagName$Z]: BadgeJSXProps & ReactBaseElementPropsWithChildren<Badge>;
8712
8824
  }
8713
8825
  }
8714
8826
  }
8715
8827
  declare global {
8716
8828
  namespace JSX {
8717
8829
  interface IntrinsicElements {
8718
- [tagName$Y]: BadgeJSXProps & ReactBaseElementPropsWithChildren<Badge>;
8830
+ [tagName$Z]: BadgeJSXProps & ReactBaseElementPropsWithChildren<Badge>;
8719
8831
  }
8720
8832
  }
8721
8833
  }
8722
8834
  declare module 'react' {
8723
8835
  namespace JSX {
8724
8836
  interface IntrinsicElements {
8725
- [tagName$X]: Omit<BannerJSXProps, 'secondaryActions'> &
8837
+ [tagName$Y]: Omit<BannerJSXProps, 'secondaryActions'> &
8726
8838
  ReactBaseElementPropsWithChildren<Banner>;
8727
8839
  }
8728
8840
  }
@@ -8730,7 +8842,7 @@ declare module 'react' {
8730
8842
  declare global {
8731
8843
  namespace JSX {
8732
8844
  interface IntrinsicElements {
8733
- [tagName$X]: Omit<BannerJSXProps, 'secondaryActions'> &
8845
+ [tagName$Y]: Omit<BannerJSXProps, 'secondaryActions'> &
8734
8846
  ReactBaseElementPropsWithChildren<Banner>;
8735
8847
  }
8736
8848
  }
@@ -8738,35 +8850,35 @@ declare global {
8738
8850
  declare module 'react' {
8739
8851
  namespace JSX {
8740
8852
  interface IntrinsicElements {
8741
- [tagName$W]: BoxJSXProps & ReactBaseElementPropsWithChildren<Box>;
8853
+ [tagName$X]: BoxJSXProps & ReactBaseElementPropsWithChildren<Box>;
8742
8854
  }
8743
8855
  }
8744
8856
  }
8745
8857
  declare global {
8746
8858
  namespace JSX {
8747
8859
  interface IntrinsicElements {
8748
- [tagName$W]: BoxJSXProps & ReactBaseElementPropsWithChildren<Box>;
8860
+ [tagName$X]: BoxJSXProps & ReactBaseElementPropsWithChildren<Box>;
8749
8861
  }
8750
8862
  }
8751
8863
  }
8752
8864
  declare module 'react' {
8753
8865
  namespace JSX {
8754
8866
  interface IntrinsicElements {
8755
- [tagName$V]: ButtonJSXProps & ReactBaseElementPropsWithChildren<Button>;
8867
+ [tagName$W]: ButtonJSXProps & ReactBaseElementPropsWithChildren<Button>;
8756
8868
  }
8757
8869
  }
8758
8870
  }
8759
8871
  declare global {
8760
8872
  namespace JSX {
8761
8873
  interface IntrinsicElements {
8762
- [tagName$V]: ButtonJSXProps & ReactBaseElementPropsWithChildren<Button>;
8874
+ [tagName$W]: ButtonJSXProps & ReactBaseElementPropsWithChildren<Button>;
8763
8875
  }
8764
8876
  }
8765
8877
  }
8766
8878
  declare module 'react' {
8767
8879
  namespace JSX {
8768
8880
  interface IntrinsicElements {
8769
- [tagName$U]: Omit<
8881
+ [tagName$V]: Omit<
8770
8882
  ButtonGroupJSXProps,
8771
8883
  'primaryAction' | 'secondaryActions'
8772
8884
  > &
@@ -8777,7 +8889,7 @@ declare module 'react' {
8777
8889
  declare global {
8778
8890
  namespace JSX {
8779
8891
  interface IntrinsicElements {
8780
- [tagName$U]: Omit<
8892
+ [tagName$V]: Omit<
8781
8893
  ButtonGroupJSXProps,
8782
8894
  'primaryAction' | 'secondaryActions'
8783
8895
  > &
@@ -8788,21 +8900,21 @@ declare global {
8788
8900
  declare module 'react' {
8789
8901
  namespace JSX {
8790
8902
  interface IntrinsicElements {
8791
- [tagName$T]: CheckboxJSXProps & ReactBaseElementProps<Checkbox>;
8903
+ [tagName$U]: CheckboxJSXProps & ReactBaseElementProps<Checkbox>;
8792
8904
  }
8793
8905
  }
8794
8906
  }
8795
8907
  declare global {
8796
8908
  namespace JSX {
8797
8909
  interface IntrinsicElements {
8798
- [tagName$T]: CheckboxJSXProps & ReactBaseElementProps<Checkbox>;
8910
+ [tagName$U]: CheckboxJSXProps & ReactBaseElementProps<Checkbox>;
8799
8911
  }
8800
8912
  }
8801
8913
  }
8802
8914
  declare module 'react' {
8803
8915
  namespace JSX {
8804
8916
  interface IntrinsicElements {
8805
- [tagName$S]: Omit<ChipJSXProps, 'graphic'> &
8917
+ [tagName$T]: Omit<ChipJSXProps, 'graphic'> &
8806
8918
  ReactBaseElementPropsWithChildren<Chip>;
8807
8919
  }
8808
8920
  }
@@ -8810,7 +8922,7 @@ declare module 'react' {
8810
8922
  declare global {
8811
8923
  namespace JSX {
8812
8924
  interface IntrinsicElements {
8813
- [tagName$S]: Omit<ChipJSXProps, 'graphic'> &
8925
+ [tagName$T]: Omit<ChipJSXProps, 'graphic'> &
8814
8926
  ReactBaseElementPropsWithChildren<Chip>;
8815
8927
  }
8816
8928
  }
@@ -8818,7 +8930,7 @@ declare global {
8818
8930
  declare module 'react' {
8819
8931
  namespace JSX {
8820
8932
  interface IntrinsicElements {
8821
- [tagName$R]: Omit<ChoiceJSXProps, 'details'> &
8933
+ [tagName$S]: Omit<ChoiceJSXProps, 'details' | 'secondaryContent'> &
8822
8934
  ReactBaseElementPropsWithChildren<Choice>;
8823
8935
  }
8824
8936
  }
@@ -8826,7 +8938,7 @@ declare module 'react' {
8826
8938
  declare global {
8827
8939
  namespace JSX {
8828
8940
  interface IntrinsicElements {
8829
- [tagName$R]: Omit<ChoiceJSXProps, 'details'> &
8941
+ [tagName$S]: Omit<ChoiceJSXProps, 'details' | 'secondaryContent'> &
8830
8942
  ReactBaseElementPropsWithChildren<Choice>;
8831
8943
  }
8832
8944
  }
@@ -8834,7 +8946,7 @@ declare global {
8834
8946
  declare module 'react' {
8835
8947
  namespace JSX {
8836
8948
  interface IntrinsicElements {
8837
- [tagName$Q]: ChoiceListJSXProps &
8949
+ [tagName$R]: ChoiceListJSXProps &
8838
8950
  ReactBaseElementPropsWithChildren<ChoiceList>;
8839
8951
  }
8840
8952
  }
@@ -8842,7 +8954,7 @@ declare module 'react' {
8842
8954
  declare global {
8843
8955
  namespace JSX {
8844
8956
  interface IntrinsicElements {
8845
- [tagName$Q]: ChoiceListJSXProps &
8957
+ [tagName$R]: ChoiceListJSXProps &
8846
8958
  ReactBaseElementPropsWithChildren<ChoiceList>;
8847
8959
  }
8848
8960
  }
@@ -8850,7 +8962,7 @@ declare global {
8850
8962
  declare module 'react' {
8851
8963
  namespace JSX {
8852
8964
  interface IntrinsicElements {
8853
- [tagName$P]: ClickableJSXProps &
8965
+ [tagName$Q]: ClickableJSXProps &
8854
8966
  ReactBaseElementPropsWithChildren<Clickable>;
8855
8967
  }
8856
8968
  }
@@ -8858,7 +8970,7 @@ declare module 'react' {
8858
8970
  declare global {
8859
8971
  namespace JSX {
8860
8972
  interface IntrinsicElements {
8861
- [tagName$P]: ClickableJSXProps &
8973
+ [tagName$Q]: ClickableJSXProps &
8862
8974
  ReactBaseElementPropsWithChildren<Clickable>;
8863
8975
  }
8864
8976
  }
@@ -8866,7 +8978,7 @@ declare global {
8866
8978
  declare module 'react' {
8867
8979
  namespace JSX {
8868
8980
  interface IntrinsicElements {
8869
- [tagName$O]: Omit<ClickableChipJSXProps, 'graphic'> &
8981
+ [tagName$P]: Omit<ClickableChipJSXProps, 'graphic'> &
8870
8982
  ReactBaseElementPropsWithChildren<ClickableChip>;
8871
8983
  }
8872
8984
  }
@@ -8874,7 +8986,7 @@ declare module 'react' {
8874
8986
  declare global {
8875
8987
  namespace JSX {
8876
8988
  interface IntrinsicElements {
8877
- [tagName$O]: Omit<ClickableChipJSXProps, 'graphic'> &
8989
+ [tagName$P]: Omit<ClickableChipJSXProps, 'graphic'> &
8878
8990
  ReactBaseElementPropsWithChildren<ClickableChip>;
8879
8991
  }
8880
8992
  }
@@ -8882,77 +8994,77 @@ declare global {
8882
8994
  declare module 'react' {
8883
8995
  namespace JSX {
8884
8996
  interface IntrinsicElements {
8885
- [tagName$N]: ColorFieldJSXProps & ReactBaseElementProps<ColorField>;
8997
+ [tagName$O]: ColorFieldJSXProps & ReactBaseElementProps<ColorField>;
8886
8998
  }
8887
8999
  }
8888
9000
  }
8889
9001
  declare global {
8890
9002
  namespace JSX {
8891
9003
  interface IntrinsicElements {
8892
- [tagName$N]: ColorFieldJSXProps & ReactBaseElementProps<ColorField>;
9004
+ [tagName$O]: ColorFieldJSXProps & ReactBaseElementProps<ColorField>;
8893
9005
  }
8894
9006
  }
8895
9007
  }
8896
9008
  declare module 'react' {
8897
9009
  namespace JSX {
8898
9010
  interface IntrinsicElements {
8899
- [tagName$M]: ColorPickerJSXProps & ReactBaseElementProps<ColorPicker>;
9011
+ [tagName$N]: ColorPickerJSXProps & ReactBaseElementProps<ColorPicker>;
8900
9012
  }
8901
9013
  }
8902
9014
  }
8903
9015
  declare global {
8904
9016
  namespace JSX {
8905
9017
  interface IntrinsicElements {
8906
- [tagName$M]: ColorPickerJSXProps & ReactBaseElementProps<ColorPicker>;
9018
+ [tagName$N]: ColorPickerJSXProps & ReactBaseElementProps<ColorPicker>;
8907
9019
  }
8908
9020
  }
8909
9021
  }
8910
9022
  declare module 'react' {
8911
9023
  namespace JSX {
8912
9024
  interface IntrinsicElements {
8913
- [tagName$L]: DateFieldJSXProps & ReactBaseElementProps<DateField>;
9025
+ [tagName$M]: DateFieldJSXProps & ReactBaseElementProps<DateField>;
8914
9026
  }
8915
9027
  }
8916
9028
  }
8917
9029
  declare global {
8918
9030
  namespace JSX {
8919
9031
  interface IntrinsicElements {
8920
- [tagName$L]: DateFieldJSXProps & ReactBaseElementProps<DateField>;
9032
+ [tagName$M]: DateFieldJSXProps & ReactBaseElementProps<DateField>;
8921
9033
  }
8922
9034
  }
8923
9035
  }
8924
9036
  declare module 'react' {
8925
9037
  namespace JSX {
8926
9038
  interface IntrinsicElements {
8927
- [tagName$K]: DatePickerJSXProps & ReactBaseElementProps<DatePicker>;
9039
+ [tagName$L]: DatePickerJSXProps & ReactBaseElementProps<DatePicker>;
8928
9040
  }
8929
9041
  }
8930
9042
  }
8931
9043
  declare global {
8932
9044
  namespace JSX {
8933
9045
  interface IntrinsicElements {
8934
- [tagName$K]: DatePickerJSXProps & ReactBaseElementProps<DatePicker>;
9046
+ [tagName$L]: DatePickerJSXProps & ReactBaseElementProps<DatePicker>;
8935
9047
  }
8936
9048
  }
8937
9049
  }
8938
9050
  declare module 'react' {
8939
9051
  namespace JSX {
8940
9052
  interface IntrinsicElements {
8941
- [tagName$J]: DividerJSXProps & ReactBaseElementProps<Divider>;
9053
+ [tagName$K]: DividerJSXProps & ReactBaseElementProps<Divider>;
8942
9054
  }
8943
9055
  }
8944
9056
  }
8945
9057
  declare global {
8946
9058
  namespace JSX {
8947
9059
  interface IntrinsicElements {
8948
- [tagName$J]: DividerJSXProps & ReactBaseElementProps<Divider>;
9060
+ [tagName$K]: DividerJSXProps & ReactBaseElementProps<Divider>;
8949
9061
  }
8950
9062
  }
8951
9063
  }
8952
9064
  declare module 'react' {
8953
9065
  namespace JSX {
8954
9066
  interface IntrinsicElements {
8955
- [tagName$I]: DropZoneJSXProps &
9067
+ [tagName$J]: DropZoneJSXProps &
8956
9068
  ReactBaseElementPropsWithChildren<DropZone>;
8957
9069
  }
8958
9070
  }
@@ -8960,7 +9072,7 @@ declare module 'react' {
8960
9072
  declare global {
8961
9073
  namespace JSX {
8962
9074
  interface IntrinsicElements {
8963
- [tagName$I]: DropZoneJSXProps &
9075
+ [tagName$J]: DropZoneJSXProps &
8964
9076
  ReactBaseElementPropsWithChildren<DropZone>;
8965
9077
  }
8966
9078
  }
@@ -8968,35 +9080,35 @@ declare global {
8968
9080
  declare module 'react' {
8969
9081
  namespace JSX {
8970
9082
  interface IntrinsicElements {
8971
- [tagName$H]: EmailFieldJSXProps & ReactBaseElementProps<EmailField>;
9083
+ [tagName$I]: EmailFieldJSXProps & ReactBaseElementProps<EmailField>;
8972
9084
  }
8973
9085
  }
8974
9086
  }
8975
9087
  declare global {
8976
9088
  namespace JSX {
8977
9089
  interface IntrinsicElements {
8978
- [tagName$H]: EmailFieldJSXProps & ReactBaseElementProps<EmailField>;
9090
+ [tagName$I]: EmailFieldJSXProps & ReactBaseElementProps<EmailField>;
8979
9091
  }
8980
9092
  }
8981
9093
  }
8982
9094
  declare module 'react' {
8983
9095
  namespace JSX {
8984
9096
  interface IntrinsicElements {
8985
- [tagName$G]: GridJSXProps & ReactBaseElementPropsWithChildren<Grid>;
9097
+ [tagName$H]: GridJSXProps & ReactBaseElementPropsWithChildren<Grid>;
8986
9098
  }
8987
9099
  }
8988
9100
  }
8989
9101
  declare global {
8990
9102
  namespace JSX {
8991
9103
  interface IntrinsicElements {
8992
- [tagName$G]: GridJSXProps & ReactBaseElementPropsWithChildren<Grid>;
9104
+ [tagName$H]: GridJSXProps & ReactBaseElementPropsWithChildren<Grid>;
8993
9105
  }
8994
9106
  }
8995
9107
  }
8996
9108
  declare module 'react' {
8997
9109
  namespace JSX {
8998
9110
  interface IntrinsicElements {
8999
- [tagName$F]: GridItemJSXProps &
9111
+ [tagName$G]: GridItemJSXProps &
9000
9112
  ReactBaseElementPropsWithChildren<GridItem>;
9001
9113
  }
9002
9114
  }
@@ -9004,7 +9116,7 @@ declare module 'react' {
9004
9116
  declare global {
9005
9117
  namespace JSX {
9006
9118
  interface IntrinsicElements {
9007
- [tagName$F]: GridItemJSXProps &
9119
+ [tagName$G]: GridItemJSXProps &
9008
9120
  ReactBaseElementPropsWithChildren<GridItem>;
9009
9121
  }
9010
9122
  }
@@ -9012,63 +9124,63 @@ declare global {
9012
9124
  declare module 'react' {
9013
9125
  namespace JSX {
9014
9126
  interface IntrinsicElements {
9015
- [tagName$E]: HeadingJSXProps & ReactBaseElementPropsWithChildren<Heading>;
9127
+ [tagName$F]: HeadingJSXProps & ReactBaseElementPropsWithChildren<Heading>;
9016
9128
  }
9017
9129
  }
9018
9130
  }
9019
9131
  declare global {
9020
9132
  namespace JSX {
9021
9133
  interface IntrinsicElements {
9022
- [tagName$E]: HeadingJSXProps & ReactBaseElementPropsWithChildren<Heading>;
9134
+ [tagName$F]: HeadingJSXProps & ReactBaseElementPropsWithChildren<Heading>;
9023
9135
  }
9024
9136
  }
9025
9137
  }
9026
9138
  declare module 'react' {
9027
9139
  namespace JSX {
9028
9140
  interface IntrinsicElements {
9029
- [tagName$D]: IconJSXProps & ReactBaseElementProps<Icon>;
9141
+ [tagName$E]: IconJSXProps & ReactBaseElementProps<Icon>;
9030
9142
  }
9031
9143
  }
9032
9144
  }
9033
9145
  declare global {
9034
9146
  namespace JSX {
9035
9147
  interface IntrinsicElements {
9036
- [tagName$D]: IconJSXProps & ReactBaseElementProps<Icon>;
9148
+ [tagName$E]: IconJSXProps & ReactBaseElementProps<Icon>;
9037
9149
  }
9038
9150
  }
9039
9151
  }
9040
9152
  declare module 'react' {
9041
9153
  namespace JSX {
9042
9154
  interface IntrinsicElements {
9043
- [tagName$C]: ImageJSXProps & ReactBaseElementProps<Image>;
9155
+ [tagName$D]: ImageJSXProps & ReactBaseElementProps<Image>;
9044
9156
  }
9045
9157
  }
9046
9158
  }
9047
9159
  declare global {
9048
9160
  namespace JSX {
9049
9161
  interface IntrinsicElements {
9050
- [tagName$C]: ImageJSXProps & ReactBaseElementProps<Image>;
9162
+ [tagName$D]: ImageJSXProps & ReactBaseElementProps<Image>;
9051
9163
  }
9052
9164
  }
9053
9165
  }
9054
9166
  declare module 'react' {
9055
9167
  namespace JSX {
9056
9168
  interface IntrinsicElements {
9057
- [tagName$B]: LinkJSXProps & ReactBaseElementPropsWithChildren<Link>;
9169
+ [tagName$C]: LinkJSXProps & ReactBaseElementPropsWithChildren<Link>;
9058
9170
  }
9059
9171
  }
9060
9172
  }
9061
9173
  declare global {
9062
9174
  namespace JSX {
9063
9175
  interface IntrinsicElements {
9064
- [tagName$B]: LinkJSXProps & ReactBaseElementPropsWithChildren<Link>;
9176
+ [tagName$C]: LinkJSXProps & ReactBaseElementPropsWithChildren<Link>;
9065
9177
  }
9066
9178
  }
9067
9179
  }
9068
9180
  declare module 'react' {
9069
9181
  namespace JSX {
9070
9182
  interface IntrinsicElements {
9071
- [tagName$A]: ListItemJSXProps &
9183
+ [tagName$B]: ListItemJSXProps &
9072
9184
  ReactBaseElementPropsWithChildren<ListItem>;
9073
9185
  }
9074
9186
  }
@@ -9076,7 +9188,7 @@ declare module 'react' {
9076
9188
  declare global {
9077
9189
  namespace JSX {
9078
9190
  interface IntrinsicElements {
9079
- [tagName$A]: ListItemJSXProps &
9191
+ [tagName$B]: ListItemJSXProps &
9080
9192
  ReactBaseElementPropsWithChildren<ListItem>;
9081
9193
  }
9082
9194
  }
@@ -9084,21 +9196,21 @@ declare global {
9084
9196
  declare module 'react' {
9085
9197
  namespace JSX {
9086
9198
  interface IntrinsicElements {
9087
- [tagName$z]: MenuJSXProps & ReactBaseElementPropsWithChildren<Menu>;
9199
+ [tagName$A]: MenuJSXProps & ReactBaseElementPropsWithChildren<Menu>;
9088
9200
  }
9089
9201
  }
9090
9202
  }
9091
9203
  declare global {
9092
9204
  namespace JSX {
9093
9205
  interface IntrinsicElements {
9094
- [tagName$z]: MenuJSXProps & ReactBaseElementPropsWithChildren<Menu>;
9206
+ [tagName$A]: MenuJSXProps & ReactBaseElementPropsWithChildren<Menu>;
9095
9207
  }
9096
9208
  }
9097
9209
  }
9098
9210
  declare module 'react' {
9099
9211
  namespace JSX {
9100
9212
  interface IntrinsicElements {
9101
- [tagName$y]: Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'> &
9213
+ [tagName$z]: Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'> &
9102
9214
  ReactBaseElementPropsWithChildren<Modal>;
9103
9215
  }
9104
9216
  }
@@ -9106,7 +9218,7 @@ declare module 'react' {
9106
9218
  declare global {
9107
9219
  namespace JSX {
9108
9220
  interface IntrinsicElements {
9109
- [tagName$y]: Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'> &
9221
+ [tagName$z]: Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'> &
9110
9222
  ReactBaseElementPropsWithChildren<Modal>;
9111
9223
  }
9112
9224
  }
@@ -9114,49 +9226,49 @@ declare global {
9114
9226
  declare module 'react' {
9115
9227
  namespace JSX {
9116
9228
  interface IntrinsicElements {
9117
- [tagName$x]: MoneyFieldJSXProps & ReactBaseElementProps<MoneyField>;
9229
+ [tagName$y]: MoneyFieldJSXProps & ReactBaseElementProps<MoneyField>;
9118
9230
  }
9119
9231
  }
9120
9232
  }
9121
9233
  declare global {
9122
9234
  namespace JSX {
9123
9235
  interface IntrinsicElements {
9124
- [tagName$x]: MoneyFieldJSXProps & ReactBaseElementProps<MoneyField>;
9236
+ [tagName$y]: MoneyFieldJSXProps & ReactBaseElementProps<MoneyField>;
9125
9237
  }
9126
9238
  }
9127
9239
  }
9128
9240
  declare module 'react' {
9129
9241
  namespace JSX {
9130
9242
  interface IntrinsicElements {
9131
- [tagName$w]: NumberFieldJSXProps & ReactBaseElementProps<NumberField>;
9243
+ [tagName$x]: NumberFieldJSXProps & ReactBaseElementProps<NumberField>;
9132
9244
  }
9133
9245
  }
9134
9246
  }
9135
9247
  declare global {
9136
9248
  namespace JSX {
9137
9249
  interface IntrinsicElements {
9138
- [tagName$w]: NumberFieldJSXProps & ReactBaseElementProps<NumberField>;
9250
+ [tagName$x]: NumberFieldJSXProps & ReactBaseElementProps<NumberField>;
9139
9251
  }
9140
9252
  }
9141
9253
  }
9142
9254
  declare module 'react' {
9143
9255
  namespace JSX {
9144
9256
  interface IntrinsicElements {
9145
- [tagName$v]: OptionJSXProps & ReactBaseElementPropsWithChildren<Option>;
9257
+ [tagName$w]: OptionJSXProps & ReactBaseElementPropsWithChildren<Option>;
9146
9258
  }
9147
9259
  }
9148
9260
  }
9149
9261
  declare global {
9150
9262
  namespace JSX {
9151
9263
  interface IntrinsicElements {
9152
- [tagName$v]: OptionJSXProps & ReactBaseElementPropsWithChildren<Option>;
9264
+ [tagName$w]: OptionJSXProps & ReactBaseElementPropsWithChildren<Option>;
9153
9265
  }
9154
9266
  }
9155
9267
  }
9156
9268
  declare module 'react' {
9157
9269
  namespace JSX {
9158
9270
  interface IntrinsicElements {
9159
- [tagName$u]: OptionGroupJSXProps &
9271
+ [tagName$v]: OptionGroupJSXProps &
9160
9272
  ReactBaseElementPropsWithChildren<OptionGroup>;
9161
9273
  }
9162
9274
  }
@@ -9164,7 +9276,7 @@ declare module 'react' {
9164
9276
  declare global {
9165
9277
  namespace JSX {
9166
9278
  interface IntrinsicElements {
9167
- [tagName$u]: OptionGroupJSXProps &
9279
+ [tagName$v]: OptionGroupJSXProps &
9168
9280
  ReactBaseElementPropsWithChildren<OptionGroup>;
9169
9281
  }
9170
9282
  }
@@ -9172,7 +9284,7 @@ declare global {
9172
9284
  declare module 'react' {
9173
9285
  namespace JSX {
9174
9286
  interface IntrinsicElements {
9175
- [tagName$t]: OrderedListJSXProps &
9287
+ [tagName$u]: OrderedListJSXProps &
9176
9288
  ReactBaseElementPropsWithChildren<OrderedList>;
9177
9289
  }
9178
9290
  }
@@ -9180,7 +9292,7 @@ declare module 'react' {
9180
9292
  declare global {
9181
9293
  namespace JSX {
9182
9294
  interface IntrinsicElements {
9183
- [tagName$t]: OrderedListJSXProps &
9295
+ [tagName$u]: OrderedListJSXProps &
9184
9296
  ReactBaseElementPropsWithChildren<OrderedList>;
9185
9297
  }
9186
9298
  }
@@ -9188,7 +9300,7 @@ declare global {
9188
9300
  declare module 'react' {
9189
9301
  namespace JSX {
9190
9302
  interface IntrinsicElements {
9191
- [tagName$s]: Omit<
9303
+ [tagName$t]: Omit<
9192
9304
  PageJSXProps,
9193
9305
  'aside' | 'primaryAction' | 'secondaryActions' | 'breadcrumbActions'
9194
9306
  > &
@@ -9199,7 +9311,7 @@ declare module 'react' {
9199
9311
  declare global {
9200
9312
  namespace JSX {
9201
9313
  interface IntrinsicElements {
9202
- [tagName$s]: Omit<
9314
+ [tagName$t]: Omit<
9203
9315
  PageJSXProps,
9204
9316
  'aside' | 'primaryAction' | 'secondaryActions' | 'breadcrumbActions'
9205
9317
  > &
@@ -9210,7 +9322,7 @@ declare global {
9210
9322
  declare module 'react' {
9211
9323
  namespace JSX {
9212
9324
  interface IntrinsicElements {
9213
- [tagName$r]: ParagraphJSXProps &
9325
+ [tagName$s]: ParagraphJSXProps &
9214
9326
  ReactBaseElementPropsWithChildren<Paragraph>;
9215
9327
  }
9216
9328
  }
@@ -9218,7 +9330,7 @@ declare module 'react' {
9218
9330
  declare global {
9219
9331
  namespace JSX {
9220
9332
  interface IntrinsicElements {
9221
- [tagName$r]: ParagraphJSXProps &
9333
+ [tagName$s]: ParagraphJSXProps &
9222
9334
  ReactBaseElementPropsWithChildren<Paragraph>;
9223
9335
  }
9224
9336
  }
@@ -9226,28 +9338,44 @@ declare global {
9226
9338
  declare module 'react' {
9227
9339
  namespace JSX {
9228
9340
  interface IntrinsicElements {
9229
- [tagName$q]: PasswordFieldJSXProps & ReactBaseElementProps<PasswordField>;
9341
+ [tagName$r]: PasswordFieldJSXProps & ReactBaseElementProps<PasswordField>;
9342
+ }
9343
+ }
9344
+ }
9345
+ declare global {
9346
+ namespace JSX {
9347
+ interface IntrinsicElements {
9348
+ [tagName$r]: PasswordFieldJSXProps & ReactBaseElementProps<PasswordField>;
9349
+ }
9350
+ }
9351
+ }
9352
+ declare module 'react' {
9353
+ namespace JSX {
9354
+ interface IntrinsicElements {
9355
+ [tagName$q]: PopoverJSXProps & ReactBaseElementPropsWithChildren<Popover>;
9230
9356
  }
9231
9357
  }
9232
9358
  }
9233
9359
  declare global {
9234
9360
  namespace JSX {
9235
9361
  interface IntrinsicElements {
9236
- [tagName$q]: PasswordFieldJSXProps & ReactBaseElementProps<PasswordField>;
9362
+ [tagName$q]: PopoverJSXProps & ReactBaseElementPropsWithChildren<Popover>;
9237
9363
  }
9238
9364
  }
9239
9365
  }
9240
9366
  declare module 'react' {
9241
9367
  namespace JSX {
9242
9368
  interface IntrinsicElements {
9243
- [tagName$p]: PopoverJSXProps & ReactBaseElementPropsWithChildren<Popover>;
9369
+ [tagName$p]: PressButtonJSXProps &
9370
+ ReactBaseElementPropsWithChildren<PressButton>;
9244
9371
  }
9245
9372
  }
9246
9373
  }
9247
9374
  declare global {
9248
9375
  namespace JSX {
9249
9376
  interface IntrinsicElements {
9250
- [tagName$p]: PopoverJSXProps & ReactBaseElementPropsWithChildren<Popover>;
9377
+ [tagName$p]: PressButtonJSXProps &
9378
+ ReactBaseElementPropsWithChildren<PressButton>;
9251
9379
  }
9252
9380
  }
9253
9381
  }