@primer/styled-react 1.0.6-rc.f24ec253d → 1.0.7-rc.1104ba2c2

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,16 +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
- "Token",
29
- "Tooltip",
30
- "Truncate",
31
24
  "UnderlineNav"
32
25
  ],
33
26
  "types": [
@@ -42,10 +35,7 @@
42
35
  "BaseStylesProps",
43
36
  "BetterSystemStyleObject",
44
37
  "BoxProps",
45
- "BreadcrumbsItemProps",
46
- "BreadcrumbsProps",
47
38
  "ButtonProps",
48
- "DataTableContainerProps",
49
39
  "DialogHeaderProps",
50
40
  "DialogProps",
51
41
  "FormControlProps",
@@ -60,30 +50,13 @@
60
50
  "SegmentedControlProps",
61
51
  "SpinnerProps",
62
52
  "SxProp",
63
- "TableActionsProps",
64
- "TableBodyProps",
65
- "TableCellProps",
66
- "TableHeaderProps",
67
- "TableHeadProps",
68
- "TableProps",
69
- "TableRowProps",
70
- "TableSubtitleProps",
71
- "TableTitleProps",
72
53
  "TabNavLinkProps",
73
54
  "TabNavProps",
74
55
  "TextInputActionProps",
75
56
  "TextInputProps",
76
57
  "TextProps",
77
58
  "ThemeProviderProps",
78
- "TimelineBadgeProps",
79
- "TimelineBodyProps",
80
- "TimelineBreakProps",
81
- "TimelineItemProps",
82
- "TimelineProps",
83
59
  "ToggleSwitchProps",
84
- "TokenProps",
85
- "TooltipProps",
86
- "TruncateProps",
87
60
  "UnderlineNavItemProps",
88
61
  "UnderlineNavProps"
89
62
  ],
@@ -42,17 +42,6 @@ Octicon,
42
42
  */
43
43
  type OcticonProps, } from './components/deprecated/Octicon';
