@gobolt/genesis 0.2.9 → 0.2.10

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.
@@ -1 +1 @@
1
- "use strict";const r=require("react/jsx-runtime"),t=require("../../providers/useGenesis.cjs"),i=require("../../node_modules/antd/es/date-picker/index.cjs"),n=e=>{const{theme:s}=t.useGenesis();return r.jsx(i,{...e,style:{border:`1px solid ${s.colors.inputs.surface.border}`}})};module.exports=n;
1
+ "use strict";const r=require("react/jsx-runtime"),t=require("../../providers/useGenesis.cjs"),i=require("../../node_modules/antd/es/date-picker/index.cjs"),n=e=>{const{theme:s}=t.useGenesis();return r.jsx(i,{...e,style:{border:`1px solid ${s.colors.inputs.surface.border}`,padding:"8px"}})};module.exports=n;
@@ -1,18 +1,19 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { useGenesis as t } from "../../providers/useGenesis.js";
3
3
  import s from "../../node_modules/antd/es/date-picker/index.js";
4
- const p = (r) => {
4
+ const a = (r) => {
5
5
  const { theme: e } = t();
6
6
  return /* @__PURE__ */ o(
7
7
  s,
8
8
  {
9
9
  ...r,
10
10
  style: {
11
- border: `1px solid ${e.colors.inputs.surface.border}`
11
+ border: `1px solid ${e.colors.inputs.surface.border}`,
12
+ padding: "8px"
12
13
  }
13
14
  }
14
15
  );
15
16
  };
16
17
  export {
17
- p as default
18
+ a as default
18
19
  };
@@ -1 +1 @@
1
- "use strict";const r=require("react/jsx-runtime"),t=require("../../providers/useGenesis.cjs"),n=require("../../node_modules/antd/es/date-picker/index.cjs"),{RangePicker:i}=n,o=e=>{const{theme:s}=t.useGenesis();return r.jsx(i,{...e,style:{border:`1px solid ${s.colors.inputs.surface.border}`}})};module.exports=o;
1
+ "use strict";const r=require("react/jsx-runtime"),n=require("../../providers/useGenesis.cjs"),t=require("../../node_modules/antd/es/date-picker/index.cjs"),{RangePicker:i}=t,o=e=>{const{theme:s}=n.useGenesis();return r.jsx(i,{...e,style:{border:`1px solid ${s.colors.inputs.surface.border}`,padding:"8px"}})};module.exports=o;
@@ -1,18 +1,19 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
2
  import { useGenesis as o } from "../../providers/useGenesis.js";
3
3
  import s from "../../node_modules/antd/es/date-picker/index.js";
4
- const { RangePicker: n } = s, m = (e) => {
4
+ const { RangePicker: n } = s, p = (e) => {
5
5
  const { theme: r } = o();
6
6
  return /* @__PURE__ */ t(
7
7
  n,
8
8
  {
9
9
  ...e,
10
10
  style: {
11
- border: `1px solid ${r.colors.inputs.surface.border}`
11
+ border: `1px solid ${r.colors.inputs.surface.border}`,
12
+ padding: "8px"
12
13
  }
13
14
  }
14
15
  );
15
16
  };
16
17
  export {
17
- m as default
18
+ p as default
18
19
  };
@@ -6,3 +6,4 @@ type Story = StoryObj<typeof DateRangePicker>;
6
6
  export declare const DateRange: Story;
7
7
  export declare const DateTimeRange: Story;
8
8
  export declare const SetDateRange: Story;
9
+ export declare const CommplexRow: Story;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../shared/DropdownChevron.cjs"),u=require("./Select.cjs"),c=({options:l,onChange:n,width:r=320,selectedValues:t,placeholder:o="0 selected"})=>{const i=()=>e.jsxs("div",{style:{fontSize:"16px",lineHeight:"24px",paddingTop:"2px"},children:[t.length," selected"]});return e.jsx("div",{style:{width:r},children:e.jsx(u,{options:l,mode:"multiple",value:t,onChange:n,maxTagCount:0,suffixIcon:e.jsx(s,{}),labelInValue:!1,showSearch:!1,maxTagPlaceholder:i,placeholder:o})})};exports.CountMultiSelect=c;
@@ -0,0 +1,11 @@
1
+ export interface CountMultiSelectProps {
2
+ options: {
3
+ value: string;
4
+ label: string;
5
+ }[];
6
+ onChange: (values: string[]) => void;
7
+ width?: number;
8
+ selectedValues?: string[];
9
+ placeholder?: string;
10
+ }
11
+ export declare const CountMultiSelect: ({ options, onChange, width, selectedValues, placeholder, }: CountMultiSelectProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,40 @@
1
+ import { jsx as e, jsxs as i } from "react/jsx-runtime";
2
+ import a from "../shared/DropdownChevron.js";
3
+ import c from "./Select.js";
4
+ const m = ({
5
+ options: t,
6
+ onChange: r,
7
+ width: o = 320,
8
+ selectedValues: l,
9
+ placeholder: n = "0 selected"
10
+ }) => /* @__PURE__ */ e("div", { style: { width: o }, children: /* @__PURE__ */ e(
11
+ c,
12
+ {
13
+ options: t,
14
+ mode: "multiple",
15
+ value: l,
16
+ onChange: r,
17
+ maxTagCount: 0,
18
+ suffixIcon: /* @__PURE__ */ e(a, {}),
19
+ labelInValue: !1,
20
+ showSearch: !1,
21
+ maxTagPlaceholder: () => /* @__PURE__ */ i(
22
+ "div",
23
+ {
24
+ style: {
25
+ fontSize: "16px",
26
+ lineHeight: "24px",
27
+ paddingTop: "2px"
28
+ },
29
+ children: [
30
+ l.length,
31
+ " selected"
32
+ ]
33
+ }
34
+ ),
35
+ placeholder: n
36
+ }
37
+ ) });
38
+ export {
39
+ m as CountMultiSelect
40
+ };
@@ -0,0 +1,7 @@
1
+ import { CountMultiSelect } from '../CountMultiSelect';
2
+ import { Meta, StoryObj } from '@storybook/react';
3
+ declare const meta: Meta<typeof CountMultiSelect>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof CountMultiSelect>;
6
+ export declare const Default: Story;
7
+ export declare const ThreeSelected: Story;
@@ -8,4 +8,3 @@ export declare const Filled: Story;
8
8
  export declare const Focussed: Story;
9
9
  export declare const Disabled: Story;
10
10
  export declare const Simple: Story;
11
- export declare const MultiSelect: Story;
@@ -1,2 +1,4 @@
1
1
  export { default } from './Select';
2
2
  export type { SelectProps } from './Select';
3
+ export { CountMultiSelect } from './CountMultiSelect';
4
+ export type { CountMultiSelectProps } from './CountMultiSelect';
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("styled-components"),b=require("../../node_modules/antd/es/select/index.cjs"),h=a.div`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("styled-components"),f=require("../../node_modules/antd/es/select/index.cjs"),h=i.div`
2
2
  position: relative;
3
3
  border: 2px solid transparent;
4
4
  background-color: transparent;
@@ -6,8 +6,8 @@
6
6
  padding: 1px;
7
7
  width: auto;
8
8
 
9
- ${({$isFocused:e,theme:t,type:o="primary"})=>e&&`
10
- border: 2px solid ${t.colors[o].focussed.ringColor};
9
+ ${({$isFocused:e,theme:t,type:n="primary"})=>e&&`
10
+ border: 2px solid ${t.colors[n].focussed.ringColor};
11
11
  background-color: transparent;
12
12
  border-radius: 8px;
13
13
  padding: 1px;
@@ -16,7 +16,7 @@
16
16
  .ant-select-dropdown {
17
17
  animation-duration: ${({theme:e})=>`${e.motion.veryfast}s`} !important;
18
18
  }
19
- `,f=e=>`all ${e.motion.veryfast}s ease-in-out`,$=(e,t,o,r)=>`
19
+ `,b=e=>`all ${e.motion.veryfast}s ease-in-out`,x=(e,t,n,r)=>`
20
20
  &.ant-select {
21
21
  background-color: ${e.surface.secondary};
22
22
  border-color: ${e.surface.secondary};
@@ -29,10 +29,10 @@
29
29
  margin: 0px;
30
30
  }
31
31
  }
32
- `,m=({colors:e,sizing:t,typography:o,borderRadius:r},n,i,g)=>{var s,d,c,l,p,u;return g==="simple"?$(e,n,i,r):`
32
+ `,m=({colors:e,sizing:t,typography:n,borderRadius:r},o,a,g)=>{var s,d,l,c,p,u;return g==="simple"?x(e,o,a,r):`
33
33
  &.ant-select {
34
34
 
35
- font-size: ${t.Size4}px;
35
+ font-size: 16px;
36
36
  line-height: ${t.Size6}px;
37
37
  letter-spacing: 0;
38
38
  font-weight: 400;
@@ -43,42 +43,75 @@
43
43
  height: auto;
44
44
  min-height: 32px;
45
45
 
46
- background-color: ${((d=(s=e==null?void 0:e[n])==null?void 0:s[i])==null?void 0:d.backgroundColor)??"#fff"}
46
+ background-color: ${((d=(s=e==null?void 0:e[o])==null?void 0:s[a])==null?void 0:d.backgroundColor)??"#fff"}
47
47
 
48
48
  border-radius: ${r.BorderRadiusMd}px;
49
49
  gap: ${t.Size2}px;
50
50
 
51
51
  .ant-select-selector {
52
52
  border-color: ${e.inputs.surface.border};
53
- padding-left: 4px;
54
- height: auto !important;
55
- min-height: 32px !important;
53
+ padding: 4px 12px !important;
54
+ height: 40px !important;
55
+ min-height: 40px !important;
56
56
  background-color: transparent !important;
57
+ display: flex;
58
+ align-items: center;
59
+
60
+ .ant-select-selection-search {
61
+ margin-inline-start: 0;
62
+ padding-left: 0;
63
+ height: 100%;
64
+ display: flex;
65
+ align-items: center;
66
+
67
+ input {
68
+ font-size: 16px;
69
+ }
70
+ }
57
71
 
58
72
  .ant-select-selection-overflow {
59
73
  flex-wrap: nowrap;
60
74
  gap: 4px;
61
75
  padding: 0;
62
- height: 30px;
76
+ height: 100%;
63
77
  align-items: center;
78
+ margin-left: 0;
79
+ display: flex;
64
80
  }
65
81
 
66
82
  .ant-select-selection-item {
67
- margin-top: 0;
68
- margin-bottom: 0;
83
+ margin: 0;
69
84
  background: transparent;
70
85
  border: none;
71
- height: 24px;
72
- line-height: 24px;
73
- padding-right: 0;
86
+ height: 100%;
87
+ line-height: normal;
88
+ padding: 0;
89
+ font-size: 16px;
90
+ display: flex;
91
+ align-items: center;
92
+
93
+ &.ant-select-selection-placeholder {
94
+ padding-top: 6px;
95
+ }
96
+ }
97
+
98
+ .ant-select-selection-overflow-item {
99
+ height: 100%;
100
+ display: flex;
101
+ align-items: center;
74
102
  }
75
103
 
76
104
  .ant-select-selection-overflow-item-suffix {
77
105
  position: absolute;
78
- right: 0;
79
- height: 30px;
106
+ right: 12px;
107
+ height: 100%;
80
108
  display: flex;
81
109
  align-items: center;
110
+ font-size: 16px;
111
+
112
+ .ant-select-selection-item {
113
+ padding-top: 6px;
114
+ }
82
115
  }
83
116
  }
84
117
 
@@ -91,8 +124,8 @@
91
124
  }
92
125
 
93
126
  &:active {
94
- background-color: ${((l=(c=e==null?void 0:e[n])==null?void 0:c.pressed)==null?void 0:l.backgroundColor)??"#fff"};
95
- border-color: ${((u=(p=e==null?void 0:e[n])==null?void 0:p.pressed)==null?void 0:u.borderColor)??"#fff"};
127
+ background-color: ${((c=(l=e==null?void 0:e[o])==null?void 0:l.pressed)==null?void 0:c.backgroundColor)??"#fff"};
128
+ border-color: ${((u=(p=e==null?void 0:e[o])==null?void 0:p.pressed)==null?void 0:u.borderColor)??"#fff"};
96
129
  }
97
130
 
98
131
  // Remove focus styles
@@ -125,9 +158,9 @@
125
158
  }
126
159
  }
127
160
  }
