@primer/styled-react 0.0.0-20251010003540 → 0.0.0-20251010003950

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.
@@ -150,6 +150,6 @@ const Tooltip = /*#__PURE__*/forwardRef(function Tooltip(props, ref) {
150
150
  });
151
151
 
152
152
  // @ts-ignore - TypeScript doesn't know about the __SLOT__ property
153
- Tooltip.__SLOT__ = 'Tooltip';
153
+ Tooltip.__SLOT__ = Symbol('Tooltip');
154
154
 
155
155
  export { Dialog as D, PageHeader as P, Tooltip as T };
@@ -1,4 +1,4 @@
1
- export { D as Dialog, P as PageHeader, T as Tooltip } from './Tooltip-DhhQrLtJ.js';
1
+ export { D as Dialog, P as PageHeader, T as Tooltip } from './Tooltip-5PrCV0GO.js';
2
2
  import { UnderlinePanels as UnderlinePanels$1, Table as Table$1 } from '@primer/react/experimental';
3
3
  import styled from 'styled-components';
4
4
  import { sx } from '@primer/react';
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ export { BaseStyles, Box, Button, Details, FormControl, IconButton, ProgressBar,
3
3
  import React, { forwardRef } from 'react';
4
4
  import styled from 'styled-components';
5
5
  import { jsx } from 'react/jsx-runtime';
6
- export { D as Dialog, P as PageHeader, T as Tooltip } from './Tooltip-DhhQrLtJ.js';
6
+ export { D as Dialog, P as PageHeader, T as Tooltip } from './Tooltip-5PrCV0GO.js';
7
7
 
8
8
  const StyledActionList = styled(ActionList$1).withConfig({
9
9
  shouldForwardProp: prop => prop !== 'sx'
@@ -92,19 +92,19 @@ const ActionListTrailingVisual = styled(ActionList$1.TrailingVisual).withConfig(
92
92
  })(["", ""], sx);
93
93
 
94
94
  // @ts-ignore - TS doesn't know about the __SLOT__ property
95
- ActionListItem.__SLOT__ = 'ActionList.Item';
95
+ ActionListItem.__SLOT__ = Symbol('ActionList.Item');
96
96
  // @ts-ignore - TS doesn't know about the __SLOT__ property
97
- ActionListLinkItem.__SLOT__ = 'ActionList.LinkItem';
97
+ ActionListLinkItem.__SLOT__ = Symbol('ActionList.LinkItem');
98
98
  // @ts-ignore - TS doesn't know about the __SLOT__ property
99
- ActionListGroup.__SLOT__ = 'ActionList.Group';
99
+ ActionListGroup.__SLOT__ = Symbol('ActionList.Group');
100
100
  // @ts-ignore - TS doesn't know about the __SLOT__ property
101
- ActionListDivider.__SLOT__ = 'ActionList.Divider';
101
+ ActionListDivider.__SLOT__ = Symbol('ActionList.Divider');
102
102
  // @ts-ignore - TS doesn't know about the __SLOT__ property
103
- ActionListLeadingVisual.__SLOT__ = 'ActionList.LeadingVisual';
103
+ ActionListLeadingVisual.__SLOT__ = Symbol('ActionList.LeadingVisual');
104
104
  // @ts-ignore - TS doesn't know about the __SLOT__ property
105
- ActionListTrailingVisual.__SLOT__ = 'ActionList.TrailingVisual';
105
+ ActionListTrailingVisual.__SLOT__ = Symbol('ActionList.TrailingVisual');
106
106
  // @ts-ignore - TS doesn't know about the __SLOT__ property
107
- ActionListTrailingAction.__SLOT__ = 'ActionList.TrailingAction';
107
+ ActionListTrailingAction.__SLOT__ = Symbol('ActionList.TrailingAction');
108
108
  const ActionList = Object.assign(ActionListImpl, {
109
109
  Item: ActionListItem,
110
110
  LinkItem: ActionListLinkItem,
@@ -145,7 +145,7 @@ const Autocomplete = Object.assign(Autocomplete$1, {
145
145
  });
146
146
 
147
147
  // @ts-ignore - TS doesn't know about the __SLOT__ property
148
- Autocomplete.__SLOT__ = 'Autocomplete';
148
+ Autocomplete.__SLOT__ = Symbol('Autocomplete');
149
149
 
150
150
  const Avatar = /*#__PURE__*/forwardRef(function Avatar(props, ref) {
151
151
  return /*#__PURE__*/jsx(Box, {
@@ -196,7 +196,7 @@ const Checkbox = /*#__PURE__*/forwardRef(function Checkbox(props, ref) {
196
196
  });
197
197
 
198
198
  // @ts-ignore - TypeScript doesn't know about the __SLOT__ prop
199
- Checkbox.__SLOT__ = 'Checkbox';
199
+ Checkbox.__SLOT__ = Symbol('Checkbox');
200
200
 
201
201
  const CheckboxGroupImpl = props => {
202
202
  return /*#__PURE__*/jsx(Box, {
@@ -507,11 +507,11 @@ const SegmentedControl = Object.assign(SegmentedControlImpl, {
507
507
  });
508
508
 
509
509
  // @ts-ignore - TypeScript doesn't know about the __SLOT__ prop
510
- SegmentedControl.__SLOT__ = 'SegmentedControl';
510
+ SegmentedControl.__SLOT__ = Symbol('SegmentedControl');
511
511
  // @ts-ignore - TypeScript doesn't know about the __SLOT__ prop
512
- SegmentedControl.Button.__SLOT__ = 'SegmentedControl.Button';
512
+ SegmentedControl.Button.__SLOT__ = Symbol('SegmentedControl.Button');
513
513
  // @ts-ignore - TypeScript doesn't know about the __SLOT__ prop
514
- SegmentedControl.IconButton.__SLOT__ = 'SegmentedControl.IconButton';
514
+ SegmentedControl.IconButton.__SLOT__ = Symbol('SegmentedControl.IconButton');
515
515
 
516
516
  const Spinner = styled(Spinner$1).withConfig({
517
517
  shouldForwardProp: prop => prop !== 'sx'
@@ -547,9 +547,9 @@ const SubNav = Object.assign(SubNavImpl, {
547
547
  });
548
548
 
549
549
  // @ts-ignore - TypeScript doesn't know about the __SLOT__ prop
550
- SubNav.__SLOT__ = 'SubNav';
550
+ SubNav.__SLOT__ = Symbol('SubNav');
551
551
  // @ts-ignore - TypeScript doesn't know about the __SLOT__ prop
552
- SubNavLink.__SLOT__ = 'SubNavLink';
552
+ SubNavLink.__SLOT__ = Symbol('SubNavLink');
553
553
 
554
554
  const StyledText = styled(Text$1).withConfig({
555
555
  shouldForwardProp: prop => prop !== 'sx'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/styled-react",
3
- "version": "0.0.0-20251010003540",
3
+ "version": "0.0.0-20251010003950",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -30,7 +30,7 @@
30
30
  "devDependencies": {
31
31
  "@babel/preset-react": "^7.27.1",
32
32
  "@babel/preset-typescript": "^7.27.1",
33
- "@primer/react": "0.0.0-20251010003540",
33
+ "@primer/react": "0.0.0-20251010003950",
34
34
  "@rollup/plugin-babel": "^6.0.4",
35
35
  "@types/react": "18.3.11",
36
36
  "@types/react-dom": "18.3.1",
@@ -46,7 +46,7 @@
46
46
  "typescript": "^5.9.2"
47
47
  },
48
48
  "peerDependencies": {
49
- "@primer/react": "0.0.0-20251010003540",
49
+ "@primer/react": "0.0.0-20251010003950",
50
50
  "@types/react": "18.x || 19.x",
51
51
  "@types/react-dom": "18.x || 19.x",
52
52
  "@types/react-is": "18.x || 19.x",