@foi/design-system 0.0.17 → 0.0.19
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 +658 -63
- package/dist/{DatePicker.utils-ytCEcs6T.js → DatePicker.utils-BAUVa26Q.js} +2 -2
- package/dist/{DatePicker.utils-ytCEcs6T.js.map → DatePicker.utils-BAUVa26Q.js.map} +1 -1
- package/dist/{emotion-react-jsx-runtime.browser.esm-Ch-DwUYg.js → IconButton-C3x-E-ot.js} +458 -248
- package/dist/IconButton-C3x-E-ot.js.map +1 -0
- package/dist/{RadioGroup-DzEJw4WJ.js → RadioGroup-Cvt9MtvM.js} +71 -71
- package/dist/{RadioGroup-DzEJw4WJ.js.map → RadioGroup-Cvt9MtvM.js.map} +1 -1
- package/dist/RadioGroup.context-v_CCYB7_.js +392 -0
- package/dist/RadioGroup.context-v_CCYB7_.js.map +1 -0
- package/dist/{Switch-oAVuMb0V.js → Switch-6eNmT34-.js} +315 -315
- package/dist/{Switch-oAVuMb0V.js.map → Switch-6eNmT34-.js.map} +1 -1
- package/dist/{ThemeProvider-C47pyWG6.js → ThemeProvider-C_PzAJz3.js} +11 -6
- package/dist/{ThemeProvider-C47pyWG6.js.map → ThemeProvider-C_PzAJz3.js.map} +1 -1
- package/dist/Toast-_9W7YGxS.js +146 -0
- package/dist/Toast-_9W7YGxS.js.map +1 -0
- package/dist/atoms.mjs +4 -3
- package/dist/components/atoms/Button/Button.interface.d.ts +1 -1
- package/dist/components/atoms/Checkbox/Checkbox.interface.d.ts +3 -3
- package/dist/components/atoms/Chip/Chip.d.ts +4 -0
- package/dist/components/atoms/Chip/Chip.emotion.d.ts +2 -0
- package/dist/components/atoms/Chip/Chip.interface.d.ts +14 -0
- package/dist/components/atoms/Chip/index.d.ts +5 -0
- package/dist/components/atoms/DatePicker/DatePicker.interface.d.ts +2 -2
- package/dist/components/atoms/DatePicker/DatePickerMenu/DatePickerMenu.interface.d.ts +3 -3
- package/dist/components/atoms/IconButton/IconButton.interface.d.ts +2 -2
- package/dist/components/atoms/NumberField/NumberField.interface.d.ts +2 -2
- package/dist/components/atoms/Radio/Radio.interface.d.ts +2 -2
- package/dist/components/atoms/Select/Select.interface.d.ts +2 -2
- package/dist/components/atoms/Select/SelectMenu/SelectMenu.interface.d.ts +1 -1
- package/dist/components/atoms/Slider/Slider.interface.d.ts +4 -4
- package/dist/components/atoms/Switch/Switch.interface.d.ts +1 -1
- package/dist/components/atoms/TextField/TextField.interface.d.ts +2 -2
- package/dist/components/molecules/CheckboxGroup/CheckboxGroup.interface.d.ts +2 -2
- package/dist/components/molecules/CheckboxTree/CheckboxTree.interface.d.ts +2 -2
- package/dist/components/molecules/Modal/Modal.interface.d.ts +4 -4
- package/dist/components/molecules/RadioGroup/RadioGroup.interface.d.ts +2 -2
- package/dist/components/molecules/Toast/Toast.context.d.ts +2 -0
- package/dist/components/molecules/Toast/Toast.d.ts +4 -0
- package/dist/components/molecules/Toast/Toast.emotion.d.ts +4 -0
- package/dist/components/molecules/Toast/Toast.hook.d.ts +1 -0
- package/dist/components/molecules/Toast/Toast.interface.d.ts +33 -0
- package/dist/components/molecules/Toast/Toast.provider.d.ts +3 -0
- package/dist/components/molecules/Toast/index.d.ts +3 -0
- package/dist/components/organisms/DataGrid/DataGrid.interface.d.ts +3 -3
- package/dist/components/organisms/DataGrid/DataGridMenu/DataGridMenu.interface.d.ts +1 -1
- package/dist/hocs/ThemeProvider/ThemeProvider.interface.d.ts +6 -0
- package/dist/hocs/ThemeProvider/components/{Button.d.ts → atoms/Button.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{Checkbox.d.ts → atoms/Checkbox.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/atoms/Chip.d.ts +13 -0
- package/dist/hocs/ThemeProvider/components/{DatePicker.d.ts → atoms/DatePicker.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{DatePickerMenu.d.ts → atoms/DatePickerMenu.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{IconButton.d.ts → atoms/IconButton.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{NumberField.d.ts → atoms/NumberField.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{Pagination.d.ts → atoms/Pagination.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{PaginationMenu.d.ts → atoms/PaginationMenu.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{Radio.d.ts → atoms/Radio.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{Select.d.ts → atoms/Select.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{SelectMenu.d.ts → atoms/SelectMenu.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{Slider.d.ts → atoms/Slider.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{Switch.d.ts → atoms/Switch.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{TextField.d.ts → atoms/TextField.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/index.d.ts +23 -17
- package/dist/hocs/ThemeProvider/components/{CheckboxGroup.d.ts → molecules/CheckboxGroup.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{CheckboxTree.d.ts → molecules/CheckboxTree.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{Modal.d.ts → molecules/Modal.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{RadioGroup.d.ts → molecules/RadioGroup.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/molecules/Toast.d.ts +16 -0
- package/dist/hocs/ThemeProvider/components/{DataGrid.d.ts → organisms/DataGrid.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{DataGridMenu.d.ts → organisms/DataGridMenu.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/interfaces/Components.interface.d.ts +2 -0
- package/dist/hocs.mjs +1 -1
- package/dist/hooks.d.ts +2 -0
- package/dist/hooks.mjs +2 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.mjs +247 -239
- package/dist/index.mjs.map +1 -1
- package/dist/molecules.d.ts +2 -0
- package/dist/molecules.mjs +3 -2
- package/dist/theme/dark/components/atoms/Chip.d.ts +13 -0
- package/dist/theme/dark/components/index.d.ts +287 -266
- package/dist/theme/dark/components/{Modal.d.ts → molecules/Modal.d.ts} +0 -3
- package/dist/theme/dark/components/molecules/Toast.d.ts +17 -0
- package/dist/theme/dark/index.d.ts +287 -266
- package/dist/theme/index.d.ts +287 -266
- package/dist/{theme-D01EcUA9.js → theme-BjrtNRDQ.js} +231 -222
- package/dist/theme-BjrtNRDQ.js.map +1 -0
- package/dist/theme.mjs +1 -1
- package/dist/utilities.mjs +1 -1
- package/package.json +1 -1
- package/dist/RadioGroup.context-Bu218uUX.js +0 -601
- package/dist/RadioGroup.context-Bu218uUX.js.map +0 -1
- package/dist/emotion-react-jsx-runtime.browser.esm-Ch-DwUYg.js.map +0 -1
- package/dist/theme-D01EcUA9.js.map +0 -1
- /package/dist/theme/dark/components/{Button.d.ts → atoms/Button.d.ts} +0 -0
- /package/dist/theme/dark/components/{Checkbox.d.ts → atoms/Checkbox.d.ts} +0 -0
- /package/dist/theme/dark/components/{DatePicker.d.ts → atoms/DatePicker.d.ts} +0 -0
- /package/dist/theme/dark/components/{DatePickerMenu.d.ts → atoms/DatePickerMenu.d.ts} +0 -0
- /package/dist/theme/dark/components/{IconButton.d.ts → atoms/IconButton.d.ts} +0 -0
- /package/dist/theme/dark/components/{NumberField.d.ts → atoms/NumberField.d.ts} +0 -0
- /package/dist/theme/dark/components/{Pagination.d.ts → atoms/Pagination.d.ts} +0 -0
- /package/dist/theme/dark/components/{PaginationMenu.d.ts → atoms/PaginationMenu.d.ts} +0 -0
- /package/dist/theme/dark/components/{Radio.d.ts → atoms/Radio.d.ts} +0 -0
- /package/dist/theme/dark/components/{Select.d.ts → atoms/Select.d.ts} +0 -0
- /package/dist/theme/dark/components/{SelectMenu.d.ts → atoms/SelectMenu.d.ts} +0 -0
- /package/dist/theme/dark/components/{Slider.d.ts → atoms/Slider.d.ts} +0 -0
- /package/dist/theme/dark/components/{Switch.d.ts → atoms/Switch.d.ts} +0 -0
- /package/dist/theme/dark/components/{TextField.d.ts → atoms/TextField.d.ts} +0 -0
- /package/dist/theme/dark/components/{CheckboxGroup.d.ts → molecules/CheckboxGroup.d.ts} +0 -0
- /package/dist/theme/dark/components/{CheckboxTree.d.ts → molecules/CheckboxTree.d.ts} +0 -0
- /package/dist/theme/dark/components/{RadioGroup.d.ts → molecules/RadioGroup.d.ts} +0 -0
- /package/dist/theme/dark/components/{DataGrid.d.ts → organisms/DataGrid.d.ts} +0 -0
- /package/dist/theme/dark/components/{DataGridMenu.d.ts → organisms/DataGridMenu.d.ts} +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Component, Event, StyleValues, Styles } from '../../interfaces';
|
|
2
|
+
export type ENABLED = Pick<Styles, StyleValues.BACKGROUND_COLOR | StyleValues.COLOR_PRIMARY | StyleValues.BORDER_COLOR | StyleValues.BORDER_WIDTH | StyleValues.BORDER_STYLE>;
|
|
3
|
+
export interface EVENTS {
|
|
4
|
+
[Event.ENABLED]?: ENABLED;
|
|
5
|
+
}
|
|
6
|
+
export type CHIP = Record<Component.CHIP, {
|
|
7
|
+
DEFAULT: {
|
|
8
|
+
EVENTS?: EVENTS;
|
|
9
|
+
};
|
|
10
|
+
[variant: string]: {
|
|
11
|
+
EVENTS?: EVENTS;
|
|
12
|
+
};
|
|
13
|
+
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Event, StyleValues, Styles } from '
|
|
1
|
+
import { Component, Event, StyleValues, Styles } from '../../interfaces';
|
|
2
2
|
export type ROOT = Pick<Styles, StyleValues.BORDER_RADIUS>;
|
|
3
3
|
export type ENABLED = Pick<Styles, StyleValues.COLOR_PRIMARY | StyleValues.COLOR_SECONDARY | StyleValues.COLOR_TERTIARY | StyleValues.BACKGROUND_COLOR | StyleValues.BORDER_COLOR | StyleValues.BORDER_WIDTH | StyleValues.BORDER_STYLE | StyleValues.ICON_COLOR>;
|
|
4
4
|
export type VALUE = ENABLED;
|
package/dist/hocs/ThemeProvider/components/{DatePickerMenu.d.ts → atoms/DatePickerMenu.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Event, StyleValues, Styles } from '
|
|
1
|
+
import { Component, Event, StyleValues, Styles } from '../../interfaces';
|
|
2
2
|
export type ROOT = Pick<Styles, StyleValues.BACKGROUND_COLOR | StyleValues.BORDER_RADIUS>;
|
|
3
3
|
export type ENABLED = Pick<Styles, StyleValues.COLOR_PRIMARY | StyleValues.COLOR_SECONDARY | StyleValues.ICON_COLOR | StyleValues.BACKGROUND_COLOR>;
|
|
4
4
|
export type HOVER = Pick<Styles, StyleValues.COLOR_PRIMARY | StyleValues.BACKGROUND_COLOR>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Event, StyleValues, Styles } from '
|
|
1
|
+
import { Component, Event, StyleValues, Styles } from '../../interfaces';
|
|
2
2
|
export type ROOT = Pick<Styles, StyleValues.BORDER_RADIUS>;
|
|
3
3
|
export type ENABLED = Pick<Styles, StyleValues.COLOR_PRIMARY | StyleValues.COLOR_SECONDARY | StyleValues.ICON_COLOR | StyleValues.ICON_BACKGROUND_COLOR | StyleValues.BACKGROUND_COLOR | StyleValues.BORDER_COLOR | StyleValues.BORDER_WIDTH | StyleValues.BORDER_STYLE>;
|
|
4
4
|
export type VALUE = ENABLED;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Event, StyleValues, Styles } from '
|
|
1
|
+
import { Component, Event, StyleValues, Styles } from '../../interfaces';
|
|
2
2
|
export type ROOT = Pick<Styles, StyleValues.BORDER_RADIUS>;
|
|
3
3
|
export type ENABLED = Pick<Styles, StyleValues.COLOR_PRIMARY | StyleValues.COLOR_SECONDARY | StyleValues.COLOR_TERTIARY | StyleValues.BACKGROUND_COLOR | StyleValues.BORDER_COLOR | StyleValues.BORDER_WIDTH | StyleValues.BORDER_STYLE>;
|
|
4
4
|
export type VALUE = ENABLED;
|
package/dist/hocs/ThemeProvider/components/{PaginationMenu.d.ts → atoms/PaginationMenu.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Event, StyleValues, Styles } from '
|
|
1
|
+
import { Component, Event, StyleValues, Styles } from '../../interfaces';
|
|
2
2
|
export type ROOT = Pick<Styles, StyleValues.BACKGROUND_COLOR | StyleValues.BORDER_COLOR | StyleValues.BORDER_WIDTH | StyleValues.BORDER_STYLE | StyleValues.BORDER_RADIUS | StyleValues.BOTTOM>;
|
|
3
3
|
export type ENABLED = Pick<Styles, StyleValues.BACKGROUND_COLOR | StyleValues.COLOR_PRIMARY | StyleValues.COLOR_SECONDARY | StyleValues.COLOR_TERTIARY | StyleValues.BORDER_COLOR | StyleValues.BORDER_WIDTH | StyleValues.BORDER_STYLE | StyleValues.BORDER_RADIUS>;
|
|
4
4
|
export type VALUE = ENABLED;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Event, StyleValues, Styles } from '
|
|
1
|
+
import { Component, Event, StyleValues, Styles } from '../../interfaces';
|
|
2
2
|
export type ROOT = Pick<Styles, StyleValues.BORDER_RADIUS>;
|
|
3
3
|
export type ENABLED = Pick<Styles, StyleValues.COLOR_PRIMARY | StyleValues.COLOR_SECONDARY | StyleValues.ICON_COLOR | StyleValues.BACKGROUND_COLOR | StyleValues.BORDER_COLOR | StyleValues.BORDER_WIDTH | StyleValues.BORDER_STYLE>;
|
|
4
4
|
export type VALUE = ENABLED;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Event, StyleValues, Styles } from '
|
|
1
|
+
import { Component, Event, StyleValues, Styles } from '../../interfaces';
|
|
2
2
|
export type ROOT = Pick<Styles, StyleValues.BORDER_RADIUS>;
|
|
3
3
|
export type ENABLED = Pick<Styles, StyleValues.COLOR_PRIMARY | StyleValues.COLOR_SECONDARY | StyleValues.COLOR_TERTIARY | StyleValues.BACKGROUND_COLOR | StyleValues.BORDER_COLOR | StyleValues.BORDER_WIDTH | StyleValues.BORDER_STYLE>;
|
|
4
4
|
export type VALUE = ENABLED;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Event, StyleValues, Styles } from '
|
|
1
|
+
import { Component, Event, StyleValues, Styles } from '../../interfaces';
|
|
2
2
|
export type ROOT = Pick<Styles, StyleValues.BACKGROUND_COLOR | StyleValues.BORDER_COLOR | StyleValues.BORDER_WIDTH | StyleValues.BORDER_STYLE | StyleValues.BORDER_RADIUS | StyleValues.TOP>;
|
|
3
3
|
export type ENABLED = Pick<Styles, StyleValues.BACKGROUND_COLOR | StyleValues.COLOR_PRIMARY | StyleValues.COLOR_SECONDARY | StyleValues.COLOR_TERTIARY | StyleValues.BORDER_COLOR | StyleValues.BORDER_WIDTH | StyleValues.BORDER_STYLE | StyleValues.BORDER_RADIUS>;
|
|
4
4
|
export type VALUE = ENABLED;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Event, StyleValues, Styles } from '
|
|
1
|
+
import { Component, Event, StyleValues, Styles } from '../../interfaces';
|
|
2
2
|
export type ENABLED = Pick<Styles, StyleValues.ICON_COLOR | StyleValues.ICON_BACKGROUND_COLOR | StyleValues.BACKGROUND_COLOR | StyleValues.COLOR_SECONDARY | StyleValues.BORDER_COLOR | StyleValues.BORDER_WIDTH | StyleValues.BORDER_STYLE>;
|
|
3
3
|
export type VALUE = Pick<Styles, StyleValues.BACKGROUND_COLOR>;
|
|
4
4
|
export type HOVER = Pick<Styles, StyleValues.BACKGROUND_COLOR>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Event, StyleValues, Styles } from '
|
|
1
|
+
import { Component, Event, StyleValues, Styles } from '../../interfaces';
|
|
2
2
|
export type ROOT = Pick<Styles, StyleValues.BORDER_RADIUS>;
|
|
3
3
|
export type ENABLED = Pick<Styles, StyleValues.COLOR_PRIMARY | StyleValues.COLOR_SECONDARY | StyleValues.ICON_COLOR | StyleValues.ICON_BACKGROUND_COLOR | StyleValues.BACKGROUND_COLOR | StyleValues.BORDER_COLOR | StyleValues.BORDER_WIDTH | StyleValues.BORDER_STYLE>;
|
|
4
4
|
export type VALUE = ENABLED;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Event, StyleValues, Styles } from '
|
|
1
|
+
import { Component, Event, StyleValues, Styles } from '../../interfaces';
|
|
2
2
|
export type ROOT = Pick<Styles, StyleValues.BORDER_RADIUS>;
|
|
3
3
|
export type ENABLED = Pick<Styles, StyleValues.COLOR_PRIMARY | StyleValues.COLOR_SECONDARY | StyleValues.COLOR_TERTIARY | StyleValues.BACKGROUND_COLOR | StyleValues.BORDER_COLOR | StyleValues.BORDER_WIDTH | StyleValues.BORDER_STYLE>;
|
|
4
4
|
export type VALUE = ENABLED;
|
|
@@ -1,18 +1,24 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
6
|
-
import type {
|
|
7
|
-
import type {
|
|
8
|
-
import type {
|
|
9
|
-
import type {
|
|
10
|
-
import type {
|
|
11
|
-
import type {
|
|
12
|
-
import type {
|
|
13
|
-
import type {
|
|
14
|
-
import type {
|
|
15
|
-
import type {
|
|
16
|
-
import type {
|
|
17
|
-
type
|
|
1
|
+
import type { CHIP } from './atoms/Chip';
|
|
2
|
+
import type { BUTTON } from './atoms/Button';
|
|
3
|
+
import type { CHECKBOX } from './atoms/Checkbox';
|
|
4
|
+
import type { DATEPICKER } from './atoms/DatePicker';
|
|
5
|
+
import type { DATEPICKERMENU } from './atoms/DatePickerMenu';
|
|
6
|
+
import type { ICONBUTTON } from './atoms/IconButton';
|
|
7
|
+
import type { NUMBERFIELD } from './atoms/NumberField';
|
|
8
|
+
import type { PAGINATION } from './atoms/Pagination';
|
|
9
|
+
import type { PAGINATIONMENU } from './atoms/PaginationMenu';
|
|
10
|
+
import type { RADIO } from './atoms/Radio';
|
|
11
|
+
import type { SELECT } from './atoms/Select';
|
|
12
|
+
import type { SELECTMENU } from './atoms/SelectMenu';
|
|
13
|
+
import type { SLIDER } from './atoms/Slider';
|
|
14
|
+
import type { SWITCH } from './atoms/Switch';
|
|
15
|
+
import type { TEXTFIELD } from './atoms/TextField';
|
|
16
|
+
import type { CHECKBOXGROUP } from './molecules/CheckboxGroup';
|
|
17
|
+
import type { CHECKBOXTREE } from './molecules/CheckboxTree';
|
|
18
|
+
import type { MODAL } from './molecules/Modal';
|
|
19
|
+
import type { RADIOGROUP } from './molecules/RadioGroup';
|
|
20
|
+
import type { TOAST } from './molecules/Toast';
|
|
21
|
+
import type { DATAGRID } from './organisms/DataGrid';
|
|
22
|
+
import type { DATAGRIDMENU } from './organisms/DataGridMenu';
|
|
23
|
+
type COMPONTENTS = CHIP & BUTTON & CHECKBOX & DATEPICKER & DATEPICKERMENU & ICONBUTTON & NUMBERFIELD & PAGINATION & PAGINATIONMENU & RADIO & SELECT & SELECTMENU & SLIDER & SWITCH & TEXTFIELD & CHECKBOXGROUP & CHECKBOXTREE & MODAL & RADIOGROUP & TOAST & DATAGRID & DATAGRIDMENU;
|
|
18
24
|
export { type COMPONTENTS as default };
|
package/dist/hocs/ThemeProvider/components/{CheckboxGroup.d.ts → molecules/CheckboxGroup.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Event, StyleValues, Styles } from '
|
|
1
|
+
import { Component, Event, StyleValues, Styles } from '../../interfaces';
|
|
2
2
|
export type ENABLED = Pick<Styles, StyleValues.COLOR_PRIMARY | StyleValues.COLOR_SECONDARY>;
|
|
3
3
|
export type ERROR = ENABLED;
|
|
4
4
|
export type DISABLED = ENABLED;
|
package/dist/hocs/ThemeProvider/components/{CheckboxTree.d.ts → molecules/CheckboxTree.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Event, StyleValues, Styles } from '
|
|
1
|
+
import { Component, Event, StyleValues, Styles } from '../../interfaces';
|
|
2
2
|
export type ENABLED = Pick<Styles, StyleValues.COLOR_PRIMARY | StyleValues.COLOR_SECONDARY>;
|
|
3
3
|
export type ERROR = ENABLED;
|
|
4
4
|
export type DISABLED = ENABLED;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Event, StyleValues, Styles } from '
|
|
1
|
+
import { Component, Event, StyleValues, Styles } from '../../interfaces';
|
|
2
2
|
export type ROOT = Pick<Styles, StyleValues.BACKGROUND_COLOR | StyleValues.BORDER_COLOR | StyleValues.BORDER_WIDTH | StyleValues.BORDER_RADIUS | StyleValues.BORDER_STYLE>;
|
|
3
3
|
export type ENABLED = Pick<Styles, StyleValues.COLOR_PRIMARY | StyleValues.COLOR_SECONDARY>;
|
|
4
4
|
export interface EVENTS {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Event, StyleValues, Styles } from '
|
|
1
|
+
import { Component, Event, StyleValues, Styles } from '../../interfaces';
|
|
2
2
|
export type ENABLED = Pick<Styles, StyleValues.COLOR_PRIMARY | StyleValues.COLOR_SECONDARY>;
|
|
3
3
|
export type ERROR = ENABLED;
|
|
4
4
|
export type DISABLED = ENABLED;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Component, Event, StyleValues, Styles } from '../../interfaces';
|
|
2
|
+
export type ROOT = Pick<Styles, StyleValues.BORDER_RADIUS>;
|
|
3
|
+
export type ENABLED = Pick<Styles, StyleValues.BACKGROUND_COLOR | StyleValues.COLOR_PRIMARY | StyleValues.ICON_COLOR | StyleValues.BORDER_COLOR | StyleValues.BORDER_WIDTH | StyleValues.BORDER_STYLE>;
|
|
4
|
+
export interface EVENTS {
|
|
5
|
+
[Event.ENABLED]?: ENABLED;
|
|
6
|
+
}
|
|
7
|
+
export type TOAST = Record<Component.TOAST, {
|
|
8
|
+
DEFAULT: {
|
|
9
|
+
ROOT?: ROOT;
|
|
10
|
+
EVENTS?: EVENTS;
|
|
11
|
+
};
|
|
12
|
+
[variant: string]: {
|
|
13
|
+
ROOT?: ROOT;
|
|
14
|
+
EVENTS?: EVENTS;
|
|
15
|
+
};
|
|
16
|
+
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Event, StyleValues, Styles } from '
|
|
1
|
+
import { Component, Event, StyleValues, Styles } from '../../interfaces';
|
|
2
2
|
export type ROOT = Pick<Styles, StyleValues.BACKGROUND_COLOR | StyleValues.BORDER_COLOR | StyleValues.BORDER_WIDTH | StyleValues.BORDER_RADIUS | StyleValues.BORDER_STYLE>;
|
|
3
3
|
export type ENABLED = Pick<Styles, StyleValues.COLOR_PRIMARY | StyleValues.COLOR_SECONDARY | StyleValues.ICON_COLOR>;
|
|
4
4
|
export type HOVER = Pick<Styles, StyleValues.BACKGROUND_COLOR>;
|
package/dist/hocs/ThemeProvider/components/{DataGridMenu.d.ts → organisms/DataGridMenu.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Event, StyleValues, Styles } from '
|
|
1
|
+
import { Component, Event, StyleValues, Styles } from '../../interfaces';
|
|
2
2
|
export type ROOT = Pick<Styles, StyleValues.BACKGROUND_COLOR | StyleValues.BORDER_COLOR | StyleValues.BORDER_WIDTH | StyleValues.BORDER_RADIUS | StyleValues.BORDER_STYLE>;
|
|
3
3
|
export type ENABLED = Pick<Styles, StyleValues.COLOR_PRIMARY | StyleValues.COLOR_SECONDARY>;
|
|
4
4
|
export type HOVER = Pick<Styles, StyleValues.BACKGROUND_COLOR>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare enum Component {
|
|
2
|
+
CHIP = "CHIP",
|
|
2
3
|
BUTTON = "BUTTON",
|
|
3
4
|
ICONBUTTON = "ICONBUTTON",
|
|
4
5
|
TEXTFIELD = "TEXTFIELD",
|
|
@@ -13,6 +14,7 @@ export declare enum Component {
|
|
|
13
14
|
DATEPICKERMENU = "DATEPICKERMENU",
|
|
14
15
|
PAGINATION = "PAGINATION",
|
|
15
16
|
PAGINATIONMENU = "PAGINATIONMENU",
|
|
17
|
+
TOAST = "TOAST",
|
|
16
18
|
CHECKBOXGROUP = "CHECKBOXGROUP",
|
|
17
19
|
CHECKBOXTREE = "CHECKBOXTREE",
|
|
18
20
|
RADIOGROUP = "RADIOGROUP",
|
package/dist/hocs.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./ThemeProvider-
|
|
1
|
+
import { t as e } from "./ThemeProvider-C_PzAJz3.js";
|
|
2
2
|
export { e as ThemeProvider };
|
package/dist/hooks.d.ts
CHANGED
package/dist/hooks.mjs
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -16,6 +16,8 @@ export type { DataGridProps, DataGridColumn, DataGridColumnType, DataGridFilterT
|
|
|
16
16
|
export { default as CheckboxGroup } from './components/molecules/CheckboxGroup';
|
|
17
17
|
export { default as CheckboxTree } from './components/molecules/CheckboxTree';
|
|
18
18
|
export { default as Modal } from './components/molecules/Modal';
|
|
19
|
+
export { ToastProvider } from './components/molecules/Toast';
|
|
20
|
+
export type { ToastApi, ToastOptions } from './components/molecules/Toast';
|
|
19
21
|
export { default as Pagination } from './components/atoms/Pagination';
|
|
20
22
|
export type { PaginationProps } from './components/atoms/Pagination';
|
|
21
23
|
export { default as RadioGroup } from './components/molecules/RadioGroup';
|