@shopify/ui-extensions 2025.10.0-rc.43 → 2025.10.0-rc.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/build/ts/surfaces/admin/components/Avatar.d.ts +1 -0
  2. package/build/ts/surfaces/admin/components/Badge.d.ts +7 -1
  3. package/build/ts/surfaces/admin/components/Banner.d.ts +7 -1
  4. package/build/ts/surfaces/admin/components/Box.d.ts +70 -7
  5. package/build/ts/surfaces/admin/components/Button.d.ts +7 -1
  6. package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +11 -1
  7. package/build/ts/surfaces/admin/components/Checkbox.d.ts +1 -0
  8. package/build/ts/surfaces/admin/components/Chip.d.ts +7 -1
  9. package/build/ts/surfaces/admin/components/Choice.d.ts +8 -1
  10. package/build/ts/surfaces/admin/components/ChoiceList.d.ts +8 -1
  11. package/build/ts/surfaces/admin/components/Clickable.d.ts +71 -7
  12. package/build/ts/surfaces/admin/components/ClickableChip.d.ts +7 -1
  13. package/build/ts/surfaces/admin/components/ColorField.d.ts +1 -0
  14. package/build/ts/surfaces/admin/components/DatePicker.d.ts +1 -0
  15. package/build/ts/surfaces/admin/components/Divider.d.ts +1 -0
  16. package/build/ts/surfaces/admin/components/EmailField.d.ts +1 -0
  17. package/build/ts/surfaces/admin/components/Grid.d.ts +123 -10
  18. package/build/ts/surfaces/admin/components/GridItem.d.ts +71 -7
  19. package/build/ts/surfaces/admin/components/Heading.d.ts +7 -1
  20. package/build/ts/surfaces/admin/components/Icon.d.ts +1 -0
  21. package/build/ts/surfaces/admin/components/Image.d.ts +64 -6
  22. package/build/ts/surfaces/admin/components/Link.d.ts +7 -1
  23. package/build/ts/surfaces/admin/components/ListItem.d.ts +8 -1
  24. package/build/ts/surfaces/admin/components/Modal.d.ts +1 -1
  25. package/build/ts/surfaces/admin/components/MoneyField.d.ts +1 -0
  26. package/build/ts/surfaces/admin/components/NumberField.d.ts +1 -0
  27. package/build/ts/surfaces/admin/components/Option.d.ts +7 -1
  28. package/build/ts/surfaces/admin/components/OptionGroup.d.ts +8 -1
  29. package/build/ts/surfaces/admin/components/OrderedList.d.ts +8 -1
  30. package/build/ts/surfaces/admin/components/Page.d.ts +11 -1
  31. package/build/ts/surfaces/admin/components/Paragraph.d.ts +8 -1
  32. package/build/ts/surfaces/admin/components/PasswordField.d.ts +1 -0
  33. package/build/ts/surfaces/admin/components/SearchField.d.ts +1 -0
  34. package/build/ts/surfaces/admin/components/Section.d.ts +7 -1
  35. package/build/ts/surfaces/admin/components/Select.d.ts +7 -1
  36. package/build/ts/surfaces/admin/components/Spinner.d.ts +1 -0
  37. package/build/ts/surfaces/admin/components/Stack.d.ts +87 -7
  38. package/build/ts/surfaces/admin/components/Switch.d.ts +1 -0
  39. package/build/ts/surfaces/admin/components/Table.d.ts +8 -1
  40. package/build/ts/surfaces/admin/components/TableBody.d.ts +8 -1
  41. package/build/ts/surfaces/admin/components/TableCell.d.ts +8 -1
  42. package/build/ts/surfaces/admin/components/TableHeader.d.ts +8 -1
  43. package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +7 -1
  44. package/build/ts/surfaces/admin/components/TableRow.d.ts +8 -1
  45. package/build/ts/surfaces/admin/components/Text.d.ts +7 -1
  46. package/build/ts/surfaces/admin/components/TextArea.d.ts +1 -0
  47. package/build/ts/surfaces/admin/components/TextField.d.ts +1 -0
  48. package/build/ts/surfaces/admin/components/Thumbnail.d.ts +1 -0
  49. package/build/ts/surfaces/admin/components/Tooltip.d.ts +7 -1
  50. package/build/ts/surfaces/admin/components/URLField.d.ts +1 -0
  51. package/build/ts/surfaces/admin/components/UnorderedList.d.ts +8 -1
  52. package/build/ts/surfaces/admin/components/shared.d.ts +7 -24
  53. package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +1 -1
  54. package/build/tsconfig.tsbuildinfo +1 -1
  55. package/package.json +1 -1
  56. package/src/surfaces/admin/components/Avatar.d.ts +1 -0
  57. package/src/surfaces/admin/components/Badge.d.ts +7 -1
  58. package/src/surfaces/admin/components/Banner.d.ts +7 -1
  59. package/src/surfaces/admin/components/Box.d.ts +70 -7
  60. package/src/surfaces/admin/components/Button.d.ts +7 -1
  61. package/src/surfaces/admin/components/ButtonGroup.d.ts +11 -1
  62. package/src/surfaces/admin/components/Checkbox.d.ts +1 -0
  63. package/src/surfaces/admin/components/Chip.d.ts +7 -1
  64. package/src/surfaces/admin/components/Choice.d.ts +8 -1
  65. package/src/surfaces/admin/components/ChoiceList.d.ts +8 -1
  66. package/src/surfaces/admin/components/Clickable.d.ts +71 -7
  67. package/src/surfaces/admin/components/ClickableChip.d.ts +7 -1
  68. package/src/surfaces/admin/components/ColorField.d.ts +1 -0
  69. package/src/surfaces/admin/components/DatePicker.d.ts +1 -0
  70. package/src/surfaces/admin/components/Divider.d.ts +1 -0
  71. package/src/surfaces/admin/components/EmailField.d.ts +1 -0
  72. package/src/surfaces/admin/components/Grid.d.ts +123 -10
  73. package/src/surfaces/admin/components/GridItem.d.ts +71 -7
  74. package/src/surfaces/admin/components/Heading.d.ts +7 -1
  75. package/src/surfaces/admin/components/Icon.d.ts +1 -0
  76. package/src/surfaces/admin/components/Image.d.ts +64 -6
  77. package/src/surfaces/admin/components/Link.d.ts +7 -1
  78. package/src/surfaces/admin/components/ListItem.d.ts +8 -1
  79. package/src/surfaces/admin/components/Modal.d.ts +1 -1
  80. package/src/surfaces/admin/components/MoneyField.d.ts +1 -0
  81. package/src/surfaces/admin/components/NumberField.d.ts +1 -0
  82. package/src/surfaces/admin/components/Option.d.ts +7 -1
  83. package/src/surfaces/admin/components/OptionGroup.d.ts +8 -1
  84. package/src/surfaces/admin/components/OrderedList.d.ts +8 -1
  85. package/src/surfaces/admin/components/Page.d.ts +11 -1
  86. package/src/surfaces/admin/components/Paragraph.d.ts +8 -1
  87. package/src/surfaces/admin/components/PasswordField.d.ts +1 -0
  88. package/src/surfaces/admin/components/SearchField.d.ts +1 -0
  89. package/src/surfaces/admin/components/Section.d.ts +7 -1
  90. package/src/surfaces/admin/components/Select.d.ts +7 -1
  91. package/src/surfaces/admin/components/Spinner.d.ts +1 -0
  92. package/src/surfaces/admin/components/Stack.d.ts +87 -7
  93. package/src/surfaces/admin/components/Switch.d.ts +1 -0
  94. package/src/surfaces/admin/components/Table.d.ts +8 -1
  95. package/src/surfaces/admin/components/TableBody.d.ts +8 -1
  96. package/src/surfaces/admin/components/TableCell.d.ts +8 -1
  97. package/src/surfaces/admin/components/TableHeader.d.ts +8 -1
  98. package/src/surfaces/admin/components/TableHeaderRow.d.ts +7 -1
  99. package/src/surfaces/admin/components/TableRow.d.ts +8 -1
  100. package/src/surfaces/admin/components/Text.d.ts +7 -1
  101. package/src/surfaces/admin/components/TextArea.d.ts +1 -0
  102. package/src/surfaces/admin/components/TextField.d.ts +1 -0
  103. package/src/surfaces/admin/components/Thumbnail.d.ts +1 -0
  104. package/src/surfaces/admin/components/Tooltip.d.ts +7 -1
  105. package/src/surfaces/admin/components/URLField.d.ts +1 -0
  106. package/src/surfaces/admin/components/UnorderedList.d.ts +8 -1
  107. package/src/surfaces/admin/components/shared.d.ts +7 -24
  108. package/src/surfaces/admin/components.d.ts +323 -146
  109. package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +1 -1
