@primer/styled-react 0.0.0-20260325224254 → 0.0.0-20260325232301

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.
Files changed (134) hide show
  1. package/dist/components/ActionList.d.ts +44 -0
  2. package/dist/components/ActionList.d.ts.map +1 -0
  3. package/dist/components/ActionMenu.d.ts +13 -0
  4. package/dist/components/ActionMenu.d.ts.map +1 -0
  5. package/dist/components/BaseStyles.d.ts +17 -0
  6. package/dist/components/BaseStyles.d.ts.map +1 -0
  7. package/dist/{packages/styled-react/src/components → components}/BaseStyles.js +2 -2
  8. package/dist/components/Box.d.ts +19 -0
  9. package/dist/components/Box.d.ts.map +1 -0
  10. package/dist/components/Breadcrumbs.d.ts +18 -0
  11. package/dist/components/Breadcrumbs.d.ts.map +1 -0
  12. package/dist/components/Button.d.ts +12 -0
  13. package/dist/components/Button.d.ts.map +1 -0
  14. package/dist/components/Button.stories.d.ts +8 -0
  15. package/dist/components/Button.stories.d.ts.map +1 -0
  16. package/dist/components/CounterLabel.d.ts +11 -0
  17. package/dist/components/CounterLabel.d.ts.map +1 -0
  18. package/dist/components/DataTable.d.ts +11 -0
  19. package/dist/components/DataTable.d.ts.map +1 -0
  20. package/dist/components/Dialog.d.ts +30 -0
  21. package/dist/components/Dialog.d.ts.map +1 -0
  22. package/dist/components/Flash.d.ts +8 -0
  23. package/dist/components/Flash.d.ts.map +1 -0
  24. package/dist/components/FormControl.d.ts +13 -0
  25. package/dist/components/FormControl.d.ts.map +1 -0
  26. package/dist/components/Header.d.ts +11 -0
  27. package/dist/components/Header.d.ts.map +1 -0
  28. package/dist/components/Heading.d.ts +8 -0
  29. package/dist/components/Heading.d.ts.map +1 -0
  30. package/dist/components/IconButton.d.ts +10 -0
  31. package/dist/components/IconButton.d.ts.map +1 -0
  32. package/dist/components/Label.d.ts +9 -0
  33. package/dist/components/Label.d.ts.map +1 -0
  34. package/dist/components/Link.d.ts +7 -0
  35. package/dist/components/Link.d.ts.map +1 -0
  36. package/dist/components/LinkButton.d.ts +8 -0
  37. package/dist/components/LinkButton.d.ts.map +1 -0
  38. package/dist/components/Overlay.d.ts +8 -0
  39. package/dist/components/Overlay.d.ts.map +1 -0
  40. package/dist/components/PageHeader.d.ts +31 -0
  41. package/dist/components/PageHeader.d.ts.map +1 -0
  42. package/dist/components/SegmentedControl.d.ts +19 -0
  43. package/dist/components/SegmentedControl.d.ts.map +1 -0
  44. package/dist/components/Spinner.d.ts +5 -0
  45. package/dist/components/Spinner.d.ts.map +1 -0
  46. package/dist/components/Text.d.ts +15 -0
  47. package/dist/components/Text.d.ts.map +1 -0
  48. package/dist/components/TextInput.d.ts +15 -0
  49. package/dist/components/TextInput.d.ts.map +1 -0
  50. package/dist/components/ThemeProvider.d.ts +30 -0
  51. package/dist/components/ThemeProvider.d.ts.map +1 -0
  52. package/dist/{packages/styled-react/src/components → components}/ThemeProvider.js +1 -1
  53. package/dist/components/Timeline.d.ts +26 -0
  54. package/dist/components/Timeline.d.ts.map +1 -0
  55. package/dist/components/ToggleSwitch.d.ts +6 -0
  56. package/dist/components/ToggleSwitch.d.ts.map +1 -0
  57. package/dist/components/Token.d.ts +8 -0
  58. package/dist/components/Token.d.ts.map +1 -0
  59. package/dist/components/Tooltip.d.ts +7 -0
  60. package/dist/components/Tooltip.d.ts.map +1 -0
  61. package/dist/components/Truncate.d.ts +7 -0
  62. package/dist/components/Truncate.d.ts.map +1 -0
  63. package/dist/components/UnderlineNav.d.ts +11 -0
  64. package/dist/components/UnderlineNav.d.ts.map +1 -0
  65. package/dist/components/deprecated/ActionList.d.ts +23 -0
  66. package/dist/components/deprecated/ActionList.d.ts.map +1 -0
  67. package/dist/components/deprecated/DialogV1.d.ts +11 -0
  68. package/dist/components/deprecated/DialogV1.d.ts.map +1 -0
  69. package/dist/components/deprecated/Octicon.d.ts +17 -0
  70. package/dist/components/deprecated/Octicon.d.ts.map +1 -0
  71. package/dist/components/deprecated/TabNav.d.ts +9 -0
  72. package/dist/components/deprecated/TabNav.d.ts.map +1 -0
  73. package/dist/components/deprecated/Tooltip.d.ts +13 -0
  74. package/dist/components/deprecated/Tooltip.d.ts.map +1 -0
  75. package/dist/deprecated.d.ts +76 -0
  76. package/dist/deprecated.d.ts.map +1 -0
  77. package/dist/experimental.d.ts +100 -0
  78. package/dist/experimental.d.ts.map +1 -0
  79. package/dist/index.d.ts +439 -0
  80. package/dist/index.d.ts.map +1 -0
  81. package/dist/{packages/styled-react/src/index.js → index.js} +1 -1
  82. package/dist/polymorphic.d.ts +39 -0
  83. package/dist/polymorphic.d.ts.map +1 -0
  84. package/dist/styled-props.d.ts +4 -0
  85. package/dist/styled-props.d.ts.map +1 -0
  86. package/dist/sx.d.ts +26 -0
  87. package/dist/sx.d.ts.map +1 -0
  88. package/dist/{packages/styled-react/src/sx.js → sx.js} +1 -1
  89. package/dist/theme-get.d.ts +2 -0
  90. package/dist/theme-get.d.ts.map +1 -0
  91. package/package.json +4 -4
  92. package/dist/_virtual/_commonjsHelpers.js +0 -5
  93. package/dist/_virtual/cjs.js +0 -7
  94. package/dist/_virtual/focus-visible.js +0 -3
  95. package/dist/_virtual/focus-visible2.js +0 -3
  96. package/dist/node_modules/clsx/dist/clsx.js +0 -3
  97. package/dist/node_modules/deepmerge/dist/cjs.js +0 -142
  98. package/dist/node_modules/focus-visible/dist/focus-visible.js +0 -324
  99. /package/dist/{packages/styled-react/src/components → components}/ActionList.js +0 -0
  100. /package/dist/{packages/styled-react/src/components → components}/ActionMenu.js +0 -0
  101. /package/dist/{packages/styled-react/src/components → components}/Box.js +0 -0
  102. /package/dist/{packages/styled-react/src/components → components}/Breadcrumbs.js +0 -0
  103. /package/dist/{packages/styled-react/src/components → components}/Button.js +0 -0
  104. /package/dist/{packages/styled-react/src/components → components}/CounterLabel.js +0 -0
  105. /package/dist/{packages/styled-react/src/components → components}/DataTable.js +0 -0
  106. /package/dist/{packages/styled-react/src/components → components}/Dialog.js +0 -0
  107. /package/dist/{packages/styled-react/src/components → components}/Flash.js +0 -0
  108. /package/dist/{packages/styled-react/src/components → components}/FormControl.js +0 -0
  109. /package/dist/{packages/styled-react/src/components → components}/Header.js +0 -0
  110. /package/dist/{packages/styled-react/src/components → components}/Heading.js +0 -0
  111. /package/dist/{packages/styled-react/src/components → components}/IconButton.js +0 -0
  112. /package/dist/{packages/styled-react/src/components → components}/Label.js +0 -0
  113. /package/dist/{packages/styled-react/src/components → components}/Link.js +0 -0
  114. /package/dist/{packages/styled-react/src/components → components}/LinkButton.js +0 -0
  115. /package/dist/{packages/styled-react/src/components → components}/Overlay.js +0 -0
  116. /package/dist/{packages/styled-react/src/components → components}/PageHeader.js +0 -0
  117. /package/dist/{packages/styled-react/src/components → components}/SegmentedControl.js +0 -0
  118. /package/dist/{packages/styled-react/src/components → components}/Spinner.js +0 -0
  119. /package/dist/{packages/styled-react/src/components → components}/Text.js +0 -0
  120. /package/dist/{packages/styled-react/src/components → components}/TextInput.js +0 -0
  121. /package/dist/{packages/styled-react/src/components → components}/Timeline.js +0 -0
  122. /package/dist/{packages/styled-react/src/components → components}/ToggleSwitch.js +0 -0
  123. /package/dist/{packages/styled-react/src/components → components}/Token.js +0 -0
  124. /package/dist/{packages/styled-react/src/components → components}/Tooltip.js +0 -0
  125. /package/dist/{packages/styled-react/src/components → components}/Truncate.js +0 -0
  126. /package/dist/{packages/styled-react/src/components → components}/UnderlineNav.js +0 -0
  127. /package/dist/{packages/styled-react/src/components → components}/deprecated/ActionList.js +0 -0
  128. /package/dist/{packages/styled-react/src/components → components}/deprecated/DialogV1.js +0 -0
  129. /package/dist/{packages/styled-react/src/components → components}/deprecated/Octicon.js +0 -0
  130. /package/dist/{packages/styled-react/src/components → components}/deprecated/TabNav.js +0 -0
  131. /package/dist/{packages/styled-react/src/components → components}/deprecated/Tooltip.js +0 -0
  132. /package/dist/{packages/styled-react/src/deprecated.js → deprecated.js} +0 -0
  133. /package/dist/{packages/styled-react/src/experimental.js → experimental.js} +0 -0
  134. /package/dist/{packages/styled-react/src/theme-get.js → theme-get.js} +0 -0
