@primer/styled-react 1.0.6 → 1.0.7-rc.96c39ab58

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.
@@ -3,8 +3,6 @@
3
3
  "ActionList",
4
4
  "BaseStyles",
5
5
  "Box",
6
- "Breadcrumb",
7
- "Breadcrumbs",
8
6
  "Button",
9
7
  "Dialog",
10
8
  "Flash",
@@ -18,14 +16,11 @@
18
16
  "Octicon",
19
17
  "SegmentedControl",
20
18
  "Spinner",
21
- "Table",
22
19
  "TabNav",
23
20
  "Text",
24
21
  "TextInput",
25
22
  "ThemeProvider",
26
- "Timeline",
27
23
  "ToggleSwitch",
28
- "Truncate",
29
24
  "UnderlineNav"
30
25
  ],
31
26
  "types": [
@@ -40,10 +35,7 @@
40
35
  "BaseStylesProps",
41
36
  "BetterSystemStyleObject",
42
37
  "BoxProps",
43
- "BreadcrumbsItemProps",
44
- "BreadcrumbsProps",
45
38
  "ButtonProps",
46
- "DataTableContainerProps",
47
39
  "DialogHeaderProps",
48
40
  "DialogProps",
49
41
  "FormControlProps",
@@ -58,28 +50,13 @@
58
50
  "SegmentedControlProps",
59
51
  "SpinnerProps",
60
52
  "SxProp",
61
- "TableActionsProps",
62
- "TableBodyProps",
63
- "TableCellProps",
64
- "TableHeaderProps",
65
- "TableHeadProps",
66
- "TableProps",
67
- "TableRowProps",
68
- "TableSubtitleProps",
69
- "TableTitleProps",
70
53
  "TabNavLinkProps",
71
54
  "TabNavProps",
72
55
  "TextInputActionProps",
73
56
  "TextInputProps",
74
57
  "TextProps",
75
58
  "ThemeProviderProps",
76
- "TimelineBadgeProps",
77
- "TimelineBodyProps",
78
- "TimelineBreakProps",
79
- "TimelineItemProps",
80
- "TimelineProps",
81
59
  "ToggleSwitchProps",
82
- "TruncateProps",
83
60
  "UnderlineNavItemProps",
84
61
  "UnderlineNavProps"
85
62
  ],
@@ -9,60 +9,4 @@ Dialog,
9
9
  * supported. Use the component from `@primer/react` with CSS Modules instead.
10
10
  */
11
11
  type DialogProps, } from './components/Dialog';