@@ -169,7 +169,7 @@ export interface ExtendableEvent extends Event {
169
169
  interface AggregateError$1<T extends Error> extends Error {
170
170
  errors: T[];
171
171
  }
172
- export interface AggregateErrorEvent<T extends Error> extends ErrorEvent {
172
+ export interface ArgregatedErrorEvent<T extends Error> extends ErrorEvent {
173
173
  error: AggregateError$1<T>;
174
174
  }
175
175
  export type SizeKeyword =
@@ -2100,7 +2100,7 @@ interface ColorPickerProps$1 extends GlobalProps, InputProps {
2100
2100
  * For RGB and RGBA, both the legacy syntax (comma-separated) and modern syntax (space-separate) are supported.
2101
2101
  * @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb
2102
2102
  *
2103
- * If the value is invalid, the component will return an empty string ''.
2103
+ * If the value is invalid, the component will select rgb(0, 0, 0).
2104
2104
  *
2105
2105
  * Note that the `onChange` handler will emit the value in hex.
2106
2106
  */
@@ -2407,19 +2407,12 @@ interface DatePickerProps$1 extends GlobalProps, InputProps, FocusEventProps {
2407
2407
  */
2408
2408
  value?: string;
2409
2409
  /**
2410
- * Callback when any date is selected.
2411
- *
2412
- * - If `type="single"`, fires when a date is selected and happens before `onChange`.
2413
- * - If `type="multiple"`, fires when a date is selected before `onChange`.
2414
- * - If `type="range"`, fires when a first date is selected (with the partial value formatted as `YYYY-MM-DD--`), and when the last date is selected before `onChange`.
2410
+ * Callback when any date is selected. Will fire before `onChange`.
2415
2411
  */
2416
2412
  onInput?: (event: Event) => void;
2417
2413
  /**
2418
- * Callback when the value is committed.
2419
- *
2420
- * - If `type="single"`, fires when a date is selected after `onInput`.
2421
- * - If `type="multiple"`, fires when a date is selected after `onInput`.
2422
- * - If `type="range"`, fires when a range is completed by selecting the end date after `onInput`.
2414
+ * Callback when the `value` is changed. For `type="single"` and `type="multiple"`, this is the same as `onInput`.
2415
+ * For `type="range"`, this is only called when the range is completed by selecting the end date of the range.
2423
2416
  */
2424
2417
  onChange?: (event: Event) => void;
2425
2418
  }
@@ -2439,16 +2432,6 @@ interface DateFieldProps$1
2439
2432
  | 'onViewChange'
2440
2433
  >,
2441
2434
  AutocompleteProps<DateAutocompleteField> {
2442
- /**
2443
- * Callback when the user makes any changes in the field.
2444
- * Also triggered when a date is selected using the date picker popup before `onChange`.
2445
- */
2446
- onInput?: (event: Event) => void;
2447
- /**
2448
- * Callback when the user has **finished editing** a field, e.g. once they have blurred the field.
2449
- * Also triggered when a date is selected using the date picker popup after `onInput`.
2450
- */
2451
- onChange?: (event: Event) => void;
2452
2435
  /**
2453
2436
  * Callback when the field has an invalid date.
2454
2437
  * This callback will be called, if the date typed is invalid or disabled.
@@ -2579,7 +2562,7 @@ interface FunctionSettingsProps$1 extends GlobalProps, FormProps$1 {
2579
2562
  * highlight the fields that caused the errors, and display the error messages
2580
2563
  * to the user.
2581
2564
  */
2582
- onError?: (event: AggregateErrorEvent<FunctionSettingsError>) => void;
2565
+ onError?: (event: ArgregatedErrorEvent<FunctionSettingsError>) => void;
2583
2566
  }
2584
2567
  export interface FunctionSettingsError extends Error {
2585
2568
  /**
@@ -2676,39 +2659,39 @@ export type AlignContentKeyword =
2676
2659
  interface GridProps$1 extends GlobalProps, BaseBoxPropsWithRole, GapProps {
2677
2660
  /**
2678
2661
  Define columns and specify their size.
2679
-
2662
+
2680
2663
  @see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns
2681
2664
  @default 'none'
2682
2665
  */
2683
2666
  gridTemplateColumns?: MaybeResponsive<string>;
2684
2667
  /**
2685
2668
  Define rows and specify their size.
2686
-
2669
+
2687
2670
  @see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-rows
2688
2671
  @default 'none'
2689
2672
  */
2690
2673
  gridTemplateRows?: MaybeResponsive<string>;
2691
2674
  /**
2692
2675
  Aligns the grid items along the inline (row) axis.
2693
-
2676
+
2694
2677
  This overrides the inline value of `placeItems`.
2695
-
2678
+
2696
2679
  @see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-items
2697
2680
  @default '' - meaning no override
2698
2681
  */
2699
2682
  justifyItems?: MaybeResponsive<JustifyItemsKeyword | ''>;
2700
2683
  /**
2701
2684
  Aligns the grid items along the block (column) axis.
2702
-
2685
+
2703
2686
  This overrides the block value of `placeItems`.
2704
-
2687
+
2705
2688
  @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
2706
2689
  @default '' - meaning no override
2707
2690
  */
2708
2691
  alignItems?: MaybeResponsive<AlignItemsKeyword | ''>;
2709
2692
  /**
2710
2693
  A shorthand property for `justify-items` and `align-items`.
2711
-
2694
+
2712
2695
  @see https://developer.mozilla.org/en-US/docs/Web/CSS/place-items
2713
2696
  @default 'normal normal'
2714
2697
  */
@@ -2717,25 +2700,25 @@ interface GridProps$1 extends GlobalProps, BaseBoxPropsWithRole, GapProps {
2717
2700
  >;
2718
2701
  /**
2719
2702
  Aligns the grid along the inline (row) axis.
2720
-
2703
+
2721
2704
  This overrides the inline value of `placeContent`.
2722
-
2705
+
2723
2706
  @see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
2724
2707
  @default '' - meaning no override
2725
2708
  */
2726
2709
  justifyContent?: MaybeResponsive<JustifyContentKeyword | ''>;
2727
2710
  /**
2728
2711
  Aligns the grid along the block (column) axis.
2729
-
2712
+
2730
2713
  This overrides the block value of `placeContent`.
2731
-
2714
+
2732
2715
  @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
2733
2716
  @default '' - meaning no override
2734
2717
  */
2735
2718
  alignContent?: MaybeResponsive<AlignContentKeyword | ''>;
2736
2719
  /**
2737
2720
  A shorthand property for `justify-content` and `align-content`.
2738
-
2721
+
2739
2722
  @see https://developer.mozilla.org/en-US/docs/Web/CSS/place-content
2740
2723
  @default 'normal normal'
2741
2724
  */
@@ -4389,6 +4372,7 @@ export interface FieldReactProps<T extends keyof HTMLElementTagNameMap> {
4389
4372
  onFocus?: ((event: CallbackEvent<T>) => void) | null;
4390
4373
  onBlur?: ((event: CallbackEvent<T>) => void) | null;
4391
4374
  }
4375
+ /** Used when an element does not have children. */
4392
4376
  export interface PreactBaseElementProps<TClass extends HTMLElement> {
4393
4377
  /** Assigns a unique key to this element. */
4394
4378
  key?: preact.Key;
@@ -4397,6 +4381,11 @@ export interface PreactBaseElementProps<TClass extends HTMLElement> {
4397
4381
  /** Assigns this element to a parent's slot. */
4398
4382
  slot?: Lowercase<string>;
4399
4383
  }
4384
+ /** Used when an element has children. */
4385
+ export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
4386
+ extends PreactBaseElementProps<TClass> {
4387
+ children?: preact.ComponentChildren;
4388
+ }
4400
4389
 
4401
4390
  declare class Avatar extends PreactCustomElement implements AvatarProps {
4402
4391
  accessor initials: AvatarProps['initials'];
@@ -4469,7 +4458,7 @@ declare global {
4469
4458
  declare module 'preact' {
4470
4459
  namespace createElement.JSX {
4471
4460
  interface IntrinsicElements {
4472
- [tagName$Y]: BadgeJSXProps & PreactBaseElementProps<Badge>;
4461
+ [tagName$Y]: BadgeJSXProps & PreactBaseElementPropsWithChildren<Badge>;
4473
4462
  }
4474
4463
  }
4475
4464
  }
@@ -4512,7 +4501,7 @@ declare module 'preact' {
4512
4501
  namespace createElement.JSX {
4513
4502
  interface IntrinsicElements {
4514
4503
  [tagName$X]: Omit<BannerJSXProps, 'secondaryActions'> &
4515
- PreactBaseElementProps<Banner>;
4504
+ PreactBaseElementPropsWithChildren<Banner>;
4516
4505
  }
4517
4506
  }
4518
4507
  }
@@ -4603,10 +4592,20 @@ export interface BoxProps
4603
4592
  | 'minInlineSize'
4604
4593
  | 'overflow'
4605
4594
  > {
4595
+ /**
4596
+ * Adjust the background of the component.
4597
+ *
4598
+ * @default 'transparent'
4599
+ */
4606
4600
  background: Extract<
4607
4601
  RequiredBoxProps['background'],
4608
4602
  'transparent' | 'base' | 'subdued' | 'strong'
4609
4603
  >;
4604
+ /**
4605
+ * Adjust the width of the border.
4606
+ *
4607
+ * @default '' - meaning no override
4608
+ */
4610
4609
  borderWidth:
4611
4610
  | MaybeAllValuesShorthandProperty<
4612
4611
  Extract<
@@ -4615,13 +4614,28 @@ export interface BoxProps
4615
4614
  >
4616
4615
  >
4617
4616
  | Extract<RequiredBoxProps['borderWidth'], ''>;
4617
+ /**
4618
+ * Adjust the style of the border.
4619
+ *
4620
+ * @default '' - meaning no override
4621
+ */
4618
4622
  borderStyle:
4619
4623
  | MaybeAllValuesShorthandProperty<BoxBorderStyles>
4620
4624
  | Extract<RequiredBoxProps['borderStyle'], ''>;
4625
+ /**
4626
+ * Adjust the color of the border.
4627
+ *
4628
+ * @default '' - meaning no override
4629
+ */
4621
4630
  borderColor: Extract<
4622
4631
  RequiredBoxProps['borderColor'],
4623
4632
  'subdued' | 'base' | 'strong' | ''
4624
4633
  >;
4634
+ /**
4635
+ * Adjust the radius of the border.
4636
+ *
4637
+ * @default 'none'
4638
+ */
4625
4639
  borderRadius: MaybeAllValuesShorthandProperty<BoxBorderRadii>;
4626
4640
  /**
4627
4641
  * Adjust the padding of all edges.
@@ -4718,12 +4732,42 @@ export interface BoxProps
4718
4732
  * @default 'auto'
4719
4733
  */
4720
4734
  display: ResponsiveBoxProps['display'];
4721
- blockSize: SizeUnits | 'auto';
4722
- minBlockSize: SizeUnits | '0';
4723
- maxBlockSize: SizeUnits | 'none';
4724
- inlineSize: SizeUnits | 'auto';
4725
- minInlineSize: SizeUnits | '0';
4726
- maxInlineSize: SizeUnits | 'none';
4735
+ /**
4736
+ * Adjust the [block size](https://developer.mozilla.org/en-US/docs/Web/CSS/block-size).
4737
+ *
4738
+ * @default 'auto'
4739
+ */
4740
+ blockSize: SizeUnitsOrAuto;
4741
+ /**
4742
+ * Adjust the [minimum block size](https://developer.mozilla.org/en-US/docs/Web/CSS/min-block-size).
4743
+ *
4744
+ * @default '0'
4745
+ */
4746
+ minBlockSize: SizeUnits;
4747
+ /**
4748
+ * Adjust the [maximum block size](https://developer.mozilla.org/en-US/docs/Web/CSS/max-block-size).
4749
+ *
4750
+ * @default 'none'
4751
+ */
4752
+ maxBlockSize: SizeUnitsOrNone;
4753
+ /**
4754
+ * Adjust the [inline size](https://developer.mozilla.org/en-US/docs/Web/CSS/inline-size).
4755
+ *
4756
+ * @default 'auto'
4757
+ */
4758
+ inlineSize: SizeUnitsOrAuto;
4759
+ /**
4760
+ * Adjust the [minimum inline size](https://developer.mozilla.org/en-US/docs/Web/CSS/min-inline-size).
4761
+ *
4762
+ * @default '0'
4763
+ */
4764
+ minInlineSize: SizeUnits;
4765
+ /**
4766
+ * Adjust the [maximum inline size](https://developer.mozilla.org/en-US/docs/Web/CSS/max-inline-size).
4767
+ *
4768
+ * @default 'none'
4769
+ */
4770
+ maxInlineSize: SizeUnitsOrNone;
4727
4771
  }
4728
4772
 
4729
4773
  declare class BoxElement extends PreactCustomElement implements BoxProps {
@@ -4765,7 +4809,7 @@ declare global {
4765
4809
  declare module 'preact' {
4766
4810
  namespace createElement.JSX {
4767
4811
  interface IntrinsicElements {
4768
- [tagName$W]: BoxJSXProps & PreactBaseElementProps<Box>;
4812
+ [tagName$W]: BoxJSXProps & PreactBaseElementPropsWithChildren<Box>;
4769
4813
  }
4770
4814
  }
4771
4815
  }
@@ -4863,7 +4907,7 @@ declare global {
4863
4907
  declare module 'preact' {
4864
4908
  namespace createElement.JSX {
4865
4909
  interface IntrinsicElements {
4866
- [tagName$V]: ButtonJSXProps & PreactBaseElementProps<Button>;
4910
+ [tagName$V]: ButtonJSXProps & PreactBaseElementPropsWithChildren<Button>;
4867
4911
  }
4868
4912
  }
4869
4913
  }
@@ -4900,7 +4944,11 @@ declare global {
4900
4944
  declare module 'preact' {
4901
4945
  namespace createElement.JSX {
4902
4946
  interface IntrinsicElements {
4903
- [tagName$U]: ButtonGroupJSXProps & PreactBaseElementProps<ButtonGroup>;
4947
+ [tagName$U]: Omit<
4948
+ ButtonGroupJSXProps,
4949
+ 'primaryAction' | 'secondaryActions'
4950
+ > &
4951
+ PreactBaseElementPropsWithChildren<ButtonGroup>;
4904
4952
  }
4905
4953
  }
4906
4954
  }
@@ -5038,7 +5086,7 @@ declare module 'preact' {
5038
5086
  Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
5039
5087
  > &
5040
5088
  Omit<ChipJSXProps, 'graphic'> &
5041
- PreactBaseElementProps<Chip>;
5089
+ PreactBaseElementPropsWithChildren<Chip>;
5042
5090
  }
5043
5091
  }
5044
5092
  }
@@ -5092,7 +5140,8 @@ declare global {
5092
5140
  declare module 'preact' {
5093
5141
  namespace createElement.JSX {
5094
5142
  interface IntrinsicElements {
5095
- [tagName$R]: ChoiceJSXProps & PreactBaseElementProps<Choice>;
5143
+ [tagName$R]: Omit<ChoiceJSXProps, 'details'> &
5144
+ PreactBaseElementPropsWithChildren<Choice>;
5096
5145
  }
5097
5146
  }
5098
5147
  }
@@ -5159,7 +5208,8 @@ declare global {
5159
5208
  declare module 'preact' {
5160
5209
  namespace createElement.JSX {
5161
5210
  interface IntrinsicElements {
5162
- [tagName$Q]: ChoiceListJSXProps & PreactBaseElementProps<ChoiceList>;
5211
+ [tagName$Q]: ChoiceListJSXProps &
5212
+ PreactBaseElementPropsWithChildren<ChoiceList>;
5163
5213
  }
5164
5214
  }
5165
5215
  }
@@ -5219,7 +5269,8 @@ declare global {
5219
5269
  declare module 'preact' {
5220
5270
  namespace createElement.JSX {
5221
5271
  interface IntrinsicElements {
5222
- [tagName$P]: ClickableJSXProps & PreactBaseElementProps<Clickable>;
5272
+ [tagName$P]: ClickableJSXProps &
5273
+ PreactBaseElementPropsWithChildren<Clickable>;
5223
5274
  }
5224
5275
  }
5225
5276
  }
@@ -5275,7 +5326,7 @@ declare module 'preact' {
5275
5326
  Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
5276
5327
  > &
5277
5328
  Omit<ClickableChipJSXProps, 'graphic'> &
5278
- PreactBaseElementProps<ClickableChip>;
5329
+ PreactBaseElementPropsWithChildren<ClickableChip>;
5279
5330
  }
5280
5331
  }
5281
5332
  }
@@ -5737,15 +5788,13 @@ export interface EmailFieldJSXProps
5737
5788
  export type RequiredAlignedProps = Required<GridProps$1>;
5738
5789
  export type ResponsiveGridProps = MakeResponsivePick<
5739
5790
  RequiredAlignedProps,
5740
- 'rowGap' | 'columnGap' | 'gap'
5791
+ 'rowGap' | 'columnGap' | 'gap' | 'gridTemplateColumns' | 'gridTemplateRows'
5741
5792
  >;
5742
5793
  export interface GridProps
5743
5794
  extends BoxProps,
5744
5795
  Required<
5745
5796
  Pick<
5746
5797
  GridProps$1,
5747
- | 'gridTemplateColumns'
5748
- | 'gridTemplateRows'
5749
5798
  | 'alignItems'
5750
5799
  | 'justifyItems'
5751
5800
  | 'placeItems'
@@ -5754,11 +5803,45 @@ export interface GridProps
5754
5803
  | 'placeContent'
5755
5804
  >
5756
5805
  > {
5806
+ /**
5807
+ * Aligns the grid items along the block axis.
5808
+ *
5809
+ * @default '' - meaning no override
5810
+ */
5757
5811
  alignItems: AlignItemsKeyword | '';
5812
+ /**
5813
+ * Aligns the grid items along the inline axis.
5814
+ *
5815
+ * @default '' - meaning no override
5816
+ */
5758
5817
  justifyItems: JustifyItemsKeyword | '';
5818
+ /**
5819
+ * A shorthand property for `justify-items` and `align-items`.
5820
+ *
5821
+ * @default 'normal normal'
5822
+ */
5759
5823
  placeItems: `${AlignItemsKeyword} ${JustifyItemsKeyword}` | AlignItemsKeyword;
5824
+ /**
5825
+ * Aligns the grid along the block axis.
5826
+ *
5827
+ * This overrides the block value of `placeContent`.
5828
+ *
5829
+ * @default '' - meaning no override
5830
+ */
5760
5831
  alignContent: AlignContentKeyword | '';
5832
+ /**
5833
+ * Aligns the grid along the inline axis.
5834
+ *
5835
+ * This overrides the inline value of `placeContent`.
5836
+ *
5837
+ * @default '' - meaning no override
5838
+ */
5761
5839
  justifyContent: JustifyContentKeyword | '';
5840
+ /**
5841
+ * A shorthand property for `justify-content` and `align-content`.
5842
+ *
5843
+ * @default 'normal normal'
5844
+ */
5762
5845
  placeContent:
5763
5846
  | `${AlignContentKeyword} ${JustifyContentKeyword}`
5764
5847
  | AlignContentKeyword;
@@ -5795,6 +5878,24 @@ export interface GridProps
5795
5878
  * @default '' - meaning no override
5796
5879
  */
5797
5880
  columnGap: ResponsiveGridProps['columnGap'];
5881
+ /**
5882
+ * Define columns and specify their size.
5883
+ * `gridTemplateColumns` either accepts:
5884
+ * - [track sizing values](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Basic_concepts_of_grid_layout#fixed_and_flexible_track_sizes) (e.g. `1fr auto`)
5885
+ * - OR [responsive values](https://shopify.dev/docs/api/app-home/using-polaris-components#responsive-values) string with the supported track sizing values as a query value.
5886
+ *
5887
+ * @default 'none'
5888
+ */
5889
+ gridTemplateColumns: ResponsiveGridProps['gridTemplateColumns'];
5890
+ /**
5891
+ * Define rows and specify their size.
5892
+ * `gridTemplateRows` either accepts:
5893
+ * - [track sizing values](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Basic_concepts_of_grid_layout#fixed_and_flexible_track_sizes) (e.g. `1fr auto`)
5894
+ * - OR [responsive values](https://shopify.dev/docs/api/app-home/using-polaris-components#responsive-values) string with the supported track sizing values as a query value.
5895
+ *
5896
+ * @default 'none'
5897
+ */
5898
+ gridTemplateRows: ResponsiveGridProps['gridTemplateRows'];
5798
5899
  }
5799
5900
 
5800
5901
  declare class Grid extends BoxElement implements GridProps {
@@ -5819,7 +5920,7 @@ declare global {
5819
5920
  declare module 'preact' {
5820
5921
  namespace createElement.JSX {
5821
5922
  interface IntrinsicElements {
5822
- [tagName$G]: GridJSXProps & PreactBaseElementProps<Grid>;
5923
+ [tagName$G]: GridJSXProps & PreactBaseElementPropsWithChildren<Grid>;
5823
5924
  }
5824
5925
  }
5825
5926
  }
@@ -5855,7 +5956,8 @@ declare global {
5855
5956
  declare module 'preact' {
5856
5957
  namespace createElement.JSX {
5857
5958
  interface IntrinsicElements {
5858
- [tagName$F]: GridItemJSXProps & PreactBaseElementProps<GridItem>;
5959
+ [tagName$F]: GridItemJSXProps &
5960
+ PreactBaseElementPropsWithChildren<GridItem>;
5859
5961
  }
5860
5962
  }
5861
5963
  }
@@ -5895,7 +5997,8 @@ declare global {
5895
5997
  declare module 'preact' {
5896
5998
  namespace createElement.JSX {
5897
5999
  interface IntrinsicElements {
5898
- [tagName$E]: HeadingJSXProps & PreactBaseElementProps<Heading>;
6000
+ [tagName$E]: HeadingJSXProps &
6001
+ PreactBaseElementPropsWithChildren<Heading>;
5899
6002
  }
5900
6003
  }
5901
6004
  }
@@ -6040,7 +6143,7 @@ declare global {
6040
6143
  declare module 'preact' {
6041
6144
  namespace createElement.JSX {
6042
6145
  interface IntrinsicElements {
6043
- [tagName$B]: LinkJSXProps & PreactBaseElementProps<Link>;
6146
+ [tagName$B]: LinkJSXProps & PreactBaseElementPropsWithChildren<Link>;
6044
6147
  }
6045
6148
  }
6046
6149
  }
@@ -6069,7 +6172,8 @@ declare global {
6069
6172
  declare module 'preact' {
6070
6173
  namespace createElement.JSX {
6071
6174
  interface IntrinsicElements {
6072
- [tagName$A]: ListItemJSXProps & PreactBaseElementProps<ListItem>;
6175
+ [tagName$A]: ListItemJSXProps &
6176
+ PreactBaseElementPropsWithChildren<ListItem>;
6073
6177
  }
6074
6178
  }
6075
6179
  }
@@ -6245,7 +6349,7 @@ declare module 'preact' {
6245
6349
  HTMLAttributes<HTMLElement>,
6246
6350
  Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
6247
6351
  > &
6248
- ModalJSXProps;
6352
+ Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'>;
6249
6353
  }
6250
6354
  }
6251
6355
  }
@@ -6379,7 +6483,7 @@ declare global {
6379
6483
  declare module 'preact' {
6380
6484
  namespace createElement.JSX {
6381
6485
  interface IntrinsicElements {
6382
- [tagName$v]: OptionJSXProps & PreactBaseElementProps<Option>;
6486
+ [tagName$v]: OptionJSXProps & PreactBaseElementPropsWithChildren<Option>;
6383
6487
  }
6384
6488
  }
6385
6489
  }
@@ -6413,7 +6517,8 @@ declare global {
6413
6517
  declare module 'preact' {
6414
6518
  namespace createElement.JSX {
6415
6519
  interface IntrinsicElements {
6416
- [tagName$u]: OptionGroupJSXProps & PreactBaseElementProps<OptionGroup>;
6520
+ [tagName$u]: OptionGroupJSXProps &
6521
+ PreactBaseElementPropsWithChildren<OptionGroup>;
6417
6522
  }
6418
6523
  }
6419
6524
  }
@@ -6446,7 +6551,8 @@ declare global {
6446
6551
  declare module 'preact' {
6447
6552
  namespace createElement.JSX {
6448
6553
  interface IntrinsicElements {
6449
- [tagName$t]: OrderedListJSXProps & PreactBaseElementProps<OrderedList>;
6554
+ [tagName$t]: OrderedListJSXProps &
6555
+ PreactBaseElementPropsWithChildren<OrderedList>;
6450
6556
  }
6451
6557
  }
6452
6558
  }
@@ -6483,7 +6589,11 @@ declare global {
6483
6589
  declare module 'preact' {
6484
6590
  namespace createElement.JSX {
6485
6591
  interface IntrinsicElements {
6486
- [tagName$s]: Omit<PageJSXProps, 'aside'> & PreactBaseElementProps<Page>;
6592
+ [tagName$s]: Omit<
6593
+ PageJSXProps,
6594
+ 'aside' | 'primaryAction' | 'secondaryActions' | 'breadcrumbActions'
6595
+ > &
6596
+ PreactBaseElementPropsWithChildren<Page>;
6487
6597
  }
6488
6598
  }
6489
6599
  }
@@ -6560,7 +6670,8 @@ declare global {
6560
6670
  declare module 'preact' {
6561
6671
  namespace createElement.JSX {
6562
6672
  interface IntrinsicElements {
6563
- [tagName$r]: ParagraphJSXProps & PreactBaseElementProps<Paragraph>;
6673
+ [tagName$r]: ParagraphJSXProps &
6674
+ PreactBaseElementPropsWithChildren<Paragraph>;
6564
6675
  }
6565
6676
  }
6566
6677
  }
@@ -6665,7 +6776,8 @@ declare global {
6665
6776
  declare module 'preact' {
6666
6777
  namespace createElement.JSX {
6667
6778
  interface IntrinsicElements {
6668
- [tagName$p]: PopoverJSXProps & PreactBaseElementProps<Popover>;
6779
+ [tagName$p]: PopoverJSXProps &
6780
+ PreactBaseElementPropsWithChildren<Popover>;
6669
6781
  }
6670
6782
  }
6671
6783
  }
@@ -6804,7 +6916,8 @@ declare global {
6804
6916
  declare module 'preact' {
6805
6917
  namespace createElement.JSX {
6806
6918
  interface IntrinsicElements {
6807
- [tagName$m]: SectionJSXProps & PreactBaseElementProps<Section>;
6919
+ [tagName$m]: SectionJSXProps &
6920
+ PreactBaseElementPropsWithChildren<Section>;
6808
6921
  }
6809
6922
  }
6810
6923
  }
@@ -6878,7 +6991,7 @@ declare global {
6878
6991
  declare module 'preact' {
6879
6992
  namespace createElement.JSX {
6880
6993
  interface IntrinsicElements {
6881
- [tagName$l]: SelectJSXProps & PreactBaseElementProps<Select>;
6994
+ [tagName$l]: SelectJSXProps & PreactBaseElementPropsWithChildren<Select>;
6882
6995
  }
6883
6996
  }
6884
6997
  }
@@ -6938,8 +7051,25 @@ export interface StackProps
6938
7051
  Required<AlignedStackProps>,
6939
7052
  'justifyContent' | 'alignItems' | 'alignContent'
6940
7053
  > {
7054
+ /**
7055
+ * Aligns the Stack's children along the inline axis.
7056
+ *
7057
+ * @default 'normal'
7058
+ */
6941
7059
  justifyContent: JustifyContentKeyword;
7060
+ /**
7061
+ * Aligns the Stack's children along the block axis.
7062
+ *
7063
+ * @default 'normal'
7064
+ */
6942
7065
  alignItems: AlignItemsKeyword;
7066
+ /**
7067
+ * Aligns the Stack's children along the block axis.
7068
+ *
7069
+ * This overrides the block value of `alignContent`.
7070
+ *
7071
+ * @default 'normal'
7072
+ */
6943
7073
  alignContent: AlignContentKeyword;
6944
7074
  /**
6945
7075
  * Adjust spacing between elements.
@@ -7006,7 +7136,7 @@ declare global {
7006
7136
  declare module 'preact' {
7007
7137
  namespace createElement.JSX {
7008
7138
  interface IntrinsicElements {
7009
- [tagName$j]: StackJSXProps & PreactBaseElementProps<Stack>;
7139
+ [tagName$j]: StackJSXProps & PreactBaseElementPropsWithChildren<Stack>;
7010
7140
  }
7011
7141
  }
7012
7142
  }
@@ -7108,7 +7238,7 @@ declare module 'preact' {
7108
7238
  namespace createElement.JSX {
7109
7239
  interface IntrinsicElements {
7110
7240
  [tagName$h]: Omit<TableJSXProps, 'filters'> &
7111
- PreactBaseElementProps<Table>;
7241
+ PreactBaseElementPropsWithChildren<Table>;
7112
7242
  }
7113
7243
  }
7114
7244
  }
@@ -7140,7 +7270,8 @@ declare global {
7140
7270
  declare module 'preact' {
7141
7271
  namespace createElement.JSX {
7142
7272
  interface IntrinsicElements {
7143
- [tagName$g]: TableBodyJSXProps & PreactBaseElementProps<TableBody>;
7273
+ [tagName$g]: TableBodyJSXProps &
7274
+ PreactBaseElementPropsWithChildren<TableBody>;
7144
7275
  }
7145
7276
  }
7146
7277
  }
@@ -7174,7 +7305,8 @@ declare global {
7174
7305
  declare module 'preact' {
7175
7306
  namespace createElement.JSX {
7176
7307
  interface IntrinsicElements {
7177
- [tagName$f]: TableCellJSXProps & PreactBaseElementProps<TableCell>;
7308
+ [tagName$f]: TableCellJSXProps &
7309
+ PreactBaseElementPropsWithChildren<TableCell>;
7178
7310
  }
7179
7311
  }
7180
7312
  }
@@ -7205,7 +7337,8 @@ declare global {
7205
7337
  declare module 'preact' {
7206
7338
  namespace createElement.JSX {
7207
7339
  interface IntrinsicElements {
7208
- [tagName$e]: TableHeaderJSXProps & PreactBaseElementProps<TableHeader>;
7340
+ [tagName$e]: TableHeaderJSXProps &
7341
+ PreactBaseElementPropsWithChildren<TableHeader>;
7209
7342
  }
7210
7343
  }
7211
7344
  }
@@ -7241,7 +7374,7 @@ declare module 'preact' {
7241
7374
  namespace createElement.JSX {
7242
7375
  interface IntrinsicElements {
7243
7376
  [tagName$d]: TableHeaderRowJSXProps &
7244
- PreactBaseElementProps<TableHeaderRow>;
7377
+ PreactBaseElementPropsWithChildren<TableHeaderRow>;
7245
7378
  }
7246
7379
  }
7247
7380
  }
@@ -7271,7 +7404,8 @@ declare global {
7271
7404
  declare module 'preact' {
7272
7405
  namespace createElement.JSX {
7273
7406
  interface IntrinsicElements {
7274
- [tagName$c]: TableRowJSXProps & PreactBaseElementProps<TableRow>;
7407
+ [tagName$c]: TableRowJSXProps &
7408
+ PreactBaseElementPropsWithChildren<TableRow>;
7275
7409
  }
7276
7410
  }
7277
7411
  }
@@ -7332,7 +7466,7 @@ declare global {
7332
7466
  declare module 'preact' {
7333
7467
  namespace createElement.JSX {
7334
7468
  interface IntrinsicElements {
7335
- [tagName$b]: TextJSXProps & PreactBaseElementProps<Text>;
7469
+ [tagName$b]: TextJSXProps & PreactBaseElementPropsWithChildren<Text>;
7336
7470
  }
7337
7471
  }
7338
7472
  }
@@ -7475,7 +7609,8 @@ declare global {
7475
7609
  declare module 'preact' {
7476
7610
  namespace createElement.JSX {
7477
7611
  interface IntrinsicElements {
7478
- [tagName$7]: TooltipJSXProps & PreactBaseElementProps<Tooltip>;
7612
+ [tagName$7]: TooltipJSXProps &
7613
+ PreactBaseElementPropsWithChildren<Tooltip>;
7479
7614
  }
7480
7615
  }
7481
7616
  }
@@ -7542,7 +7677,7 @@ declare module 'preact' {
7542
7677
  namespace createElement.JSX {
7543
7678
  interface IntrinsicElements {
7544
7679
  [tagName$5]: UnorderedListJSXProps &
7545
- PreactBaseElementProps<UnorderedList>;
7680
+ PreactBaseElementPropsWithChildren<UnorderedList>;
7546
7681
  }
7547
7682
  }
7548
7683
  }
@@ -8470,14 +8605,14 @@ declare global {
8470
8605
  declare module 'react' {
8471
8606
  namespace JSX {
8472
8607
  interface IntrinsicElements {
8473
- [tagName$Y]: BadgeJSXProps & ReactBaseElementProps<Badge>;
8608
+ [tagName$Y]: BadgeJSXProps & ReactBaseElementPropsWithChildren<Badge>;
8474
8609
  }
8475
8610
  }
8476
8611
  }
8477
8612
  declare global {
8478
8613
  namespace JSX {
8479
8614
  interface IntrinsicElements {
8480
- [tagName$Y]: BadgeJSXProps & ReactBaseElementProps<Badge>;
8615
+ [tagName$Y]: BadgeJSXProps & ReactBaseElementPropsWithChildren<Badge>;
8481
8616
  }
8482
8617
  }
8483
8618
  }
@@ -8485,7 +8620,7 @@ declare module 'react' {
8485
8620
  namespace JSX {
8486
8621
  interface IntrinsicElements {
8487
8622
  [tagName$X]: Omit<BannerJSXProps, 'secondaryActions'> &
8488
- ReactBaseElementProps<Banner>;
8623
+ ReactBaseElementPropsWithChildren<Banner>;
8489
8624
  }
8490
8625
  }
8491
8626
  }
@@ -8493,49 +8628,57 @@ declare global {
8493
8628
  namespace JSX {
8494
8629
  interface IntrinsicElements {
8495
8630
  [tagName$X]: Omit<BannerJSXProps, 'secondaryActions'> &
8496
- ReactBaseElementProps<Banner>;
8631
+ ReactBaseElementPropsWithChildren<Banner>;
8497
8632
  }
8498
8633
  }
8499
8634
  }
8500
8635
  declare module 'react' {
8501
8636
  namespace JSX {
8502
8637
  interface IntrinsicElements {
8503
- [tagName$W]: BoxJSXProps & ReactBaseElementProps<Box>;
8638
+ [tagName$W]: BoxJSXProps & ReactBaseElementPropsWithChildren<Box>;
8504
8639
  }
8505
8640
  }
8506
8641
  }
8507
8642
  declare global {
8508
8643
  namespace JSX {
8509
8644
  interface IntrinsicElements {
8510
- [tagName$W]: BoxJSXProps & ReactBaseElementProps<Box>;
8645
+ [tagName$W]: BoxJSXProps & ReactBaseElementPropsWithChildren<Box>;
8511
8646
  }
8512
8647
  }
8513
8648
  }
8514
8649
  declare module 'react' {
8515
8650
  namespace JSX {
8516
8651
  interface IntrinsicElements {
8517
- [tagName$V]: ButtonJSXProps & ReactBaseElementProps<Button>;
8652
+ [tagName$V]: ButtonJSXProps & ReactBaseElementPropsWithChildren<Button>;
8518
8653
  }
8519
8654
  }
8520
8655
  }
8521
8656
  declare global {
8522
8657
  namespace JSX {
8523
8658
  interface IntrinsicElements {
8524
- [tagName$V]: ButtonJSXProps & ReactBaseElementProps<Button>;
8659
+ [tagName$V]: ButtonJSXProps & ReactBaseElementPropsWithChildren<Button>;
8525
8660
  }
8526
8661
  }
8527
8662
  }
8528
8663
  declare module 'react' {
8529
8664
  namespace JSX {
8530
8665
  interface IntrinsicElements {
8531
- [tagName$U]: ButtonGroupJSXProps & ReactBaseElementProps<ButtonGroup>;
8666
+ [tagName$U]: Omit<
8667
+ ButtonGroupJSXProps,
8668
+ 'primaryAction' | 'secondaryActions'
8669
+ > &
8670
+ ReactBaseElementPropsWithChildren<ButtonGroup>;
8532
8671
  }
8533
8672
  }
8534
8673
  }
8535
8674
  declare global {
8536
8675
  namespace JSX {
8537
8676
  interface IntrinsicElements {
8538
- [tagName$U]: ButtonGroupJSXProps & ReactBaseElementProps<ButtonGroup>;
8677
+ [tagName$U]: Omit<
8678
+ ButtonGroupJSXProps,
8679
+ 'primaryAction' | 'secondaryActions'
8680
+ > &
8681
+ ReactBaseElementPropsWithChildren<ButtonGroup>;
8539
8682
  }
8540
8683
  }
8541
8684
  }
@@ -8561,7 +8704,7 @@ declare module 'react' {
8561
8704
  Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
8562
8705
  > &
8563
8706
  Omit<ChipJSXProps, 'graphic'> &
8564
- ReactBaseElementProps<Chip>;
8707
+ ReactBaseElementPropsWithChildren<Chip>;
8565
8708
  }
8566
8709
  }
8567
8710
  }
@@ -8576,49 +8719,55 @@ declare global {
8576
8719
  >
8577
8720
  > &
8578
8721
  Omit<ChipJSXProps, 'graphic'> &
8579
- ReactBaseElementProps<Chip>;
8722
+ ReactBaseElementPropsWithChildren<Chip>;
8580
8723
  }
8581
8724
  }
8582
8725
  }
8583
8726
  declare module 'react' {
8584
8727
  namespace JSX {
8585
8728
  interface IntrinsicElements {
8586
- [tagName$R]: ChoiceJSXProps & ReactBaseElementProps<Choice>;
8729
+ [tagName$R]: Omit<ChoiceJSXProps, 'details'> &
8730
+ ReactBaseElementPropsWithChildren<Choice>;
8587
8731
  }
8588
8732
  }
8589
8733
  }
8590
8734
  declare global {
8591
8735
  namespace JSX {
8592
8736
  interface IntrinsicElements {
8593
- [tagName$R]: ChoiceJSXProps & ReactBaseElementProps<Choice>;
8737
+ [tagName$R]: Omit<ChoiceJSXProps, 'details'> &
8738
+ ReactBaseElementPropsWithChildren<Choice>;
8594
8739
  }
8595
8740
  }
8596
8741
  }
8597
8742
  declare module 'react' {
8598
8743
  namespace JSX {
8599
8744
  interface IntrinsicElements {
8600
- [tagName$Q]: ChoiceListJSXProps & ReactBaseElementProps<ChoiceList>;
8745
+ [tagName$Q]: ChoiceListJSXProps &
8746
+ ReactBaseElementPropsWithChildren<ChoiceList>;
8601
8747
  }
8602
8748
  }
8603
8749
  }
8604
8750
  declare global {
8605
8751
  namespace JSX {
8606
8752
  interface IntrinsicElements {
8607
- [tagName$Q]: ChoiceListJSXProps & ReactBaseElementProps<ChoiceList>;
8753
+ [tagName$Q]: ChoiceListJSXProps &
8754
+ ReactBaseElementPropsWithChildren<ChoiceList>;
8608
8755
  }
8609
8756
  }
8610
8757
  }
8611
8758
  declare module 'react' {
8612
8759
  namespace JSX {
8613
8760
  interface IntrinsicElements {
8614
- [tagName$P]: ClickableJSXProps & ReactBaseElementProps<Clickable>;
8761
+ [tagName$P]: ClickableJSXProps &
8762
+ ReactBaseElementPropsWithChildren<Clickable>;
8615
8763
  }
8616
8764
  }
8617
8765
  }
8618
8766
  declare global {
8619
8767
  namespace JSX {
8620
8768
  interface IntrinsicElements {
8621
- [tagName$P]: ClickableJSXProps & ReactBaseElementProps<Clickable>;
8769
+ [tagName$P]: ClickableJSXProps &
8770
+ ReactBaseElementPropsWithChildren<Clickable>;
8622
8771
  }
8623
8772
  }
8624
8773
  }
@@ -8630,7 +8779,7 @@ declare module 'react' {
8630
8779
  Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
8631
8780
  > &
8632
8781
  Omit<ClickableChipJSXProps, 'graphic'> &
8633
- ReactBaseElementProps<ClickableChip>;
8782
+ ReactBaseElementPropsWithChildren<ClickableChip>;
8634
8783
  }
8635
8784
  }
8636
8785
  }
@@ -8645,7 +8794,7 @@ declare global {
8645
8794
  >
8646
8795
  > &
8647
8796
  Omit<ClickableChipJSXProps, 'graphic'> &
8648
- ReactBaseElementProps<ClickableChip>;
8797
+ ReactBaseElementPropsWithChildren<ClickableChip>;
8649
8798
  }
8650
8799
  }
8651
8800
  }
@@ -8783,42 +8932,44 @@ declare global {
8783
8932
  declare module 'react' {
8784
8933
  namespace JSX {
8785
8934
  interface IntrinsicElements {
8786
- [tagName$G]: GridJSXProps & ReactBaseElementProps<Grid>;
8935
+ [tagName$G]: GridJSXProps & ReactBaseElementPropsWithChildren<Grid>;
8787
8936
  }
8788
8937
  }
8789
8938
  }
8790
8939
  declare global {
8791
8940
  namespace JSX {
8792
8941
  interface IntrinsicElements {
8793
- [tagName$G]: GridJSXProps & ReactBaseElementProps<Grid>;
8942
+ [tagName$G]: GridJSXProps & ReactBaseElementPropsWithChildren<Grid>;
8794
8943
  }
8795
8944
  }
8796
8945
  }
8797
8946
  declare module 'react' {
8798
8947
  namespace JSX {
8799
8948
  interface IntrinsicElements {
8800
- [tagName$F]: GridItemJSXProps & ReactBaseElementProps<GridItem>;
8949
+ [tagName$F]: GridItemJSXProps &
8950
+ ReactBaseElementPropsWithChildren<GridItem>;
8801
8951
  }
8802
8952
  }
8803
8953
  }
8804
8954
  declare global {
8805
8955
  namespace JSX {
8806
8956
  interface IntrinsicElements {
8807
- [tagName$F]: GridItemJSXProps & ReactBaseElementProps<GridItem>;
8957
+ [tagName$F]: GridItemJSXProps &
8958
+ ReactBaseElementPropsWithChildren<GridItem>;
8808
8959
  }
8809
8960
  }
8810
8961
  }
8811
8962
  declare module 'react' {
8812
8963
  namespace JSX {
8813
8964
  interface IntrinsicElements {
8814
- [tagName$E]: HeadingJSXProps & ReactBaseElementProps<Heading>;
8965
+ [tagName$E]: HeadingJSXProps & ReactBaseElementPropsWithChildren<Heading>;
8815
8966
  }
8816
8967
  }
8817
8968
  }
8818
8969
  declare global {
8819
8970
  namespace JSX {
8820
8971
  interface IntrinsicElements {
8821
- [tagName$E]: HeadingJSXProps & ReactBaseElementProps<Heading>;
8972
+ [tagName$E]: HeadingJSXProps & ReactBaseElementPropsWithChildren<Heading>;
8822
8973
  }
8823
8974
  }
8824
8975
  }
@@ -8853,28 +9004,30 @@ declare global {
8853
9004
  declare module 'react' {
8854
9005
  namespace JSX {
8855
9006
  interface IntrinsicElements {
8856
- [tagName$B]: LinkJSXProps & ReactBaseElementProps<Link>;
9007
+ [tagName$B]: LinkJSXProps & ReactBaseElementPropsWithChildren<Link>;
8857
9008
  }
8858
9009
  }
8859
9010
  }
8860
9011
  declare global {
8861
9012
  namespace JSX {
8862
9013
  interface IntrinsicElements {
8863
- [tagName$B]: LinkJSXProps & ReactBaseElementProps<Link>;
9014
+ [tagName$B]: LinkJSXProps & ReactBaseElementPropsWithChildren<Link>;
8864
9015
  }
8865
9016
  }
8866
9017
  }
8867
9018
  declare module 'react' {
8868
9019
  namespace JSX {
8869
9020
  interface IntrinsicElements {
8870
- [tagName$A]: ListItemJSXProps & ReactBaseElementProps<ListItem>;
9021
+ [tagName$A]: ListItemJSXProps &
9022
+ ReactBaseElementPropsWithChildren<ListItem>;
8871
9023
  }
8872
9024
  }
8873
9025
  }
8874
9026
  declare global {
8875
9027
  namespace JSX {
8876
9028
  interface IntrinsicElements {
8877
- [tagName$A]: ListItemJSXProps & ReactBaseElementProps<ListItem>;
9029
+ [tagName$A]: ListItemJSXProps &
9030
+ ReactBaseElementPropsWithChildren<ListItem>;
8878
9031
  }
8879
9032
  }
8880
9033
  }
@@ -8910,7 +9063,7 @@ declare module 'react' {
8910
9063
  HTMLAttributes<HTMLElement>,
8911
9064
  Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
8912
9065
  > &
8913
- ModalJSXProps;
9066
+ Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'>;
8914
9067
  }
8915
9068
  }
8916
9069
  }
@@ -8924,7 +9077,7 @@ declare global {
8924
9077
  `on${Capitalize<string>}`
8925
9078
  >
8926
9079
  > &
8927
- ModalJSXProps;
9080
+ Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'>;
8928
9081
  }
8929
9082
  }
8930
9083
  }
@@ -8959,70 +9112,84 @@ declare global {
8959
9112
  declare module 'react' {
8960
9113
  namespace JSX {
8961
9114
  interface IntrinsicElements {
8962
- [tagName$v]: OptionJSXProps & ReactBaseElementProps<Option>;
9115
+ [tagName$v]: OptionJSXProps & ReactBaseElementPropsWithChildren<Option>;
8963
9116
  }
8964
9117
  }
8965
9118
  }
8966
9119
  declare global {
8967
9120
  namespace JSX {
8968
9121
  interface IntrinsicElements {
8969
- [tagName$v]: OptionJSXProps & ReactBaseElementProps<Option>;
9122
+ [tagName$v]: OptionJSXProps & ReactBaseElementPropsWithChildren<Option>;
8970
9123
  }
8971
9124
  }
8972
9125
  }
8973
9126
  declare module 'react' {
8974
9127
  namespace JSX {
8975
9128
  interface IntrinsicElements {
8976
- [tagName$u]: OptionGroupJSXProps & ReactBaseElementProps<OptionGroup>;
9129
+ [tagName$u]: OptionGroupJSXProps &
9130
+ ReactBaseElementPropsWithChildren<OptionGroup>;
8977
9131
  }
8978
9132
  }
8979
9133
  }
8980
9134
  declare global {
8981
9135
  namespace JSX {
8982
9136
  interface IntrinsicElements {
8983
- [tagName$u]: OptionGroupJSXProps & ReactBaseElementProps<OptionGroup>;
9137
+ [tagName$u]: OptionGroupJSXProps &
9138
+ ReactBaseElementPropsWithChildren<OptionGroup>;
8984
9139
  }
8985
9140
  }
8986
9141
  }
8987
9142
  declare module 'react' {
8988
9143
  namespace JSX {
8989
9144
  interface IntrinsicElements {
8990
- [tagName$t]: OrderedListJSXProps & ReactBaseElementProps<OrderedList>;
9145
+ [tagName$t]: OrderedListJSXProps &
9146
+ ReactBaseElementPropsWithChildren<OrderedList>;
8991
9147
  }
8992
9148
  }
8993
9149
  }
8994
9150
  declare global {
8995
9151
  namespace JSX {
8996
9152
  interface IntrinsicElements {
8997
- [tagName$t]: OrderedListJSXProps & ReactBaseElementProps<OrderedList>;
9153
+ [tagName$t]: OrderedListJSXProps &
9154
+ ReactBaseElementPropsWithChildren<OrderedList>;
8998
9155
  }
8999
9156
  }
9000
9157
  }
9001
9158
  declare module 'react' {
9002
9159
  namespace JSX {
9003
9160
  interface IntrinsicElements {
9004
- [tagName$s]: Omit<PageJSXProps, 'aside'> & ReactBaseElementProps<Page>;
9161
+ [tagName$s]: Omit<
9162
+ PageJSXProps,
9163
+ 'aside' | 'primaryAction' | 'secondaryActions' | 'breadcrumbActions'
9164
+ > &
9165
+ ReactBaseElementPropsWithChildren<Page>;
9005
9166
  }
9006
9167
  }
9007
9168
  }
9008
9169
  declare global {
9009
9170
  namespace JSX {
9010
9171
  interface IntrinsicElements {
9011
- [tagName$s]: Omit<PageJSXProps, 'aside'> & ReactBaseElementProps<Page>;
9172
+ [tagName$s]: Omit<
9173
+ PageJSXProps,
9174
+ 'aside' | 'primaryAction' | 'secondaryActions' | 'breadcrumbActions'
9175
+ > &
9176
+ ReactBaseElementPropsWithChildren<Page>;
9012
9177
  }
9013
9178
  }
9014
9179
  }
9015
9180
  declare module 'react' {
9016
9181
  namespace JSX {
9017
9182
  interface IntrinsicElements {
9018
- [tagName$r]: ParagraphJSXProps & ReactBaseElementProps<Paragraph>;
9183
+ [tagName$r]: ParagraphJSXProps &
9184
+ ReactBaseElementPropsWithChildren<Paragraph>;
9019
9185
  }
9020
9186
  }
9021
9187
  }
9022
9188
  declare global {
9023
9189
  namespace JSX {
9024
9190
  interface IntrinsicElements {
9025
- [tagName$r]: ParagraphJSXProps & ReactBaseElementProps<Paragraph>;
9191
+ [tagName$r]: ParagraphJSXProps &
9192
+ ReactBaseElementPropsWithChildren<Paragraph>;
9026
9193
  }
9027
9194
  }
9028
9195
  }
@@ -9043,14 +9210,14 @@ declare global {
9043
9210
  declare module 'react' {
9044
9211
  namespace JSX {
9045
9212
  interface IntrinsicElements {
9046
- [tagName$p]: PopoverJSXProps & ReactBaseElementProps<Popover>;
9213
+ [tagName$p]: PopoverJSXProps & ReactBaseElementPropsWithChildren<Popover>;
9047
9214
  }
9048
9215
  }
9049
9216
  }
9050
9217
  declare global {
9051
9218
  namespace JSX {
9052
9219
  interface IntrinsicElements {
9053
- [tagName$p]: PopoverJSXProps & ReactBaseElementProps<Popover>;
9220
+ [tagName$p]: PopoverJSXProps & ReactBaseElementPropsWithChildren<Popover>;
9054
9221
  }
9055
9222
  }
9056
9223
  }
@@ -9096,28 +9263,28 @@ declare global {
9096
9263
  declare module 'react' {
9097
9264
  namespace JSX {
9098
9265
  interface IntrinsicElements {
9099
- [tagName$m]: SectionJSXProps & ReactBaseElementProps<Section>;
9266
+ [tagName$m]: SectionJSXProps & ReactBaseElementPropsWithChildren<Section>;
9100
9267
  }
9101
9268
  }
9102
9269
  }
9103
9270
  declare global {
9104
9271
  namespace JSX {
9105
9272
  interface IntrinsicElements {
9106
- [tagName$m]: SectionJSXProps & ReactBaseElementProps<Section>;
9273
+ [tagName$m]: SectionJSXProps & ReactBaseElementPropsWithChildren<Section>;
9107
9274
  }
9108
9275
  }
9109
9276
  }
9110
9277
  declare module 'react' {
9111
9278
  namespace JSX {
9112
9279
  interface IntrinsicElements {
9113
- [tagName$l]: SelectJSXProps & ReactBaseElementProps<Select>;
9280
+ [tagName$l]: SelectJSXProps & ReactBaseElementPropsWithChildren<Select>;
9114
9281
  }
9115
9282
  }
9116
9283
  }
9117
9284
  declare global {
9118
9285
  namespace JSX {
9119
9286
  interface IntrinsicElements {
9120
- [tagName$l]: SelectJSXProps & ReactBaseElementProps<Select>;
9287
+ [tagName$l]: SelectJSXProps & ReactBaseElementPropsWithChildren<Select>;
9121
9288
  }
9122
9289
  }
9123
9290
  }
@@ -9138,14 +9305,14 @@ declare global {
9138
9305
  declare module 'react' {
9139
9306
  namespace JSX {
9140
9307
  interface IntrinsicElements {
9141
- [tagName$j]: StackJSXProps & ReactBaseElementProps<Stack>;
9308
+ [tagName$j]: StackJSXProps & ReactBaseElementPropsWithChildren<Stack>;
9142
9309
  }
9143
9310
  }
9144
9311
  }
9145
9312
  declare global {
9146
9313
  namespace JSX {
9147
9314
  interface IntrinsicElements {
9148
- [tagName$j]: StackJSXProps & ReactBaseElementProps<Stack>;
9315
+ [tagName$j]: StackJSXProps & ReactBaseElementPropsWithChildren<Stack>;
9149
9316
  }
9150
9317
  }
9151
9318
  }
@@ -9167,7 +9334,7 @@ declare module 'react' {
9167
9334
  namespace JSX {
9168
9335
  interface IntrinsicElements {
9169
9336
  [tagName$h]: Omit<TableJSXProps, 'filters'> &
9170
- ReactBaseElementProps<Table>;
9337
+ ReactBaseElementPropsWithChildren<Table>;
9171
9338
  }
9172
9339
  }
9173
9340
  }
@@ -9175,49 +9342,55 @@ declare global {
9175
9342
  namespace JSX {
9176
9343
  interface IntrinsicElements {
9177
9344
  [tagName$h]: Omit<TableJSXProps, 'filters'> &
9178
- ReactBaseElementProps<Table>;
9345
+ ReactBaseElementPropsWithChildren<Table>;
9179
9346
  }
9180
9347
  }
9181
9348
  }
9182
9349
  declare module 'react' {
9183
9350
  namespace JSX {
9184
9351
  interface IntrinsicElements {
9185
- [tagName$g]: TableBodyJSXProps & ReactBaseElementProps<TableBody>;
9352
+ [tagName$g]: TableBodyJSXProps &
9353
+ ReactBaseElementPropsWithChildren<TableBody>;
9186
9354
  }
9187
9355
  }
9188
9356
  }
9189
9357
  declare global {
9190
9358
  namespace JSX {
9191
9359
  interface IntrinsicElements {
9192
- [tagName$g]: TableBodyJSXProps & ReactBaseElementProps<TableBody>;
9360
+ [tagName$g]: TableBodyJSXProps &
9361
+ ReactBaseElementPropsWithChildren<TableBody>;
9193
9362
  }
9194
9363
  }
9195
9364
  }
9196
9365
  declare module 'react' {
9197
9366
  namespace JSX {
9198
9367
  interface IntrinsicElements {
9199
- [tagName$f]: TableCellJSXProps & ReactBaseElementProps<TableCell>;
9368
+ [tagName$f]: TableCellJSXProps &
9369
+ ReactBaseElementPropsWithChildren<TableCell>;
9200
9370
  }
9201
9371
  }
9202
9372
  }
9203
9373
  declare global {
9204
9374
  namespace JSX {
9205
9375
  interface IntrinsicElements {
9206
- [tagName$f]: TableCellJSXProps & ReactBaseElementProps<TableCell>;
9376
+ [tagName$f]: TableCellJSXProps &
9377
+ ReactBaseElementPropsWithChildren<TableCell>;
9207
9378
  }
9208
9379
  }
9209
9380
  }
9210
9381
  declare module 'react' {
9211
9382
  namespace JSX {
9212
9383
  interface IntrinsicElements {
9213
- [tagName$e]: TableHeaderJSXProps & ReactBaseElementProps<TableHeader>;
9384
+ [tagName$e]: TableHeaderJSXProps &
9385
+ ReactBaseElementPropsWithChildren<TableHeader>;
9214
9386
  }
9215
9387
  }
9216
9388
  }
9217
9389
  declare global {
9218
9390
  namespace JSX {
9219
9391
  interface IntrinsicElements {
9220
- [tagName$e]: TableHeaderJSXProps & ReactBaseElementProps<TableHeader>;
9392
+ [tagName$e]: TableHeaderJSXProps &
9393
+ ReactBaseElementPropsWithChildren<TableHeader>;
9221
9394
  }
9222
9395
  }
9223
9396
  }
@@ -9225,7 +9398,7 @@ declare module 'react' {
9225
9398
  namespace JSX {
9226
9399
  interface IntrinsicElements {
9227
9400
  [tagName$d]: TableHeaderRowJSXProps &
9228
- ReactBaseElementProps<TableHeaderRow>;
9401
+ ReactBaseElementPropsWithChildren<TableHeaderRow>;
9229
9402
  }
9230
9403
  }
9231
9404
  }
@@ -9233,35 +9406,37 @@ declare global {
9233
9406
  namespace JSX {
9234
9407
  interface IntrinsicElements {
9235
9408
  [tagName$d]: TableHeaderRowJSXProps &
9236
- ReactBaseElementProps<TableHeaderRow>;
9409
+ ReactBaseElementPropsWithChildren<TableHeaderRow>;
9237
9410
  }
9238
9411
  }
9239
9412
  }
9240
9413
  declare module 'react' {
9241
9414
  namespace JSX {
9242
9415
  interface IntrinsicElements {
9243
- [tagName$c]: TableRowJSXProps & ReactBaseElementProps<TableRow>;
9416
+ [tagName$c]: TableRowJSXProps &
9417
+ ReactBaseElementPropsWithChildren<TableRow>;
9244
9418
  }
9245
9419
  }
9246
9420
  }
9247
9421
  declare global {
9248
9422
  namespace JSX {
9249
9423
  interface IntrinsicElements {
9250
- [tagName$c]: TableRowJSXProps & ReactBaseElementProps<TableRow>;
9424
+ [tagName$c]: TableRowJSXProps &
9425
+ ReactBaseElementPropsWithChildren<TableRow>;
9251
9426
  }
9252
9427
  }
9253
9428
  }
9254
9429
  declare module 'react' {
9255
9430
  namespace JSX {
9256
9431
  interface IntrinsicElements {
9257
- [tagName$b]: TextJSXProps & ReactBaseElementProps<Text>;
9432
+ [tagName$b]: TextJSXProps & ReactBaseElementPropsWithChildren<Text>;
9258
9433
  }
9259
9434
  }
9260
9435
  }
9261
9436
  declare global {
9262
9437
  namespace JSX {
9263
9438
  interface IntrinsicElements {
9264
- [tagName$b]: TextJSXProps & ReactBaseElementProps<Text>;
9439
+ [tagName$b]: TextJSXProps & ReactBaseElementPropsWithChildren<Text>;
9265
9440
  }
9266
9441
  }
9267
9442
  }
@@ -9312,14 +9487,14 @@ declare global {
9312
9487
  declare module 'react' {
9313
9488
  namespace JSX {
9314
9489
  interface IntrinsicElements {
9315
- [tagName$7]: TooltipJSXProps & ReactBaseElementProps<Tooltip>;
9490
+ [tagName$7]: TooltipJSXProps & ReactBaseElementPropsWithChildren<Tooltip>;
9316
9491
  }
9317
9492
  }
9318
9493
  }
9319
9494
  declare global {
9320
9495
  namespace JSX {
9321
9496
  interface IntrinsicElements {
9322
- [tagName$7]: TooltipJSXProps & ReactBaseElementProps<Tooltip>;
9497
+ [tagName$7]: TooltipJSXProps & ReactBaseElementPropsWithChildren<Tooltip>;
9323
9498
  }
9324
9499
  }
9325
9500
  }
@@ -9340,14 +9515,16 @@ declare global {
9340
9515
  declare module 'react' {
9341
9516
  namespace JSX {
9342
9517
  interface IntrinsicElements {
9343
- [tagName$5]: UnorderedListJSXProps & ReactBaseElementProps<UnorderedList>;
9518
+ [tagName$5]: UnorderedListJSXProps &
9519
+ ReactBaseElementPropsWithChildren<UnorderedList>;
9344
9520
  }
9345
9521
  }
9346
9522
  }
9347
9523
  declare global {
9348
9524
  namespace JSX {
9349
9525
  interface IntrinsicElements {
9350
- [tagName$5]: UnorderedListJSXProps & ReactBaseElementProps<UnorderedList>;
9526
+ [tagName$5]: UnorderedListJSXProps &
9527
+ ReactBaseElementPropsWithChildren<UnorderedList>;
9351
9528
  }
9352
9529
  }
9353
9530
  }