@obolnetwork/obol-ui 1.0.35 → 1.0.37

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 (31) hide show
  1. package/dist/components/atoms/Box/Box.d.ts +1 -0
  2. package/dist/components/atoms/Button/Button.d.ts +1 -0
  3. package/dist/components/atoms/Checkbox/Checkbox.d.ts +1 -0
  4. package/dist/components/atoms/Container/Container.d.ts +2 -0
  5. package/dist/components/atoms/Dialog/Dialog.d.ts +6 -0
  6. package/dist/components/atoms/IconButton/IconButton.d.ts +1 -0
  7. package/dist/components/atoms/Image/Image.d.ts +1 -0
  8. package/dist/components/atoms/Link/Link.d.ts +1 -0
  9. package/dist/components/atoms/Spin/Spin.d.ts +2 -1
  10. package/dist/components/atoms/SvgIcon/SvgIcon.d.ts +2 -1
  11. package/dist/components/atoms/Switch/Switch.d.ts +965 -0
  12. package/dist/components/atoms/Tabs/Tabs.d.ts +4 -0
  13. package/dist/components/atoms/Text/Text.d.ts +4 -3
  14. package/dist/components/atoms/TextField/TextField.d.ts +2 -0
  15. package/dist/components/atoms/Toggle/Toggle.d.ts +2 -0
  16. package/dist/components/atoms/index.d.ts +1 -0
  17. package/dist/components/icons/GlowIconBox.d.ts +1 -0
  18. package/dist/components/icons/Planet.d.ts +1 -0
  19. package/dist/components/molecules/Accordion/Accordion.d.ts +2 -0
  20. package/dist/components/molecules/AdvisoryToggle/AdvisoryToggle.d.ts +2 -0
  21. package/dist/components/molecules/Card/Card.d.ts +2 -0
  22. package/dist/components/molecules/NotificationCard/NotificationCard.d.ts +2 -0
  23. package/dist/components/molecules/RadioGroup/RadioGroup.d.ts +3 -0
  24. package/dist/components/molecules/Table/Table.d.ts +1 -0
  25. package/dist/components/organisms/Advisory/Advisory.d.ts +2 -0
  26. package/dist/components/utils/color-variants.d.ts +1 -0
  27. package/dist/components/utils/styles.d.ts +1 -0
  28. package/dist/index.es.js +47 -9
  29. package/dist/index.js +50 -8
  30. package/dist/stitches.config.d.ts +10 -0
  31. package/package.json +2 -1
@@ -60,6 +60,7 @@ export declare const Tabs: import("@stitches/react/types/styled-component").Styl
60
60
  obolDisabled: string;
61
61
  linkButtonHover: string;
62
62
  progressTrackerGreen: string;
63
+ lightGrey: string;
63
64
  coordinate: string;
64
65
  coordinateHover: string;
65
66
  test: string;
@@ -540,6 +541,7 @@ export declare const TabsList: import("@stitches/react/types/styled-component").
540
541
  obolDisabled: string;
541
542
  linkButtonHover: string;
542
543
  progressTrackerGreen: string;
544
+ lightGrey: string;
543
545
  coordinate: string;
544
546
  coordinateHover: string;
545
547
  test: string;
