@primer/react 38.46.0-rc.f36658ee7 → 38.46.1-rc.41e2a6837

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @primer/react
2
2
 
3
+ ## 38.46.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#8708](https://github.com/primer/react/pull/8708) [`16c41d3`](https://github.com/primer/react/commit/16c41d3e57bb7358d887c613aaeb22aaea3a0d97) Thanks [@vivanvv](https://github.com/vivanvv)! - Pagination: Disable Next for empty results when page numbers are hidden.
8
+
3
9
  ## 38.46.0
4
10
 
5
11
  ### Minor Changes
@@ -10,6 +16,8 @@
10
16
 
11
17
  ### Patch Changes
12
18
 
19
+ - [#8748](https://github.com/primer/react/pull/8748) [`324b0aa`](https://github.com/primer/react/commit/324b0aa0f1e4cc12c61a8a36b5790357e428dccc) Thanks [@mattcosta7](https://github.com/mattcosta7)! - Breadcrumbs: Collapse crumbs that render more than one element (such as a link with a sibling button) when they no longer fit, instead of overflowing the container.
20
+
13
21
  - [#8683](https://github.com/primer/react/pull/8683) [`32d5061`](https://github.com/primer/react/commit/32d50618c58cceddf66d83716ac9742c2134b790) Thanks [@mattcosta7](https://github.com/mattcosta7)! - Breadcrumbs: Improve the performance of `overflow="menu"` and `"menu-with-root"` on mount, resize and navigation. Server-rendered markup now applies the collapse rules before hydration, and the overflow menu trigger is a `<button>`.
14
22
 
15
23
  - [#8592](https://github.com/primer/react/pull/8592) [`0ae18d3`](https://github.com/primer/react/commit/0ae18d38f09044c40c1a181288c2783e93629b4e) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Card: Improve shrinking and equal-height layouts, keep secondary controls accessible in custom whole-card compositions, and keep images edge-to-edge across padding options.
@@ -18,6 +26,8 @@
18
26
 
19
27
  - [#8628](https://github.com/primer/react/pull/8628) [`41f29c8`](https://github.com/primer/react/commit/41f29c845663936043618af29dcb71de4c9384b2) Thanks [@joshblack](https://github.com/joshblack)! - SkeletonAvatar, SkeletonText: Preserve the requested size and shape regardless of stylesheet load order
20
28
 
29
+ - [#8681](https://github.com/primer/react/pull/8681) [`8a9013e`](https://github.com/primer/react/commit/8a9013ea48359ad60a60e194783c865c08d3b7db) Thanks [@mattcosta7](https://github.com/mattcosta7)! - SkeletonBox, SkeletonText, SkeletonAvatar, ProgressBar: Run the loading shimmer animation on the compositor to reduce main-thread work while skeletons are visible
30
+
21
31
  - [#8562](https://github.com/primer/react/pull/8562) [`ee46232`](https://github.com/primer/react/commit/ee46232fafa24701415b21eed60cca68e589cf1c) Thanks [@joshblack](https://github.com/joshblack)! - useOnEscapePress, useOnOutsideClick: Improve performance when callbacks change between renders.
22
32
 
23
33
  - [#8609](https://github.com/primer/react/pull/8609) [`da90227`](https://github.com/primer/react/commit/da9022741a8109195480d7e6ccdf80cd723d6199) Thanks [@tay1orjones](https://github.com/tay1orjones)! - ActionList.LinkItem, NavList.Item: Preserve keyboard focus and running child animations when links rerender.
@@ -61,6 +61,12 @@ function getContentWidth(nav) {
61
61
  const { paddingLeft, paddingRight } = getComputedStyle(nav);
62
62
  return nav.clientWidth - parseFloat(paddingLeft) - parseFloat(paddingRight);
63
63
  }
64
+ function getCrumbWidth(li, range) {
65
+ range.selectNodeContents(li);
66
+ const last = li.lastElementChild;
67
+ if (last !== null && last !== void 0 && last.classList.contains(Breadcrumbs_module_css_default.ItemSeparator)) range.setEndBefore(last);
68
+ return range.getBoundingClientRect().width;
69
+ }
64
70
  const sameFit = (a, b) => a.extra === b.extra && a.rootCollapsed === b.rootCollapsed && a.narrow === b.narrow;
65
71
  function getValidChildren(children) {
66
72
  return React.Children.toArray(children).filter((child) => /*#__PURE__*/ React.isValidElement(child));
@@ -245,6 +251,7 @@ function Breadcrumbs(t0) {
245
251
  const previous = widthsRef.current;
246
252
  const widths_0 = /* @__PURE__ */ new Map();
247
253
  let separators = separatorsRef.current;
254
+ const range = nav.ownerDocument.createRange();
248
255
  for (const item_0 of items) {
249
256
  var _item_0$key;
250
257
  const width = previous.get((_item_0$key = item_0.key) !== null && _item_0$key !== void 0 ? _item_0$key : "");
@@ -256,9 +263,8 @@ function Breadcrumbs(t0) {
256
263
  for (const li of nav.querySelectorAll(":scope > ol > li[data-index]")) {
257
264
  var _items$Number;
258
265
  const key = (_items$Number = items[Number(li.getAttribute("data-index"))]) === null || _items$Number === void 0 ? void 0 : _items$Number.key;
259
- const crumb = li.firstElementChild;
260
- if (key == null || !crumb) continue;
261
- const crumbWidth = crumb.getBoundingClientRect().width;
266
+ if (key == null) continue;
267
+ const crumbWidth = getCrumbWidth(li, range);
262
268
  widths_0.set(key, crumbWidth);
263
269
  if (li.nextElementSibling && !li.hasAttribute("data-collapsed")) {
264
270
  const separator = li.getBoundingClientRect().width - crumbWidth;
@@ -10,11 +10,11 @@ function buildPaginationModel(pageCount, currentPage, showPages, marginPageCount
10
10
  num: currentPage + 1,
11
11
  disabled: currentPage === pageCount
12
12
  };
13
- if (!showPages) return [prev, next];
14
13
  if (pageCount <= 0) return [prev, {
15
14
  ...next,
16
15
  disabled: true
17
16
  }];
17
+ if (!showPages) return [prev, next];
18
18
  const pages = [];
19
19
  const standardGap = surroundingPageCount + marginPageCount;
20
20
  if (pageCount <= standardGap + standardGap + 3) {
@@ -0,0 +1,2 @@
1
+ @keyframes prc-ProgressBar-shimmer-hIHBF{0%{transform:translateX(0)}to{transform:translateX(66.66667%)}}.prc-ProgressBar-ProgressBarItem-mDIlB{--progress-width: ;--progress-bg: ;background-color:var(--progress-bg);width:var(--progress-width)}@media (prefers-reduced-motion:no-preference){.prc-ProgressBar-ProgressBarItem-mDIlB[data-animated=true]{background-color:transparent;isolation:isolate;overflow:hidden;position:relative}.prc-ProgressBar-ProgressBarItem-mDIlB[data-animated=true]:before{animation-duration:1s;animation-iteration-count:infinite;animation-name:prc-ProgressBar-shimmer-hIHBF;background-color:var(--progress-bg);bottom:0;content:"";left:-200%;mask-image:linear-gradient(75deg,#000 30%,rgba(0,0,0,.65) 80%);mask-size:66.66667% 100%;position:absolute;top:0;width:300%;z-index:-1}}.prc-ProgressBar-ProgressBarContainer-tCYE2{background-color:var(--progressBar-track-bgColor,#d1d9e0);border-radius:var(--borderRadius-small,.1875rem);display:flex;gap:2px;outline:solid 1px var(--progressBar-track-borderColor,#ffffff00);outline-offset:-1px;overflow:hidden}.prc-ProgressBar-ProgressBarContainer-tCYE2:where([data-progress-display=inline]){display:inline-flex}.prc-ProgressBar-ProgressBarContainer-tCYE2:where([data-progress-bar-size=default]){height:8px}.prc-ProgressBar-ProgressBarContainer-tCYE2:where([data-progress-bar-size=small]){height:5px}.prc-ProgressBar-ProgressBarContainer-tCYE2:where([data-progress-bar-size=large]){height:10px}@media (forced-colors:active){:root{--progress-bg:LinkText;--progressBar-track-bgColor:CanvasText}.prc-ProgressBar-ProgressBarContainer-tCYE2,.prc-ProgressBar-ProgressBarItem-mDIlB{forced-color-adjust:none}}
2
+ /*# sourceMappingURL=ProgressBar-3d1db6c7.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/ProgressBar/ProgressBar.module.css.js"],"names":[],"mappings":"AACA,yCACE,GACE,uBACF,CAEA,GACE,+BACF,CACF,CAEA,uCAEE,kBAAkB,CAClB,eAAe,CAIf,mCAAoC,CAFpC,2BA8BF,CA1BE,8CACE,2DAIE,4BAA6B,CAC7B,iBAAkB,CAHlB,eAAgB,CADhB,iBAsBF,CAhBE,kEAaE,qBAAsB,CACtB,kCAAmC,CAFnC,4CAAuB,CAHvB,mCAAoC,CANpC,QAAS,CAIT,UAAW,CAHX,UAAW,CAMX,8DAAoE,CACpE,wBAA8B,CAV9B,iBAAkB,CAClB,KAAM,CAIN,UAAW,CADX,UAUF,CAEJ,CAGF,4CAGE,yDAAkD,CAClD,gDAAwC,CAHxC,YAAa,CAIb,OAAQ,CACR,gEAAuD,CACvD,mBAAoB,CALpB,eAsBF,CAfE,kFACE,mBACF,CAEA,oFACE,UACF,CAEA,kFACE,UACF,CAEA,kFACE,WACF,CAGF,8BACE,MACE,sBAAuB,CACvB,sCACF,CAEA,mFAEE,wBACF,CACF","file":"ProgressBar-3d1db6c7.css","sourcesContent":["/* See Skeleton/skeleton.module.css: a masked layer moved with `transform` so the compositor can run the shimmer */\n@keyframes shimmer {\n from {\n transform: translateX(0);\n }\n\n to {\n transform: translateX(calc(200% / 3));\n }\n}\n\n.ProgressBarItem {\n /* these are passed from the component */\n --progress-width: ;\n --progress-bg: ;\n\n width: var(--progress-width);\n /* stylelint-disable-next-line primer/colors */\n background-color: var(--progress-bg);\n\n @media (prefers-reduced-motion: no-preference) {\n &[data-animated='true'] {\n position: relative;\n overflow: hidden;\n /* The shimmer layer paints the background so the mask can move with it */\n background-color: transparent;\n isolation: isolate;\n\n &::before {\n position: absolute;\n top: 0;\n bottom: 0;\n left: -200%;\n z-index: -1;\n width: 300%;\n content: '';\n /* stylelint-disable-next-line primer/colors */\n background-color: var(--progress-bg);\n mask-image: linear-gradient(75deg, #000 30%, rgb(0, 0, 0, 0.65) 80%);\n mask-size: calc(200% / 3) 100%;\n animation-name: shimmer;\n animation-duration: 1s;\n animation-iteration-count: infinite;\n }\n }\n }\n}\n\n.ProgressBarContainer {\n display: flex;\n overflow: hidden;\n background-color: var(--progressBar-track-bgColor);\n border-radius: var(--borderRadius-small);\n gap: 2px;\n outline: solid 1px var(--progressBar-track-borderColor);\n outline-offset: -1px;\n\n &:where([data-progress-display='inline']) {\n display: inline-flex;\n }\n\n &:where([data-progress-bar-size='default']) {\n height: 8px;\n }\n\n &:where([data-progress-bar-size='small']) {\n height: 5px;\n }\n\n &:where([data-progress-bar-size='large']) {\n height: 10px;\n }\n}\n\n@media (forced-colors: active) {\n :root {\n --progress-bg: LinkText;\n --progressBar-track-bgColor: CanvasText;\n }\n\n .ProgressBarContainer,\n .ProgressBarItem {\n forced-color-adjust: none;\n }\n}\n"]}
@@ -1,4 +1,4 @@
1
- import "./ProgressBar-e403d83d.css";
1
+ import "./ProgressBar-3d1db6c7.css";
2
2
  //#region src/ProgressBar/ProgressBar.module.css.js
3
3
  var ProgressBar_module_css_default = {
4
4
  "ProgressBarItem": "prc-ProgressBar-ProgressBarItem-mDIlB",
@@ -0,0 +1,2 @@
1
+ @keyframes prc-Skeleton-shimmer-mE-VG{0%{transform:translateX(0)}to{transform:translateX(66.66667%)}}.prc-Skeleton-skeleton-Hkezl{background-color:var(--skeletonLoader-bgColor,#818b981a)}@media (prefers-reduced-motion:no-preference){.prc-Skeleton-skeleton-Hkezl{background-color:transparent;isolation:isolate;overflow:hidden;position:relative}.prc-Skeleton-skeleton-Hkezl:before{animation:prc-Skeleton-shimmer-mE-VG;animation-duration:var(--base-duration-1000,[ object Object ]);animation-iteration-count:infinite;background-color:var(--skeletonLoader-bgColor,#818b981a);bottom:0;content:"";left:-200%;mask-image:linear-gradient(75deg,#000 30%,rgba(0,0,0,.65) 80%);mask-size:66.66667% 100%;position:absolute;top:0;width:300%;z-index:-1}}@media (forced-colors:active){.prc-Skeleton-skeleton-Hkezl{outline:1px solid transparent;outline-offset:-1px}}
2
+ /*# sourceMappingURL=skeleton-bdbe6bf2.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/Skeleton/skeleton.module.css.js"],"names":[],"mappings":"AAKA,sCACE,GACE,uBACF,CAEA,GACE,+BACF,CACF,CAGA,6BACE,wDA8BF,CA5BE,8CAHF,6BAOI,4BAA6B,CAC7B,iBAAkB,CAHlB,eAAgB,CADhB,iBA2BJ,CArBI,oCAWE,oCAAkB,CAClB,8DAA6C,CAC7C,kCAAmC,CALnC,wDAA+C,CAL/C,QAAS,CAIT,UAAW,CAHX,UAAW,CAKX,8DAAoE,CACpE,wBAA8B,CAT9B,iBAAkB,CAClB,KAAM,CAIN,UAAW,CADX,UASF,CACF,CAEA,8BA3BF,6BA4BI,6BAA8B,CAC9B,mBAEJ,CADE","file":"skeleton-bdbe6bf2.css","sourcesContent":["/*\n * The shimmer moves a masked layer with `transform` instead of animating `mask-position`, so the compositor can run it\n * without a style recalc and repaint on every frame. The layer is 3x the box width and its mask tile is 2x the box\n * width (the previous `mask-size: 200%`), so translating it by one tile reproduces the previous mask positions exactly.\n */\n@keyframes shimmer {\n from {\n transform: translateX(0);\n }\n\n to {\n transform: translateX(calc(200% / 3));\n }\n}\n\n/* stylelint-disable-next-line selector-class-pattern -- Shared utility, not a component class. */\n.skeleton {\n background-color: var(--skeletonLoader-bgColor);\n\n @media (prefers-reduced-motion: no-preference) {\n position: relative;\n overflow: hidden;\n /* The shimmer layer paints the background so the mask can move with it */\n background-color: transparent;\n isolation: isolate;\n\n &::before {\n position: absolute;\n top: 0;\n bottom: 0;\n left: -200%;\n z-index: -1;\n width: 300%;\n content: '';\n background-color: var(--skeletonLoader-bgColor);\n mask-image: linear-gradient(75deg, #000 30%, rgb(0, 0, 0, 0.65) 80%);\n mask-size: calc(200% / 3) 100%;\n animation: shimmer;\n animation-duration: var(--base-duration-1000);\n animation-iteration-count: infinite;\n }\n }\n\n @media (forced-colors: active) {\n outline: 1px solid transparent;\n outline-offset: -1px;\n }\n}\n"]}
@@ -1,4 +1,4 @@
1
- import "./skeleton-27888827.css";
1
+ import "./skeleton-bdbe6bf2.css";
2
2
  //#region src/Skeleton/skeleton.module.css.js
3
3
  var skeleton_module_css_default = {
4
4
  "skeleton": "prc-Skeleton-skeleton-Hkezl",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@primer/react",
3
3
  "type": "module",
4
- "version": "38.46.0-rc.f36658ee7",
4
+ "version": "38.46.1-rc.41e2a6837",
5
5
  "description": "An implementation of GitHub's Primer Design System using React",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -94,16 +94,16 @@
94
94
  },
95
95
  "devDependencies": {
96
96
  "@actions/core": "1.11.1",
97
- "@babel/cli": "8.0.6",
98
- "@babel/core": "8.0.7",
99
- "@babel/generator": "8.0.6",
100
- "@babel/parser": "8.0.7",
97
+ "@babel/cli": "8.1.0",
98
+ "@babel/core": "8.1.0",
99
+ "@babel/generator": "8.1.0",
100
+ "@babel/parser": "8.1.0",
101
101
  "@babel/plugin-transform-nullish-coalescing-operator": "8.0.1",
102
102
  "@babel/plugin-transform-optional-chaining": "8.0.5",
103
103
  "@babel/plugin-transform-modules-commonjs": "8.0.1",
104
104
  "@babel/preset-react": "8.0.1",
105
105
  "@babel/preset-typescript": "8.0.7",
106
- "@babel/types": "8.0.6",
106
+ "@babel/types": "8.1.0",
107
107
  "@figma/code-connect": "1.3.2",
108
108
  "@primer/css": "^21.5.1",
109
109
  "@primer/doc-gen": "^0.0.1",
@@ -1,2 +0,0 @@
1
- @keyframes prc-ProgressBar-shimmer-hIHBF{0%{mask-position:200%}to{mask-position:0}}.prc-ProgressBar-ProgressBarItem-mDIlB{--progress-width: ;--progress-bg: ;background-color:var(--progress-bg);width:var(--progress-width)}@media (prefers-reduced-motion:no-preference){.prc-ProgressBar-ProgressBarItem-mDIlB[data-animated=true]{animation-duration:1s;animation-iteration-count:infinite;animation-name:prc-ProgressBar-shimmer-hIHBF;mask-image:linear-gradient(75deg,#000 30%,rgba(0,0,0,.65) 80%);mask-size:200%}}.prc-ProgressBar-ProgressBarContainer-tCYE2{background-color:var(--progressBar-track-bgColor,#d1d9e0);border-radius:var(--borderRadius-small,.1875rem);display:flex;gap:2px;outline:solid 1px var(--progressBar-track-borderColor,#ffffff00);outline-offset:-1px;overflow:hidden}.prc-ProgressBar-ProgressBarContainer-tCYE2:where([data-progress-display=inline]){display:inline-flex}.prc-ProgressBar-ProgressBarContainer-tCYE2:where([data-progress-bar-size=default]){height:8px}.prc-ProgressBar-ProgressBarContainer-tCYE2:where([data-progress-bar-size=small]){height:5px}.prc-ProgressBar-ProgressBarContainer-tCYE2:where([data-progress-bar-size=large]){height:10px}@media (forced-colors:active){:root{--progress-bg:LinkText;--progressBar-track-bgColor:CanvasText}.prc-ProgressBar-ProgressBarContainer-tCYE2,.prc-ProgressBar-ProgressBarItem-mDIlB{forced-color-adjust:none}}
2
- /*# sourceMappingURL=ProgressBar-e403d83d.css.map */
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/ProgressBar/ProgressBar.module.css.js"],"names":[],"mappings":"AAAA,yCACE,GACE,kBACF,CAEA,GACE,eACF,CACF,CAEA,uCAEE,kBAAkB,CAClB,eAAe,CAIf,mCAAoC,CAFpC,2BAaF,CATE,8CACE,2DAIE,qBAAsB,CACtB,kCAAmC,CAFnC,4CAAuB,CAFvB,8DAAoE,CACpE,cAIF,CACF,CAGF,4CAGE,yDAAkD,CAClD,gDAAwC,CAHxC,YAAa,CAIb,OAAQ,CACR,gEAAuD,CACvD,mBAAoB,CALpB,eAsBF,CAfE,kFACE,mBACF,CAEA,oFACE,UACF,CAEA,kFACE,UACF,CAEA,kFACE,WACF,CAGF,8BACE,MACE,sBAAuB,CACvB,sCACF,CAEA,mFAEE,wBACF,CACF","file":"ProgressBar-e403d83d.css","sourcesContent":["@keyframes shimmer {\n from {\n mask-position: 200%;\n }\n\n to {\n mask-position: 0%;\n }\n}\n\n.ProgressBarItem {\n /* these are passed from the component */\n --progress-width: ;\n --progress-bg: ;\n\n width: var(--progress-width);\n /* stylelint-disable-next-line primer/colors */\n background-color: var(--progress-bg);\n\n @media (prefers-reduced-motion: no-preference) {\n &[data-animated='true'] {\n mask-image: linear-gradient(75deg, #000 30%, rgb(0, 0, 0, 0.65) 80%);\n mask-size: 200%;\n animation-name: shimmer;\n animation-duration: 1s;\n animation-iteration-count: infinite;\n }\n }\n}\n\n.ProgressBarContainer {\n display: flex;\n overflow: hidden;\n background-color: var(--progressBar-track-bgColor);\n border-radius: var(--borderRadius-small);\n gap: 2px;\n outline: solid 1px var(--progressBar-track-borderColor);\n outline-offset: -1px;\n\n &:where([data-progress-display='inline']) {\n display: inline-flex;\n }\n\n &:where([data-progress-bar-size='default']) {\n height: 8px;\n }\n\n &:where([data-progress-bar-size='small']) {\n height: 5px;\n }\n\n &:where([data-progress-bar-size='large']) {\n height: 10px;\n }\n}\n\n@media (forced-colors: active) {\n :root {\n --progress-bg: LinkText;\n --progressBar-track-bgColor: CanvasText;\n }\n\n .ProgressBarContainer,\n .ProgressBarItem {\n forced-color-adjust: none;\n }\n}\n"]}
@@ -1,2 +0,0 @@
1
- @keyframes prc-Skeleton-shimmer-mE-VG{0%{mask-position:200%}to{mask-position:0}}.prc-Skeleton-skeleton-Hkezl{animation:prc-Skeleton-shimmer-mE-VG;background-color:var(--skeletonLoader-bgColor,#818b981a)}@media (prefers-reduced-motion:no-preference){.prc-Skeleton-skeleton-Hkezl{animation:prc-Skeleton-shimmer-mE-VG;animation-duration:var(--base-duration-1000,[ object Object ]);animation-iteration-count:infinite;mask-image:linear-gradient(75deg,#000 30%,rgba(0,0,0,.65) 80%);mask-size:200%}}@media (forced-colors:active){.prc-Skeleton-skeleton-Hkezl{outline:1px solid transparent;outline-offset:-1px}}
2
- /*# sourceMappingURL=skeleton-27888827.css.map */
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/Skeleton/skeleton.module.css.js"],"names":[],"mappings":"AAAA,sCACE,GACE,kBACF,CAEA,GACE,eACF,CACF,CAGA,6BAEE,oCAAkB,CADlB,wDAeF,CAZE,8CAJF,6BAOI,oCAAkB,CAClB,8DAA6C,CAC7C,kCAAmC,CAJnC,8DAAoE,CACpE,cAUJ,CANE,CAEA,8BAZF,6BAaI,6BAA8B,CAC9B,mBAEJ,CADE","file":"skeleton-27888827.css","sourcesContent":["@keyframes shimmer {\n from {\n mask-position: 200%;\n }\n\n to {\n mask-position: 0%;\n }\n}\n\n/* stylelint-disable-next-line selector-class-pattern -- Shared utility, not a component class. */\n.skeleton {\n background-color: var(--skeletonLoader-bgColor);\n animation: shimmer;\n\n @media (prefers-reduced-motion: no-preference) {\n mask-image: linear-gradient(75deg, #000 30%, rgb(0, 0, 0, 0.65) 80%);\n mask-size: 200%;\n animation: shimmer;\n animation-duration: var(--base-duration-1000);\n animation-iteration-count: infinite;\n }\n\n @media (forced-colors: active) {\n outline: 1px solid transparent;\n outline-offset: -1px;\n }\n}\n"]}