12
- export {
13
- /**
14
- * @deprecated Usage of the `sx` prop with this component is no longer
15
- * supported. Use the component from `@primer/react` with CSS Modules instead.
16
- */
17
- Table,
18
- /**
19
- * @deprecated Usage of the `sx` prop with this component is no longer
20
- * supported. Use the component from `@primer/react` with CSS Modules instead.
21
- */
22
- type DataTableContainerProps,
23
- /**
24
- * @deprecated Usage of the `sx` prop with this component is no longer
25
- * supported. Use the component from `@primer/react` with CSS Modules instead.
26
- */
27
- type TableProps,
28
- /**
29
- * @deprecated Usage of the `sx` prop with this component is no longer
30
- * supported. Use the component from `@primer/react` with CSS Modules instead.
31
- */
32
- type TableHeadProps,
33
- /**
34
- * @deprecated Usage of the `sx` prop with this component is no longer
35
- * supported. Use the component from `@primer/react` with CSS Modules instead.
36
- */
37
- type TableBodyProps,
38
- /**
39
- * @deprecated Usage of the `sx` prop with this component is no longer
40
- * supported. Use the component from `@primer/react` with CSS Modules instead.
41
- */
42
- type TableRowProps,
43
- /**
44
- * @deprecated Usage of the `sx` prop with this component is no longer
45
- * supported. Use the component from `@primer/react` with CSS Modules instead.
46
- */
47
- type TableHeaderProps,
48
- /**
49
- * @deprecated Usage of the `sx` prop with this component is no longer
50
- * supported. Use the component from `@primer/react` with CSS Modules instead.
51
- */
52
- type TableCellProps,
53
- /**
54
- * @deprecated Usage of the `sx` prop with this component is no longer
55
- * supported. Use the component from `@primer/react` with CSS Modules instead.
56
- */
57
- type TableTitleProps,
58
- /**
59
- * @deprecated Usage of the `sx` prop with this component is no longer
60
- * supported. Use the component from `@primer/react` with CSS Modules instead.
61
- */
62
- type TableSubtitleProps,
63
- /**
64
- * @deprecated Usage of the `sx` prop with this component is no longer
65
- * supported. Use the component from `@primer/react` with CSS Modules instead.
66
- */
67
- type TableActionsProps, } from './components/DataTable';
68
12
  //# sourceMappingURL=experimental.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"experimental.d.ts","sourceRoot":"","sources":["../src/experimental.tsx"],"names":[],"mappings":"AAAA,OAAO;AACL;;;GAGG;AACH,MAAM;AAEN;;;GAGG;AACH,KAAK,WAAW,GACjB,MAAM,qBAAqB,CAAA;AAE5B,OAAO;AACL;;;GAGG;AACH,KAAK;AAEL;;;GAGG;AACH,KAAK,uBAAuB;AAE5B;;;GAGG;AACH,KAAK,UAAU;AAEf;;;GAGG;AACH,KAAK,cAAc;AAEnB;;;GAGG;AACH,KAAK,cAAc;AAEnB;;;GAGG;AACH,KAAK,aAAa;AAElB;;;GAGG;AACH,KAAK,gBAAgB;AAErB;;;GAGG;AACH,KAAK,cAAc;AAEnB;;;GAGG;AACH,KAAK,eAAe;AAEpB;;;GAGG;AACH,KAAK,kBAAkB;AAEvB;;;GAGG;AACH,KAAK,iBAAiB,GACvB,MAAM,wBAAwB,CAAA"}
1
+ {"version":3,"file":"experimental.d.ts","sourceRoot":"","sources":["../src/experimental.tsx"],"names":[],"mappings":"AAAA,OAAO;AACL;;;GAGG;AACH,MAAM;AAEN;;;GAGG;AACH,KAAK,WAAW,GACjB,MAAM,qBAAqB,CAAA"}
@@ -1,2 +1 @@
1
1
  export { Dialog } from './components/Dialog.js';
2
- export { Table } from './components/DataTable.js';
package/dist/index.d.ts CHANGED
@@ -100,27 +100,6 @@ type ActionListTrailingVisualProps,
100
100
  */
101
101
  type ActionListTrailingActionProps, } from './components/ActionList';
102
102
  export {
103
- /**
104
- * @deprecated Usage of the `sx` prop with this component is no longer
105
- * supported. Use the component from `@primer/react` with CSS Modules instead.
106
- */
107
- Breadcrumbs,
108
- /**
109
- * @deprecated Usage of the `sx` prop with this component is no longer
110
- * supported. Use the component from `@primer/react` with CSS Modules instead.
111
- */
112
- Breadcrumb,
113
- /**
114
- * @deprecated Usage of the `sx` prop with this component is no longer
115
- * supported. Use the component from `@primer/react` with CSS Modules instead.
116
- */
117
- type BreadcrumbsProps,
118
- /**
119
- * @deprecated Usage of the `sx` prop with this component is no longer
120
- * supported. Use the component from `@primer/react` with CSS Modules instead.
121
- */
122
- type BreadcrumbsItemProps, } from './components/Breadcrumbs';
123
- export {
124
103
  /**
125
104
  * @deprecated Usage of the `sx` prop with this component is no longer
126
105
  * supported. Use the component from `@primer/react` with CSS Modules instead.
@@ -280,37 +259,6 @@ type TextInputProps,
280
259
  */
281
260
  type TextInputActionProps, } from './components/TextInput';