128
- `},x=a.div`
161
+ `},$=i.div`
129
162
  .ant-select-item-option {
130
- transition: ${({theme:e,type:t})=>f(e)};
163
+ transition: ${({theme:e,type:t})=>b(e)};
131
164
  border-radius: 0px;
132
165
 
133
166
  &:hover {
@@ -148,7 +181,7 @@
148
181
  }
149
182
  }
150
183
  }
151
- `,y=a.div`
184
+ `,y=i.div`
152
185
  .ant-select-dropdown {
153
186
  animation-duration: ${({theme:e})=>`${e.motion.veryfast}s`} !important;
154
187
  transition: all ${({theme:e})=>`${e.motion.veryfast}s`}
@@ -167,6 +200,6 @@
167
200
  &.ant-slide-up-leave {
168
201
  animation-duration: ${({theme:e})=>`${e.motion.veryfast}s`} !important;
169
202
  }
170
- `,v=a(b)`
171
- ${({theme:e,type:t="primary",state:o="active",$variant:r="none"})=>m(e,t,o,r)}
172
- `;exports.Select=v;exports.SelectDropdown=y;exports.SelectWrapper=h;exports.StyledMenuItem=x;exports.getGenesisClass=m;
203
+ `,v=i(f)`
204
+ ${({theme:e,type:t="primary",state:n="active",$variant:r="none"})=>m(e,t,n,r)}
205
+ `;exports.Select=v;exports.SelectDropdown=y;exports.SelectWrapper=h;exports.StyledMenuItem=$;exports.getGenesisClass=m;
@@ -1,6 +1,6 @@
1
1
  import a from "styled-components";
2
2
  import g from "../../node_modules/antd/es/select/index.js";
3
- const v = a.div`
3
+ const y = a.div`
4
4
  position: relative;
5
5
  border: 2px solid transparent;
6
6
  background-color: transparent;
@@ -18,7 +18,7 @@ const v = a.div`
18
18
  .ant-select-dropdown {
19
19
  animation-duration: ${({ theme: e }) => `${e.motion.veryfast}s`} !important;
20
20
  }
21
- `, b = (e) => `all ${e.motion.veryfast}s ease-in-out`, h = (e, t, o, r) => `
21
+ `, f = (e) => `all ${e.motion.veryfast}s ease-in-out`, h = (e, t, o, r) => `
22
22
  &.ant-select {
23
23
  background-color: ${e.surface.secondary};
24
24
  border-color: ${e.surface.secondary};
@@ -31,12 +31,12 @@ const v = a.div`
31
31
  margin: 0px;
32
32
  }