44
44
  export {
45
- /**
46
- * @deprecated Usage of the `sx` prop with this component is no longer
47
- * supported. Use the component from `@primer/react` with CSS Modules instead.
48
- */
49
- Tooltip,
50
- /**
51
- * @deprecated Usage of the `sx` prop with this component is no longer
52
- * supported. Use the component from `@primer/react` with CSS Modules instead.
53
- */
54
- type TooltipProps, } from './components/deprecated/Tooltip';
55
- export {
56
45
  /**
57
46
  * @deprecated Usage of the `sx` prop with this component is no longer
58
47
  * supported. Use the component from `@primer/react` with CSS Modules instead.
@@ -1 +1 @@
1
- {"version":3,"file":"deprecated.d.ts","sourceRoot":"","sources":["../src/deprecated.tsx"],"names":[],"mappings":"AAAA,OAAO;AACL;;;GAGG;AACH,MAAM;AAEN;;;GAGG;AACH,KAAK,WAAW;AAEhB;;;GAGG;AACH,KAAK,eAAe,GACrB,MAAM,gCAAgC,CAAA;AAEvC,OAAO;AACL;;;GAGG;AACH,MAAM;AAEN;;;GAGG;AACH,KAAK,WAAW;AAEhB;;;GAGG;AACH,KAAK,iBAAiB,GACvB,MAAM,kCAAkC,CAAA;AAEzC,OAAO;AACL;;;GAGG;AACH,OAAO;AAEP;;;GAGG;AACH,KAAK,YAAY,GAClB,MAAM,iCAAiC,CAAA;AAExC,OAAO;AACL;;;GAGG;AACH,OAAO;AAEP;;;GAGG;AACH,KAAK,YAAY,GAClB,MAAM,iCAAiC,CAAA;AAExC,OAAO;AACL;;;GAGG;AACH,UAAU;AAEV;;;GAGG;AACH,KAAK,eAAe;AAEpB;;;GAGG;AACH,KAAK,mBAAmB;AAExB;;;GAGG;AACH,KAAK,oBAAoB,GAC1B,MAAM,oCAAoC,CAAA"}
1
+ {"version":3,"file":"deprecated.d.ts","sourceRoot":"","sources":["../src/deprecated.tsx"],"names":[],"mappings":"AAAA,OAAO;AACL;;;GAGG;AACH,MAAM;AAEN;;;GAGG;AACH,KAAK,WAAW;AAEhB;;;GAGG;AACH,KAAK,eAAe,GACrB,MAAM,gCAAgC,CAAA;AAEvC,OAAO;AACL;;;GAGG;AACH,MAAM;AAEN;;;GAGG;AACH,KAAK,WAAW;AAEhB;;;GAGG;AACH,KAAK,iBAAiB,GACvB,MAAM,kCAAkC,CAAA;AAEzC,OAAO;AACL;;;GAGG;AACH,OAAO;AAEP;;;GAGG;AACH,KAAK,YAAY,GAClB,MAAM,iCAAiC,CAAA;AAExC,OAAO;AACL;;;GAGG;AACH,UAAU;AAEV;;;GAGG;AACH,KAAK,eAAe;AAEpB;;;GAGG;AACH,KAAK,mBAAmB;AAExB;;;GAGG;AACH,KAAK,oBAAoB,GAC1B,MAAM,oCAAoC,CAAA"}
@@ -1,5 +1,4 @@
1
1
  export { TabNav } from './components/deprecated/TabNav.js';
2
2
  export { Dialog } from './components/deprecated/DialogV1.js';
3
3
  export { Octicon } from './components/deprecated/Octicon.js';
4
- export { Tooltip } from './components/deprecated/Tooltip.js';
5
4
  export { ActionList } from './components/deprecated/ActionList.js';
@@ -9,71 +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
- Tooltip,
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 TooltipProps, } from './components/Tooltip';
23
- export {
24
- /**
25
- * @deprecated Usage of the `sx` prop with this component is no longer
26
- * supported. Use the component from `@primer/react` with CSS Modules instead.
27
- */
28
- Table,
29
- /**
30
- * @deprecated Usage of the `sx` prop with this component is no longer
31
- * supported. Use the component from `@primer/react` with CSS Modules instead.
32
- */
33
- type DataTableContainerProps,
34
- /**
35
- * @deprecated Usage of the `sx` prop with this component is no longer
36
- * supported. Use the component from `@primer/react` with CSS Modules instead.
37
- */
38
- type TableProps,
39
- /**
40
- * @deprecated Usage of the `sx` prop with this component is no longer
41
- * supported. Use the component from `@primer/react` with CSS Modules instead.
42
- */
43
- type TableHeadProps,
44
- /**
45
- * @deprecated Usage of the `sx` prop with this component is no longer
46
- * supported. Use the component from `@primer/react` with CSS Modules instead.
47
- */
48
- type TableBodyProps,
49
- /**
50
- * @deprecated Usage of the `sx` prop with this component is no longer
51
- * supported. Use the component from `@primer/react` with CSS Modules instead.
52
- */
53
- type TableRowProps,
54
- /**
55
- * @deprecated Usage of the `sx` prop with this component is no longer
56
- * supported. Use the component from `@primer/react` with CSS Modules instead.
57
- */
58
- type TableHeaderProps,
59
- /**
60
- * @deprecated Usage of the `sx` prop with this component is no longer
61
- * supported. Use the component from `@primer/react` with CSS Modules instead.
62
- */
63
- type TableCellProps,
64
- /**
65
- * @deprecated Usage of the `sx` prop with this component is no longer
66
- * supported. Use the component from `@primer/react` with CSS Modules instead.
67
- */
68
- type TableTitleProps,
69
- /**
70
- * @deprecated Usage of the `sx` prop with this component is no longer
71
- * supported. Use the component from `@primer/react` with CSS Modules instead.
72
- */
73
- type TableSubtitleProps,
74
- /**
75
- * @deprecated Usage of the `sx` prop with this component is no longer
76
- * supported. Use the component from `@primer/react` with CSS Modules instead.
77
- */
78
- type TableActionsProps, } from './components/DataTable';
79
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,OAAO;AAEP;;;GAGG;AACH,KAAK,YAAY,GAClB,MAAM,sBAAsB,CAAA;AAE7B,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,3 +1 @@
1
1
  export { Dialog } from './components/Dialog.js';