282
261
  export {
283
- /**
284
- * @deprecated Usage of the `sx` prop with this component is no longer
285
- * supported. Use the component from `@primer/react` with CSS Modules instead.
286
- */
287
- Timeline,
288
- /**
289
- * @deprecated Usage of the `sx` prop with this component is no longer
290
- * supported. Use the component from `@primer/react` with CSS Modules instead.
291
- */
292
- type TimelineProps,
293
- /**
294
- * @deprecated Usage of the `sx` prop with this component is no longer
295
- * supported. Use the component from `@primer/react` with CSS Modules instead.
296
- */
297
- type TimelineItemProps,
298
- /**
299
- * @deprecated Usage of the `sx` prop with this component is no longer
300
- * supported. Use the component from `@primer/react` with CSS Modules instead.
301
- */
302
- type TimelineBadgeProps,
303
- /**
304
- * @deprecated Usage of the `sx` prop with this component is no longer
305
- * supported. Use the component from `@primer/react` with CSS Modules instead.
306
- */
307
- type TimelineBodyProps,
308
- /**
309
- * @deprecated Usage of the `sx` prop with this component is no longer
310
- * supported. Use the component from `@primer/react` with CSS Modules instead.
311
- */
312
- type TimelineBreakProps, } from './components/Timeline';
313
- export {
314
262
  /**
315
263
  * @deprecated Usage of the `sx` prop with this component is no longer
316
264
  * supported. Use the component from `@primer/react` with CSS Modules instead.
@@ -322,17 +270,6 @@ ToggleSwitch,
322
270
  */
323
271
  type ToggleSwitchProps, } from './components/ToggleSwitch';
