@primer/react 0.0.0-20260618024924 → 0.0.0-20260619191426

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 (63) hide show
  1. package/CHANGELOG.md +11 -17
  2. package/dist/Radio/Radio.d.ts.map +1 -1
  3. package/dist/Radio/Radio.js +1 -2
  4. package/dist/RadioGroup/RadioGroup.js +0 -1
  5. package/dist/RelativeTime/RelativeTime.js +0 -1
  6. package/dist/ScrollableRegion/ScrollableRegion.d.ts.map +1 -1
  7. package/dist/ScrollableRegion/ScrollableRegion.js +0 -1
  8. package/dist/SegmentedControl/SegmentedControl.d.ts.map +1 -1
  9. package/dist/SegmentedControl/SegmentedControl.js +0 -1
  10. package/dist/SegmentedControl/SegmentedControlButton.d.ts.map +1 -1
  11. package/dist/SegmentedControl/SegmentedControlButton.js +0 -1
  12. package/dist/SegmentedControl/SegmentedControlIconButton.d.ts.map +1 -1
  13. package/dist/SegmentedControl/SegmentedControlIconButton.js +0 -1
  14. package/dist/Select/Select.d.ts.map +1 -1
  15. package/dist/Select/Select.js +2 -6
  16. package/dist/SideNav.d.ts.map +1 -1
  17. package/dist/SideNav.js +0 -2
  18. package/dist/Skeleton/SkeletonBox.d.ts +0 -1
  19. package/dist/Skeleton/SkeletonBox.d.ts.map +1 -1
  20. package/dist/Skeleton/SkeletonBox.js +47 -54
  21. package/dist/SkeletonText/SkeletonText.d.ts.map +1 -1
  22. package/dist/SkeletonText/SkeletonText.js +2 -2
  23. package/dist/Spinner/Spinner.js +0 -1
  24. package/dist/UnderlineNav/UnderlineNav-263b4e8f.css +2 -0
  25. package/dist/UnderlineNav/UnderlineNav-263b4e8f.css.map +1 -0
  26. package/dist/UnderlineNav/UnderlineNav.d.ts +1 -2
  27. package/dist/UnderlineNav/UnderlineNav.d.ts.map +1 -1
  28. package/dist/UnderlineNav/UnderlineNav.js +86 -332
  29. package/dist/UnderlineNav/UnderlineNav.module.css.js +2 -2
  30. package/dist/UnderlineNav/UnderlineNavContext.d.ts +1 -11
  31. package/dist/UnderlineNav/UnderlineNavContext.d.ts.map +1 -1
  32. package/dist/UnderlineNav/UnderlineNavContext.js +1 -4
  33. package/dist/UnderlineNav/UnderlineNavItem-402cd41c.css +2 -0
  34. package/dist/UnderlineNav/UnderlineNavItem-402cd41c.css.map +1 -0
  35. package/dist/UnderlineNav/UnderlineNavItem.d.ts +6 -0
  36. package/dist/UnderlineNav/UnderlineNavItem.d.ts.map +1 -1
  37. package/dist/UnderlineNav/UnderlineNavItem.js +36 -39
  38. package/dist/UnderlineNav/UnderlineNavItem.module.css.js +1 -1
  39. package/dist/UnderlineNav/utils.d.ts +2 -0
  40. package/dist/UnderlineNav/utils.d.ts.map +1 -1
  41. package/dist/UnderlineNav/utils.js +2 -1
  42. package/dist/experimental/UnderlinePanels/UnderlinePanels-162f9aed.css +2 -0
  43. package/dist/experimental/UnderlinePanels/UnderlinePanels-162f9aed.css.map +1 -0
  44. package/dist/experimental/UnderlinePanels/UnderlinePanels.module.css.js +1 -1
  45. package/dist/internal/components/UnderlineTabbedInterface-1745a3d6.css +2 -0
  46. package/dist/internal/components/UnderlineTabbedInterface-1745a3d6.css.map +1 -0
  47. package/dist/internal/components/UnderlineTabbedInterface.d.ts +0 -1
  48. package/dist/internal/components/UnderlineTabbedInterface.d.ts.map +1 -1
  49. package/dist/internal/components/UnderlineTabbedInterface.js +66 -60
  50. package/dist/internal/components/UnderlineTabbedInterface.module.css.js +1 -1
  51. package/generated/components.json +2 -2
  52. package/package.json +1 -1
  53. package/dist/UnderlineNav/UnderlineNav-4344d9b0.css +0 -2
  54. package/dist/UnderlineNav/UnderlineNav-4344d9b0.css.map +0 -1
  55. package/dist/UnderlineNav/UnderlineNavItem-b65e8fd3.css +0 -2
  56. package/dist/UnderlineNav/UnderlineNavItem-b65e8fd3.css.map +0 -1
  57. package/dist/UnderlineNav/styles.d.ts +0 -16
  58. package/dist/UnderlineNav/styles.d.ts.map +0 -1
  59. package/dist/UnderlineNav/styles.js +0 -19
  60. package/dist/experimental/UnderlinePanels/UnderlinePanels-e4b325b9.css +0 -2
  61. package/dist/experimental/UnderlinePanels/UnderlinePanels-e4b325b9.css.map +0 -1
  62. package/dist/internal/components/UnderlineTabbedInterface-4197ee28.css +0 -2
  63. package/dist/internal/components/UnderlineTabbedInterface-4197ee28.css.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,26 +1,22 @@
1
1
  # @primer/react
2
2
 
