maru_design2 2.31.1 → 3.0.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/CHANGELOG.md +46 -0
- package/dist/components/atoms/badge/Badge.d.ts +40 -3
- package/dist/components/atoms/button/Button.d.ts +16 -0
- package/dist/components/atoms/checkbox/Checkbox.d.ts +2 -1
- package/dist/components/atoms/chip/Chip.d.ts +36 -3
- package/dist/components/atoms/code/Code.d.ts +2 -1
- package/dist/components/atoms/icon/Icon.d.ts +5 -3
- package/dist/components/atoms/icon/iconmap.d.ts +4 -0
- package/dist/components/atoms/input/Input.d.ts +8 -0
- package/dist/components/atoms/popover/Popover.d.ts +1 -1
- package/dist/components/atoms/radio/Radio.d.ts +9 -5
- package/dist/components/atoms/radio/index.d.ts +1 -0
- package/dist/components/atoms/skeleton/Contents.d.ts +2 -1
- package/dist/components/atoms/skeleton/Skeleton.d.ts +2 -1
- package/dist/components/atoms/slider/Slider.d.ts +3 -5
- package/dist/components/atoms/toggle/Toggle.d.ts +8 -23
- package/dist/components/atoms/toggle/index.d.ts +1 -0
- package/dist/components/atoms/tooltip/Tooltip.d.ts +1 -1
- package/dist/components/molecules/buttonGroup/ButtonGroup.d.ts +1 -1
- package/dist/components/molecules/calendar/Calendar.d.ts +1 -1
- package/dist/components/molecules/calendar/DatePickerHeader.d.ts +2 -1
- package/dist/components/molecules/calendar/DatePickerWrapper.d.ts +2 -1
- package/dist/components/molecules/dropdown/Dropdown.d.ts +6 -1
- package/dist/components/molecules/dropdown/menu/MenuItem.d.ts +1 -1
- package/dist/components/molecules/dropdown/menu/index.d.ts +1 -1
- package/dist/components/molecules/dropdown/toggleButton/Arrow.d.ts +2 -2
- package/dist/components/molecules/dropdown/toggleButton/Clear.d.ts +2 -1
- package/dist/components/molecules/dropdown/toggleButton/index.d.ts +2 -1
- package/dist/components/molecules/inputWithAction/InputWithAction.d.ts +14 -0
- package/dist/components/molecules/inputWithAction/index.d.ts +1 -0
- package/dist/components/molecules/modal/Modal.d.ts +20 -2
- package/dist/components/molecules/multiSelectDropdown/MultiSelectDropdown.d.ts +2 -1
- package/dist/components/molecules/multiSelectDropdown/menu/MenuItem.d.ts +2 -1
- package/dist/components/molecules/multiSelectDropdown/menu/index.d.ts +2 -1
- package/dist/components/molecules/multiSelectDropdown/toggleButton/Arrow.d.ts +2 -1
- package/dist/components/molecules/multiSelectDropdown/toggleButton/Clear.d.ts +2 -1
- package/dist/components/molecules/multiSelectDropdown/toggleButton/index.d.ts +2 -1
- package/dist/components/molecules/numberInput/NumberInput.d.ts +18 -0
- package/dist/components/molecules/numberInput/index.d.ts +1 -0
- package/dist/components/molecules/pagination/Pagination.d.ts +2 -1
- package/dist/components/molecules/searchInput/SearchInput.d.ts +1 -1
- package/dist/components/molecules/searchInput/filter/FilterPopover.d.ts +1 -1
- package/dist/components/molecules/searchInput/filter/index.d.ts +1 -1
- package/dist/components/molecules/table/Colgroup.d.ts +2 -1
- package/dist/components/molecules/table/Table.d.ts +2 -1
- package/dist/components/molecules/table/body/BinButtonTd.d.ts +2 -1
- package/dist/components/molecules/table/body/ChartButtonTd.d.ts +2 -1
- package/dist/components/molecules/table/body/CheckboxTd.d.ts +3 -1
- package/dist/components/molecules/table/body/EmptyTr.d.ts +1 -1
- package/dist/components/molecules/table/body/KebabMenuTd.d.ts +1 -1
- package/dist/components/molecules/table/body/RadioTd.d.ts +3 -1
- package/dist/components/molecules/table/body/Tr.d.ts +2 -1
- package/dist/components/molecules/table/body/index.d.ts +2 -1
- package/dist/components/molecules/table/header/FilterButtonsTh.d.ts +2 -1
- package/dist/components/molecules/table/header/FilterTh.d.ts +1 -1
- package/dist/components/molecules/table/header/SortableColumn.d.ts +2 -8
- package/dist/components/molecules/table/header/index.d.ts +1 -1
- package/dist/components/molecules/table/types.d.ts +7 -0
- package/dist/components/molecules/tabs/Tab.d.ts +12 -0
- package/dist/components/molecules/tabs/Tabs.d.ts +21 -0
- package/dist/components/molecules/tabs/TabsContext.d.ts +4 -0
- package/dist/components/molecules/tabs/index.d.ts +2 -0
- package/dist/components/molecules/tagInput/TagInput.d.ts +22 -0
- package/dist/components/molecules/tagInput/index.d.ts +2 -0
- package/dist/components/molecules/toast/Details.d.ts +3 -2
- package/dist/components/molecules/toast/DetailsItem.d.ts +6 -0
- package/dist/components/molecules/toast/Toast.d.ts +5 -21
- package/dist/components/molecules/toast/ToastContext.d.ts +2 -2
- package/dist/components/molecules/toast/ToastStyle.d.ts +4 -2
- package/dist/components/molecules/toast/index.d.ts +2 -0
- package/dist/components/molecules/toast/types.d.ts +1 -4
- package/dist/components/styleProvider/StyleProvider.d.ts +7 -3
- package/dist/constants/color.d.ts +352 -0
- package/dist/constants/input.d.ts +2 -0
- package/dist/constants/toast.d.ts +2 -0
- package/dist/enums/color.d.ts +113 -6
- package/dist/enums/size.d.ts +5 -2
- package/dist/enums/variant.d.ts +7 -2
- package/dist/fonts.js +1 -1
- package/dist/hooks/useColor.d.ts +2 -1
- package/dist/index.d.ts +9 -0
- package/dist/index.js +1703 -616
- package/dist/types/color.d.ts +4 -0
- package/dist/types/input.d.ts +7 -0
- package/dist/types/radio.d.ts +12 -0
- package/dist/types/tabs.d.ts +12 -0
- package/dist/types/toast.d.ts +29 -0
- package/dist/types/toggle.d.ts +5 -0
- package/package.json +35 -7
- package/mise.toml +0 -3
|
@@ -0,0 +1,352 @@
|
|
|
1
|
+
export declare const PRIMITIVE_COLOR_TOKEN_VALUES: {
|
|
2
|
+
readonly white: "var(--maru-white)";
|
|
3
|
+
readonly black50: "var(--maru-black-50)";
|
|
4
|
+
readonly black100: "var(--maru-black-100)";
|
|
5
|
+
readonly black150: "var(--maru-black-150)";
|
|
6
|
+
readonly black200: "var(--maru-black-200)";
|
|
7
|
+
readonly black250: "var(--maru-black-250)";
|
|
8
|
+
readonly black300: "var(--maru-black-300)";
|
|
9
|
+
readonly black350: "var(--maru-black-350)";
|
|
10
|
+
readonly black400: "var(--maru-black-400)";
|
|
11
|
+
readonly black500: "var(--maru-black-500)";
|
|
12
|
+
readonly black550: "var(--maru-black-550)";
|
|
13
|
+
readonly black600: "var(--maru-black-600)";
|
|
14
|
+
readonly black700: "var(--maru-black-700)";
|
|
15
|
+
readonly black800: "var(--maru-black-800)";
|
|
16
|
+
readonly black900: "var(--maru-black-900)";
|
|
17
|
+
readonly gray100: "var(--maru-gray-100)";
|
|
18
|
+
readonly gray150: "var(--maru-gray-150)";
|
|
19
|
+
readonly gray200: "var(--maru-gray-200)";
|
|
20
|
+
readonly gray300: "var(--maru-gray-300)";
|
|
21
|
+
readonly gray400: "var(--maru-gray-400)";
|
|
22
|
+
readonly gray500: "var(--maru-gray-500)";
|
|
23
|
+
readonly gray600: "var(--maru-gray-600)";
|
|
24
|
+
readonly gray700: "var(--maru-gray-700)";
|
|
25
|
+
readonly gray800: "var(--maru-gray-800)";
|
|
26
|
+
readonly gray900: "var(--maru-gray-900)";
|
|
27
|
+
readonly coolGray50: "var(--maru-cool-gray-50)";
|
|
28
|
+
readonly coolGray100: "var(--maru-cool-gray-100)";
|
|
29
|
+
readonly coolGray200: "var(--maru-cool-gray-200)";
|
|
30
|
+
readonly neutralGray100: "var(--maru-neutral-gray-100)";
|
|
31
|
+
readonly neutralGray200: "var(--maru-neutral-gray-200)";
|
|
32
|
+
readonly brand50: "var(--maru-brand-50)";
|
|
33
|
+
readonly brand100: "var(--maru-brand-100)";
|
|
34
|
+
readonly brand200: "var(--maru-brand-200)";
|
|
35
|
+
readonly brand300: "var(--maru-brand-300)";
|
|
36
|
+
readonly brand400: "var(--maru-brand-400)";
|
|
37
|
+
readonly brand500: "var(--maru-brand-500)";
|
|
38
|
+
readonly brand600: "var(--maru-brand-600)";
|
|
39
|
+
readonly brand700: "var(--maru-brand-700)";
|
|
40
|
+
readonly brand800: "var(--maru-brand-800)";
|
|
41
|
+
readonly brand900: "var(--maru-brand-900)";
|
|
42
|
+
readonly brand1000: "var(--maru-brand-1000)";
|
|
43
|
+
readonly blue50: "var(--maru-blue-50)";
|
|
44
|
+
readonly blue100: "var(--maru-blue-100)";
|
|
45
|
+
readonly blue200: "var(--maru-blue-200)";
|
|
46
|
+
readonly blue300: "var(--maru-blue-300)";
|
|
47
|
+
readonly blue400: "var(--maru-blue-400)";
|
|
48
|
+
readonly blue500: "var(--maru-blue-500)";
|
|
49
|
+
readonly blue600: "var(--maru-blue-600)";
|
|
50
|
+
readonly blue700: "var(--maru-blue-700)";
|
|
51
|
+
readonly blue800: "var(--maru-blue-800)";
|
|
52
|
+
readonly blue900: "var(--maru-blue-900)";
|
|
53
|
+
readonly blue1000: "var(--maru-blue-1000)";
|
|
54
|
+
readonly green50: "var(--maru-green-50)";
|
|
55
|
+
readonly green100: "var(--maru-green-100)";
|
|
56
|
+
readonly green200: "var(--maru-green-200)";
|
|
57
|
+
readonly green300: "var(--maru-green-300)";
|
|
58
|
+
readonly green400: "var(--maru-green-400)";
|
|
59
|
+
readonly green500: "var(--maru-green-500)";
|
|
60
|
+
readonly green600: "var(--maru-green-600)";
|
|
61
|
+
readonly green700: "var(--maru-green-700)";
|
|
62
|
+
readonly green800: "var(--maru-green-800)";
|
|
63
|
+
readonly green900: "var(--maru-green-900)";
|
|
64
|
+
readonly green1000: "var(--maru-green-1000)";
|
|
65
|
+
readonly yellow50: "var(--maru-yellow-50)";
|
|
66
|
+
readonly yellow100: "var(--maru-yellow-100)";
|
|
67
|
+
readonly yellow200: "var(--maru-yellow-200)";
|
|
68
|
+
readonly yellow300: "var(--maru-yellow-300)";
|
|
69
|
+
readonly yellow400: "var(--maru-yellow-400)";
|
|
70
|
+
readonly yellow500: "var(--maru-yellow-500)";
|
|
71
|
+
readonly yellow600: "var(--maru-yellow-600)";
|
|
72
|
+
readonly yellow700: "var(--maru-yellow-700)";
|
|
73
|
+
readonly yellow800: "var(--maru-yellow-800)";
|
|
74
|
+
readonly yellow900: "var(--maru-yellow-900)";
|
|
75
|
+
readonly yellow1000: "var(--maru-yellow-1000)";
|
|
76
|
+
readonly red50: "var(--maru-red-50)";
|
|
77
|
+
readonly red100: "var(--maru-red-100)";
|
|
78
|
+
readonly red200: "var(--maru-red-200)";
|
|
79
|
+
readonly red300: "var(--maru-red-300)";
|
|
80
|
+
readonly red400: "var(--maru-red-400)";
|
|
81
|
+
readonly red500: "var(--maru-red-500)";
|
|
82
|
+
readonly red600: "var(--maru-red-600)";
|
|
83
|
+
readonly red700: "var(--maru-red-700)";
|
|
84
|
+
readonly red800: "var(--maru-red-800)";
|
|
85
|
+
readonly red900: "var(--maru-red-900)";
|
|
86
|
+
readonly red1000: "var(--maru-red-1000)";
|
|
87
|
+
};
|
|
88
|
+
export declare const SEMANTIC_COLOR_TOKEN_VALUES: {
|
|
89
|
+
readonly textPrimary: "var(--maru-text-primary)";
|
|
90
|
+
readonly textSecondary: "var(--maru-text-secondary)";
|
|
91
|
+
readonly textSupport: "var(--maru-text-support)";
|
|
92
|
+
readonly textTertiary: "var(--maru-text-tertiary)";
|
|
93
|
+
readonly textDisabled: "var(--maru-text-disabled)";
|
|
94
|
+
readonly textWhite: "var(--maru-text-white)";
|
|
95
|
+
readonly textBrand: "var(--maru-text-brand)";
|
|
96
|
+
readonly textBrandHover: "var(--maru-text-brand-hover)";
|
|
97
|
+
readonly textSuccessPrimary: "var(--maru-text-success-primary)";
|
|
98
|
+
readonly textWarningPrimary: "var(--maru-text-warning-primary)";
|
|
99
|
+
readonly textInfoPrimary: "var(--maru-text-info-primary)";
|
|
100
|
+
readonly textPositivePrimary: "var(--maru-text-positive-primary)";
|
|
101
|
+
readonly textErrorPrimary: "var(--maru-text-error-primary)";
|
|
102
|
+
readonly iconPrimary: "var(--maru-icon-primary)";
|
|
103
|
+
readonly iconSecondary: "var(--maru-icon-secondary)";
|
|
104
|
+
readonly iconTertiary: "var(--maru-icon-tertiary)";
|
|
105
|
+
readonly iconQuaternary: "var(--maru-icon-quaternary)";
|
|
106
|
+
readonly iconBrandPrimary: "var(--maru-icon-brand-primary)";
|
|
107
|
+
readonly iconBrandSecondary: "var(--maru-icon-brand-secondary)";
|
|
108
|
+
readonly iconErrorPrimary: "var(--maru-icon-error-primary)";
|
|
109
|
+
readonly iconErrorSecondary: "var(--maru-icon-error-secondary)";
|
|
110
|
+
readonly iconPositivePrimary: "var(--maru-icon-positive-primary)";
|
|
111
|
+
readonly iconWarningPrimary: "var(--maru-icon-warning-primary)";
|
|
112
|
+
readonly iconWhite: "var(--maru-icon-white)";
|
|
113
|
+
readonly borderPrimary: "var(--maru-border-primary)";
|
|
114
|
+
readonly borderSecondary: "var(--maru-border-secondary)";
|
|
115
|
+
readonly borderSuccessPrimary: "var(--maru-border-success-primary)";
|
|
116
|
+
readonly borderBrandPrimary: "var(--maru-border-brand-primary)";
|
|
117
|
+
readonly borderBrandSecondary: "var(--maru-border-brand-secondary)";
|
|
118
|
+
readonly borderBrandTertiary: "var(--maru-border-brand-tertiary)";
|
|
119
|
+
readonly borderErrorPrimary: "var(--maru-border-error-primary)";
|
|
120
|
+
readonly borderErrorSecondary: "var(--maru-border-error-secondary)";
|
|
121
|
+
readonly backgroundPrimary: "var(--maru-background-primary)";
|
|
122
|
+
readonly backgroundPrimaryHover: "var(--maru-background-primary-hover)";
|
|
123
|
+
readonly backgroundSecondary: "var(--maru-background-secondary)";
|
|
124
|
+
readonly backgroundSecondaryHover: "var(--maru-background-secondary-hover)";
|
|
125
|
+
readonly backgroundTertiary: "var(--maru-background-tertiary)";
|
|
126
|
+
readonly backgroundQuaternary: "var(--maru-background-quaternary)";
|
|
127
|
+
readonly backgroundDisabled: "var(--maru-background-disabled)";
|
|
128
|
+
readonly backgroundBlack: "var(--maru-background-black)";
|
|
129
|
+
readonly backgroundPopupPrimary: "var(--maru-background-popup-primary)";
|
|
130
|
+
readonly backgroundBrandSolidPrimary: "var(--maru-background-brand-solid-primary)";
|
|
131
|
+
readonly backgroundBrandSolidPrimaryHover: "var(--maru-background-brand-solid-primary-hover)";
|
|
132
|
+
readonly backgroundBrandSolidSecondary: "var(--maru-background-brand-solid-secondary)";
|
|
133
|
+
readonly backgroundBrandPrimary: "var(--maru-background-brand-primary)";
|
|
134
|
+
readonly backgroundBrandTertiaryHover: "var(--maru-background-brand-tertiary-hover)";
|
|
135
|
+
readonly backgroundPositiveSolidPrimary: "var(--maru-background-positive-solid-primary)";
|
|
136
|
+
readonly backgroundPositiveSolidPrimaryHover: "var(--maru-background-positive-solid-primary-hover)";
|
|
137
|
+
readonly backgroundPositivePrimary: "var(--maru-background-positive-primary)";
|
|
138
|
+
readonly backgroundPositivePrimaryHover: "var(--maru-background-positive-primary-hover)";
|
|
139
|
+
readonly backgroundInfoSolidPrimary: "var(--maru-background-info-solid-primary)";
|
|
140
|
+
readonly backgroundInfoSolidPrimaryHover: "var(--maru-background-info-solid-primary-hover)";
|
|
141
|
+
readonly backgroundInfoSecondary: "var(--maru-background-info-secondary)";
|
|
142
|
+
readonly backgroundInfoSecondaryHover: "var(--maru-background-info-secondary-hover)";
|
|
143
|
+
readonly backgroundWarningSolidPrimary: "var(--maru-background-warning-solid-primary)";
|
|
144
|
+
readonly backgroundWarningSolidPrimaryHover: "var(--maru-background-warning-solid-primary-hover)";
|
|
145
|
+
readonly backgroundWarningPrimary: "var(--maru-background-warning-primary)";
|
|
146
|
+
readonly backgroundWarningPrimaryHover: "var(--maru-background-warning-primary-hover)";
|
|
147
|
+
readonly backgroundErrorSolidPrimary: "var(--maru-background-error-solid-primary)";
|
|
148
|
+
readonly backgroundErrorSolidPrimaryHover: "var(--maru-background-error-solid-primary-hover)";
|
|
149
|
+
readonly backgroundErrorPrimary: "var(--maru-background-error-primary)";
|
|
150
|
+
readonly backgroundErrorPrimaryHover: "var(--maru-background-error-primary-hover)";
|
|
151
|
+
readonly badgePrimary: "var(--maru-badge-primary)";
|
|
152
|
+
readonly badgePrimaryHover: "var(--maru-badge-primary-hover)";
|
|
153
|
+
readonly badgeSecondary: "var(--maru-badge-secondary)";
|
|
154
|
+
readonly badgeSecondaryHover: "var(--maru-badge-secondary-hover)";
|
|
155
|
+
readonly badgePositivePrimary: "var(--maru-badge-positive-primary)";
|
|
156
|
+
readonly badgeErrorPrimary: "var(--maru-badge-error-primary)";
|
|
157
|
+
readonly badgeBrandPrimary: "var(--maru-badge-brand-primary)";
|
|
158
|
+
readonly badgeInfoPrimary: "var(--maru-badge-info-primary)";
|
|
159
|
+
readonly componentBrandPrimary: "var(--maru-component-brand-primary)";
|
|
160
|
+
readonly componentWhite: "var(--maru-component-white)";
|
|
161
|
+
readonly componentError: "var(--maru-component-error)";
|
|
162
|
+
readonly featureHighlight: "var(--maru-feature-highlight)";
|
|
163
|
+
readonly featureTooltip: "var(--maru-feature-tooltip)";
|
|
164
|
+
readonly shadowBrand: "var(--maru-shadow-brand)";
|
|
165
|
+
readonly shadowSearchBar: "var(--maru-shadow-search-bar)";
|
|
166
|
+
readonly shadowDefault: "var(--maru-shadow-default)";
|
|
167
|
+
readonly overlayScrim: "var(--maru-overlay-scrim)";
|
|
168
|
+
readonly skeletonBase: "var(--maru-skeleton-base)";
|
|
169
|
+
readonly skeletonHighlight: "var(--maru-skeleton-highlight)";
|
|
170
|
+
readonly statusLearning: "var(--maru-status-learning)";
|
|
171
|
+
readonly statusLearningBackground: "var(--maru-status-learning-background)";
|
|
172
|
+
readonly statusDistribution: "var(--maru-status-distribution)";
|
|
173
|
+
readonly statusDistributionBackground: "var(--maru-status-distribution-background)";
|
|
174
|
+
readonly statusService: "var(--maru-status-service)";
|
|
175
|
+
readonly statusServiceBackground: "var(--maru-status-service-background)";
|
|
176
|
+
readonly statusTitle: "var(--maru-status-title)";
|
|
177
|
+
};
|
|
178
|
+
export declare const COLOR_TOKEN_VALUES: {
|
|
179
|
+
readonly textPrimary: "var(--maru-text-primary)";
|
|
180
|
+
readonly textSecondary: "var(--maru-text-secondary)";
|
|
181
|
+
readonly textSupport: "var(--maru-text-support)";
|
|
182
|
+
readonly textTertiary: "var(--maru-text-tertiary)";
|
|
183
|
+
readonly textDisabled: "var(--maru-text-disabled)";
|
|
184
|
+
readonly textWhite: "var(--maru-text-white)";
|
|
185
|
+
readonly textBrand: "var(--maru-text-brand)";
|
|
186
|
+
readonly textBrandHover: "var(--maru-text-brand-hover)";
|
|
187
|
+
readonly textSuccessPrimary: "var(--maru-text-success-primary)";
|
|
188
|
+
readonly textWarningPrimary: "var(--maru-text-warning-primary)";
|
|
189
|
+
readonly textInfoPrimary: "var(--maru-text-info-primary)";
|
|
190
|
+
readonly textPositivePrimary: "var(--maru-text-positive-primary)";
|
|
191
|
+
readonly textErrorPrimary: "var(--maru-text-error-primary)";
|
|
192
|
+
readonly iconPrimary: "var(--maru-icon-primary)";
|
|
193
|
+
readonly iconSecondary: "var(--maru-icon-secondary)";
|
|
194
|
+
readonly iconTertiary: "var(--maru-icon-tertiary)";
|
|
195
|
+
readonly iconQuaternary: "var(--maru-icon-quaternary)";
|
|
196
|
+
readonly iconBrandPrimary: "var(--maru-icon-brand-primary)";
|
|
197
|
+
readonly iconBrandSecondary: "var(--maru-icon-brand-secondary)";
|
|
198
|
+
readonly iconErrorPrimary: "var(--maru-icon-error-primary)";
|
|
199
|
+
readonly iconErrorSecondary: "var(--maru-icon-error-secondary)";
|
|
200
|
+
readonly iconPositivePrimary: "var(--maru-icon-positive-primary)";
|
|
201
|
+
readonly iconWarningPrimary: "var(--maru-icon-warning-primary)";
|
|
202
|
+
readonly iconWhite: "var(--maru-icon-white)";
|
|
203
|
+
readonly borderPrimary: "var(--maru-border-primary)";
|
|
204
|
+
readonly borderSecondary: "var(--maru-border-secondary)";
|
|
205
|
+
readonly borderSuccessPrimary: "var(--maru-border-success-primary)";
|
|
206
|
+
readonly borderBrandPrimary: "var(--maru-border-brand-primary)";
|
|
207
|
+
readonly borderBrandSecondary: "var(--maru-border-brand-secondary)";
|
|
208
|
+
readonly borderBrandTertiary: "var(--maru-border-brand-tertiary)";
|
|
209
|
+
readonly borderErrorPrimary: "var(--maru-border-error-primary)";
|
|
210
|
+
readonly borderErrorSecondary: "var(--maru-border-error-secondary)";
|
|
211
|
+
readonly backgroundPrimary: "var(--maru-background-primary)";
|
|
212
|
+
readonly backgroundPrimaryHover: "var(--maru-background-primary-hover)";
|
|
213
|
+
readonly backgroundSecondary: "var(--maru-background-secondary)";
|
|
214
|
+
readonly backgroundSecondaryHover: "var(--maru-background-secondary-hover)";
|
|
215
|
+
readonly backgroundTertiary: "var(--maru-background-tertiary)";
|
|
216
|
+
readonly backgroundQuaternary: "var(--maru-background-quaternary)";
|
|
217
|
+
readonly backgroundDisabled: "var(--maru-background-disabled)";
|
|
218
|
+
readonly backgroundBlack: "var(--maru-background-black)";
|
|
219
|
+
readonly backgroundPopupPrimary: "var(--maru-background-popup-primary)";
|
|
220
|
+
readonly backgroundBrandSolidPrimary: "var(--maru-background-brand-solid-primary)";
|
|
221
|
+
readonly backgroundBrandSolidPrimaryHover: "var(--maru-background-brand-solid-primary-hover)";
|
|
222
|
+
readonly backgroundBrandSolidSecondary: "var(--maru-background-brand-solid-secondary)";
|
|
223
|
+
readonly backgroundBrandPrimary: "var(--maru-background-brand-primary)";
|
|
224
|
+
readonly backgroundBrandTertiaryHover: "var(--maru-background-brand-tertiary-hover)";
|
|
225
|
+
readonly backgroundPositiveSolidPrimary: "var(--maru-background-positive-solid-primary)";
|
|
226
|
+
readonly backgroundPositiveSolidPrimaryHover: "var(--maru-background-positive-solid-primary-hover)";
|
|
227
|
+
readonly backgroundPositivePrimary: "var(--maru-background-positive-primary)";
|
|
228
|
+
readonly backgroundPositivePrimaryHover: "var(--maru-background-positive-primary-hover)";
|
|
229
|
+
readonly backgroundInfoSolidPrimary: "var(--maru-background-info-solid-primary)";
|
|
230
|
+
readonly backgroundInfoSolidPrimaryHover: "var(--maru-background-info-solid-primary-hover)";
|
|
231
|
+
readonly backgroundInfoSecondary: "var(--maru-background-info-secondary)";
|
|
232
|
+
readonly backgroundInfoSecondaryHover: "var(--maru-background-info-secondary-hover)";
|
|
233
|
+
readonly backgroundWarningSolidPrimary: "var(--maru-background-warning-solid-primary)";
|
|
234
|
+
readonly backgroundWarningSolidPrimaryHover: "var(--maru-background-warning-solid-primary-hover)";
|
|
235
|
+
readonly backgroundWarningPrimary: "var(--maru-background-warning-primary)";
|
|
236
|
+
readonly backgroundWarningPrimaryHover: "var(--maru-background-warning-primary-hover)";
|
|
237
|
+
readonly backgroundErrorSolidPrimary: "var(--maru-background-error-solid-primary)";
|
|
238
|
+
readonly backgroundErrorSolidPrimaryHover: "var(--maru-background-error-solid-primary-hover)";
|
|
239
|
+
readonly backgroundErrorPrimary: "var(--maru-background-error-primary)";
|
|
240
|
+
readonly backgroundErrorPrimaryHover: "var(--maru-background-error-primary-hover)";
|
|
241
|
+
readonly badgePrimary: "var(--maru-badge-primary)";
|
|
242
|
+
readonly badgePrimaryHover: "var(--maru-badge-primary-hover)";
|
|
243
|
+
readonly badgeSecondary: "var(--maru-badge-secondary)";
|
|
244
|
+
readonly badgeSecondaryHover: "var(--maru-badge-secondary-hover)";
|
|
245
|
+
readonly badgePositivePrimary: "var(--maru-badge-positive-primary)";
|
|
246
|
+
readonly badgeErrorPrimary: "var(--maru-badge-error-primary)";
|
|
247
|
+
readonly badgeBrandPrimary: "var(--maru-badge-brand-primary)";
|
|
248
|
+
readonly badgeInfoPrimary: "var(--maru-badge-info-primary)";
|
|
249
|
+
readonly componentBrandPrimary: "var(--maru-component-brand-primary)";
|
|
250
|
+
readonly componentWhite: "var(--maru-component-white)";
|
|
251
|
+
readonly componentError: "var(--maru-component-error)";
|
|
252
|
+
readonly featureHighlight: "var(--maru-feature-highlight)";
|
|
253
|
+
readonly featureTooltip: "var(--maru-feature-tooltip)";
|
|
254
|
+
readonly shadowBrand: "var(--maru-shadow-brand)";
|
|
255
|
+
readonly shadowSearchBar: "var(--maru-shadow-search-bar)";
|
|
256
|
+
readonly shadowDefault: "var(--maru-shadow-default)";
|
|
257
|
+
readonly overlayScrim: "var(--maru-overlay-scrim)";
|
|
258
|
+
readonly skeletonBase: "var(--maru-skeleton-base)";
|
|
259
|
+
readonly skeletonHighlight: "var(--maru-skeleton-highlight)";
|
|
260
|
+
readonly statusLearning: "var(--maru-status-learning)";
|
|
261
|
+
readonly statusLearningBackground: "var(--maru-status-learning-background)";
|
|
262
|
+
readonly statusDistribution: "var(--maru-status-distribution)";
|
|
263
|
+
readonly statusDistributionBackground: "var(--maru-status-distribution-background)";
|
|
264
|
+
readonly statusService: "var(--maru-status-service)";
|
|
265
|
+
readonly statusServiceBackground: "var(--maru-status-service-background)";
|
|
266
|
+
readonly statusTitle: "var(--maru-status-title)";
|
|
267
|
+
readonly white: "var(--maru-white)";
|
|
268
|
+
readonly black50: "var(--maru-black-50)";
|
|
269
|
+
readonly black100: "var(--maru-black-100)";
|
|
270
|
+
readonly black150: "var(--maru-black-150)";
|
|
271
|
+
readonly black200: "var(--maru-black-200)";
|
|
272
|
+
readonly black250: "var(--maru-black-250)";
|
|
273
|
+
readonly black300: "var(--maru-black-300)";
|
|
274
|
+
readonly black350: "var(--maru-black-350)";
|
|
275
|
+
readonly black400: "var(--maru-black-400)";
|
|
276
|
+
readonly black500: "var(--maru-black-500)";
|
|
277
|
+
readonly black550: "var(--maru-black-550)";
|
|
278
|
+
readonly black600: "var(--maru-black-600)";
|
|
279
|
+
readonly black700: "var(--maru-black-700)";
|
|
280
|
+
readonly black800: "var(--maru-black-800)";
|
|
281
|
+
readonly black900: "var(--maru-black-900)";
|
|
282
|
+
readonly gray100: "var(--maru-gray-100)";
|
|
283
|
+
readonly gray150: "var(--maru-gray-150)";
|
|
284
|
+
readonly gray200: "var(--maru-gray-200)";
|
|
285
|
+
readonly gray300: "var(--maru-gray-300)";
|
|
286
|
+
readonly gray400: "var(--maru-gray-400)";
|
|
287
|
+
readonly gray500: "var(--maru-gray-500)";
|
|
288
|
+
readonly gray600: "var(--maru-gray-600)";
|
|
289
|
+
readonly gray700: "var(--maru-gray-700)";
|
|
290
|
+
readonly gray800: "var(--maru-gray-800)";
|
|
291
|
+
readonly gray900: "var(--maru-gray-900)";
|
|
292
|
+
readonly coolGray50: "var(--maru-cool-gray-50)";
|
|
293
|
+
readonly coolGray100: "var(--maru-cool-gray-100)";
|
|
294
|
+
readonly coolGray200: "var(--maru-cool-gray-200)";
|
|
295
|
+
readonly neutralGray100: "var(--maru-neutral-gray-100)";
|
|
296
|
+
readonly neutralGray200: "var(--maru-neutral-gray-200)";
|
|
297
|
+
readonly brand50: "var(--maru-brand-50)";
|
|
298
|
+
readonly brand100: "var(--maru-brand-100)";
|
|
299
|
+
readonly brand200: "var(--maru-brand-200)";
|
|
300
|
+
readonly brand300: "var(--maru-brand-300)";
|
|
301
|
+
readonly brand400: "var(--maru-brand-400)";
|
|
302
|
+
readonly brand500: "var(--maru-brand-500)";
|
|
303
|
+
readonly brand600: "var(--maru-brand-600)";
|
|
304
|
+
readonly brand700: "var(--maru-brand-700)";
|
|
305
|
+
readonly brand800: "var(--maru-brand-800)";
|
|
306
|
+
readonly brand900: "var(--maru-brand-900)";
|
|
307
|
+
readonly brand1000: "var(--maru-brand-1000)";
|
|
308
|
+
readonly blue50: "var(--maru-blue-50)";
|
|
309
|
+
readonly blue100: "var(--maru-blue-100)";
|
|
310
|
+
readonly blue200: "var(--maru-blue-200)";
|
|
311
|
+
readonly blue300: "var(--maru-blue-300)";
|
|
312
|
+
readonly blue400: "var(--maru-blue-400)";
|
|
313
|
+
readonly blue500: "var(--maru-blue-500)";
|
|
314
|
+
readonly blue600: "var(--maru-blue-600)";
|
|
315
|
+
readonly blue700: "var(--maru-blue-700)";
|
|
316
|
+
readonly blue800: "var(--maru-blue-800)";
|
|
317
|
+
readonly blue900: "var(--maru-blue-900)";
|
|
318
|
+
readonly blue1000: "var(--maru-blue-1000)";
|
|
319
|
+
readonly green50: "var(--maru-green-50)";
|
|
320
|
+
readonly green100: "var(--maru-green-100)";
|
|
321
|
+
readonly green200: "var(--maru-green-200)";
|
|
322
|
+
readonly green300: "var(--maru-green-300)";
|
|
323
|
+
readonly green400: "var(--maru-green-400)";
|
|
324
|
+
readonly green500: "var(--maru-green-500)";
|
|
325
|
+
readonly green600: "var(--maru-green-600)";
|
|
326
|
+
readonly green700: "var(--maru-green-700)";
|
|
327
|
+
readonly green800: "var(--maru-green-800)";
|
|
328
|
+
readonly green900: "var(--maru-green-900)";
|
|
329
|
+
readonly green1000: "var(--maru-green-1000)";
|
|
330
|
+
readonly yellow50: "var(--maru-yellow-50)";
|
|
331
|
+
readonly yellow100: "var(--maru-yellow-100)";
|
|
332
|
+
readonly yellow200: "var(--maru-yellow-200)";
|
|
333
|
+
readonly yellow300: "var(--maru-yellow-300)";
|
|
334
|
+
readonly yellow400: "var(--maru-yellow-400)";
|
|
335
|
+
readonly yellow500: "var(--maru-yellow-500)";
|
|
336
|
+
readonly yellow600: "var(--maru-yellow-600)";
|
|
337
|
+
readonly yellow700: "var(--maru-yellow-700)";
|
|
338
|
+
readonly yellow800: "var(--maru-yellow-800)";
|
|
339
|
+
readonly yellow900: "var(--maru-yellow-900)";
|
|
340
|
+
readonly yellow1000: "var(--maru-yellow-1000)";
|
|
341
|
+
readonly red50: "var(--maru-red-50)";
|
|
342
|
+
readonly red100: "var(--maru-red-100)";
|
|
343
|
+
readonly red200: "var(--maru-red-200)";
|
|
344
|
+
readonly red300: "var(--maru-red-300)";
|
|
345
|
+
readonly red400: "var(--maru-red-400)";
|
|
346
|
+
readonly red500: "var(--maru-red-500)";
|
|
347
|
+
readonly red600: "var(--maru-red-600)";
|
|
348
|
+
readonly red700: "var(--maru-red-700)";
|
|
349
|
+
readonly red800: "var(--maru-red-800)";
|
|
350
|
+
readonly red900: "var(--maru-red-900)";
|
|
351
|
+
readonly red1000: "var(--maru-red-1000)";
|
|
352
|
+
};
|
package/dist/enums/color.d.ts
CHANGED
|
@@ -1,14 +1,121 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* StyleProvider에서 설정하는 앱 테마입니다.
|
|
3
|
+
* - `navy`: Figma Brand semantic (기본 fallback)
|
|
4
|
+
* - `blue`: provisional brand (기존 blue 테마 값 유지)
|
|
5
|
+
* - `green`: provisional brand (기존 green 테마 값 유지)
|
|
6
|
+
*/
|
|
1
7
|
export type TTheme = 'blue' | 'green' | 'navy';
|
|
8
|
+
/**
|
|
9
|
+
* 컴포넌트 `color` prop에 사용하는 public 색상 키입니다.
|
|
10
|
+
* - `primary`: 현재 theme brand (`var(--p)`)
|
|
11
|
+
* - `secondary`: neutral 보조 (`var(--maru-icon-tertiary)`)
|
|
12
|
+
* - `positive`: info 역할 호환 (`var(--maru-background-info-solid-primary)`)
|
|
13
|
+
* - `warning`: warning 역할 (`var(--maru-background-warning-solid-primary)`)
|
|
14
|
+
* - `danger`: error 역할 (`var(--maru-background-error-solid-primary)`)
|
|
15
|
+
* - `success`: positive/success 역할 (`var(--maru-background-positive-solid-primary)`)
|
|
16
|
+
*/
|
|
2
17
|
declare const DColor: {
|
|
3
18
|
readonly primary: "var(--p)";
|
|
4
|
-
readonly secondary: "
|
|
5
|
-
readonly positive: "
|
|
6
|
-
readonly warning: "
|
|
7
|
-
readonly danger: "
|
|
8
|
-
readonly success: "
|
|
19
|
+
readonly secondary: "var(--maru-icon-tertiary)";
|
|
20
|
+
readonly positive: "var(--maru-background-info-solid-primary)";
|
|
21
|
+
readonly warning: "var(--maru-background-warning-solid-primary)";
|
|
22
|
+
readonly danger: "var(--maru-background-error-solid-primary)";
|
|
23
|
+
readonly success: "var(--maru-background-positive-solid-primary)";
|
|
9
24
|
};
|
|
10
|
-
export declare const COLORS:
|
|
25
|
+
export declare const COLORS: ("primary" | "secondary" | "positive" | "warning" | "danger" | "success")[];
|
|
11
26
|
export type TColor = (typeof COLORS)[number];
|
|
12
27
|
export { DColor };
|
|
13
28
|
export declare const RADIO_COLORS: readonly ["default", "primary"];
|
|
14
29
|
export type TRadioColor = (typeof RADIO_COLORS)[number];
|
|
30
|
+
/** 하위 호환을 위해 유지하는 semantic CSS 변수 상수입니다. */
|
|
31
|
+
export declare const SemanticColor: {
|
|
32
|
+
readonly errorSecondary: "var(--maru-red-500)";
|
|
33
|
+
readonly textPrimary: "var(--maru-text-primary)";
|
|
34
|
+
readonly textSecondary: "var(--maru-text-secondary)";
|
|
35
|
+
readonly textSupport: "var(--maru-text-support)";
|
|
36
|
+
readonly textTertiary: "var(--maru-text-tertiary)";
|
|
37
|
+
readonly textDisabled: "var(--maru-text-disabled)";
|
|
38
|
+
readonly textWhite: "var(--maru-text-white)";
|
|
39
|
+
readonly textBrand: "var(--maru-text-brand)";
|
|
40
|
+
readonly textBrandHover: "var(--maru-text-brand-hover)";
|
|
41
|
+
readonly textSuccessPrimary: "var(--maru-text-success-primary)";
|
|
42
|
+
readonly textWarningPrimary: "var(--maru-text-warning-primary)";
|
|
43
|
+
readonly textInfoPrimary: "var(--maru-text-info-primary)";
|
|
44
|
+
readonly textPositivePrimary: "var(--maru-text-positive-primary)";
|
|
45
|
+
readonly textErrorPrimary: "var(--maru-text-error-primary)";
|
|
46
|
+
readonly iconPrimary: "var(--maru-icon-primary)";
|
|
47
|
+
readonly iconSecondary: "var(--maru-icon-secondary)";
|
|
48
|
+
readonly iconTertiary: "var(--maru-icon-tertiary)";
|
|
49
|
+
readonly iconQuaternary: "var(--maru-icon-quaternary)";
|
|
50
|
+
readonly iconBrandPrimary: "var(--maru-icon-brand-primary)";
|
|
51
|
+
readonly iconBrandSecondary: "var(--maru-icon-brand-secondary)";
|
|
52
|
+
readonly iconErrorPrimary: "var(--maru-icon-error-primary)";
|
|
53
|
+
readonly iconErrorSecondary: "var(--maru-icon-error-secondary)";
|
|
54
|
+
readonly iconPositivePrimary: "var(--maru-icon-positive-primary)";
|
|
55
|
+
readonly iconWarningPrimary: "var(--maru-icon-warning-primary)";
|
|
56
|
+
readonly iconWhite: "var(--maru-icon-white)";
|
|
57
|
+
readonly borderPrimary: "var(--maru-border-primary)";
|
|
58
|
+
readonly borderSecondary: "var(--maru-border-secondary)";
|
|
59
|
+
readonly borderSuccessPrimary: "var(--maru-border-success-primary)";
|
|
60
|
+
readonly borderBrandPrimary: "var(--maru-border-brand-primary)";
|
|
61
|
+
readonly borderBrandSecondary: "var(--maru-border-brand-secondary)";
|
|
62
|
+
readonly borderBrandTertiary: "var(--maru-border-brand-tertiary)";
|
|
63
|
+
readonly borderErrorPrimary: "var(--maru-border-error-primary)";
|
|
64
|
+
readonly borderErrorSecondary: "var(--maru-border-error-secondary)";
|
|
65
|
+
readonly backgroundPrimary: "var(--maru-background-primary)";
|
|
66
|
+
readonly backgroundPrimaryHover: "var(--maru-background-primary-hover)";
|
|
67
|
+
readonly backgroundSecondary: "var(--maru-background-secondary)";
|
|
68
|
+
readonly backgroundSecondaryHover: "var(--maru-background-secondary-hover)";
|
|
69
|
+
readonly backgroundTertiary: "var(--maru-background-tertiary)";
|
|
70
|
+
readonly backgroundQuaternary: "var(--maru-background-quaternary)";
|
|
71
|
+
readonly backgroundDisabled: "var(--maru-background-disabled)";
|
|
72
|
+
readonly backgroundBlack: "var(--maru-background-black)";
|
|
73
|
+
readonly backgroundPopupPrimary: "var(--maru-background-popup-primary)";
|
|
74
|
+
readonly backgroundBrandSolidPrimary: "var(--maru-background-brand-solid-primary)";
|
|
75
|
+
readonly backgroundBrandSolidPrimaryHover: "var(--maru-background-brand-solid-primary-hover)";
|
|
76
|
+
readonly backgroundBrandSolidSecondary: "var(--maru-background-brand-solid-secondary)";
|
|
77
|
+
readonly backgroundBrandPrimary: "var(--maru-background-brand-primary)";
|
|
78
|
+
readonly backgroundBrandTertiaryHover: "var(--maru-background-brand-tertiary-hover)";
|
|
79
|
+
readonly backgroundPositiveSolidPrimary: "var(--maru-background-positive-solid-primary)";
|
|
80
|
+
readonly backgroundPositiveSolidPrimaryHover: "var(--maru-background-positive-solid-primary-hover)";
|
|
81
|
+
readonly backgroundPositivePrimary: "var(--maru-background-positive-primary)";
|
|
82
|
+
readonly backgroundPositivePrimaryHover: "var(--maru-background-positive-primary-hover)";
|
|
83
|
+
readonly backgroundInfoSolidPrimary: "var(--maru-background-info-solid-primary)";
|
|
84
|
+
readonly backgroundInfoSolidPrimaryHover: "var(--maru-background-info-solid-primary-hover)";
|
|
85
|
+
readonly backgroundInfoSecondary: "var(--maru-background-info-secondary)";
|
|
86
|
+
readonly backgroundInfoSecondaryHover: "var(--maru-background-info-secondary-hover)";
|
|
87
|
+
readonly backgroundWarningSolidPrimary: "var(--maru-background-warning-solid-primary)";
|
|
88
|
+
readonly backgroundWarningSolidPrimaryHover: "var(--maru-background-warning-solid-primary-hover)";
|
|
89
|
+
readonly backgroundWarningPrimary: "var(--maru-background-warning-primary)";
|
|
90
|
+
readonly backgroundWarningPrimaryHover: "var(--maru-background-warning-primary-hover)";
|
|
91
|
+
readonly backgroundErrorSolidPrimary: "var(--maru-background-error-solid-primary)";
|
|
92
|
+
readonly backgroundErrorSolidPrimaryHover: "var(--maru-background-error-solid-primary-hover)";
|
|
93
|
+
readonly backgroundErrorPrimary: "var(--maru-background-error-primary)";
|
|
94
|
+
readonly backgroundErrorPrimaryHover: "var(--maru-background-error-primary-hover)";
|
|
95
|
+
readonly badgePrimary: "var(--maru-badge-primary)";
|
|
96
|
+
readonly badgePrimaryHover: "var(--maru-badge-primary-hover)";
|
|
97
|
+
readonly badgeSecondary: "var(--maru-badge-secondary)";
|
|
98
|
+
readonly badgeSecondaryHover: "var(--maru-badge-secondary-hover)";
|
|
99
|
+
readonly badgePositivePrimary: "var(--maru-badge-positive-primary)";
|
|
100
|
+
readonly badgeErrorPrimary: "var(--maru-badge-error-primary)";
|
|
101
|
+
readonly badgeBrandPrimary: "var(--maru-badge-brand-primary)";
|
|
102
|
+
readonly badgeInfoPrimary: "var(--maru-badge-info-primary)";
|
|
103
|
+
readonly componentBrandPrimary: "var(--maru-component-brand-primary)";
|
|
104
|
+
readonly componentWhite: "var(--maru-component-white)";
|
|
105
|
+
readonly componentError: "var(--maru-component-error)";
|
|
106
|
+
readonly featureHighlight: "var(--maru-feature-highlight)";
|
|
107
|
+
readonly featureTooltip: "var(--maru-feature-tooltip)";
|
|
108
|
+
readonly shadowBrand: "var(--maru-shadow-brand)";
|
|
109
|
+
readonly shadowSearchBar: "var(--maru-shadow-search-bar)";
|
|
110
|
+
readonly shadowDefault: "var(--maru-shadow-default)";
|
|
111
|
+
readonly overlayScrim: "var(--maru-overlay-scrim)";
|
|
112
|
+
readonly skeletonBase: "var(--maru-skeleton-base)";
|
|
113
|
+
readonly skeletonHighlight: "var(--maru-skeleton-highlight)";
|
|
114
|
+
readonly statusLearning: "var(--maru-status-learning)";
|
|
115
|
+
readonly statusLearningBackground: "var(--maru-status-learning-background)";
|
|
116
|
+
readonly statusDistribution: "var(--maru-status-distribution)";
|
|
117
|
+
readonly statusDistributionBackground: "var(--maru-status-distribution-background)";
|
|
118
|
+
readonly statusService: "var(--maru-status-service)";
|
|
119
|
+
readonly statusServiceBackground: "var(--maru-status-service-background)";
|
|
120
|
+
readonly statusTitle: "var(--maru-status-title)";
|
|
121
|
+
};
|
package/dist/enums/size.d.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
export declare const BUTTON_SIZES: readonly ["small", "normal", "large"];
|
|
1
|
+
export declare const BUTTON_SIZES: readonly ["xxs", "xs", "small", "normal", "large"];
|
|
2
2
|
export type TButtonSize = (typeof BUTTON_SIZES)[number];
|
|
3
3
|
export declare const CHECKBOX_SIZES: readonly [16, 18, 24];
|
|
4
4
|
export type TCheckboxSize = (typeof CHECKBOX_SIZES)[number];
|
|
5
|
-
export declare const CHIP_SIZES: readonly ["small", "normal"];
|
|
5
|
+
export declare const CHIP_SIZES: readonly ["small", "normal", "large"];
|
|
6
6
|
export type TChipSize = (typeof CHIP_SIZES)[number];
|
|
7
|
+
/** Badge size. Figma sm/md/lg ↔ small/normal/large. Default: normal. */
|
|
8
|
+
export declare const BADGE_SIZES: readonly ["small", "normal", "large"];
|
|
9
|
+
export type TBadgeSize = (typeof BADGE_SIZES)[number];
|
|
7
10
|
export declare const MODAL_SIZES: readonly ["xs", "s", "m", "l", "xl"];
|
|
8
11
|
export type TModalSize = (typeof MODAL_SIZES)[number];
|
package/dist/enums/variant.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const BUTTON_VARIANTS: readonly ["default", "default-light", "outline", "text", "color-on-focus"];
|
|
1
|
+
export declare const BUTTON_VARIANTS: readonly ["default", "default-light", "outline", "text", "color-on-focus", "link", "link-outline", "round"];
|
|
2
2
|
export type TButtonVariant = (typeof BUTTON_VARIANTS)[number];
|
|
3
3
|
export declare const CHIP_VARIANTS: readonly ["default", "outline", "dot"];
|
|
4
4
|
export type TChipVariant = (typeof CHIP_VARIANTS)[number];
|
|
@@ -6,7 +6,12 @@ export declare const TOAST_VARIANTS: readonly ["success", "warning", "danger"];
|
|
|
6
6
|
export type TToastVariant = (typeof TOAST_VARIANTS)[number];
|
|
7
7
|
export declare const SKELETON_VARIANTS: readonly ["frame"];
|
|
8
8
|
export type TSkeletonVariant = (typeof SKELETON_VARIANTS)[number];
|
|
9
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Badge color.
|
|
11
|
+
* Figma: primary(Brand) / secondary(Gray) / danger(Error) / success(Success)
|
|
12
|
+
* 하위 호환: positive
|
|
13
|
+
*/
|
|
14
|
+
export declare const BADGE_COLORS: readonly ["primary", "secondary", "danger", "positive", "success"];
|
|
10
15
|
export type TBadgeColor = (typeof BADGE_COLORS)[number];
|
|
11
16
|
export declare const BADGE_VARIANTS: readonly ["default", "outlined"];
|
|
12
17
|
export type TBadgeVariant = (typeof BADGE_VARIANTS)[number];
|