@primer/react 0.0.0-20260513164915 → 0.0.0-20260513182252

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 (86) hide show
  1. package/CHANGELOG.md +5 -37
  2. package/dist/ActionList/{Group-efcb39da.css → Group-743ff5c8.css} +2 -2
  3. package/dist/ActionList/Group-743ff5c8.css.map +1 -0
  4. package/dist/ActionList/Group.d.ts +9 -6
  5. package/dist/ActionList/Group.d.ts.map +1 -1
  6. package/dist/ActionList/Group.js +22 -52
  7. package/dist/ActionList/Group.module.css.js +2 -2
  8. package/dist/ActionList/Item.js +2 -2
  9. package/dist/ActionList/index.d.ts +1 -18
  10. package/dist/ActionList/index.d.ts.map +1 -1
  11. package/dist/ActionList/index.js +0 -3
  12. package/dist/Blankslate/Blankslate.d.ts.map +1 -1
  13. package/dist/Blankslate/Blankslate.js +0 -6
  14. package/dist/BranchName/BranchName.js +0 -1
  15. package/dist/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
  16. package/dist/Breadcrumbs/Breadcrumbs.js +0 -3
  17. package/dist/ButtonGroup/ButtonGroup.d.ts.map +1 -1
  18. package/dist/ButtonGroup/ButtonGroup.js +0 -1
  19. package/dist/Checkbox/Checkbox.d.ts +0 -1
  20. package/dist/Checkbox/Checkbox.d.ts.map +1 -1
  21. package/dist/Checkbox/Checkbox.js +5 -10
  22. package/dist/CheckboxGroup/CheckboxGroup.js +0 -1
  23. package/dist/CircleBadge/CircleBadge.d.ts.map +1 -1
  24. package/dist/CircleBadge/CircleBadge.js +28 -44
  25. package/dist/ConfirmationDialog/ConfirmationDialog.d.ts.map +1 -1
  26. package/dist/ConfirmationDialog/ConfirmationDialog.js +0 -1
  27. package/dist/CounterLabel/CounterLabel.d.ts +0 -2
  28. package/dist/CounterLabel/CounterLabel.d.ts.map +1 -1
  29. package/dist/CounterLabel/CounterLabel.js +90 -25
  30. package/dist/Details/Details.d.ts +2 -6
  31. package/dist/Details/Details.d.ts.map +1 -1
  32. package/dist/Details/Details.js +22 -31
  33. package/dist/Dialog/Dialog.d.ts +0 -1
  34. package/dist/Dialog/Dialog.d.ts.map +1 -1
  35. package/dist/Dialog/Dialog.js +6 -16
  36. package/dist/FeatureFlags/DefaultFeatureFlags.d.ts.map +1 -1
  37. package/dist/FeatureFlags/DefaultFeatureFlags.js +1 -2
  38. package/dist/Flash/Flash.d.ts.map +1 -1
  39. package/dist/Flash/Flash.js +1 -2
  40. package/dist/FormControl/FormControl.d.ts.map +1 -1
  41. package/dist/FormControl/FormControl.js +0 -2
  42. package/dist/FormControl/FormControlCaption.d.ts.map +1 -1
  43. package/dist/FormControl/FormControlCaption.js +0 -1
  44. package/dist/FormControl/FormControlLabel.d.ts.map +1 -1
  45. package/dist/FormControl/FormControlLabel.js +0 -1
  46. package/dist/FormControl/FormControlLeadingVisual.d.ts.map +1 -1
  47. package/dist/FormControl/FormControlLeadingVisual.js +0 -1
  48. package/dist/FormControl/_FormControlValidation.d.ts.map +1 -1
  49. package/dist/FormControl/_FormControlValidation.js +0 -1
  50. package/dist/Header/Header.d.ts.map +1 -1
  51. package/dist/Header/Header.js +0 -3
  52. package/dist/Heading/Heading.d.ts.map +1 -1
  53. package/dist/Heading/Heading.js +0 -1
  54. package/dist/PageLayout/usePaneWidth.d.ts.map +1 -1
  55. package/dist/PageLayout/usePaneWidth.js +12 -6
  56. package/dist/Timeline/{Timeline-05decc91.css → Timeline-ad31a7fb.css} +2 -2
  57. package/dist/Timeline/Timeline-ad31a7fb.css.map +1 -0
  58. package/dist/Timeline/Timeline.module.css.js +1 -1
  59. package/dist/TreeView/useRovingTabIndex.d.ts +3 -4
  60. package/dist/TreeView/useRovingTabIndex.d.ts.map +1 -1
  61. package/dist/TreeView/useRovingTabIndex.js +21 -42
  62. package/dist/index.d.ts +1 -2
  63. package/dist/index.d.ts.map +1 -1
  64. package/dist/index.js +0 -1
  65. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.d.ts +0 -1
  66. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.d.ts.map +1 -1
  67. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.js +2 -5
  68. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupCaption.d.ts.map +1 -1
  69. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupCaption.js +1 -3
  70. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupContext.d.ts +0 -1
  71. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupContext.d.ts.map +1 -1
  72. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupLabel.d.ts.map +1 -1
  73. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupLabel.js +1 -3
  74. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupValidation.d.ts.map +1 -1
  75. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupValidation.js +1 -3
  76. package/dist/internal/components/InputValidation.d.ts +1 -2
  77. package/dist/internal/components/InputValidation.d.ts.map +1 -1
  78. package/dist/internal/components/InputValidation.js +33 -64
  79. package/generated/components.json +0 -4
  80. package/generated/hooks.json +0 -51
  81. package/package.json +1 -1
  82. package/dist/ActionList/Group-efcb39da.css.map +0 -1
  83. package/dist/ActionList/GroupHeadingTrailingAction.d.ts +0 -21
  84. package/dist/ActionList/GroupHeadingTrailingAction.d.ts.map +0 -1
  85. package/dist/ActionList/GroupHeadingTrailingAction.js +0 -66
  86. package/dist/Timeline/Timeline-05decc91.css.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,49 +1,17 @@
1
1
  # @primer/react
2
2
 