3
- ## 0.0.0-20260618024924
3
+ ## 0.0.0-20260619191426
4
4
 
5
5
  ### Minor Changes
6
6
 
7
- - [#8009](https://github.com/primer/react/pull/8009) [`2cf75b5`](https://github.com/primer/react/commit/2cf75b5e81218b55252ccd87beac6b2103326917) Thanks [@joshblack](https://github.com/joshblack)! - Update CSS build options to compile down :is() selectors
7
+ - [#7622](https://github.com/primer/react/pull/7622) [`4d8d5e6`](https://github.com/primer/react/commit/4d8d5e6b9b0b1d394d19154369f9c37eabe7cb87) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Refactors `UnderlineNav` overflow handling to use CSS-based overflow detection instead of JavaScript width measurements, eliminating layout shift (CLS) issues and improving performance. The overflow menu is now implemented with `ActionMenu`, and item registration uses a descendant registry instead of the `React.Children` API. Consumer-facing changes: items can now be wrapped in fragments or wrapper components; the current item may appear in the overflow menu when the viewport is narrow; and the overflow menu button is right-aligned.
8
8
 
9
- - [#7994](https://github.com/primer/react/pull/7994) [`8cb7f6d`](https://github.com/primer/react/commit/8cb7f6d9e1314e8c9b3bddeabebbf6a93fb4f768) Thanks [@TylerJDev](https://github.com/TylerJDev)! - ActionList: Adds `tooltipDirection` prop to `ActionList.TrailingAction`
9
+ ### Patch Changes
10
+
11
+ - Fake entry to force publishing
12
+
13
+ ## 38.29.0
10
14
 
11
- - [#7991](https://github.com/primer/react/pull/7991) [`8d5609e`](https://github.com/primer/react/commit/8d5609e816db6cc8e548e73560363fc4e6fdb2dd) Thanks [@llastflowers](https://github.com/llastflowers)! - Add data-component attributes and associated tests for:
15
+ ### Minor Changes
16
+
17
+ - [#8009](https://github.com/primer/react/pull/8009) [`2cf75b5`](https://github.com/primer/react/commit/2cf75b5e81218b55252ccd87beac6b2103326917) Thanks [@joshblack](https://github.com/joshblack)! - Update CSS build options to compile down :is() selectors
12
18
 
13
- Radio
14
- RadioGroup
15
- RelativeTime
16
- ScrollableRegion
17
- SegmentedControl
18
- Select
19
- SideNav
20
- SkeletonBox
21
- SkeletonAvatar
22
- SkeletonText
23
- Spinner
19
+ - [#7994](https://github.com/primer/react/pull/7994) [`8cb7f6d`](https://github.com/primer/react/commit/8cb7f6d9e1314e8c9b3bddeabebbf6a93fb4f768) Thanks [@TylerJDev](https://github.com/TylerJDev)! - ActionList: Adds `tooltipDirection` prop to `ActionList.TrailingAction`
24
20
 
25
21
  - [#7867](https://github.com/primer/react/pull/7867) [`4ec4248`](https://github.com/primer/react/commit/4ec4248b9c1ae662b761385110f1fd7ad7480a2f) Thanks [@llastflowers](https://github.com/llastflowers)! - Add data-component attributes and associated tests for ActionMenu, AnchoredOverlay, Autocomplete, and NavList
26
22
 
@@ -47,8 +43,6 @@
47
43
 
48
44
  - [#7984](https://github.com/primer/react/pull/7984) [`06fdad4`](https://github.com/primer/react/commit/06fdad432ad274878b15921d3ee25a157c61e70d) Thanks [@joshblack](https://github.com/joshblack)! - CircleBadge, ActionList: Prevent internal props from rendering on DOM elements
49
45
 
50
- - Fake entry to force publishing
51
-
52
46
  - [#7978](https://github.com/primer/react/pull/7978) [`e3f655c`](https://github.com/primer/react/commit/e3f655c6735ffd1bd105b8e7599e273bb1eee4d1) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - PageHeader.ParentLink: Forward unknown props (e.g. `to`) to the underlying element, enabling client-side routing with polymorphic `as`.
53
47
 
54
48
  - [#7930](https://github.com/primer/react/pull/7930) [`f32ac0f`](https://github.com/primer/react/commit/f32ac0f4d623a78c9e92c43e0f13e654eb5ce2ca) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Blankslate: reduce `size="small"` padding to `var(--base-size-16)` for denser layouts
@@ -1 +1 @@
1
- {"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../src/Radio/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,mBAAmB,EAAe,MAAM,OAAO,CAAA;AAChF,OAAO,KAAmB,MAAM,OAAO,CAAA;AAKvC,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,gBAAgB,CAAA;AAElD,MAAM,MAAM,UAAU,GAAG;IACvB;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;OAEG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAA;IACvC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,CAAA;AAEzC;;GAEG;AACH,QAAA,MAAM,KAAK,kGA+CV,CAAA;wBAKuB,cAAc,CAAC,OAAO,KAAK,CAAC;AAApD,wBAAoD"}
1
+ {"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../src/Radio/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,mBAAmB,EAAe,MAAM,OAAO,CAAA;AAChF,OAAO,KAAmB,MAAM,OAAO,CAAA;AAKvC,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,gBAAgB,CAAA;AAElD,MAAM,MAAM,UAAU,GAAG;IACvB;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;OAEG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAA;IACvC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,CAAA;AAEzC;;GAEG;AACH,QAAA,MAAM,KAAK,kGA8CV,CAAA;wBAKuB,cAAc,CAAC,OAAO,KAAK,CAAC;AAApD,wBAAoD"}
@@ -94,8 +94,7 @@ const Radio = /*#__PURE__*/React.forwardRef((t0, ref) => {
94
94
  required: required,
95
95
  onChange: handleOnChange,
96
96
  className: t4,
97
- ...rest,
98
- "data-component": "Radio"
97
+ ...rest
99
98
  });
100
99
  $[15] = checked;
101
100
  $[16] = disabled;
@@ -87,7 +87,6 @@ const RadioGroup = t0 => {
87
87
  if ($[16] !== children || $[17] !== disabled || $[18] !== rest) {
88
88
  t4 = /*#__PURE__*/jsx(CheckboxOrRadioGroup, {
89
89
  disabled: disabled,
90
- "data-component": "RadioGroup",
91
90
  ...rest,
92
91
  children: children
93
92
  });
@@ -65,7 +65,6 @@ function RelativeTime(t0) {
65
65
  ...props,
66
66
  date: date,
67
67
  "no-title": t1,
68
- "data-component": "RelativeTime",
69
68
  children: t2
70
69
  });
71
70
  $[11] = date;
@@ -1 +1 @@
1
- {"version":3,"file":"ScrollableRegion.d.ts","sourceRoot":"","sources":["../../src/ScrollableRegion/ScrollableRegion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,KAAK,QAAQ,GACT;IACE,YAAY,EAAE,MAAM,CAAA;IACpB,iBAAiB,CAAC,EAAE,KAAK,CAAA;CAC1B,GACD;IACE,YAAY,CAAC,EAAE,KAAK,CAAA;IACpB,iBAAiB,EAAE,MAAM,CAAA;CAC1B,CAAA;AAEL,KAAK,qBAAqB,GAAG,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAA;AAE7E,iBAAS,gBAAgB,CAAC,EACxB,YAAY,EAAE,KAAK,EACnB,iBAAiB,EAAE,UAAU,EAC7B,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,qBAAqB,qBAuBvB;AAED,OAAO,EAAC,gBAAgB,EAAC,CAAA;AACzB,YAAY,EAAC,qBAAqB,EAAC,CAAA"}
1
+ {"version":3,"file":"ScrollableRegion.d.ts","sourceRoot":"","sources":["../../src/ScrollableRegion/ScrollableRegion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,KAAK,QAAQ,GACT;IACE,YAAY,EAAE,MAAM,CAAA;IACpB,iBAAiB,CAAC,EAAE,KAAK,CAAA;CAC1B,GACD;IACE,YAAY,CAAC,EAAE,KAAK,CAAA;IACpB,iBAAiB,EAAE,MAAM,CAAA;CAC1B,CAAA;AAEL,KAAK,qBAAqB,GAAG,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAA;AAE7E,iBAAS,gBAAgB,CAAC,EACxB,YAAY,EAAE,KAAK,EACnB,iBAAiB,EAAE,UAAU,EAC7B,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,qBAAqB,qBAiBvB;AAED,OAAO,EAAC,gBAAgB,EAAC,CAAA;AACzB,YAAY,EAAC,qBAAqB,EAAC,CAAA"}
@@ -66,7 +66,6 @@ function ScrollableRegion(t0) {
66
66
  ...regionProps,
67
67
  ref: ref,
68
68
  className: t2,
69
- "data-component": "ScrollableRegion",
70
69
  children: children
71
70
  });
72
71
  $[12] = children;
@@ -1 +1 @@
1
- {"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../src/SegmentedControl/SegmentedControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyB,MAAM,OAAO,CAAA;AAC7C,OAAO,KAAK,EAAC,2BAA2B,EAAC,MAAM,0BAA0B,CAAA;AAEzE,OAAO,KAAK,EA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MAAM,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,wDAAwD;IACxD,SAAS,CAAC,EAAE,OAAO,GAAG,eAAe,CAAC,OAAO,CAAC,CAAA;IAC9C,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,IAAI,CAAA;IAC1C,8BAA8B;IAC9B,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;IACzB,6FAA6F;IAC7F,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC,0BAA0B,EAAE,YAAY,GAAG,UAAU,GAAG,SAAS,CAAC,CAAC,CAAA;IACxG,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAsMD,eAAO,MAAM,gBAAgB;;;CAG3B,CAAA"}
@@ -226,7 +226,6 @@ const Root = t0 => {
226
226
  ...t7,
227
227
  "data-size": size,
228
228
  ...rest,
229
- "data-component": "SegmentedControl",
230
229
  children: t8
231
230
  });
232
231
  $[41] = ariaLabel;
@@ -1 +1 @@
1
- {"version":3,"file":"SegmentedControlButton.d.ts","sourceRoot":"","sources":["../../src/SegmentedControl/SegmentedControlButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,oBAAoB,EAAC,MAAM,OAAO,CAAA;AAC/C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAA;AAMrD,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,gBAAgB,CAAA;AAEpD,MAAM,MAAM,2BAA2B,GAAG;IACxC,+CAA+C;IAC/C,QAAQ,EAAE,MAAM,CAAA;IAChB,oKAAoK;IACpK,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,sKAAsK;IACtK,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,iDAAiD;IAEjD,aAAa,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,KA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W,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC,GAAG,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;IACnG,gHAAgH;IAChH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACxB,GAAG,oBAAoB,CAAC,iBAAiB,GAAG,aAAa,CAAC,CAAA;AAE3D,QAAA,MAAM,sBAAsB,EAAE,gBAAgB,CAAC,KAAK,CAAC,iBAAiB,CAAC,2BAA2B,CAAC,CAyClG,CAAA;AAED,eAAe,sBAAsB,CAAA"}
@@ -158,7 +158,6 @@ const SegmentedControlButton = t0 => {
158
158
  className: t4,
159
159
  type: "button",
160
160
  ...rest,
161
- "data-component": "SegmentedControl.Button",
162
161
  children: t10
163
162
  });
164
163
  $[27] = rest;
@@ -1 +1 @@
1
- {"version":3,"file":"SegmentedControlIconButton.d.ts","sourceRoot":"","sources":["../../src/SegmentedControl/SegmentedControlIconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,oBAAoB,EAAC,MAAM,OAAO,CAAA;AAC/C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAA;AAErD,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,cAAc,CAAA;AAIlD,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,gBAAgB,CAAA;AAEpD,MAAM,MAAM,+BAA+B,GAAG;IAC5C,YAAY,EAAE,MAAM,CAAA;IACpB,0DAA0D;IAE1D,IAAI,EAAE,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC,GAAG,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;IAC3F,8JAA8J;IAC9J,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,kKAAkK;IAClK,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,kFAAkF;IAClF,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,oCAAoC;IACpC,gBAAgB,CAAC,EAAE,gBAAgB,CAAA;IACnC,sCAAsC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,GAAG,oBAAoB,CAAC,iBAAiB,GAAG,aAAa,CAAC,CAAA;AAE3D,eAAO,MAAM,0BAA0B,EAAE,gBAAgB,CAAC,KAAK,CAAC,iBAAiB,CAAC,+BAA+B,CAAC,CAkCjH,CAAA;AAID,eAAe,0BAA0B,CAAA"}
1
+ {"version":3,"file":"SegmentedControlIconButton.d.ts","sourceRoot":"","sources":["../../src/SegmentedControl/SegmentedControlIconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,oBAAoB,EAAC,MAAM,OAAO,CAAA;AAC/C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAA;AAErD,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,cAAc,CAAA;AAIlD,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,gBAAgB,CAAA;AAEpD,MAAM,MAAM,+BAA+B,GAAG;IAC5C,YAAY,EAAE,MAAM,CAAA;IACpB,0DAA0D;IAE1D,IAAI,EAAE,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC,GAAG,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;IAC3F,8JAA8J;IAC9J,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,kKAAkK;IAClK,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,kFAAkF;IAClF,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,oCAAoC;IACpC,gBAAgB,CAAC,EAAE,gBAAgB,CAAA;IACnC,sCAAsC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,GAAG,oBAAoB,CAAC,iBAAiB,GAAG,aAAa,CAAC,CAAA;AAE3D,eAAO,MAAM,0BAA0B,EAAE,gBAAgB,CAAC,KAAK,CAAC,iBAAiB,CAAC,+BAA+B,CAAC,CAiCjH,CAAA;AAID,eAAe,0BAA0B,CAAA"}
@@ -114,7 +114,6 @@ const SegmentedControlIconButton = t0 => {
114
114
  "aria-disabled": t6,
115
115
  className: t7,
116
116
  ...rest,
117
- "data-component": "SegmentedControl.IconButton",
118
117
  children: t10
119
118
  });
120
119
  $[20] = rest;
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,yCAAyC,CAAA;AAE/E,OAAO,KAAK,EAAC,mBAAmB,IAAI,8BAA8B,EAAC,MAAM,sBAAsB,CAAA;AAI/F,MAAM,MAAM,WAAW,GAAG,IAAI,CAC5B,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC,kBAAkB,EAAE,SAAS,GAAG,UAAU,CAAC,EAC/F,UAAU,GAAG,kBAAkB,GAAG,mBAAmB,GAAG,IAAI,CAC7D,GAAG;IACF,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;;;;eAqE2F,MAAM;;;;AAQlG,wBAIE"}
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,yCAAyC,CAAA;AAE/E,OAAO,KAAK,EAAC,mBAAmB,IAAI,8BAA8B,EAAC,MAAM,sBAAsB,CAAA;AAI/F,MAAM,MAAM,WAAW,GAAG,IAAI,CAC5B,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC,kBAAkB,EAAE,SAAS,GAAG,UAAU,CAAC,EAC/F,UAAU,GAAG,kBAAkB,GAAG,mBAAmB,GAAG,IAAI,CAC7D,GAAG;IACF,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;;;;eAoE2F,MAAM;;;;AAQlG,wBAIE"}
@@ -137,7 +137,6 @@ const Select = /*#__PURE__*/React.forwardRef((t0, ref) => {
137
137
  value: "",
138
138
  disabled: required,
139
139
  hidden: required,
140
- "data-component": "Select.Option",
141
140
  children: placeholder
142
141
  });
143
142
  $[15] = placeholder;
@@ -157,7 +156,6 @@ const Select = /*#__PURE__*/React.forwardRef((t0, ref) => {
157
156
  className: t4,
158
157
  "data-hasplaceholder": t5,
159
158
  defaultValue: t6,
160
- "data-component": "Select",
161
159
  children: [t7, children]
162
160
  });
163
161
  $[18] = children;
@@ -210,8 +208,7 @@ const Option = props => {
210
208
  let t0;
211
209
  if ($[0] !== props) {
212
210
  t0 = /*#__PURE__*/jsx("option", {
213
- ...props,
214
- "data-component": "Select.Option"
211
+ ...props
215
212
  });
216
213
  $[0] = props;
217
214
  $[1] = t0;
@@ -225,8 +222,7 @@ const OptGroup = props => {
225
222
  let t0;
226
223
  if ($[0] !== props) {
227
224
  t0 = /*#__PURE__*/jsx("optgroup", {
228
- ...props,
229
- "data-component": "Select.OptGroup"
225
+ ...props
230
226
  });
231
227
  $[0] = props;
232
228
  $[1] = t0;
@@ -1 +1 @@
1
- {"version":3,"file":"SideNav.d.ts","sourceRoot":"","sources":["../src/SideNav.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,EAAE,EAAC,MAAM,SAAS,CAAA;AAC/B,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,eAAe,CAAA;AACjD,OAAa,EAAC,KAAK,SAAS,EAAC,MAAM,QAAQ,CAAA;AAC3C,OAA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,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAC,KAAK,iBAAiB,EAAC,MAAM,OAAO,CAAA;AAI5C,KAAK,gBAAgB,GAAG;IACtB,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;IACtB,OAAO,CAAC,EAAE,aAAa,GAAG,QAAQ,CAAA;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,iBAAS,OAAO,CAAC,EACf,EAAE,EAAE,SAAiB,EACrB,OAAkB,EAClB,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,YAAY,EAAE,SAAS,GACxB,EAAE,gBAAgB,qBAkBlB;AAED,KAAK,sBAAsB,GAAG,iBAAiB,CAAC;IAC9C,EAAE,CAAC,EAAE,EAAE,CAAA;IACP,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAA;CAC5B,CAAC,GACA,SAAS,CAAA;AAEX,QAAA,MAAM,WAAW;8DAA2D,sBAAsB;;CAUjG,CAAA;AAID,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC,OAAO,OAAO,CAAC,CAAA;AACzD,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,CAAA;AAEjE,4EAA4E;;;kEAjBA,sBAAsB;;;;AAkBlG,wBAA0D"}
package/dist/SideNav.js CHANGED
@@ -18,7 +18,6 @@ function SideNav({
18
18
  return /*#__PURE__*/jsx(Component, {
19
19
  className: newClassName,
20
20
  "aria-label": ariaLabel,
21
- "data-component": "SideNav",
22
21
  children: children
23
22
  });
24
23
  }
@@ -41,7 +40,6 @@ const SideNavLink = ({
41
40
  "aria-current": isReactRouter || selected ? 'page' : undefined,
42
41
  className: newClassName,
43
42
  ...rest,
44
- "data-component": "SideNav.Link",
45
43
  children: children
46
44
  });
47
45
  };
@@ -9,7 +9,6 @@ export type SkeletonBoxProps = {
9
9
  className?: string;
10
10
  /** Controls whether and how long to delay rendering the SkeletonBox. Set to 'short' to delay by 300ms, 'long' to delay by 1000ms, or provide a custom number of milliseconds.*/
11
11
  delay?: 'short' | 'long' | number;
12
- 'data-component'?: string;
13
12
  } & HTMLProps<HTMLElement>;
14
13
  export declare const SkeletonBox: React.ForwardRefExoticComponent<Omit<SkeletonBoxProps, "ref"> & React.RefAttributes<HTMLElement>>;
15
14
  //# sourceMappingURL=SkeletonBox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SkeletonBox.d.ts","sourceRoot":"","sources":["../../src/Skeleton/SkeletonBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAA;AAChD,OAAO,EAAC,KAAK,aAAa,EAAE,KAAK,SAAS,EAAC,MAAM,OAAO,CAAA;AAIxD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,0EAA0E;IAC1E,MAAM,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAA;IAChC,wEAAwE;IACxE,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAA;IAC9B,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gLAAgL;IAChL,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAA;IACjC,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B,GAAG,SAAS,CAAC,WAAW,CAAC,CAAA;AAE1B,eAAO,MAAM,WAAW,mGAgCtB,CAAA"}
1
+ {"version":3,"file":"SkeletonBox.d.ts","sourceRoot":"","sources":["../../src/Skeleton/SkeletonBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAA;AAChD,OAAO,EAAC,KAAK,aAAa,EAAE,KAAK,SAAS,EAAC,MAAM,OAAO,CAAA;AAIxD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,0EAA0E;IAC1E,MAAM,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAA;IAChC,wEAAwE;IACxE,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAA;IAC9B,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gLAAgL;IAChL,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAA;CAClC,GAAG,SAAS,CAAC,WAAW,CAAC,CAAA;AAE1B,eAAO,MAAM,WAAW,mGA+BtB,CAAA"}
@@ -5,13 +5,12 @@ import classes from './SkeletonBox.module.css.js';
5
5
  import { jsx } from 'react/jsx-runtime';
6
6
 
7
7
  const SkeletonBox = /*#__PURE__*/React.forwardRef(function SkeletonBox(t0, ref) {
8
- const $ = c(25);
8
+ const $ = c(23);
9
9
  let className;
10
10
  let delay;
11
11
  let height;
12
12
  let props;
13
13
  let style;
14
- let t1;
15
14
  let width;
16
15
  if ($[0] !== t0) {
17
16
  ({
@@ -20,7 +19,6 @@ const SkeletonBox = /*#__PURE__*/React.forwardRef(function SkeletonBox(t0, ref)
20
19
  className,
21
20
  style,
22
21
  delay,
23
- "data-component": t1,
24
22
  ...props
25
23
  } = t0);
26
24
  $[0] = t0;
@@ -29,23 +27,20 @@ const SkeletonBox = /*#__PURE__*/React.forwardRef(function SkeletonBox(t0, ref)
29
27
  $[3] = height;
30
28
  $[4] = props;
31
29
  $[5] = style;
32
- $[6] = t1;
33
- $[7] = width;
30
+ $[6] = width;
34
31
  } else {
35
32
  className = $[1];
36
33
  delay = $[2];
37
34
  height = $[3];
38
35
  props = $[4];
39
36
  style = $[5];
40
- t1 = $[6];
41
- width = $[7];
37
+ width = $[6];
42
38
  }
43
- const dataComponent = t1 === undefined ? "SkeletonBox" : t1;
44
39
  const [isVisible, setIsVisible] = useState(!delay);
40
+ let t1;
45
41
  let t2;
46
- let t3;
47
- if ($[8] !== delay) {
48
- t2 = () => {
42
+ if ($[7] !== delay) {
43
+ t1 = () => {
49
44
  if (delay) {
50
45
  const timeoutId = setTimeout(() => {
51
46
  setIsVisible(true);
@@ -53,68 +48,66 @@ const SkeletonBox = /*#__PURE__*/React.forwardRef(function SkeletonBox(t0, ref)
53
48
  return () => clearTimeout(timeoutId);
54
49
  }
55
50
  };
56
- t3 = [delay];
57
- $[8] = delay;
51
+ t2 = [delay];
52
+ $[7] = delay;
53
+ $[8] = t1;
58
54
  $[9] = t2;
59
- $[10] = t3;
60
55
  } else {
56
+ t1 = $[8];
61
57
  t2 = $[9];
62
- t3 = $[10];
63
58
  }
64
- useEffect(t2, t3);
59
+ useEffect(t1, t2);
65
60
  if (!isVisible) {
66
61
  return null;
67
62
  }
68
- const t4 = ref;
69
- let t5;
70
- if ($[11] !== className) {
71
- t5 = clsx(className, classes.SkeletonBox);
72
- $[11] = className;
73
- $[12] = t5;
63
+ const t3 = ref;
64
+ let t4;
65
+ if ($[10] !== className) {
66
+ t4 = clsx(className, classes.SkeletonBox);
67
+ $[10] = className;
68
+ $[11] = t4;
74
69
  } else {
75
- t5 = $[12];
70
+ t4 = $[11];
76
71
  }
77
- let t6;
78
- if ($[13] !== style) {
79
- t6 = style || {};
80
- $[13] = style;
81
- $[14] = t6;
72
+ let t5;
73
+ if ($[12] !== style) {
74
+ t5 = style || {};
75
+ $[12] = style;
76
+ $[13] = t5;
82
77
  } else {
83
- t6 = $[14];
78
+ t5 = $[13];
84
79
  }
85
- let t7;
86
- if ($[15] !== height || $[16] !== t6 || $[17] !== width) {
87
- t7 = {
80
+ let t6;
81
+ if ($[14] !== height || $[15] !== t5 || $[16] !== width) {
82
+ t6 = {
88
83
  height,
89
84
  width,
90
- ...t6
85
+ ...t5
91
86
  };
92
- $[15] = height;
93
- $[16] = t6;
94
- $[17] = width;
95
- $[18] = t7;
87
+ $[14] = height;
88
+ $[15] = t5;
89
+ $[16] = width;
90
+ $[17] = t6;
96
91
  } else {
97
- t7 = $[18];
92
+ t6 = $[17];
98
93
  }
99
- let t8;
100
- if ($[19] !== dataComponent || $[20] !== props || $[21] !== t4 || $[22] !== t5 || $[23] !== t7) {
101
- t8 = /*#__PURE__*/jsx("div", {
102
- ref: t4,
103
- className: t5,
104
- style: t7,
105
- ...props,
106
- "data-component": dataComponent
94
+ let t7;
95
+ if ($[18] !== props || $[19] !== t3 || $[20] !== t4 || $[21] !== t6) {
96
+ t7 = /*#__PURE__*/jsx("div", {
97
+ ref: t3,
98
+ className: t4,
99
+ style: t6,
100
+ ...props
107
101
  });
108
- $[19] = dataComponent;
109
- $[20] = props;
110
- $[21] = t4;
111
- $[22] = t5;
112
- $[23] = t7;
113
- $[24] = t8;
102
+ $[18] = props;
103
+ $[19] = t3;
104
+ $[20] = t4;
105
+ $[21] = t6;
106
+ $[22] = t7;
114
107
  } else {
115
- t8 = $[24];
108
+ t7 = $[22];
116
109
  }
117
- return t8;
110
+ return t7;
118
111
  });
119
112
 
120
113
  export { SkeletonBox };
@@ -1 +1 @@
1
- {"version":3,"file":"SkeletonText.d.ts","sourceRoot":"","sources":["../../src/SkeletonText/SkeletonText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAC,KAAK,SAAS,EAAC,MAAM,OAAO,CAAA;AAKpC,UAAU,iBAAkB,SAAQ,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IACtE,uDAAuD;IACvD,IAAI,CAAC,EAAE,SAAS,GAAG,YAAY,GAAG,aAAa,GAAG,YAAY,GAAG,WAAW,GAAG,YAAY,GAAG,WAAW,GAAG,UAAU,CAAA;IACtH,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6GAA6G;IAC7G,QAAQ,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,CAAA;IAC1C,oCAAoC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,iBAAS,YAAY,CAAC,EAAC,KAAS,EAAE,QAAQ,EAAE,IAAmB,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAC,EAAE,iBAAiB,qBAuC7G;AAED,OAAO,EAAC,YAAY,EAAC,CAAA;AACrB,YAAY,EAAC,iBAAiB,EAAC,CAAA"}
1
+ {"version":3,"file":"SkeletonText.d.ts","sourceRoot":"","sources":["../../src/SkeletonText/SkeletonText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAC,KAAK,SAAS,EAAC,MAAM,OAAO,CAAA;AAKpC,UAAU,iBAAkB,SAAQ,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IACtE,uDAAuD;IACvD,IAAI,CAAC,EAAE,SAAS,GAAG,YAAY,GAAG,aAAa,GAAG,YAAY,GAAG,WAAW,GAAG,YAAY,GAAG,WAAW,GAAG,UAAU,CAAA;IACtH,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6GAA6G;IAC7G,QAAQ,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,CAAA;IAC1C,oCAAoC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,iBAAS,YAAY,CAAC,EAAC,KAAS,EAAE,QAAQ,EAAE,IAAmB,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAC,EAAE,iBAAiB,qBAsC7G;AAED,OAAO,EAAC,YAAY,EAAC,CAAA;AACrB,YAAY,EAAC,iBAAiB,EAAC,CAAA"}
@@ -62,12 +62,12 @@ function SkeletonText(t0) {
62
62
  let t5;
63
63
  if ($[12] !== rest || $[13] !== size || $[14] !== t3 || $[15] !== t4) {
64
64
  t5 = /*#__PURE__*/jsx(SkeletonBox, {
65
+ "data-component": "SkeletonText",
65
66
  "data-text-skeleton-size": size,
66
67
  width: "100%",
67
68
  className: t3,
68
69
  style: t4,
69
- ...rest,
70
- "data-component": "SkeletonText"
70
+ ...rest
71
71
  });
72
72
  $[12] = rest;
73
73
  $[13] = size;
@@ -191,7 +191,6 @@ function Spinner(t0) {
191
191
  if ($[32] !== t14 || $[33] !== t15) {
192
192
  t16 = /*#__PURE__*/jsxs("span", {
193
193
  className: classes.Box,
194
- "data-component": "Spinner",
195
194
  children: [t14, t15]
196
195
  });
197
196
  $[32] = t14;
@@ -0,0 +1,2 @@
1
+ .prc-UnderlineNav-UnderlineWrapper-GWONT{animation:prc-UnderlineNav-detect-overflow-6HuSH linear;animation-timeline:scroll(self block);--UnderlineNav_moreButton-visibility:hidden;--UnderlineNav_icons-display:inline}.prc-UnderlineNav-UnderlineWrapper-GWONT[data-hide-icons=true]{--UnderlineNav_icons-display:none}.prc-UnderlineNav-UnderlineWrapper-GWONT[data-has-overflow=true]{--UnderlineNav_moreButton-visibility:visible}@keyframes prc-UnderlineNav-detect-overflow-6HuSH{0%,to{--UnderlineNav_moreButton-visibility:visible;--UnderlineNav_icons-display:none}}.prc-UnderlineNav-ItemsList-oj8gN [data-component=icon]{display:var(--UnderlineNav_icons-display)}.prc-UnderlineNav-MoreButtonContainer-Dnrq6{align-items:center;display:flex;visibility:var(--UnderlineNav_moreButton-visibility)}.prc-UnderlineNav-OverflowMenuItem-7SG7M [aria-current]{position:relative}.prc-UnderlineNav-OverflowMenuItem-7SG7M [aria-current] .prc-UnderlineNav-OverflowMenuItemLabel-F80v6{font-weight:var(--base-text-weight-semibold,600)}.prc-UnderlineNav-OverflowMenuItem-7SG7M [aria-current]:after{background:var(--underlineNav-borderColor-active,#fd8c73);content:"";inset:var(--base-size-2,.125rem) auto var(--base-size-2,.125rem) 0;position:absolute;width:var(--base-size-2,.125rem)}.prc-UnderlineNav-MoreButtonDivider-dN0a-{border-left:var(--borderWidth-thin,.0625rem) solid var(--borderColor-muted,#d1d9e0b3);display:inline-block;height:var(--base-size-24,1.5rem);margin-inline:var(--base-size-4,.25rem);width:0}.prc-UnderlineNav-MoreButton-Y8soj{font-weight:var(--base-text-weight-normal,400);margin:0;position:relative}.prc-UnderlineNav-MoreButton-Y8soj>[data-component=trailingVisual]{margin-left:0}.prc-UnderlineNav-MoreButton-Y8soj[data-current=true]{font-weight:var(--base-text-weight-semibold,600)}.prc-UnderlineNav-MoreButton-Y8soj[data-current=true]:after{background-color:var(--underlineNav-borderColor-active,var(--color-primer-border-active,#fd8c73));content:"";height:2px;inset:auto 0 0;margin-bottom:calc(var(--base-size-8,.5rem)*-1);pointer-events:none;position:absolute}@media (forced-colors:active){.prc-UnderlineNav-MoreButton-Y8soj[data-current=true]:after{background-color:LinkText}}
2
+ /*# sourceMappingURL=UnderlineNav-263b4e8f.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/UnderlineNav/UnderlineNav.module.css.js"],"names":[],"mappings":"AAAA,yCAIE,uDAAiC,CACjC,qCAAsC,CAEtC,2CAA4C,CAC5C,mCASF,CAPE,+DACE,iCACF,CAEA,iEACE,4CACF,CAGF,kDACE,MAEE,4CAA6C,CAC7C,iCACF,CACF,CAEA,wDACE,yCACF,CAEA,4CAGE,kBAAmB,CAFnB,YAAa,CACb,oDAEF,CAEA,wDACE,iBAcF,CAZE,sGACE,gDACF,CAEA,8DAME,yDAAkD,CALlD,UAAW,CAGX,kEAAmD,CADnD,iBAAkB,CADlB,gCAKF,CAGF,0CAEE,qFAAmE,CADnE,oBAAqB,CAIrB,iCAA2B,CAD3B,uCAAiC,CADjC,OAGF,CAEA,mCAEE,8CAA2C,CAD3C,QAAS,CAET,iBA2BF,CAzBE,mEACE,aACF,CAIA,sDACE,gDAiBF,CAfE,4DAQE,iGAAoG,CAFpG,UAAW,CAFX,UAAW,CAFX,cAAe,CACf,+CAA4C,CAE5C,mBAAoB,CAJpB,iBAaF,CAJE,8BAVF,4DAYI,yBAEJ,CADE","file":"UnderlineNav-263b4e8f.css","sourcesContent":[".UnderlineWrapper {\n /* Progressive enhancement: Detect overflow using scroll-based animations.\n The idiomatic way would be a scroll-state container query but browser support\n is slightly better for animations. */\n animation: detect-overflow linear;\n animation-timeline: scroll(self block);\n\n --UnderlineNav_moreButton-visibility: hidden;\n --UnderlineNav_icons-display: inline;\n\n &[data-hide-icons='true'] {\n --UnderlineNav_icons-display: none;\n }\n\n &[data-has-overflow='true'] {\n --UnderlineNav_moreButton-visibility: visible;\n }\n}\n\n@keyframes detect-overflow {\n 0%,\n 100% {\n --UnderlineNav_moreButton-visibility: visible;\n --UnderlineNav_icons-display: none;\n }\n}\n\n.ItemsList [data-component='icon'] {\n display: var(--UnderlineNav_icons-display);\n}\n\n.MoreButtonContainer {\n display: flex;\n visibility: var(--UnderlineNav_moreButton-visibility);\n align-items: center;\n}\n\n.OverflowMenuItem [aria-current] {\n position: relative;\n\n .OverflowMenuItemLabel {\n font-weight: var(--base-text-weight-semibold);\n }\n\n &::after {\n content: '';\n width: var(--base-size-2);\n position: absolute;\n inset: var(--base-size-2) auto var(--base-size-2) 0;\n /* stylelint-disable-next-line primer/colors */\n background: var(--underlineNav-borderColor-active);\n }\n}\n\n.MoreButtonDivider {\n display: inline-block;\n border-left: var(--borderWidth-thin) solid var(--borderColor-muted);\n width: 0;\n margin-inline: var(--base-size-4);\n height: var(--base-size-24);\n}\n\n.MoreButton {\n margin: 0; /* reset Safari extra margin */\n font-weight: var(--base-text-weight-normal);\n position: relative;\n\n & > [data-component='trailingVisual'] {\n margin-left: 0;\n }\n\n /* When the current item has overflowed into the menu, style the overflow\n anchor so it looks like the current item (semibold text + active underline). */\n &[data-current='true'] {\n font-weight: var(--base-text-weight-semibold);\n\n &::after {\n position: absolute;\n inset: auto 0 0;\n margin-bottom: calc(-1 * var(--base-size-8));\n height: 2px;\n pointer-events: none;\n content: '';\n /* stylelint-disable-next-line primer/colors */\n background-color: var(--underlineNav-borderColor-active, var(--color-primer-border-active, #fd8c73));\n\n @media (forced-colors: active) {\n /* Support for Windows Forced Color Mode https://learn.microsoft.com/en-us/fluent-ui/web-components/design-system/high-contrast */\n background-color: LinkText;\n }\n }\n }\n}\n"]}
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  export type UnderlineNavProps = {
3
3
  children: React.ReactNode;
4
4
  'aria-label'?: React.AriaAttributes['aria-label'];
@@ -15,6 +15,5 @@ export type UnderlineNavProps = {
15
15
  */
16
16
  variant?: 'inset' | 'flush';
17
17
  };
18
- export declare const MORE_BTN_WIDTH = 86;
19
18
  export declare const UnderlineNav: React.ForwardRefExoticComponent<UnderlineNavProps & React.RefAttributes<unknown>>;
20
19
  //# sourceMappingURL=UnderlineNav.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UnderlineNav.d.ts","sourceRoot":"","sources":["../../src/UnderlineNav/UnderlineNav.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkD,MAAM,OAAO,CAAA;AAqBtE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,YAAY,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,YAAY,CAAC,CAAA;IACjD,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAA;CAC5B,CAAA;AAGD,eAAO,MAAM,cAAc,KAAK,CAAA;AAsGhC,eAAO,MAAM,YAAY,mFA0SxB,CAAA"}
1
+ {"version":3,"file":"UnderlineNav.d.ts","sourceRoot":"","sources":["../../src/UnderlineNav/UnderlineNav.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAgB9B,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,YAAY,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,YAAY,CAAC,CAAA;IACjD,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAA;CAC5B,CAAA;AAED,eAAO,MAAM,YAAY,mFAiIxB,CAAA"}