324
272
  export {
325
- /**
326
- * @deprecated Usage of the `sx` prop with this component is no longer
327
- * supported. Use the component from `@primer/react` with CSS Modules instead.
328
- */
329
- Truncate,
330
- /**
331
- * @deprecated Usage of the `sx` prop with this component is no longer
332
- * supported. Use the component from `@primer/react` with CSS Modules instead.
333
- */
334
- type TruncateProps, } from './components/Truncate';
335
- export {
336
273
  /**
337
274
  * @deprecated Usage of the `sx` prop with this component is no longer
338
275
  * supported. Use the component from `@primer/react` with CSS Modules instead.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAEA,OAAO;AACL;;;GAGG;AACH,GAAG;AAEH;;;GAGG;AACH,KAAK,QAAQ,GACd,MAAM,kBAAkB,CAAA;AAGzB,OAAO;AACL;;;GAGG;AACH,aAAa;AAEb;;;GAGG;AACH,QAAQ;AAER;;;GAGG;AACH,iBAAiB;AAEjB;;;GAGG;AACH,KAAK,kBAAkB,GACxB,MAAM,4BAA4B,CAAA;AAEnC,OAAO;AACL;;;GAGG;AACH,UAAU;AAEV;;;GAGG;AACH,KAAK,eAAe,GACrB,MAAM,yBAAyB,CAAA;AAEhC,OAAO;AACL;;;GAGG;AACH,KAAK,GACN,MAAM,eAAe,CAAA;AAEtB,OAAO;AACL;;;GAGG;AACH,GAAG,IAAI,QAAQ,GAChB,MAAM,aAAa,CAAA;AAEpB,OAAO;AACL;;;GAGG;AACH,UAAU;AAEV;;;GAGG;AACH,KAAK,eAAe;AAEpB;;;GAGG;AACH,KAAK,mBAAmB;AAExB;;;GAGG;AACH,KAAK,uBAAuB;AAE5B;;;GAGG;AACH,KAAK,oBAAoB;AAEzB;;;GAGG;AACH,KAAK,sBAAsB;AAE3B;;;GAGG;AACH,KAAK,4BAA4B;AAEjC;;;GAGG;AACH,KAAK,6BAA6B;AAElC;;;GAGG;AACH,KAAK,6BAA6B,GACnC,MAAM,yBAAyB,CAAA;AAEhC,OAAO;AACL;;;GAGG;AACH,WAAW;AAEX;;;GAGG;AACH,UAAU;AAEV;;;GAGG;AACH,KAAK,gBAAgB;AAErB;;;GAGG;AACH,KAAK,oBAAoB,GAC1B,MAAM,0BAA0B,CAAA;AAEjC,OAAO;AACL;;;GAGG;AACH,eAAe,IAAI,MAAM;AAEzB;;;GAGG;AACH,KAAK,oBAAoB,IAAI,WAAW,GACzC,MAAM,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;;GAGG;AACH,KAAK,SAAS,GACf,MAAM,mBAAmB,CAAA;AAE1B,OAAO;AACL;;;GAGG;AACH,UAAU;AAEV;;;GAGG;AACH,KAAK,eAAe,GACrB,MAAM,yBAAyB,CAAA;AAEhC,OAAO;AACL;;;GAGG;AACH,gBAAgB;AAEhB;;;GAGG;AACH,KAAK,qBAAqB;AAE1B;;;GAGG;AACH,KAAK,2BAA2B;AAEhC;;;GAGG;AACH,KAAK,+BAA+B,GACrC,MAAM,+BAA+B,CAAA;AAEtC,OAAO;AACL;;;GAGG;AACH,OAAO;AAEP;;;GAGG;AACH,KAAK,YAAY,GAClB,MAAM,sBAAsB,CAAA;AAE7B,OAAO;AACL;;;GAGG;AACH,IAAI;AAEJ;;;GAGG;AACH,KAAK,SAAS,GACf,MAAM,mBAAmB,CAAA;AAE1B,OAAO;AACL;;;GAGG;AACH,SAAS;AAET;;;GAGG;AACH,KAAK,cAAc;AAEnB;;;GAGG;AACH,KAAK,oBAAoB,GAC1B,MAAM,wBAAwB,CAAA;AAE/B,OAAO;AACL;;;GAGG;AACH,YAAY;AAEZ;;;GAGG;AACH,KAAK,iBAAiB,GACvB,MAAM,2BAA2B,CAAA;AAElC,OAAO;AACL;;;GAGG;AACH,YAAY;AAEZ;;;GAGG;AACH,KAAK,iBAAiB;AAEtB;;;GAGG;AACH,KAAK,qBAAqB,GAC3B,MAAM,2BAA2B,CAAA;AAElC,OAAO;AACL;;;GAGG;AACH,KAAK;AAEL;;;GAGG;AACH,EAAE;AAEF;;;GAGG;AACH,KAAK,MAAM,GACZ,MAAM,MAAM,CAAA;AAEb,OAAO;AACL;;;GAGG;AACH,KAAK,uBAAuB,GAC7B,MAAM,MAAM,CAAA"}
package/dist/index.js CHANGED
@@ -5,7 +5,6 @@ export { BaseStyles } from './components/BaseStyles.js';
5
5
  export { theme } from '@primer/react';
6
6
  export { get as themeGet } from './theme-get.js';
7
7
  export { ActionList } from './components/ActionList.js';
8
- export { Breadcrumb, Breadcrumbs } from './components/Breadcrumbs.js';
9
8
  export { ButtonComponent as Button } from './components/Button.js';
10
9
  export { Dialog } from './components/Dialog.js';
11
10
  export { Flash } from './components/Flash.js';
@@ -20,9 +19,7 @@ export { SegmentedControl } from './components/SegmentedControl.js';
20
19
  export { Spinner } from './components/Spinner.js';
21
20
  export { Text } from './components/Text.js';
22
21
  export { TextInput } from './components/TextInput.js';
23
- export { Timeline } from './components/Timeline.js';
24
22
  export { ToggleSwitch } from './components/ToggleSwitch.js';
25
- export { Truncate } from './components/Truncate.js';
26
23
  export { UnderlineNav } from './components/UnderlineNav.js';
27
24
  export { sx } from './sx.js';
28
25
  export { default as merge } from 'deepmerge';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/styled-react",
3
- "version": "1.0.6",
3
+ "version": "1.0.7-rc.96c39ab58",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -49,7 +49,7 @@
49
49
  "@babel/preset-react": "^7.28.5",
50
50
  "@babel/preset-typescript": "^7.28.5",
51
51
  "@primer/primitives": "10.x || 11.x",
52
- "@primer/react": "^38.20.0",
52
+ "@primer/react": "^38.22.0",
53
53
  "@rollup/plugin-babel": "^6.1.0",
54
54
  "@storybook/react-vite": "^10.3.3",
55
55
  "@types/react": "18.3.11",
@@ -1,18 +0,0 @@
1
- import type { BreadcrumbsProps as PrimerBreadcrumbsProps, BreadcrumbsItemProps as PrimerBreadcrumbsItemsProps } from '@primer/react';
2
- import { type SxProp } from '../sx';
3
- import { type ForwardRefComponent } from '../polymorphic';
4
- import type React from 'react';
5
- type BreadcrumbsProps = PrimerBreadcrumbsProps & SxProp;
6
- type BreadcrumbsItemProps<As extends React.ElementType = 'a'> = PrimerBreadcrumbsItemsProps<As> & SxProp;
7
- declare function BreadcrumbsItem<As extends React.ElementType = 'a'>({ as, ...props }: BreadcrumbsItemProps<As>): React.JSX.Element;
8
- declare const Breadcrumbs: ForwardRefComponent<'nav', BreadcrumbsProps> & {
9
- Item: typeof BreadcrumbsItem;
10
- };
11
- /**
12
- * @deprecated Use the `Breadcrumbs` component instead (i.e. `<Breadcrumb>` → `<Breadcrumbs>`)
13
- */
14
- declare const Breadcrumb: ForwardRefComponent<"nav", BreadcrumbsProps> & {
15
- Item: typeof BreadcrumbsItem;
16
- };
17
- export { Breadcrumbs, Breadcrumb, type BreadcrumbsProps, type BreadcrumbsItemProps };
18
- //# sourceMappingURL=Breadcrumbs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Breadcrumbs.d.ts","sourceRoot":"","sources":["../../src/components/Breadcrumbs.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,gBAAgB,IAAI,sBAAsB,EAC1C,oBAAoB,IAAI,2BAA2B,EACpD,MAAM,eAAe,CAAA;AACtB,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAErC,OAAO,EAAC,KAAK,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AACvD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,KAAK,gBAAgB,GAAG,sBAAsB,GAAG,MAAM,CAAA;AACvD,KAAK,oBAAoB,CAAC,EAAE,SAAS,KAAK,CAAC,WAAW,GAAG,GAAG,IAAI,2BAA2B,CAAC,EAAE,CAAC,GAAG,MAAM,CAAA;AAgBxG,iBAAS,eAAe,CAAC,EAAE,SAAS,KAAK,CAAC,WAAW,GAAG,GAAG,EAAE,EAAC,EAAE,EAAE,GAAG,KAAK,EAAC,EAAE,oBAAoB,CAAC,EAAE,CAAC,qBAEpG;AAED,QAAA,MAAM,WAAW,EAAE,mBAAmB,CAAC,KAAK,EAAE,gBAAgB,CAAC,GAAG;IAAC,IAAI,EAAE,OAAO,eAAe,CAAA;CAG9F,CAAA;AAED;;GAEG;AACH,QAAA,MAAM,UAAU;UARyD,OAAO,eAAe;CAQjE,CAAA;AAE9B,OAAO,EAAC,WAAW,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,KAAK,oBAAoB,EAAC,CAAA"}
@@ -1,38 +0,0 @@
1
- import { Breadcrumbs as Breadcrumbs$1 } from '@primer/react';
2
- import { sx } from '../sx.js';
3
- import styled from 'styled-components';
4
- import { jsx } from 'react/jsx-runtime';
5
-
6
- const BreadcrumbsImpl = styled(Breadcrumbs$1).withConfig({
7
- shouldForwardProp: prop => prop !== 'sx'
8
- }).withConfig({
9
- displayName: "Breadcrumbs__BreadcrumbsImpl",
10
- componentId: "sc-1qj8pw-0"
11
- })(["", ""], sx);
12
- const StyledBreadcrumbsItem = styled(Breadcrumbs$1.Item).withConfig({
13
- shouldForwardProp: prop => prop !== 'sx'
14
- }).withConfig({
15
- displayName: "Breadcrumbs__StyledBreadcrumbsItem",
16
- componentId: "sc-1qj8pw-1"
17
- })(["", ""], sx);
18
- function BreadcrumbsItem({
19
- as,
20
- ...props
21
- }) {
22
- return /*#__PURE__*/jsx(StyledBreadcrumbsItem, {
23
- ...props,
24
- ...(as ? {
25
- forwardedAs: as
26
- } : {})
27
- });
28
- }
29
- const Breadcrumbs = Object.assign(BreadcrumbsImpl, {
30
- Item: BreadcrumbsItem
31
- });
32
-
33
- /**
34
- * @deprecated Use the `Breadcrumbs` component instead (i.e. `<Breadcrumb>` → `<Breadcrumbs>`)
35
- */
36
- const Breadcrumb = Breadcrumbs;
37
-
38
- export { Breadcrumb, Breadcrumbs };
@@ -1,11 +0,0 @@
1
- import { Table as PrimerDataTable, type TableContainerProps } from '@primer/react/experimental';
2
- import { type SxProp } from '../sx';
3
- import React from 'react';
4
- type DataTableContainerProps<As extends React.ElementType = 'div'> = TableContainerProps<As> & SxProp;
5
- declare function DataTableContainer<As extends React.ElementType = 'div'>({ as, ...rest }: DataTableContainerProps<As>): React.JSX.Element;
6
- declare const Table: typeof PrimerDataTable & {
7
- Container: typeof DataTableContainer;
8
- };
9
- export type { TableProps, TableHeadProps, TableBodyProps, TableRowProps, TableHeaderProps, TableCellProps, TableTitleProps, TableSubtitleProps, TableActionsProps, } from '@primer/react/experimental';
10
- export { Table, type DataTableContainerProps };
11
- //# sourceMappingURL=DataTable.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../src/components/DataTable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,IAAI,eAAe,EAAE,KAAK,mBAAmB,EAAkB,MAAM,4BAA4B,CAAA;AAC9G,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAErC,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,KAAK,uBAAuB,CAAC,EAAE,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,IAAI,mBAAmB,CAAC,EAAE,CAAC,GAAG,MAAM,CAAA;AAYrG,iBAAS,kBAAkB,CAAC,EAAE,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,EAAE,EAAC,EAAE,EAAE,GAAG,IAAI,EAAC,EAAE,uBAAuB,CAAC,EAAE,CAAC,qBAE3G;AAUD,QAAA,MAAM,KAAK,EAAE,OAAO,eAAe,GAAG;IACpC,SAAS,EAAE,OAAO,kBAAkB,CAAA;CAIpC,CAAA;AAEF,YAAY,EACV,UAAU,EACV,cAAc,EACd,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,4BAA4B,CAAA;AAEnC,OAAO,EAAC,KAAK,EAAE,KAAK,uBAAuB,EAAC,CAAA"}
@@ -1,42 +0,0 @@
1
- import { Table as Table$1 } from '@primer/react/experimental';
2
- import { sx } from '../sx.js';
3
- import styled from 'styled-components';
4
- import React from 'react';
5
- import { jsx } from 'react/jsx-runtime';
6
-
7
- const {
8
- Container: PrimerDataTableContainer,
9
- ...rest
10
- } = Table$1;
11
- const StyleDataTableContainer = styled(PrimerDataTableContainer).withConfig({
12
- shouldForwardProp: prop => prop !== 'sx'
13
- }).withConfig({
14
- displayName: "DataTable__StyleDataTableContainer",
15
- componentId: "sc-qy1ey2-0"
16
- })(["", ""], sx);
17
- function DataTableContainer({
18
- as,
19
- ...rest
20
- }) {
21
- return /*#__PURE__*/jsx(StyleDataTableContainer, {
22
- ...rest,
23
- ...(as ? {
24
- forwardedAs: as
25
- } : {})
26
- });
27
- }
28
-
29
- // Create a wrapper component to avoid mutating the original PrimerDataTable
30
- const TableRoot = /*#__PURE__*/React.forwardRef(function TableRoot(props, ref) {
31
- return /*#__PURE__*/jsx(Table$1, {
32
- ...props,
33
- ref: ref
34
- });
35
- });
36
- TableRoot.__SLOT__ = Table$1.__SLOT__;
37
- const Table = Object.assign(TableRoot, {
38
- Container: DataTableContainer,
39
- ...rest
40
- });
41
-
42
- export { Table };
@@ -1,26 +0,0 @@
1
- import { type TimelineProps as PrimerTimelineProps, type TimelineItemProps as PrimerTimelineItemProps, type TimelineBadgeProps as PrimerTimelineBadgeProps, type TimelineBodyProps as PrimerTimelineBodyProps, type TimelineBreakProps as PrimerTimelineBreakProps } from '@primer/react';
2
- import { type SxProp } from '../sx';
3
- export type TimelineProps = PrimerTimelineProps & SxProp;
4
- export type TimelineItemProps = PrimerTimelineItemProps & SxProp;
5
- export type TimelineBadgeProps = PrimerTimelineBadgeProps & SxProp;
6
- export type TimelineBodyProps = PrimerTimelineBodyProps & SxProp;
7
- export type TimelineBreakProps = PrimerTimelineBreakProps & SxProp;
8
- declare function TimelineBadge(props: TimelineBadgeProps): import("react").JSX.Element;
9
- export declare const Timeline: import("react").ForwardRefExoticComponent<{
10
- clipSidebar?: boolean | "start" | "end" | "both";
11
- className?: string;
12
- } & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & SxProp & import("react").RefAttributes<HTMLDivElement>> & {
13
- Item: import("react").ForwardRefExoticComponent<{
14
- condensed?: boolean;
15
- className?: string;
16
- } & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & SxProp & import("react").RefAttributes<HTMLDivElement>>;
17
- Badge: typeof TimelineBadge;
18
- Body: import("react").ForwardRefExoticComponent<{
19
- className?: string;
20
- } & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & SxProp & import("react").RefAttributes<HTMLDivElement>>;
21
- Break: import("react").ForwardRefExoticComponent<{
22
- className?: string;
23
- } & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & SxProp & import("react").RefAttributes<HTMLDivElement>>;
24
- };
25
- export {};
26
- //# sourceMappingURL=Timeline.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Timeline.d.ts","sourceRoot":"","sources":["../../src/components/Timeline.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,aAAa,IAAI,mBAAmB,EACzC,KAAK,iBAAiB,IAAI,uBAAuB,EACjD,KAAK,kBAAkB,IAAI,wBAAwB,EACnD,KAAK,iBAAiB,IAAI,uBAAuB,EACjD,KAAK,kBAAkB,IAAI,wBAAwB,EACpD,MAAM,eAAe,CAAA;AAGtB,OAAO,EAAC,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAEjC,MAAM,MAAM,aAAa,GAAG,mBAAmB,GAAG,MAAM,CAAA;AACxD,MAAM,MAAM,iBAAiB,GAAG,uBAAuB,GAAG,MAAM,CAAA;AAChE,MAAM,MAAM,kBAAkB,GAAG,wBAAwB,GAAG,MAAM,CAAA;AAClE,MAAM,MAAM,iBAAiB,GAAG,uBAAuB,GAAG,MAAM,CAAA;AAChE,MAAM,MAAM,kBAAkB,GAAG,wBAAwB,GAAG,MAAM,CAAA;AAUlE,iBAAS,aAAa,CAAC,KAAK,EAAE,kBAAkB,+BAE/C;AAUD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;CAKnB,CAAA"}
@@ -1,47 +0,0 @@
1
- import { Timeline as Timeline$1 } from '@primer/react';
2
- import { Box } from './Box.js';
3
- import { forwardRef } from 'react';
4
- import { jsx } from 'react/jsx-runtime';
5
-
6
- const TimelineImpl = /*#__PURE__*/forwardRef(function Timeline(props, ref) {
7
- return /*#__PURE__*/jsx(Box, {
8
- as: Timeline$1,
9
- ref: ref,
10
- ...props
11
- });
12
- });
13
- const TimelineItem = /*#__PURE__*/forwardRef(function TimelineItem(props, ref) {
14
- return /*#__PURE__*/jsx(Box, {
15
- as: Timeline$1.Item,
16
- ref: ref,
17
- ...props
18
- });
19
- });
20
- function TimelineBadge(props) {
21
- return /*#__PURE__*/jsx(Box, {
22
- as: Timeline$1.Badge,
23
- ...props
24
- });
25
- }
26
- const TimelineBody = /*#__PURE__*/forwardRef(function TimelineBody(props, ref) {
27
- return /*#__PURE__*/jsx(Box, {
28
- as: Timeline$1.Body,
29
- ref: ref,
30
- ...props
31
- });
32
- });
33
- const TimelineBreak = /*#__PURE__*/forwardRef(function TimelineBreak(props, ref) {
34
- return /*#__PURE__*/jsx(Box, {
35
- as: Timeline$1.Break,
36
- ref: ref,
37
- ...props
38
- });
39
- });
40
- const Timeline = Object.assign(TimelineImpl, {
41
- Item: TimelineItem,
42
- Badge: TimelineBadge,
43
- Body: TimelineBody,
44
- Break: TimelineBreak
45
- });
46
-
47
- export { Timeline };
@@ -1,7 +0,0 @@
1
- import { type TruncateProps as PrimerTruncateProps } from '@primer/react';
2
- import { type SxProp } from '../sx';
3
- import type { PropsWithChildren } from 'react';
4
- import type { ForwardRefComponent } from '../polymorphic';
5
- export type TruncateProps = PropsWithChildren<PrimerTruncateProps> & SxProp;
6
- export declare const Truncate: ForwardRefComponent<'div', TruncateProps>;
7
- //# sourceMappingURL=Truncate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Truncate.d.ts","sourceRoot":"","sources":["../../src/components/Truncate.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,aAAa,IAAI,mBAAmB,EAAC,MAAM,eAAe,CAAA;AACnG,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAErC,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,OAAO,CAAA;AAC5C,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AAEvD,MAAM,MAAM,aAAa,GAAG,iBAAiB,CAAC,mBAAmB,CAAC,GAAG,MAAM,CAAA;AAE3E,eAAO,MAAM,QAAQ,EAAE,mBAAmB,CAAC,KAAK,EAAE,aAAa,CAI9D,CAAA"}
@@ -1,12 +0,0 @@
1
- import { Truncate as Truncate$1 } from '@primer/react';
2
- import { sx } from '../sx.js';
3
- import styled from 'styled-components';
4
-
5
- const Truncate = styled(Truncate$1).withConfig({
6
- shouldForwardProp: prop => prop !== 'sx'
7
- }).withConfig({
8
- displayName: "Truncate",
9
- componentId: "sc-x3i4it-0"
10
- })(["", ""], sx);
11
-
12
- export { Truncate };