2
- export { Tooltip } from './components/Tooltip.js';
3
- 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,39 +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
- Tooltip,
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 TooltipProps, } from './components/Tooltip';
335
- export {
336
- /**
337
- * @deprecated Usage of the `sx` prop with this component is no longer
338
- * supported. Use the component from `@primer/react` with CSS Modules instead.
339
- */
340
- Token,
341
- /**
342
- * @deprecated Usage of the `sx` prop with this component is no longer
343
- * supported. Use the component from `@primer/react` with CSS Modules instead.
344
- */
345
- type TokenProps, } from './components/Token';
346
- export {
347
- /**
348
- * @deprecated Usage of the `sx` prop with this component is no longer
349
- * supported. Use the component from `@primer/react` with CSS Modules instead.
350
- */
351
- Truncate,
352
- /**
353
- * @deprecated Usage of the `sx` prop with this component is no longer
354
- * supported. Use the component from `@primer/react` with CSS Modules instead.
355
- */
356
- type TruncateProps, } from './components/Truncate';
357
- export {
358
273
  /**
359
274
  * @deprecated Usage of the `sx` prop with this component is no longer
360
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;;;G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ACH,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,11 +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 { Tooltip } from './components/Tooltip.js';
26
- export { Token } from './components/Token.js';
27
- export { Truncate } from './components/Truncate.js';
28
23
  export { UnderlineNav } from './components/UnderlineNav.js';
29
24
  export { sx } from './sx.js';
30
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-rc.f24ec253d",
3
+ "version": "1.0.7-rc.1104ba2c2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -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,8 +0,0 @@
1
- import { type TokenProps as PrimerTokenProps } from '@primer/react';
2
- import { type SxProp } from '../sx';
3
- import type { ForwardRefComponent } from '../polymorphic';
4
- import type { PropsWithChildren } from 'react';
5
- type TokenProps = PropsWithChildren<PrimerTokenProps> & SxProp;
6
- declare const Token: ForwardRefComponent<"a" | "button" | "span", TokenProps>;
7
- export { Token, type TokenProps };
8
- //# sourceMappingURL=Token.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Token.d.ts","sourceRoot":"","sources":["../../src/components/Token.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,KAAK,UAAU,IAAI,gBAAgB,EAAuB,MAAM,eAAe,CAAA;AACvF,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AACrC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AACvD,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,OAAO,CAAA;AAG5C,KAAK,UAAU,GAAG,iBAAiB,CAAC,gBAAgB,CAAC,GAAG,MAAM,CAAA;AAQ9D,QAAA,MAAM,KAAK,EAEL,mBAAmB,CAAC,GAAG,GAAG,QAAQ,GAAG,MAAM,EAAE,UAAU,CAAC,CAAA;AAE9D,OAAO,EAAC,KAAK,EAAE,KAAK,UAAU,EAAC,CAAA"}
@@ -1,26 +0,0 @@
1
- import { forwardRef } from 'react';
2
- import { Token as Token$1 } from '@primer/react';
3
- import { sx } from '../sx.js';
4
- import styled from 'styled-components';
5
- import { jsx } from 'react/jsx-runtime';
6
-
7
- const StyledToken = styled(Token$1).withConfig({
8
- shouldForwardProp: prop => prop !== 'sx'
9
- }).withConfig({
10
- displayName: "Token__StyledToken",
11
- componentId: "sc-ldn0r8-0"
12
- })(["", ""], sx);
13
- const Token = /*#__PURE__*/forwardRef(({
14
- as,
15
- ...props
16
- }, ref) => {
17
- return /*#__PURE__*/jsx(StyledToken, {
18
- ...props,
19
- ...(as ? {
20
- forwardedAs: as
21
- } : {}),
22
- ref: ref
23
- });
24
- });
25
-
26
- export { Token };
@@ -1,7 +0,0 @@
1
- import { type TooltipProps as PrimerTooltipProps, type SlotMarker } from '@primer/react';
2
- import { type ForwardRefExoticComponent, type RefAttributes } from 'react';
3
- import type { SxProp } from '../sx';
4
- type TooltipProps = PrimerTooltipProps & SxProp;
5
- declare const Tooltip: ForwardRefExoticComponent<TooltipProps & RefAttributes<HTMLDivElement>> & SlotMarker;
6
- export { Tooltip, type TooltipProps };
7
- //# sourceMappingURL=Tooltip.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../src/components/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,YAAY,IAAI,kBAAkB,EAAE,KAAK,UAAU,EAAC,MAAM,eAAe,CAAA;AAEhH,OAAO,EAAa,KAAK,yBAAyB,EAAE,KAAK,aAAa,EAAC,MAAM,OAAO,CAAA;AACpF,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,OAAO,CAAA;AAEjC,KAAK,YAAY,GAAG,kBAAkB,GAAG,MAAM,CAAA;AAE/C,QAAA,MAAM,OAAO,EAAE,yBAAyB,CAAC,YAAY,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC,GAAG,UAKvF,CAAA;AAIF,OAAO,EAAC,OAAO,EAAE,KAAK,YAAY,EAAC,CAAA"}
@@ -1,15 +0,0 @@
1
- import { Tooltip as Tooltip$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 Tooltip = /*#__PURE__*/forwardRef(function Tooltip(props, ref) {
7
- return /*#__PURE__*/jsx(Box, {
8
- as: Tooltip$1,
9
- ref: ref,
10
- ...props
11
- });
12
- });
13
- Tooltip.__SLOT__ = Tooltip$1.__SLOT__;
14
-
15
- export { Tooltip };
@@ -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 };
@@ -1,13 +0,0 @@
1
- import { type TooltipProps as PrimerTooltipProps } from '@primer/react/deprecated';
2
- import { type SxProp } from '../../sx';
3
- import { type PropsWithChildren } from 'react';
4
- type TooltipProps = PropsWithChildren<PrimerTooltipProps & SxProp & {
5
- as?: React.ElementType;
6
- }>;
7
- declare const TooltipImpl: import("react").ForwardRefExoticComponent<Omit<TooltipProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
8
- declare const Tooltip: typeof TooltipImpl & {
9
- alignments: string[];
10
- directions: string[];
11
- };
12
- export { Tooltip, type TooltipProps };
13
- //# sourceMappingURL=Tooltip.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/deprecated/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,YAAY,IAAI,kBAAkB,EAAC,MAAM,0BAA0B,CAAA;AAE1G,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,UAAU,CAAA;AACxC,OAAO,EAAC,KAAK,iBAAiB,EAAC,MAAM,OAAO,CAAA;AAK5C,KAAK,YAAY,GAAG,iBAAiB,CAAC,kBAAkB,GAAG,MAAM,GAAG;IAAC,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CAAC,CAAC,CAAA;AAQ7F,QAAA,MAAM,WAAW,uHAEf,CAAA;AAEF,QAAA,MAAM,OAAO,EAAkB,OAAO,WAAW,GAAG;IAClD,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,UAAU,EAAE,MAAM,EAAE,CAAA;CACrB,CAAA;AAOD,OAAO,EAAC,OAAO,EAAE,KAAK,YAAY,EAAC,CAAA"}
@@ -1,32 +0,0 @@
1
- import { Tooltip as Tooltip$1 } from '@primer/react/deprecated';
2
- import { forwardRef } from 'react';
3
- import { sx } from '../../sx.js';
4
- import styled from 'styled-components';
5
- import { jsx } from 'react/jsx-runtime';
6
-
7
- const StyledTooltip = styled(Tooltip$1).withConfig({
8
- shouldForwardProp: prop => prop !== 'sx'
9
- }).withConfig({
10
- displayName: "Tooltip__StyledTooltip",
11
- componentId: "sc-145jcib-0"
12
- })(["", ""], sx);
13
- const TooltipImpl = /*#__PURE__*/forwardRef(function Tooltip({
14
- as,
15
- ...props
16
- }, ref) {
17
- return /*#__PURE__*/jsx(StyledTooltip, {
18
- ...props,
19
- ...(as ? {
20
- forwardedAs: as
21
- } : {}),
22
- ref: ref
23
- });
24
- });
25
- const Tooltip = TooltipImpl;
26
-
27
- // Preserve static properties from the original component
28
- Tooltip.alignments = Tooltip$1.alignments;
29
- Tooltip.directions = Tooltip$1.directions;
30
- Tooltip.__SLOT__ = Tooltip$1.__SLOT__;
31
-
32
- export { Tooltip };