33
33
  }
34
- `, f = ({ colors: e, sizing: t, typography: o, borderRadius: r }, n, i, m) => {
35
- var s, d, c, p, l, u;
36
- return m === "simple" ? h(e, n, i, r) : `
34
+ `, b = ({ colors: e, sizing: t, typography: o, borderRadius: r }, n, i, u) => {
35
+ var s, d, l, c, p, m;
36
+ return u === "simple" ? h(e, n, i, r) : `
37
37
  &.ant-select {
38
38
 
39
- font-size: ${t.Size4}px;
39
+ font-size: 16px;
40
40
  line-height: ${t.Size6}px;
41
41
  letter-spacing: 0;
42
42
  font-weight: 400;
@@ -54,35 +54,68 @@ const v = a.div`
54
54
 
55
55
  .ant-select-selector {
56
56
  border-color: ${e.inputs.surface.border};
57
- padding-left: 4px;
58
- height: auto !important;
59
- min-height: 32px !important;
57
+ padding: 4px 12px !important;
58
+ height: 40px !important;
59
+ min-height: 40px !important;
60
60
  background-color: transparent !important;
61
+ display: flex;
62
+ align-items: center;
63
+
64
+ .ant-select-selection-search {
65
+ margin-inline-start: 0;
66
+ padding-left: 0;
67
+ height: 100%;
68
+ display: flex;
69
+ align-items: center;
70
+
71
+ input {
72
+ font-size: 16px;
73
+ }
74
+ }
61
75
 
62
76
  .ant-select-selection-overflow {
63
77
  flex-wrap: nowrap;
64
78
  gap: 4px;
65
79
  padding: 0;
66
- height: 30px;
80
+ height: 100%;
67
81
  align-items: center;
82
+ margin-left: 0;
83
+ display: flex;
68
84
  }
69
85
 
70
86
  .ant-select-selection-item {
71
- margin-top: 0;
72
- margin-bottom: 0;
87
+ margin: 0;
73
88
  background: transparent;
74
89
  border: none;
75
- height: 24px;
76
- line-height: 24px;
77
- padding-right: 0;
90
+ height: 100%;
91
+ line-height: normal;
92
+ padding: 0;
93
+ font-size: 16px;
94
+ display: flex;
95
+ align-items: center;
96
+
97
+ &.ant-select-selection-placeholder {
98
+ padding-top: 6px;
99
+ }
100
+ }
101
+
102
+ .ant-select-selection-overflow-item {
103
+ height: 100%;
104
+ display: flex;
105
+ align-items: center;
78
106
  }
79
107
 
80
108
  .ant-select-selection-overflow-item-suffix {
81
109
  position: absolute;
82
- right: 0;
83
- height: 30px;
110
+ right: 12px;
111
+ height: 100%;
84
112
  display: flex;
85
113
  align-items: center;
114
+ font-size: 16px;
115
+
116
+ .ant-select-selection-item {
117
+ padding-top: 6px;
118
+ }
86
119
  }
87
120
  }
88
121
 
@@ -95,8 +128,8 @@ const v = a.div`
95
128
  }