@@ -1020,6 +1022,7 @@ export declare const TabsTrigger: import("@stitches/react/types/styled-component
1020
1022
  obolDisabled: string;
1021
1023
  linkButtonHover: string;
1022
1024
  progressTrackerGreen: string;
1025
+ lightGrey: string;
1023
1026
  coordinate: string;
1024
1027
  coordinateHover: string;
1025
1028
  test: string;
@@ -1500,6 +1503,7 @@ export declare const TabsContent: import("@stitches/react/types/styled-component
1500
1503
  obolDisabled: string;
1501
1504
  linkButtonHover: string;
1502
1505
  progressTrackerGreen: string;
1506
+ lightGrey: string;
1503
1507
  coordinate: string;
1504
1508
  coordinateHover: string;
1505
1509
  test: string;
@@ -3,7 +3,7 @@ import type * as Stitches from "@stitches/react";
3
3
  export declare const Text: import("@stitches/react/types/styled-component").StyledComponent<"span", {
4
4
  variant?: "body" | "pill" | "h1" | "h2" | "h3" | "h4" | "h5" | "metadata" | "subline" | "ens" | undefined;
5
5
  size?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | undefined;
6
- color?: "white" | "black" | "lightBackground" | "obolBlue" | "primaryBgDefault" | "primaryBgDefaultHover" | "primaryTextDefault" | "secondaryBgDefault" | "secondaryBgHover" | "grayBgDefault" | "gray2BgDefault" | "neutralDark" | "navButtonBgDefault" | "navButtonBgHover" | "cardBackgroundDark" | "cardBackgroundLight" | "textMiddle" | "textLight" | "textLighter" | "textTabHover" | "textTabInactive" | "textGreenDark" | "textGreenLight" | "textGreen1" | "textGreen2" | "textGreen3" | "textGreenHover" | "textCreateHover" | "textGrayHover" | "txButton" | "obolGreen" | "obolMidGreen" | "obolGreenHover" | "obolGreenLight" | "obolDarkDark" | "obolDisabled" | "linkButtonHover" | "progressTrackerGreen" | "coordinate" | "coordinateHover" | "test" | "testHover" | "create" | "createHover" | "light" | "body" | "muted" | "menu" | "bg01" | "bg02" | "bg03" | "bg04" | "bg05" | "tooltip" | "tooltip2" | undefined;
6
+ color?: "white" | "black" | "lightBackground" | "obolBlue" | "primaryBgDefault" | "primaryBgDefaultHover" | "primaryTextDefault" | "secondaryBgDefault" | "secondaryBgHover" | "grayBgDefault" | "gray2BgDefault" | "neutralDark" | "navButtonBgDefault" | "navButtonBgHover" | "cardBackgroundDark" | "cardBackgroundLight" | "textMiddle" | "textLight" | "textLighter" | "textTabHover" | "textTabInactive" | "textGreenDark" | "textGreenLight" | "textGreen1" | "textGreen2" | "textGreen3" | "textGreenHover" | "textCreateHover" | "textGrayHover" | "txButton" | "obolGreen" | "obolMidGreen" | "obolGreenHover" | "obolGreenLight" | "obolDarkDark" | "obolDisabled" | "linkButtonHover" | "progressTrackerGreen" | "lightGrey" | "coordinate" | "coordinateHover" | "test" | "testHover" | "create" | "createHover" | "light" | "body" | "muted" | "menu" | "bg01" | "bg02" | "bg03" | "bg04" | "bg05" | "tooltip" | "tooltip2" | undefined;
7
7
  glow?: boolean | "true" | undefined;
8
8
  inline?: boolean | "true" | undefined;
9
9
  }, {
@@ -66,6 +66,7 @@ export declare const Text: import("@stitches/react/types/styled-component").Styl
66
66
  obolDisabled: string;
67
67
  linkButtonHover: string;
68
68
  progressTrackerGreen: string;
69
+ lightGrey: string;
69
70
  coordinate: string;
70
71
  coordinateHover: string;
71
72
  test: string;
@@ -490,7 +491,7 @@ export default Text;
490
491
  export declare const TextStory: (props: Omit<import("@stitches/react/types/styled-component").TransformProps<{
491
492
  variant?: "body" | "pill" | "h1" | "h2" | "h3" | "h4" | "h5" | "metadata" | "subline" | "ens" | undefined;
492
493
  size?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | undefined;
493
- color?: "white" | "black" | "lightBackground" | "obolBlue" | "primaryBgDefault" | "primaryBgDefaultHover" | "primaryTextDefault" | "secondaryBgDefault" | "secondaryBgHover" | "grayBgDefault" | "gray2BgDefault" | "neutralDark" | "navButtonBgDefault" | "navButtonBgHover" | "cardBackgroundDark" | "cardBackgroundLight" | "textMiddle" | "textLight" | "textLighter" | "textTabHover" | "textTabInactive" | "textGreenDark" | "textGreenLight" | "textGreen1" | "textGreen2" | "textGreen3" | "textGreenHover" | "textCreateHover" | "textGrayHover" | "txButton" | "obolGreen" | "obolMidGreen" | "obolGreenHover" | "obolGreenLight" | "obolDarkDark" | "obolDisabled" | "linkButtonHover" | "progressTrackerGreen" | "coordinate" | "coordinateHover" | "test" | "testHover" | "create" | "createHover" | "light" | "body" | "muted" | "menu" | "bg01" | "bg02" | "bg03" | "bg04" | "bg05" | "tooltip" | "tooltip2" | undefined;
494
+ color?: "white" | "black" | "lightBackground" | "obolBlue" | "primaryBgDefault" | "primaryBgDefaultHover" | "primaryTextDefault" | "secondaryBgDefault" | "secondaryBgHover" | "grayBgDefault" | "gray2BgDefault" | "neutralDark" | "navButtonBgDefault" | "navButtonBgHover" | "cardBackgroundDark" | "cardBackgroundLight" | "textMiddle" | "textLight" | "textLighter" | "textTabHover" | "textTabInactive" | "textGreenDark" | "textGreenLight" | "textGreen1" | "textGreen2" | "textGreen3" | "textGreenHover" | "textCreateHover" | "textGrayHover" | "txButton" | "obolGreen" | "obolMidGreen" | "obolGreenHover" | "obolGreenLight" | "obolDarkDark" | "obolDisabled" | "linkButtonHover" | "progressTrackerGreen" | "lightGrey" | "coordinate" | "coordinateHover" | "test" | "testHover" | "create" | "createHover" | "light" | "body" | "muted" | "menu" | "bg01" | "bg02" | "bg03" | "bg04" | "bg05" | "tooltip" | "tooltip2" | undefined;
494
495
  glow?: boolean | "true" | undefined;
495
496
  inline?: boolean | "true" | undefined;
496
497
  }, {
@@ -506,7 +507,7 @@ export declare const TextStory: (props: Omit<import("@stitches/react/types/style
506
507
  }>, "color" | "size" | "inline" | "variant" | "glow"> & {
507
508
  variant?: "body" | "pill" | "h1" | "h2" | "h3" | "h4" | "h5" | "metadata" | "subline" | "ens" | undefined;
508
509
  size?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | undefined;
509
- color?: "white" | "black" | "lightBackground" | "obolBlue" | "primaryBgDefault" | "primaryBgDefaultHover" | "primaryTextDefault" | "secondaryBgDefault" | "secondaryBgHover" | "grayBgDefault" | "gray2BgDefault" | "neutralDark" | "navButtonBgDefault" | "navButtonBgHover" | "cardBackgroundDark" | "cardBackgroundLight" | "textMiddle" | "textLight" | "textLighter" | "textTabHover" | "textTabInactive" | "textGreenDark" | "textGreenLight" | "textGreen1" | "textGreen2" | "textGreen3" | "textGreenHover" | "textCreateHover" | "textGrayHover" | "txButton" | "obolGreen" | "obolMidGreen" | "obolGreenHover" | "obolGreenLight" | "obolDarkDark" | "obolDisabled" | "linkButtonHover" | "progressTrackerGreen" | "coordinate" | "coordinateHover" | "test" | "testHover" | "create" | "createHover" | "light" | "body" | "muted" | "menu" | "bg01" | "bg02" | "bg03" | "bg04" | "bg05" | "tooltip" | "tooltip2" | undefined;
510
+ color?: "white" | "black" | "lightBackground" | "obolBlue" | "primaryBgDefault" | "primaryBgDefaultHover" | "primaryTextDefault" | "secondaryBgDefault" | "secondaryBgHover" | "grayBgDefault" | "gray2BgDefault" | "neutralDark" | "navButtonBgDefault" | "navButtonBgHover" | "cardBackgroundDark" | "cardBackgroundLight" | "textMiddle" | "textLight" | "textLighter" | "textTabHover" | "textTabInactive" | "textGreenDark" | "textGreenLight" | "textGreen1" | "textGreen2" | "textGreen3" | "textGreenHover" | "textCreateHover" | "textGrayHover" | "txButton" | "obolGreen" | "obolMidGreen" | "obolGreenHover" | "obolGreenLight" | "obolDarkDark" | "obolDisabled" | "linkButtonHover" | "progressTrackerGreen" | "lightGrey" | "coordinate" | "coordinateHover" | "test" | "testHover" | "create" | "createHover" | "light" | "body" | "muted" | "menu" | "bg01" | "bg02" | "bg03" | "bg04" | "bg05" | "tooltip" | "tooltip2" | undefined;
510
511
  glow?: boolean | undefined;
511
512
  inline?: boolean | undefined;
512
513
  } & {
@@ -62,6 +62,7 @@ export declare const TextField: import("@stitches/react/types/styled-component")
62
62
  obolDisabled: string;
63
63
  linkButtonHover: string;
64
64
  progressTrackerGreen: string;
65
+ lightGrey: string;
65
66
  coordinate: string;
66
67
  coordinateHover: string;
67
68
  test: string;
@@ -547,6 +548,7 @@ export declare const TextFieldWithCopy: import("react").ForwardRefExoticComponen
547
548
  obolDisabled: string;
548
549
  linkButtonHover: string;
549
550
  progressTrackerGreen: string;
551
+ lightGrey: string;
550
552
  coordinate: string;
551
553
  coordinateHover: string;
552
554
  test: string;
@@ -60,6 +60,7 @@ export declare const ToggleGroup: import("@stitches/react/types/styled-component
60
60
  obolDisabled: string;
61
61
  linkButtonHover: string;
62
62
  progressTrackerGreen: string;
63
+ lightGrey: string;
63
64
  coordinate: string;
64
65
  coordinateHover: string;
65
66
  test: string;
@@ -540,6 +541,7 @@ export declare const ToggleGroupItem: import("@stitches/react/types/styled-compo
540
541
  obolDisabled: string;
541
542
  linkButtonHover: string;
542
543
  progressTrackerGreen: string;
544
+ lightGrey: string;
543
545
  coordinate: string;
544
546
  coordinateHover: string;
545
547
  test: string;
@@ -16,4 +16,5 @@ export * from "./NumberField/NumberField";
16
16
  export * from './Tooltip/Tooltip';
17
17
  export * from './LoadingButton/LoadingButton';
18
18
  export * from './Checkbox/Checkbox';
19
+ export * from './Switch/Switch';
19
20
  export * from './Dialog/Dialog';
@@ -60,6 +60,7 @@ export declare const GlowIconBox: import("@stitches/react/types/styled-component
60
60
  obolDisabled: string;
61
61
  linkButtonHover: string;
62
62
  progressTrackerGreen: string;
63
+ lightGrey: string;
63
64
  coordinate: string;
64
65
  coordinateHover: string;
65
66
  test: string;
@@ -62,6 +62,7 @@ declare const SvgIconPlanet: import("@stitches/react/types/styled-component").St
62
62
  obolDisabled: string;
63
63
  linkButtonHover: string;
64
64
  progressTrackerGreen: string;
65
+ lightGrey: string;
65
66
  coordinate: string;
66
67
  coordinateHover: string;
67
68
  test: string;
@@ -60,6 +60,7 @@ export declare const Root: import("@stitches/react/types/styled-component").Styl
60
60
  obolDisabled: string;
61
61
  linkButtonHover: string;
62
62
  progressTrackerGreen: string;
63
+ lightGrey: string;
63
64
  coordinate: string;
64
65
  coordinateHover: string;
65
66
  test: string;
@@ -540,6 +541,7 @@ export declare const Item: import("@stitches/react/types/styled-component").Styl
540
541
  obolDisabled: string;
541
542
  linkButtonHover: string;
542
543
  progressTrackerGreen: string;
544
+ lightGrey: string;
543
545
  coordinate: string;
544
546
  coordinateHover: string;
545
547
  test: string;
@@ -65,6 +65,7 @@ export declare const AdvisoryToggleItem: import("@stitches/react/types/styled-co
65
65
  obolDisabled: string;
66
66
  linkButtonHover: string;
67
67
  progressTrackerGreen: string;
68
+ lightGrey: string;
68
69
  coordinate: string;
69
70
  coordinateHover: string;
70
71
  test: string;
@@ -544,6 +545,7 @@ export declare const AdvisoryToggleItem: import("@stitches/react/types/styled-co
544
545
  obolDisabled: string;
545
546
  linkButtonHover: string;
546
547
  progressTrackerGreen: string;
548
+ lightGrey: string;
547
549
  coordinate: string;
548
550
  coordinateHover: string;
549
551
  test: string;
@@ -75,6 +75,7 @@ export declare const ToggleCardItem: import("@stitches/react/types/styled-compon
75
75
  obolDisabled: string;
76
76
  linkButtonHover: string;
77
77
  progressTrackerGreen: string;
78
+ lightGrey: string;
78
79
  coordinate: string;
79
80
  coordinateHover: string;
80
81
  test: string;
@@ -554,6 +555,7 @@ export declare const ToggleCardItem: import("@stitches/react/types/styled-compon
554
555
  obolDisabled: string;
555
556
  linkButtonHover: string;
556
557
  progressTrackerGreen: string;
558
+ lightGrey: string;
557
559
  coordinate: string;
558
560
  coordinateHover: string;
559
561
  test: string;
@@ -59,6 +59,7 @@ export declare const NotificationContainer: import("@stitches/react/types/styled
59
59
  obolDisabled: string;
60
60
  linkButtonHover: string;
61
61
  progressTrackerGreen: string;
62
+ lightGrey: string;
62
63
  coordinate: string;
63
64
  coordinateHover: string;
64
65
  test: string;
@@ -538,6 +539,7 @@ export declare const NotificationContainer: import("@stitches/react/types/styled
538
539
  obolDisabled: string;
539
540
  linkButtonHover: string;
540
541
  progressTrackerGreen: string;
542
+ lightGrey: string;
541
543
  coordinate: string;
542
544
  coordinateHover: string;
543
545
  test: string;
@@ -61,6 +61,7 @@ export declare const RadioGroupRadio: import("@stitches/react/types/styled-compo
61
61
  obolDisabled: string;
62
62
  linkButtonHover: string;
63
63
  progressTrackerGreen: string;
64
+ lightGrey: string;
64
65
  coordinate: string;
65
66
  coordinateHover: string;
66
67
  test: string;
@@ -541,6 +542,7 @@ export declare const RadioGroupIndicator: import("@stitches/react/types/styled-c
541
542
  obolDisabled: string;
542
543
  linkButtonHover: string;
543
544
  progressTrackerGreen: string;
545
+ lightGrey: string;
544
546
  coordinate: string;
545
547
  coordinateHover: string;
546
548
  test: string;
@@ -1021,6 +1023,7 @@ export declare const RadioGroupItemLabel: import("@stitches/react/types/styled-c
1021
1023
  obolDisabled: string;
1022
1024
  linkButtonHover: string;
1023
1025
  progressTrackerGreen: string;
1026
+ lightGrey: string;
1024
1027
  coordinate: string;
1025
1028
  coordinateHover: string;
1026
1029
  test: string;
@@ -29,6 +29,7 @@ export interface SplitterTableProps extends TableProps {
29
29
  onRemoveRow?(item: string | number): void;
30
30
  onUpdateRow?(id: string, value: string | number, accessorKey: unknown): void;
31
31
  totalSplitFooter?: number;
32
+ addText?: string;
32
33
  }
33
34
  export declare const SplitterTable: React.FC<SplitterTableProps>;
34
35
  export declare const Table: React.FC<TableProps>;
@@ -77,6 +77,7 @@ export declare const Flex: import("@stitches/react/types/styled-component").Styl
77
77
  obolDisabled: string;
78
78
  linkButtonHover: string;
79
79
  progressTrackerGreen: string;
80
+ lightGrey: string;
80
81
  coordinate: string;
81
82
  coordinateHover: string;
82
83
  test: string;
@@ -556,6 +557,7 @@ export declare const Flex: import("@stitches/react/types/styled-component").Styl
556
557
  obolDisabled: string;
557
558
  linkButtonHover: string;
558
559
  progressTrackerGreen: string;
560
+ lightGrey: string;
559
561
  coordinate: string;
560
562
  coordinateHover: string;
561
563
  test: string;
@@ -37,6 +37,7 @@ declare const COLORS: {
37
37
  obolDisabled: import("@stitches/react/types/theme").Token<"obolDisabled", string, "colors", "">;
38
38
  linkButtonHover: import("@stitches/react/types/theme").Token<"linkButtonHover", string, "colors", "">;
39
39
  progressTrackerGreen: import("@stitches/react/types/theme").Token<"progressTrackerGreen", string, "colors", "">;
40
+ lightGrey: import("@stitches/react/types/theme").Token<"lightGrey", string, "colors", "">;
40
41
  coordinate: import("@stitches/react/types/theme").Token<"coordinate", string, "colors", "">;
41
42
  coordinateHover: import("@stitches/react/types/theme").Token<"coordinateHover", string, "colors", "">;
42
43
  test: import("@stitches/react/types/theme").Token<"test", string, "colors", "">;
@@ -58,6 +58,7 @@ export declare const GlowIcon: import("@stitches/react/types/styled-component").
58
58
  obolDisabled: string;
59
59
  linkButtonHover: string;
60
60
  progressTrackerGreen: string;
61
+ lightGrey: string;
61
62
  coordinate: string;
62
63
  coordinateHover: string;
63
64
  test: string;
package/dist/index.es.js CHANGED
@@ -5,6 +5,7 @@ import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
5
5
  import React, { useState, forwardRef, useRef, useImperativeHandle, useEffect, useLayoutEffect } from 'react';
6
6
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
7
7
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
8
+ import * as ReactSwitch from '@radix-ui/react-switch';
8
9
  import { Cross2Icon } from '@radix-ui/react-icons';
9
10
  import * as DialogPrimitive from '@radix-ui/react-dialog';
10
11
  import * as AccordionPrimitive from '@radix-ui/react-accordion';
@@ -119,6 +120,7 @@ var styled = (_a = createStitches({
119
120
  obolDisabled: "#1A292D",
120
121
  linkButtonHover: "#A0F3D9",
121
122
  progressTrackerGreen: "#1D5249",
123
+ lightGrey: "#C4C4C4",
122
124
  //secondary
123
125
  coordinate: "#9167E4",
124
126
  coordinateHover: "#BB99FF",
@@ -1522,6 +1524,34 @@ var Checkbox = function (_a) {
1522
1524
  return (jsx(CheckboxRoot, __assign({}, props, { children: jsx(CheckboxIndicator, { children: jsx(CheckboxIcon, {}) }) })));
1523
1525
  };
1524
1526
 
1527
+ var SwitchRoot = styled(ReactSwitch.Root, {
1528
+ width: "78px",
1529
+ height: "40px",
1530
+ border: "0",
1531
+ backgroundColor: "$lightGrey",
1532
+ borderRadius: "40px",
1533
+ padding: "0",
1534
+ "&[data-state='checked']": {
1535
+ backgroundColor: "$obolGreen",
1536
+ }
1537
+ });
1538
+ var SwitchThumb = styled(ReactSwitch.Thumb, {
1539
+ display: "block",
1540
+ width: "30px",
1541
+ height: "30px",
1542
+ backgroundColor: "white",
1543
+ borderRadius: "40px",
1544
+ transition: "transform 100ms",
1545
+ transform: "translateX(4px)",
1546
+ "&[data-state='checked']": {
1547
+ transform: "translateX(40px)",
1548
+ }
1549
+ });
1550
+ var Switch = function (_a) {
1551
+ var props = __rest(_a, []);
1552
+ return (jsx(SwitchRoot, __assign({}, props, { children: jsx(SwitchThumb, {}) })));
1553
+ };
1554
+
1525
1555
  var overlayShow = keyframes({
1526
1556
  "0%": { opacity: 0 },
1527
1557
  "100%": { opacity: 1 },
@@ -2033,10 +2063,10 @@ var Td = styled("td", {
2033
2063
  borderRadius: 0,
2034
2064
  width: "100%",
2035
2065
  },
2036
- textOverflow: 'ellipsis',
2066
+ textOverflow: "ellipsis",
2037
2067
  maxWidth: 0,
2038
- whiteSpace: 'nowrap',
2039
- overflow: 'hidden',
2068
+ whiteSpace: "nowrap",
2069
+ overflow: "hidden",
2040
2070
  variants: {
2041
2071
  splitter: {
2042
2072
  true: {
@@ -2059,6 +2089,7 @@ var Td = styled("td", {
2059
2089
  });
2060
2090
  var Th = styled("th", {
2061
2091
  border: "2px solid $bg04",
2092
+ minWidth: "20px",
2062
2093
  py: "$sm",
2063
2094
  px: "$sm",
2064
2095
  textAlign: "center",
@@ -2081,8 +2112,12 @@ var BoxBorderTop = styled(Box, {
2081
2112
  px: "$sm",
2082
2113
  });
2083
2114
  var AddNewRow = function (_a) {
2084
- var onAddRow = _a.onAddRow, totalSplitFooter = _a.totalSplitFooter;
2085
- return (jsxs(Tr, { children: [jsx(Td, __assign({ splitter: true }, { children: jsx(BoxBorderTop, {}) })), jsx(Td, __assign({ splitter: true, css: { backgroundColor: "$bg03" } }, { children: jsx(BoxBorderTop, { children: onAddRow && (jsx(Button, __assign({ type: "button", css: {
2115
+ var onAddRow = _a.onAddRow, totalSplitFooter = _a.totalSplitFooter, _b = _a.addText, addText = _b === void 0 ? "+ Add Recipient" : _b;
2116
+ return (jsxs(Tr, { children: [jsx(Td, __assign({ splitter: true }, { children: jsx(BoxBorderTop, {}) })), jsx(Td, __assign({ splitter: true, css: { backgroundColor: "$bg03" } }, { children: jsx(BoxBorderTop, __assign({ css: {
2117
+ "@xs": {
2118
+ px: "$2",
2119
+ },
2120
+ } }, { children: onAddRow && (jsxs(Button, __assign({ type: "button", css: {
2086
2121
  color: "$obolGreen",
2087
2122
  justifyContent: "start",
2088
2123
  borderRadius: 0,
@@ -2092,13 +2127,16 @@ var AddNewRow = function (_a) {
2092
2127
  "&:disabled": {
2093
2128
  borderColor: "transparent",
2094
2129
  },
2130
+ "@xs": {
2131
+ px: "$1",
2132
+ },
2095
2133
  }, fullWidth: true, ghost: true, onClick: function (e) {
2096
2134
  e.preventDefault();
2097
2135
  onAddRow();
2098
- }, disabled: totalSplitFooter === 100 }, { children: "+ Add Signer" }))) }) })), jsx(Td, __assign({ splitter: true, css: { backgroundColor: "$bg03" } }, { children: jsx(BoxBorderTop, { children: jsx(Box, { children: totalSplitFooter && "".concat(totalSplitFooter, "%") }) }) }))] }));
2136
+ }, disabled: totalSplitFooter === 100 }, { children: [jsx(Box, __assign({ css: { display: "none", "@xs": { display: "inline-block" } } }, { children: "+ Recipient" })), " ", jsx(Box, __assign({ css: { "@xs": { display: "none" } } }, { children: addText }))] }))) })) })), jsx(Td, __assign({ splitter: true, css: { backgroundColor: "$bg03" } }, { children: jsx(BoxBorderTop, { children: jsx(Box, { children: totalSplitFooter && "".concat(totalSplitFooter, "%") }) }) }))] }));
2099
2137
  };
2100
2138
  var SplitterTable = function (_a) {
2101
- var rows = _a.rows, columns = _a.columns, onAddRow = _a.onAddRow, onRemoveRow = _a.onRemoveRow, onUpdateRow = _a.onUpdateRow, _b = _a.totalSplitFooter, totalSplitFooter = _b === void 0 ? 100 : _b;
2139
+ var rows = _a.rows, columns = _a.columns, onAddRow = _a.onAddRow, onRemoveRow = _a.onRemoveRow, onUpdateRow = _a.onUpdateRow, _b = _a.totalSplitFooter, totalSplitFooter = _b === void 0 ? 100 : _b, addText = _a.addText;
2102
2140
  return (jsxs(StyledTable, { children: [jsx("thead", { children: jsxs("tr", { children: [jsx(Th, {}), columns.map(function (_a, index) {
2103
2141
  var css = _a.css, column = __rest(_a, ["css"]);
2104
2142
  return (jsx(Th, __assign({ css: __assign({ textAlign: "start" }, css) }, { children: column.header }), "header-".concat(index)));
@@ -2150,7 +2188,7 @@ var SplitterTable = function (_a) {
2150
2188
  onUpdateRow(row.id, value, column.accessorKey);
2151
2189
  }, min: (_c = (_b = column.cell) === null || _b === void 0 ? void 0 : _b.config) === null || _c === void 0 ? void 0 : _c.min, max: (_e = (_d = column.cell) === null || _d === void 0 ? void 0 : _d.config) === null || _e === void 0 ? void 0 : _e.max, type: (_g = (_f = column.cell) === null || _f === void 0 ? void 0 : _f.config) === null || _g === void 0 ? void 0 : _g.type, readOnly: !isEditable })) }), "cell ".concat(cellIndex)));
2152
2190
  }), onRemoveRow && isRemovable && (jsx(Td, __assign({ splitter: true, size: "sm", css: { p: "$2" } }, { children: jsx(IconButton, __assign({ ghost: true, onClick: function () { return onRemoveRow(row.id); } }, { children: jsx(TrashIcon, {}) })) })))] }, row.id));
2153
- }), jsx(AddNewRow, { onAddRow: onAddRow, totalSplitFooter: totalSplitFooter })] })] }));
2191
+ }), jsx(AddNewRow, { onAddRow: onAddRow, totalSplitFooter: totalSplitFooter, addText: addText })] })] }));
2154
2192
  };
2155
2193
  var Table = function (_a) {
2156
2194
  var rows = _a.rows, columns = _a.columns;
@@ -2366,4 +2404,4 @@ var TwoColumnSection = function (_a) {
2366
2404
  } }, { children: !screenDownSm ? (jsx(Image, { src: image.basePath, width: "100%", height: "100%", alt: "Obol Logo" })) : (jsx(Image, { src: image.mobilePath || image.basePath, width: "100%", height: "100%", alt: "Obol Logo" })) }))] })));
2367
2405
  };
2368
2406
 
2369
- export { Accordion, Advisory, AdvisoryToggleBullet, AdvisoryToggleItem, AlertIcon, AloneIcon, ArrowForward, Box, BulletCheckIcon, Button, ButtonStory, Card, CheckIcon, Checkbox, CheckboxIcon, CheckboxIndicator, CheckboxRoot, ChevronDownIcon, ChevronUpIcon, CloseIcon, CodeIcon, Container, CopyIcon, CreateIcon, Dialog, DialogClose, DialogComponent, DialogContent, DialogDescription, DialogIconButton, DialogOverlay, DialogPortal, DialogStyledContent, DialogTitle, DialogTrigger, Download, ExistingGroupIcon, Flex, Footer, GithubIcon, GroupIcon, HelpIcon, HeroSection, Hexapod, HexapodMobile, IconButton, IconButtonStory, Image, Link, LinkStory, LoadingButton, LogoCard, MediaQueryKeys, MenuIcon, MigrateIcon, MinusIcon, Navbar, NotificationCard, NotificationContainer, NumberField, ObolDarkBgH, ObolDarkBgMark, ObolDarkBgV, ObolDarkCircle, ObolLightBgH, ObolLightBgMark, ObolLightBgV, ObolLightCircle, ObolSolidDarkBgH, ObolSolidDarkBgMark, ObolSolidDarkBgV, ObolSolidLightBgH, ObolSolidLightBgMark, ObolSolidLightBgV, OpenInNew, PlanetBlue, PlanetGreen, PlanetGrey, PlanetMagenta, PlanetOrange, PlusIcon, ProgressTracker, Provider, PublicGoodIcon, RadioGroup, RadioGroupComponent, RadioGroupIndicator, RadioGroupItem, RadioGroupItemLabel, RadioGroupRadio, RunIcon, Spin, SplitterTable, SvgIcon, Table, Tabs$1 as Tabs, TeamMemberCard, TestIcon, Text, TextField, TextFieldWithCopy, TextStory, ToggleCardItem, ToggleGroup, ToggleGroupItem, Tooltip, TooltipArrow, TooltipComponent, TooltipContent, TooltipTrigger, TrashIcon, TrustMinimisedIcon, TwitterIcon, TwoColumnSection, WaitingIcon, config, createTheme, css, getCssText, globalCss, keyframes, modifyVariantsForStory, reset, styled, theme, useMediaQuery };
2407
+ export { Accordion, Advisory, AdvisoryToggleBullet, AdvisoryToggleItem, AlertIcon, AloneIcon, ArrowForward, Box, BulletCheckIcon, Button, ButtonStory, Card, CheckIcon, Checkbox, CheckboxIcon, CheckboxIndicator, CheckboxRoot, ChevronDownIcon, ChevronUpIcon, CloseIcon, CodeIcon, Container, CopyIcon, CreateIcon, Dialog, DialogClose, DialogComponent, DialogContent, DialogDescription, DialogIconButton, DialogOverlay, DialogPortal, DialogStyledContent, DialogTitle, DialogTrigger, Download, ExistingGroupIcon, Flex, Footer, GithubIcon, GroupIcon, HelpIcon, HeroSection, Hexapod, HexapodMobile, IconButton, IconButtonStory, Image, Link, LinkStory, LoadingButton, LogoCard, MediaQueryKeys, MenuIcon, MigrateIcon, MinusIcon, Navbar, NotificationCard, NotificationContainer, NumberField, ObolDarkBgH, ObolDarkBgMark, ObolDarkBgV, ObolDarkCircle, ObolLightBgH, ObolLightBgMark, ObolLightBgV, ObolLightCircle, ObolSolidDarkBgH, ObolSolidDarkBgMark, ObolSolidDarkBgV, ObolSolidLightBgH, ObolSolidLightBgMark, ObolSolidLightBgV, OpenInNew, PlanetBlue, PlanetGreen, PlanetGrey, PlanetMagenta, PlanetOrange, PlusIcon, ProgressTracker, Provider, PublicGoodIcon, RadioGroup, RadioGroupComponent, RadioGroupIndicator, RadioGroupItem, RadioGroupItemLabel, RadioGroupRadio, RunIcon, Spin, SplitterTable, SvgIcon, Switch, SwitchRoot, SwitchThumb, Table, Tabs$1 as Tabs, TeamMemberCard, TestIcon, Text, TextField, TextFieldWithCopy, TextStory, ToggleCardItem, ToggleGroup, ToggleGroupItem, Tooltip, TooltipArrow, TooltipComponent, TooltipContent, TooltipTrigger, TrashIcon, TrustMinimisedIcon, TwitterIcon, TwoColumnSection, WaitingIcon, config, createTheme, css, getCssText, globalCss, keyframes, modifyVariantsForStory, reset, styled, theme, useMediaQuery };
package/dist/index.js CHANGED
@@ -9,6 +9,7 @@ var ToggleGroupPrimitive = require('@radix-ui/react-toggle-group');
9
9
  var React = require('react');
10
10
  var TooltipPrimitive = require('@radix-ui/react-tooltip');
11
11
  var CheckboxPrimitive = require('@radix-ui/react-checkbox');
12
+ var ReactSwitch = require('@radix-ui/react-switch');
12
13
  var reactIcons = require('@radix-ui/react-icons');
13
14
  var DialogPrimitive = require('@radix-ui/react-dialog');
14
15
  var AccordionPrimitive = require('@radix-ui/react-accordion');
@@ -40,6 +41,7 @@ var ToggleGroupPrimitive__namespace = /*#__PURE__*/_interopNamespace(ToggleGroup
40
41
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
41
42
  var TooltipPrimitive__namespace = /*#__PURE__*/_interopNamespace(TooltipPrimitive);
42
43
  var CheckboxPrimitive__namespace = /*#__PURE__*/_interopNamespace(CheckboxPrimitive);
44
+ var ReactSwitch__namespace = /*#__PURE__*/_interopNamespace(ReactSwitch);
43
45
  var DialogPrimitive__namespace = /*#__PURE__*/_interopNamespace(DialogPrimitive);
44
46
  var AccordionPrimitive__namespace = /*#__PURE__*/_interopNamespace(AccordionPrimitive);
45
47
  var RadioGroupPrimitive__namespace = /*#__PURE__*/_interopNamespace(RadioGroupPrimitive);
@@ -152,6 +154,7 @@ var styled = (_a = react.createStitches({
152
154
  obolDisabled: "#1A292D",
153
155
  linkButtonHover: "#A0F3D9",
154
156
  progressTrackerGreen: "#1D5249",
157
+ lightGrey: "#C4C4C4",
155
158
  //secondary
156
159
  coordinate: "#9167E4",
157
160
  coordinateHover: "#BB99FF",
@@ -1555,6 +1558,34 @@ var Checkbox = function (_a) {
1555
1558
  return (jsxRuntime.jsx(CheckboxRoot, __assign({}, props, { children: jsxRuntime.jsx(CheckboxIndicator, { children: jsxRuntime.jsx(CheckboxIcon, {}) }) })));
1556
1559
  };
1557
1560
 
1561
+ var SwitchRoot = styled(ReactSwitch__namespace.Root, {
1562
+ width: "78px",
1563
+ height: "40px",
1564
+ border: "0",
1565
+ backgroundColor: "$lightGrey",
1566
+ borderRadius: "40px",
1567
+ padding: "0",
1568
+ "&[data-state='checked']": {
1569
+ backgroundColor: "$obolGreen",
1570
+ }
1571
+ });
1572
+ var SwitchThumb = styled(ReactSwitch__namespace.Thumb, {
1573
+ display: "block",
1574
+ width: "30px",
1575
+ height: "30px",
1576
+ backgroundColor: "white",
1577
+ borderRadius: "40px",
1578
+ transition: "transform 100ms",
1579
+ transform: "translateX(4px)",
1580
+ "&[data-state='checked']": {
1581
+ transform: "translateX(40px)",
1582
+ }
1583
+ });
1584
+ var Switch = function (_a) {
1585
+ var props = __rest(_a, []);
1586
+ return (jsxRuntime.jsx(SwitchRoot, __assign({}, props, { children: jsxRuntime.jsx(SwitchThumb, {}) })));
1587
+ };
1588
+
1558
1589
  var overlayShow = keyframes({
1559
1590
  "0%": { opacity: 0 },
1560
1591
  "100%": { opacity: 1 },
@@ -2066,10 +2097,10 @@ var Td = styled("td", {
2066
2097
  borderRadius: 0,
2067
2098
  width: "100%",
2068
2099
  },
2069
- textOverflow: 'ellipsis',
2100
+ textOverflow: "ellipsis",
2070
2101
  maxWidth: 0,
2071
- whiteSpace: 'nowrap',
2072
- overflow: 'hidden',
2102
+ whiteSpace: "nowrap",
2103
+ overflow: "hidden",
2073
2104
  variants: {
2074
2105
  splitter: {
2075
2106
  true: {
@@ -2092,6 +2123,7 @@ var Td = styled("td", {
2092
2123
  });
2093
2124
  var Th = styled("th", {
2094
2125
  border: "2px solid $bg04",
2126
+ minWidth: "20px",
2095
2127
  py: "$sm",
2096
2128
  px: "$sm",
2097
2129
  textAlign: "center",
@@ -2114,8 +2146,12 @@ var BoxBorderTop = styled(Box, {
2114
2146
  px: "$sm",
2115
2147
  });
2116
2148
  var AddNewRow = function (_a) {
2117
- var onAddRow = _a.onAddRow, totalSplitFooter = _a.totalSplitFooter;
2118
- return (jsxRuntime.jsxs(Tr, { children: [jsxRuntime.jsx(Td, __assign({ splitter: true }, { children: jsxRuntime.jsx(BoxBorderTop, {}) })), jsxRuntime.jsx(Td, __assign({ splitter: true, css: { backgroundColor: "$bg03" } }, { children: jsxRuntime.jsx(BoxBorderTop, { children: onAddRow && (jsxRuntime.jsx(Button, __assign({ type: "button", css: {
2149
+ var onAddRow = _a.onAddRow, totalSplitFooter = _a.totalSplitFooter, _b = _a.addText, addText = _b === void 0 ? "+ Add Recipient" : _b;
2150
+ return (jsxRuntime.jsxs(Tr, { children: [jsxRuntime.jsx(Td, __assign({ splitter: true }, { children: jsxRuntime.jsx(BoxBorderTop, {}) })), jsxRuntime.jsx(Td, __assign({ splitter: true, css: { backgroundColor: "$bg03" } }, { children: jsxRuntime.jsx(BoxBorderTop, __assign({ css: {
2151
+ "@xs": {
2152
+ px: "$2",
2153
+ },
2154
+ } }, { children: onAddRow && (jsxRuntime.jsxs(Button, __assign({ type: "button", css: {
2119
2155
  color: "$obolGreen",
2120
2156
  justifyContent: "start",
2121
2157
  borderRadius: 0,
@@ -2125,13 +2161,16 @@ var AddNewRow = function (_a) {
2125
2161
  "&:disabled": {
2126
2162
  borderColor: "transparent",
2127
2163
  },
2164
+ "@xs": {
2165
+ px: "$1",
2166
+ },
2128
2167
  }, fullWidth: true, ghost: true, onClick: function (e) {
2129
2168
  e.preventDefault();
2130
2169
  onAddRow();
2131
- }, disabled: totalSplitFooter === 100 }, { children: "+ Add Signer" }))) }) })), jsxRuntime.jsx(Td, __assign({ splitter: true, css: { backgroundColor: "$bg03" } }, { children: jsxRuntime.jsx(BoxBorderTop, { children: jsxRuntime.jsx(Box, { children: totalSplitFooter && "".concat(totalSplitFooter, "%") }) }) }))] }));
2170
+ }, disabled: totalSplitFooter === 100 }, { children: [jsxRuntime.jsx(Box, __assign({ css: { display: "none", "@xs": { display: "inline-block" } } }, { children: "+ Recipient" })), " ", jsxRuntime.jsx(Box, __assign({ css: { "@xs": { display: "none" } } }, { children: addText }))] }))) })) })), jsxRuntime.jsx(Td, __assign({ splitter: true, css: { backgroundColor: "$bg03" } }, { children: jsxRuntime.jsx(BoxBorderTop, { children: jsxRuntime.jsx(Box, { children: totalSplitFooter && "".concat(totalSplitFooter, "%") }) }) }))] }));
2132
2171
  };
2133
2172
  var SplitterTable = function (_a) {
2134
- var rows = _a.rows, columns = _a.columns, onAddRow = _a.onAddRow, onRemoveRow = _a.onRemoveRow, onUpdateRow = _a.onUpdateRow, _b = _a.totalSplitFooter, totalSplitFooter = _b === void 0 ? 100 : _b;
2173
+ var rows = _a.rows, columns = _a.columns, onAddRow = _a.onAddRow, onRemoveRow = _a.onRemoveRow, onUpdateRow = _a.onUpdateRow, _b = _a.totalSplitFooter, totalSplitFooter = _b === void 0 ? 100 : _b, addText = _a.addText;
2135
2174
  return (jsxRuntime.jsxs(StyledTable, { children: [jsxRuntime.jsx("thead", { children: jsxRuntime.jsxs("tr", { children: [jsxRuntime.jsx(Th, {}), columns.map(function (_a, index) {
2136
2175
  var css = _a.css, column = __rest(_a, ["css"]);
2137
2176
  return (jsxRuntime.jsx(Th, __assign({ css: __assign({ textAlign: "start" }, css) }, { children: column.header }), "header-".concat(index)));
@@ -2183,7 +2222,7 @@ var SplitterTable = function (_a) {
2183
2222
  onUpdateRow(row.id, value, column.accessorKey);
2184
2223
  }, min: (_c = (_b = column.cell) === null || _b === void 0 ? void 0 : _b.config) === null || _c === void 0 ? void 0 : _c.min, max: (_e = (_d = column.cell) === null || _d === void 0 ? void 0 : _d.config) === null || _e === void 0 ? void 0 : _e.max, type: (_g = (_f = column.cell) === null || _f === void 0 ? void 0 : _f.config) === null || _g === void 0 ? void 0 : _g.type, readOnly: !isEditable })) }), "cell ".concat(cellIndex)));
2185
2224
  }), onRemoveRow && isRemovable && (jsxRuntime.jsx(Td, __assign({ splitter: true, size: "sm", css: { p: "$2" } }, { children: jsxRuntime.jsx(IconButton, __assign({ ghost: true, onClick: function () { return onRemoveRow(row.id); } }, { children: jsxRuntime.jsx(TrashIcon, {}) })) })))] }, row.id));
2186
- }), jsxRuntime.jsx(AddNewRow, { onAddRow: onAddRow, totalSplitFooter: totalSplitFooter })] })] }));
2225
+ }), jsxRuntime.jsx(AddNewRow, { onAddRow: onAddRow, totalSplitFooter: totalSplitFooter, addText: addText })] })] }));
2187
2226
  };
