dasar-ui 1.1.0 → 1.3.0
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 +19 -14
- package/fesm2022/dasar-ui.mjs +9664 -0
- package/fesm2022/dasar-ui.mjs.map +1 -0
- package/package.json +39 -42
- package/types/dasar-ui.d.ts +2114 -0
- package/.editorconfig +0 -17
- package/.nvmrc +0 -1
- package/.prettierrc +0 -12
- package/.vscode/extensions.json +0 -4
- package/.vscode/launch.json +0 -20
- package/.vscode/settings.json +0 -4
- package/.vscode/tasks.json +0 -42
- package/CHANGELOG.md +0 -18
- package/angular.json +0 -37
- package/projects/dasar-ui/README.md +0 -64
- package/projects/dasar-ui/ng-package.json +0 -10
- package/projects/dasar-ui/package.json +0 -27
- package/projects/dasar-ui/src/lib/components/dasar-button/dasar-button.html +0 -9
- package/projects/dasar-ui/src/lib/components/dasar-button/dasar-button.scss +0 -352
- package/projects/dasar-ui/src/lib/components/dasar-button/dasar-button.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-button/dasar-button.ts +0 -154
- package/projects/dasar-ui/src/lib/components/dasar-button-group/dasar-button-group.html +0 -1
- package/projects/dasar-ui/src/lib/components/dasar-button-group/dasar-button-group.scss +0 -69
- package/projects/dasar-ui/src/lib/components/dasar-button-group/dasar-button-group.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-button-group/dasar-button-group.ts +0 -30
- package/projects/dasar-ui/src/lib/components/dasar-calendar/dasar-calendar.html +0 -158
- package/projects/dasar-ui/src/lib/components/dasar-calendar/dasar-calendar.scss +0 -371
- package/projects/dasar-ui/src/lib/components/dasar-calendar/dasar-calendar.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-calendar/dasar-calendar.ts +0 -458
- package/projects/dasar-ui/src/lib/components/dasar-card/dasar-card.html +0 -80
- package/projects/dasar-ui/src/lib/components/dasar-card/dasar-card.scss +0 -184
- package/projects/dasar-ui/src/lib/components/dasar-card/dasar-card.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-card/dasar-card.ts +0 -294
- package/projects/dasar-ui/src/lib/components/dasar-chip/dasar-chip.html +0 -42
- package/projects/dasar-ui/src/lib/components/dasar-chip/dasar-chip.scss +0 -38
- package/projects/dasar-ui/src/lib/components/dasar-chip/dasar-chip.ts +0 -207
- package/projects/dasar-ui/src/lib/components/dasar-datepicker/dasar-datepicker.html +0 -102
- package/projects/dasar-ui/src/lib/components/dasar-datepicker/dasar-datepicker.scss +0 -301
- package/projects/dasar-ui/src/lib/components/dasar-datepicker/dasar-datepicker.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-datepicker/dasar-datepicker.ts +0 -527
- package/projects/dasar-ui/src/lib/components/dasar-icon/dasar-icon.html +0 -1
- package/projects/dasar-ui/src/lib/components/dasar-icon/dasar-icon.registry.ts +0 -5089
- package/projects/dasar-ui/src/lib/components/dasar-icon/dasar-icon.scss +0 -24
- package/projects/dasar-ui/src/lib/components/dasar-icon/dasar-icon.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-icon/dasar-icon.ts +0 -97
- package/projects/dasar-ui/src/lib/components/dasar-input/dasar-input.html +0 -54
- package/projects/dasar-ui/src/lib/components/dasar-input/dasar-input.scss +0 -281
- package/projects/dasar-ui/src/lib/components/dasar-input/dasar-input.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-input/dasar-input.ts +0 -323
- package/projects/dasar-ui/src/lib/components/dasar-menu/dasar-menu.html +0 -63
- package/projects/dasar-ui/src/lib/components/dasar-menu/dasar-menu.scss +0 -195
- package/projects/dasar-ui/src/lib/components/dasar-menu/dasar-menu.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-menu/dasar-menu.ts +0 -240
- package/projects/dasar-ui/src/lib/components/dasar-number-input/dasar-number-input.html +0 -90
- package/projects/dasar-ui/src/lib/components/dasar-number-input/dasar-number-input.scss +0 -358
- package/projects/dasar-ui/src/lib/components/dasar-number-input/dasar-number-input.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-number-input/dasar-number-input.ts +0 -337
- package/projects/dasar-ui/src/lib/components/dasar-pagination/dasar-pagination.html +0 -98
- package/projects/dasar-ui/src/lib/components/dasar-pagination/dasar-pagination.scss +0 -51
- package/projects/dasar-ui/src/lib/components/dasar-pagination/dasar-pagination.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-pagination/dasar-pagination.ts +0 -99
- package/projects/dasar-ui/src/lib/components/dasar-pin/dasar-pin.css +0 -0
- package/projects/dasar-ui/src/lib/components/dasar-pin/dasar-pin.html +0 -1
- package/projects/dasar-ui/src/lib/components/dasar-pin/dasar-pin.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-pin/dasar-pin.ts +0 -9
- package/projects/dasar-ui/src/lib/components/dasar-pivot-table/dasar-pivot-table.html +0 -163
- package/projects/dasar-ui/src/lib/components/dasar-pivot-table/dasar-pivot-table.scss +0 -283
- package/projects/dasar-ui/src/lib/components/dasar-pivot-table/dasar-pivot-table.ts +0 -230
- package/projects/dasar-ui/src/lib/components/dasar-radio/dasar-radio.css +0 -0
- package/projects/dasar-ui/src/lib/components/dasar-radio/dasar-radio.html +0 -1
- package/projects/dasar-ui/src/lib/components/dasar-radio/dasar-radio.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-radio/dasar-radio.ts +0 -9
- package/projects/dasar-ui/src/lib/components/dasar-select/dasar-select.html +0 -185
- package/projects/dasar-ui/src/lib/components/dasar-select/dasar-select.scss +0 -347
- package/projects/dasar-ui/src/lib/components/dasar-select/dasar-select.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-select/dasar-select.ts +0 -497
- package/projects/dasar-ui/src/lib/components/dasar-slider/dasar-slider.css +0 -0
- package/projects/dasar-ui/src/lib/components/dasar-slider/dasar-slider.html +0 -1
- package/projects/dasar-ui/src/lib/components/dasar-slider/dasar-slider.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-slider/dasar-slider.ts +0 -9
- package/projects/dasar-ui/src/lib/components/dasar-table/dasar-table.html +0 -162
- package/projects/dasar-ui/src/lib/components/dasar-table/dasar-table.scss +0 -283
- package/projects/dasar-ui/src/lib/components/dasar-table/dasar-table.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-table/dasar-table.ts +0 -380
- package/projects/dasar-ui/src/lib/components/dasar-tabs/dasar-tabs.html +0 -41
- package/projects/dasar-ui/src/lib/components/dasar-tabs/dasar-tabs.scss +0 -126
- package/projects/dasar-ui/src/lib/components/dasar-tabs/dasar-tabs.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-tabs/dasar-tabs.ts +0 -72
- package/projects/dasar-ui/src/lib/components/dasar-textarea/dasar-textarea.html +0 -43
- package/projects/dasar-ui/src/lib/components/dasar-textarea/dasar-textarea.scss +0 -189
- package/projects/dasar-ui/src/lib/components/dasar-textarea/dasar-textarea.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-textarea/dasar-textarea.ts +0 -139
- package/projects/dasar-ui/src/lib/components/dasar-theme-provider/dasar-theme-provider.ts +0 -286
- package/projects/dasar-ui/src/lib/components/dasar-toast/dasar-toast.css +0 -0
- package/projects/dasar-ui/src/lib/components/dasar-toast/dasar-toast.html +0 -1
- package/projects/dasar-ui/src/lib/components/dasar-toast/dasar-toast.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-toast/dasar-toast.ts +0 -9
- package/projects/dasar-ui/src/lib/components/dasar-toggle/dasar-toggle.css +0 -0
- package/projects/dasar-ui/src/lib/components/dasar-toggle/dasar-toggle.html +0 -1
- package/projects/dasar-ui/src/lib/components/dasar-toggle/dasar-toggle.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-toggle/dasar-toggle.ts +0 -9
- package/projects/dasar-ui/src/lib/components/dasar-tooltip/dasar-tooltip.css +0 -0
- package/projects/dasar-ui/src/lib/components/dasar-tooltip/dasar-tooltip.html +0 -1
- package/projects/dasar-ui/src/lib/components/dasar-tooltip/dasar-tooltip.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-tooltip/dasar-tooltip.ts +0 -9
- package/projects/dasar-ui/src/lib/models/theme.model.ts +0 -643
- package/projects/dasar-ui/src/lib/models/type.model.ts +0 -11
- package/projects/dasar-ui/src/lib/services/theme.service.ts +0 -643
- package/projects/dasar-ui/src/lib/styles/theme.ts +0 -70
- package/projects/dasar-ui/src/lib/utils/common.ts +0 -175
- package/projects/dasar-ui/src/public-api.ts +0 -23
- package/projects/dasar-ui/tsconfig.lib.json +0 -21
- package/projects/dasar-ui/tsconfig.lib.prod.json +0 -11
- package/projects/dasar-ui/tsconfig.spec.json +0 -11
- package/tsconfig.json +0 -37
- /package/{projects/dasar-ui/src/lib/styles → styles}/theme.scss +0 -0
|
@@ -1,643 +0,0 @@
|
|
|
1
|
-
import { DasarNumberInputConfig } from '../components/dasar-number-input/dasar-number-input';
|
|
2
|
-
import { DasarDatepickerConfig } from '../components/dasar-datepicker/dasar-datepicker';
|
|
3
|
-
import { DasarCalendarConfig } from '../components/dasar-calendar/dasar-calendar';
|
|
4
|
-
import { DasarButtonConfig } from '../components/dasar-button/dasar-button';
|
|
5
|
-
import { DasarSelectConfig } from '../components/dasar-select/dasar-select';
|
|
6
|
-
import { DasarInputConfig } from '../components/dasar-input/dasar-input';
|
|
7
|
-
import { DasarTableConfig } from '../components/dasar-table/dasar-table';
|
|
8
|
-
import { DasarCardConfig } from '../components/dasar-card/dasar-card';
|
|
9
|
-
import { DasarChipConfig } from '../components/dasar-chip/dasar-chip';
|
|
10
|
-
import { DasarIconConfig } from '../components/dasar-icon/dasar-icon';
|
|
11
|
-
import { DasarMenuConfig } from '../components/dasar-menu/dasar-menu';
|
|
12
|
-
import { ScaleAttributeType } from './type.model';
|
|
13
|
-
|
|
14
|
-
export type DasarThemeMode = 'light' | 'dark';
|
|
15
|
-
export interface DasarThemeScale {
|
|
16
|
-
50?: string;
|
|
17
|
-
100?: string;
|
|
18
|
-
200?: string;
|
|
19
|
-
300?: string;
|
|
20
|
-
400?: string;
|
|
21
|
-
500?: string;
|
|
22
|
-
700?: string;
|
|
23
|
-
800?: string;
|
|
24
|
-
900?: string;
|
|
25
|
-
base: string;
|
|
26
|
-
}
|
|
27
|
-
export interface DasarThemeColors {
|
|
28
|
-
primary: DasarThemeScale;
|
|
29
|
-
neutral: DasarThemeScale;
|
|
30
|
-
success: DasarThemeScale;
|
|
31
|
-
danger: DasarThemeScale;
|
|
32
|
-
warning: DasarThemeScale;
|
|
33
|
-
}
|
|
34
|
-
export interface DasarThemeCommon {
|
|
35
|
-
// primary
|
|
36
|
-
primaryColor?: string;
|
|
37
|
-
primaryHoverColor?: string;
|
|
38
|
-
primaryActiveColor?: string;
|
|
39
|
-
primarySurfaceColor?: string;
|
|
40
|
-
// text
|
|
41
|
-
textPrimaryColor?: string;
|
|
42
|
-
textSecondaryColor?: string;
|
|
43
|
-
textDisabledColor?: string;
|
|
44
|
-
textInverseColor?: string;
|
|
45
|
-
// background
|
|
46
|
-
bgWindowColor?: string;
|
|
47
|
-
bgDefaultColor?: string;
|
|
48
|
-
bgSurfaceColor?: string;
|
|
49
|
-
bgHoverColor?: string;
|
|
50
|
-
// border
|
|
51
|
-
borderSubtleColor?: string;
|
|
52
|
-
borderStrongColor?: string;
|
|
53
|
-
// font
|
|
54
|
-
fontSans?: string;
|
|
55
|
-
fontHero?: string;
|
|
56
|
-
fontWeightRegular?: string;
|
|
57
|
-
fontWeightMedium?: string;
|
|
58
|
-
fontWeightSemibold?: string;
|
|
59
|
-
fontWeightBold?: string;
|
|
60
|
-
fontSizeXss?: string;
|
|
61
|
-
fontSizeXs?: string;
|
|
62
|
-
fontSizeSm?: string;
|
|
63
|
-
fontSizeBase?: string;
|
|
64
|
-
fontSizeLg?: string;
|
|
65
|
-
fontSizeXl?: string;
|
|
66
|
-
// line
|
|
67
|
-
lineHeightNormal?: string;
|
|
68
|
-
lineHeightTight?: string;
|
|
69
|
-
}
|
|
70
|
-
export interface DasarThemeCommonDark {
|
|
71
|
-
// primary
|
|
72
|
-
primaryColor?: string;
|
|
73
|
-
primaryHoverColor?: string;
|
|
74
|
-
primaryActiveColor?: string;
|
|
75
|
-
primarySurfaceColor?: string;
|
|
76
|
-
// text
|
|
77
|
-
textPrimaryColor?: string;
|
|
78
|
-
textSecondaryColor?: string;
|
|
79
|
-
textDisabledColor?: string;
|
|
80
|
-
textInverseColor?: string;
|
|
81
|
-
// background
|
|
82
|
-
bgWindowColor?: string;
|
|
83
|
-
bgDefaultColor?: string;
|
|
84
|
-
bgSurfaceColor?: string;
|
|
85
|
-
bgHoverColor?: string;
|
|
86
|
-
// border
|
|
87
|
-
borderSubtleColor?: string;
|
|
88
|
-
borderStrongColor?: string;
|
|
89
|
-
// font
|
|
90
|
-
fontSans?: string;
|
|
91
|
-
fontHero?: string;
|
|
92
|
-
fontSize?: string;
|
|
93
|
-
fontWeightRegular?: string;
|
|
94
|
-
fontWeightMedium?: string;
|
|
95
|
-
fontWeightSemibold?: string;
|
|
96
|
-
fontWeightBold?: string;
|
|
97
|
-
fontSizeXss?: string;
|
|
98
|
-
fontSizeXs?: string;
|
|
99
|
-
fontSizeSm?: string;
|
|
100
|
-
fontSizeBase?: string;
|
|
101
|
-
fontSizeLg?: string;
|
|
102
|
-
fontSizeXl?: string;
|
|
103
|
-
// line
|
|
104
|
-
lineHeightNormal?: string;
|
|
105
|
-
lineHeightTight?: string;
|
|
106
|
-
}
|
|
107
|
-
export interface DasarThemeButton {
|
|
108
|
-
fontWeight?: string;
|
|
109
|
-
gap?: string;
|
|
110
|
-
heightXs?: string;
|
|
111
|
-
paddingHorizontalXs?: string;
|
|
112
|
-
iconSizeXs?: string;
|
|
113
|
-
heightSm?: string;
|
|
114
|
-
paddingHorizontalSm?: string;
|
|
115
|
-
iconSizeSm?: string;
|
|
116
|
-
heightMd?: string;
|
|
117
|
-
paddingHorizontalMd?: string;
|
|
118
|
-
iconSizeMd?: string;
|
|
119
|
-
heightLg?: string;
|
|
120
|
-
paddingHorizontalLg?: string;
|
|
121
|
-
iconSizeLg?: string;
|
|
122
|
-
heightXl?: string;
|
|
123
|
-
paddingHorizontalXl?: string;
|
|
124
|
-
iconSizeXl?: string;
|
|
125
|
-
radiusNone?: string;
|
|
126
|
-
radiusXs?: string;
|
|
127
|
-
radiusSm?: string;
|
|
128
|
-
radiusMd?: string;
|
|
129
|
-
radiusLg?: string;
|
|
130
|
-
radiusXl?: string;
|
|
131
|
-
radiusFull?: string;
|
|
132
|
-
disabledBg?: string;
|
|
133
|
-
disabledBorder?: string;
|
|
134
|
-
disabledColor?: string;
|
|
135
|
-
primaryBg?: string;
|
|
136
|
-
primaryBorder?: string;
|
|
137
|
-
primaryColor?: string;
|
|
138
|
-
primaryHoverBg?: string;
|
|
139
|
-
primaryHoverBorder?: string;
|
|
140
|
-
primaryFocusRing?: string;
|
|
141
|
-
primarySubtleBg?: string;
|
|
142
|
-
primarySubtleColor?: string;
|
|
143
|
-
primarySubtleHoverBg?: string;
|
|
144
|
-
primarySubtleHoverColor?: string;
|
|
145
|
-
primaryOutlineBorder?: string;
|
|
146
|
-
primaryOutlineColor?: string;
|
|
147
|
-
primaryOutlineHoverBg?: string;
|
|
148
|
-
successBg?: string;
|
|
149
|
-
successBorder?: string;
|
|
150
|
-
successColor?: string;
|
|
151
|
-
successFocusRing?: string;
|
|
152
|
-
successSubtleBg?: string;
|
|
153
|
-
successSubtleColor?: string;
|
|
154
|
-
successSubtleHoverBg?: string;
|
|
155
|
-
successSubtleHoverColor?: string;
|
|
156
|
-
successOutlineBorder?: string;
|
|
157
|
-
successOutlineColor?: string;
|
|
158
|
-
successOutlineHoverBg?: string;
|
|
159
|
-
warningBg?: string;
|
|
160
|
-
warningBorder?: string;
|
|
161
|
-
warningColor?: string;
|
|
162
|
-
warningFocusRing?: string;
|
|
163
|
-
warningSubtleBg?: string;
|
|
164
|
-
warningSubtleColor?: string;
|
|
165
|
-
warningSubtleHoverBg?: string;
|
|
166
|
-
warningSubtleHoverColor?: string;
|
|
167
|
-
warningOutlineBorder?: string;
|
|
168
|
-
warningOutlineColor?: string;
|
|
169
|
-
warningOutlineHoverBg?: string;
|
|
170
|
-
dangerBg?: string;
|
|
171
|
-
dangerBorder?: string;
|
|
172
|
-
dangerColor?: string;
|
|
173
|
-
dangerFocusRing?: string;
|
|
174
|
-
dangerSubtleBg?: string;
|
|
175
|
-
dangerSubtleColor?: string;
|
|
176
|
-
dangerSubtleHoverBg?: string;
|
|
177
|
-
dangerSubtleHoverColor?: string;
|
|
178
|
-
dangerOutlineBorder?: string;
|
|
179
|
-
dangerOutlineColor?: string;
|
|
180
|
-
dangerOutlineHoverBg?: string;
|
|
181
|
-
secondaryBg?: string;
|
|
182
|
-
secondaryBorder?: string;
|
|
183
|
-
secondaryColor?: string;
|
|
184
|
-
secondaryHoverBg?: string;
|
|
185
|
-
secondaryFocusRing?: string;
|
|
186
|
-
secondarySubtleBg?: string;
|
|
187
|
-
secondarySubtleColor?: string;
|
|
188
|
-
secondarySubtleHoverBg?: string;
|
|
189
|
-
secondarySubtleHoverColor?: string;
|
|
190
|
-
secondaryOutlineBorder?: string;
|
|
191
|
-
secondaryOutlineColor?: string;
|
|
192
|
-
secondaryOutlineHoverBg?: string;
|
|
193
|
-
ghostColor?: string;
|
|
194
|
-
ghostHoverBg?: string;
|
|
195
|
-
ghostHoverColor?: string;
|
|
196
|
-
ghostFocusRing?: string;
|
|
197
|
-
}
|
|
198
|
-
export interface DasarThemeChip {
|
|
199
|
-
closeMarginRight?: string;
|
|
200
|
-
closeMarginLeft?: string;
|
|
201
|
-
closePadding?: string;
|
|
202
|
-
closeHoverBg?: string;
|
|
203
|
-
innerGap?: string;
|
|
204
|
-
}
|
|
205
|
-
export interface DasarThemeInput {
|
|
206
|
-
wrapperGap?: string;
|
|
207
|
-
gap?: string;
|
|
208
|
-
color?: string;
|
|
209
|
-
labelFontsize?: string;
|
|
210
|
-
labelFontWeight?: string;
|
|
211
|
-
labelColor?: string;
|
|
212
|
-
labelRightFontsize?: string;
|
|
213
|
-
labelRightColor?: string;
|
|
214
|
-
heightXs?: string;
|
|
215
|
-
paddingHorizontalXs?: string;
|
|
216
|
-
heightSm?: string;
|
|
217
|
-
paddingHorizontalSm?: string;
|
|
218
|
-
heightMd?: string;
|
|
219
|
-
paddingHorizontalMd?: string;
|
|
220
|
-
heightLg?: string;
|
|
221
|
-
paddingHorizontalLg?: string;
|
|
222
|
-
heightXl?: string;
|
|
223
|
-
paddingHorizontalXl?: string;
|
|
224
|
-
radiusNone?: string;
|
|
225
|
-
radiusXs?: string;
|
|
226
|
-
radiusSm?: string;
|
|
227
|
-
radiusMd?: string;
|
|
228
|
-
radiusLg?: string;
|
|
229
|
-
radiusXl?: string;
|
|
230
|
-
radiusFull?: string;
|
|
231
|
-
outlineBg?: string;
|
|
232
|
-
outlineBorder?: string;
|
|
233
|
-
outlineHoverBorder?: string;
|
|
234
|
-
outlineFocusBorder?: string;
|
|
235
|
-
outlineFocusRing?: string;
|
|
236
|
-
filledBg?: string;
|
|
237
|
-
filledBorder?: string;
|
|
238
|
-
filledHoverBg?: string;
|
|
239
|
-
filledFocusBg?: string;
|
|
240
|
-
filledFocusBorder?: string;
|
|
241
|
-
filledFocusRing?: string;
|
|
242
|
-
errorBorder?: string;
|
|
243
|
-
errorFocusRing?: string;
|
|
244
|
-
disabledBg?: string;
|
|
245
|
-
disabledBorder?: string;
|
|
246
|
-
disabledOpacity?: string;
|
|
247
|
-
placeholderColor?: string;
|
|
248
|
-
autofillBg?: string;
|
|
249
|
-
autofillColor?: string;
|
|
250
|
-
hintFontSize?: string;
|
|
251
|
-
hintColor?: string;
|
|
252
|
-
hintErrorColor?: string;
|
|
253
|
-
}
|
|
254
|
-
export interface DasarThemeCalendar {
|
|
255
|
-
calendarBg?: string;
|
|
256
|
-
outlineBorder?: string;
|
|
257
|
-
outlineBg?: string;
|
|
258
|
-
padding?: string;
|
|
259
|
-
paddingMd?: string;
|
|
260
|
-
radiusNone?: string;
|
|
261
|
-
radiusXs?: string;
|
|
262
|
-
radiusSm?: string;
|
|
263
|
-
radiusMd?: string;
|
|
264
|
-
radiusLg?: string;
|
|
265
|
-
radiusXl?: string;
|
|
266
|
-
radiusFull?: string;
|
|
267
|
-
headerMarginBottom?: string;
|
|
268
|
-
headerGap?: string;
|
|
269
|
-
titleGap?: string;
|
|
270
|
-
chevronColor?: string;
|
|
271
|
-
titleFontWeight?: string;
|
|
272
|
-
titleColor?: string;
|
|
273
|
-
titleFontSize?: string;
|
|
274
|
-
actionsGap?: string;
|
|
275
|
-
gridBorder?: string;
|
|
276
|
-
gridRadiusNone?: string;
|
|
277
|
-
gridRadiusXs?: string;
|
|
278
|
-
gridRadiusSm?: string;
|
|
279
|
-
gridRadiusMd?: string;
|
|
280
|
-
gridRadiusLg?: string;
|
|
281
|
-
gridRadiusXl?: string;
|
|
282
|
-
gridRadiusFull?: string;
|
|
283
|
-
weekdayFontWeight?: string;
|
|
284
|
-
weekdayColor?: string;
|
|
285
|
-
weekdayPaddingBottom?: string;
|
|
286
|
-
weekdayFontSize?: string;
|
|
287
|
-
cellBg?: string;
|
|
288
|
-
otherMonthBg?: string;
|
|
289
|
-
dashboardCellPadding?: string;
|
|
290
|
-
dashboardCellMinHeight?: string;
|
|
291
|
-
dashboardCellPaddingSm?: string;
|
|
292
|
-
dashboardCellMinHeightSm?: string;
|
|
293
|
-
dashboardCellPaddingMd?: string;
|
|
294
|
-
dashboardCellMinHeightMd?: string;
|
|
295
|
-
dashboardCellHoverBg?: string;
|
|
296
|
-
dashboardBoxSize?: string;
|
|
297
|
-
todayColor?: string;
|
|
298
|
-
todayBg?: string;
|
|
299
|
-
selectedIndicator?: string;
|
|
300
|
-
dashboardSelectedBg?: string;
|
|
301
|
-
dropdownCellHeight?: string;
|
|
302
|
-
dropdownCellHoverBg?: string;
|
|
303
|
-
dropdownNumberFontWeight?: string;
|
|
304
|
-
dropdownNumberColor?: string;
|
|
305
|
-
dropdownNumberFontSize?: string;
|
|
306
|
-
dropdownBoxSize?: string;
|
|
307
|
-
dropdownOtherMonthColor?: string;
|
|
308
|
-
dropdownSelectedBg?: string;
|
|
309
|
-
dropdownSelectedColor?: string;
|
|
310
|
-
dropdownSelectedFontWeight?: string;
|
|
311
|
-
dropdownTodayBorder?: string;
|
|
312
|
-
dropdownTodayColor?: string;
|
|
313
|
-
pickerBorder?: string;
|
|
314
|
-
pickerBg?: string;
|
|
315
|
-
pickerRadius?: string;
|
|
316
|
-
pickerMaxHeight?: string;
|
|
317
|
-
pickerCellBorder?: string;
|
|
318
|
-
pickerCellFontWeight?: string;
|
|
319
|
-
pickerCellColor?: string;
|
|
320
|
-
pickerCellBg?: string;
|
|
321
|
-
pickerCellRadius?: string;
|
|
322
|
-
pickerCellHeight?: string;
|
|
323
|
-
pickerCellHoverBg?: string;
|
|
324
|
-
pickerCellHoverBorder?: string;
|
|
325
|
-
pickerSelectedBg?: string;
|
|
326
|
-
pickerSelectedColor?: string;
|
|
327
|
-
pickerSelectedBorder?: string;
|
|
328
|
-
pickerSelectedFontWeight?: string;
|
|
329
|
-
}
|
|
330
|
-
export interface DasarThemeDatepicker {
|
|
331
|
-
disabledOpacity?: string;
|
|
332
|
-
disabledBg?: string;
|
|
333
|
-
wrapperGap?: string;
|
|
334
|
-
errorBorder?: string;
|
|
335
|
-
errorFocusRing?: string;
|
|
336
|
-
labelFontsize?: string;
|
|
337
|
-
labelFontWeight?: string;
|
|
338
|
-
labelColor?: string;
|
|
339
|
-
labelMarginBottom?: string;
|
|
340
|
-
labelRightFontsize?: string;
|
|
341
|
-
labelRightFontWeight?: string;
|
|
342
|
-
labelRightColor?: string;
|
|
343
|
-
hintFontSize?: string;
|
|
344
|
-
hintColor?: string;
|
|
345
|
-
hintErrorColor?: string;
|
|
346
|
-
triggerColor?: string;
|
|
347
|
-
gap?: string;
|
|
348
|
-
radiusSm?: string;
|
|
349
|
-
triggerValueColor?: string;
|
|
350
|
-
iconColor?: string;
|
|
351
|
-
clearIconColor?: string;
|
|
352
|
-
heightXs?: string;
|
|
353
|
-
paddingHorizontalXs?: string;
|
|
354
|
-
heightSm?: string;
|
|
355
|
-
paddingHorizontalSm?: string;
|
|
356
|
-
heightMd?: string;
|
|
357
|
-
paddingHorizontalMd?: string;
|
|
358
|
-
heightLg?: string;
|
|
359
|
-
paddingHorizontalLg?: string;
|
|
360
|
-
heightXl?: string;
|
|
361
|
-
paddingHorizontalXl?: string;
|
|
362
|
-
radiusNone?: string;
|
|
363
|
-
radiusXs?: string;
|
|
364
|
-
radiusMd?: string;
|
|
365
|
-
radiusLg?: string;
|
|
366
|
-
radiusXl?: string;
|
|
367
|
-
radiusFull?: string;
|
|
368
|
-
outlineBg?: string;
|
|
369
|
-
outlineBorder?: string;
|
|
370
|
-
outlineHoverBorder?: string;
|
|
371
|
-
outlineFocusBorder?: string;
|
|
372
|
-
outlineFocusRing?: string;
|
|
373
|
-
filledBg?: string;
|
|
374
|
-
filledBorder?: string;
|
|
375
|
-
filledHoverBg?: string;
|
|
376
|
-
filledFocusBg?: string;
|
|
377
|
-
filledFocusBorder?: string;
|
|
378
|
-
filledFocusRing?: string;
|
|
379
|
-
subtleBg?: string;
|
|
380
|
-
subtleBorder?: string;
|
|
381
|
-
subtleHoverBg?: string;
|
|
382
|
-
subtleFocusBg?: string;
|
|
383
|
-
dropdownShadow?: string;
|
|
384
|
-
dropdownBg?: string;
|
|
385
|
-
dropdownBorder?: string;
|
|
386
|
-
dropdownRadius?: string;
|
|
387
|
-
dropdownZIndex?: string;
|
|
388
|
-
dropdownWidth?: string;
|
|
389
|
-
}
|
|
390
|
-
export interface DasarThemeSelect {
|
|
391
|
-
wrapperGap?: string;
|
|
392
|
-
labelFontsize?: string;
|
|
393
|
-
labelFontWeight?: string;
|
|
394
|
-
labelColor?: string;
|
|
395
|
-
labelRightFontsize?: string;
|
|
396
|
-
labelRightColor?: string;
|
|
397
|
-
paddingLeft?: string;
|
|
398
|
-
radiusSm?: string;
|
|
399
|
-
gap?: string;
|
|
400
|
-
color?: string;
|
|
401
|
-
outlineBg?: string;
|
|
402
|
-
outlineBorder?: string;
|
|
403
|
-
outlineHoverBorder?: string;
|
|
404
|
-
outlineFocusBorder?: string;
|
|
405
|
-
outlineFocusRing?: string;
|
|
406
|
-
filledBg?: string;
|
|
407
|
-
filledBorder?: string;
|
|
408
|
-
filledHoverBg?: string;
|
|
409
|
-
filledFocusBg?: string;
|
|
410
|
-
filledFocusBorder?: string;
|
|
411
|
-
filledFocusRing?: string;
|
|
412
|
-
errorBorder?: string;
|
|
413
|
-
errorFocusRing?: string;
|
|
414
|
-
disabledBg?: string;
|
|
415
|
-
disabledBorder?: string;
|
|
416
|
-
disabledOpacity?: string;
|
|
417
|
-
heightXs?: string;
|
|
418
|
-
paddingHorizontalXs?: string;
|
|
419
|
-
heightSm?: string;
|
|
420
|
-
paddingHorizontalSm?: string;
|
|
421
|
-
heightMd?: string;
|
|
422
|
-
paddingHorizontalMd?: string;
|
|
423
|
-
heightLg?: string;
|
|
424
|
-
paddingHorizontalLg?: string;
|
|
425
|
-
heightXl?: string;
|
|
426
|
-
paddingHorizontalXl?: string;
|
|
427
|
-
radiusNone?: string;
|
|
428
|
-
radiusXs?: string;
|
|
429
|
-
radiusMd?: string;
|
|
430
|
-
radiusLg?: string;
|
|
431
|
-
radiusXl?: string;
|
|
432
|
-
radiusFull?: string;
|
|
433
|
-
valueColor?: string;
|
|
434
|
-
placeholderColor?: string;
|
|
435
|
-
searchColor?: string;
|
|
436
|
-
searchPlaceholderColor?: string;
|
|
437
|
-
loaderColor?: string;
|
|
438
|
-
arrowColor?: string;
|
|
439
|
-
dropdownMaxHeight?: string;
|
|
440
|
-
dropdownBg?: string;
|
|
441
|
-
dropdownBorder?: string;
|
|
442
|
-
dropdownRadius?: string;
|
|
443
|
-
dropdownShadow?: string;
|
|
444
|
-
dropdownZIndex?: string;
|
|
445
|
-
optionPaddingY?: string;
|
|
446
|
-
optionPaddingX?: string;
|
|
447
|
-
optionFontSize?: string;
|
|
448
|
-
optionColor?: string;
|
|
449
|
-
optionHoverBg?: string;
|
|
450
|
-
optionSelectedBg?: string;
|
|
451
|
-
optionSelectedColor?: string;
|
|
452
|
-
optionSelectedFontWeight?: string;
|
|
453
|
-
optionDisabledColor?: string;
|
|
454
|
-
stateColor?: string;
|
|
455
|
-
hintFontSize?: string;
|
|
456
|
-
hintColor?: string;
|
|
457
|
-
hintErrorColor?: string;
|
|
458
|
-
}
|
|
459
|
-
export interface DasarThemeCard {
|
|
460
|
-
background?: string;
|
|
461
|
-
outlineBorder?: string;
|
|
462
|
-
elevatedBorder?: string;
|
|
463
|
-
elevatedShadow?: string;
|
|
464
|
-
radiusNone?: string;
|
|
465
|
-
radiusXs?: string;
|
|
466
|
-
radiusSm?: string;
|
|
467
|
-
radiusMd?: string;
|
|
468
|
-
radiusLg?: string;
|
|
469
|
-
radiusXl?: string;
|
|
470
|
-
radiusFull?: string;
|
|
471
|
-
normalHeaderPaddingVertical?: string;
|
|
472
|
-
normalHeaderPaddingHorizontal?: string;
|
|
473
|
-
normalBodyPaddingVertical?: string;
|
|
474
|
-
normalBodyPaddingHorizontal?: string;
|
|
475
|
-
normalActionsPadding?: string;
|
|
476
|
-
compactHeaderPadding?: string;
|
|
477
|
-
compactBodyPadding?: string;
|
|
478
|
-
compactActionsPadding?: string;
|
|
479
|
-
fontSizeSm?: string;
|
|
480
|
-
fontSizeMd?: string;
|
|
481
|
-
fontSizeLg?: string;
|
|
482
|
-
headerBorder?: string;
|
|
483
|
-
titleColor?: string;
|
|
484
|
-
titleFontWeight?: string;
|
|
485
|
-
bodyColor?: string;
|
|
486
|
-
captionColor?: string;
|
|
487
|
-
captionFontSize?: string;
|
|
488
|
-
actionsBackground?: string;
|
|
489
|
-
actionsGap?: string;
|
|
490
|
-
}
|
|
491
|
-
export interface DasarThemeTable {
|
|
492
|
-
radius?: string;
|
|
493
|
-
background?: string;
|
|
494
|
-
outlineBorder?: string;
|
|
495
|
-
filledBackground?: string;
|
|
496
|
-
filledBorder?: string;
|
|
497
|
-
filledRowBorder?: string;
|
|
498
|
-
filledRowBackground?: string;
|
|
499
|
-
elevatedBorder?: string;
|
|
500
|
-
elevatedShadow?: string;
|
|
501
|
-
radiusNone?: string;
|
|
502
|
-
borderlessBackground?: string;
|
|
503
|
-
fontSizeSm?: string;
|
|
504
|
-
fontSizeMd?: string;
|
|
505
|
-
fontSizeLg?: string;
|
|
506
|
-
compactPaddingVertical?: string;
|
|
507
|
-
compactPaddingHorizontal?: string;
|
|
508
|
-
normalPaddingVertical?: string;
|
|
509
|
-
normalPaddingHorizontal?: string;
|
|
510
|
-
relaxedPaddingVertical?: string;
|
|
511
|
-
relaxedPaddingHorizontal?: string;
|
|
512
|
-
color?: string;
|
|
513
|
-
headerBackground?: string;
|
|
514
|
-
headerFontWeight?: string;
|
|
515
|
-
headerColor?: string;
|
|
516
|
-
headerHoverBackground?: string;
|
|
517
|
-
headerContentGap?: string;
|
|
518
|
-
sortIndicatorSize?: string;
|
|
519
|
-
sortActiveColor?: string;
|
|
520
|
-
rowBorder?: string;
|
|
521
|
-
rowHoverBackground?: string;
|
|
522
|
-
rowHoverIndicatorWidth?: string;
|
|
523
|
-
rowHoverIndicatorColor?: string;
|
|
524
|
-
stripeBackground?: string;
|
|
525
|
-
expandBtnColor?: string;
|
|
526
|
-
expandBtnRadius?: string;
|
|
527
|
-
expandBtnHoverBackground?: string;
|
|
528
|
-
expandBtnHoverColor?: string;
|
|
529
|
-
stateCellPadding?: string;
|
|
530
|
-
stateContentGap?: string;
|
|
531
|
-
stateContentColor?: string;
|
|
532
|
-
spinnerTrack?: string;
|
|
533
|
-
spinnerColor?: string;
|
|
534
|
-
emptyContentGap?: string;
|
|
535
|
-
emptyTitleFontWeight?: string;
|
|
536
|
-
emptyTitleColor?: string;
|
|
537
|
-
emptyTitleFontSize?: string;
|
|
538
|
-
emptyDescColor?: string;
|
|
539
|
-
emptyDescFontSize?: string;
|
|
540
|
-
paginationPaddingVertical?: string;
|
|
541
|
-
paginationPaddingHorizontal?: string;
|
|
542
|
-
paginationBorder?: string;
|
|
543
|
-
paginationBackground?: string;
|
|
544
|
-
}
|
|
545
|
-
export interface DasarThemeMenu {
|
|
546
|
-
triggerPaddingHorizontal?: string;
|
|
547
|
-
triggerGap?: string;
|
|
548
|
-
outlineBorder?: string;
|
|
549
|
-
outlineBackground?: string;
|
|
550
|
-
outlineHoverBorder?: string;
|
|
551
|
-
outlineFocusBorder?: string;
|
|
552
|
-
outlineFocusRing?: string;
|
|
553
|
-
filledBorder?: string;
|
|
554
|
-
filledBackground?: string;
|
|
555
|
-
filledHoverBackground?: string;
|
|
556
|
-
filledFocusBackground?: string;
|
|
557
|
-
filledFocusBorder?: string;
|
|
558
|
-
filledFocusRing?: string;
|
|
559
|
-
disabledOpacity?: string;
|
|
560
|
-
heightSm?: string;
|
|
561
|
-
fontSizeSm?: string;
|
|
562
|
-
heightMd?: string;
|
|
563
|
-
fontSizeMd?: string;
|
|
564
|
-
heightLg?: string;
|
|
565
|
-
fontSizeLg?: string;
|
|
566
|
-
radiusNone?: string;
|
|
567
|
-
radiusXs?: string;
|
|
568
|
-
radiusSm?: string;
|
|
569
|
-
radiusMd?: string;
|
|
570
|
-
radiusLg?: string;
|
|
571
|
-
radiusXl?: string;
|
|
572
|
-
radiusFull?: string;
|
|
573
|
-
panelMinWidth?: string;
|
|
574
|
-
panelBackground?: string;
|
|
575
|
-
panelBorder?: string;
|
|
576
|
-
panelRadius?: string;
|
|
577
|
-
panelShadow?: string;
|
|
578
|
-
panelPadding?: string;
|
|
579
|
-
panelZIndex?: string;
|
|
580
|
-
panelOffset?: string;
|
|
581
|
-
itemGap?: string;
|
|
582
|
-
itemPaddingVertical?: string;
|
|
583
|
-
itemPaddingHorizontal?: string;
|
|
584
|
-
itemFontSize?: string;
|
|
585
|
-
itemColor?: string;
|
|
586
|
-
itemRadius?: string;
|
|
587
|
-
itemHoverBackground?: string;
|
|
588
|
-
itemHoverColor?: string;
|
|
589
|
-
itemDisabledColor?: string;
|
|
590
|
-
dividerHeight?: string;
|
|
591
|
-
dividerBackground?: string;
|
|
592
|
-
dividerMarginVertical?: string;
|
|
593
|
-
}
|
|
594
|
-
export interface DasarComponentCommonConfig {
|
|
595
|
-
size?: Extract<ScaleAttributeType, 'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
|
|
596
|
-
radius?: ScaleAttributeType;
|
|
597
|
-
}
|
|
598
|
-
export type DasarComponentConfig = {
|
|
599
|
-
common?: DasarComponentCommonConfig;
|
|
600
|
-
} & {
|
|
601
|
-
numberInput?: DasarNumberInputConfig;
|
|
602
|
-
datepicker?: DasarDatepickerConfig;
|
|
603
|
-
calendar?: DasarCalendarConfig;
|
|
604
|
-
select?: DasarSelectConfig;
|
|
605
|
-
button?: DasarButtonConfig;
|
|
606
|
-
input?: DasarInputConfig;
|
|
607
|
-
card?: DasarCardConfig;
|
|
608
|
-
chip?: DasarChipConfig;
|
|
609
|
-
icon?: DasarIconConfig;
|
|
610
|
-
menu?: DasarMenuConfig;
|
|
611
|
-
table?: DasarTableConfig;
|
|
612
|
-
};
|
|
613
|
-
export interface DasarThemeConfig {
|
|
614
|
-
mode: DasarThemeMode;
|
|
615
|
-
colors?: DasarThemeColors;
|
|
616
|
-
components?: DasarComponentConfig;
|
|
617
|
-
tokens?: {
|
|
618
|
-
light?: {
|
|
619
|
-
common?: DasarThemeCommon;
|
|
620
|
-
button?: DasarThemeButton;
|
|
621
|
-
input?: DasarThemeInput;
|
|
622
|
-
calendar?: DasarThemeCalendar;
|
|
623
|
-
datepicker?: DasarThemeDatepicker;
|
|
624
|
-
chip?: DasarThemeChip;
|
|
625
|
-
select?: DasarThemeSelect;
|
|
626
|
-
card?: DasarThemeCard;
|
|
627
|
-
menu?: DasarThemeMenu;
|
|
628
|
-
table?: DasarThemeTable;
|
|
629
|
-
};
|
|
630
|
-
dark?: {
|
|
631
|
-
common?: DasarThemeCommon;
|
|
632
|
-
button?: DasarThemeButton;
|
|
633
|
-
input?: DasarThemeInput;
|
|
634
|
-
calendar?: DasarThemeCalendar;
|
|
635
|
-
datepicker?: DasarThemeDatepicker;
|
|
636
|
-
chip?: DasarThemeChip;
|
|
637
|
-
select?: DasarThemeSelect;
|
|
638
|
-
card?: DasarThemeCard;
|
|
639
|
-
menu?: DasarThemeMenu;
|
|
640
|
-
table?: DasarThemeTable;
|
|
641
|
-
};
|
|
642
|
-
};
|
|
643
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export type ClassType =
|
|
2
|
-
| string
|
|
3
|
-
| string[]
|
|
4
|
-
| Set<string>
|
|
5
|
-
| {
|
|
6
|
-
[klass: string]: any;
|
|
7
|
-
}
|
|
8
|
-
| null
|
|
9
|
-
| undefined;
|
|
10
|
-
export type StyleType = Partial<CSSStyleDeclaration> | { [key: string]: any } | null;
|
|
11
|
-
export type ScaleAttributeType = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|