96
129
 
97
130
  &:active {
98
- background-color: ${((p = (c = e == null ? void 0 : e[n]) == null ? void 0 : c.pressed) == null ? void 0 : p.backgroundColor) ?? "#fff"};
99
- border-color: ${((u = (l = e == null ? void 0 : e[n]) == null ? void 0 : l.pressed) == null ? void 0 : u.borderColor) ?? "#fff"};
131
+ background-color: ${((c = (l = e == null ? void 0 : e[n]) == null ? void 0 : l.pressed) == null ? void 0 : c.backgroundColor) ?? "#fff"};
132
+ border-color: ${((m = (p = e == null ? void 0 : e[n]) == null ? void 0 : p.pressed) == null ? void 0 : m.borderColor) ?? "#fff"};
100
133
  }
101
134
 
102
135
  // Remove focus styles
@@ -130,9 +163,9 @@ const v = a.div`
130
163
  }
131
164
  }
132
165
  `;
133
- }, y = a.div`
166
+ }, v = a.div`
134
167
  .ant-select-item-option {
135
- transition: ${({ theme: e, type: t }) => b(e)};
168
+ transition: ${({ theme: e, type: t }) => f(e)};
136
169
  border-radius: 0px;
137
170
 
138
171
  &:hover {
@@ -173,12 +206,12 @@ const v = a.div`
173
206
  animation-duration: ${({ theme: e }) => `${e.motion.veryfast}s`} !important;
174
207
  }
175
208
  `, w = a(g)`
176
- ${({ theme: e, type: t = "primary", state: o = "active", $variant: r = "none" }) => f(e, t, o, r)}
209
+ ${({ theme: e, type: t = "primary", state: o = "active", $variant: r = "none" }) => b(e, t, o, r)}
177
210
  `;
178
211
  export {
179
212
  w as Select,
180
213
  k as SelectDropdown,
181
- v as SelectWrapper,
182
- y as StyledMenuItem,
183
- f as getGenesisClass
214
+ y as SelectWrapper,
215
+ v as StyledMenuItem,
216
+ b as getGenesisClass
184
217
  };
@@ -45,6 +45,8 @@ export { default as SegmentedControls } from './SegmentedControls';
45
45
  export type { SegmentedControlsProps } from './SegmentedControls';
46
46
  export { default as Select } from './Select';
47
47
  export type { SelectProps } from './Select';
48
+ export { CountMultiSelect } from './Select/CountMultiSelect';
49
+ export type { CountMultiSelectProps } from './Select/CountMultiSelect';
48
50
  export { default as Shapes } from './Shapes';
49
51
  export type { ShapesProps } from './Shapes';
50
52
  export { default as Switch } from './Switch';
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./constants/index.cjs"),o=require("./styles/global-styles.cjs"),t=require("./components/Avatar/Avatar.cjs"),s=require("./components/Badge/Badge.cjs"),i=require("./components/Breadcrumb/Breadcrumb.cjs"),n=require("./components/Button/Button.cjs"),u=require("./components/Button/UtilityButton.cjs"),a=require("./components/Button/IconButton.cjs"),c=require("./components/Card/Card.cjs"),l=require("./components/Checkbox/Checkbox.cjs"),q=require("./components/DatePicker/DatePicker.cjs"),T=require("./components/DateRangePicker/DateRangePicker.cjs"),b=require("./components/ErrorBoundary/ErrorBoundary.cjs"),d=require("./components/ErrorBoundaryFallback/ErrorBoundaryFallback.cjs"),y=require("./components/Form/Form.cjs"),g=require("./components/Input/Input.cjs"),h=require("./components/Layout/Layout.cjs"),p=require("./components/Message/Message.cjs"),S=require("./components/Notification/Notification.cjs"),k=require("./components/Popover/Popover.cjs"),B=require("./components/Progress/Progress.cjs"),m=require("./components/Radio/RadioGroup.cjs"),P=require("./components/Row/Row.cjs"),C=require("./components/SegmentedControls/SegmentedControls.cjs"),G=require("./components/Select/Select.cjs"),v=require("./components/Shapes/Shapes.cjs"),E=require("./components/Switch/Switch.cjs"),R=require("./components/Table/Table.cjs"),f=require("./components/Table/TableWithControls/TableWithControls.cjs"),I=require("./components/Tabs/Tabs.cjs"),W=require("./components/Tile/Tile.cjs"),w=require("./components/Toast/Toast.cjs"),z=require("./components/Tooltip/Tooltip.cjs"),D=require("./components/Typography/Typography.cjs"),F=require("./providers/GenesisProvider.cjs"),x=require("./components/Table/useTable.cjs"),M=require("./components/Table/TableWithControls/useTableWithControls.cjs"),N=require("./providers/useGenesis.cjs"),e=require("./styles/theme/genesis-theme.cjs");exports.GENESIS=r.default;exports.GlobalStyles=o.GlobalStyles;exports.Avatar=t;exports.Badge=s;exports.Breadcrumb=i;exports.Button=n;exports.UtilityButton=u;exports.IconButton=a;exports.Card=c;exports.Checkbox=l;exports.DatePicker=q;exports.DateRangePicker=T;exports.ErrorBoundary=b;exports.ErrorBoundaryFallback=d;exports.Form=y.default;exports.Input=g;exports.Layout=h;exports.Message=p;exports.Notification=S;exports.Popover=k;exports.Progress=B;exports.RadioGroup=m;exports.Row=P;exports.SegmentedControls=C;exports.Select=G;exports.Shapes=v;exports.Switch=E;exports.Table=R;exports.TableWithControls=f;exports.Tabs=I;exports.Tile=W;exports.Toast=w;exports.Tooltip=z;exports.Typography=D;exports.GenesisProvider=F.GenesisProvider;exports.useTable=x.useTable;exports.useTableWithControls=M.useTableWithControls;exports.useGenesis=N.useGenesis;exports.TypographySizeKey=e.TypographySizeKey;exports.baseTokens=e.baseTokens;exports.breakpoints=e.breakpoints;exports.darkTheme=e.darkTheme;exports.lightTheme=e.lightTheme;exports.sizing=e.sizing;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./constants/index.cjs"),o=require("./styles/global-styles.cjs"),t=require("./components/Avatar/Avatar.cjs"),s=require("./components/Badge/Badge.cjs"),i=require("./components/Breadcrumb/Breadcrumb.cjs"),n=require("./components/Button/Button.cjs"),u=require("./components/Button/UtilityButton.cjs"),a=require("./components/Button/IconButton.cjs"),c=require("./components/Card/Card.cjs"),l=require("./components/Checkbox/Checkbox.cjs"),q=require("./components/DatePicker/DatePicker.cjs"),T=require("./components/DateRangePicker/DateRangePicker.cjs"),b=require("./components/ErrorBoundary/ErrorBoundary.cjs"),d=require("./components/ErrorBoundaryFallback/ErrorBoundaryFallback.cjs"),y=require("./components/Form/Form.cjs"),g=require("./components/Input/Input.cjs"),h=require("./components/Layout/Layout.cjs"),p=require("./components/Message/Message.cjs"),S=require("./components/Notification/Notification.cjs"),k=require("./components/Popover/Popover.cjs"),B=require("./components/Progress/Progress.cjs"),C=require("./components/Radio/RadioGroup.cjs"),m=require("./components/Row/Row.cjs"),P=require("./components/SegmentedControls/SegmentedControls.cjs"),G=require("./components/Select/Select.cjs"),v=require("./components/Shapes/Shapes.cjs"),E=require("./components/Switch/Switch.cjs"),M=require("./components/Table/Table.cjs"),R=require("./components/Table/TableWithControls/TableWithControls.cjs"),f=require("./components/Tabs/Tabs.cjs"),I=require("./components/Tile/Tile.cjs"),W=require("./components/Toast/Toast.cjs"),w=require("./components/Tooltip/Tooltip.cjs"),z=require("./components/Typography/Typography.cjs"),D=require("./providers/GenesisProvider.cjs"),F=require("./components/Select/CountMultiSelect.cjs"),x=require("./components/Table/useTable.cjs"),N=require("./components/Table/TableWithControls/useTableWithControls.cjs"),A=require("./providers/useGenesis.cjs"),e=require("./styles/theme/genesis-theme.cjs");exports.GENESIS=r.default;exports.GlobalStyles=o.GlobalStyles;exports.Avatar=t;exports.Badge=s;exports.Breadcrumb=i;exports.Button=n;exports.UtilityButton=u;exports.IconButton=a;exports.Card=c;exports.Checkbox=l;exports.DatePicker=q;exports.DateRangePicker=T;exports.ErrorBoundary=b;exports.ErrorBoundaryFallback=d;exports.Form=y.default;exports.Input=g;exports.Layout=h;exports.Message=p;exports.Notification=S;exports.Popover=k;exports.Progress=B;exports.RadioGroup=C;exports.Row=m;exports.SegmentedControls=P;exports.Select=G;exports.Shapes=v;exports.Switch=E;exports.Table=M;exports.TableWithControls=R;exports.Tabs=f;exports.Tile=I;exports.Toast=W;exports.Tooltip=w;exports.Typography=z;exports.GenesisProvider=D.GenesisProvider;exports.CountMultiSelect=F.CountMultiSelect;exports.useTable=x.useTable;exports.useTableWithControls=N.useTableWithControls;exports.useGenesis=A.useGenesis;exports.TypographySizeKey=e.TypographySizeKey;exports.baseTokens=e.baseTokens;exports.breakpoints=e.breakpoints;exports.darkTheme=e.darkTheme;exports.lightTheme=e.lightTheme;exports.sizing=e.sizing;
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import { default as m } from "./components/Breadcrumb/Breadcrumb.js";
6
6
  import { default as x } from "./components/Button/Button.js";
7
7
  import { default as n } from "./components/Button/UtilityButton.js";
8
8
  import { default as b } from "./components/Button/IconButton.js";
9
- import { default as y } from "./components/Card/Card.js";
9
+ import { default as h } from "./components/Card/Card.js";
10
10
  import { default as g } from "./components/Checkbox/Checkbox.js";
11
11
  import { default as k } from "./components/DatePicker/DatePicker.js";
12
12
  import { default as C } from "./components/DateRangePicker/DateRangePicker.js";
@@ -15,9 +15,9 @@ import { default as v } from "./components/ErrorBoundaryFallback/ErrorBoundaryFa
15
15
  import { default as R } from "./components/Form/Form.js";
16
16
  import { default as z } from "./components/Input/Input.js";
17
17
  import { default as F } from "./components/Layout/Layout.js";
18
- import { default as W } from "./components/Message/Message.js";
19
- import { default as K } from "./components/Notification/Notification.js";
20
- import { default as M } from "./components/Popover/Popover.js";
18
+ import { default as N } from "./components/Message/Message.js";
19
+ import { default as A } from "./components/Notification/Notification.js";
20
+ import { default as L } from "./components/Popover/Popover.js";
21
21
  import { default as j } from "./components/Progress/Progress.js";
22
22
  import { default as H } from "./components/Radio/RadioGroup.js";
23
23
  import { default as O } from "./components/Row/Row.js";
@@ -33,17 +33,19 @@ import { default as me } from "./components/Toast/Toast.js";
33
33
  import { default as xe } from "./components/Tooltip/Tooltip.js";
34
34
  import { default as ne } from "./components/Typography/Typography.js";
35
35
  import { GenesisProvider as be } from "./providers/GenesisProvider.js";
36
- import { useTable as ye } from "./components/Table/useTable.js";
37
- import { useTableWithControls as ge } from "./components/Table/TableWithControls/useTableWithControls.js";
38
- import { useGenesis as ke } from "./providers/useGenesis.js";
39
- import { TypographySizeKey as Ce, baseTokens as Ge, breakpoints as Pe, darkTheme as Ee, lightTheme as ve, sizing as Ie } from "./styles/theme/genesis-theme.js";
36
+ import { CountMultiSelect as he } from "./components/Select/CountMultiSelect.js";
37
+ import { useTable as ge } from "./components/Table/useTable.js";
38
+ import { useTableWithControls as ke } from "./components/Table/TableWithControls/useTableWithControls.js";
39
+ import { useGenesis as Ce } from "./providers/useGenesis.js";
40
+ import { TypographySizeKey as Pe, baseTokens as Ee, breakpoints as ve, darkTheme as Ie, lightTheme as Re, sizing as we } from "./styles/theme/genesis-theme.js";
40
41
  export {
41
42
  s as Avatar,
42
43
  p as Badge,
43
44
  m as Breadcrumb,
44
45
  x as Button,
45
- y as Card,
46
+ h as Card,
46
47
  g as Checkbox,
48
+ he as CountMultiSelect,
47
49
  k as DatePicker,
48
50
  C as DateRangePicker,
49
51
  P as ErrorBoundary,
@@ -55,9 +57,9 @@ export {
55
57
  b as IconButton,
56
58
  z as Input,
57
59
  F as Layout,
58
- W as Message,
59
- K as Notification,
60
- M as Popover,
60
+ N as Message,
61
+ A as Notification,
62
+ L as Popover,
61
63
  j as Progress,
62
64
  H as RadioGroup,
63
65
  O as Row,
@@ -72,14 +74,14 @@ export {
72
74
  me as Toast,
73
75
  xe as Tooltip,
74
76
  ne as Typography,
75
- Ce as TypographySizeKey,
77
+ Pe as TypographySizeKey,
76
78
  n as UtilityButton,
77
- Ge as baseTokens,
78
- Pe as breakpoints,
79
- Ee as darkTheme,
80
- ve as lightTheme,
81
- Ie as sizing,
82
- ke as useGenesis,
83
- ye as useTable,
84
- ge as useTableWithControls
79
+ Ee as baseTokens,
80
+ ve as breakpoints,
81
+ Ie as darkTheme,
82
+ Re as lightTheme,
83
+ we as sizing,
84
+ Ce as useGenesis,
85
+ ge as useTable,
86
+ ke as useTableWithControls
85
87
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gobolt/genesis",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "description": "genesis design system",
5
5
  "author": "gobolt",
6
6
  "license": "MIT",