@foi/design-system 0.0.17 → 0.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +658 -63
- package/dist/{DatePicker.utils-ytCEcs6T.js → DatePicker.utils-BAUVa26Q.js} +2 -2
- package/dist/{DatePicker.utils-ytCEcs6T.js.map → DatePicker.utils-BAUVa26Q.js.map} +1 -1
- package/dist/{emotion-react-jsx-runtime.browser.esm-Ch-DwUYg.js → IconButton-C3x-E-ot.js} +458 -248
- package/dist/IconButton-C3x-E-ot.js.map +1 -0
- package/dist/{RadioGroup-DzEJw4WJ.js → RadioGroup-Cvt9MtvM.js} +71 -71
- package/dist/{RadioGroup-DzEJw4WJ.js.map → RadioGroup-Cvt9MtvM.js.map} +1 -1
- package/dist/RadioGroup.context-v_CCYB7_.js +392 -0
- package/dist/RadioGroup.context-v_CCYB7_.js.map +1 -0
- package/dist/{Switch-oAVuMb0V.js → Switch-6eNmT34-.js} +315 -315
- package/dist/{Switch-oAVuMb0V.js.map → Switch-6eNmT34-.js.map} +1 -1
- package/dist/{ThemeProvider-C47pyWG6.js → ThemeProvider-C_PzAJz3.js} +11 -6
- package/dist/{ThemeProvider-C47pyWG6.js.map → ThemeProvider-C_PzAJz3.js.map} +1 -1
- package/dist/Toast-_9W7YGxS.js +146 -0
- package/dist/Toast-_9W7YGxS.js.map +1 -0
- package/dist/atoms.mjs +4 -3
- package/dist/components/atoms/Button/Button.interface.d.ts +1 -1
- package/dist/components/atoms/Checkbox/Checkbox.interface.d.ts +3 -3
- package/dist/components/atoms/Chip/Chip.d.ts +4 -0
- package/dist/components/atoms/Chip/Chip.emotion.d.ts +2 -0
- package/dist/components/atoms/Chip/Chip.interface.d.ts +14 -0
- package/dist/components/atoms/Chip/index.d.ts +5 -0
- package/dist/components/atoms/DatePicker/DatePicker.interface.d.ts +2 -2
- package/dist/components/atoms/DatePicker/DatePickerMenu/DatePickerMenu.interface.d.ts +3 -3
- package/dist/components/atoms/IconButton/IconButton.interface.d.ts +2 -2
- package/dist/components/atoms/NumberField/NumberField.interface.d.ts +2 -2
- package/dist/components/atoms/Radio/Radio.interface.d.ts +2 -2
- package/dist/components/atoms/Select/Select.interface.d.ts +2 -2
- package/dist/components/atoms/Select/SelectMenu/SelectMenu.interface.d.ts +1 -1
- package/dist/components/atoms/Slider/Slider.interface.d.ts +4 -4
- package/dist/components/atoms/Switch/Switch.interface.d.ts +1 -1
- package/dist/components/atoms/TextField/TextField.interface.d.ts +2 -2
- package/dist/components/molecules/CheckboxGroup/CheckboxGroup.interface.d.ts +2 -2
- package/dist/components/molecules/CheckboxTree/CheckboxTree.interface.d.ts +2 -2
- package/dist/components/molecules/Modal/Modal.interface.d.ts +4 -4
- package/dist/components/molecules/RadioGroup/RadioGroup.interface.d.ts +2 -2
- package/dist/components/molecules/Toast/Toast.context.d.ts +2 -0
- package/dist/components/molecules/Toast/Toast.d.ts +4 -0
- package/dist/components/molecules/Toast/Toast.emotion.d.ts +4 -0
- package/dist/components/molecules/Toast/Toast.hook.d.ts +1 -0
- package/dist/components/molecules/Toast/Toast.interface.d.ts +33 -0
- package/dist/components/molecules/Toast/Toast.provider.d.ts +3 -0
- package/dist/components/molecules/Toast/index.d.ts +3 -0
- package/dist/components/organisms/DataGrid/DataGrid.interface.d.ts +3 -3
- package/dist/components/organisms/DataGrid/DataGridMenu/DataGridMenu.interface.d.ts +1 -1
- package/dist/hocs/ThemeProvider/ThemeProvider.interface.d.ts +6 -0
- package/dist/hocs/ThemeProvider/components/{Button.d.ts → atoms/Button.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{Checkbox.d.ts → atoms/Checkbox.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/atoms/Chip.d.ts +13 -0
- package/dist/hocs/ThemeProvider/components/{DatePicker.d.ts → atoms/DatePicker.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{DatePickerMenu.d.ts → atoms/DatePickerMenu.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{IconButton.d.ts → atoms/IconButton.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{NumberField.d.ts → atoms/NumberField.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{Pagination.d.ts → atoms/Pagination.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{PaginationMenu.d.ts → atoms/PaginationMenu.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{Radio.d.ts → atoms/Radio.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{Select.d.ts → atoms/Select.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{SelectMenu.d.ts → atoms/SelectMenu.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{Slider.d.ts → atoms/Slider.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{Switch.d.ts → atoms/Switch.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{TextField.d.ts → atoms/TextField.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/index.d.ts +23 -17
- package/dist/hocs/ThemeProvider/components/{CheckboxGroup.d.ts → molecules/CheckboxGroup.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{CheckboxTree.d.ts → molecules/CheckboxTree.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{Modal.d.ts → molecules/Modal.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{RadioGroup.d.ts → molecules/RadioGroup.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/molecules/Toast.d.ts +16 -0
- package/dist/hocs/ThemeProvider/components/{DataGrid.d.ts → organisms/DataGrid.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/components/{DataGridMenu.d.ts → organisms/DataGridMenu.d.ts} +1 -1
- package/dist/hocs/ThemeProvider/interfaces/Components.interface.d.ts +2 -0
- package/dist/hocs.mjs +1 -1
- package/dist/hooks.d.ts +2 -0
- package/dist/hooks.mjs +2 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.mjs +247 -239
- package/dist/index.mjs.map +1 -1
- package/dist/molecules.d.ts +2 -0
- package/dist/molecules.mjs +3 -2
- package/dist/theme/dark/components/atoms/Chip.d.ts +13 -0
- package/dist/theme/dark/components/index.d.ts +287 -266
- package/dist/theme/dark/components/{Modal.d.ts → molecules/Modal.d.ts} +0 -3
- package/dist/theme/dark/components/molecules/Toast.d.ts +17 -0
- package/dist/theme/dark/index.d.ts +287 -266
- package/dist/theme/index.d.ts +287 -266
- package/dist/{theme-D01EcUA9.js → theme-BjrtNRDQ.js} +231 -222
- package/dist/theme-BjrtNRDQ.js.map +1 -0
- package/dist/theme.mjs +1 -1
- package/dist/utilities.mjs +1 -1
- package/package.json +1 -1
- package/dist/RadioGroup.context-Bu218uUX.js +0 -601
- package/dist/RadioGroup.context-Bu218uUX.js.map +0 -1
- package/dist/emotion-react-jsx-runtime.browser.esm-Ch-DwUYg.js.map +0 -1
- package/dist/theme-D01EcUA9.js.map +0 -1
- /package/dist/theme/dark/components/{Button.d.ts → atoms/Button.d.ts} +0 -0
- /package/dist/theme/dark/components/{Checkbox.d.ts → atoms/Checkbox.d.ts} +0 -0
- /package/dist/theme/dark/components/{DatePicker.d.ts → atoms/DatePicker.d.ts} +0 -0
- /package/dist/theme/dark/components/{DatePickerMenu.d.ts → atoms/DatePickerMenu.d.ts} +0 -0
- /package/dist/theme/dark/components/{IconButton.d.ts → atoms/IconButton.d.ts} +0 -0
- /package/dist/theme/dark/components/{NumberField.d.ts → atoms/NumberField.d.ts} +0 -0
- /package/dist/theme/dark/components/{Pagination.d.ts → atoms/Pagination.d.ts} +0 -0
- /package/dist/theme/dark/components/{PaginationMenu.d.ts → atoms/PaginationMenu.d.ts} +0 -0
- /package/dist/theme/dark/components/{Radio.d.ts → atoms/Radio.d.ts} +0 -0
- /package/dist/theme/dark/components/{Select.d.ts → atoms/Select.d.ts} +0 -0
- /package/dist/theme/dark/components/{SelectMenu.d.ts → atoms/SelectMenu.d.ts} +0 -0
- /package/dist/theme/dark/components/{Slider.d.ts → atoms/Slider.d.ts} +0 -0
- /package/dist/theme/dark/components/{Switch.d.ts → atoms/Switch.d.ts} +0 -0
- /package/dist/theme/dark/components/{TextField.d.ts → atoms/TextField.d.ts} +0 -0
- /package/dist/theme/dark/components/{CheckboxGroup.d.ts → molecules/CheckboxGroup.d.ts} +0 -0
- /package/dist/theme/dark/components/{CheckboxTree.d.ts → molecules/CheckboxTree.d.ts} +0 -0
- /package/dist/theme/dark/components/{RadioGroup.d.ts → molecules/RadioGroup.d.ts} +0 -0
- /package/dist/theme/dark/components/{DataGrid.d.ts → organisms/DataGrid.d.ts} +0 -0
- /package/dist/theme/dark/components/{DataGridMenu.d.ts → organisms/DataGridMenu.d.ts} +0 -0
|
@@ -1,601 +0,0 @@
|
|
|
1
|
-
import { i as e, n as t, r as n } from "./emotion-react-jsx-runtime.browser.esm-Ch-DwUYg.js";
|
|
2
|
-
import { r } from "./theme-D01EcUA9.js";
|
|
3
|
-
import i, { createContext as a, useContext as o, useState as s } from "react";
|
|
4
|
-
import { css as c } from "@emotion/react";
|
|
5
|
-
import { useController as l } from "react-hook-form";
|
|
6
|
-
//#region src/hocs/ThemeProvider/interfaces/Components.interface.ts
|
|
7
|
-
var u = /* @__PURE__ */ function(e) {
|
|
8
|
-
return e.BUTTON = "BUTTON", e.ICONBUTTON = "ICONBUTTON", e.TEXTFIELD = "TEXTFIELD", e.NUMBERFIELD = "NUMBERFIELD", e.CHECKBOX = "CHECKBOX", e.RADIO = "RADIO", e.SELECT = "SELECT", e.SELECTMENU = "SELECTMENU", e.SWITCH = "SWITCH", e.SLIDER = "SLIDER", e.DATEPICKER = "DATEPICKER", e.DATEPICKERMENU = "DATEPICKERMENU", e.PAGINATION = "PAGINATION", e.PAGINATIONMENU = "PAGINATIONMENU", e.CHECKBOXGROUP = "CHECKBOXGROUP", e.CHECKBOXTREE = "CHECKBOXTREE", e.RADIOGROUP = "RADIOGROUP", e.MODAL = "MODAL", e.DATAGRID = "DATAGRID", e.DATAGRIDMENU = "DATAGRIDMENU", e;
|
|
9
|
-
}({}), d = () => c`
|
|
10
|
-
&.--ICON {
|
|
11
|
-
font-family: 'Material Symbols Rounded';
|
|
12
|
-
font-weight: normal;
|
|
13
|
-
font-style: normal;
|
|
14
|
-
font-size: 20px;
|
|
15
|
-
line-height: 1;
|
|
16
|
-
letter-spacing: normal;
|
|
17
|
-
text-transform: none;
|
|
18
|
-
display: inline-block;
|
|
19
|
-
white-space: nowrap;
|
|
20
|
-
word-wrap: normal;
|
|
21
|
-
direction: ltr;
|
|
22
|
-
font-variation-settings:
|
|
23
|
-
'FILL' 0,
|
|
24
|
-
'wght' 400,
|
|
25
|
-
'GRAD' 0,
|
|
26
|
-
'opsz' 24;
|
|
27
|
-
user-select: none;
|
|
28
|
-
vertical-align: middle;
|
|
29
|
-
|
|
30
|
-
&.--ICON-fill {
|
|
31
|
-
font-variation-settings:
|
|
32
|
-
'FILL' 1,
|
|
33
|
-
'wght' 500,
|
|
34
|
-
'GRAD' 0,
|
|
35
|
-
'opsz' 24;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&.--ICON-sm {
|
|
39
|
-
font-size: 18px;
|
|
40
|
-
}
|
|
41
|
-
&.--ICON-lg {
|
|
42
|
-
font-size: 24px;
|
|
43
|
-
}
|
|
44
|
-
&.--ICON-xl {
|
|
45
|
-
font-size: 36px;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
`, f = "--ICON", p = ({ name: e, fill: n = !1, size: r = "md", className: i, style: a }) => /* @__PURE__ */ t("span", {
|
|
49
|
-
className: [
|
|
50
|
-
f,
|
|
51
|
-
n && `${f}-fill`,
|
|
52
|
-
r !== "md" && `${f}-${r}`,
|
|
53
|
-
i
|
|
54
|
-
].filter(Boolean).join(" "),
|
|
55
|
-
css: d(),
|
|
56
|
-
style: a,
|
|
57
|
-
"aria-hidden": "true",
|
|
58
|
-
"data-testid": f,
|
|
59
|
-
children: e
|
|
60
|
-
}), m = (e, t) => `
|
|
61
|
-
// BACKGROUNDS
|
|
62
|
-
${r(e, "background-color", `--CHECKBOX-EVENTS-${t}-BACKGROUND-COLOR`)}
|
|
63
|
-
`, h = (e, t) => `
|
|
64
|
-
// BORDERS
|
|
65
|
-
${r(e, "border-color", `--CHECKBOX-EVENTS-${t}-BORDER-COLOR`)}
|
|
66
|
-
${r(e, "border-width", `--CHECKBOX-EVENTS-${t}-BORDER-WIDTH`)}
|
|
67
|
-
${r(e, "border-style", `--CHECKBOX-EVENTS-${t}-BORDER-STYLE`)}
|
|
68
|
-
`, g = (e, t) => `
|
|
69
|
-
// OUTLINE
|
|
70
|
-
${r(e, "outline-color", `--CHECKBOX-EVENTS-${t}-OUTLINE-COLOR`)}
|
|
71
|
-
${r(e, "outline-width", `--CHECKBOX-EVENTS-${t}-OUTLINE-WIDTH`)}
|
|
72
|
-
${r(e, "outline-style", `--CHECKBOX-EVENTS-${t}-OUTLINE-STYLE`)}
|
|
73
|
-
${r(e, "outline-offset", `--CHECKBOX-EVENTS-${t}-OUTLINE-OFFSET`)}
|
|
74
|
-
`, _ = (e, t) => `
|
|
75
|
-
// SHADOW
|
|
76
|
-
${r(e, "background-color", `--CHECKBOX-EVENTS-${t}-SHADOW-COLOR`)}
|
|
77
|
-
`, v = (e, t) => `
|
|
78
|
-
// UTILS
|
|
79
|
-
> span {
|
|
80
|
-
${r(e, "color", `--CHECKBOX-EVENTS-${t}-ICON-COLOR`)};
|
|
81
|
-
}
|
|
82
|
-
`, y = (e, t) => `
|
|
83
|
-
// TYPOGRAPHY
|
|
84
|
-
.--CHECKBOX-label {
|
|
85
|
-
${r(e, "color", `--CHECKBOX-EVENTS-${t}-COLOR-PRIMARY`)}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
~ .--CHECKBOX-helperText {
|
|
89
|
-
${r(e, "color", `--CHECKBOX-EVENTS-${t}-COLOR-SECONDARY`)}
|
|
90
|
-
}
|
|
91
|
-
`, b = (e) => c`
|
|
92
|
-
&.--CHECKBOX {
|
|
93
|
-
display: flex;
|
|
94
|
-
flex-direction: column;
|
|
95
|
-
gap: 8px;
|
|
96
|
-
width: fit-content;
|
|
97
|
-
|
|
98
|
-
.--CHECKBOX-container {
|
|
99
|
-
display: flex;
|
|
100
|
-
flex-direction: row;
|
|
101
|
-
gap: 12px;
|
|
102
|
-
align-items: center;
|
|
103
|
-
cursor: pointer;
|
|
104
|
-
|
|
105
|
-
// ENABLED
|
|
106
|
-
${y(e, "ENABLED")};
|
|
107
|
-
|
|
108
|
-
// VALUE
|
|
109
|
-
&:has(.--CHECKBOX-inputField:checked) {
|
|
110
|
-
${y(e, "VALUE")};
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
// HOVER
|
|
114
|
-
&:hover {
|
|
115
|
-
${y(e, "HOVER")};
|
|
116
|
-
|
|
117
|
-
.--CHECKBOX-checkbox .--CHECKBOX-span {
|
|
118
|
-
&:before {
|
|
119
|
-
opacity: 1;
|
|
120
|
-
${_(e, "HOVER")};
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
// ACTIVE
|
|
126
|
-
&:has(.--CHECKBOX-inputField.--CHECKBOX-active, .--CHECKBOX-inputField:active) {
|
|
127
|
-
${y(e, "ACTIVE")};
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
// FOCUS-VISIBLE
|
|
131
|
-
&:has(.--CHECKBOX-inputField:focus-visible) {
|
|
132
|
-
${y(e, "FOCUS")};
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
// ERROR
|
|
136
|
-
&:has(.--CHECKBOX-inputField.--CHECKBOX-error) {
|
|
137
|
-
${y(e, "ERROR")};
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
// ERROR + VALUE
|
|
141
|
-
&:has(.--CHECKBOX-inputField.--CHECKBOX-error:checked) {
|
|
142
|
-
${y(e, "ERROR_VALUE")};
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
// ERROR + HOVER
|
|
146
|
-
&:hover:has(.--CHECKBOX-inputField.--CHECKBOX-error) {
|
|
147
|
-
${y(e, "ERROR_HOVER")};
|
|
148
|
-
|
|
149
|
-
.--CHECKBOX-checkbox .--CHECKBOX-span {
|
|
150
|
-
&:before {
|
|
151
|
-
opacity: 1;
|
|
152
|
-
${_(e, "ERROR_HOVER")};
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
// ERROR + ACTIVE
|
|
158
|
-
&:has(.--CHECKBOX-inputField.--CHECKBOX-error:active),
|
|
159
|
-
&:has(.--CHECKBOX-inputField.--CHECKBOX-error.--CHECKBOX-active) {
|
|
160
|
-
${y(e, "ERROR_ACTIVE")};
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
// ERROR + FOCUS
|
|
164
|
-
&:has(.--CHECKBOX-inputField.--CHECKBOX-error:focus-visible) {
|
|
165
|
-
${y(e, "ERROR_FOCUS")};
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
// DISABLED
|
|
169
|
-
&:has(.--CHECKBOX-inputField:disabled) {
|
|
170
|
-
pointer-events: none;
|
|
171
|
-
${y(e, "DISABLED")};
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
// DISABLED + VALUE
|
|
175
|
-
&:has(.--CHECKBOX-inputField:disabled:checked) {
|
|
176
|
-
${y(e, "DISABLED_VALUE")};
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.--CHECKBOX-checkbox {
|
|
180
|
-
position: relative;
|
|
181
|
-
display: inline-flex;
|
|
182
|
-
width: 24px;
|
|
183
|
-
height: 24px;
|
|
184
|
-
isolation: isolate;
|
|
185
|
-
|
|
186
|
-
.--CHECKBOX-inputField {
|
|
187
|
-
cursor: pointer;
|
|
188
|
-
position: absolute;
|
|
189
|
-
opacity: 0;
|
|
190
|
-
width: 100%;
|
|
191
|
-
height: 100%;
|
|
192
|
-
z-index: 2;
|
|
193
|
-
margin: 0;
|
|
194
|
-
-webkit-tap-highlight-color: transparent;
|
|
195
|
-
|
|
196
|
-
~ .--CHECKBOX-span > span {
|
|
197
|
-
visibility: hidden;
|
|
198
|
-
}
|
|
199
|
-
&:checked ~ .--CHECKBOX-span > span,
|
|
200
|
-
&:indeterminate ~ .--CHECKBOX-span > span {
|
|
201
|
-
visibility: visible;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
// ENABLED
|
|
205
|
-
~ .--CHECKBOX-span {
|
|
206
|
-
${m(e, "ENABLED")};
|
|
207
|
-
${h(e, "ENABLED")};
|
|
208
|
-
${v(e, "ENABLED")};
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
// VALUE
|
|
212
|
-
&:checked ~ .--CHECKBOX-span {
|
|
213
|
-
${m(e, "VALUE")};
|
|
214
|
-
${h(e, "VALUE")};
|
|
215
|
-
${v(e, "VALUE")};
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
// INDETERMINATE (same appearance as VALUE)
|
|
219
|
-
&:indeterminate ~ .--CHECKBOX-span {
|
|
220
|
-
${m(e, "VALUE")};
|
|
221
|
-
${h(e, "VALUE")};
|
|
222
|
-
${v(e, "VALUE")};
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
// HOVER
|
|
226
|
-
// Is at the container level
|
|
227
|
-
|
|
228
|
-
// ACTIVE
|
|
229
|
-
&.--CHECKBOX-active ~ .--CHECKBOX-span,
|
|
230
|
-
&:active ~ .--CHECKBOX-span {
|
|
231
|
-
&:before {
|
|
232
|
-
opacity: 1;
|
|
233
|
-
${_(e, "ACTIVE")};
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
// FOCUS
|
|
238
|
-
&:focus-visible ~ .--CHECKBOX-span {
|
|
239
|
-
outline: none;
|
|
240
|
-
${g(e, "FOCUS")};
|
|
241
|
-
${v(e, "FOCUS")};
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
// ERROR
|
|
245
|
-
&.--CHECKBOX-error ~ .--CHECKBOX-span {
|
|
246
|
-
${m(e, "ERROR")};
|
|
247
|
-
${h(e, "ERROR")};
|
|
248
|
-
${v(e, "ERROR")};
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
// ERROR + VALUE
|
|
252
|
-
&.--CHECKBOX-error:checked ~ .--CHECKBOX-span {
|
|
253
|
-
${m(e, "ERROR_VALUE")};
|
|
254
|
-
${h(e, "ERROR_VALUE")};
|
|
255
|
-
${v(e, "ERROR_VALUE")};
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
// ERROR + VALUE
|
|
259
|
-
// Is at the container level
|
|
260
|
-
|
|
261
|
-
// ERROR + ACTIVE
|
|
262
|
-
&.--CHECKBOX-error:active ~ .--CHECKBOX-span,
|
|
263
|
-
&.--CHECKBOX-error.--CHECKBOX-active ~ .--CHECKBOX-span {
|
|
264
|
-
&:before {
|
|
265
|
-
opacity: 1;
|
|
266
|
-
${_(e, "ERROR_ACTIVE")};
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
// ERROR + FOCUS
|
|
271
|
-
&.--CHECKBOX-error:focus-visible ~ .--CHECKBOX-span {
|
|
272
|
-
${g(e, "ERROR_FOCUS")};
|
|
273
|
-
${v(e, "ERROR_FOCUS")};
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
// DISABLED
|
|
277
|
-
&:disabled ~ .--CHECKBOX-span {
|
|
278
|
-
${m(e, "DISABLED")};
|
|
279
|
-
${h(e, "DISABLED")};
|
|
280
|
-
${v(e, "DISABLED")};
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
// DISABLED + VALUE
|
|
284
|
-
&:disabled:checked ~ .--CHECKBOX-span {
|
|
285
|
-
${m(e, "DISABLED_VALUE")};
|
|
286
|
-
${h(e, "DISABLED_VALUE")};
|
|
287
|
-
${v(e, "DISABLED_VALUE")};
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
.--CHECKBOX-span {
|
|
292
|
-
width: 24px;
|
|
293
|
-
height: 24px;
|
|
294
|
-
${r(e, "border-radius", "--CHECKBOX-ROOT-BORDER-RADIUS")};
|
|
295
|
-
position: absolute;
|
|
296
|
-
box-sizing: border-box;
|
|
297
|
-
display: flex;
|
|
298
|
-
align-items: center;
|
|
299
|
-
justify-content: center;
|
|
300
|
-
transition:
|
|
301
|
-
background-color 150ms ease-in-out,
|
|
302
|
-
border-color 150ms ease-in-out;
|
|
303
|
-
|
|
304
|
-
> span {
|
|
305
|
-
width: 100%;
|
|
306
|
-
height: auto;
|
|
307
|
-
z-index: 1;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
&:before {
|
|
311
|
-
content: '';
|
|
312
|
-
position: absolute;
|
|
313
|
-
width: 32px;
|
|
314
|
-
height: 32px;
|
|
315
|
-
border-radius: 50%;
|
|
316
|
-
opacity: 0;
|
|
317
|
-
transition: opacity 150ms ease-in-out;
|
|
318
|
-
z-index: -1;
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
.--CHECKBOX-label {
|
|
324
|
-
// FONT
|
|
325
|
-
font-family: ${e["--FONTFAMILY-PRIMARY"]};
|
|
326
|
-
font-size: 0.875rem;
|
|
327
|
-
font-weight: 500;
|
|
328
|
-
line-height: 1;
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
.--CHECKBOX-helperText {
|
|
333
|
-
// FONT
|
|
334
|
-
font-family: ${e["--FONTFAMILY-PRIMARY"]};
|
|
335
|
-
font-size: 13px;
|
|
336
|
-
line-height: 16px;
|
|
337
|
-
margin-left: 14px;
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
`, x = a(null), S = a(null), C = "--CHECKBOX", w = i.forwardRef(({ label: e, icon: r = /* @__PURE__ */ t(p, { name: "check" }), helperText: i, showErrorText: a = !0, className: o, style: c = {}, disabled: l, checked: u, onChecked: d, error: f, onKeyDown: m, onKeyUp: h, onBlur: g, ..._ }, v) => {
|
|
341
|
-
let [y, x] = s(!1);
|
|
342
|
-
return /* @__PURE__ */ n("div", {
|
|
343
|
-
className: [
|
|
344
|
-
C,
|
|
345
|
-
y ? `${C}-active` : "",
|
|
346
|
-
o || ""
|
|
347
|
-
].join(" "),
|
|
348
|
-
css: b(c),
|
|
349
|
-
"data-testid": C,
|
|
350
|
-
children: [/* @__PURE__ */ n("label", {
|
|
351
|
-
className: `${C}-container`,
|
|
352
|
-
children: [/* @__PURE__ */ n("div", {
|
|
353
|
-
className: `${C}-checkbox`,
|
|
354
|
-
children: [/* @__PURE__ */ t("input", {
|
|
355
|
-
className: [
|
|
356
|
-
`${C}-inputField`,
|
|
357
|
-
y ? `${C}-active` : "",
|
|
358
|
-
a && f && `${C}-error`
|
|
359
|
-
].join(" "),
|
|
360
|
-
type: "checkbox",
|
|
361
|
-
checked: u,
|
|
362
|
-
disabled: l,
|
|
363
|
-
onChange: (e) => d(e.target.checked),
|
|
364
|
-
onKeyDown: (e) => {
|
|
365
|
-
(e.key === "Enter" || e.key === "Space") && x(!0), m?.(e);
|
|
366
|
-
},
|
|
367
|
-
onKeyUp: (e) => {
|
|
368
|
-
(e.key === "Enter" || e.key === "Space") && (x(!1), d(!u)), h?.(e);
|
|
369
|
-
},
|
|
370
|
-
onBlur: () => {
|
|
371
|
-
x(!1), g?.({});
|
|
372
|
-
},
|
|
373
|
-
ref: v,
|
|
374
|
-
"data-testid": `${C}-inputField`,
|
|
375
|
-
..._
|
|
376
|
-
}), /* @__PURE__ */ t("span", {
|
|
377
|
-
className: `${C}-span`,
|
|
378
|
-
"data-testid": `${C}-icon`,
|
|
379
|
-
children: r
|
|
380
|
-
})]
|
|
381
|
-
}), /* @__PURE__ */ t("span", {
|
|
382
|
-
className: `${C}-label`,
|
|
383
|
-
"data-testid": `${C}-label`,
|
|
384
|
-
children: e
|
|
385
|
-
})]
|
|
386
|
-
}), (i || a) && /* @__PURE__ */ n("span", {
|
|
387
|
-
className: `${C}-helperText`,
|
|
388
|
-
"data-testid": `${C}-helperText`,
|
|
389
|
-
children: [i && (!f || !a) && i, a && f && f.message]
|
|
390
|
-
})]
|
|
391
|
-
});
|
|
392
|
-
});
|
|
393
|
-
w.displayName = "CheckboxBase";
|
|
394
|
-
var T = ({ name: e, control: n, ...r }) => {
|
|
395
|
-
let { field: i, fieldState: a } = l({
|
|
396
|
-
control: n,
|
|
397
|
-
name: e
|
|
398
|
-
}), [o, c] = s(i.value || !1), u = a.error, d = (e) => {
|
|
399
|
-
i.onChange(e), c(e), u && i.onBlur();
|
|
400
|
-
};
|
|
401
|
-
return /* @__PURE__ */ t(w, {
|
|
402
|
-
...r,
|
|
403
|
-
name: e,
|
|
404
|
-
checked: o,
|
|
405
|
-
onChecked: d,
|
|
406
|
-
onBlur: () => i.onBlur(),
|
|
407
|
-
error: u
|
|
408
|
-
});
|
|
409
|
-
}, E = (e) => {
|
|
410
|
-
let n = o(x), r = o(S), i = n ?? r;
|
|
411
|
-
if (typeof e.checked == "boolean" && !e.control) {
|
|
412
|
-
let { checked: n, onChecked: r, name: i, control: a, ...o } = e;
|
|
413
|
-
return /* @__PURE__ */ t(w, {
|
|
414
|
-
...o,
|
|
415
|
-
name: i,
|
|
416
|
-
checked: n,
|
|
417
|
-
onChecked: r ?? (() => {})
|
|
418
|
-
});
|
|
419
|
-
}
|
|
420
|
-
if (i) {
|
|
421
|
-
let { value: n, name: r, control: a, ...o } = e, s = n ?? r ?? "", c = i.checkedValues.includes(s);
|
|
422
|
-
return /* @__PURE__ */ t(w, {
|
|
423
|
-
...o,
|
|
424
|
-
name: r,
|
|
425
|
-
value: s,
|
|
426
|
-
checked: c,
|
|
427
|
-
onChecked: (e) => i.onChange(s, e),
|
|
428
|
-
disabled: o.disabled ?? i.disabled,
|
|
429
|
-
error: i.error,
|
|
430
|
-
showErrorText: !1,
|
|
431
|
-
helperText: void 0
|
|
432
|
-
});
|
|
433
|
-
}
|
|
434
|
-
return /* @__PURE__ */ t(T, { ...e });
|
|
435
|
-
}, D = ({ theme: n, variant: r = "default", ...i }) => {
|
|
436
|
-
let { componentStyles: a } = e([u.CHECKBOX], n, r.toUpperCase());
|
|
437
|
-
return /* @__PURE__ */ t(E, {
|
|
438
|
-
...i,
|
|
439
|
-
style: a
|
|
440
|
-
});
|
|
441
|
-
}, O = (e, t) => `
|
|
442
|
-
// BACKGROUNDS
|
|
443
|
-
.--ICONBUTTON-span {
|
|
444
|
-
${r(e, "background-color", `--ICONBUTTON-EVENTS-${t}-BACKGROUND-COLOR`)}
|
|
445
|
-
}
|
|
446
|
-
`, k = (e, t) => `
|
|
447
|
-
// SHADOWS
|
|
448
|
-
${r(e, "background-color", `--ICONBUTTON-EVENTS-${t}-SHADOW-COLOR`)}
|
|
449
|
-
`, A = (e, t) => `
|
|
450
|
-
// UTILS
|
|
451
|
-
.--ICONBUTTON-span > span {
|
|
452
|
-
${r(e, "color", `--ICONBUTTON-EVENTS-${t}-ICON-COLOR`)}
|
|
453
|
-
}
|
|
454
|
-
`, j = (e, t) => `
|
|
455
|
-
// BORDER
|
|
456
|
-
.--ICONBUTTON-span {
|
|
457
|
-
${r(e, "border-color", `--ICONBUTTON-EVENTS-${t}-BORDER-COLOR`)}
|
|
458
|
-
${r(e, "border-width", `--ICONBUTTON-EVENTS-${t}-BORDER-WIDTH`)}
|
|
459
|
-
${r(e, "border-style", `--ICONBUTTON-EVENTS-${t}-BORDER-STYLE`)}
|
|
460
|
-
}
|
|
461
|
-
`, M = (e, t) => `
|
|
462
|
-
// OUTLINE
|
|
463
|
-
.--ICONBUTTON-span {
|
|
464
|
-
${r(e, "outline-color", `--ICONBUTTON-EVENTS-${t}-OUTLINE-COLOR`)}
|
|
465
|
-
${r(e, "outline-width", `--ICONBUTTON-EVENTS-${t}-OUTLINE-WIDTH`)}
|
|
466
|
-
${r(e, "outline-style", `--ICONBUTTON-EVENTS-${t}-OUTLINE-STYLE`)}
|
|
467
|
-
${r(e, "outline-offset", `--ICONBUTTON-EVENTS-${t}-OUTLINE-OFFSET`)}
|
|
468
|
-
}
|
|
469
|
-
`, N = (e) => c`
|
|
470
|
-
&.--ICONBUTTON {
|
|
471
|
-
width: 24px;
|
|
472
|
-
height: 24px;
|
|
473
|
-
${r(e, "border-radius", "--ICONBUTTON-ROOT-BORDER-RADIUS")};
|
|
474
|
-
display: inline-flex;
|
|
475
|
-
align-items: center;
|
|
476
|
-
justify-content: center;
|
|
477
|
-
cursor: pointer;
|
|
478
|
-
vertical-align: middle;
|
|
479
|
-
box-sizing: content-box;
|
|
480
|
-
position: relative;
|
|
481
|
-
user-select: none;
|
|
482
|
-
padding: 0px;
|
|
483
|
-
box-sizing: border-box;
|
|
484
|
-
-webkit-tap-highlight-color: transparent;
|
|
485
|
-
isolation: isolate;
|
|
486
|
-
border: none;
|
|
487
|
-
background-color: transparent;
|
|
488
|
-
|
|
489
|
-
// ENABLED
|
|
490
|
-
${O(e, "ENABLED")};
|
|
491
|
-
${j(e, "ENABLED")};
|
|
492
|
-
${A(e, "ENABLED")};
|
|
493
|
-
|
|
494
|
-
// HOVER
|
|
495
|
-
&:hover {
|
|
496
|
-
&:before {
|
|
497
|
-
opacity: 1;
|
|
498
|
-
${k(e, "HOVER")};
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
// ACTIVE
|
|
503
|
-
&.--ICONBUTTON-active,
|
|
504
|
-
&:active {
|
|
505
|
-
&:before {
|
|
506
|
-
opacity: 1;
|
|
507
|
-
${k(e, "ACTIVE")};
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
// FOCUS
|
|
512
|
-
&:focus-visible {
|
|
513
|
-
outline: none;
|
|
514
|
-
${M(e, "FOCUS")};
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
// DISABLED
|
|
518
|
-
&:disabled {
|
|
519
|
-
pointer-events: none;
|
|
520
|
-
${O(e, "DISABLED")};
|
|
521
|
-
${j(e, "DISABLED")};
|
|
522
|
-
${A(e, "DISABLED")};
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
&.--ICONBUTTON-flipped {
|
|
526
|
-
.--ICONBUTTON-span {
|
|
527
|
-
> span {
|
|
528
|
-
rotate: 180deg !important;
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
.--ICONBUTTON-span {
|
|
534
|
-
width: 24px;
|
|
535
|
-
height: 24px;
|
|
536
|
-
display: flex;
|
|
537
|
-
justify-content: center;
|
|
538
|
-
align-items: center;
|
|
539
|
-
box-sizing: border-box;
|
|
540
|
-
${r(e, "border-radius", "--ICONBUTTON-ROOT-BORDER-RADIUS")};
|
|
541
|
-
|
|
542
|
-
> span {
|
|
543
|
-
rotate: 0deg;
|
|
544
|
-
transition: rotate 150ms ease-in-out;
|
|
545
|
-
position: absolute;
|
|
546
|
-
width: 100%;
|
|
547
|
-
height: auto;
|
|
548
|
-
z-index: 1;
|
|
549
|
-
}
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
&:before {
|
|
553
|
-
content: '';
|
|
554
|
-
position: absolute;
|
|
555
|
-
width: 32px;
|
|
556
|
-
height: 32px;
|
|
557
|
-
border-radius: 50%;
|
|
558
|
-
opacity: 0;
|
|
559
|
-
transition: opacity 150ms ease-in-out;
|
|
560
|
-
z-index: -1;
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
`, P = "--ICONBUTTON", F = ({ className: e, style: n, icon: r, onClick: i, isFlipped: a, ...o }) => {
|
|
564
|
-
let [c, l] = s(!1);
|
|
565
|
-
return /* @__PURE__ */ t("button", {
|
|
566
|
-
className: [
|
|
567
|
-
P,
|
|
568
|
-
c ? `${P}-active` : "",
|
|
569
|
-
a ? `${P}-flipped` : "",
|
|
570
|
-
e
|
|
571
|
-
].join(" "),
|
|
572
|
-
css: N(n),
|
|
573
|
-
type: "button",
|
|
574
|
-
onClick: i,
|
|
575
|
-
onKeyDown: (e) => {
|
|
576
|
-
e.stopPropagation(), (e.key === "Enter" || e.key === "Space") && l(!0), o.onKeyDown?.(e);
|
|
577
|
-
},
|
|
578
|
-
onKeyUp: (e) => {
|
|
579
|
-
(e.key === "Enter" || e.key === "Space") && l(!1), o.onKeyUp?.(e);
|
|
580
|
-
},
|
|
581
|
-
onBlur: (e) => {
|
|
582
|
-
l(!1), o.onBlur?.(e);
|
|
583
|
-
},
|
|
584
|
-
"data-testid": P,
|
|
585
|
-
...o,
|
|
586
|
-
children: /* @__PURE__ */ t("span", {
|
|
587
|
-
className: `${P}-span`,
|
|
588
|
-
children: r
|
|
589
|
-
})
|
|
590
|
-
});
|
|
591
|
-
}, I = ({ theme: n, variant: r = "default", ...i }) => {
|
|
592
|
-
let { componentStyles: a } = e([u.ICONBUTTON], n, r.toUpperCase());
|
|
593
|
-
return /* @__PURE__ */ t(F, {
|
|
594
|
-
...i,
|
|
595
|
-
style: a
|
|
596
|
-
});
|
|
597
|
-
}, L = a(null);
|
|
598
|
-
//#endregion
|
|
599
|
-
export { x as a, S as i, I as n, p as o, D as r, u as s, L as t };
|
|
600
|
-
|
|
601
|
-
//# sourceMappingURL=RadioGroup.context-Bu218uUX.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.context-Bu218uUX.js","names":[],"sources":["../src/hocs/ThemeProvider/interfaces/Components.interface.ts","../src/components/atoms/Icon/Icon.emotion.ts","../src/components/atoms/Icon/Icon.tsx","../src/components/atoms/Checkbox/Checkbox.emotion.ts","../src/components/molecules/CheckboxGroup/CheckboxGroup.context.ts","../src/components/molecules/CheckboxTree/CheckboxTree.context.ts","../src/components/atoms/Checkbox/Checkbox.tsx","../src/components/atoms/Checkbox/index.tsx","../src/components/atoms/IconButton/IconButton.emotion.ts","../src/components/atoms/IconButton/IconButton.tsx","../src/components/atoms/IconButton/index.tsx","../src/components/atoms/Radio/RadioGroup.context.ts"],"sourcesContent":["export enum Component {\n // atoms\n BUTTON = 'BUTTON',\n ICONBUTTON = 'ICONBUTTON',\n TEXTFIELD = 'TEXTFIELD',\n NUMBERFIELD = 'NUMBERFIELD',\n CHECKBOX = 'CHECKBOX',\n RADIO = 'RADIO',\n SELECT = 'SELECT',\n SELECTMENU = 'SELECTMENU',\n SWITCH = 'SWITCH',\n SLIDER = 'SLIDER',\n DATEPICKER = 'DATEPICKER',\n DATEPICKERMENU = 'DATEPICKERMENU',\n PAGINATION = 'PAGINATION',\n PAGINATIONMENU = 'PAGINATIONMENU',\n\n // molecules\n CHECKBOXGROUP = 'CHECKBOXGROUP',\n CHECKBOXTREE = 'CHECKBOXTREE',\n RADIOGROUP = 'RADIOGROUP',\n MODAL = 'MODAL',\n\n // organisms\n DATAGRID = 'DATAGRID',\n DATAGRIDMENU = 'DATAGRIDMENU',\n}\n","import { css } from '@emotion/react';\n\nconst Style = () => css`\n &.--ICON {\n font-family: 'Material Symbols Rounded';\n font-weight: normal;\n font-style: normal;\n font-size: 20px;\n line-height: 1;\n letter-spacing: normal;\n text-transform: none;\n display: inline-block;\n white-space: nowrap;\n word-wrap: normal;\n direction: ltr;\n font-variation-settings:\n 'FILL' 0,\n 'wght' 400,\n 'GRAD' 0,\n 'opsz' 24;\n user-select: none;\n vertical-align: middle;\n\n &.--ICON-fill {\n font-variation-settings:\n 'FILL' 1,\n 'wght' 500,\n 'GRAD' 0,\n 'opsz' 24;\n }\n\n &.--ICON-sm {\n font-size: 18px;\n }\n &.--ICON-lg {\n font-size: 24px;\n }\n &.--ICON-xl {\n font-size: 36px;\n }\n }\n`;\n\nexport default Style;\n","// Component Base\nimport type { FC } from 'react';\nimport emotion from './Icon.emotion';\nimport type { IconProps } from './Icon.interface';\n\nconst CLASS = '--ICON';\n\n/**\n * Renders a single Material Symbols Rounded icon using font ligatures.\n *\n * Pass the ligature name as `name` (e.g. `'home'`, `'search'`, `'close'`).\n * The icon font is loaded once by `ThemeProvider` — no extra requests per icon.\n */\nconst Icon: FC<IconProps> = ({ name, fill = false, size = 'md', className, style }) => {\n return (\n <span\n className={[CLASS, fill && `${CLASS}-fill`, size !== 'md' && `${CLASS}-${size}`, className]\n .filter(Boolean)\n .join(' ')}\n css={emotion()}\n style={style}\n aria-hidden='true'\n data-testid={CLASS}\n >\n {name}\n </span>\n );\n};\n\nexport default Icon;\n","import { css } from '@emotion/react';\nimport { getStyle } from '@utilities/emotion/styles';\n\nconst background = (theme: Record<string, string>, event: string): string => `\n // BACKGROUNDS \n ${getStyle(theme, 'background-color', `--CHECKBOX-EVENTS-${event}-BACKGROUND-COLOR`)}\n`;\n\nconst border = (theme: Record<string, string>, event: string): string => `\n // BORDERS\n ${getStyle(theme, 'border-color', `--CHECKBOX-EVENTS-${event}-BORDER-COLOR`)}\n ${getStyle(theme, 'border-width', `--CHECKBOX-EVENTS-${event}-BORDER-WIDTH`)}\n ${getStyle(theme, 'border-style', `--CHECKBOX-EVENTS-${event}-BORDER-STYLE`)}\n`;\n\nconst outline = (theme: Record<string, string>, event: string): string => ` \n // OUTLINE\n ${getStyle(theme, 'outline-color', `--CHECKBOX-EVENTS-${event}-OUTLINE-COLOR`)}\n ${getStyle(theme, 'outline-width', `--CHECKBOX-EVENTS-${event}-OUTLINE-WIDTH`)}\n ${getStyle(theme, 'outline-style', `--CHECKBOX-EVENTS-${event}-OUTLINE-STYLE`)}\n ${getStyle(theme, 'outline-offset', `--CHECKBOX-EVENTS-${event}-OUTLINE-OFFSET`)}\n`;\n\nconst shadow = (theme: Record<string, string>, event: string): string => ` \n // SHADOW\n ${getStyle(theme, 'background-color', `--CHECKBOX-EVENTS-${event}-SHADOW-COLOR`)}\n`;\n\nconst icon = (theme: Record<string, string>, event: string): string => `\n // UTILS\n > span {\n ${getStyle(theme, 'color', `--CHECKBOX-EVENTS-${event}-ICON-COLOR`)};\n }\n`;\n\nconst label = (theme: Record<string, string>, event: string): string => `\n // TYPOGRAPHY\n .--CHECKBOX-label {\n ${getStyle(theme, 'color', `--CHECKBOX-EVENTS-${event}-COLOR-PRIMARY`)}\n }\n\n ~ .--CHECKBOX-helperText {\n ${getStyle(theme, 'color', `--CHECKBOX-EVENTS-${event}-COLOR-SECONDARY`)}\n }\n`;\n\nconst Style = (theme: Record<string, string>) => css`\n &.--CHECKBOX {\n display: flex;\n flex-direction: column;\n gap: 8px;\n width: fit-content;\n\n .--CHECKBOX-container {\n display: flex;\n flex-direction: row;\n gap: 12px;\n align-items: center;\n cursor: pointer;\n\n // ENABLED\n ${label(theme, 'ENABLED')};\n\n // VALUE\n &:has(.--CHECKBOX-inputField:checked) {\n ${label(theme, 'VALUE')};\n }\n\n // HOVER\n &:hover {\n ${label(theme, 'HOVER')};\n\n .--CHECKBOX-checkbox .--CHECKBOX-span {\n &:before {\n opacity: 1;\n ${shadow(theme, 'HOVER')};\n }\n }\n }\n\n // ACTIVE\n &:has(.--CHECKBOX-inputField.--CHECKBOX-active, .--CHECKBOX-inputField:active) {\n ${label(theme, 'ACTIVE')};\n }\n\n // FOCUS-VISIBLE\n &:has(.--CHECKBOX-inputField:focus-visible) {\n ${label(theme, 'FOCUS')};\n }\n\n // ERROR\n &:has(.--CHECKBOX-inputField.--CHECKBOX-error) {\n ${label(theme, 'ERROR')};\n }\n\n // ERROR + VALUE\n &:has(.--CHECKBOX-inputField.--CHECKBOX-error:checked) {\n ${label(theme, 'ERROR_VALUE')};\n }\n\n // ERROR + HOVER\n &:hover:has(.--CHECKBOX-inputField.--CHECKBOX-error) {\n ${label(theme, 'ERROR_HOVER')};\n\n .--CHECKBOX-checkbox .--CHECKBOX-span {\n &:before {\n opacity: 1;\n ${shadow(theme, 'ERROR_HOVER')};\n }\n }\n }\n\n // ERROR + ACTIVE\n &:has(.--CHECKBOX-inputField.--CHECKBOX-error:active),\n &:has(.--CHECKBOX-inputField.--CHECKBOX-error.--CHECKBOX-active) {\n ${label(theme, 'ERROR_ACTIVE')};\n }\n\n // ERROR + FOCUS\n &:has(.--CHECKBOX-inputField.--CHECKBOX-error:focus-visible) {\n ${label(theme, 'ERROR_FOCUS')};\n }\n\n // DISABLED\n &:has(.--CHECKBOX-inputField:disabled) {\n pointer-events: none;\n ${label(theme, 'DISABLED')};\n }\n\n // DISABLED + VALUE\n &:has(.--CHECKBOX-inputField:disabled:checked) {\n ${label(theme, 'DISABLED_VALUE')};\n }\n\n .--CHECKBOX-checkbox {\n position: relative;\n display: inline-flex;\n width: 24px;\n height: 24px;\n isolation: isolate;\n\n .--CHECKBOX-inputField {\n cursor: pointer;\n position: absolute;\n opacity: 0;\n width: 100%;\n height: 100%;\n z-index: 2;\n margin: 0;\n -webkit-tap-highlight-color: transparent;\n\n ~ .--CHECKBOX-span > span {\n visibility: hidden;\n }\n &:checked ~ .--CHECKBOX-span > span,\n &:indeterminate ~ .--CHECKBOX-span > span {\n visibility: visible;\n }\n\n // ENABLED\n ~ .--CHECKBOX-span {\n ${background(theme, 'ENABLED')};\n ${border(theme, 'ENABLED')};\n ${icon(theme, 'ENABLED')};\n }\n\n // VALUE\n &:checked ~ .--CHECKBOX-span {\n ${background(theme, 'VALUE')};\n ${border(theme, 'VALUE')};\n ${icon(theme, 'VALUE')};\n }\n\n // INDETERMINATE (same appearance as VALUE)\n &:indeterminate ~ .--CHECKBOX-span {\n ${background(theme, 'VALUE')};\n ${border(theme, 'VALUE')};\n ${icon(theme, 'VALUE')};\n }\n\n // HOVER\n // Is at the container level\n\n // ACTIVE\n &.--CHECKBOX-active ~ .--CHECKBOX-span,\n &:active ~ .--CHECKBOX-span {\n &:before {\n opacity: 1;\n ${shadow(theme, 'ACTIVE')};\n }\n }\n\n // FOCUS\n &:focus-visible ~ .--CHECKBOX-span {\n outline: none;\n ${outline(theme, 'FOCUS')};\n ${icon(theme, 'FOCUS')};\n }\n\n // ERROR\n &.--CHECKBOX-error ~ .--CHECKBOX-span {\n ${background(theme, 'ERROR')};\n ${border(theme, 'ERROR')};\n ${icon(theme, 'ERROR')};\n }\n\n // ERROR + VALUE\n &.--CHECKBOX-error:checked ~ .--CHECKBOX-span {\n ${background(theme, 'ERROR_VALUE')};\n ${border(theme, 'ERROR_VALUE')};\n ${icon(theme, 'ERROR_VALUE')};\n }\n\n // ERROR + VALUE\n // Is at the container level\n\n // ERROR + ACTIVE\n &.--CHECKBOX-error:active ~ .--CHECKBOX-span,\n &.--CHECKBOX-error.--CHECKBOX-active ~ .--CHECKBOX-span {\n &:before {\n opacity: 1;\n ${shadow(theme, 'ERROR_ACTIVE')};\n }\n }\n\n // ERROR + FOCUS\n &.--CHECKBOX-error:focus-visible ~ .--CHECKBOX-span {\n ${outline(theme, 'ERROR_FOCUS')};\n ${icon(theme, 'ERROR_FOCUS')};\n }\n\n // DISABLED\n &:disabled ~ .--CHECKBOX-span {\n ${background(theme, 'DISABLED')};\n ${border(theme, 'DISABLED')};\n ${icon(theme, 'DISABLED')};\n }\n\n // DISABLED + VALUE\n &:disabled:checked ~ .--CHECKBOX-span {\n ${background(theme, 'DISABLED_VALUE')};\n ${border(theme, 'DISABLED_VALUE')};\n ${icon(theme, 'DISABLED_VALUE')};\n }\n }\n\n .--CHECKBOX-span {\n width: 24px;\n height: 24px;\n ${getStyle(theme, 'border-radius', '--CHECKBOX-ROOT-BORDER-RADIUS')};\n position: absolute;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: center;\n transition:\n background-color 150ms ease-in-out,\n border-color 150ms ease-in-out;\n\n > span {\n width: 100%;\n height: auto;\n z-index: 1;\n }\n\n &:before {\n content: '';\n position: absolute;\n width: 32px;\n height: 32px;\n border-radius: 50%;\n opacity: 0;\n transition: opacity 150ms ease-in-out;\n z-index: -1;\n }\n }\n }\n\n .--CHECKBOX-label {\n // FONT\n font-family: ${theme['--FONTFAMILY-PRIMARY']};\n font-size: 0.875rem;\n font-weight: 500;\n line-height: 1;\n }\n }\n\n .--CHECKBOX-helperText {\n // FONT\n font-family: ${theme['--FONTFAMILY-PRIMARY']};\n font-size: 13px;\n line-height: 16px;\n margin-left: 14px;\n }\n }\n`;\n\nexport default Style;\n","import { createContext } from 'react';\n\nexport interface CheckboxGroupContextValue {\n /** Array of currently checked option values */\n checkedValues: string[];\n /** Toggle a value in/out of the checked array */\n onChange: (value: string, checked: boolean) => void;\n /** Group-level disabled state */\n disabled?: boolean;\n /** Group-level validation error */\n error?: { message?: string };\n}\n\nexport const CheckboxGroupContext = createContext<CheckboxGroupContextValue | null>(null);\n","import { createContext } from 'react';\n\nexport interface CheckboxTreeContextValue {\n /** Array of currently checked option values */\n checkedValues: string[];\n /** Toggle a value in/out of the checked array */\n onChange: (value: string, checked: boolean) => void;\n /** Tree-level disabled state */\n disabled?: boolean;\n /** Tree-level validation error */\n error?: { message?: string };\n}\n\nexport const CheckboxTreeContext = createContext<CheckboxTreeContextValue | null>(null);\n","import React, { useState, useContext } from 'react';\n// Component Base\nimport emotion from './Checkbox.emotion';\nimport type { CheckboxProps, CheckboxBaseProps } from './Checkbox.interface';\nimport { CheckboxGroupContext } from '../../molecules/CheckboxGroup/CheckboxGroup.context';\nimport { CheckboxTreeContext } from '../../molecules/CheckboxTree/CheckboxTree.context';\n// External Libraries\nimport { useController, type FieldValues, type FieldPath } from 'react-hook-form';\n// Custom Components\nimport Icon from '@components/atoms/Icon';\n\nconst CLASS = '--CHECKBOX';\n\n/**\n * Headless presentational layer for the checkbox.\n * Accepts `checked` and `onChecked` directly — use this when you need a controlled checkbox outside of React Hook Form.\n */\nexport const CheckboxBase = React.forwardRef<HTMLInputElement, CheckboxBaseProps>(\n (\n {\n label,\n icon = <Icon name='check' />,\n helperText,\n showErrorText = true,\n className,\n style = {},\n disabled,\n checked,\n onChecked,\n error,\n onKeyDown,\n onKeyUp,\n onBlur,\n ...rest\n }: CheckboxBaseProps,\n ref,\n ) => {\n const [isActive, setIsActive] = useState(false);\n\n const handleKeyDown = (event: React.KeyboardEvent<HTMLInputElement>) => {\n if (event.key === 'Enter' || event.key === 'Space') setIsActive(true);\n onKeyDown?.(event);\n };\n\n const handleKeyUp = (event: React.KeyboardEvent<HTMLInputElement>) => {\n if (event.key === 'Enter' || event.key === 'Space') {\n setIsActive(false);\n onChecked(!checked);\n }\n onKeyUp?.(event);\n };\n\n const handleBlur = () => {\n setIsActive(false);\n onBlur?.({} as React.FocusEvent<HTMLInputElement>);\n };\n\n return (\n <div\n className={[CLASS, isActive ? `${CLASS}-active` : '', className || ''].join(' ')}\n css={emotion(style)}\n data-testid={CLASS}\n >\n <label className={`${CLASS}-container`}>\n <div className={`${CLASS}-checkbox`}>\n <input\n className={[\n `${CLASS}-inputField`,\n isActive ? `${CLASS}-active` : '',\n showErrorText && error && `${CLASS}-error`,\n ].join(' ')}\n type='checkbox'\n checked={checked}\n disabled={disabled}\n onChange={e => onChecked(e.target.checked)}\n onKeyDown={handleKeyDown}\n onKeyUp={handleKeyUp}\n onBlur={handleBlur}\n ref={ref}\n data-testid={`${CLASS}-inputField`}\n {...rest}\n />\n <span className={`${CLASS}-span`} data-testid={`${CLASS}-icon`}>\n {icon}\n </span>\n </div>\n <span className={`${CLASS}-label`} data-testid={`${CLASS}-label`}>\n {label}\n </span>\n </label>\n {(helperText || showErrorText) && (\n <span className={`${CLASS}-helperText`} data-testid={`${CLASS}-helperText`}>\n {helperText && (!error || !showErrorText) && helperText}\n {showErrorText && error && error.message}\n </span>\n )}\n </div>\n );\n },\n);\n\nCheckboxBase.displayName = 'CheckboxBase';\n\nconst CheckboxRHF = <TFieldValues extends FieldValues = FieldValues>({\n name,\n control,\n ...rest\n}: CheckboxProps<TFieldValues>) => {\n const { field, fieldState } = useController({ control: control!, name: name! as FieldPath<TFieldValues> });\n const [value, setValue] = useState<boolean>(field.value || false);\n const errorText = fieldState.error;\n\n const onChecked = (checked: boolean) => {\n field.onChange(checked);\n setValue(checked);\n if (errorText) field.onBlur();\n };\n\n return (\n <CheckboxBase\n {...rest}\n name={name}\n checked={value}\n onChecked={onChecked}\n onBlur={() => field.onBlur()}\n error={errorText}\n />\n );\n};\n\nconst Checkbox = <TFieldValues extends FieldValues = FieldValues>(props: CheckboxProps<TFieldValues>) => {\n const groupCtx = useContext(CheckboxGroupContext);\n const treeCtx = useContext(CheckboxTreeContext);\n const ctx = groupCtx ?? treeCtx;\n\n if (typeof props.checked === 'boolean' && !props.control) {\n const { checked, onChecked, name, control, ...rest } = props;\n return <CheckboxBase {...rest} name={name} checked={checked} onChecked={onChecked ?? (() => {})} />;\n }\n\n if (ctx) {\n const { value, name, control, ...rest } = props;\n const itemValue = (value as string) ?? name ?? '';\n const checked = ctx.checkedValues.includes(itemValue);\n\n return (\n <CheckboxBase\n {...rest}\n name={name}\n value={itemValue}\n checked={checked}\n onChecked={c => ctx.onChange(itemValue, c)}\n disabled={rest.disabled ?? ctx.disabled}\n error={ctx.error}\n showErrorText={false}\n helperText={undefined}\n />\n );\n }\n\n return <CheckboxRHF {...props} />;\n};\n\nexport default Checkbox;\n","import { useCreateComponentStyles } from '@hocs/ThemeProvider/useThemeProvider.hook';\nimport { Component } from '@hocs/ThemeProvider/interfaces';\nimport type { CheckboxStyleProps } from './Checkbox.interface';\nimport type { FieldValues } from 'react-hook-form';\nimport CheckboxBase from './Checkbox';\n\nconst Checkbox = <TFieldValues extends FieldValues = FieldValues>({\n theme,\n variant = 'default',\n ...rest\n}: CheckboxStyleProps<TFieldValues>) => {\n const { componentStyles } = useCreateComponentStyles([Component.CHECKBOX], theme, variant.toUpperCase());\n\n return <CheckboxBase {...rest} style={componentStyles} />;\n};\n\nexport default Checkbox;\n","import { css } from '@emotion/react';\nimport { getStyle } from '@utilities/emotion/styles';\n\nconst background = (theme: Record<string, string>, event: string): string => {\n return `\n // BACKGROUNDS\n .--ICONBUTTON-span {\n ${getStyle(theme, 'background-color', `--ICONBUTTON-EVENTS-${event}-BACKGROUND-COLOR`)}\n }\n `;\n};\n\nconst shadow = (theme: Record<string, string>, event: string): string => {\n return `\n // SHADOWS \n ${getStyle(theme, 'background-color', `--ICONBUTTON-EVENTS-${event}-SHADOW-COLOR`)}\n `;\n};\n\nconst icon = (theme: Record<string, string>, event: string): string => {\n return `\n // UTILS\n .--ICONBUTTON-span > span {\n ${getStyle(theme, 'color', `--ICONBUTTON-EVENTS-${event}-ICON-COLOR`)}\n }\n `;\n};\n\nconst border = (theme: Record<string, string>, event: string): string => {\n return `\n // BORDER\n .--ICONBUTTON-span {\n ${getStyle(theme, 'border-color', `--ICONBUTTON-EVENTS-${event}-BORDER-COLOR`)}\n ${getStyle(theme, 'border-width', `--ICONBUTTON-EVENTS-${event}-BORDER-WIDTH`)}\n ${getStyle(theme, 'border-style', `--ICONBUTTON-EVENTS-${event}-BORDER-STYLE`)}\n }\n `;\n};\n\nconst outline = (theme: Record<string, string>, event: string): string => {\n return `\n // OUTLINE\n .--ICONBUTTON-span {\n ${getStyle(theme, 'outline-color', `--ICONBUTTON-EVENTS-${event}-OUTLINE-COLOR`)}\n ${getStyle(theme, 'outline-width', `--ICONBUTTON-EVENTS-${event}-OUTLINE-WIDTH`)}\n ${getStyle(theme, 'outline-style', `--ICONBUTTON-EVENTS-${event}-OUTLINE-STYLE`)}\n ${getStyle(theme, 'outline-offset', `--ICONBUTTON-EVENTS-${event}-OUTLINE-OFFSET`)}\n }\n `;\n};\n\nconst Style = (theme: Record<string, string>) => css`\n &.--ICONBUTTON {\n width: 24px;\n height: 24px;\n ${getStyle(theme, 'border-radius', '--ICONBUTTON-ROOT-BORDER-RADIUS')};\n display: inline-flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n vertical-align: middle;\n box-sizing: content-box;\n position: relative;\n user-select: none;\n padding: 0px;\n box-sizing: border-box;\n -webkit-tap-highlight-color: transparent;\n isolation: isolate;\n border: none;\n background-color: transparent;\n\n // ENABLED\n ${background(theme, 'ENABLED')};\n ${border(theme, 'ENABLED')};\n ${icon(theme, 'ENABLED')};\n\n // HOVER\n &:hover {\n &:before {\n opacity: 1;\n ${shadow(theme, 'HOVER')};\n }\n }\n\n // ACTIVE\n &.--ICONBUTTON-active,\n &:active {\n &:before {\n opacity: 1;\n ${shadow(theme, 'ACTIVE')};\n }\n }\n\n // FOCUS\n &:focus-visible {\n outline: none;\n ${outline(theme, 'FOCUS')};\n }\n\n // DISABLED\n &:disabled {\n pointer-events: none;\n ${background(theme, 'DISABLED')};\n ${border(theme, 'DISABLED')};\n ${icon(theme, 'DISABLED')};\n }\n\n &.--ICONBUTTON-flipped {\n .--ICONBUTTON-span {\n > span {\n rotate: 180deg !important;\n }\n }\n }\n\n .--ICONBUTTON-span {\n width: 24px;\n height: 24px;\n display: flex;\n justify-content: center;\n align-items: center;\n box-sizing: border-box;\n ${getStyle(theme, 'border-radius', '--ICONBUTTON-ROOT-BORDER-RADIUS')};\n\n > span {\n rotate: 0deg;\n transition: rotate 150ms ease-in-out;\n position: absolute;\n width: 100%;\n height: auto;\n z-index: 1;\n }\n }\n\n &:before {\n content: '';\n position: absolute;\n width: 32px;\n height: 32px;\n border-radius: 50%;\n opacity: 0;\n transition: opacity 150ms ease-in-out;\n z-index: -1;\n }\n }\n`;\n\nexport default Style;\n","import React, { useState } from 'react';\n// Component Base\nimport emotion from './IconButton.emotion';\nimport type { IconButtonProps } from './IconButton.interface';\n\nconst CLASS = '--ICONBUTTON';\n\n/**\n * A compact, circular button that renders a single icon.\n * Use it for secondary or contextual actions where label text is unnecessary (e.g. close, edit, delete).\n *\n * Pass `isFlipped` to mirror the icon horizontally — useful for directional icons.\n */\nconst IconButton = ({ className, style, icon, onClick, isFlipped, ...rest }: IconButtonProps) => {\n const [isActive, setIsActive] = useState<boolean>(false);\n\n const onKeyDown = (event: React.KeyboardEvent<HTMLButtonElement>) => {\n event.stopPropagation();\n if (event.key === 'Enter' || event.key === 'Space') {\n setIsActive(true);\n }\n rest.onKeyDown?.(event);\n };\n\n const onKeyUp = (event: React.KeyboardEvent<HTMLButtonElement>) => {\n if (event.key === 'Enter' || event.key === 'Space') {\n setIsActive(false);\n }\n rest.onKeyUp?.(event);\n };\n\n const onBlur = (event: React.FocusEvent<HTMLButtonElement>) => {\n setIsActive(false);\n rest.onBlur?.(event);\n };\n\n return (\n <button\n className={[CLASS, isActive ? `${CLASS}-active` : '', isFlipped ? `${CLASS}-flipped` : '', className].join(' ')}\n css={emotion(style)}\n type='button'\n onClick={onClick}\n onKeyDown={onKeyDown}\n onKeyUp={onKeyUp}\n onBlur={onBlur}\n data-testid={CLASS}\n {...rest}\n >\n <span className={`${CLASS}-span`}>{icon}</span>\n </button>\n );\n};\n\nexport default IconButton;\n","import { useCreateComponentStyles } from '@hocs/ThemeProvider/useThemeProvider.hook';\nimport { Component } from '@hocs/ThemeProvider/interfaces';\nimport type { IconButtonStyleProps } from './IconButton.interface';\nimport IconButtonBase from './IconButton';\n\nconst IconButton = ({ theme, variant = 'default', ...rest }: IconButtonStyleProps) => {\n const { componentStyles } = useCreateComponentStyles([Component.ICONBUTTON], theme, variant.toUpperCase());\n\n return <IconButtonBase {...rest} style={componentStyles} />;\n};\n\nexport default IconButton;\n","import { createContext } from 'react';\n\nexport interface RadioGroupContextValue {\n /** The name attribute shared by all radios in this group */\n name: string;\n /** The currently selected value */\n selectedValue: string;\n /** Select a value */\n onChange: (value: string) => void;\n /** Group-level disabled state */\n disabled?: boolean;\n /** Group-level validation error */\n error?: { message?: string };\n /** Value of the first non-disabled Radio child — used to implement roving tabindex */\n firstValue: string;\n}\n\nexport const RadioGroupContext = createContext<RadioGroupContextValue | null>(null);\n"],"mappings":";;;;;;AAAA,IAAY,IAAL,yBAAA,GAAA;QAEL,EAAA,SAAS,UACT,EAAA,aAAa,cACb,EAAA,YAAY,aACZ,EAAA,cAAc,eACd,EAAA,WAAW,YACX,EAAA,QAAQ,SACR,EAAA,SAAS,UACT,EAAA,aAAa,cACb,EAAA,SAAS,UACT,EAAA,SAAS,UACT,EAAA,aAAa,cACb,EAAA,iBAAiB,kBACjB,EAAA,aAAa,cACb,EAAA,iBAAiB,kBAGjB,EAAA,gBAAgB,iBAChB,EAAA,eAAe,gBACf,EAAA,aAAa,cACb,EAAA,QAAQ,SAGR,EAAA,WAAW,YACX,EAAA,eAAe;KAChB,ECxBK,UAAc,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GCGjB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