@primer/components 0.0.0-202181585635 → 0.0.0-2021816212749

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/lib-esm/index.js CHANGED
@@ -65,4 +65,5 @@ export { default as Text } from './Text';
65
65
  export { default as Timeline } from './Timeline';
66
66
  export { default as Tooltip } from './Tooltip';
67
67
  export { default as Truncate } from './Truncate';
68
- export { default as UnderlineNav } from './UnderlineNav';
68
+ export { default as UnderlineNav } from './UnderlineNav';
69
+ export { SSRProvider, useSSRSafeId } from './utils/ssr';
@@ -0,0 +1 @@
1
+ export { SSRProvider, useSSRSafeId } from '@react-aria/ssr';
@@ -0,0 +1 @@
1
+ export { SSRProvider, useSSRSafeId } from '@react-aria/ssr';
@@ -1,3 +1,4 @@
1
+ // Note: uniqueId may be unsafe in SSR contexts if it is used create DOM IDs or otherwise cause a hydration warning. Use useSSRSafeId instead.
1
2
  let idSeed = 10000;
2
3
  export function uniqueId() {
3
4
  return `__primer_id_${idSeed++}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/components",
3
- "version": "0.0.0-202181585635",
3
+ "version": "0.0.0-2021816212749",
4
4
  "description": "Primer react components",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib-esm/index.js",
@@ -45,6 +45,7 @@
45
45
  "dependencies": {
46
46
  "@primer/octicons-react": "^13.0.0",
47
47
  "@primer/primitives": "4.6.4",
48
+ "@react-aria/ssr": "3.1.0",
48
49
  "@styled-system/css": "5.1.5",
49
50
  "@styled-system/props": "5.1.5",
50
51
  "@styled-system/theme-get": "5.1.2",