3
- ## 0.0.0-20260513164915
4
-
5
- ### Minor Changes
6
-
7
- - [#7829](https://github.com/primer/react/pull/7829) [`228019c`](https://github.com/primer/react/commit/228019cac474e94558e571c325692d3b40ca4488) Thanks [@adierkens](https://github.com/adierkens)! - ActionList: Add `ActionList.GroupHeading.TrailingAction` for header-level actions on grouped lists. Closes #2043.
8
-
9
- When the `primer_react_action_list_group_heading_trailing_action` feature flag is enabled, you can place an `ActionList.GroupHeading.TrailingAction` (a small invisible `IconButton`) inside `ActionList.GroupHeading` to render a uniform square action target next to the group's heading. Only supported inside an `ActionList` with the default `list` role — using it inside `ActionMenu` or with `role="listbox"` will throw.
10
-
11
- ```tsx
12
- <ActionList>
13
- <ActionList.Group>
14
- <ActionList.GroupHeading as="h3">
15
- Custom fields
16
- <ActionList.GroupHeading.TrailingAction label="New field" icon={PlusIcon} />
17
- </ActionList.GroupHeading>
18
- <ActionList.Item>...</ActionList.Item>
19
- </ActionList.Group>
20
- </ActionList>
21
- ```
22
-
23
- - [#7776](https://github.com/primer/react/pull/7776) [`8b36590`](https://github.com/primer/react/commit/8b365905a171b48f2efe1e81b8b82d94d1697c93) Thanks [@llastflowers](https://github.com/llastflowers)! - Add `data-component` attributes for Blankslate, BranchName, Breadcrumbs, ButtonGroup, Checkbox, CheckboxGroup, CircleBadge, ConfirmationDialog, CounterLabel, and Dialog to provide stable selectors.
24
-
25
- - [#7819](https://github.com/primer/react/pull/7819) [`8ed6149`](https://github.com/primer/react/commit/8ed6149b45093449c6e12a71a374618fe282d6a1) Thanks [@llastflowers](https://github.com/llastflowers)! - Add `data-component` attributes for Details, Flash, FormControl (+ update InputValidation to forward from FormControl.Validation), Header, and Heading.
26
-
27
- ### Patch Changes
28
-
29
- - Fake entry to force publishing
30
-
31
- - [#7833](https://github.com/primer/react/pull/7833) [`dfed7ca`](https://github.com/primer/react/commit/dfed7ca73532922ec0526dd85afcf7ae471c566e) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Timeline: Remove border override from TimelineBadge when variant is set
32
-
33
- ## 38.23.0
34
-
35
- ### Minor Changes
36
-
37
- - [#7817](https://github.com/primer/react/pull/7817) [`51a7a28`](https://github.com/primer/react/commit/51a7a28a8c1a44d80cffe774783dfff1d436a1d1) Thanks [@francinelucca](https://github.com/francinelucca)! - - ActionList: Expand `selectableRoles` and `listRoleTypes` to include `treeitem` and `tree`.
38
- - Export `ActionListContainerContext` as `ActionList.ContainerContext`.
39
- - Export `useRovingTabIndex` from the public API with additional configuration options (`preventScroll` and `dependencies`).
3
+ ## 0.0.0-20260513182252
40
4
 
41
5
  ### Patch Changes
42
6
 
43
7
  - [#7805](https://github.com/primer/react/pull/7805) [`8f8844e`](https://github.com/primer/react/commit/8f8844ef69a52b0462bf76cee389e61bb02de2d7) Thanks [@TylerJDev](https://github.com/TylerJDev)! - AnchoredOverlay: Disables CSS anchor positioning if `portalContainerName` is true. (behind `primer_react_css_anchor_positioning` feature flag)
44
8
 
9
+ - Fake entry to force publishing
10
+
45
11
  - [#7800](https://github.com/primer/react/pull/7800) [`ce88bdf`](https://github.com/primer/react/commit/ce88bdf3191aaee0ad662803f285a4e77810ce9e) Thanks [@francinelucca](https://github.com/francinelucca)! - chore: add `primer_react_styled_react_use_primer_theme_providers` feature flag to DefaultFeatureFlags
46
12
 
13
+ - [#7824](https://github.com/primer/react/pull/7824) [`b43e27c`](https://github.com/primer/react/commit/b43e27cd8d5392a747f72a7ac5f60a8200ca72cd) Thanks [@jonrohan](https://github.com/jonrohan)! - Fix `usePaneWidth` triggering unnecessary React re-renders on every window resize
14
+
47
15
  - [#7802](https://github.com/primer/react/pull/7802) [`872bf46`](https://github.com/primer/react/commit/872bf464c0cdf2144b680ffe309ef4ad2ac1b5ac) Thanks [@TylerJDev](https://github.com/TylerJDev)! - AnchoredOverlay: Ensure overlay fits within viewport by calculating viewport height + width (behind `primer_react_css_anchor_positioning` feature flag)
48
16
 
49
17
  ## 38.22.0
@@ -1,2 +1,2 @@
1
- .prc-ActionList-Group-lMIPQ{list-style:none}.prc-ActionList-Group-lMIPQ:not(:first-child){margin-block-start:var(--base-size-8,.5rem)}.prc-ActionList-Group-lMIPQ:not(:first-child):has(.prc-ActionList-GroupHeadingWrap-laXcX+ul>.prc-ActionList-GroupHeadingWrap-laXcX)>.prc-ActionList-GroupHeadingWrap-laXcX{display:none}.prc-ActionList-GroupList-V5B3-{padding-inline-start:0}.prc-ActionList-GroupHeadingWrap-laXcX{color:var(--fgColor-muted,#59636e);display:flex;flex-direction:column;font-size:var(--text-body-size-small,.75rem);font-weight:var(--base-text-weight-semibold,600);line-height:18px;padding-block:var(--base-size-6,.375rem);padding-inline:var(--base-size-16,1rem)}.prc-ActionList-GroupHeadingWrap-laXcX:where([data-variant=filled]){background:var(--bgColor-muted,#f6f8fa);border-bottom:var(--borderWidth-thin,.0625rem) solid var(--borderColor-muted,#d1d9e0b3);border-top:var(--borderWidth-thin,.0625rem) solid var(--borderColor-muted,#d1d9e0b3);margin-block-end:var(--base-size-8,.5rem);margin-block-start:calc(var(--base-size-8,.5rem) - var(--borderWidth-thin,.0625rem));padding-inline:var(--base-size-16,1rem)}.prc-ActionList-GroupHeadingWrap-laXcX:where([data-variant=filled]):first-child{margin-block-start:0}.prc-ActionList-GroupHeading-STzxi{align-self:flex-start;color:var(--fgColor-muted,#59636e);font-size:var(--text-body-size-small,.75rem);font-weight:var(--base-text-weight-semibold,600);margin:0}.prc-ActionList-GroupHeadingWrap-laXcX[data-has-trailing-action]{align-items:center;flex-direction:row;gap:var(--base-size-8,.5rem);justify-content:space-between}.prc-ActionList-GroupHeadingWrap-laXcX[data-has-trailing-action]>.prc-ActionList-GroupHeading-STzxi{align-self:center}.prc-ActionList-GroupHeadingTrailingAction-jnb64{align-items:center;display:inline-flex;margin-inline-start:auto}
2
- /*# sourceMappingURL=Group-efcb39da.css.map */
1
+ .prc-ActionList-Group-lMIPQ{list-style:none}.prc-ActionList-Group-lMIPQ:not(:first-child){margin-block-start:var(--base-size-8,.5rem)}.prc-ActionList-Group-lMIPQ:not(:first-child):has(.prc-ActionList-GroupHeadingWrap-laXcX+ul>.prc-ActionList-GroupHeadingWrap-laXcX)>.prc-ActionList-GroupHeadingWrap-laXcX{display:none}.prc-ActionList-GroupList-V5B3-{padding-inline-start:0}.prc-ActionList-GroupHeadingWrap-laXcX{color:var(--fgColor-muted,#59636e);display:flex;flex-direction:column;font-size:var(--text-body-size-small,.75rem);font-weight:var(--base-text-weight-semibold,600);line-height:18px;padding-block:var(--base-size-6,.375rem);padding-inline:var(--base-size-16,1rem)}.prc-ActionList-GroupHeadingWrap-laXcX:where([data-variant=filled]){background:var(--bgColor-muted,#f6f8fa);border-bottom:var(--borderWidth-thin,.0625rem) solid var(--borderColor-muted,#d1d9e0b3);border-top:var(--borderWidth-thin,.0625rem) solid var(--borderColor-muted,#d1d9e0b3);margin-block-end:var(--base-size-8,.5rem);margin-block-start:calc(var(--base-size-8,.5rem) - var(--borderWidth-thin,.0625rem));padding-inline:var(--base-size-16,1rem)}.prc-ActionList-GroupHeadingWrap-laXcX:where([data-variant=filled]):first-child{margin-block-start:0}.prc-ActionList-GroupHeading-STzxi{align-self:flex-start;color:var(--fgColor-muted,#59636e);font-size:var(--text-body-size-small,.75rem);font-weight:var(--base-text-weight-semibold,600);margin:0}
2
+ /*# sourceMappingURL=Group-743ff5c8.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/ActionList/Group.module.css.js"],"names":[],"mappings":"AAAA,4BACE,eAcF,CAZE,8CACE,2CAUF,CAJI,2KACE,YACF,CAKN,gCACE,sBACF,CAEA,uCAQE,kCAA2B,CAP3B,YAAa,CAQb,qBAAsB,CAPtB,4CAAsC,CACtC,gDAA6C,CAI7C,gBAAiB,CAIjB,wCAAiC,CADjC,uCAoBF,CAjBE,oEAIE,uCAAgC,CAEhC,uFAAqE,CADrE,oFAAkE,CAFlE,yCAAoC,CADpC,oFAAsE,CAKtE,uCAKF,CAHE,gFACE,oBACF,CAQJ,mCAKE,qBAAsB,CADtB,kCAA2B,CAF3B,4CAAsC,CACtC,gDAA6C,CAF7C,QAKF","file":"Group-743ff5c8.css","sourcesContent":[".Group {\n list-style: none;\n\n &:not(:first-child) {\n margin-block-start: var(--base-size-8);\n\n /* If somebody tries to pass the `title` prop AND a `NavList.GroupHeading` as a child, hide the `ActionList.GroupHeading */\n /* stylelint-disable-next-line selector-max-specificity, selector-pseudo-class-disallowed-list -- scoped to CSS Module, audited (github/github-ui#17224) */\n &:has(.GroupHeadingWrap + ul > .GroupHeadingWrap) {\n /* stylelint-disable-next-line selector-max-specificity */\n & > .GroupHeadingWrap {\n display: none;\n }\n }\n }\n}\n\n.GroupList {\n padding-inline-start: 0;\n}\n\n.GroupHeadingWrap {\n display: flex;\n font-size: var(--text-body-size-small);\n font-weight: var(--base-text-weight-semibold);\n\n /* line-height: var(--text-body-lineHeight-small); use when FF rolls out */\n /* stylelint-disable-next-line primer/typography */\n line-height: 18px;\n color: var(--fgColor-muted);\n flex-direction: column;\n padding-inline: var(--base-size-16);\n padding-block: var(--base-size-6);\n\n &:where([data-variant='filled']) {\n /* stylelint-disable-next-line primer/spacing */\n margin-block-start: calc(var(--base-size-8) - var(--borderWidth-thin));\n margin-block-end: var(--base-size-8);\n background: var(--bgColor-muted);\n border-top: solid var(--borderWidth-thin) var(--borderColor-muted);\n border-bottom: solid var(--borderWidth-thin) var(--borderColor-muted);\n padding-inline: var(--base-size-16);\n\n &:first-child {\n margin-block-start: 0;\n }\n }\n\n /* & + ul:has(.GroupHeadingWrap) {\n outline: solid 1px red;\n } */\n}\n\n.GroupHeading {\n margin: 0;\n font-size: var(--text-body-size-small);\n font-weight: var(--base-text-weight-semibold);\n color: var(--fgColor-muted);\n align-self: flex-start;\n}\n"]}
@@ -34,11 +34,14 @@ export type ActionListGroupHeadingProps = Pick<ActionListGroupProps, 'variant' |
34
34
  _internalBackwardCompatibleTitle?: string;
35
35
  variant?: 'filled' | 'subtle';
36
36
  };
37
- export declare const GroupHeading: React.FC<React.PropsWithChildren<ActionListGroupHeadingProps>> & import("..").SlotMarker & {
38
- TrailingAction: import("../utils/polymorphic").ForwardRefComponent<"a" | "button", import("./GroupHeadingTrailingAction").ActionListGroupHeadingTrailingActionProps> & {
39
- __SLOT__?: import("..").SlotMarker;
40
- displayName?: string;
41
- };
42
- };
37
+ /**
38
+ * Heading of a `Group`.
39
+ *
40
+ * As default, the role of ActionList is "list" and therefore group heading is rendered as a proper heading tag.
41
+ * If the role is "listbox" or "menu" (ActionMenu), the group heading is rendered as a div with presentation role and it is
42
+ * hidden from the accessibility tree due to the limitation of listbox children. https://w3c.github.io/aria/#listbox
43
+ * groups under menu or listbox are labelled by `aria-label`
44
+ */
45
+ export declare const GroupHeading: FCWithSlotMarker<React.PropsWithChildren<ActionListGroupHeadingProps>>;
43
46
  export {};
44
47
  //# sourceMappingURL=Group.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Group.d.ts","sourceRoot":"","sources":["../../src/ActionList/Group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAc,KAAK,eAAe,EAAC,MAAM,UAAU,CAAA;AAC1D,OAAO,KAAK,EAAC,sBAAsB,EAAC,MAAM,WAAW,CAAA;AAMrD,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,sBAAsB,CAAA;AAqC1D,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,GAAG;IACvE;;;;;OAKG;IACH,OAAO,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAA;IAC7B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;OAEG;IACH,gBAAgB,CAAC,EAAE,eAAe,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAA;CAC/D,CAAA;AAED,KAAK,YAAY,GAAG,IAAI,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,GAAG;IAAC,cAAc,EAAE,MAAM,GAAG,SAAS,CAAA;CAAC,CAAA;AACzG,eAAO,MAAM,YAAY,6BAGvB,CAAA;AAEF,eAAO,MAAM,KAAK,EAAE,gBAAgB,CAAC,KAAK,C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M,GAAG,SAAS,CAAA;CAAC,CAAA;AACzG,eAAO,MAAM,YAAY,6BAGvB,CAAA;AAEF,eAAO,MAAM,KAAK,EAAE,gBAAgB,CAAC,KAAK,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,CAyDjF,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAAC,oBAAoB,EAAE,SAAS,GAAG,eAAe,CAAC,GAC/F,IAAI,CAAC,sBAAsB,EAAE,IAAI,CAAC,GAClC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG;IAClC,EAAE,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IAC5C,kBAAkB,CAAC,EAAE,KAAK,GAAG,IAAI,CAAA;IACjC,gCAAgC,CAAC,EAAE,MAAM,CAAA;IACzC,OAAO,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAA;CAC9B,CAAA;AAEH;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,EAAE,gBAAgB,CAAC,KAAK,CAAC,iBAAiB,CAAC,2BAA2B,CAAC,CAsE/F,CAAA"}
@@ -7,11 +7,8 @@ import { invariant } from '../utils/invariant.js';
7
7
  import { clsx } from 'clsx';
8
8
  import classes from './ActionList.module.css.js';
9
9
  import groupClasses from './Group.module.css.js';
10
- import { GroupHeadingTrailingAction } from './GroupHeadingTrailingAction.js';
11
- import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
12
- import { useFeatureFlag } from '../FeatureFlags/useFeatureFlag.js';
10
+ import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
13
11
 
14
- const GROUP_HEADING_TRAILING_ACTION_FEATURE_FLAG = 'primer_react_action_list_group_heading_trailing_action';
15
12
  const Heading = t0 => {
16
13
  const $ = c(12);
17
14
  let children;
@@ -246,8 +243,8 @@ const Group = t0 => {
246
243
  * hidden from the accessibility tree due to the limitation of listbox children. https://w3c.github.io/aria/#listbox
247
244
  * groups under menu or listbox are labelled by `aria-label`
248
245
  */
249
- const GroupHeadingImpl = t0 => {
250
- const $ = c(22);
246
+ const GroupHeading = t0 => {
247
+ const $ = c(20);
251
248
  let _internalBackwardCompatibleTitle;
252
249
  let as;
253
250
  let auxiliaryText;
@@ -294,30 +291,14 @@ const GroupHeadingImpl = t0 => {
294
291
  const {
295
292
  groupHeadingId
296
293
  } = React.useContext(GroupContext);
297
- const trailingActionEnabled = useFeatureFlag(GROUP_HEADING_TRAILING_ACTION_FEATURE_FLAG);
298
- let t3;
299
- if ($[9] === Symbol.for("react.memo_cache_sentinel")) {
300
- t3 = {
301
- trailingAction: GroupHeadingTrailingAction
302
- };
303
- $[9] = t3;
304
- } else {
305
- t3 = $[9];
306
- }
307
- const [slots, childrenWithoutSlots] = useSlots(children, t3);
308
- const trailingAction = trailingActionEnabled ? slots.trailingAction : null;
309
- const headingChildren = trailingActionEnabled ? childrenWithoutSlots : children;
310
- if (trailingAction) {
311
- !(listRole === undefined || listRole === "list") ? process.env.NODE_ENV !== "production" ? invariant(false, `ActionList.GroupHeading.TrailingAction can not be used inside an ActionList with an ARIA role of "${listRole}". Trailing actions on group headings are only supported in lists with the default "list" role.`) : invariant(false) : void 0;
312
- }
313
294
  const missingAsForList = (listRole === undefined || listRole === "list") && children !== undefined && as === undefined;
314
295
  const unnecessaryAsForListboxOrMenu = listRole !== undefined && listRole !== "list" && children !== undefined && as !== undefined;
315
296
  !!missingAsForList ? process.env.NODE_ENV !== "production" ? invariant(false, "You are setting a heading for a list, that requires a heading level. Please use 'as' prop to set a proper heading level.") : invariant(false) : void 0;
316
297
  !!unnecessaryAsForListboxOrMenu ? process.env.NODE_ENV !== "production" ? invariant(false, `Looks like you are trying to set a heading level to a ${listRole} role. Group headings for ${listRole} type action lists are for representational purposes, and rendered as divs. Therefore they don't need a heading level.`) : invariant(false) : void 0;
317
- let t4;
318
- if ($[10] !== _internalBackwardCompatibleTitle || $[11] !== as || $[12] !== auxiliaryText || $[13] !== className || $[14] !== groupHeadingId || $[15] !== headingChildren || $[16] !== headingWrapElement || $[17] !== listRole || $[18] !== props || $[19] !== trailingAction || $[20] !== variant) {
298
+ let t3;
299
+ if ($[9] !== _internalBackwardCompatibleTitle || $[10] !== as || $[11] !== auxiliaryText || $[12] !== children || $[13] !== className || $[14] !== groupHeadingId || $[15] !== headingWrapElement || $[16] !== listRole || $[17] !== props || $[18] !== variant) {
319
300
  var _internalBackwardComp, _internalBackwardComp2;
320
- t4 = /*#__PURE__*/jsx(Fragment, {
301
+ t3 = /*#__PURE__*/jsx(Fragment, {
321
302
  children: listRole && listRole !== "list" ? /*#__PURE__*/jsxs(HeadingWrap, {
322
303
  role: "presentation",
323
304
  className: groupClasses.GroupHeadingWrap,
@@ -329,7 +310,7 @@ const GroupHeadingImpl = t0 => {
329
310
  children: [/*#__PURE__*/jsx("span", {
330
311
  className: clsx(className, groupClasses.GroupHeading),
331
312
  id: groupHeadingId,
332
- children: (_internalBackwardComp = _internalBackwardCompatibleTitle) !== null && _internalBackwardComp !== void 0 ? _internalBackwardComp : headingChildren
313
+ children: (_internalBackwardComp = _internalBackwardCompatibleTitle) !== null && _internalBackwardComp !== void 0 ? _internalBackwardComp : children
333
314
  }), auxiliaryText && /*#__PURE__*/jsx("div", {
334
315
  className: classes.Description,
335
316
  children: auxiliaryText
@@ -337,7 +318,6 @@ const GroupHeadingImpl = t0 => {
337
318
  }) : /*#__PURE__*/jsxs(HeadingWrap, {
338
319
  className: groupClasses.GroupHeadingWrap,
339
320
  "data-variant": variant,
340
- "data-has-trailing-action": trailingAction ? "" : undefined,
341
321
  as: headingWrapElement,
342
322
  "data-component": "GroupHeadingWrap",
343
323
  children: [/*#__PURE__*/jsx(Heading, {
@@ -345,42 +325,32 @@ const GroupHeadingImpl = t0 => {
345
325
  as: as || "h3",
346
326
  id: groupHeadingId,
347
327
  ...props,
348
- children: (_internalBackwardComp2 = _internalBackwardCompatibleTitle) !== null && _internalBackwardComp2 !== void 0 ? _internalBackwardComp2 : headingChildren
328
+ children: (_internalBackwardComp2 = _internalBackwardCompatibleTitle) !== null && _internalBackwardComp2 !== void 0 ? _internalBackwardComp2 : children
349
329
  }), auxiliaryText && /*#__PURE__*/jsx("div", {
350
330
  className: classes.Description,
351
331
  children: auxiliaryText
352
- }), trailingAction ? /*#__PURE__*/jsx("span", {
353
- className: groupClasses.GroupHeadingTrailingAction,
354
- children: trailingAction
355
- }) : null]
332
+ })]
356
333
  })
357
334
  });
358
- $[10] = _internalBackwardCompatibleTitle;
359
- $[11] = as;
360
- $[12] = auxiliaryText;
335
+ $[9] = _internalBackwardCompatibleTitle;
336
+ $[10] = as;
337
+ $[11] = auxiliaryText;
338
+ $[12] = children;
361
339
  $[13] = className;
362
340
  $[14] = groupHeadingId;
363
- $[15] = headingChildren;
364
- $[16] = headingWrapElement;
365
- $[17] = listRole;
366
- $[18] = props;
367
- $[19] = trailingAction;
368
- $[20] = variant;
369
- $[21] = t4;
341
+ $[15] = headingWrapElement;
342
+ $[16] = listRole;
343
+ $[17] = props;
344
+ $[18] = variant;
345
+ $[19] = t3;
370
346
  } else {
371
- t4 = $[21];
347
+ t3 = $[19];
372
348
  }
373
- return t4;
349
+ return t3;
374
350
  };
375
- GroupHeadingImpl.displayName = 'ActionList.GroupHeading';
351
+ GroupHeading.displayName = 'ActionList.GroupHeading';
376
352
  Group.displayName = 'ActionList.Group';
377
353
  Group.__SLOT__ = Symbol('ActionList.Group');
378
- GroupHeadingImpl.__SLOT__ = Symbol('ActionList.GroupHeading');
379
-
380
- // Expose GroupHeadingTrailingAction as ActionList.GroupHeading.TrailingAction
381
- // so the API mirrors the visual nesting (the action lives inside the heading).
382
- const GroupHeading = Object.assign(GroupHeadingImpl, {
383
- TrailingAction: GroupHeadingTrailingAction
384
- });
354
+ GroupHeading.__SLOT__ = Symbol('ActionList.GroupHeading');
385
355
 
386
356
  export { Group, GroupContext, GroupHeading };
@@ -1,5 +1,5 @@
1
- import './Group-efcb39da.css';
1
+ import './Group-743ff5c8.css';
2
2
 
3
- var groupClasses = {"Group":"prc-ActionList-Group-lMIPQ","GroupHeadingWrap":"prc-ActionList-GroupHeadingWrap-laXcX","GroupList":"prc-ActionList-GroupList-V5B3-","GroupHeading":"prc-ActionList-GroupHeading-STzxi","GroupHeadingTrailingAction":"prc-ActionList-GroupHeadingTrailingAction-jnb64"};
3
+ var groupClasses = {"Group":"prc-ActionList-Group-lMIPQ","GroupHeadingWrap":"prc-ActionList-GroupHeadingWrap-laXcX","GroupList":"prc-ActionList-GroupList-V5B3-","GroupHeading":"prc-ActionList-GroupHeading-STzxi"};
4
4
 
5
5
  export { groupClasses as default };
@@ -154,8 +154,8 @@ const slotsConfig = {
154
154
  };
155
155
 
156
156
  // Pre-allocated array for selectableRoles check, avoids per-render allocation
157
- const selectableRoles = ['menuitemradio', 'menuitemcheckbox', 'option', 'treeitem'];
158
- const listRoleTypes = ['listbox', 'menu', 'list', 'tree'];
157
+ const selectableRoles = ['menuitemradio', 'menuitemcheckbox', 'option'];
158
+ const listRoleTypes = ['listbox', 'menu', 'list'];
159
159
  const UnwrappedItem = (t0, forwardedRef) => {
160
160
  var _slots$trailingVisual, _slots$description$pr, _slots$description;
161
161
  const $ = c(159);
@@ -7,7 +7,6 @@ export type { ActionListDescriptionProps } from './Description';
7
7
  export type { ActionListLeadingVisualProps, ActionListTrailingVisualProps } from './Visuals';
8
8
  export type { ActionListHeadingProps } from './Heading';
9
9
  export type { ActionListTrailingActionProps } from './TrailingAction';
10
- export type { ActionListGroupHeadingTrailingActionProps } from './GroupHeadingTrailingAction';
11
10
  /**
12
11
  * Collection of list-related components.
13
12
  */
@@ -32,17 +31,6 @@ export declare const ActionList: (<As extends React.ElementType = "ul">(props: (
32
31
  } ? T extends unknown ? Omit<T, "as"> : never : never : never) & {
33
32
  as?: As | undefined;
34
33
  } & import("react").RefAttributes<unknown>) => React.ReactNode) & {
35
- /** Context for the `ActionList` container. */
36
- ContainerContext: import("react").Context<{
37
- container?: string;
38
- listRole?: import("../utils/types").AriaRole;
39
- selectionVariant?: "single" | "multiple" | "radio";
40
- selectionAttribute?: "aria-selected" | "aria-checked";
41
- listLabelledBy?: string;
42
- afterSelect?: Function;
43
- enableFocusZone?: boolean;
44
- defaultTrailingVisual?: React.ReactElement<any>;
45
- }>;
46
34
  /** Collects related `Items` in an `ActionList`. */
47
35
  Group: import("../utils/types").FCWithSlotMarker<import("react").PropsWithChildren<import("./Group").ActionListGroupProps>>;
48
36
  /** An actionable or selectable `Item` */
@@ -136,12 +124,7 @@ export declare const ActionList: (<As extends React.ElementType = "ul">(props: (
136
124
  groupHeadingId: string | undefined;
137
125
  }>;
138
126
  /** Heading for `ActionList.Group` */
139
- GroupHeading: import("react").FC<import("react").PropsWithChildren<import("./Group").ActionListGroupHeadingProps>> & import("..").SlotMarker & {
140
- TrailingAction: import("../utils/polymorphic").ForwardRefComponent<"a" | "button", import("./GroupHeadingTrailingAction").ActionListGroupHeadingTrailingActionProps> & {
141
- __SLOT__?: import("..").SlotMarker;
142
- displayName?: string;
143
- };
144
- };
127
+ GroupHeading: import("../utils/types").FCWithSlotMarker<import("react").PropsWithChildren<import("./Group").ActionListGroupHeadingProps>>;
145
128
  /** Secondary action */
146
129
  TrailingAction: import("../utils/polymorphic").ForwardRefComponent<"a" | "button", import("./TrailingAction").ActionListTrailingActionProps>;
147
130
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ActionList/index.ts"],"names":[],"mappings":"AAWA,YAAY,EAAC,eAAe,EAAC,MAAM,UAAU,CAAA;AAC7C,YAAY,EAAC,oBAAoB,EAAE,2BAA2B,EAAC,MAAM,SAAS,CAAA;AAC9E,YAAY,EAAC,mBAAmB,EAAC,MAAM,UAAU,CAAA;AACjD,YAAY,EAAC,uBAAuB,EAAC,MAAM,YAAY,CAAA;AACvD,YAAY,EAAC,sBAAsB,EAAC,MAAM,WAAW,CAAA;AACrD,YAAY,EAAC,0BAA0B,EAAC,MAAM,eAAe,CAAA;AA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,mDAAmD;;IAGnD,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAGzC,+DAA+D;;;;;;;;;;;;;;;;;;;;;;;;;;IAG/D,iEAAiE;;IAGjE,4EAA4E;;IAG5E,uDAAuD;;IAGvD,sDAAsD;;IAGtD,mCAAmC;;IAGnC,gGAAgG;;;;IAGhG,qCAAqC;;IAGrC,uBAAuB;;CAEvB,CAAA"}
@@ -7,14 +7,11 @@ import { Description } from './Description.js';
7
7
  import { TrailingAction } from './TrailingAction.js';
8
8
  import { TrailingVisual, LeadingVisual } from './Visuals.js';
9
9
  import { Heading } from './Heading.js';
10
- import { ActionListContainerContext } from './ActionListContainerContext.js';
11
10
 
12
11
  /**
13
12
  * Collection of list-related components.
14
13
  */
15
14
  const ActionList = Object.assign(List, {
16
- /** Context for the `ActionList` container. */
17
- ContainerContext: ActionListContainerContext,
18
15
  /** Collects related `Items` in an `ActionList`. */
19
16
  Group,
20
17
  /** An actionable or selectable `Item` */
@@ -1 +1 @@
1
- {"version":3,"file":"Blankslate.d.ts","sourceRoot":"","sources":["../../src/Blankslate/Blankslate.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAM9B,KAAK,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG;IACzD;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;CACpC,CAAA;AAED,iBAAS,UAAU,CAAC,EAAC,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAe,EAAE,GAA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BAM5F;AAED,KAAK,0BAA0B,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;AAEnE,iBAAS,WAAW,CAAC,EAAC,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAC,EAAE,0BAA0B,qBAM9E;AAED,KAAK,4BAA4B,GAC7B,CAAC,KAAK,CAAC,iBAAiB,CAAC;IACvB,IAAI,CAAC,EAAE,KAAK,CAAA;CACb,CAAC,GACA,KAAK,CAAC,wBAAwB,CAAC,QAAQ,CAAC,CAAC,GAC3C,KAAK,CAAC,iBAAiB,CAAC;IACtB,IAAI,EAAE,MAAM,CAAA;CACb,CAAC,CAAA;AAEN,iBAAS,aAAa,CAAC,EAAC,QAAQ,EAAE,IAAI,EAAE,GAAG,KAAK,EAAC,EAAE,4BAA4B,qBAe9E;AAED,KAAK,8BAA8B,GAAG,KAAK,CAAC,iBAAiB,CAAC;IAC5D,IAAI,EAAE,MAAM,CAAA;CACb,CAAC,CAAA;AAEF,iBAAS,eAAe,CAAC,EAAC,QAAQ,EAAE,IAAI,EAAC,EAAE,8BAA8B,qBAMxE;AAED,OAAO,EAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,eAAe,EAAC,CAAA;AACjF,YAAY,EACV,eAAe,EACf,qBAAqB,EACrB,sBAAsB,EACtB,0BAA0B,EAC1B,4BAA4B,EAC5B,8BAA8B,GAC/B,CAAA"}
@@ -70,7 +70,6 @@ function Blankslate(t0) {
70
70
  if ($[12] !== children || $[13] !== size || $[14] !== t3 || $[15] !== t4 || $[16] !== t5 || $[17] !== t6) {
71
71
  t7 = /*#__PURE__*/jsx("div", {
72
72
  className: t3,
73
- "data-component": "Blankslate",
74
73
  "data-border": t4,
75
74
  "data-narrow": t5,
76
75
  "data-spacious": t6,
@@ -147,7 +146,6 @@ function Visual(t0) {
147
146
  t2 = /*#__PURE__*/jsx("span", {
148
147
  ...rest,
149
148
  className: t1,
150
- "data-component": "Blankslate.Visual",
151
149
  children: children
152
150
  });
153
151
  $[6] = children;
@@ -197,7 +195,6 @@ function Heading(t0) {
197
195
  t3 = /*#__PURE__*/jsx(Component, {
198
196
  ...rest,
199
197
  className: t2,
200
- "data-component": "Blankslate.Heading",
201
198
  children: children
202
199
  });
203
200
  $[7] = Component;
@@ -243,7 +240,6 @@ function Description(t0) {
243
240
  t2 = /*#__PURE__*/jsx("p", {
244
241
  ...rest,
245
242
  className: t1,
246
- "data-component": "Blankslate.Description",
247
243
  children: children
248
244
  });
249
245
  $[6] = children;
@@ -291,7 +287,6 @@ function PrimaryAction(t0) {
291
287
  if ($[5] !== children || $[6] !== href || $[7] !== props || $[8] !== t2 || $[9] !== t3) {
292
288
  t4 = /*#__PURE__*/jsx("div", {
293
289
  className: t1,
294
- "data-component": "Blankslate.PrimaryAction",
295
290
  children: /*#__PURE__*/jsx(ButtonComponent, {
296
291
  ...props,
297
292
  as: t2,
@@ -329,7 +324,6 @@ function SecondaryAction(t0) {
329
324
  if ($[1] !== children || $[2] !== href) {
330
325
  t2 = /*#__PURE__*/jsx("div", {
331
326
  className: t1,
332
- "data-component": "Blankslate.SecondaryAction",
333
327
  children: /*#__PURE__*/jsx(Link, {
334
328
  href: href,
335
329
  children: children
@@ -44,7 +44,6 @@ function BranchName(props, ref) {
44
44
  ...rest,
45
45
  ref: ref,
46
46
  className: t1,
47
- "data-component": "BranchName",
48
47
  children: children
49
48
  });
50
49
  $[7] = Component;
@@ -1 +1 @@
1
- {"version":3,"file":"Breadcrumbs.d.ts","sourceRoot":"","sources":["../../src/Breadcrumbs/Breadcrumbs.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,EAAE,EAAC,MAAM,SAAS,CAAA;AAC/B,OAAO,KAA6E,MAAM,OAAO,CAAA;AAUjG,OAAO,EAAC,KAAK,gBAAgB,EAAkB,MAAM,6BAA6B,CAAA;AAElF,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,iBAAiB,CAAC;IACrD;;OAE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M,MAAM,eAAe,GAAG,gBAAgB,CAAA;AAE9C;;GAEG;AACH,MAAM,MAAM,mBAAmB,CAAC,EAAE,SAAS,KAAK,CAAC,WAAW,GAAG,GAAG,IAAI,oBAAoB,CAAC,EAAE,CAAC,CAAA"}
@@ -189,7 +189,6 @@ const BreadcrumbsMenuItem = /*#__PURE__*/React.forwardRef((t0, menuRefCallback)
189
189
  t13 = /*#__PURE__*/jsxs(Details, {
190
190
  ref: detailsRefCallback,
191
191
  className: classes.MenuDetails,
192
- "data-component": "Breadcrumbs.MenuItem",
193
192
  children: [t10, t12]
194
193
  });
195
194
  $[21] = detailsRefCallback;
@@ -363,7 +362,6 @@ function Breadcrumbs({
363
362
  ref: containerRef,
364
363
  "data-overflow": overflow,
365
364
  "data-variant": variant,
366
- "data-component": "Breadcrumbs",
367
365
  children: /*#__PURE__*/jsx(BreadcrumbsList, {
368
366
  children: finalChildren
369
367
  })
@@ -405,7 +403,6 @@ const BreadcrumbsItem = fixedForwardRef((props, ref) => {
405
403
  className: clsx(className, classes.Item, selected && 'selected'),
406
404
  "aria-current": selected ? 'page' : undefined,
407
405
  ref: ref,
408
- "data-component": "Breadcrumbs.Item",
409
406
  ...rest
410
407
  });
411
408
  });
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["../../src/ButtonGroup/ButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAC,KAAK,iBAAiB,EAAC,MAAM,OAAO,CAAA;AAKnD,OAAO,KAAK,EAAC,mBAAmB,IAAI,8BAA8B,EAAC,MAAM,sBAAsB,CAAA;AAE/F,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,CAAC;IAC/C,4BAA4B;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,sCAAsC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAC,CAAA;AAEF,QAAA,MAAM,WAAW,EA0BX,8BAA8B,CAAC,KAAK,EAAE,gBAAgB,CAAC,CAAA;AAI7D,eAAe,WAAW,CAAA"}
1
+ {"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["../../src/ButtonGroup/ButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAC,KAAK,iBAAiB,EAAC,MAAM,OAAO,CAAA;AAKnD,OAAO,KAAK,EAAC,mBAAmB,IAAI,8BAA8B,EAAC,MAAM,sBAAsB,CAAA;AAE/F,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,CAAC;IAC/C,4BAA4B;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,sCAAsC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAC,CAAA;AAEF,QAAA,MAAM,WAAW,EAoBX,8BAA8B,CAAC,KAAK,EAAE,gBAAgB,CAAC,CAAA;AAI7D,eAAe,WAAW,CAAA"}
@@ -77,7 +77,6 @@ const ButtonGroup = /*#__PURE__*/React.forwardRef(function ButtonGroup(t0, forwa
77
77
  className: t5,
78
78
  role: role,
79
79
  ...rest,
80
- "data-component": "ButtonGroup",
81
80
  children: buttons
82
81
  });
83
82
  $[13] = BaseComponent;
@@ -27,7 +27,6 @@ export type CheckboxProps = {
27
27
  * Used during form submission and to identify which checkbox inputs are selected
28
28
  */
29
29
  value?: string;
30
- 'data-component'?: string;
31
30
  } & Exclude<InputHTMLAttributes<HTMLInputElement>, 'value'>;
32
31
  /**
33
32
  * An accessible, native checkbox component
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../src/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAiD,KAAK,mBAAmB,EAAoB,MAAM,OAAO,CAAA;AAExH,OAAO,KAAK,EAAC,oBAAoB,EAAC,MAAM,qCAAqC,CAAA;AAI7E,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,gBAAgB,CAAA;AAElD,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,aAA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AAC,CAAA;AAE3D;;GAEG;AACH,QAAA,MAAM,QAAQ,qGAqDb,CAAA;wBAK0B,cAAc,CAAC,OAAO,QAAQ,CAAC;AAA1D,wBAA0D"}
@@ -20,7 +20,6 @@ const Checkbox = /*#__PURE__*/React.forwardRef(({
20
20
  required,
21
21
  validationStatus,
22
22
  value,
23
- ['data-component']: dataComponent,
24
23
  ...rest
25
24
  }, ref
26
25
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -67,15 +66,11 @@ const Checkbox = /*#__PURE__*/React.forwardRef(({
67
66
  checkbox.setAttribute('aria-checked', checkbox.checked ? 'true' : 'false');
68
67
  }
69
68
  });
70
- return (
71
- /*#__PURE__*/
72
- // @ts-expect-error inputProp needs a non nullable ref
73
- jsx("input", {
74
- ...inputProps,
75
- "data-component": dataComponent !== null && dataComponent !== void 0 ? dataComponent : 'Checkbox',
76
- className: clsx(className, sharedClasses.Input, classes.Checkbox)
77
- })
78
- );
69
+ // @ts-expect-error inputProp needs a non nullable ref
70
+ return /*#__PURE__*/jsx("input", {
71
+ ...inputProps,
72
+ className: clsx(className, sharedClasses.Input, classes.Checkbox)
73
+ });
79
74
  });
80
75
  Checkbox.displayName = 'Checkbox';
81
76
  Checkbox.__SLOT__ = Symbol('Checkbox');
@@ -96,7 +96,6 @@ const CheckboxGroup = t0 => {
96
96
  let t5;
97
97
  if ($[17] !== children || $[18] !== disabled || $[19] !== rest) {
98
98
  t5 = /*#__PURE__*/jsx(CheckboxOrRadioGroup, {
99
- "data-component": "CheckboxGroup",
100
99
  disabled: disabled,
101
100
  ...rest,
102
101
  children: children
@@ -1 +1 @@
1
- {"version":3,"file":"CircleBadge.d.ts","sourceRoot":"","sources":["../../src/CircleBadge/CircleBadge.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,gBAAgB,CAAA;AAGlD,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,YAAY,CAAA;AAG5C,QAAA,MAAM,YAAY;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AAmBxE,QAAA,MAAM,eAAe;YAAW,YAAY;;CAA8D,CAAA;AAI1G,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC,OAAO,eAAe,CAAC,CAAA;AAEzE;;;GAGG;0BAlBkB,EAAE,SAAS,KAAK,CAAC,WAAW,+BAAqC,gBAAgB,CAAC,EAAE,CAAC;;gBAS1E,YAAY;;;;AAU5C,wBAAkE"}
@@ -21,85 +21,69 @@ const sizeStyles = ({
21
21
  };
22
22
  };
23
23
  const CircleBadge = t0 => {
24
- const $ = c(14);
24
+ const $ = c(12);
25
25
  let T0;
26
26
  let t1;
27
27
  let t2;
28
28
  let t3;
29
29
  let t4;
30
- let t5;
31
30
  if ($[0] !== t0) {
32
31
  const {
33
- as: t6,
32
+ as: t5,
34
33
  ...props
35
34
  } = t0;
36
- const Component = t6 === undefined ? "div" : t6;
35
+ const Component = t5 === undefined ? "div" : t5;
37
36
  T0 = Component;
38
37
  t1 = props;
39
- t2 = "CircleBadge";
40
- t3 = clsx(styles.CircleBadge, props.className);
41
- t4 = props.inline ? "" : undefined;
42
- t5 = sizeStyles(props);
38
+ t2 = clsx(styles.CircleBadge, props.className);
39
+ t3 = props.inline ? "" : undefined;
40
+ t4 = sizeStyles(props);
43
41
  $[0] = t0;
44
42
  $[1] = T0;
45
43
  $[2] = t1;
46
44
  $[3] = t2;
47
45
  $[4] = t3;
48
46
  $[5] = t4;
49
- $[6] = t5;
50
47
  } else {
51
48
  T0 = $[1];
52
49
  t1 = $[2];
53
50
  t2 = $[3];
54
51
  t3 = $[4];
55
52
  t4 = $[5];
56
- t5 = $[6];
57
53
  }
58
- let t6;
59
- if ($[7] !== T0 || $[8] !== t1 || $[9] !== t2 || $[10] !== t3 || $[11] !== t4 || $[12] !== t5) {
60
- t6 = /*#__PURE__*/jsx(T0, {
54
+ let t5;
55
+ if ($[6] !== T0 || $[7] !== t1 || $[8] !== t2 || $[9] !== t3 || $[10] !== t4) {
56
+ t5 = /*#__PURE__*/jsx(T0, {
61
57
  ...t1,
62
- "data-component": t2,
63
- className: t3,
64
- "data-inline": t4,
65
- style: t5
58
+ className: t2,
59
+ "data-inline": t3,
60
+ style: t4
66
61
  });
67
- $[7] = T0;
68
- $[8] = t1;
69
- $[9] = t2;
70
- $[10] = t3;
71
- $[11] = t4;
72
- $[12] = t5;
73
- $[13] = t6;
62
+ $[6] = T0;
63
+ $[7] = t1;
64
+ $[8] = t2;
65
+ $[9] = t3;
66
+ $[10] = t4;
67
+ $[11] = t5;
74
68
  } else {
75
- t6 = $[13];
69
+ t5 = $[11];
76
70
  }
77
- return t6;
71
+ return t5;
78
72
  };
79
73
  const CircleBadgeIcon = props => {
80
- const $ = c(5);
74
+ const $ = c(2);
81
75
  let t0;
82
- if ($[0] !== props.className) {
83
- t0 = clsx(styles.CircleBadgeIcon, props.className);
84
- $[0] = props.className;
76
+ if ($[0] !== props) {
77
+ t0 = /*#__PURE__*/jsx(Octicon, {
78
+ className: styles.CircleBadgeIcon,
79
+ ...props
80
+ });
81
+ $[0] = props;
85
82
  $[1] = t0;
86
83
  } else {
87
84
  t0 = $[1];
88
85
  }
89
- let t1;
90
- if ($[2] !== props || $[3] !== t0) {
91
- t1 = /*#__PURE__*/jsx(Octicon, {
92
- ...props,
93
- "data-component": "CircleBadge.Icon",
94
- className: t0
95
- });
96
- $[2] = props;
97
- $[3] = t0;
98
- $[4] = t1;
99
- } else {
100
- t1 = $[4];
101
- }
102
- return t1;
86
+ return t0;
103
87
  };
104
88
  CircleBadgeIcon.displayName = 'CircleBadge.Icon';
105
89
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ConfirmationDialog.d.ts","sourceRoot":"","sources":["../../src/ConfirmationDialog/ConfirmationDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,KAAK,EAAoB,WAAW,EAAE,YAAY,EAAC,MAAM,WAAW,CAAA;AAI3E;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;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