@primer/react 0.0.0-20260612195406 → 0.0.0-20260612203833
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 +3 -1
- package/dist/FilteredActionList/FilteredActionListLoaders-bdda3d7e.css +2 -0
- package/dist/FilteredActionList/FilteredActionListLoaders-bdda3d7e.css.map +1 -0
- package/dist/FilteredActionList/FilteredActionListLoaders.js +1 -1
- package/dist/FilteredActionList/FilteredActionListLoaders.module.css.js +2 -2
- package/package.json +1 -1
- package/dist/FilteredActionList/FilteredActionListLoaders-a46a8ea4.css +0 -2
- package/dist/FilteredActionList/FilteredActionListLoaders-a46a8ea4.css.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @primer/react
|
|
2
2
|
|
|
3
|
-
## 0.0.0-
|
|
3
|
+
## 0.0.0-20260612203833
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
- [#7976](https://github.com/primer/react/pull/7976) [`1fac927`](https://github.com/primer/react/commit/1fac9270c497c1904acbb3eb60805630aab82a97) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - NavList: add a small gap between items for readability, including before expanded sub-navs, behind the `primer_react_action_list_item_gap` feature flag
|
|
12
12
|
|
|
13
|
+
- [#7929](https://github.com/primer/react/pull/7929) [`e9fcffc`](https://github.com/primer/react/commit/e9fcffc39ca6f2caa5e967fb7b031ea2114dfcf1) Thanks [@joshblack](https://github.com/joshblack)! - FilteredActionList: update skeleton loader widths to be calculated deterministically to improve SSR hydration
|
|
14
|
+
|
|
13
15
|
- Fake entry to force publishing
|
|
14
16
|
|
|
15
17
|
- [#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`.
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
.prc-FilteredActionList-LoadingSkeleton-VKyQq{border-radius:4px;width:var(--loading-skeleton-width)}.prc-FilteredActionList-LoadingSkeletonRow-yQoJ-{--loading-skeleton-width:80%}.prc-FilteredActionList-LoadingSkeletonRow-yQoJ-:nth-of-type(5n+2){--loading-skeleton-width:52.5%}.prc-FilteredActionList-LoadingSkeletonRow-yQoJ-:nth-of-type(5n+3){--loading-skeleton-width:67.5%}.prc-FilteredActionList-LoadingSkeletonRow-yQoJ-:nth-of-type(5n+4){--loading-skeleton-width:40%}.prc-FilteredActionList-LoadingSkeletonRow-yQoJ-:nth-of-type(5n+5){--loading-skeleton-width:72.5%}.prc-FilteredActionList-LoadingSpinner-I3a7Y{align-content:center;flex-grow:1;height:100%;padding:var(--base-size-16,1rem);text-align:center}.prc-FilteredActionList-LoadingSkeletonContainer-FMeRG{display:flex;flex-direction:column;flex-grow:1;padding:var(--base-size-8,.5rem)}
|
|
2
|
+
/*# sourceMappingURL=FilteredActionListLoaders-bdda3d7e.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/FilteredActionList/FilteredActionListLoaders.module.css.js"],"names":[],"mappings":"AAAA,8CAGE,iBAAkB,CAFlB,mCAGF,CAEA,iDACE,4BAiBF,CAfE,mEACE,8BACF,CAEA,mEACE,8BACF,CAEA,mEACE,4BACF,CAEA,mEACE,8BACF,CAGF,6CAGE,oBAAqB,CADrB,WAAY,CAGZ,WAAY,CAJZ,gCAA4B,CAG5B,iBAEF,CAEA,uDAEE,YAAa,CAEb,qBAAsB,CADtB,WAAY,CAFZ,gCAIF","file":"FilteredActionListLoaders-bdda3d7e.css","sourcesContent":[".LoadingSkeleton {\n width: var(--loading-skeleton-width);\n /* stylelint-disable-next-line primer/borders */\n border-radius: 4px;\n}\n\n.LoadingSkeletonRow {\n --loading-skeleton-width: 80%;\n\n &:nth-of-type(5n + 2) {\n --loading-skeleton-width: 52.5%;\n }\n\n &:nth-of-type(5n + 3) {\n --loading-skeleton-width: 67.5%;\n }\n\n &:nth-of-type(5n + 4) {\n --loading-skeleton-width: 40%;\n }\n\n &:nth-of-type(5n + 5) {\n --loading-skeleton-width: 72.5%;\n }\n}\n\n.LoadingSpinner {\n padding: var(--base-size-16);\n flex-grow: 1;\n align-content: center;\n text-align: center;\n height: 100%;\n}\n\n.LoadingSkeletonContainer {\n padding: var(--base-size-8);\n display: flex;\n flex-grow: 1;\n flex-direction: column;\n}\n"]}
|
|
@@ -139,12 +139,12 @@ function _temp(_, i) {
|
|
|
139
139
|
direction: "horizontal",
|
|
140
140
|
gap: "condensed",
|
|
141
141
|
align: "center",
|
|
142
|
+
className: classes.LoadingSkeletonRow,
|
|
142
143
|
children: [/*#__PURE__*/jsx(SkeletonBox, {
|
|
143
144
|
width: "16px",
|
|
144
145
|
height: "16px"
|
|
145
146
|
}), /*#__PURE__*/jsx(SkeletonBox, {
|
|
146
147
|
height: "10px",
|
|
147
|
-
width: `${Math.random() * 60 + 20}%`,
|
|
148
148
|
className: classes.LoadingSkeleton
|
|
149
149
|
})]
|
|
150
150
|
}, i);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import './FilteredActionListLoaders-
|
|
1
|
+
import './FilteredActionListLoaders-bdda3d7e.css';
|
|
2
2
|
|
|
3
|
-
var classes = {"LoadingSkeleton":"prc-FilteredActionList-LoadingSkeleton-VKyQq","LoadingSpinner":"prc-FilteredActionList-LoadingSpinner-I3a7Y","LoadingSkeletonContainer":"prc-FilteredActionList-LoadingSkeletonContainer-FMeRG"};
|
|
3
|
+
var classes = {"LoadingSkeleton":"prc-FilteredActionList-LoadingSkeleton-VKyQq","LoadingSkeletonRow":"prc-FilteredActionList-LoadingSkeletonRow-yQoJ-","LoadingSpinner":"prc-FilteredActionList-LoadingSpinner-I3a7Y","LoadingSkeletonContainer":"prc-FilteredActionList-LoadingSkeletonContainer-FMeRG"};
|
|
4
4
|
|
|
5
5
|
export { classes as default };
|
package/package.json
CHANGED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
.prc-FilteredActionList-LoadingSkeleton-VKyQq{border-radius:4px}.prc-FilteredActionList-LoadingSpinner-I3a7Y{align-content:center;flex-grow:1;height:100%;padding:var(--base-size-16,1rem);text-align:center}.prc-FilteredActionList-LoadingSkeletonContainer-FMeRG{display:flex;flex-direction:column;flex-grow:1;padding:var(--base-size-8,.5rem)}
|
|
2
|
-
/*# sourceMappingURL=FilteredActionListLoaders-a46a8ea4.css.map */
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/FilteredActionList/FilteredActionListLoaders.module.css.js"],"names":[],"mappings":"AAAA,8CAEE,iBACF,CAEA,6CAGE,oBAAqB,CADrB,WAAY,CAGZ,WAAY,CAJZ,gCAA4B,CAG5B,iBAEF,CAEA,uDAEE,YAAa,CAEb,qBAAsB,CADtB,WAAY,CAFZ,gCAIF","file":"FilteredActionListLoaders-a46a8ea4.css","sourcesContent":[".LoadingSkeleton {\n /* stylelint-disable-next-line primer/borders */\n border-radius: 4px;\n}\n\n.LoadingSpinner {\n padding: var(--base-size-16);\n flex-grow: 1;\n align-content: center;\n text-align: center;\n height: 100%;\n}\n\n.LoadingSkeletonContainer {\n padding: var(--base-size-8);\n display: flex;\n flex-grow: 1;\n flex-direction: column;\n}\n"]}
|