@indico-data/design-system 2.3.0 → 2.3.2
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/lib/index.css +36 -0
- package/lib/index.d.ts +981 -3
- package/lib/index.esm.css +36 -0
- package/lib/index.esm.js +7412 -7019
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +7536 -7142
- package/lib/index.js.map +1 -1
- package/lib/src/components/button/Button.stories.d.ts +1 -1
- package/lib/src/components/grid/col/Col.stories.d.ts +1 -2
- package/lib/src/components/grid/container/Container.stories.d.ts +1 -1
- package/lib/src/components/grid/row/Row.stories.d.ts +1 -1
- package/lib/src/components/icons/Icon.d.ts +1 -3
- package/lib/src/components/icons/index.d.ts +1 -1
- package/lib/src/components/icons/types.d.ts +1 -1
- package/lib/src/components/index.d.ts +1 -1
- package/lib/src/components/table/index.d.ts +1 -0
- package/lib/src/index.d.ts +1 -0
- package/lib/src/legacy/components/Toggle/Toggle.d.ts +1 -2
- package/lib/src/legacy/components/Toggle/Toggle.stories.d.ts +1 -1
- package/lib/src/legacy/components/inputs/NoInputDatePicker/NoInputDatePicker.d.ts +1 -2
- package/lib/src/legacy/components/loading-indicators/CircleSpinner/CircleSpinner.d.ts +1 -2
- package/lib/src/types.d.ts +2 -0
- package/package.json +1 -1
- package/rollup.config.mjs +1 -1
- package/src/components/button/Button.mdx +1 -1
- package/src/components/button/Button.stories.tsx +8 -8
- package/src/components/button/Button.tsx +1 -1
- package/src/components/grid/GridSystem.mdx +0 -1
- package/src/components/grid/col/Col.stories.tsx +1 -2
- package/src/components/grid/container/Container.mdx +0 -1
- package/src/components/grid/container/Container.stories.tsx +1 -3
- package/src/components/grid/row/Row.mdx +0 -1
- package/src/components/grid/row/Row.stories.tsx +1 -3
- package/src/components/icons/Icon.mdx +1 -1
- package/src/components/icons/Icon.stories.tsx +2 -3
- package/src/components/icons/Icon.tsx +1 -3
- package/src/components/icons/__tests__/Icon.test.tsx +1 -1
- package/src/components/icons/index.ts +1 -1
- package/src/components/icons/types.ts +1 -1
- package/src/components/index.ts +1 -1
- package/src/components/table/index.ts +1 -0
- package/src/index.ts +1 -0
- package/src/legacy/components/Accordion/Accordion.tsx +1 -1
- package/src/legacy/components/ListTable/Header/Header.tsx +2 -4
- package/src/legacy/components/ListTable/ListTable.stories.tsx +1 -1
- package/src/legacy/components/Toggle/Toggle.tsx +2 -3
- package/src/legacy/components/Tooltip/Tooltip.tsx +2 -1
- package/src/legacy/components/basic-section/SectionTable/SectionTable.tsx +1 -1
- package/src/legacy/components/buttons/IconButton/IconButton.tsx +1 -1
- package/src/legacy/components/dropdowns/BorderSelect/BorderSelect.tsx +1 -1
- package/src/legacy/components/dropdowns/MultiCombobox/MultiCombobox.tsx +1 -1
- package/src/legacy/components/dropdowns/Select/Select.tsx +1 -1
- package/src/legacy/components/dropdowns/SingleCombobox/SingleCombobox.tsx +1 -1
- package/src/legacy/components/inputs/EditableInput/EditableInput.tsx +1 -1
- package/src/legacy/components/inputs/NoInputDatePicker/NoInputDatePicker.tsx +2 -3
- package/src/legacy/components/inputs/NumberInput/NumberInput.tsx +1 -1
- package/src/legacy/components/inputs/SearchInput/SearchInput.stories.tsx +3 -3
- package/src/legacy/components/inputs/SearchInput/SearchInput.tsx +1 -1
- package/src/legacy/components/loading-indicators/CircleSpinner/CircleSpinner.tsx +2 -3
- package/src/legacy/components/user-feedback/Shrug/Shrug.tsx +1 -1
- package/src/styles/index.scss +2 -1
- package/src/types.ts +3 -0
- package/webpack.config.js +13 -6
- package/lib/src/components/tables/table/index.d.ts +0 -1
- package/src/components/tables/table/index.ts +0 -1
- /package/lib/src/components/{tables/table → table}/LoadingComponent.d.ts +0 -0
- /package/lib/src/components/{tables/table → table}/Table.d.ts +0 -0
- /package/lib/src/components/{tables/table → table}/Table.stories.d.ts +0 -0
- /package/lib/src/components/{tables/table → table}/sampleData.d.ts +0 -0
- /package/src/components/grid/{Grid.scss → styles/Grid.scss} +0 -0
- /package/src/components/{tables/table → table}/LoadingComponent.tsx +0 -0
- /package/src/components/{tables/table → table}/Table.mdx +0 -0
- /package/src/components/{tables/table → table}/Table.stories.tsx +0 -0
- /package/src/components/{tables/table → table}/Table.tsx +0 -0
- /package/src/components/{tables/table → table}/sampleData.ts +0 -0
- /package/src/components/{tables/table → table/styles}/Table.scss +0 -0
- /package/src/components/{tables/table → table/styles}/_variables.scss +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { Icon } from './Icon';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MouseEventHandler } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { PermafrostComponent, IconName } from '../../types';
|
|
3
3
|
export type IconSizes = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
4
|
export type IconProps = PermafrostComponent & {
|
|
5
5
|
name: IconName;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Table } from './Table';
|
package/lib/src/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ declare const meta: {
|
|
|
6
6
|
onChange: any;
|
|
7
7
|
value: boolean;
|
|
8
8
|
"aria-label"?: string;
|
|
9
|
-
iconSize?: import("../../../
|
|
9
|
+
iconSize?: import("../../../types").IconSizes;
|
|
10
10
|
checkedIconName?: import("../../../types").IconName;
|
|
11
11
|
notCheckedIconName?: import("../../../types").IconName;
|
|
12
12
|
} & import("../../../types").PermafrostComponent) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DateRange } from 'react-day-picker';
|
|
2
|
-
import { IconName, PermafrostComponent } from '@/types';
|
|
3
|
-
import { IconSizes } from '@/components/icons/types';
|
|
2
|
+
import { IconName, IconSizes, PermafrostComponent } from '@/types';
|
|
4
3
|
type Props = PermafrostComponent & {
|
|
5
4
|
ariaLabel?: string;
|
|
6
5
|
disableBeforeDate?: Date;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { PermafrostComponent } from '@/types';
|
|
3
|
-
import { IconSizes } from '@/components/icons/types';
|
|
2
|
+
import { PermafrostComponent, IconSizes } from '@/types';
|
|
4
3
|
type Props = PermafrostComponent & {
|
|
5
4
|
ariaLabel?: string;
|
|
6
5
|
size?: IconSizes;
|
package/lib/src/types.d.ts
CHANGED
|
@@ -8,3 +8,5 @@ export type ButtonVariant = 'default' | 'primary' | 'destructive';
|
|
|
8
8
|
export type ButtonSize = 'normal' | 'large';
|
|
9
9
|
import { IconName } from '../build/generated/iconTypes';
|
|
10
10
|
export type { IconName };
|
|
11
|
+
import { IconSizes } from './components/icons/types';
|
|
12
|
+
export type { IconSizes };
|
package/package.json
CHANGED
package/rollup.config.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Canvas, Meta, Controls, Story } from '@storybook/blocks';
|
|
2
2
|
import * as ButtonStories from './Button.stories';
|
|
3
|
-
import { Col, Row } from '
|
|
3
|
+
import { Col, Row } from '@/components';
|
|
4
4
|
|
|
5
5
|
<Meta title="Components/Button" name="Button Docs" of={ButtonStories} />
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { Button } from '
|
|
2
|
+
import { Button } from '@/components';
|
|
3
3
|
const exampleIcons = ['fa-check', 'fa-times']; // TODO -- get ALL icons
|
|
4
4
|
|
|
5
5
|
const meta: Meta = {
|
|
@@ -18,7 +18,7 @@ const meta: Meta = {
|
|
|
18
18
|
table: {
|
|
19
19
|
category: 'Styling',
|
|
20
20
|
type: {
|
|
21
|
-
summary:
|
|
21
|
+
summary: 'solid | outline | text',
|
|
22
22
|
},
|
|
23
23
|
defaultValue: { summary: 'solid' },
|
|
24
24
|
},
|
|
@@ -30,7 +30,7 @@ const meta: Meta = {
|
|
|
30
30
|
table: {
|
|
31
31
|
category: 'Styling',
|
|
32
32
|
type: {
|
|
33
|
-
summary:
|
|
33
|
+
summary: 'primary | secondary | warning | error | success | info',
|
|
34
34
|
},
|
|
35
35
|
defaultValue: { summary: 'primary' }, // replace 'default' with your actual default color
|
|
36
36
|
},
|
|
@@ -43,7 +43,7 @@ const meta: Meta = {
|
|
|
43
43
|
table: {
|
|
44
44
|
category: 'Styling',
|
|
45
45
|
type: {
|
|
46
|
-
summary:
|
|
46
|
+
summary: 'sm | md | lg',
|
|
47
47
|
},
|
|
48
48
|
},
|
|
49
49
|
},
|
|
@@ -51,7 +51,7 @@ const meta: Meta = {
|
|
|
51
51
|
table: {
|
|
52
52
|
category: 'accessibility',
|
|
53
53
|
type: {
|
|
54
|
-
summary:
|
|
54
|
+
summary: 'button | submit | reset',
|
|
55
55
|
},
|
|
56
56
|
},
|
|
57
57
|
description: 'It sets the type for the button.',
|
|
@@ -66,7 +66,7 @@ const meta: Meta = {
|
|
|
66
66
|
category: 'Styling',
|
|
67
67
|
defaultValue: { summary: 'left' },
|
|
68
68
|
type: {
|
|
69
|
-
summary:
|
|
69
|
+
summary: 'left | right',
|
|
70
70
|
},
|
|
71
71
|
},
|
|
72
72
|
control: 'select',
|
|
@@ -117,7 +117,7 @@ const meta: Meta = {
|
|
|
117
117
|
isLoading: {
|
|
118
118
|
control: 'boolean',
|
|
119
119
|
table: {
|
|
120
|
-
type: { summary: 'true | false'
|
|
120
|
+
type: { summary: 'true | false' },
|
|
121
121
|
category: 'Styling',
|
|
122
122
|
},
|
|
123
123
|
defaultValue: { summary: false },
|
|
@@ -127,7 +127,7 @@ const meta: Meta = {
|
|
|
127
127
|
isDisabled: {
|
|
128
128
|
control: 'boolean',
|
|
129
129
|
table: {
|
|
130
|
-
type: { summary: 'true | false'
|
|
130
|
+
type: { summary: 'true | false' },
|
|
131
131
|
category: 'Styling',
|
|
132
132
|
},
|
|
133
133
|
defaultValue: { summary: false },
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { Col } from '../col/Col';
|
|
3
2
|
import { Container, Row } from 'react-grid-system';
|
|
4
|
-
import '@/components
|
|
3
|
+
import { Col } from '@/components';
|
|
5
4
|
|
|
6
5
|
const meta: Meta = {
|
|
7
6
|
title: 'remove/grid/col',
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { Container } from '
|
|
3
|
-
import { Row } from '../row/Row';
|
|
4
|
-
import { Col } from '../col/Col';
|
|
2
|
+
import { Container, Row, Col } from '@/components';
|
|
5
3
|
|
|
6
4
|
const meta: Meta = {
|
|
7
5
|
title: 'remove/grid/container',
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { Row } from '
|
|
3
|
-
import { Col } from '../col/Col';
|
|
4
|
-
import { Container } from 'react-grid-system';
|
|
2
|
+
import { Row, Col, Container } from '@/components';
|
|
5
3
|
|
|
6
4
|
const meta: Meta = {
|
|
7
5
|
title: 'remove/grid/row',
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
2
|
import { Meta, StoryObj } from '@storybook/react';
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
import { Icon, Row, Col, Button } from '@/components';
|
|
4
5
|
import { IconProps, IconSizes } from './types';
|
|
5
6
|
|
|
6
|
-
import { Row, Col } from '../grid/';
|
|
7
|
-
import { Button } from '../button';
|
|
8
7
|
import { iconNames } from 'build/generated/iconTypes';
|
|
9
8
|
|
|
10
9
|
const meta: Meta = {
|
|
@@ -12,7 +12,7 @@ const kebabToCamel = (str?: string) => {
|
|
|
12
12
|
return str.replace(/-./g, (match) => match.charAt(1).toUpperCase());
|
|
13
13
|
};
|
|
14
14
|
|
|
15
|
-
const Icon
|
|
15
|
+
export const Icon = ({ name, size = 'md', className, ariaLabel, ...props }: IconProps) => {
|
|
16
16
|
const camelCaseName = kebabToCamel(name);
|
|
17
17
|
const faIcon = solidIcons[camelCaseName as keyof typeof solidIcons] as IconDefinition | undefined;
|
|
18
18
|
const customIcon = indicons[name as keyof typeof indicons];
|
|
@@ -41,5 +41,3 @@ const Icon: React.FC<IconProps> = ({ name, size = 'md', className, ariaLabel, ..
|
|
|
41
41
|
})
|
|
42
42
|
);
|
|
43
43
|
};
|
|
44
|
-
|
|
45
|
-
export default Icon;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { Icon } from './Icon';
|
package/src/components/index.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Table } from './Table';
|
package/src/index.ts
CHANGED
|
@@ -60,3 +60,4 @@ export { numberUtils, stringUtils, colorUtils } from './legacy/utils';
|
|
|
60
60
|
export { Container, Row, Col } from './components/grid';
|
|
61
61
|
export { Button } from './components/button';
|
|
62
62
|
export { Icon } from './components/icons';
|
|
63
|
+
export { Table } from './components/table';
|
|
@@ -3,10 +3,8 @@
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
|
|
5
5
|
import { numberUtils } from '@/legacy/utils';
|
|
6
|
-
|
|
7
|
-
import {
|
|
8
|
-
import { Button } from '@/legacy/components/buttons';
|
|
9
|
-
import { Icon } from '@/components/icons';
|
|
6
|
+
import { BorderSelect, Button } from '@/legacy/components';
|
|
7
|
+
import { Icon } from '@/components';
|
|
10
8
|
|
|
11
9
|
import { StyledHeader } from './Header.styles';
|
|
12
10
|
|
|
@@ -5,7 +5,7 @@ import { Button } from '@/legacy/components';
|
|
|
5
5
|
|
|
6
6
|
import { ListTable } from './ListTable';
|
|
7
7
|
import { mockUserHeaders, mockDocProcHeaders, mockAllUsers, mockDocProcReport } from './mock-data';
|
|
8
|
-
import { Icon } from '@/components
|
|
8
|
+
import { Icon } from '@/components';
|
|
9
9
|
|
|
10
10
|
const meta = {
|
|
11
11
|
component: ListTable,
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
|
|
6
|
-
import { Icon } from '@/components
|
|
7
|
-
import { PermafrostComponent, IconName } from '@/types';
|
|
6
|
+
import { Icon } from '@/components';
|
|
7
|
+
import { PermafrostComponent, IconName, IconSizes } from '@/types';
|
|
8
8
|
import { StyledToggle } from './Toggle.styles';
|
|
9
|
-
import { IconSizes } from '@/components/icons/types';
|
|
10
9
|
|
|
11
10
|
type Props = {
|
|
12
11
|
disabled: boolean;
|
|
@@ -4,7 +4,7 @@ import React, { useState } from 'react';
|
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
|
|
6
6
|
import { IconName } from '@/types';
|
|
7
|
-
import { Icon } from '@/components
|
|
7
|
+
import { Icon } from '@/components';
|
|
8
8
|
import { BorderSelect } from '@/legacy/components/dropdowns';
|
|
9
9
|
|
|
10
10
|
import { StyledSectionTable } from './SectionTable.styles';
|
|
@@ -8,7 +8,7 @@ import { AriaButtonProps } from '@react-types/button';
|
|
|
8
8
|
|
|
9
9
|
import { SPACING } from '@/legacy/tokens';
|
|
10
10
|
import { IconName, PermafrostComponent } from '@/types';
|
|
11
|
-
import { Icon } from '@/components
|
|
11
|
+
import { Icon } from '@/components';
|
|
12
12
|
import { CircleSpinner } from '@/legacy/components';
|
|
13
13
|
import { ButtonSize, IconButtonVariant } from '../types';
|
|
14
14
|
|
|
@@ -4,7 +4,7 @@ import React from 'react';
|
|
|
4
4
|
import { v4 as uuid } from 'uuid';
|
|
5
5
|
import classNames from 'classnames';
|
|
6
6
|
|
|
7
|
-
import { Icon } from '@/components
|
|
7
|
+
import { Icon } from '@/components';
|
|
8
8
|
import { PermafrostComponent } from '@/types';
|
|
9
9
|
|
|
10
10
|
import { StyledSelect, StyledValidationError } from './BorderSelect.styles';
|
|
@@ -4,7 +4,7 @@ import React from 'react';
|
|
|
4
4
|
import { components } from 'react-select';
|
|
5
5
|
|
|
6
6
|
import { PermafrostComponent } from '@/types';
|
|
7
|
-
import { Icon } from '@/components
|
|
7
|
+
import { Icon } from '@/components';
|
|
8
8
|
import { addCustomProps } from '../utils';
|
|
9
9
|
import type { ComboboxProps, ComboboxOption } from '../types';
|
|
10
10
|
|
|
@@ -8,7 +8,7 @@ import classNames from 'classnames';
|
|
|
8
8
|
|
|
9
9
|
import { stringUtils } from '@/legacy/utils';
|
|
10
10
|
|
|
11
|
-
import { Icon } from '@/components
|
|
11
|
+
import { Icon } from '@/components';
|
|
12
12
|
import { PermafrostComponent } from '@/types';
|
|
13
13
|
|
|
14
14
|
import { StyledEditableInput } from './EditableInput.styles';
|
|
@@ -11,11 +11,10 @@ import {
|
|
|
11
11
|
DateRange,
|
|
12
12
|
} from 'react-day-picker';
|
|
13
13
|
import { usePopper } from 'react-popper';
|
|
14
|
-
import { IconName, PermafrostComponent } from '@/types';
|
|
15
|
-
import { Icon } from '@/components
|
|
14
|
+
import { IconName, IconSizes, PermafrostComponent } from '@/types';
|
|
15
|
+
import { Icon } from '@/components';
|
|
16
16
|
|
|
17
17
|
import { StyledNoInputDatePicker } from './NoInputDatePicker.styles';
|
|
18
|
-
import { IconSizes } from '@/components/icons/types';
|
|
19
18
|
|
|
20
19
|
type Props = PermafrostComponent & {
|
|
21
20
|
ariaLabel?: string;
|
|
@@ -5,7 +5,7 @@ import classNames from 'classnames';
|
|
|
5
5
|
import { v4 as uuid } from 'uuid';
|
|
6
6
|
|
|
7
7
|
import { Button } from '@/legacy/components/buttons';
|
|
8
|
-
import { Icon } from '@/components
|
|
8
|
+
import { Icon } from '@/components';
|
|
9
9
|
import { PermafrostComponent } from '@/types';
|
|
10
10
|
|
|
11
11
|
import { StyledNumberField } from './NumberInput.styles';
|
|
@@ -17,7 +17,7 @@ type Story = StoryObj<typeof SearchInput>;
|
|
|
17
17
|
export const Base: Story = {};
|
|
18
18
|
|
|
19
19
|
export const Border: Story = {
|
|
20
|
-
args: {
|
|
20
|
+
args: { inputBorder: true },
|
|
21
21
|
};
|
|
22
22
|
|
|
23
23
|
export const SearchIcon: Story = {
|
|
@@ -25,7 +25,7 @@ export const SearchIcon: Story = {
|
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
export const BorderAndSearchIcon: Story = {
|
|
28
|
-
args: {
|
|
28
|
+
args: { inputBorder: true, showSearchIcon: true },
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
export const ClearInputIcon: Story = {
|
|
@@ -33,5 +33,5 @@ export const ClearInputIcon: Story = {
|
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
export const ClearInputIconWithBorder: Story = {
|
|
36
|
-
args: { showClearInputIcon: true,
|
|
36
|
+
args: { showClearInputIcon: true, inputBorder: true },
|
|
37
37
|
};
|
|
@@ -4,7 +4,7 @@ import React from 'react';
|
|
|
4
4
|
import { v4 as uuid } from 'uuid';
|
|
5
5
|
import classNames from 'classnames';
|
|
6
6
|
|
|
7
|
-
import { Icon } from '@/components
|
|
7
|
+
import { Icon } from '@/components';
|
|
8
8
|
import { PermafrostComponent } from '@/types';
|
|
9
9
|
|
|
10
10
|
import { StyledSearchField } from './SearchInput.styles';
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
|
|
5
|
-
import { Icon } from '@/components
|
|
6
|
-
import { PermafrostComponent } from '@/types';
|
|
7
|
-
import { IconSizes } from '@/components/icons/types';
|
|
5
|
+
import { Icon } from '@/components';
|
|
6
|
+
import { PermafrostComponent, IconSizes } from '@/types';
|
|
8
7
|
|
|
9
8
|
type Props = PermafrostComponent & {
|
|
10
9
|
ariaLabel?: string;
|
|
@@ -4,7 +4,7 @@ import React from 'react';
|
|
|
4
4
|
import { Link } from 'react-router-dom';
|
|
5
5
|
|
|
6
6
|
import { Button } from '@/legacy/components/buttons';
|
|
7
|
-
import { Icon } from '@/components
|
|
7
|
+
import { Icon } from '@/components';
|
|
8
8
|
import { PermafrostComponent } from '@/types';
|
|
9
9
|
|
|
10
10
|
import { StyledShrug } from './Shrug.styles';
|
package/src/styles/index.scss
CHANGED
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
// Components
|
|
5
5
|
@import '../components/button/styles/Button.scss';
|
|
6
6
|
@import '../components/icons/styles/Icon.scss';
|
|
7
|
-
@import '../components/
|
|
7
|
+
@import '../components/grid/styles/Grid.scss';
|
|
8
|
+
@import '../components/table/styles/Table.scss';
|
|
8
9
|
|
|
9
10
|
@import 'typography';
|
|
10
11
|
@import 'colors';
|
package/src/types.ts
CHANGED
package/webpack.config.js
CHANGED
|
@@ -34,16 +34,23 @@ module.exports = {
|
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
test: /\.scss$/,
|
|
37
|
-
use: [
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
use: [
|
|
38
|
+
'style-loader',
|
|
39
|
+
{
|
|
40
|
+
loader: 'css-loader',
|
|
41
|
+
options: {
|
|
42
|
+
modules: false,
|
|
43
|
+
},
|
|
41
44
|
},
|
|
42
|
-
|
|
45
|
+
'sass-loader',
|
|
46
|
+
],
|
|
43
47
|
},
|
|
44
48
|
],
|
|
45
49
|
},
|
|
46
50
|
resolve: {
|
|
51
|
+
alias: {
|
|
52
|
+
'@': path.resolve(__dirname, 'src'),
|
|
53
|
+
},
|
|
47
54
|
extensions: ['.mjs', '.js', '.cjs', '.jsx', '.tsx', '.ts', '.mdx'],
|
|
48
55
|
modules: ['node_modules'],
|
|
49
56
|
},
|
|
@@ -54,4 +61,4 @@ module.exports = {
|
|
|
54
61
|
'react-select': 'react-select',
|
|
55
62
|
'styled-components': 'styled-components',
|
|
56
63
|
},
|
|
57
|
-
};
|
|
64
|
+
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Table } from './table';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Table } from './table';
|