@@ -0,0 +1,44 @@
1
+ import React from 'react';
2
+ import { ActionList as PrimerActionList, type ActionListProps as PrimerActionListProps, type ActionListItemProps as PrimerActionListItemProps, type ActionListLinkItemProps as PrimerActionListLinkItemProps, type ActionListGroupProps as PrimerActionListGroupProps, type ActionListDividerProps as PrimerActionListDividerProps, type ActionListLeadingVisualProps as PrimerActionListLeadingVisualProps, type ActionListTrailingVisualProps as PrimerActionListTrailingVisualProps, type SlotMarker } from '@primer/react';
3
+ import { type SxProp } from '../sx';
4
+ import type { ForwardRefComponent } from '../polymorphic';
5
+ type PrimerActionListTrailingActionProps = React.ComponentProps<typeof PrimerActionList.TrailingAction>;
6
+ export type ActionListProps<As extends React.ElementType = 'ul'> = PrimerActionListProps<As> & SxProp;
7
+ export type ActionListItemProps = React.PropsWithChildren<PrimerActionListItemProps & SxProp>;
8
+ export type ActionListLinkItemProps = React.PropsWithChildren<PrimerActionListLinkItemProps & SxProp> & {
9
+ as?: React.ElementType;
10
+ };
11
+ export type ActionListGroupProps = React.PropsWithChildren<PrimerActionListGroupProps & SxProp> & {
12
+ as?: React.ElementType;
13
+ };
14
+ export type ActionListDividerProps = React.PropsWithChildren<PrimerActionListDividerProps & SxProp>;
15
+ export type ActionListLeadingVisualProps = React.PropsWithChildren<PrimerActionListLeadingVisualProps & SxProp> & {
16
+ as?: React.ElementType;
17
+ };
18
+ export type ActionListTrailingVisualProps = React.PropsWithChildren<PrimerActionListTrailingVisualProps & SxProp> & {
19
+ as?: React.ElementType;
20
+ };
21
+ export type ActionListTrailingActionProps = React.PropsWithChildren<PrimerActionListTrailingActionProps & SxProp>;
22
+ declare const ActionListImpl: React.ForwardRefExoticComponent<Omit<ActionListProps<React.ElementType<any, keyof React.JSX.IntrinsicElements>>, "ref"> & React.RefAttributes<unknown>>;
23
+ declare const ActionListLinkItem: ForwardRefComponent<"a", ActionListLinkItemProps> & SlotMarker;
24
+ type TrailingActionElements = 'button' | 'a';
25
+ declare const ActionListTrailingAction: ForwardRefComponent<TrailingActionElements, ActionListTrailingActionProps> & SlotMarker;
26
+ declare const ActionListItem: ForwardRefComponent<"li", ActionListItemProps> & SlotMarker;
27
+ declare const ActionListGroup: React.ComponentType<ActionListGroupProps> & SlotMarker;
28
+ declare const ActionListDivider: React.ComponentType<ActionListDividerProps> & SlotMarker;
29
+ declare const ActionListLeadingVisual: React.ComponentType<ActionListLeadingVisualProps> & SlotMarker;
30
+ declare const ActionListTrailingVisual: React.ComponentType<ActionListTrailingVisualProps> & SlotMarker;
31
+ export declare const ActionList: typeof ActionListImpl & {
32
+ Item: typeof ActionListItem;
33
+ LinkItem: typeof ActionListLinkItem;
34
+ Group: typeof ActionListGroup;
35
+ GroupHeading: typeof PrimerActionList.GroupHeading;
36
+ Divider: typeof ActionListDivider;
37
+ Description: typeof PrimerActionList.Description;
38
+ LeadingVisual: typeof ActionListLeadingVisual;
39
+ TrailingVisual: typeof ActionListTrailingVisual;
40
+ Heading: typeof PrimerActionList.Heading;
41
+ TrailingAction: typeof ActionListTrailingAction;
42
+ } & SlotMarker;
43
+ export {};
44
+ //# sourceMappingURL=ActionList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionList.d.ts","sourceRoot":"","sources":["../../src/components/ActionList.tsx"],"names":[],"mappings":"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"}
@@ -0,0 +1,13 @@
1
+ import { ActionMenu as PrimerActionMenu, type SlotMarker } from '@primer/react';
2
+ import { type SxProp } from '../sx';
3
+ import type { ComponentProps } from 'react';
4
+ type ActionMenuOverlayProps = ComponentProps<typeof PrimerActionMenu.Overlay> & SxProp;
5
+ declare const ActionMenuOverlay: React.ComponentType<ActionMenuOverlayProps> & SlotMarker;
6
+ export declare const ActionMenu: typeof PrimerActionMenu & {
7
+ Button: typeof PrimerActionMenu.Button;
8
+ Anchor: typeof PrimerActionMenu.Anchor;
9
+ Overlay: typeof ActionMenuOverlay;
10
+ Divider: typeof PrimerActionMenu.Divider;
11
+ };
12
+ export {};
13
+ //# sourceMappingURL=ActionMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionMenu.d.ts","sourceRoot":"","sources":["../../src/components/ActionMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,IAAI,gBAAgB,EAAE,KAAK,UAAU,EAAC,MAAM,eAAe,CAAA;AAC7E,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAErC,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,OAAO,CAAA;AAEzC,KAAK,sBAAsB,GAAG,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,GAAG,MAAM,CAAA;AAEtF,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,GAAG,UAMtE,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,OAAO,gBAAgB,GAAG;IACjD,MAAM,EAAE,OAAO,gBAAgB,CAAC,MAAM,CAAA;IACtC,MAAM,EAAE,OAAO,gBAAgB,CAAC,MAAM,CAAA;IACtC,OAAO,EAAE,OAAO,iBAAiB,CAAA;IACjC,OAAO,EAAE,OAAO,gBAAgB,CAAC,OAAO,CAAA;CAMxC,CAAA"}
@@ -0,0 +1,17 @@
1
+ import type React from 'react';
2
+ import { type CSSProperties, type PropsWithChildren, type JSX } from 'react';
3
+ import type * as styledSystem from 'styled-system';
4
+ import 'focus-visible';
5
+ export interface SystemCommonProps extends styledSystem.ColorProps, styledSystem.SpaceProps, styledSystem.DisplayProps {
6
+ }
7
+ export interface SystemTypographyProps extends styledSystem.TypographyProps {
8
+ whiteSpace?: 'normal' | 'nowrap' | 'pre' | 'pre-wrap' | 'pre-line';
9
+ }
10
+ export type BaseStylesProps = PropsWithChildren & {
11
+ as?: React.ComponentType<any> | keyof JSX.IntrinsicElements;
12
+ className?: string;
13
+ style?: CSSProperties;
14
+ color?: string;
15
+ } & SystemTypographyProps & SystemCommonProps;
16
+ export declare function BaseStyles({ children, color, fontFamily, lineHeight, className, as: Component, style, ...rest }: BaseStylesProps): JSX.Element;
17
+ //# sourceMappingURL=BaseStyles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseStyles.d.ts","sourceRoot":"","sources":["../../src/components/BaseStyles.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAC,KAAK,aAAa,EAAE,KAAK,iBAAiB,EAAE,KAAK,GAAG,EAAC,MAAM,OAAO,CAAA;AAG1E,OAAO,KAAK,KAAK,YAAY,MAAM,eAAe,CAAA;AAGlD,OAAO,eAAe,CAAA;AAGtB,MAAM,WAAW,iBACf,SAAQ,YAAY,CAAC,UAAU,EAC7B,YAAY,CAAC,UAAU,EACvB,YAAY,CAAC,YAAY;CAAG;AAEhC,MAAM,WAAW,qBAAsB,SAAQ,YAAY,CAAC,eAAe;IACzE,UAAU,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,KAAK,GAAG,UAAU,GAAG,UAAU,CAAA;CACnE;AAqFD,MAAM,MAAM,eAAe,GAAG,iBAAiB,GAAG;IAEhD,EAAE,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,MAAM,GAAG,CAAC,iBAAiB,CAAA;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,GAAG,qBAAqB,GACvB,iBAAiB,CAAA;AAEnB,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,KAAK,EACL,UAAU,EACV,UAAU,EACV,SAAS,EACT,EAAE,EAAE,SAAiB,EACrB,KAAK,EACL,GAAG,IAAI,EACR,EAAE,eAAe,eA+BjB"}
@@ -1,6 +1,6 @@
1
- import { clsx } from '../../../../node_modules/clsx/dist/clsx.js';
1
+ import { clsx } from 'clsx';
2
2
  import { useTheme } from './ThemeProvider.js';
