@gobolt/genesis 0.2.4 → 0.2.6
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.
- package/README.md +0 -1
- package/dist/_virtual/index5.cjs +1 -1
- package/dist/_virtual/index5.js +4 -4
- package/dist/_virtual/index6.cjs +1 -1
- package/dist/_virtual/index6.js +4 -4
- package/dist/components/Avatar/styles.cjs +1 -1
- package/dist/components/Avatar/styles.d.ts +12 -1
- package/dist/components/Avatar/styles.js +1 -1
- package/dist/components/Badge/styles.cjs +3 -3
- package/dist/components/Badge/styles.d.ts +8 -1
- package/dist/components/Badge/styles.js +1 -1
- package/dist/components/Breadcrumb/styles.cjs +10 -10
- package/dist/components/Breadcrumb/styles.d.ts +23 -2
- package/dist/components/Breadcrumb/styles.js +1 -1
- package/dist/components/Button/Button.d.ts +2 -1
- package/dist/components/Button/__stories__/Button.stories.d.ts +1 -0
- package/dist/components/Button/icon-button-styles.cjs +2 -2
- package/dist/components/Button/icon-button-styles.d.ts +12 -1
- package/dist/components/Button/icon-button-styles.js +1 -1
- package/dist/components/Button/styles.cjs +12 -12
- package/dist/components/Button/styles.d.ts +16 -1
- package/dist/components/Button/styles.js +9 -9
- package/dist/components/Card/__stories__/Card.stories.d.ts +2 -0
- package/dist/components/Card/styles.cjs +4 -4
- package/dist/components/Card/styles.d.ts +10 -1
- package/dist/components/Card/styles.js +1 -1
- package/dist/components/Checkbox/styles.cjs +2 -2
- package/dist/components/Checkbox/styles.d.ts +6 -1
- package/dist/components/Checkbox/styles.js +1 -1
- package/dist/components/Dashboard/styles.d.ts +8 -1
- package/dist/components/ErrorBoundary/styles.d.ts +8 -1
- package/dist/components/ErrorBoundaryFallback/styles.cjs +1 -1
- package/dist/components/ErrorBoundaryFallback/styles.d.ts +1 -1
- package/dist/components/ErrorBoundaryFallback/styles.js +1 -1
- package/dist/components/Form/styles.cjs +1 -1
- package/dist/components/Form/styles.js +1 -1
- package/dist/components/Glyph/styles.d.ts +8 -1
- package/dist/components/Input/Input.cjs +1 -1
- package/dist/components/Input/Input.js +20 -14
- package/dist/components/Input/styles.cjs +2 -2
- package/dist/components/Input/styles.d.ts +15 -1
- package/dist/components/Input/styles.js +1 -1
- package/dist/components/Layout/Content/styles.cjs +2 -2
- package/dist/components/Layout/Content/styles.d.ts +7 -1
- package/dist/components/Layout/Content/styles.js +1 -1
- package/dist/components/Layout/MainLayout/styles.d.ts +4 -4
- package/dist/components/Message/styles.cjs +4 -4
- package/dist/components/Message/styles.d.ts +9 -3
- package/dist/components/Message/styles.js +1 -1
- package/dist/components/Notification/NotificationBadge/styles.cjs +20 -6
- package/dist/components/Notification/NotificationBadge/styles.d.ts +3 -3
- package/dist/components/Notification/NotificationBadge/styles.js +17 -3
- package/dist/components/Notification/styles.cjs +7 -7
- package/dist/components/Notification/styles.d.ts +16 -5
- package/dist/components/Notification/styles.js +1 -1
- package/dist/components/Popover/styles.cjs +1 -1
- package/dist/components/Popover/styles.d.ts +13 -1
- package/dist/components/Popover/styles.js +1 -1
- package/dist/components/Progress/styles.cjs +1 -1
- package/dist/components/Progress/styles.d.ts +13 -1
- package/dist/components/Progress/styles.js +1 -1
- package/dist/components/Radio/Radio.cjs +2 -2
- package/dist/components/Radio/Radio.d.ts +4 -1
- package/dist/components/Radio/Radio.js +1 -1
- package/dist/components/Row/RowActions/styles.cjs +1 -1
- package/dist/components/Row/RowActions/styles.d.ts +1 -1
- package/dist/components/Row/RowActions/styles.js +1 -1
- package/dist/components/Row/RowLabelValue/styles.cjs +3 -3
- package/dist/components/Row/RowLabelValue/styles.d.ts +12 -2
- package/dist/components/Row/RowLabelValue/styles.js +1 -1
- package/dist/components/Row/styles.cjs +6 -6
- package/dist/components/Row/styles.d.ts +9 -1
- package/dist/components/Row/styles.js +1 -1
- package/dist/components/SegmentedControls/styles.cjs +21 -7
- package/dist/components/SegmentedControls/styles.d.ts +10 -2
- package/dist/components/SegmentedControls/styles.js +24 -10
- package/dist/components/Select/Select.cjs +2 -2
- package/dist/components/Select/Select.js +16 -15
- package/dist/components/Select/styles.cjs +18 -5
- package/dist/components/Select/styles.d.ts +21 -4
- package/dist/components/Select/styles.js +14 -1
- package/dist/components/Switch/styles.cjs +2 -2
- package/dist/components/Switch/styles.d.ts +7 -1
- package/dist/components/Switch/styles.js +1 -1
- package/dist/components/Table/TableControls/PrimaryTableControlsRow.cjs +1 -1
- package/dist/components/Table/TableControls/PrimaryTableControlsRow.js +1 -1
- package/dist/components/Table/TableControls/styles.d.ts +8 -1
- package/dist/components/Table/styles.cjs +2 -2
- package/dist/components/Table/styles.js +1 -1
- package/dist/components/Tabs/styles.cjs +2 -2
- package/dist/components/Tabs/styles.d.ts +9 -1
- package/dist/components/Tabs/styles.js +1 -1
- package/dist/components/Tile/styles.cjs +4 -4
- package/dist/components/Tile/styles.d.ts +7 -1
- package/dist/components/Tile/styles.js +1 -1
- package/dist/components/Toast/styles.cjs +5 -5
- package/dist/components/Toast/styles.d.ts +9 -3
- package/dist/components/Toast/styles.js +1 -1
- package/dist/components/Tooltip/styles.cjs +2 -2
- package/dist/components/Tooltip/styles.d.ts +14 -1
- package/dist/components/Tooltip/styles.js +1 -1
- package/dist/components/Typography/styles.cjs +12 -12
- package/dist/components/Typography/styles.d.ts +21 -3
- package/dist/components/Typography/styles.js +1 -1
- package/dist/components/shared/DropdownChevron.cjs +1 -0
- package/dist/components/shared/DropdownChevron.js +27 -0
- package/dist/constants/index.cjs +1 -1
- package/dist/constants/index.d.ts +2 -0
- package/dist/constants/index.js +13 -12
- package/dist/genesis/styles.d.ts +11 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +57 -50
- package/dist/node_modules/antd/es/typography/hooks/useCopyClick.cjs +1 -1
- package/dist/node_modules/antd/es/typography/hooks/useCopyClick.js +1 -1
- package/dist/node_modules/react-icons/pi/index.cjs +1 -0
- package/dist/node_modules/react-icons/pi/index.js +12 -0
- package/dist/node_modules/react-icons/tb/index.cjs +1 -1
- package/dist/node_modules/react-icons/tb/index.js +4 -8
- package/dist/styles/global-styles.d.ts +1 -1
- package/dist/styles/theme/genesis-theme.cjs +1 -1
- package/dist/styles/theme/genesis-theme.js +292 -223
- package/dist/styles/theme/genesis-theme.types.d.ts +1 -0
- package/dist/styles/theme/index.d.ts +1 -0
- package/dist/utils/icon-util.cjs +1 -1
- package/dist/utils/icon-util.js +24 -24
- package/dist/utils/styled.cjs +1 -1
- package/dist/utils/styled.d.ts +5 -6
- package/dist/utils/styled.js +6 -20
- package/package.json +1 -6
- package/dist/components/Button/Button.native.d.ts +0 -12
- package/dist/components/Button/__stories__/Button.native.stories.d.ts +0 -8
- package/dist/components/Button/styles.native.d.ts +0 -2
- package/dist/components/Select/DropdownChevron.cjs +0 -1
- package/dist/components/Select/DropdownChevron.js +0 -23
- /package/dist/components/{Select → shared}/DropdownChevron.d.ts +0 -0
|
@@ -1,16 +1,29 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
const s = ({ colors: e, borderRadius:
|
|
1
|
+
import i from "styled-components";
|
|
2
|
+
import m from "../../node_modules/antd/es/segmented/index.js";
|
|
3
|
+
const s = ({ colors: e, borderRadius: n, sizing: o, typography: a }, t = "primary", r = "active") => `
|
|
4
4
|
&.ant-segmented {
|
|
5
|
-
border-radius: ${
|
|
5
|
+
border-radius: ${n.BorderRadiusMd};
|
|
6
6
|
color: ${e.onsurface.copy};
|
|
7
|
-
|
|
7
|
+
font-family: ${a.fontFamily};
|
|
8
|
+
color: ${e.onsurface.copy};
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
:where(.css-dev-only-do-not-override-240cud).ant-segmented &.ant-segmented-item-icon + * {
|
|
12
|
+
margin-inline-start: 4px !important;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.ant-segmented-item-label span + span {
|
|
16
|
+
margin-inline-start: 4px !important;
|
|
17
|
+
font-family: ${a.fontFamily};
|
|
18
|
+
color: ${e.onsurface.copy};
|
|
19
|
+
}
|
|
20
|
+
|
|
8
21
|
.ant-segmented-item {
|
|
9
22
|
color: ${e[t].text};
|
|
10
23
|
transition: all 0.3s;
|
|
11
24
|
|
|
12
25
|
&-selected {
|
|
13
|
-
background: ${e[t][
|
|
26
|
+
background: ${e[t][r]};
|
|
14
27
|
color: ${e[t].textContrast};
|
|
15
28
|
}
|
|
16
29
|
|
|
@@ -19,12 +32,13 @@ const s = ({ colors: e, borderRadius: r, sizing: o }, t = "primary", n = "active
|
|
|
19
32
|
}
|
|
20
33
|
}
|
|
21
34
|
}
|
|
22
|
-
|
|
23
|
-
|
|
35
|
+
|
|
36
|
+
`, l = i(
|
|
37
|
+
m
|
|
24
38
|
)`
|
|
25
|
-
${({ theme: e, type:
|
|
39
|
+
${({ theme: e, type: n = "primary", state: o = "active" }) => s(e, n, o)}
|
|
26
40
|
`;
|
|
27
41
|
export {
|
|
28
|
-
|
|
42
|
+
l as SegmentedControls,
|
|
29
43
|
s as getGenesisClass
|
|
30
44
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),d=require("react"),x=require("../../constants/index.cjs"),m=require("../shared/DropdownChevron.cjs"),t=require("./styles.cjs"),f=require("../../providers/useGenesis.cjs"),j=({type:r=x.TYPE.primary,state:c,variant:u="none",defaultValue:i,onChange:n,...l})=>{const{breakpoint:q}=f.useGenesis(),[a,o]=d.useState(!1);d.useEffect(()=>{const e=document.createElement("style");return e.textContent=`
|
|
2
2
|
.ant-select-dropdown {
|
|
3
3
|
padding: 0px !important;
|
|
4
4
|
border-radius: 0px !important;
|
|
5
5
|
}
|
|
6
|
-
`,document.head.appendChild(e),()=>{document.head.removeChild(e)}},[]);const
|
|
6
|
+
`,document.head.appendChild(e),()=>{document.head.removeChild(e)}},[]);const p=e=>s.jsx(t.SelectDropdown,{type:r,state:c,children:s.jsx(t.StyledMenuItem,{type:r,state:c,children:e})});return s.jsx(t.SelectWrapper,{$isFocused:a,type:r,children:s.jsx(t.Select,{...l,defaultValue:i,$variant:u,suffixIcon:s.jsx(m,{}),dropdownRender:p,onFocus:()=>o(!0),onBlur:()=>o(!1),onChange:e=>{o(!1),n==null||n(e)}})})};module.exports=j;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { TYPE as
|
|
4
|
-
import
|
|
5
|
-
import { SelectWrapper as
|
|
6
|
-
import { useGenesis as
|
|
2
|
+
import p, { useEffect as l } from "react";
|
|
3
|
+
import { TYPE as u } from "../../constants/index.js";
|
|
4
|
+
import a from "../shared/DropdownChevron.js";
|
|
5
|
+
import { SelectWrapper as f, Select as S, SelectDropdown as w, StyledMenuItem as x } from "./styles.js";
|
|
6
|
+
import { useGenesis as h } from "../../providers/useGenesis.js";
|
|
7
7
|
const y = ({
|
|
8
|
-
type: t =
|
|
8
|
+
type: t = u.primary,
|
|
9
9
|
state: d,
|
|
10
10
|
variant: s = "none",
|
|
11
|
-
defaultValue:
|
|
11
|
+
defaultValue: c,
|
|
12
12
|
onChange: r,
|
|
13
|
-
...
|
|
13
|
+
...m
|
|
14
14
|
}) => {
|
|
15
|
-
const { breakpoint: D } =
|
|
16
|
-
return
|
|
15
|
+
const { breakpoint: D } = h(), [i, n] = p.useState(!1);
|
|
16
|
+
return l(() => {
|
|
17
17
|
const e = document.createElement("style");
|
|
18
18
|
return e.textContent = `
|
|
19
19
|
.ant-select-dropdown {
|
|
@@ -23,13 +23,14 @@ const y = ({
|
|
|
23
23
|
`, document.head.appendChild(e), () => {
|
|
24
24
|
document.head.removeChild(e);
|
|
25
25
|
};
|
|
26
|
-
}, []), /* @__PURE__ */ o(
|
|
27
|
-
|
|
26
|
+
}, []), /* @__PURE__ */ o(f, { $isFocused: i, type: t, children: /* @__PURE__ */ o(
|
|
27
|
+
S,
|
|
28
28
|
{
|
|
29
|
-
...
|
|
29
|
+
...m,
|
|
30
|
+
defaultValue: c,
|
|
30
31
|
$variant: s,
|
|
31
|
-
suffixIcon: /* @__PURE__ */ o(
|
|
32
|
-
dropdownRender: (e) => /* @__PURE__ */ o(
|
|
32
|
+
suffixIcon: /* @__PURE__ */ o(a, {}),
|
|
33
|
+
dropdownRender: (e) => /* @__PURE__ */ o(w, { type: t, state: d, children: /* @__PURE__ */ o(x, { type: t, state: d, children: e }) }),
|
|
33
34
|
onFocus: () => n(!0),
|
|
34
35
|
onBlur: () => n(!1),
|
|
35
36
|
onChange: (e) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("styled-components"),d=require("../../node_modules/antd/es/select/index.cjs"),c=a.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
border: 2px solid transparent;
|
|
4
4
|
background-color: transparent;
|
|
@@ -47,6 +47,19 @@
|
|
|
47
47
|
border-radius: ${r.BorderRadiusMd}px;
|
|
48
48
|
gap: ${o.Size2}px;
|
|
49
49
|
|
|
50
|
+
.ant-select-selector {
|
|
51
|
+
border-color: ${e.inputs.surface.border};
|
|
52
|
+
padding-left: 4px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.ant-select-selection-item {
|
|
56
|
+
padding-left: 4px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.ant-segmented-item-label span + span {
|
|
60
|
+
margin-inline-start: 4px !important;
|
|
61
|
+
}
|
|
62
|
+
|
|
50
63
|
&:active {
|
|
51
64
|
background-color: ${e[n].pressed.backgroundColor};
|
|
52
65
|
border-color: ${e[n].pressed.borderColor};
|
|
@@ -82,7 +95,7 @@
|
|
|
82
95
|
}
|
|
83
96
|
}
|
|
84
97
|
}
|
|
85
|
-
`,m=a.
|
|
98
|
+
`,m=a.div`
|
|
86
99
|
.ant-select-item-option {
|
|
87
100
|
transition: ${({theme:e,type:o})=>l(e)};
|
|
88
101
|
border-radius: 0px;
|
|
@@ -105,7 +118,7 @@
|
|
|
105
118
|
}
|
|
106
119
|
}
|
|
107
120
|
}
|
|
108
|
-
`,b=a.
|
|
121
|
+
`,b=a.div`
|
|
109
122
|
.ant-select-dropdown {
|
|
110
123
|
animation-duration: ${({theme:e})=>`${e.motion.veryfast}s`} !important;
|
|
111
124
|
transition: all ${({theme:e})=>`${e.motion.veryfast}s`}
|
|
@@ -124,6 +137,6 @@
|
|
|
124
137
|
&.ant-slide-up-leave {
|
|
125
138
|
animation-duration: ${({theme:e})=>`${e.motion.veryfast}s`} !important;
|
|
126
139
|
}
|
|
127
|
-
|
|
140
|
+
`,g=a(d)`
|
|
128
141
|
${({theme:e,type:o="primary",state:t="active",$variant:r="none"})=>u(e,o,t,r)}
|
|
129
|
-
`;exports.Select
|
|
142
|
+
`;exports.Select=g;exports.SelectDropdown=b;exports.SelectWrapper=c;exports.StyledMenuItem=m;
|
|
@@ -1,13 +1,30 @@
|
|
|
1
1
|
import { Select as AntSelect, SelectProps } from 'antd';
|
|
2
2
|
import { BaseSelectRef } from 'rc-select';
|
|
3
3
|
import { StyledComponent } from '../../utils/styled';
|
|
4
|
-
import { GenesisTheme } from '../../styles/theme/genesis-theme.types';
|
|
4
|
+
import { GenesisTheme, Breakpoint } from '../../styles/theme/genesis-theme.types';
|
|
5
|
+
import { TYPE } from '../../constants';
|
|
5
6
|
interface StyledSelectProps extends SelectProps {
|
|
6
7
|
theme?: GenesisTheme;
|
|
7
8
|
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
interface SelectWrapperProps {
|
|
10
|
+
theme?: GenesisTheme;
|
|
11
|
+
$isFocused: boolean;
|
|
12
|
+
type: keyof typeof TYPE;
|
|
13
|
+
variant?: "simple" | "none";
|
|
14
|
+
}
|
|
15
|
+
export declare const SelectWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, SelectWrapperProps>> & string;
|
|
16
|
+
interface SelectMenuItemProps {
|
|
17
|
+
theme: GenesisTheme;
|
|
18
|
+
type?: keyof typeof TYPE;
|
|
19
|
+
state?: keyof Breakpoint;
|
|
20
|
+
}
|
|
21
|
+
export declare const StyledMenuItem: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, SelectMenuItemProps>> & string;
|
|
22
|
+
interface SelectDropdownProps {
|
|
23
|
+
theme: GenesisTheme;
|
|
24
|
+
type?: keyof typeof TYPE;
|
|
25
|
+
state?: keyof Breakpoint;
|
|
26
|
+
}
|
|
27
|
+
export declare const SelectDropdown: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, SelectDropdownProps>> & string;
|
|
11
28
|
type StyledSelectComponent = StyledComponent<typeof AntSelect, any, StyledSelectProps & {
|
|
12
29
|
ref?: React.Ref<BaseSelectRef>;
|
|
13
30
|
}, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import a from "styled-components";
|
|
2
2
|
import d from "../../node_modules/antd/es/select/index.js";
|
|
3
3
|
const b = a.div`
|
|
4
4
|
position: relative;
|
|
@@ -49,6 +49,19 @@ const b = a.div`
|
|
|
49
49
|
border-radius: ${r.BorderRadiusMd}px;
|
|
50
50
|
gap: ${o.Size2}px;
|
|
51
51
|
|
|
52
|
+
.ant-select-selector {
|
|
53
|
+
border-color: ${e.inputs.surface.border};
|
|
54
|
+
padding-left: 4px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.ant-select-selection-item {
|
|
58
|
+
padding-left: 4px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.ant-segmented-item-label span + span {
|
|
62
|
+
margin-inline-start: 4px !important;
|
|
63
|
+
}
|
|
64
|
+
|
|
52
65
|
&:active {
|
|
53
66
|
background-color: ${e[n].pressed.backgroundColor};
|
|
54
67
|
border-color: ${e[n].pressed.borderColor};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("styled-components"),t=require("../../node_modules/antd/es/switch/index.cjs"),n=({colors:e,borderRadius:c})=>`
|
|
2
2
|
&.ant-switch {
|
|
3
3
|
background-color: ${e.primary.active};
|
|
4
4
|
border-radius: ${c==null?void 0:c.BorderRadiusMd};
|
|
@@ -53,6 +53,6 @@
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
`,s=t
|
|
56
|
+
`,s=u(t)`
|
|
57
57
|
${({theme:e})=>n(e)}
|
|
58
58
|
`;exports.Switch=s;exports.default=s;
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { GenesisTheme } from '../../styles/theme/genesis-theme.types';
|
|
2
|
+
interface StyledSwitchProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
3
|
+
theme?: GenesisTheme;
|
|
4
|
+
}
|
|
5
|
+
export declare const Switch: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('antd').SwitchProps & import('react').RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
6
|
+
ref?: import('react').Ref<HTMLButtonElement>;
|
|
7
|
+
}, StyledSwitchProps>> & string & Omit<import('react').ForwardRefExoticComponent<import('antd').SwitchProps & import('react').RefAttributes<HTMLButtonElement>>, keyof import('react').Component<any, {}, any>>;
|
|
2
8
|
export default Switch;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),j=require("../../../node_modules/react-icons/hi2/index.cjs"),c=require("../../../node_modules/react-icons/hi/index.cjs"),m=require("../../../node_modules/react-icons/fi/index.cjs"),q=require("../../../_virtual/
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),j=require("../../../node_modules/react-icons/hi2/index.cjs"),c=require("../../../node_modules/react-icons/hi/index.cjs"),m=require("../../../node_modules/react-icons/fi/index.cjs"),q=require("../../../_virtual/index6.cjs"),I=require("../../Input/Input.cjs"),d=require("../../Button/UtilityButton.cjs"),f=require("../../Typography/Typography.cjs"),k=require("../../Select/Select.cjs"),S=require("../../Button/IconButton.cjs"),b=({sortOptions:s,searchByPlaceholder:p="",searchField:x="address",isSortedAscending:n=!0,onChange:t})=>{const a=i=>{const v={event:"inputChange",payload:{value:i.target.value,field:x}};q(()=>{t==null||t(v)},200)()},r=i=>{const u={event:"primaryChange",payload:{value:i}};t==null||t(u)},l=()=>{const i={event:"filterClick",payload:{}};t==null||t(i)},o=()=>{const i={event:"settingsClick",payload:{}};t==null||t(i)},y=()=>{const i={event:"orderClick",payload:{value:n?"desc":"asc"}};t==null||t(i)};return e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%",minWidth:800},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[e.jsx(I,{size:"normal",placeholder:p,prefix:e.jsx(c.HiSearch,{}),style:{padding:"5px 8px"},onChange:a}),l&&e.jsx(d,{isIconButton:!0,icon:e.jsx(j.HiMiniAdjustmentsVertical,{}),onClick:l}),o&&e.jsx(d,{isIconButton:!0,icon:e.jsx(m.FiSettings,{}),onClick:o})]}),e.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[e.jsx(f,{variant:"body3",color:"#6C6C6C",children:"Sort by"}),s&&r?e.jsx(k,{options:s,defaultValue:s[0].value,variant:"simple",onChange:r}):null,e.jsx(S,{icon:n?e.jsx(c.HiOutlineSortDescending,{}):e.jsx(c.HiOutlineSortAscending,{}),onClick:y})]})]})};module.exports=b;
|
|
@@ -2,7 +2,7 @@ import { jsxs as r, jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { HiMiniAdjustmentsVertical as v } from "../../../node_modules/react-icons/hi2/index.js";
|
|
3
3
|
import { HiSearch as I, HiOutlineSortDescending as k, HiOutlineSortAscending as x } from "../../../node_modules/react-icons/hi/index.js";
|
|
4
4
|
import { FiSettings as b } from "../../../node_modules/react-icons/fi/index.js";
|
|
5
|
-
import S from "../../../_virtual/
|
|
5
|
+
import S from "../../../_virtual/index6.js";
|
|
6
6
|
import A from "../../Input/Input.js";
|
|
7
7
|
import d from "../../Button/UtilityButton.js";
|
|
8
8
|
import E from "../../Typography/Typography.js";
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
+
import { GenesisTheme } from '../../../styles/theme/genesis-theme.types';
|
|
2
|
+
interface StyledTableControlsProps {
|
|
3
|
+
theme?: GenesisTheme;
|
|
4
|
+
type?: "primary" | "secondary";
|
|
5
|
+
state?: "active" | "disabled";
|
|
6
|
+
}
|
|
1
7
|
export declare const getGenesisClass: ({ colors, borderRadius, sizing }: {
|
|
2
8
|
colors: any;
|
|
3
9
|
borderRadius: any;
|
|
4
10
|
sizing: any;
|
|
5
11
|
}, type?: string, state?: string) => string;
|
|
6
|
-
export declare const StyledTableControls:
|
|
12
|
+
export declare const StyledTableControls: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledTableControlsProps>> & string;
|
|
13
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("styled-components"),r=require("../../node_modules/antd/es/table/Table.cjs"),t=({colors:e,borderRadius:a,sizing:l})=>`
|
|
2
2
|
&.ant-table-wrapper {
|
|
3
3
|
// Add your custom styles here
|
|
4
4
|
}
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
font-family: 'Inter', sans-serif;
|
|
21
21
|
font-size: 14px;
|
|
22
22
|
}
|
|
23
|
-
`,o=s
|
|
23
|
+
`,o=s(r)`
|
|
24
24
|
${({theme:e})=>t(e)}
|
|
25
25
|
`;exports.Table=o;exports.getGenesisClass=t;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("styled-components"),i=require("../../node_modules/antd/es/tabs/index.cjs"),r=({colors:t,borderRadius:e,sizing:a},s="primary",b="active")=>`
|
|
2
2
|
&.ant-tabs {
|
|
3
3
|
background: #F4F4F4;
|
|
4
4
|
|
|
@@ -91,6 +91,6 @@
|
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
`,o=n
|
|
94
|
+
`,o=n(i)`
|
|
95
95
|
${({theme:t,type:e,state:a})=>r(t,e,a)}
|
|
96
96
|
`;exports.Tabs=o;exports.getGenesisClass=r;
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import { GenesisTheme } from '../../styles/theme/genesis-theme.types';
|
|
2
|
+
interface StyledTabsProps {
|
|
3
|
+
theme?: GenesisTheme;
|
|
4
|
+
state: "active" | "hovered" | "focussed" | "disabled";
|
|
5
|
+
type: "card";
|
|
6
|
+
}
|
|
2
7
|
export declare const getGenesisClass: ({ colors, borderRadius, sizing }: GenesisTheme, type?: string, state?: string) => string;
|
|
3
|
-
export declare const Tabs:
|
|
8
|
+
export declare const Tabs: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('antd').TabsProps, StyledTabsProps>> & string & Omit<import('react').FC<import('antd').TabsProps> & {
|
|
9
|
+
TabPane: import('react').FC<import('antd').TabPaneProps>;
|
|
10
|
+
}, keyof import('react').Component<any, {}, any>>;
|
|
11
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("styled-components"),i=({sizing:e},s=!1)=>`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: ${s?"row":"column"};
|
|
4
4
|
padding: ${e.Size4};
|
|
5
|
-
`,l=
|
|
6
|
-
${({theme:e,$isHorizontal:s})=>
|
|
7
|
-
`;exports.Tile=l;exports.getGenesisClass=
|
|
5
|
+
`,l=t.div`
|
|
6
|
+
${({theme:e,$isHorizontal:s})=>i(e,s)}
|
|
7
|
+
`;exports.Tile=l;exports.getGenesisClass=i;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
+
import { GenesisTheme } from '../../styles/theme/genesis-theme.types';
|
|
2
|
+
interface StyledTileProps {
|
|
3
|
+
theme?: GenesisTheme;
|
|
4
|
+
$isHorizontal?: boolean;
|
|
5
|
+
}
|
|
1
6
|
export declare const getGenesisClass: ({ sizing }: {
|
|
2
7
|
sizing: any;
|
|
3
8
|
}, $isHorizontal?: boolean) => string;
|
|
4
|
-
export declare const Tile:
|
|
9
|
+
export declare const Tile: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledTileProps>> & string;
|
|
10
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("styled-components"),n=require("../../constants/index.cjs"),a=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
gap: ${({theme:e})=>e.sizing.Size4}px;
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
width: ${({theme:e,state:t,size:o})=>o==="standard"?"340px":"240px"};
|
|
13
13
|
background-color: ${({theme:e,state:t})=>e.colors.surface.default};
|
|
14
14
|
box-shadow: 0px 4px 16px 0px #00000026;
|
|
15
|
-
`,
|
|
15
|
+
`,s=i.button`
|
|
16
16
|
text-decoration: underline;
|
|
17
17
|
border: none;
|
|
18
18
|
background: none;
|
|
19
19
|
cursor: pointer;
|
|
20
20
|
pointer-events: all;
|
|
21
|
-
`,r=
|
|
21
|
+
`,r=i.div`
|
|
22
22
|
display: flex;
|
|
23
23
|
align-items: center;
|
|
24
24
|
gap: ${({theme:e})=>e.sizing.Size2}px;
|
|
@@ -33,6 +33,6 @@
|
|
|
33
33
|
text-overflow: ellipsis;
|
|
34
34
|
font-size: 16px;
|
|
35
35
|
font-family: ${({theme:e})=>e.typography.fontFamily};
|
|
36
|
-
line-height: ${({theme:e,size:t})=>t===
|
|
36
|
+
line-height: ${({theme:e,size:t})=>t===n.SIZE.standard?e.typography.lineHeight:"16px"};
|
|
37
37
|
}
|
|
38
|
-
`;exports.ToastCloseButton=
|
|
38
|
+
`;exports.ToastCloseButton=s;exports.ToastContent=r;exports.ToastRow=a;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
export declare const ToastRow:
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export declare const ToastRow: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
2
|
+
state: string;
|
|
3
|
+
size: string;
|
|
4
|
+
}>> & string;
|
|
5
|
+
export declare const ToastCloseButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
6
|
+
export declare const ToastContent: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
7
|
+
state: string;
|
|
8
|
+
size: string;
|
|
9
|
+
}>> & string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("styled-components"),r=require("../../node_modules/antd/es/tooltip/index.cjs"),i=({colors:e,borderRadius:t,sizing:s},l="primary",a="active")=>`
|
|
2
2
|
|
|
3
|
-
`,n=o
|
|
3
|
+
`,n=o(r)`
|
|
4
4
|
${({theme:e,type:t,state:s})=>i(e,t,s)}
|
|
5
5
|
`;exports.Tooltip=n;exports.getGenesisClass=i;
|
|
@@ -1,6 +1,19 @@
|
|
|
1
|
+
import { GenesisTheme } from '../../styles/theme/genesis-theme.types';
|
|
2
|
+
interface StyledTooltipProps {
|
|
3
|
+
theme?: GenesisTheme;
|
|
4
|
+
type?: "primary" | "secondary";
|
|
5
|
+
state?: "active" | "disabled";
|
|
6
|
+
}
|
|
1
7
|
export declare const getGenesisClass: ({ colors, borderRadius, sizing }: {
|
|
2
8
|
colors: any;
|
|
3
9
|
borderRadius: any;
|
|
4
10
|
sizing: any;
|
|
5
11
|
}, type?: string, state?: string) => string;
|
|
6
|
-
export declare const Tooltip:
|
|
12
|
+
export declare const Tooltip: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<(Omit<import('antd/es/tooltip').TooltipPropsWithTitle & import('react').RefAttributes<import('antd/es/tooltip').TooltipRef>, "ref"> & {
|
|
13
|
+
ref?: import('react').Ref<import('antd/es/tooltip').TooltipRef>;
|
|
14
|
+
}) | (Omit<import('antd/es/tooltip').TooltipPropsWithOverlay & import('react').RefAttributes<import('antd/es/tooltip').TooltipRef>, "ref"> & {
|
|
15
|
+
ref?: import('react').Ref<import('antd/es/tooltip').TooltipRef>;
|
|
16
|
+
}), StyledTooltipProps>> & string & Omit<import('react').ForwardRefExoticComponent<import('antd').TooltipProps & import('react').RefAttributes<import('antd/es/tooltip').TooltipRef>> & {
|
|
17
|
+
_InternalPanelDoNotUseOrYouWillBeFired: import('react').FC<import('antd/es/tooltip/PurePanel').PurePanelProps>;
|
|
18
|
+
}, keyof import('react').Component<any, {}, any>>;
|
|
19
|
+
export {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("styled-components"),l=require("../../node_modules/antd/es/typography/index.cjs"),g=(t,e,n)=>`
|
|
2
2
|
font-size: ${t[n][e].fontSize}px !important;
|
|
3
3
|
line-height: ${t[n][e].lineHeight};
|
|
4
4
|
letter-spacing: ${t[n][e].letterSpacing}px;
|
|
5
5
|
font-weight: ${t[n][e].fontWeight};
|
|
6
|
-
`,
|
|
6
|
+
`,d=(t,e,n)=>t||e[n].active.color,$=t=>`
|
|
7
7
|
${t.includes("digits")?"'Roboto Mono', sans-serif":"'Inter', sans-serif"} !important;
|
|
8
|
-
`,c=({colors:t,typography:e},n,r,
|
|
8
|
+
`,c=({colors:t,typography:e},n,r,s,o,i,u)=>`
|
|
9
9
|
&.ant-typography {
|
|
10
10
|
font-family: ${$(r)};
|
|
11
|
-
color: ${
|
|
12
|
-
${
|
|
11
|
+
color: ${d(i,t,n)} !important;
|
|
12
|
+
${g(e,r,o)}
|
|
13
13
|
margin-bottom: 0 !important;
|
|
14
|
-
width: ${
|
|
14
|
+
width: ${u?"100%":"auto"};
|
|
15
15
|
line-height: 1;
|
|
16
16
|
|
|
17
17
|
&:disabled {
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
cursor: not-allowed;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
`,f=l.
|
|
24
|
-
${({theme:t,$themeType:e,variant:n,state:r,breakpoint:
|
|
25
|
-
`,h=l.
|
|
26
|
-
${({theme:t,$themeType:e,variant:n,state:r,breakpoint:
|
|
27
|
-
`,m=l.
|
|
28
|
-
${({theme:t,$themeType:e,variant:n,state:r,breakpoint:
|
|
23
|
+
`,f=a(l.Title)`
|
|
24
|
+
${({theme:t,$themeType:e,variant:n,state:r,breakpoint:s,color:o,$isFullWidth:i})=>c(t,e,n,r,s,o,i)}
|
|
25
|
+
`,h=a(l.Paragraph)`
|
|
26
|
+
${({theme:t,$themeType:e,variant:n,state:r,breakpoint:s,color:o,$isFullWidth:i})=>c(t,e,n,r,s,o,i)}
|
|
27
|
+
`,m=a(l.Text)`
|
|
28
|
+
${({theme:t,$themeType:e,variant:n,state:r,breakpoint:s,color:o,$isFullWidth:i})=>c(t,e,n,r,s,o,i)}
|
|
29
29
|
`;exports.Headline=f;exports.Paragraph=h;exports.Text=m;
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { GenesisTheme } from '../../styles/theme/genesis-theme.types';
|
|
2
|
+
import { TYPE, STATE } from '../../constants';
|
|
3
|
+
interface TypographyStyledProps {
|
|
4
|
+
theme: GenesisTheme;
|
|
5
|
+
$themeType?: keyof typeof TYPE;
|
|
6
|
+
variant?: string;
|
|
7
|
+
state?: keyof typeof STATE;
|
|
8
|
+
breakpoint?: string;
|
|
9
|
+
color?: string;
|
|
10
|
+
$isFullWidth?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const Headline: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('antd/es/typography/Title').TitleProps & import('react').RefAttributes<HTMLElement>, "ref"> & {
|
|
13
|
+
ref?: import('react').Ref<HTMLElement>;
|
|
14
|
+
}, TypographyStyledProps>> & string & Omit<import('react').ForwardRefExoticComponent<import('antd/es/typography/Title').TitleProps & import('react').RefAttributes<HTMLElement>>, keyof import('react').Component<any, {}, any>>;
|
|
15
|
+
export declare const Paragraph: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('antd/es/typography/Paragraph').ParagraphProps & import('react').RefAttributes<HTMLElement>, "ref"> & {
|
|
16
|
+
ref?: import('react').Ref<HTMLElement>;
|
|
17
|
+
}, TypographyStyledProps>> & string & Omit<import('react').ForwardRefExoticComponent<import('antd/es/typography/Paragraph').ParagraphProps & import('react').RefAttributes<HTMLElement>>, keyof import('react').Component<any, {}, any>>;
|
|
18
|
+
export declare const Text: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('antd/es/typography/Text').TextProps & import('react').RefAttributes<HTMLSpanElement>, "ref"> & {
|
|
19
|
+
ref?: import('react').Ref<HTMLSpanElement>;
|
|
20
|
+
}, TypographyStyledProps>> & string & Omit<import('react').ForwardRefExoticComponent<import('antd/es/typography/Text').TextProps & import('react').RefAttributes<HTMLSpanElement>>, keyof import('react').Component<any, {}, any>>;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),l=require("../../providers/useGenesis.cjs"),o=s=>{const{theme:n}=l.useGenesis();return e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",...s,children:e.jsx("path",{fill:n.colors.inputs.onsurface.placeholder,fillRule:"evenodd",d:"M5.293 7.293a1 1 0 0 1 1.414 0L10 10.586l3.293-3.293a1 1 0 1 1 1.414 1.414l-4 4a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 0-1.414Z",clipRule:"evenodd"})})};module.exports=o;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useGenesis as n } from "../../providers/useGenesis.js";
|
|
3
|
+
const s = (l) => {
|
|
4
|
+
const { theme: o } = n();
|
|
5
|
+
return /* @__PURE__ */ e(
|
|
6
|
+
"svg",
|
|
7
|
+
{
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
width: 20,
|
|
10
|
+
height: 20,
|
|
11
|
+
fill: "none",
|
|
12
|
+
...l,
|
|
13
|
+
children: /* @__PURE__ */ e(
|
|
14
|
+
"path",
|
|
15
|
+
{
|
|
16
|
+
fill: o.colors.inputs.onsurface.placeholder,
|
|
17
|
+
fillRule: "evenodd",
|
|
18
|
+
d: "M5.293 7.293a1 1 0 0 1 1.414 0L10 10.586l3.293-3.293a1 1 0 1 1 1.414 1.414l-4 4a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 0-1.414Z",
|
|
19
|
+
clipRule: "evenodd"
|
|
20
|
+
}
|
|
21
|
+
)
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
};
|
|
25
|
+
export {
|
|
26
|
+
s as default
|
|
27
|
+
};
|
package/dist/constants/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={primary:"primary",secondary:"secondary",tertiary:"tertiary",utility:"utility",icon:"icon"},i={wide:"wide",medium:"medium",narrow:"narrow"},s={active:"active",hover:"hover",pressed:"pressed",focussed:"focus",disabled:"disabled",error:"error",success:"success",warning:"warning",progress:"progress",info:"info",filled:"filled",generic:"generic",removed:"removed",hollow:"hollow"},r={display1:"display1",display2:"display2",display3:"display3",heading1:"heading1",heading2:"heading2",heading3:"heading3",subHeading1:"subHeading1",subHeading2:"subHeading2",subHeading3:"subHeading3",body1:"body1",body2:"body2",body3:"body3",body4:"body4",body5:"body5",message:"message",overline1:"overline1",overline2:"overline2",overline3:"overline3",label1:"label1",label2:"label2",label3:"label3",link1:"link1",link2:"link2",link3:"link3",digits1:"digits1",digits2:"digits2",digits3:"digits3"},
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={primary:"primary",secondary:"secondary",tertiary:"tertiary",destructive:"destructive",utility:"utility",icon:"icon"},i={wide:"wide",medium:"medium",narrow:"narrow"},s={active:"active",hover:"hover",pressed:"pressed",focussed:"focus",disabled:"disabled",error:"error",success:"success",warning:"warning",progress:"progress",info:"info",filled:"filled",generic:"generic",removed:"removed",hollow:"hollow"},r={display1:"display1",display2:"display2",display3:"display3",heading1:"heading1",heading2:"heading2",heading3:"heading3",subHeading1:"subHeading1",subHeading2:"subHeading2",subHeading3:"subHeading3",body1:"body1",body2:"body2",body3:"body3",body4:"body4",body5:"body5",message:"message",overline1:"overline1",overline2:"overline2",overline3:"overline3",label1:"label1",label2:"label2",label3:"label3",link1:"link1",link2:"link2",link3:"link3",digits1:"digits1",digits2:"digits2",digits3:"digits3"},d={primary:"primary",secondary:"secondary",tertiary:"tertiary"},n={small:"small",medium:"medium",large:"large",standard:"standard"},a={appointment:"appointment",asn:"asn",inventory:"inventory",parcel:"parcel",product:"product",route:"route",shipment:"shipment",shoppingCart:"shopping cart",system:"system"},o={TYPE:e,BREAKPOINTS:i,STATE:s,TYPOGRAPHY_VARIANT:r,BUTTON_VARIANT:d,SIZE:n,BADGE:a};exports.BADGE=a;exports.BREAKPOINTS=i;exports.BUTTON_VARIANT=d;exports.SIZE=n;exports.STATE=s;exports.TYPE=e;exports.TYPOGRAPHY_VARIANT=r;exports.default=o;
|