2188
2227
  var Table = function (_a) {
2189
2228
  var rows = _a.rows, columns = _a.columns;
@@ -2493,6 +2532,9 @@ exports.RunIcon = RunIcon;
2493
2532
  exports.Spin = Spin;
2494
2533
  exports.SplitterTable = SplitterTable;
2495
2534
  exports.SvgIcon = SvgIcon;
2535
+ exports.Switch = Switch;
2536
+ exports.SwitchRoot = SwitchRoot;
2537
+ exports.SwitchThumb = SwitchThumb;
2496
2538
  exports.Table = Table;
2497
2539
  exports.Tabs = Tabs$1;
2498
2540
  exports.TeamMemberCard = TeamMemberCard;
@@ -60,6 +60,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
60
60
  obolDisabled: string;
61
61
  linkButtonHover: string;
62
62
  progressTrackerGreen: string;
63
+ lightGrey: string;
63
64
  coordinate: string;
64
65
  coordinateHover: string;
65
66
  test: string;
@@ -470,6 +471,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
470
471
  obolDisabled: string;
471
472
  linkButtonHover: string;
472
473
  progressTrackerGreen: string;
474
+ lightGrey: string;
473
475
  coordinate: string;
474
476
  coordinateHover: string;
475
477
  test: string;
@@ -861,6 +863,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
861
863
  obolDisabled: string;
862
864
  linkButtonHover: string;
863
865
  progressTrackerGreen: string;
866
+ lightGrey: string;
864
867
  coordinate: string;
865
868
  coordinateHover: string;
866
869
  test: string;
@@ -1277,6 +1280,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
1277
1280
  obolDisabled: string;
1278
1281
  linkButtonHover: string;
1279
1282
  progressTrackerGreen: string;
1283
+ lightGrey: string;
1280
1284
  coordinate: string;
1281
1285
  coordinateHover: string;
1282
1286
  test: string;
@@ -1667,6 +1671,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
1667
1671
  obolDisabled: string;
1668
1672
  linkButtonHover: string;
1669
1673
  progressTrackerGreen: string;
1674
+ lightGrey: string;
1670
1675
  coordinate: string;
1671
1676
  coordinateHover: string;
1672
1677
  test: string;
@@ -2057,6 +2062,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
2057
2062
  obolDisabled: string;
2058
2063
  linkButtonHover: string;
2059
2064
  progressTrackerGreen: string;
2065
+ lightGrey: string;
2060
2066
  coordinate: string;
2061
2067
  coordinateHover: string;
2062
2068
  test: string;
@@ -2443,6 +2449,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
2443
2449
  obolDisabled: import("@stitches/react/types/theme").Token<"obolDisabled", string, "colors", "">;
2444
2450
  linkButtonHover: import("@stitches/react/types/theme").Token<"linkButtonHover", string, "colors", "">;
2445
2451
  progressTrackerGreen: import("@stitches/react/types/theme").Token<"progressTrackerGreen", string, "colors", "">;
2452
+ lightGrey: import("@stitches/react/types/theme").Token<"lightGrey", string, "colors", "">;
2446
2453
  coordinate: import("@stitches/react/types/theme").Token<"coordinate", string, "colors", "">;
2447
2454
  coordinateHover: import("@stitches/react/types/theme").Token<"coordinateHover", string, "colors", "">;
2448
2455
  test: import("@stitches/react/types/theme").Token<"test", string, "colors", "">;
@@ -2594,6 +2601,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
2594
2601
  obolDisabled?: string | number | boolean | undefined;
2595
2602
  linkButtonHover?: string | number | boolean | undefined;
2596
2603
  progressTrackerGreen?: string | number | boolean | undefined;
2604
+ lightGrey?: string | number | boolean | undefined;
2597
2605
  coordinate?: string | number | boolean | undefined;
2598
2606
  coordinateHover?: string | number | boolean | undefined;
2599
2607
  test?: string | number | boolean | undefined;
@@ -2750,6 +2758,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
2750
2758
  obolDisabled?: string | number | boolean | undefined;
2751
2759
  linkButtonHover?: string | number | boolean | undefined;
2752
2760
  progressTrackerGreen?: string | number | boolean | undefined;
2761
+ lightGrey?: string | number | boolean | undefined;
2753
2762
  coordinate?: string | number | boolean | undefined;
2754
2763
  coordinateHover?: string | number | boolean | undefined;
2755
2764
  test?: string | number | boolean | undefined;
@@ -2922,6 +2931,7 @@ export declare const styled: <Type extends import("@stitches/react/types/util").
2922
2931
  obolDisabled: string;
2923
2932
  linkButtonHover: string;
2924
2933
  progressTrackerGreen: string;
2934
+ lightGrey: string;
2925
2935
  coordinate: string;
2926
2936
  coordinateHover: string;
2927
2937
  test: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@obolnetwork/obol-ui",
3
- "version": "1.0.35",
3
+ "version": "1.0.37",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.es.js",
6
6
  "license": "MIT",
@@ -24,6 +24,7 @@
24
24
  "@radix-ui/react-dialog": "^0.1.7",
25
25
  "@radix-ui/react-icons": "^1.1.1",
26
26
  "@radix-ui/react-radio-group": "^0.1.5",
27
+ "@radix-ui/react-switch": "^1.0.1",
27
28
  "@radix-ui/react-tabs": "^0.1.5",
28
29
  "@radix-ui/react-toggle-group": "^0.1.5",
29
30
  "@radix-ui/react-tooltip": "^0.1.7",