3
- import '../../../../_virtual/focus-visible.js';
3
+ import 'focus-visible';
4
4
  import { createGlobalStyle } from 'styled-components';
5
5
  import { jsxs, jsx } from 'react/jsx-runtime';
6
6
 
@@ -0,0 +1,19 @@
1
+ import type { BackgroundProps, BorderProps, ColorProps, FlexboxProps, GridProps, LayoutProps, PositionProps, ShadowProps, SpaceProps, TypographyProps } from 'styled-system';
2
+ import type { SxProp } from '../sx';
3
+ type ComponentProps<T> = T extends React.ComponentType<React.PropsWithChildren<infer Props>> ? (Props extends object ? Props : never) : never;
4
+ type StyledBoxProps = SxProp & SpaceProps & ColorProps & TypographyProps & LayoutProps & FlexboxProps & GridProps & BackgroundProps & BorderProps & PositionProps & ShadowProps;
5
+ /**
6
+ * @deprecated The Box component is deprecated. Replace with a `div` or
7
+ * appropriate HTML element instead, with CSS modules for styling.
8
+ * @see https://github.com/primer/react/blob/main/contributor-docs/migration-from-box.md
9
+ */
10
+ declare const Box: import("styled-components").StyledComponent<"div", any, StyledBoxProps, never>;
11
+ /**
12
+ * @deprecated The Box component is deprecated. Replace with a `div` or
13
+ * appropriate HTML element instead, with CSS modules for styling.
14
+ * @see https://github.com/primer/react/blob/main/contributor-docs/migration-from-box.md
15
+ */
16
+ export type BoxProps = ComponentProps<typeof Box>;
17
+ export default Box;
18
+ export { Box };
19
+ //# sourceMappingURL=Box.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../src/components/Box.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,eAAe,EACf,WAAW,EACX,UAAU,EACV,YAAY,EACZ,SAAS,EACT,WAAW,EACX,aAAa,EACb,WAAW,EACX,UAAU,EACV,eAAe,EAChB,MAAM,eAAe,CAAA;AAEtB,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,OAAO,CAAA;AAGjC,KAAK,cAAc,CAAC,CAAC,IACnB,CAAC,SAAS,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,iBAAiB,CAAC,MAAM,KAAK,CAAC,CAAC,GAAG,CAAC,KAAK,SAAS,MAAM,GAAG,KAAK,GAAG,KAAK,CAAC,GAAG,KAAK,CAAA;AAEtH,KAAK,cAAc,GAAG,MAAM,GAC1B,UAAU,GACV,UAAU,GACV,eAAe,GACf,WAAW,GACX,YAAY,GACZ,SAAS,GACT,eAAe,GACf,WAAW,GACX,aAAa,GACb,WAAW,CAAA;AAEb;;;;GAIG;AACH,QAAA,MAAM,GAAG,gFAYR,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,CAAA;AACjD,eAAe,GAAG,CAAA;AAClB,OAAO,EAAC,GAAG,EAAC,CAAA"}
@@ -0,0 +1,18 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,12 @@
1
+ import { type ButtonProps as PrimerButtonProps, type SlotMarker } from '@primer/react';
2
+ import type { SxProp, BetterSystemStyleObject } from '../sx';
3
+ import type { ForwardRefComponent } from '../polymorphic';
4
+ type ButtonComponentProps = PrimerButtonProps & SxProp & {
5
+ as?: React.ElementType;
6
+ };
7
+ declare const ButtonComponent: ForwardRefComponent<"button", ButtonComponentProps> & SlotMarker;
8
+ export declare function generateCustomSxProp(props: Partial<Pick<PrimerButtonProps, 'size' | 'block' | 'leadingVisual' | 'trailingVisual' | 'trailingAction'>>, providedSx: BetterSystemStyleObject): {
9
+ [key: string]: BetterSystemStyleObject;
10
+ };
11
+ export { ButtonComponent, type ButtonComponentProps };
12
+ //# sourceMappingURL=Button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/components/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,WAAW,IAAI,iBAAiB,EAAE,KAAK,UAAU,EAAC,MAAM,eAAe,CAAA;AAC5G,OAAO,KAAK,EAAC,MAAM,EAAuB,uBAAuB,EAAC,MAAM,OAAO,CAAA;AAE/E,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AAIvD,KAAK,oBAAoB,GAAG,iBAAiB,GAAG,MAAM,GAAG;IAAC,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CAAC,CAAA;AAQjF,QAAA,MAAM,eAAe,EAgBf,mBAAmB,CAAC,QAAQ,EAAE,oBAAoB,CAAC,GAAG,UAAU,CAAA;AA0CtE,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,MAAM,GAAG,OAAO,GAAG,eAAe,GAAG,gBAAgB,GAAG,gBAAgB,CAAC,CAAC,EACjH,UAAU,EAAE,uBAAuB;;EAmBpC;AAKD,OAAO,EAAC,eAAe,EAAE,KAAK,oBAAoB,EAAC,CAAA"}
@@ -0,0 +1,8 @@
1
+ declare const _default: {
2
+ title: string;
3
+ component: import("../polymorphic").ForwardRefComponent<"button", import("./Button").ButtonComponentProps> & import("@primer/react").SlotMarker;
4
+ };
5
+ export default _default;
6
+ export declare const WithColor: () => import("react").JSX.Element;
7
+ export declare const WithFontSize: () => import("react").JSX.Element;
8
+ //# sourceMappingURL=Button.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../src/components/Button.stories.tsx"],"names":[],"mappings":";;;;AAEA,wBAGC;AAED,eAAO,MAAM,SAAS,mCAAgE,CAAA;AAEtF,eAAO,MAAM,YAAY,mCAA0D,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { type CounterLabelProps as PrimerCounterLabelProps } from '@primer/react';
2
+ import { type SxProp } from '../sx';
3
+ export type CounterLabelProps = PrimerCounterLabelProps & SxProp;
4
+ export declare const CounterLabel: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLSpanElement> & {
5
+ scheme?: "primary" | "secondary";
6
+ variant?: "primary" | "secondary";
7
+ className?: string;
8
+ } & {
9
+ children?: import("react").ReactNode | undefined;
10
+ } & SxProp & import("react").RefAttributes<HTMLSpanElement>>;
11
+ //# sourceMappingURL=CounterLabel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CounterLabel.d.ts","sourceRoot":"","sources":["../../src/components/CounterLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqC,KAAK,iBAAiB,IAAI,uBAAuB,EAAC,MAAM,eAAe,CAAA;AAGnH,OAAO,EAAC,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAEjC,MAAM,MAAM,iBAAiB,GAAG,uBAAuB,GAAG,MAAM,CAAA;AAEhE,eAAO,MAAM,YAAY;;;;;;4DAEvB,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { Table as PrimerDataTable, type TableContainerProps } from '@primer/react/experimental';
2
+ import { type SxProp } from '../sx';
3
+ import type 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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../src/components/DataTable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,IAAI,eAAe,EAAE,KAAK,mBAAmB,EAAC,MAAM,4BAA4B,CAAA;AAC7F,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAErC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,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;AAED,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"}
@@ -0,0 +1,30 @@
1
+ import type { DialogProps as PrimerDialogProps } from '@primer/react';
2
+ import type { SxProp } from '../sx';
3
+ import { type PropsWithChildren } from 'react';
4
+ type DialogProps = PropsWithChildren<PrimerDialogProps> & SxProp & {
5
+ as?: React.ElementType;
6
+ };
7
+ type StyledBodyProps = React.ComponentProps<'div'> & SxProp & {
8
+ as?: React.ElementType;
9
+ };
10
+ type StyledFooterProps = React.ComponentProps<'div'> & SxProp & {
11
+ as?: React.ElementType;
12
+ };
13
+ declare const Dialog: import("react").ForwardRefExoticComponent<PrimerDialogProps & {
14
+ children?: import("react").ReactNode | undefined;
15
+ } & SxProp & {
16
+ as?: React.ElementType;
17
+ } & import("react").RefAttributes<HTMLDivElement>> & {
18
+ __SLOT__: symbol;
19
+ Buttons: import("react").FC<PropsWithChildren<{
20
+ buttons: import("@primer/react").DialogButtonProps[];
21
+ }>>;
22
+ Header: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & SxProp & {
23
+ as?: React.ElementType;
24
+ } & import("react").RefAttributes<HTMLDivElement>>;
25
+ Body: import("react").ForwardRefExoticComponent<Omit<StyledBodyProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
26
+ Footer: import("react").ForwardRefExoticComponent<Omit<StyledFooterProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
27
+ };
28
+ export { Dialog };
29
+ export type { DialogProps };
30
+ //# sourceMappingURL=Dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../src/components/Dialog.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,WAAW,IAAI,iBAAiB,EAAa,MAAM,eAAe,CAAA;AAC/E,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,OAAO,CAAA;AAGjC,OAAO,EAA4C,KAAK,iBAAiB,EAAC,MAAM,OAAO,CAAA;AAEvF,KAAK,WAAW,GAAG,iBAAiB,CAAC,iBAAiB,CAAC,GAAG,MAAM,GAAG;IAAC,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CAAC,CAAA;AAwB3F,KAAK,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,MAAM,GAAG;IAAC,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CAAC,CAAA;AAYtF,KAAK,iBAAiB,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,MAAM,GAAG;IAAC,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CAAC,CAAA;AAgBxF,QAAA,MAAM,MAAM;;;SApD6D,KAAK,CAAC,WAAW;;;;;;;aAYhB,KAAK,CAAC,WAAW;;;;CA8CzF,CAAA;AAEF,OAAO,EAAC,MAAM,EAAC,CAAA;AACf,YAAY,EAAC,WAAW,EAAC,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { type FlashProps as PrimerFlashProps } from '@primer/react';
2
+ import { type SxProp } from '../sx';
3
+ import type { ForwardRefComponent } from '../polymorphic';
4
+ type FlashProps = PrimerFlashProps & SxProp;
5
+ declare const Flash: ForwardRefComponent<'div', FlashProps>;
6
+ export { Flash };
7
+ export type { FlashProps };
8
+ //# sourceMappingURL=Flash.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Flash.d.ts","sourceRoot":"","sources":["../../src/components/Flash.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,UAAU,IAAI,gBAAgB,EAAuB,MAAM,eAAe,CAAA;AAEvF,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AACrC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AAEvD,KAAK,UAAU,GAAG,gBAAgB,GAAG,MAAM,CAAA;AAE3C,QAAA,MAAM,KAAK,EAAE,mBAAmB,CAAC,KAAK,EAAE,UAAU,CAIjD,CAAA;AAED,OAAO,EAAC,KAAK,EAAC,CAAA;AACd,YAAY,EAAC,UAAU,EAAC,CAAA"}
@@ -0,0 +1,13 @@
1
+ import { FormControl as PrimerFormControl, type FormControlProps as PrimerFormControlProps } from '@primer/react';
2
+ import { type PropsWithChildren } from 'react';
3
+ import { type SxProp } from '../sx';
4
+ type FormControlProps = PropsWithChildren<PrimerFormControlProps> & SxProp;
5
+ declare const FormControlImpl: React.ComponentType<FormControlProps>;
6
+ declare const FormControl: typeof FormControlImpl & {
7
+ Caption: typeof PrimerFormControl.Caption;
8
+ LeadingVisual: typeof PrimerFormControl.LeadingVisual;
9
+ Validation: typeof PrimerFormControl.Validation;
10
+ Label: typeof PrimerFormControl.Label;
11
+ };
12
+ export { FormControl, type FormControlProps };
13
+ //# sourceMappingURL=FormControl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormControl.d.ts","sourceRoot":"","sources":["../../src/components/FormControl.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,IAAI,iBAAiB,EAAE,KAAK,gBAAgB,IAAI,sBAAsB,EAAC,MAAM,eAAe,CAAA;AAC/G,OAAO,EAAC,KAAK,iBAAiB,EAAC,MAAM,OAAO,CAAA;AAE5C,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAErC,KAAK,gBAAgB,GAAG,iBAAiB,CAAC,sBAAsB,CAAC,GAAG,MAAM,CAAA;AAE1E,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAI1D,CAAA;AAED,QAAA,MAAM,WAAW,EAMX,OAAO,eAAe,GAAG;IAC7B,OAAO,EAAE,OAAO,iBAAiB,CAAC,OAAO,CAAA;IACzC,aAAa,EAAE,OAAO,iBAAiB,CAAC,aAAa,CAAA;IACrD,UAAU,EAAE,OAAO,iBAAiB,CAAC,UAAU,CAAA;IAC/C,KAAK,EAAE,OAAO,iBAAiB,CAAC,KAAK,CAAA;CACtC,CAAA;AAED,OAAO,EAAC,WAAW,EAAE,KAAK,gBAAgB,EAAC,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { type HeaderProps as PrimerHeaderProps, type HeaderItemProps as PrimerHeaderItemProps, type HeaderLinkProps as PrimerHeaderLinkProps } from '@primer/react';
2
+ import type { ForwardRefComponent } from '../polymorphic';
3
+ import type { SxProp } from '../sx';
4
+ type HeaderProps = PrimerHeaderProps & SxProp;
5
+ type HeaderItemProps = PrimerHeaderItemProps & SxProp;
6
+ declare const Header: ForwardRefComponent<"header", HeaderProps> & {
7
+ Item: import("react").ForwardRefExoticComponent<Omit<HeaderItemProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
8
+ Link: import("react").ForwardRefExoticComponent<Omit<PrimerHeaderLinkProps, "ref"> & import("react").RefAttributes<HTMLAnchorElement>>;
9
+ };
10
+ export { Header, type HeaderProps };
11
+ //# sourceMappingURL=Header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../src/components/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,WAAW,IAAI,iBAAiB,EACrC,KAAK,eAAe,IAAI,qBAAqB,EAC7C,KAAK,eAAe,IAAI,qBAAqB,EAG9C,MAAM,eAAe,CAAA;AAGtB,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AACvD,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,OAAO,CAAA;AAEjC,KAAK,WAAW,GAAG,iBAAiB,GAAG,MAAM,CAAA;AAU7C,KAAK,eAAe,GAAG,qBAAqB,GAAG,MAAM,CAAA;AAcrD,QAAA,MAAM,MAAM;;;CAGV,CAAA;AAEF,OAAO,EAAC,MAAM,EAAE,KAAK,WAAW,EAAC,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { type HeadingProps as PrimerHeadingProps } from '@primer/react';
2
+ import type { ForwardRefComponent } from '../polymorphic';
3
+ import { type SxProp } from '../sx';
4
+ type HeadingLevels = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
5
+ type HeadingProps = PrimerHeadingProps & SxProp;
6
+ declare const Heading: ForwardRefComponent<HeadingLevels, HeadingProps>;
7
+ export { Heading, type HeadingProps };
8
+ //# sourceMappingURL=Heading.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../src/components/Heading.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,KAAK,YAAY,IAAI,kBAAkB,EAAC,MAAM,eAAe,CAAA;AACrE,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AACvD,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAGrC,KAAK,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAE5D,KAAK,YAAY,GAAG,kBAAkB,GAAG,MAAM,CAAA;AAE/C,QAAA,MAAM,OAAO,EAAE,mBAAmB,CAAC,aAAa,EAAE,YAAY,CAI7D,CAAA;AAED,OAAO,EAAC,OAAO,EAAE,KAAK,YAAY,EAAC,CAAA"}
@@ -0,0 +1,10 @@
1
+ import { type IconButtonProps as PrimerIconButtonProps, type SlotMarker } from '@primer/react';
2
+ import { type ForwardRefComponent } from '../polymorphic';
3
+ import { type SxProp } from '../sx';
4
+ type IconButtonProps = PrimerIconButtonProps & SxProp & {
5
+ as?: React.ElementType;
6
+ };
7
+ declare const IconButton: ForwardRefComponent<"a" | "button", IconButtonProps> & SlotMarker;
8
+ export { IconButton };
9
+ export type { IconButtonProps };
10
+ //# sourceMappingURL=IconButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../src/components/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,eAAe,IAAI,qBAAqB,EAC7C,KAAK,UAAU,EAChB,MAAM,eAAe,CAAA;AACtB,OAAO,EAAC,KAAK,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AAIvD,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAErC,KAAK,eAAe,GAAG,qBAAqB,GAAG,MAAM,GAAG;IAAC,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CAAC,CAAA;AAQhF,QAAA,MAAM,UAAU,EAUV,mBAAmB,CAAC,GAAG,GAAG,QAAQ,EAAE,eAAe,CAAC,GAAG,UAAU,CAAA;AAIvE,OAAO,EAAC,UAAU,EAAC,CAAA;AACnB,YAAY,EAAC,eAAe,EAAC,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { type LabelProps as PrimerLabelProps } from '@primer/react';
2
+ import { type SxProp } from '../sx';
3
+ import type { ForwardRefComponent } from '../polymorphic';
4
+ type LabelProps = PrimerLabelProps & SxProp & {
5
+ as?: React.ElementType;
6
+ };
7
+ declare const Label: ForwardRefComponent<"span", LabelProps>;
8
+ export { Label, type LabelProps };
9
+ //# sourceMappingURL=Label.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../src/components/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,UAAU,IAAI,gBAAgB,EAAuB,MAAM,eAAe,CAAA;AACvF,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAErC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AAGvD,KAAK,UAAU,GAAG,gBAAgB,GAAG,MAAM,GAAG;IAAC,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CAAC,CAAA;AAQtE,QAAA,MAAM,KAAK,EAEL,mBAAmB,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;AAE7C,OAAO,EAAC,KAAK,EAAE,KAAK,UAAU,EAAC,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { type LinkProps as PrimerLinkProps } from '@primer/react';
2
+ import { type SxProp } from '../sx';
3
+ import type { ForwardRefComponent } from '../polymorphic';
4
+ type LinkProps = PrimerLinkProps & SxProp;
5
+ declare const Link: ForwardRefComponent<"a", LinkProps>;
6
+ export { Link, type LinkProps };
7
+ //# sourceMappingURL=Link.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../src/components/Link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,SAAS,IAAI,eAAe,EAAC,MAAM,eAAe,CAAA;AAEnF,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AACrC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AAGvD,KAAK,SAAS,GAAG,eAAe,GAAG,MAAM,CAAA;AAQzC,QAAA,MAAM,IAAI,EAEJ,mBAAmB,CAAC,GAAG,EAAE,SAAS,CAAC,CAAA;AAEzC,OAAO,EAAC,IAAI,EAAE,KAAK,SAAS,EAAC,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { type LinkButtonProps as PrimerLinkButtonProps } from '@primer/react';
2
+ import { type ForwardRefComponent } from '../polymorphic';
3
+ import { type SxProp } from '../sx';
4
+ type LinkButtonProps = PrimerLinkButtonProps & SxProp;
5
+ declare const LinkButton: ForwardRefComponent<'a', LinkButtonProps>;
6
+ export { LinkButton };
7
+ export type { LinkButtonProps };
8
+ //# sourceMappingURL=LinkButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LinkButton.d.ts","sourceRoot":"","sources":["../../src/components/LinkButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiC,KAAK,eAAe,IAAI,qBAAqB,EAAC,MAAM,eAAe,CAAA;AAE3G,OAAO,EAAC,KAAK,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AACvD,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAErC,KAAK,eAAe,GAAG,qBAAqB,GAAG,MAAM,CAAA;AAErD,QAAA,MAAM,UAAU,EAAE,mBAAmB,CAAC,GAAG,EAAE,eAAe,CAIzD,CAAA;AAED,OAAO,EAAC,UAAU,EAAC,CAAA;AACnB,YAAY,EAAC,eAAe,EAAC,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { type OverlayProps as PrimerOverlayProps } from '@primer/react';
2
+ import { type ForwardRefComponent } from '../polymorphic';
3
+ import { type SxProp } from '../sx';
4
+ type OverlayProps = PrimerOverlayProps & SxProp;
5
+ declare const Overlay: ForwardRefComponent<'div', OverlayProps>;
6
+ export { Overlay };
7
+ export type { OverlayProps };
8
+ //# sourceMappingURL=Overlay.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Overlay.d.ts","sourceRoot":"","sources":["../../src/components/Overlay.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,YAAY,IAAI,kBAAkB,EAAC,MAAM,eAAe,CAAA;AAE/F,OAAO,EAAC,KAAK,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AACvD,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAErC,KAAK,YAAY,GAAG,kBAAkB,GAAG,MAAM,CAAA;AAE/C,QAAA,MAAM,OAAO,EAAE,mBAAmB,CAAC,KAAK,EAAE,YAAY,CAIrD,CAAA;AAED,OAAO,EAAC,OAAO,EAAC,CAAA;AAChB,YAAY,EAAC,YAAY,EAAC,CAAA"}
@@ -0,0 +1,31 @@
1
+ import { PageHeader as PrimerPageHeader, type PageHeaderProps as PrimerPageHeaderProps, type PageHeaderTitleProps as PrimerPageHeaderTitleProps, type PageHeaderActionsProps as PrimerPageHeaderActionsProps, type PageHeaderTitleAreaProps as PrimerPageHeaderTitleAreaProps } from '@primer/react';
2
+ import { type SxProp } from '../sx';
3
+ import type { ForwardRefComponent } from '../polymorphic';
4
+ import type { PropsWithChildren } from 'react';
5
+ import React from 'react';
6
+ type PageHeaderProps = PrimerPageHeaderProps & SxProp;
7
+ type PageHeaderActionsProps = PrimerPageHeaderActionsProps & SxProp;
8
+ declare function PageHeaderActions({ sx, ...rest }: PageHeaderActionsProps): React.JSX.Element;
9
+ type PageHeaderTitleProps = PropsWithChildren<PrimerPageHeaderTitleProps> & SxProp;
10
+ declare const PageHeaderTitle: ({ as, ...props }: PageHeaderTitleProps) => React.JSX.Element;
11
+ type PageHeaderTitleAreaProps = PropsWithChildren<PrimerPageHeaderTitleAreaProps> & SxProp;
12
+ declare const PageHeaderTitleArea: ForwardRefComponent<'div', PageHeaderTitleAreaProps>;
13
+ type PageHeaderComponentType = ForwardRefComponent<'div', PageHeaderProps> & {
14
+ Actions: typeof PageHeaderActions;
15
+ ContextArea: typeof PrimerPageHeader.ContextArea;
16
+ ParentLink: typeof PrimerPageHeader.ParentLink;
17
+ ContextBar: typeof PrimerPageHeader.ContextBar;
18
+ TitleArea: typeof PageHeaderTitleArea;
19
+ ContextAreaActions: typeof PrimerPageHeader.ContextAreaActions;
20
+ LeadingAction: typeof PrimerPageHeader.LeadingAction;
21
+ Breadcrumbs: typeof PrimerPageHeader.Breadcrumbs;
22
+ LeadingVisual: typeof PrimerPageHeader.LeadingVisual;
23
+ Title: typeof PageHeaderTitle;
24
+ TrailingVisual: typeof PrimerPageHeader.TrailingVisual;
25
+ Description: typeof PrimerPageHeader.Description;
26
+ TrailingAction: typeof PrimerPageHeader.TrailingAction;
27
+ };
28
+ declare const PageHeader: PageHeaderComponentType;
29
+ export { PageHeader };
30
+ export type { PageHeaderProps, PageHeaderActionsProps, PageHeaderTitleProps };
31
+ //# sourceMappingURL=PageHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../src/components/PageHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,IAAI,gBAAgB,EAC9B,KAAK,eAAe,IAAI,qBAAqB,EAC7C,KAAK,oBAAoB,IAAI,0BAA0B,EACvD,KAAK,sBAAsB,IAAI,4BAA4B,EAC3D,KAAK,wBAAwB,IAAI,8BAA8B,EAChE,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAK,KAAK,MAAM,EAA2B,MAAM,OAAO,CAAA;AAC/D,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AAEvD,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,OAAO,CAAA;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,KAAK,eAAe,GAAG,qBAAqB,GAAG,MAAM,CAAA;AAcrD,KAAK,sBAAsB,GAAG,4BAA4B,GAAG,MAAM,CAAA;AAEnE,iBAAS,iBAAiB,CAAC,EAAC,EAAE,EAAE,GAAG,IAAI,EAAC,EAAE,sBAAsB,qBAY/D;AAED,KAAK,oBAAoB,GAAG,iBAAiB,CAAC,0BAA0B,CAAC,GAAG,MAAM,CAAA;AAwBlF,QAAA,MAAM,eAAe,GAAI,kBAAgB,oBAAoB,sBAE5D,CAAA;AAED,KAAK,wBAAwB,GAAG,iBAAiB,CAAC,8BAA8B,CAAC,GAAG,MAAM,CAAA;AAE1F,QAAA,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,CAM7E,CAAA;AAED,KAAK,uBAAuB,GAAG,mBAAmB,CAAC,KAAK,EAAE,eAAe,CAAC,GAAG;IAC3E,OAAO,EAAE,OAAO,iBAAiB,CAAA;IACjC,WAAW,EAAE,OAAO,gBAAgB,CAAC,WAAW,CAAA;IAChD,UAAU,EAAE,OAAO,gBAAgB,CAAC,UAAU,CAAA;IAC9C,UAAU,EAAE,OAAO,gBAAgB,CAAC,UAAU,CAAA;IAC9C,SAAS,EAAE,OAAO,mBAAmB,CAAA;IACrC,kBAAkB,EAAE,OAAO,gBAAgB,CAAC,kBAAkB,CAAA;IAC9D,aAAa,EAAE,OAAO,gBAAgB,CAAC,aAAa,CAAA;IACpD,WAAW,EAAE,OAAO,gBAAgB,CAAC,WAAW,CAAA;IAChD,aAAa,EAAE,OAAO,gBAAgB,CAAC,aAAa,CAAA;IACpD,KAAK,EAAE,OAAO,eAAe,CAAA;IAC7B,cAAc,EAAE,OAAO,gBAAgB,CAAC,cAAc,CAAA;IACtD,WAAW,EAAE,OAAO,gBAAgB,CAAC,WAAW,CAAA;IAChD,cAAc,EAAE,OAAO,gBAAgB,CAAC,cAAc,CAAA;CACvD,CAAA;AAED,QAAA,MAAM,UAAU,EAAE,uBAchB,CAAA;AAEF,OAAO,EAAC,UAAU,EAAC,CAAA;AACnB,YAAY,EAAC,eAAe,EAAE,sBAAsB,EAAE,oBAAoB,EAAC,CAAA"}
@@ -0,0 +1,19 @@
1
+ import { type SegmentedControlProps as PrimerSegmentedControlProps, type SegmentedControlButtonProps as PrimerSegmentedControlButtonProps, type SegmentedControlIconButtonProps as PrimerSegmentedControlIconButtonProps } from '@primer/react';
2
+ import type { PropsWithChildren } from 'react';
3
+ import type { SxProp } from '../sx';
4
+ type SegmentedControlProps = PropsWithChildren<PrimerSegmentedControlProps> & SxProp;
5
+ type SegmentedControlButtonProps = PropsWithChildren<PrimerSegmentedControlButtonProps> & SxProp;
6
+ type SegmentedControlIconButtonProps = PropsWithChildren<PrimerSegmentedControlIconButtonProps> & SxProp;
7
+ declare const SegmentedControl: ((props: SegmentedControlProps) => import("react").JSX.Element) & {
8
+ __SLOT__: symbol;
9
+ Button: {
10
+ (props: SegmentedControlButtonProps): import("react").JSX.Element;
11
+ __SLOT__: symbol | undefined;
12
+ };
13
+ IconButton: {
14
+ (props: SegmentedControlIconButtonProps): import("react").JSX.Element;
15
+ __SLOT__: symbol | undefined;
16
+ };
17
+ };
18
+ export { SegmentedControl, type SegmentedControlProps, type SegmentedControlButtonProps, type SegmentedControlIconButtonProps, };
19
+ //# sourceMappingURL=SegmentedControl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../src/components/SegmentedControl.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,qBAAqB,IAAI,2BAA2B,EAEzD,KAAK,2BAA2B,IAAI,iCAAiC,EACrE,KAAK,+BAA+B,IAAI,qCAAqC,EAC9E,MAAM,eAAe,CAAA;AACtB,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,OAAO,CAAA;AAC5C,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,OAAO,CAAA;AAGjC,KAAK,qBAAqB,GAAG,iBAAiB,CAAC,2BAA2B,CAAC,GAAG,MAAM,CAAA;AACpF,KAAK,2BAA2B,GAAG,iBAAiB,CAAC,iCAAiC,CAAC,GAAG,MAAM,CAAA;AAChG,KAAK,+BAA+B,GAAG,iBAAiB,CAAC,qCAAqC,CAAC,GAAG,MAAM,CAAA;AAcxG,QAAA,MAAM,gBAAgB,WAJe,qBAAqB;;;gBARnB,2BAA2B;;;;gBAIvB,+BAA+B;;;CAYxE,CAAA;AAKF,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EAChC,KAAK,+BAA+B,GACrC,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { Spinner as PrimerSpinner, type SpinnerProps as PrimerSpinnerProps } from '@primer/react';
2
+ import { type SxProp } from '../sx';
3
+ export type SpinnerProps = PrimerSpinnerProps & SxProp;
4
+ export declare const Spinner: import("styled-components").StyledComponent<typeof PrimerSpinner, any, SpinnerProps, never>;
5
+ //# sourceMappingURL=Spinner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../src/components/Spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,aAAa,EAAE,KAAK,YAAY,IAAI,kBAAkB,EAAC,MAAM,eAAe,CAAA;AAC/F,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAGrC,MAAM,MAAM,YAAY,GAAG,kBAAkB,GAAG,MAAM,CAAA;AAEtD,eAAO,MAAM,OAAO,6FAInB,CAAA"}
@@ -0,0 +1,15 @@
1
+ import { type TextProps as PrimerTextProps } from '@primer/react';
2
+ import { type SxProp } from '../sx';
3
+ import type React from 'react';
4
+ import type { ForwardRefComponent } from '../polymorphic';
5
+ type BaseTextProps = {
6
+ size?: 'large' | 'medium' | 'small';
7
+ weight?: 'light' | 'normal' | 'medium' | 'semibold';
8
+ className?: string;
9
+ children?: React.ReactNode;
10
+ as?: React.ElementType;
11
+ } & SxProp & React.HTMLAttributes<HTMLElement>;
12
+ type TextProps<As extends React.ElementType = 'span'> = PrimerTextProps<As> & SxProp;
13
+ declare const Text: ForwardRefComponent<"span", BaseTextProps>;
14
+ export { Text, type TextProps };
15
+ //# sourceMappingURL=Text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../src/components/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,SAAS,IAAI,eAAe,EAAC,MAAM,eAAe,CAAA;AACnF,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AAErC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AAGvD,KAAK,aAAa,GAAG;IACnB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnC,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,UAAU,CAAA;IACnD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CACvB,GAAG,MAAM,GACR,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;AAGnC,KAAK,SAAS,CAAC,EAAE,SAAS,KAAK,CAAC,WAAW,GAAG,MAAM,IAAI,eAAe,CAAC,EAAE,CAAC,GAAG,MAAM,CAAA;AAQpF,QAAA,MAAM,IAAI,EAEJ,mBAAmB,CAAC,MAAM,EAAE,aAAa,CAAC,CAAA;AAEhD,OAAO,EAAC,IAAI,EAAE,KAAK,SAAS,EAAC,CAAA"}
@@ -0,0 +1,15 @@
1
+ import { type TextInputProps as PrimerTextInputProps, type TextInputActionProps as PrimerTextInputActionProps } from '@primer/react';
2
+ import { type ForwardRefExoticComponent, type RefAttributes } from 'react';
3
+ import { type SxProp } from '../sx';
4
+ import { type ForwardRefComponent } from '../polymorphic';
5
+ export type TextInputProps = PrimerTextInputProps & SxProp & {
6
+ as?: React.ElementType;
7
+ };
8
+ export type TextInputActionProps = PrimerTextInputActionProps & SxProp;
9
+ declare const TextInputAction: ForwardRefComponent<'button', TextInputActionProps>;
10
+ type TextInputComposite = ForwardRefExoticComponent<TextInputProps & RefAttributes<HTMLInputElement>> & {
11
+ Action: typeof TextInputAction;
12
+ };
13
+ export declare const TextInput: TextInputComposite;
14
+ export {};
15
+ //# sourceMappingURL=TextInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../src/components/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,cAAc,IAAI,oBAAoB,EAC3C,KAAK,oBAAoB,IAAI,0BAA0B,EACxD,MAAM,eAAe,CAAA;AACtB,OAAO,EAAa,KAAK,yBAAyB,EAAE,KAAK,aAAa,EAAC,MAAM,OAAO,CAAA;AACpF,OAAO,EAAK,KAAK,MAAM,EAAC,MAAM,OAAO,CAAA;AACrC,OAAO,EAAC,KAAK,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AAGvD,MAAM,MAAM,cAAc,GAAG,oBAAoB,GAAG,MAAM,GAAG;IAAC,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CAAC,CAAA;AACrF,MAAM,MAAM,oBAAoB,GAAG,0BAA0B,GAAG,MAAM,CAAA;AAYtE,QAAA,MAAM,eAAe,EAAE,mBAAmB,CAAC,QAAQ,EAAE,oBAAoB,CAIxE,CAAA;AAED,KAAK,kBAAkB,GAAG,yBAAyB,CAAC,cAAc,GAAG,aAAa,CAAC,gBAAgB,CAAC,CAAC,GAAG;IACtG,MAAM,EAAE,OAAO,eAAe,CAAA;CAC/B,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,kBAGtB,CAAA"}
@@ -0,0 +1,30 @@
1
+ import React from 'react';
2
+ export declare const defaultColorMode = "day";
3
+ export type Theme = {
4
+ [key: string]: any;
5
+ };
6
+ type ColorMode = 'day' | 'night' | 'light' | 'dark';
7
+ export type ColorModeWithAuto = ColorMode | 'auto';
8
+ export type ThemeProviderProps = {
9
+ theme?: Theme;
10
+ colorMode?: ColorModeWithAuto;
11
+ dayScheme?: string;
12
+ nightScheme?: string;
13
+ preventSSRMismatch?: boolean;
14
+ };
15
+ export declare const ThemeProvider: React.FC<React.PropsWithChildren<ThemeProviderProps>>;
16
+ export declare function useTheme(): {
17
+ theme?: Theme;
18
+ colorScheme?: string;
19
+ colorMode?: ColorModeWithAuto;
20
+ resolvedColorMode?: ColorMode;
21
+ resolvedColorScheme?: string;
22
+ dayScheme?: string;
23
+ nightScheme?: string;
24
+ setColorMode: React.Dispatch<React.SetStateAction<ColorModeWithAuto>>;
25
+ setDayScheme: React.Dispatch<React.SetStateAction<string>>;
26
+ setNightScheme: React.Dispatch<React.SetStateAction<string>>;
27
+ };
28
+ export declare function useColorSchemeVar(values: Partial<Record<string, string>>, fallback: string): string;
29
+ export default ThemeProvider;
30
+ //# sourceMappingURL=ThemeProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../src/components/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,eAAO,MAAM,gBAAgB,QAAQ,CAAA;AAKrC,MAAM,MAAM,KAAK,GAAG;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,CAAA;AACxC,KAAK,SAAS,GAAG,KAAK,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,CAAA;AACnD,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,MAAM,CAAA;AAElD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,SAAS,CAAC,EAAE,iBAAiB,CAAA;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC7B,CAAA;AA8BD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,CAkF/E,CAAA;AAED,wBAAgB,QAAQ;YA/Gd,KAAK;kBACC,MAAM;gBACR,iBAAiB;wBACT,SAAS;0BACP,MAAM;gBAChB,MAAM;kBACJ,MAAM;kBACN,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC;kBACvD,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;oBAC1C,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;EAwG7D;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,UAG1F;AAqGD,eAAe,aAAa,CAAA"}
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import ReactDOM from 'react-dom';
3
3
  import { ThemeProvider as ThemeProvider$1 } from 'styled-components';
4
4
  import { theme, useId, useSyncedState } from '@primer/react';
5
- import deepmerge from '../../../../_virtual/cjs.js';
5
+ import deepmerge from 'deepmerge';
6
6
  import { jsx, jsxs } from 'react/jsx-runtime';
7
7
 
8
8
  const defaultColorMode = 'day';
@@ -0,0 +1,26 @@
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
@@ -0,0 +1 @@
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"}