@lunit/design-system 1.0.0-a.1
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 +34 -0
- package/dist/components/Alert/Alert.d.ts +2 -0
- package/dist/components/Alert/index.d.ts +1 -0
- package/dist/components/Alert/index.js +2 -0
- package/dist/components/Alert/index.js.map +1 -0
- package/dist/components/Button/Button.d.ts +3 -0
- package/dist/components/Button/Button.styled.d.ts +890 -0
- package/dist/components/Button/Button.types.d.ts +19 -0
- package/dist/components/Button/const.d.ts +2 -0
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/Button/index.js +2 -0
- package/dist/components/Button/index.js.map +1 -0
- package/dist/components/Button/utils/getButtonPaddingBySizeAndKind.d.ts +10 -0
- package/dist/components/Button/utils/getIconButtonPaddingBySizeAndKind.d.ts +10 -0
- package/dist/components/Checkbox/Checkbox.d.ts +3 -0
- package/dist/components/Checkbox/index.d.ts +1 -0
- package/dist/components/Checkbox/index.js +2 -0
- package/dist/components/Checkbox/index.js.map +1 -0
- package/dist/components/Chip/Chip.d.ts +3 -0
- package/dist/components/Chip/Chip.styled.d.ts +41 -0
- package/dist/components/Chip/Chip.types.d.ts +37 -0
- package/dist/components/Chip/consts.d.ts +7 -0
- package/dist/components/Chip/index.d.ts +1 -0
- package/dist/components/Chip/index.js +2 -0
- package/dist/components/Chip/index.js.map +1 -0
- package/dist/components/DataTable/DataTable.d.ts +2 -0
- package/dist/components/DataTable/index.d.ts +1 -0
- package/dist/components/DataTable/index.js +2 -0
- package/dist/components/DataTable/index.js.map +1 -0
- package/dist/components/DatePicker/DatePicker.d.ts +2 -0
- package/dist/components/DatePicker/index.d.ts +1 -0
- package/dist/components/DatePicker/index.js +2 -0
- package/dist/components/DatePicker/index.js.map +1 -0
- package/dist/components/Dropdown/Dropdown.d.ts +2 -0
- package/dist/components/Dropdown/index.d.ts +1 -0
- package/dist/components/Dropdown/index.js +2 -0
- package/dist/components/Dropdown/index.js.map +1 -0
- package/dist/components/FormLabel/FormLabel.d.ts +3 -0
- package/dist/components/FormLabel/FormLabel.styled.d.ts +1 -0
- package/dist/components/FormLabel/index.d.ts +1 -0
- package/dist/components/FormLabel/index.js +2 -0
- package/dist/components/FormLabel/index.js.map +1 -0
- package/dist/components/HelloWorld/HelloWorld.d.ts +28 -0
- package/dist/components/Modal/Modal.d.ts +2 -0
- package/dist/components/Modal/index.d.ts +1 -0
- package/dist/components/Modal/index.js +2 -0
- package/dist/components/Modal/index.js.map +1 -0
- package/dist/components/Radio/Radio.d.ts +3 -0
- package/dist/components/Radio/index.d.ts +1 -0
- package/dist/components/Radio/index.js +2 -0
- package/dist/components/Radio/index.js.map +1 -0
- package/dist/components/RadioGroup/index.d.ts +2 -0
- package/dist/components/RadioGroup/index.js +2 -0
- package/dist/components/RadioGroup/index.js.map +1 -0
- package/dist/components/TextField/TextField.d.ts +2 -0
- package/dist/components/TextField/index.d.ts +1 -0
- package/dist/components/TextField/index.js +2 -0
- package/dist/components/TextField/index.js.map +1 -0
- package/dist/components/Toggle/Toggle.d.ts +3 -0
- package/dist/components/Toggle/Toggle.styled.d.ts +7 -0
- package/dist/components/Toggle/Toggle.types.d.ts +13 -0
- package/dist/components/Toggle/index.d.ts +1 -0
- package/dist/components/Toggle/index.js +2 -0
- package/dist/components/Toggle/index.js.map +1 -0
- package/dist/components/ToggleButton/ToggleButton.d.ts +3 -0
- package/dist/components/ToggleButton/ToggleButton.styled.d.ts +39 -0
- package/dist/components/ToggleButton/ToggleButton.types.d.ts +20 -0
- package/dist/components/ToggleButton/index.d.ts +1 -0
- package/dist/components/ToggleButton/index.js +2 -0
- package/dist/components/ToggleButton/index.js.map +1 -0
- package/dist/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +3 -0
- package/dist/components/ToggleButtonGroup/index.d.ts +1 -0
- package/dist/components/Tooltip/Tooltip.d.ts +2 -0
- package/dist/components/Tooltip/index.d.ts +1 -0
- package/dist/components/Tooltip/index.js +2 -0
- package/dist/components/Tooltip/index.js.map +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/foundation/Elevation/index.d.ts +65 -0
- package/dist/foundation/Elevation/utils.d.ts +2 -0
- package/dist/foundation/Typography/index.d.ts +93 -0
- package/dist/foundation/Typography/tokens.d.ts +57 -0
- package/dist/foundation/colors/base/blue.d.ts +24 -0
- package/dist/foundation/colors/base/green.d.ts +24 -0
- package/dist/foundation/colors/base/grey.d.ts +35 -0
- package/dist/foundation/colors/base/index.d.ts +11 -0
- package/dist/foundation/colors/base/lunitGreen.d.ts +24 -0
- package/dist/foundation/colors/base/lunitTeal.d.ts +24 -0
- package/dist/foundation/colors/base/magenta.d.ts +24 -0
- package/dist/foundation/colors/base/opacity.d.ts +6 -0
- package/dist/foundation/colors/base/orange.d.ts +24 -0
- package/dist/foundation/colors/base/purple.d.ts +24 -0
- package/dist/foundation/colors/base/red.d.ts +24 -0
- package/dist/foundation/colors/base/yellow.d.ts +24 -0
- package/dist/foundation/colors/index.d.ts +155 -0
- package/dist/foundation/colors/token/component.d.ts +7 -0
- package/dist/foundation/colors/token/core.d.ts +5 -0
- package/dist/foundation/colors/token/index.d.ts +2 -0
- package/dist/foundation/colors/token/types.d.ts +8 -0
- package/dist/foundation/colors/types.d.ts +86 -0
- package/dist/foundation/index.d.ts +111 -0
- package/dist/foundation/spacing.d.ts +2 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/theme.d.ts +2 -0
- package/package.json +86 -0
- package/tsconfig.build.json +18 -0
- package/tsconfig.json +17 -0
- package/webpack.config.js +51 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const lunitTeal: {
|
|
2
|
+
5: string;
|
|
3
|
+
10: string;
|
|
4
|
+
20: string;
|
|
5
|
+
30: string;
|
|
6
|
+
40: string;
|
|
7
|
+
50: string;
|
|
8
|
+
60: string;
|
|
9
|
+
70: string;
|
|
10
|
+
80: string;
|
|
11
|
+
90: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const lunitTealText: {
|
|
14
|
+
5: string;
|
|
15
|
+
10: string;
|
|
16
|
+
20: string;
|
|
17
|
+
30: string;
|
|
18
|
+
40: string;
|
|
19
|
+
50: string;
|
|
20
|
+
60: string;
|
|
21
|
+
70: string;
|
|
22
|
+
80: string;
|
|
23
|
+
90: string;
|
|
24
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const magenta: {
|
|
2
|
+
5: string;
|
|
3
|
+
10: string;
|
|
4
|
+
20: string;
|
|
5
|
+
30: string;
|
|
6
|
+
40: string;
|
|
7
|
+
50: string;
|
|
8
|
+
60: string;
|
|
9
|
+
70: string;
|
|
10
|
+
80: string;
|
|
11
|
+
90: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const magentaText: {
|
|
14
|
+
5: string;
|
|
15
|
+
10: string;
|
|
16
|
+
20: string;
|
|
17
|
+
30: string;
|
|
18
|
+
40: string;
|
|
19
|
+
50: string;
|
|
20
|
+
60: string;
|
|
21
|
+
70: string;
|
|
22
|
+
80: string;
|
|
23
|
+
90: string;
|
|
24
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const orange: {
|
|
2
|
+
5: string;
|
|
3
|
+
10: string;
|
|
4
|
+
20: string;
|
|
5
|
+
30: string;
|
|
6
|
+
40: string;
|
|
7
|
+
50: string;
|
|
8
|
+
60: string;
|
|
9
|
+
70: string;
|
|
10
|
+
80: string;
|
|
11
|
+
90: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const orangeText: {
|
|
14
|
+
5: string;
|
|
15
|
+
10: string;
|
|
16
|
+
20: string;
|
|
17
|
+
30: string;
|
|
18
|
+
40: string;
|
|
19
|
+
50: string;
|
|
20
|
+
60: string;
|
|
21
|
+
70: string;
|
|
22
|
+
80: string;
|
|
23
|
+
90: string;
|
|
24
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const purple: {
|
|
2
|
+
5: string;
|
|
3
|
+
10: string;
|
|
4
|
+
20: string;
|
|
5
|
+
30: string;
|
|
6
|
+
40: string;
|
|
7
|
+
50: string;
|
|
8
|
+
60: string;
|
|
9
|
+
70: string;
|
|
10
|
+
80: string;
|
|
11
|
+
90: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const purpleText: {
|
|
14
|
+
5: string;
|
|
15
|
+
10: string;
|
|
16
|
+
20: string;
|
|
17
|
+
30: string;
|
|
18
|
+
40: string;
|
|
19
|
+
50: string;
|
|
20
|
+
60: string;
|
|
21
|
+
70: string;
|
|
22
|
+
80: string;
|
|
23
|
+
90: string;
|
|
24
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const red: {
|
|
2
|
+
5: string;
|
|
3
|
+
10: string;
|
|
4
|
+
20: string;
|
|
5
|
+
30: string;
|
|
6
|
+
40: string;
|
|
7
|
+
50: string;
|
|
8
|
+
60: string;
|
|
9
|
+
70: string;
|
|
10
|
+
80: string;
|
|
11
|
+
90: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const redText: {
|
|
14
|
+
5: string;
|
|
15
|
+
10: string;
|
|
16
|
+
20: string;
|
|
17
|
+
30: string;
|
|
18
|
+
40: string;
|
|
19
|
+
50: string;
|
|
20
|
+
60: string;
|
|
21
|
+
70: string;
|
|
22
|
+
80: string;
|
|
23
|
+
90: string;
|
|
24
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const yellow: {
|
|
2
|
+
5: string;
|
|
3
|
+
10: string;
|
|
4
|
+
20: string;
|
|
5
|
+
30: string;
|
|
6
|
+
40: string;
|
|
7
|
+
50: string;
|
|
8
|
+
60: string;
|
|
9
|
+
70: string;
|
|
10
|
+
80: string;
|
|
11
|
+
90: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const yellowText: {
|
|
14
|
+
5: string;
|
|
15
|
+
10: string;
|
|
16
|
+
20: string;
|
|
17
|
+
30: string;
|
|
18
|
+
40: string;
|
|
19
|
+
50: string;
|
|
20
|
+
60: string;
|
|
21
|
+
70: string;
|
|
22
|
+
80: string;
|
|
23
|
+
90: string;
|
|
24
|
+
};
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { PaletteColor } from "@mui/material/styles";
|
|
2
|
+
import * as base from "./base";
|
|
3
|
+
import { ColorToken } from "./types";
|
|
4
|
+
export type BaseColor = Record<keyof typeof base.blue, PaletteColor>;
|
|
5
|
+
export type GreyColor = Record<keyof typeof base.grey, PaletteColor>;
|
|
6
|
+
declare module "@mui/material/styles/createPalette" {
|
|
7
|
+
interface PaletteOptions {
|
|
8
|
+
lunit?: {
|
|
9
|
+
grey: GreyColor;
|
|
10
|
+
blue: BaseColor;
|
|
11
|
+
green: BaseColor;
|
|
12
|
+
lunitGreen: BaseColor;
|
|
13
|
+
lunitTeal: BaseColor;
|
|
14
|
+
magenta: BaseColor;
|
|
15
|
+
orange: BaseColor;
|
|
16
|
+
red: BaseColor;
|
|
17
|
+
yellow: BaseColor;
|
|
18
|
+
};
|
|
19
|
+
token?: ColorToken;
|
|
20
|
+
}
|
|
21
|
+
interface Palette {
|
|
22
|
+
lunit: {
|
|
23
|
+
grey: GreyColor;
|
|
24
|
+
blue: BaseColor;
|
|
25
|
+
green: BaseColor;
|
|
26
|
+
lunitGreen: BaseColor;
|
|
27
|
+
lunitTeal: BaseColor;
|
|
28
|
+
magenta: BaseColor;
|
|
29
|
+
orange: BaseColor;
|
|
30
|
+
red: BaseColor;
|
|
31
|
+
yellow: BaseColor;
|
|
32
|
+
};
|
|
33
|
+
token: ColorToken;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
export declare const createColorCssBaseline: () => {
|
|
37
|
+
":root": {
|
|
38
|
+
[x: string]: string;
|
|
39
|
+
};
|
|
40
|
+
".light1": {
|
|
41
|
+
[x: string]: string;
|
|
42
|
+
};
|
|
43
|
+
".light2": {
|
|
44
|
+
[x: string]: string;
|
|
45
|
+
};
|
|
46
|
+
".dark1": {
|
|
47
|
+
[x: string]: string;
|
|
48
|
+
};
|
|
49
|
+
".dark2": {
|
|
50
|
+
[x: string]: string;
|
|
51
|
+
};
|
|
52
|
+
".dark3": {
|
|
53
|
+
[x: string]: string;
|
|
54
|
+
};
|
|
55
|
+
".dark4": {
|
|
56
|
+
[x: string]: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
declare const paletteOptions: {
|
|
60
|
+
lunit: {
|
|
61
|
+
grey: GreyColor;
|
|
62
|
+
blue: BaseColor;
|
|
63
|
+
green: BaseColor;
|
|
64
|
+
lunitGreen: BaseColor;
|
|
65
|
+
lunitTeal: BaseColor;
|
|
66
|
+
magenta: BaseColor;
|
|
67
|
+
orange: BaseColor;
|
|
68
|
+
red: BaseColor;
|
|
69
|
+
yellow: BaseColor;
|
|
70
|
+
} | undefined;
|
|
71
|
+
token: {
|
|
72
|
+
core: {
|
|
73
|
+
bg_01: string;
|
|
74
|
+
bg_02: string;
|
|
75
|
+
bg_03: string;
|
|
76
|
+
text_primary: string;
|
|
77
|
+
text_normal: string;
|
|
78
|
+
text_medium: string;
|
|
79
|
+
text_light: string;
|
|
80
|
+
text_error: string;
|
|
81
|
+
text_success: string;
|
|
82
|
+
text_warning: string;
|
|
83
|
+
text_info: string;
|
|
84
|
+
link_primary: string;
|
|
85
|
+
link_hover: string;
|
|
86
|
+
link_visited: string;
|
|
87
|
+
icon_error_02: string;
|
|
88
|
+
icon_success_02: string;
|
|
89
|
+
icon_warning_02: string;
|
|
90
|
+
icon_info_02: string;
|
|
91
|
+
hover: string;
|
|
92
|
+
focused: string;
|
|
93
|
+
shadow_01: string;
|
|
94
|
+
shadow_02: string;
|
|
95
|
+
shadow_03: string;
|
|
96
|
+
shadow_04: string;
|
|
97
|
+
};
|
|
98
|
+
component: {
|
|
99
|
+
btn_contained_primary_bg: string;
|
|
100
|
+
btn_contained_primary_text: string;
|
|
101
|
+
btn_contained_secondary_bg: string;
|
|
102
|
+
btn_contained_secondary_text: string;
|
|
103
|
+
btn_contained_error_bg: string;
|
|
104
|
+
btn_contained_error_text: string;
|
|
105
|
+
btn_outlined_primary_border: string;
|
|
106
|
+
btn_outlined_primary_text: string;
|
|
107
|
+
btn_ghost_primary_text: string;
|
|
108
|
+
btn_ghost_secondary_text: string;
|
|
109
|
+
btn_ghost_error_text: string;
|
|
110
|
+
btn_selected_primary_bg: string;
|
|
111
|
+
btn_selected_primary_text: string;
|
|
112
|
+
btn_selected_secondary_bg: string;
|
|
113
|
+
btn_selected_secondary_text: string;
|
|
114
|
+
selectcontrol_on: string;
|
|
115
|
+
selectcontrol_off: string;
|
|
116
|
+
selectcontrol_handler: string;
|
|
117
|
+
selectcontrol_handler_shadow: string;
|
|
118
|
+
textfield_bg: string;
|
|
119
|
+
textfield_border_error: string;
|
|
120
|
+
dropdown_option_selected: string;
|
|
121
|
+
dropdown_divider_border: string;
|
|
122
|
+
dropdown_option_activatied: string;
|
|
123
|
+
datatable_cell_selected: string;
|
|
124
|
+
datatable_border_01: string;
|
|
125
|
+
datatable_border_02: string;
|
|
126
|
+
datatable_zebra: string;
|
|
127
|
+
scrollbars_bg: string;
|
|
128
|
+
scrollbars_hover: string;
|
|
129
|
+
scrollbars_pressed: string;
|
|
130
|
+
modal_overlay: string;
|
|
131
|
+
tooltip_bg: string;
|
|
132
|
+
tooltip_text_normal: string;
|
|
133
|
+
tooltip_text_medium: string;
|
|
134
|
+
alert_error_bg: string;
|
|
135
|
+
alert_error_border: string;
|
|
136
|
+
alert_success_bg: string;
|
|
137
|
+
alert_success_border: string;
|
|
138
|
+
alert_info_bg: string;
|
|
139
|
+
alert_info_border: string;
|
|
140
|
+
alert_warning_bg: string;
|
|
141
|
+
alert_warning_border: string;
|
|
142
|
+
chip_primary_bg: string;
|
|
143
|
+
chip_primary_text: string;
|
|
144
|
+
chip_secondary_bg: string;
|
|
145
|
+
chip_secondary_text: string;
|
|
146
|
+
chip_error_bg: string;
|
|
147
|
+
chip_error_text: string;
|
|
148
|
+
chip_warning_bg: string;
|
|
149
|
+
chip_warning_text: string;
|
|
150
|
+
chip_success_bg: string;
|
|
151
|
+
chip_success_text: string;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
export default paletteOptions;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type CSSPropertyColor = React.CSSProperties["color"];
|
|
3
|
+
export interface ColorToken {
|
|
4
|
+
core: {
|
|
5
|
+
bg_01: CSSPropertyColor;
|
|
6
|
+
bg_02: CSSPropertyColor;
|
|
7
|
+
bg_03: CSSPropertyColor;
|
|
8
|
+
text_primary: CSSPropertyColor;
|
|
9
|
+
text_normal: CSSPropertyColor;
|
|
10
|
+
text_medium: CSSPropertyColor;
|
|
11
|
+
text_light: CSSPropertyColor;
|
|
12
|
+
text_error: CSSPropertyColor;
|
|
13
|
+
text_success: CSSPropertyColor;
|
|
14
|
+
text_warning: CSSPropertyColor;
|
|
15
|
+
text_info: CSSPropertyColor;
|
|
16
|
+
link_primary: CSSPropertyColor;
|
|
17
|
+
link_hover: CSSPropertyColor;
|
|
18
|
+
link_visited: CSSPropertyColor;
|
|
19
|
+
icon_error_02: CSSPropertyColor;
|
|
20
|
+
icon_success_02: CSSPropertyColor;
|
|
21
|
+
icon_warning_02: CSSPropertyColor;
|
|
22
|
+
icon_info_02: CSSPropertyColor;
|
|
23
|
+
hover: CSSPropertyColor;
|
|
24
|
+
focused: CSSPropertyColor;
|
|
25
|
+
shadow_01: CSSPropertyColor;
|
|
26
|
+
shadow_02: CSSPropertyColor;
|
|
27
|
+
shadow_03: CSSPropertyColor;
|
|
28
|
+
shadow_04: CSSPropertyColor;
|
|
29
|
+
};
|
|
30
|
+
component: {
|
|
31
|
+
btn_contained_primary_bg: CSSPropertyColor;
|
|
32
|
+
btn_contained_primary_text: CSSPropertyColor;
|
|
33
|
+
btn_contained_secondary_bg: CSSPropertyColor;
|
|
34
|
+
btn_contained_secondary_text: CSSPropertyColor;
|
|
35
|
+
btn_contained_error_bg: CSSPropertyColor;
|
|
36
|
+
btn_contained_error_text: CSSPropertyColor;
|
|
37
|
+
btn_outlined_primary_border: CSSPropertyColor;
|
|
38
|
+
btn_outlined_primary_text: CSSPropertyColor;
|
|
39
|
+
btn_ghost_primary_text: CSSPropertyColor;
|
|
40
|
+
btn_ghost_secondary_text: CSSPropertyColor;
|
|
41
|
+
btn_ghost_error_text: CSSPropertyColor;
|
|
42
|
+
btn_selected_primary_bg: CSSPropertyColor;
|
|
43
|
+
btn_selected_primary_text: CSSPropertyColor;
|
|
44
|
+
btn_selected_secondary_bg: CSSPropertyColor;
|
|
45
|
+
btn_selected_secondary_text: CSSPropertyColor;
|
|
46
|
+
selectcontrol_on: CSSPropertyColor;
|
|
47
|
+
selectcontrol_off: CSSPropertyColor;
|
|
48
|
+
selectcontrol_handler: CSSPropertyColor;
|
|
49
|
+
selectcontrol_handler_shadow: CSSPropertyColor;
|
|
50
|
+
textfield_bg: CSSPropertyColor;
|
|
51
|
+
textfield_border_error: CSSPropertyColor;
|
|
52
|
+
dropdown_option_selected: CSSPropertyColor;
|
|
53
|
+
dropdown_divider_border: CSSPropertyColor;
|
|
54
|
+
dropdown_option_activatied: CSSPropertyColor;
|
|
55
|
+
datatable_cell_selected: CSSPropertyColor;
|
|
56
|
+
datatable_border_01: CSSPropertyColor;
|
|
57
|
+
datatable_border_02: CSSPropertyColor;
|
|
58
|
+
datatable_zebra: CSSPropertyColor;
|
|
59
|
+
scrollbars_bg: CSSPropertyColor;
|
|
60
|
+
scrollbars_hover: CSSPropertyColor;
|
|
61
|
+
scrollbars_pressed: CSSPropertyColor;
|
|
62
|
+
modal_overlay: CSSPropertyColor;
|
|
63
|
+
tooltip_bg: CSSPropertyColor;
|
|
64
|
+
tooltip_text_normal: CSSPropertyColor;
|
|
65
|
+
tooltip_text_medium: CSSPropertyColor;
|
|
66
|
+
alert_error_bg: CSSPropertyColor;
|
|
67
|
+
alert_error_border: CSSPropertyColor;
|
|
68
|
+
alert_success_bg: CSSPropertyColor;
|
|
69
|
+
alert_success_border: CSSPropertyColor;
|
|
70
|
+
alert_info_bg: CSSPropertyColor;
|
|
71
|
+
alert_info_border: CSSPropertyColor;
|
|
72
|
+
alert_warning_bg: CSSPropertyColor;
|
|
73
|
+
alert_warning_border: CSSPropertyColor;
|
|
74
|
+
chip_primary_bg: CSSPropertyColor;
|
|
75
|
+
chip_primary_text: CSSPropertyColor;
|
|
76
|
+
chip_secondary_bg: CSSPropertyColor;
|
|
77
|
+
chip_secondary_text: CSSPropertyColor;
|
|
78
|
+
chip_error_bg: CSSPropertyColor;
|
|
79
|
+
chip_error_text: CSSPropertyColor;
|
|
80
|
+
chip_warning_bg: CSSPropertyColor;
|
|
81
|
+
chip_warning_text: CSSPropertyColor;
|
|
82
|
+
chip_success_bg: CSSPropertyColor;
|
|
83
|
+
chip_success_text: CSSPropertyColor;
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
export {};
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { Components, Theme } from "@mui/material";
|
|
2
|
+
import { typographyDefaultProps } from "./Typography";
|
|
3
|
+
export declare const foundationCssBaseline: Components<Theme>["MuiCssBaseline"];
|
|
4
|
+
export declare const typography: import("@mui/material").TypographyVariantsOptions;
|
|
5
|
+
export { typographyDefaultProps };
|
|
6
|
+
export declare const palette: {
|
|
7
|
+
lunit: {
|
|
8
|
+
grey: import("./colors").GreyColor;
|
|
9
|
+
blue: import("./colors").BaseColor;
|
|
10
|
+
green: import("./colors").BaseColor;
|
|
11
|
+
lunitGreen: import("./colors").BaseColor;
|
|
12
|
+
lunitTeal: import("./colors").BaseColor;
|
|
13
|
+
magenta: import("./colors").BaseColor;
|
|
14
|
+
orange: import("./colors").BaseColor;
|
|
15
|
+
red: import("./colors").BaseColor;
|
|
16
|
+
yellow: import("./colors").BaseColor;
|
|
17
|
+
} | undefined;
|
|
18
|
+
token: {
|
|
19
|
+
core: {
|
|
20
|
+
bg_01: string;
|
|
21
|
+
bg_02: string;
|
|
22
|
+
bg_03: string;
|
|
23
|
+
text_primary: string;
|
|
24
|
+
text_normal: string;
|
|
25
|
+
text_medium: string;
|
|
26
|
+
text_light: string;
|
|
27
|
+
text_error: string;
|
|
28
|
+
text_success: string;
|
|
29
|
+
text_warning: string;
|
|
30
|
+
text_info: string;
|
|
31
|
+
link_primary: string;
|
|
32
|
+
link_hover: string;
|
|
33
|
+
link_visited: string;
|
|
34
|
+
icon_error_02: string;
|
|
35
|
+
icon_success_02: string;
|
|
36
|
+
icon_warning_02: string;
|
|
37
|
+
icon_info_02: string;
|
|
38
|
+
hover: string;
|
|
39
|
+
focused: string;
|
|
40
|
+
shadow_01: string;
|
|
41
|
+
shadow_02: string;
|
|
42
|
+
shadow_03: string;
|
|
43
|
+
shadow_04: string;
|
|
44
|
+
};
|
|
45
|
+
component: {
|
|
46
|
+
btn_contained_primary_bg: string;
|
|
47
|
+
btn_contained_primary_text: string;
|
|
48
|
+
btn_contained_secondary_bg: string;
|
|
49
|
+
btn_contained_secondary_text: string;
|
|
50
|
+
btn_contained_error_bg: string;
|
|
51
|
+
btn_contained_error_text: string;
|
|
52
|
+
btn_outlined_primary_border: string;
|
|
53
|
+
btn_outlined_primary_text: string;
|
|
54
|
+
btn_ghost_primary_text: string;
|
|
55
|
+
btn_ghost_secondary_text: string;
|
|
56
|
+
btn_ghost_error_text: string;
|
|
57
|
+
btn_selected_primary_bg: string;
|
|
58
|
+
btn_selected_primary_text: string;
|
|
59
|
+
btn_selected_secondary_bg: string;
|
|
60
|
+
btn_selected_secondary_text: string;
|
|
61
|
+
selectcontrol_on: string;
|
|
62
|
+
selectcontrol_off: string;
|
|
63
|
+
selectcontrol_handler: string;
|
|
64
|
+
selectcontrol_handler_shadow: string;
|
|
65
|
+
textfield_bg: string;
|
|
66
|
+
textfield_border_error: string;
|
|
67
|
+
dropdown_option_selected: string;
|
|
68
|
+
dropdown_divider_border: string;
|
|
69
|
+
dropdown_option_activatied: string;
|
|
70
|
+
datatable_cell_selected: string;
|
|
71
|
+
datatable_border_01: string;
|
|
72
|
+
datatable_border_02: string;
|
|
73
|
+
datatable_zebra: string;
|
|
74
|
+
scrollbars_bg: string;
|
|
75
|
+
scrollbars_hover: string;
|
|
76
|
+
scrollbars_pressed: string;
|
|
77
|
+
modal_overlay: string;
|
|
78
|
+
tooltip_bg: string;
|
|
79
|
+
tooltip_text_normal: string;
|
|
80
|
+
tooltip_text_medium: string;
|
|
81
|
+
alert_error_bg: string;
|
|
82
|
+
alert_error_border: string;
|
|
83
|
+
alert_success_bg: string;
|
|
84
|
+
alert_success_border: string;
|
|
85
|
+
alert_info_bg: string;
|
|
86
|
+
alert_info_border: string;
|
|
87
|
+
alert_warning_bg: string;
|
|
88
|
+
alert_warning_border: string;
|
|
89
|
+
chip_primary_bg: string;
|
|
90
|
+
chip_primary_text: string;
|
|
91
|
+
chip_secondary_bg: string;
|
|
92
|
+
chip_secondary_text: string;
|
|
93
|
+
chip_error_bg: string;
|
|
94
|
+
chip_error_text: string;
|
|
95
|
+
chip_warning_bg: string;
|
|
96
|
+
chip_warning_text: string;
|
|
97
|
+
chip_success_bg: string;
|
|
98
|
+
chip_success_text: string;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
export declare const elevation: {
|
|
103
|
+
elevation_00: string;
|
|
104
|
+
elevation_01: string;
|
|
105
|
+
elevation_02: string;
|
|
106
|
+
shadow1: string;
|
|
107
|
+
shadow2: string;
|
|
108
|
+
shadow3: string;
|
|
109
|
+
shadow4: string;
|
|
110
|
+
};
|
|
111
|
+
export { spacing } from "./spacing";
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export { default as theme } from "./theme";
|
|
2
|
+
export { default as Alert } from "./components/Alert";
|
|
3
|
+
export { default as Button } from "./components/Button";
|
|
4
|
+
export { default as Chip } from "./components/Chip";
|
|
5
|
+
export { default as DataTable } from "./components/DataTable";
|
|
6
|
+
export { default as DatePicker } from "./components/DatePicker";
|
|
7
|
+
export { default as Dropdown } from "./components/Dropdown";
|
|
8
|
+
export { default as FormLabel } from "./components/FormLabel";
|
|
9
|
+
export { default as Modal } from "./components/Modal";
|
|
10
|
+
export { default as Radio } from "./components/Radio";
|
|
11
|
+
export { default as RadioGroup } from "./components/RadioGroup";
|
|
12
|
+
export { default as TextField } from "./components/TextField";
|
|
13
|
+
export { default as Toggle } from "./components/Toggle";
|
|
14
|
+
export { default as ToggleButton } from "./components/ToggleButton";
|
|
15
|
+
export { default as ToggleButtonGroup } from "./components/ToggleButtonGroup";
|
|
16
|
+
export { default as Tooltip } from "./components/Tooltip";
|