@cocso-ui/react 1.9.3 → 1.10.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.
@@ -15,6 +15,26 @@ var popover = require('../popover/popover.js');
15
15
  var button = require('../button/button.js');
16
16
  var typography = require('../typography/typography.js');
17
17
 
18
+ const MONTHS = Array.from({
19
+ length: 12
20
+ }, (_, month) => month);
21
+
22
+ // Where the calendar opens: the value's month, else today's, pulled inside
23
+ // the bounds so an empty picker with a future `minDate` does not open on a
24
+ // month where nothing can be picked.
25
+ const initialViewDate = (value, minDate, maxDate) => {
26
+ if (value) {
27
+ return value;
28
+ }
29
+ const today = new Date();
30
+ if (minDate && today < minDate) {
31
+ return minDate;
32
+ }
33
+ if (maxDate && today > maxDate) {
34
+ return maxDate;
35
+ }
36
+ return today;
37
+ };
18
38
  function DayPicker({
19
39
  ref,
20
40
  className,
@@ -29,16 +49,62 @@ function DayPicker({
29
49
  ...props
30
50
  }) {
31
51
  const [open, setOpen] = react.useState(false);
52
+ // The header's month opens a year-and-month grid in the same panel, so a
53
+ // date years away is a few clicks instead of one click per month.
54
+ const [view, setView] = react.useState("day");
55
+ const [viewDate, setViewDate] = react.useState(() => initialViewDate(value, minDate, maxDate));
56
+ // Remounts the calendar after a jump. A live calendar follows its keyboard
57
+ // cursor before `openToDate`, so a fresh mount is the reliable way to land
58
+ // on the picked month.
59
+ const [calendarKey, setCalendarKey] = react.useState(0);
60
+ // The day grid's height, held by the month grid so the panel does not
61
+ // shrink under the pointer — a panel opened above its trigger would jump.
62
+ const [dayViewHeight, setDayViewHeight] = react.useState();
63
+ const focusAfterViewChange = react.useRef(false);
64
+ const titleRef = react.useRef(null);
65
+ const currentMonthRef = react.useRef(null);
66
+
67
+ // A view change unmounts the control that had focus. Hand it to the
68
+ // matching control in the new view instead of dropping it on the body.
69
+ react.useEffect(() => {
70
+ if (!focusAfterViewChange.current) {
71
+ return;
72
+ }
73
+ focusAfterViewChange.current = false;
74
+ (view === "month" ? currentMonthRef : titleRef).current?.focus();
75
+ }, [view]);
76
+ const handleOpenChange = next => {
77
+ setOpen(next);
78
+ if (next) {
79
+ setView("day");
80
+ setViewDate(initialViewDate(value, minDate, maxDate));
81
+ setCalendarKey(key => key + 1);
82
+ }
83
+ };
32
84
  const handleChange = date => {
33
85
  onValueChange?.(date);
34
86
  setOpen(false);
35
87
  };
88
+ const changeView = next => {
89
+ focusAfterViewChange.current = true;
90
+ setView(next);
91
+ };
92
+ const jumpTo = (year, month) => {
93
+ setViewDate(new Date(year, month, 1));
94
+ setCalendarKey(key => key + 1);
95
+ changeView("day");
96
+ };
97
+ const year = viewDate.getFullYear();
98
+ const monthDisabled = month => {
99
+ const first = dateFns.startOfMonth(new Date(year, month, 1));
100
+ return minDate !== undefined && dateFns.endOfMonth(first) < minDate || maxDate !== undefined && first > maxDate;
101
+ };
36
102
  return /*#__PURE__*/jsxRuntime.jsx("div", {
37
103
  className: cn.cn(dayPicker_module.root, className),
38
104
  ref: ref,
39
105
  ...props,
40
106
  children: /*#__PURE__*/jsxRuntime.jsxs(popover.Popover, {
41
- onOpenChange: setOpen,
107
+ onOpenChange: handleOpenChange,
42
108
  open: open,
43
109
  children: [/*#__PURE__*/jsxRuntime.jsx(popover.Popover.Trigger, {
44
110
  render: trigger ?? /*#__PURE__*/jsxRuntime.jsx(button.Button, {
@@ -49,65 +115,50 @@ function DayPicker({
49
115
  locale: locale$1
50
116
  }) : "Select date"
51
117
  })
52
- }), /*#__PURE__*/jsxRuntime.jsx(popover.Popover.Content, {
118
+ }), /*#__PURE__*/jsxRuntime.jsxs(popover.Popover.Content, {
53
119
  "aria-label": "Select date",
54
120
  className: dayPicker_module.content,
55
- children: /*#__PURE__*/jsxRuntime.jsx(DatePicker, {
56
- dateFormat: dateFormat,
57
- dayClassName: date => {
58
- const day = date.getDay();
59
- if (day === 0) {
60
- return dayPicker_module.sunday;
61
- }
62
- if (day === 6) {
63
- return dayPicker_module.saturday;
64
- }
65
- return "";
121
+ children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
122
+ className: dayPicker_module.monthView,
123
+ hidden: view !== "month",
124
+ style: {
125
+ minHeight: dayViewHeight
66
126
  },
67
- disabled: disabled
68
- // Always draw six weeks. A month spans five or six rows, so the panel's
69
- // height changed while paging months, and the Popover positioner, seeing a
70
- // taller panel with too little room below, flipped it above the trigger
71
- // mid-interaction. A fixed height keeps the panel where it opened.
72
- ,
73
- fixedHeight: true,
74
- inline: true,
75
- locale: locale$1,
76
- maxDate: maxDate,
77
- minDate: minDate,
78
- onChange: handleChange,
79
- renderCustomHeader: ({
80
- date,
81
- decreaseMonth,
82
- increaseMonth,
83
- prevMonthButtonDisabled,
84
- nextMonthButtonDisabled
85
- }) => /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
86
- children: [/*#__PURE__*/jsxRuntime.jsx(typography.Typography, {
87
- size: "small",
88
- type: "body",
89
- weight: "semibold",
90
- children: date.toLocaleDateString(locale$1.code ?? "ko-KR", {
91
- year: "numeric",
92
- month: "long"
93
- })
127
+ children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
128
+ className: dayPicker_module.monthHeader,
129
+ children: [/*#__PURE__*/jsxRuntime.jsxs("button", {
130
+ "aria-label": "Back to days",
131
+ className: dayPicker_module.title,
132
+ onClick: () => changeView("day"),
133
+ type: "button",
134
+ children: [/*#__PURE__*/jsxRuntime.jsx(typography.Typography, {
135
+ size: "small",
136
+ type: "body",
137
+ weight: "semibold",
138
+ children: viewDate.toLocaleDateString(locale$1.code ?? "ko-KR", {
139
+ year: "numeric"
140
+ })
141
+ }), /*#__PURE__*/jsxRuntime.jsx(reactIcons.ArrowDropUpIcon, {
142
+ "aria-hidden": true,
143
+ size: 16
144
+ })]
94
145
  }), /*#__PURE__*/jsxRuntime.jsxs("div", {
95
146
  className: dayPicker_module.menu,
96
147
  children: [/*#__PURE__*/jsxRuntime.jsx(button.Button, {
97
- "aria-label": "Previous month",
148
+ "aria-label": "Previous year",
98
149
  className: dayPicker_module.arrow,
99
- disabled: prevMonthButtonDisabled,
100
- onClick: decreaseMonth,
150
+ disabled: minDate !== undefined && year - 1 < minDate.getFullYear(),
151
+ onClick: () => setViewDate(new Date(year - 1, 0, 1)),
101
152
  size: "x-small",
102
153
  svgOnly: true,
103
154
  type: "button",
104
155
  variant: "outline",
105
156
  children: /*#__PURE__*/jsxRuntime.jsx(reactIcons.ArrowIOSBackwardIcon, {})
106
157
  }), /*#__PURE__*/jsxRuntime.jsx(button.Button, {
107
- "aria-label": "Next month",
158
+ "aria-label": "Next year",
108
159
  className: dayPicker_module.arrow,
109
- disabled: nextMonthButtonDisabled,
110
- onClick: increaseMonth,
160
+ disabled: maxDate !== undefined && year + 1 > maxDate.getFullYear(),
161
+ onClick: () => setViewDate(new Date(year + 1, 0, 1)),
111
162
  size: "x-small",
112
163
  svgOnly: true,
113
164
  type: "button",
@@ -115,10 +166,111 @@ function DayPicker({
115
166
  children: /*#__PURE__*/jsxRuntime.jsx(reactIcons.ArrowIOSForwardIcon, {})
116
167
  })]
117
168
  })]
118
- }),
119
- selected: value,
120
- showPopperArrow: false
121
- })
169
+ }), /*#__PURE__*/jsxRuntime.jsx("div", {
170
+ className: dayPicker_module.monthGrid,
171
+ children: MONTHS.map(month => {
172
+ const current = value !== undefined && value.getFullYear() === year && value.getMonth() === month;
173
+ const isViewed = viewDate.getMonth() === month;
174
+ return /*#__PURE__*/jsxRuntime.jsx("button", {
175
+ "aria-current": current ? "date" : undefined,
176
+ className: dayPicker_module.monthCell,
177
+ "data-selected": current || undefined,
178
+ disabled: monthDisabled(month),
179
+ onClick: () => jumpTo(year, month),
180
+ ref: isViewed ? currentMonthRef : undefined,
181
+ type: "button",
182
+ children: dateFns.format(new Date(year, month, 1), "LLL", {
183
+ locale: locale$1
184
+ })
185
+ }, month);
186
+ })
187
+ })]
188
+ }), /*#__PURE__*/jsxRuntime.jsx("div", {
189
+ hidden: view !== "day",
190
+ children: /*#__PURE__*/jsxRuntime.jsx(DatePicker, {
191
+ dateFormat: dateFormat,
192
+ dayClassName: date => {
193
+ const day = date.getDay();
194
+ if (day === 0) {
195
+ return dayPicker_module.sunday;
196
+ }
197
+ if (day === 6) {
198
+ return dayPicker_module.saturday;
199
+ }
200
+ return "";
201
+ },
202
+ disabled: disabled
203
+ // Always draw six weeks. A month spans five or six rows, so the panel's
204
+ // height changed while paging months, and the Popover positioner, seeing a
205
+ // taller panel with too little room below, flipped it above the trigger
206
+ // mid-interaction. A fixed height keeps the panel where it opened.
207
+ ,
208
+ fixedHeight: true,
209
+ inline: true,
210
+ locale: locale$1,
211
+ maxDate: maxDate,
212
+ minDate: minDate,
213
+ onChange: handleChange,
214
+ onMonthChange: setViewDate,
215
+ openToDate: viewDate,
216
+ renderCustomHeader: ({
217
+ date,
218
+ decreaseMonth,
219
+ increaseMonth,
220
+ prevMonthButtonDisabled,
221
+ nextMonthButtonDisabled
222
+ }) => /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
223
+ children: [/*#__PURE__*/jsxRuntime.jsxs("button", {
224
+ "aria-label": "Choose year and month",
225
+ className: dayPicker_module.title,
226
+ onClick: event => {
227
+ setDayViewHeight(event.currentTarget.closest(".react-datepicker")?.getBoundingClientRect().height);
228
+ setViewDate(date);
229
+ changeView("month");
230
+ },
231
+ ref: titleRef,
232
+ type: "button",
233
+ children: [/*#__PURE__*/jsxRuntime.jsx(typography.Typography, {
234
+ size: "small",
235
+ type: "body",
236
+ weight: "semibold",
237
+ children: date.toLocaleDateString(locale$1.code ?? "ko-KR", {
238
+ year: "numeric",
239
+ month: "long"
240
+ })
241
+ }), /*#__PURE__*/jsxRuntime.jsx(reactIcons.ArrowDropDownIcon, {
242
+ "aria-hidden": true,
243
+ size: 16
244
+ })]
245
+ }), /*#__PURE__*/jsxRuntime.jsxs("div", {
246
+ className: dayPicker_module.menu,
247
+ children: [/*#__PURE__*/jsxRuntime.jsx(button.Button, {
248
+ "aria-label": "Previous month",
249
+ className: dayPicker_module.arrow,
250
+ disabled: prevMonthButtonDisabled,
251
+ onClick: decreaseMonth,
252
+ size: "x-small",
253
+ svgOnly: true,
254
+ type: "button",
255
+ variant: "outline",
256
+ children: /*#__PURE__*/jsxRuntime.jsx(reactIcons.ArrowIOSBackwardIcon, {})
257
+ }), /*#__PURE__*/jsxRuntime.jsx(button.Button, {
258
+ "aria-label": "Next month",
259
+ className: dayPicker_module.arrow,
260
+ disabled: nextMonthButtonDisabled,
261
+ onClick: increaseMonth,
262
+ size: "x-small",
263
+ svgOnly: true,
264
+ type: "button",
265
+ variant: "outline",
266
+ children: /*#__PURE__*/jsxRuntime.jsx(reactIcons.ArrowIOSForwardIcon, {})
267
+ })]
268
+ })]
269
+ }),
270
+ selected: value,
271
+ showPopperArrow: false
272
+ }, calendarKey)
273
+ })]
122
274
  })]
123
275
  })
124
276
  });
@@ -2,8 +2,8 @@
2
2
 
3
3
  var styleInject_es = require('../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js');
4
4
 
5
- var css_248z = "@layer components{.day-picker-module_root__QVrbb{display:inline-block;transform:translateZ(0)}.day-picker-module_content__34qUu.day-picker-module_content__34qUu{border-radius:var(--cocso-radius-4);line-height:normal;min-width:260px;overflow:hidden;padding:var(--cocso-spacing-7)}.day-picker-module_menu__2eMt0{align-items:center;display:flex;gap:var(--cocso-spacing-3);justify-content:center}.day-picker-module_arrow__p9QLq{height:24px;width:24px}.react-datepicker__day.day-picker-module_sunday__nVavs{color:var(--cocso-color-feedback-danger-text)}.react-datepicker__day.day-picker-module_saturday__ZYoB9{color:var(--cocso-color-feedback-info-text)}.react-datepicker{background-color:var(--cocso-color-surface-primary);color:var(--cocso-color-text-primary);display:inline-block;font-size:.8rem;padding-inline:0;position:relative}.react-datepicker__month-container{padding-block:0;width:100%}.react-datepicker__month{gap:var(--cocso-spacing-2)}.react-datepicker__week{align-items:center;display:flex;justify-content:space-between;text-align:center;white-space:nowrap;width:100%}@media (hover:hover) and (pointer:fine){.react-datepicker__day:hover{background-color:var(--cocso-color-interactive-secondary)}.react-datepicker__day.react-datepicker__day--selected:hover{background-color:var(--cocso-color-interactive-primary-hover)}}}";
6
- var styles = {"root":"day-picker-module_root__QVrbb","content":"day-picker-module_content__34qUu","menu":"day-picker-module_menu__2eMt0","arrow":"day-picker-module_arrow__p9QLq","sunday":"day-picker-module_sunday__nVavs","saturday":"day-picker-module_saturday__ZYoB9"};
5
+ var css_248z = "@layer components{.day-picker-module_root__QVrbb{display:inline-block;transform:translateZ(0)}.day-picker-module_content__34qUu.day-picker-module_content__34qUu{border-radius:var(--cocso-radius-4);line-height:normal;min-width:260px;overflow:hidden;padding:var(--cocso-spacing-7)}.day-picker-module_menu__2eMt0{align-items:center;display:flex;gap:var(--cocso-spacing-3);justify-content:center}.day-picker-module_arrow__p9QLq{height:24px;width:24px}.day-picker-module_title__UokL8{align-items:center;background:none;border:0;border-radius:var(--cocso-radius-2);color:inherit;cursor:pointer;display:inline-flex;gap:var(--cocso-spacing-1);margin-inline-start:calc(var(--cocso-spacing-2)*-1);padding-block:var(--cocso-spacing-1);padding-inline:var(--cocso-spacing-2)}.day-picker-module_monthCell__lbR2S:focus-visible,.day-picker-module_title__UokL8:focus-visible{outline:2px solid var(--cocso-color-focus-ring);outline-offset:2px}.day-picker-module_monthView__tPMlr{display:flex;flex-direction:column}.day-picker-module_monthView__tPMlr[hidden]{display:none}.day-picker-module_monthHeader__mAlm5{align-items:center;display:flex;justify-content:space-between;padding-bottom:var(--cocso-spacing-5);width:100%}.day-picker-module_monthGrid__14EcZ{display:grid;flex:1;gap:var(--cocso-spacing-3);grid-auto-rows:1fr;grid-template-columns:repeat(3,1fr)}.day-picker-module_monthCell__lbR2S{align-items:center;background:none;border:0;border-radius:var(--cocso-radius-4);color:var(--cocso-color-text-primary);cursor:pointer;display:flex;font-size:var(--cocso-text-sm);font-weight:var(--cocso-font-weight-medium);justify-content:center;min-height:var(--cocso-spacing-14)}.day-picker-module_monthCell__lbR2S[data-selected]{background-color:var(--cocso-color-interactive-primary);color:var(--cocso-color-text-on-primary);font-weight:var(--cocso-font-weight-semibold)}.day-picker-module_monthCell__lbR2S:disabled{cursor:not-allowed;opacity:.4}.react-datepicker__day.day-picker-module_sunday__nVavs{color:var(--cocso-color-feedback-danger-text)}.react-datepicker__day.day-picker-module_saturday__ZYoB9{color:var(--cocso-color-feedback-info-text)}.react-datepicker{background-color:var(--cocso-color-surface-primary);color:var(--cocso-color-text-primary);display:block;font-size:.8rem;padding-inline:0;position:relative;width:100%}.react-datepicker__month-container{padding-block:0;width:100%}.react-datepicker__month{gap:var(--cocso-spacing-2)}.react-datepicker__week{align-items:center;display:flex;justify-content:space-between;text-align:center;white-space:nowrap;width:100%}@media (hover:hover) and (pointer:fine){.react-datepicker__day:hover{background-color:var(--cocso-color-interactive-secondary)}.react-datepicker__day.react-datepicker__day--selected:hover{background-color:var(--cocso-color-interactive-primary-hover)}.day-picker-module_monthCell__lbR2S:not(:disabled):hover,.day-picker-module_title__UokL8:hover{background-color:var(--cocso-color-interactive-secondary)}.day-picker-module_monthCell__lbR2S[data-selected]:not(:disabled):hover{background-color:var(--cocso-color-interactive-primary-hover)}}}";
6
+ var styles = {"root":"day-picker-module_root__QVrbb","content":"day-picker-module_content__34qUu","menu":"day-picker-module_menu__2eMt0","arrow":"day-picker-module_arrow__p9QLq","title":"day-picker-module_title__UokL8","monthCell":"day-picker-module_monthCell__lbR2S","monthView":"day-picker-module_monthView__tPMlr","monthHeader":"day-picker-module_monthHeader__mAlm5","monthGrid":"day-picker-module_monthGrid__14EcZ","sunday":"day-picker-module_sunday__nVavs","saturday":"day-picker-module_saturday__ZYoB9"};
7
7
  styleInject_es(css_248z);
8
8
 
9
9
  module.exports = styles;
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { ArrowIOSBackwardIcon, ArrowIOSForwardIcon } from '@cocso-ui/react-icons';
3
- import { format } from 'date-fns';
2
+ import { ArrowDropUpIcon, ArrowIOSBackwardIcon, ArrowIOSForwardIcon, ArrowDropDownIcon } from '@cocso-ui/react-icons';
3
+ import { format, startOfMonth, endOfMonth } from 'date-fns';
4
4
  import { ko } from 'date-fns/locale';
5
- import { useState } from 'react';
5
+ import { useState, useRef, useEffect } from 'react';
6
6
  import DatePicker from 'react-datepicker';
7
7
  import { cn } from '../../cn.mjs';
8
8
  import styles from './day-picker.module.css.mjs';
@@ -11,6 +11,26 @@ import { Popover } from '../popover/popover.mjs';
11
11
  import { Button } from '../button/button.mjs';
12
12
  import { Typography } from '../typography/typography.mjs';
13
13
 
14
+ const MONTHS = Array.from({
15
+ length: 12
16
+ }, (_, month) => month);
17
+
18
+ // Where the calendar opens: the value's month, else today's, pulled inside
19
+ // the bounds so an empty picker with a future `minDate` does not open on a
20
+ // month where nothing can be picked.
21
+ const initialViewDate = (value, minDate, maxDate) => {
22
+ if (value) {
23
+ return value;
24
+ }
25
+ const today = new Date();
26
+ if (minDate && today < minDate) {
27
+ return minDate;
28
+ }
29
+ if (maxDate && today > maxDate) {
30
+ return maxDate;
31
+ }
32
+ return today;
33
+ };
14
34
  function DayPicker({
15
35
  ref,
16
36
  className,
@@ -25,16 +45,62 @@ function DayPicker({
25
45
  ...props
26
46
  }) {
27
47
  const [open, setOpen] = useState(false);
48
+ // The header's month opens a year-and-month grid in the same panel, so a
49
+ // date years away is a few clicks instead of one click per month.
50
+ const [view, setView] = useState("day");
51
+ const [viewDate, setViewDate] = useState(() => initialViewDate(value, minDate, maxDate));
52
+ // Remounts the calendar after a jump. A live calendar follows its keyboard
53
+ // cursor before `openToDate`, so a fresh mount is the reliable way to land
54
+ // on the picked month.
55
+ const [calendarKey, setCalendarKey] = useState(0);
56
+ // The day grid's height, held by the month grid so the panel does not
57
+ // shrink under the pointer — a panel opened above its trigger would jump.
58
+ const [dayViewHeight, setDayViewHeight] = useState();
59
+ const focusAfterViewChange = useRef(false);
60
+ const titleRef = useRef(null);
61
+ const currentMonthRef = useRef(null);
62
+
63
+ // A view change unmounts the control that had focus. Hand it to the
64
+ // matching control in the new view instead of dropping it on the body.
65
+ useEffect(() => {
66
+ if (!focusAfterViewChange.current) {
67
+ return;
68
+ }
69
+ focusAfterViewChange.current = false;
70
+ (view === "month" ? currentMonthRef : titleRef).current?.focus();
71
+ }, [view]);
72
+ const handleOpenChange = next => {
73
+ setOpen(next);
74
+ if (next) {
75
+ setView("day");
76
+ setViewDate(initialViewDate(value, minDate, maxDate));
77
+ setCalendarKey(key => key + 1);
78
+ }
79
+ };
28
80
  const handleChange = date => {
29
81
  onValueChange?.(date);
30
82
  setOpen(false);
31
83
  };
84
+ const changeView = next => {
85
+ focusAfterViewChange.current = true;
86
+ setView(next);
87
+ };
88
+ const jumpTo = (year, month) => {
89
+ setViewDate(new Date(year, month, 1));
90
+ setCalendarKey(key => key + 1);
91
+ changeView("day");
92
+ };
93
+ const year = viewDate.getFullYear();
94
+ const monthDisabled = month => {
95
+ const first = startOfMonth(new Date(year, month, 1));
96
+ return minDate !== undefined && endOfMonth(first) < minDate || maxDate !== undefined && first > maxDate;
97
+ };
32
98
  return /*#__PURE__*/jsx("div", {
33
99
  className: cn(styles.root, className),
34
100
  ref: ref,
35
101
  ...props,
36
102
  children: /*#__PURE__*/jsxs(Popover, {
37
- onOpenChange: setOpen,
103
+ onOpenChange: handleOpenChange,
38
104
  open: open,
39
105
  children: [/*#__PURE__*/jsx(Popover.Trigger, {
40
106
  render: trigger ?? /*#__PURE__*/jsx(Button, {
@@ -45,65 +111,50 @@ function DayPicker({
45
111
  locale
46
112
  }) : "Select date"
47
113
  })
48
- }), /*#__PURE__*/jsx(Popover.Content, {
114
+ }), /*#__PURE__*/jsxs(Popover.Content, {
49
115
  "aria-label": "Select date",
50
116
  className: styles.content,
51
- children: /*#__PURE__*/jsx(DatePicker, {
52
- dateFormat: dateFormat,
53
- dayClassName: date => {
54
- const day = date.getDay();
55
- if (day === 0) {
56
- return styles.sunday;
57
- }
58
- if (day === 6) {
59
- return styles.saturday;
60
- }
61
- return "";
117
+ children: [/*#__PURE__*/jsxs("div", {
118
+ className: styles.monthView,
119
+ hidden: view !== "month",
120
+ style: {
121
+ minHeight: dayViewHeight
62
122
  },
63
- disabled: disabled
64
- // Always draw six weeks. A month spans five or six rows, so the panel's
65
- // height changed while paging months, and the Popover positioner, seeing a
66
- // taller panel with too little room below, flipped it above the trigger
67
- // mid-interaction. A fixed height keeps the panel where it opened.
68
- ,
69
- fixedHeight: true,
70
- inline: true,
71
- locale: locale,
72
- maxDate: maxDate,
73
- minDate: minDate,
74
- onChange: handleChange,
75
- renderCustomHeader: ({
76
- date,
77
- decreaseMonth,
78
- increaseMonth,
79
- prevMonthButtonDisabled,
80
- nextMonthButtonDisabled
81
- }) => /*#__PURE__*/jsxs(Fragment, {
82
- children: [/*#__PURE__*/jsx(Typography, {
83
- size: "small",
84
- type: "body",
85
- weight: "semibold",
86
- children: date.toLocaleDateString(locale.code ?? "ko-KR", {
87
- year: "numeric",
88
- month: "long"
89
- })
123
+ children: [/*#__PURE__*/jsxs("div", {
124
+ className: styles.monthHeader,
125
+ children: [/*#__PURE__*/jsxs("button", {
126
+ "aria-label": "Back to days",
127
+ className: styles.title,
128
+ onClick: () => changeView("day"),
129
+ type: "button",
130
+ children: [/*#__PURE__*/jsx(Typography, {
131
+ size: "small",
132
+ type: "body",
133
+ weight: "semibold",
134
+ children: viewDate.toLocaleDateString(locale.code ?? "ko-KR", {
135
+ year: "numeric"
136
+ })
137
+ }), /*#__PURE__*/jsx(ArrowDropUpIcon, {
138
+ "aria-hidden": true,
139
+ size: 16
140
+ })]
90
141
  }), /*#__PURE__*/jsxs("div", {
91
142
  className: styles.menu,
92
143
  children: [/*#__PURE__*/jsx(Button, {
93
- "aria-label": "Previous month",
144
+ "aria-label": "Previous year",
94
145
  className: styles.arrow,
95
- disabled: prevMonthButtonDisabled,
96
- onClick: decreaseMonth,
146
+ disabled: minDate !== undefined && year - 1 < minDate.getFullYear(),
147
+ onClick: () => setViewDate(new Date(year - 1, 0, 1)),
97
148
  size: "x-small",
98
149
  svgOnly: true,
99
150
  type: "button",
100
151
  variant: "outline",
101
152
  children: /*#__PURE__*/jsx(ArrowIOSBackwardIcon, {})
102
153
  }), /*#__PURE__*/jsx(Button, {
103
- "aria-label": "Next month",
154
+ "aria-label": "Next year",
104
155
  className: styles.arrow,
105
- disabled: nextMonthButtonDisabled,
106
- onClick: increaseMonth,
156
+ disabled: maxDate !== undefined && year + 1 > maxDate.getFullYear(),
157
+ onClick: () => setViewDate(new Date(year + 1, 0, 1)),
107
158
  size: "x-small",
108
159
  svgOnly: true,
109
160
  type: "button",
@@ -111,10 +162,111 @@ function DayPicker({
111
162
  children: /*#__PURE__*/jsx(ArrowIOSForwardIcon, {})
112
163
  })]
113
164
  })]
114
- }),
115
- selected: value,
116
- showPopperArrow: false
117
- })
165
+ }), /*#__PURE__*/jsx("div", {
166
+ className: styles.monthGrid,
167
+ children: MONTHS.map(month => {
168
+ const current = value !== undefined && value.getFullYear() === year && value.getMonth() === month;
169
+ const isViewed = viewDate.getMonth() === month;
170
+ return /*#__PURE__*/jsx("button", {
171
+ "aria-current": current ? "date" : undefined,
172
+ className: styles.monthCell,
173
+ "data-selected": current || undefined,
174
+ disabled: monthDisabled(month),
175
+ onClick: () => jumpTo(year, month),
176
+ ref: isViewed ? currentMonthRef : undefined,
177
+ type: "button",
178
+ children: format(new Date(year, month, 1), "LLL", {
179
+ locale
180
+ })
181
+ }, month);
182
+ })
183
+ })]
184
+ }), /*#__PURE__*/jsx("div", {
185
+ hidden: view !== "day",
186
+ children: /*#__PURE__*/jsx(DatePicker, {
187
+ dateFormat: dateFormat,
188
+ dayClassName: date => {
189
+ const day = date.getDay();
190
+ if (day === 0) {
191
+ return styles.sunday;
192
+ }
193
+ if (day === 6) {
194
+ return styles.saturday;
195
+ }
196
+ return "";
197
+ },
198
+ disabled: disabled
199
+ // Always draw six weeks. A month spans five or six rows, so the panel's
200
+ // height changed while paging months, and the Popover positioner, seeing a
201
+ // taller panel with too little room below, flipped it above the trigger
202
+ // mid-interaction. A fixed height keeps the panel where it opened.
203
+ ,
204
+ fixedHeight: true,
205
+ inline: true,
206
+ locale: locale,
207
+ maxDate: maxDate,
208
+ minDate: minDate,
209
+ onChange: handleChange,
210
+ onMonthChange: setViewDate,
211
+ openToDate: viewDate,
212
+ renderCustomHeader: ({
213
+ date,
214
+ decreaseMonth,
215
+ increaseMonth,
216
+ prevMonthButtonDisabled,
217
+ nextMonthButtonDisabled
218
+ }) => /*#__PURE__*/jsxs(Fragment, {
219
+ children: [/*#__PURE__*/jsxs("button", {
220
+ "aria-label": "Choose year and month",
221
+ className: styles.title,
222
+ onClick: event => {
223
+ setDayViewHeight(event.currentTarget.closest(".react-datepicker")?.getBoundingClientRect().height);
224
+ setViewDate(date);
225
+ changeView("month");
226
+ },
227
+ ref: titleRef,
228
+ type: "button",
229
+ children: [/*#__PURE__*/jsx(Typography, {
230
+ size: "small",
231
+ type: "body",
232
+ weight: "semibold",
233
+ children: date.toLocaleDateString(locale.code ?? "ko-KR", {
234
+ year: "numeric",
235
+ month: "long"
236
+ })
237
+ }), /*#__PURE__*/jsx(ArrowDropDownIcon, {
238
+ "aria-hidden": true,
239
+ size: 16
240
+ })]
241
+ }), /*#__PURE__*/jsxs("div", {
242
+ className: styles.menu,
243
+ children: [/*#__PURE__*/jsx(Button, {
244
+ "aria-label": "Previous month",
245
+ className: styles.arrow,
246
+ disabled: prevMonthButtonDisabled,
247
+ onClick: decreaseMonth,
248
+ size: "x-small",
249
+ svgOnly: true,
250
+ type: "button",
251
+ variant: "outline",
252
+ children: /*#__PURE__*/jsx(ArrowIOSBackwardIcon, {})
253
+ }), /*#__PURE__*/jsx(Button, {
254
+ "aria-label": "Next month",
255
+ className: styles.arrow,
256
+ disabled: nextMonthButtonDisabled,
257
+ onClick: increaseMonth,
258
+ size: "x-small",
259
+ svgOnly: true,
260
+ type: "button",
261
+ variant: "outline",
262
+ children: /*#__PURE__*/jsx(ArrowIOSForwardIcon, {})
263
+ })]
264
+ })]
265
+ }),
266
+ selected: value,
267
+ showPopperArrow: false
268
+ }, calendarKey)
269
+ })]
118
270
  })]
119
271
  })
120
272
  });
@@ -1,3 +1,3 @@
1
- var styles = {"root":"day-picker-module_root__QVrbb","content":"day-picker-module_content__34qUu","menu":"day-picker-module_menu__2eMt0","arrow":"day-picker-module_arrow__p9QLq","sunday":"day-picker-module_sunday__nVavs","saturday":"day-picker-module_saturday__ZYoB9"};
1
+ var styles = {"root":"day-picker-module_root__QVrbb","content":"day-picker-module_content__34qUu","menu":"day-picker-module_menu__2eMt0","arrow":"day-picker-module_arrow__p9QLq","title":"day-picker-module_title__UokL8","monthCell":"day-picker-module_monthCell__lbR2S","monthView":"day-picker-module_monthView__tPMlr","monthHeader":"day-picker-module_monthHeader__mAlm5","monthGrid":"day-picker-module_monthGrid__14EcZ","sunday":"day-picker-module_sunday__nVavs","saturday":"day-picker-module_saturday__ZYoB9"};
2
2
 
3
3
  export { styles as default };
@@ -10,4 +10,4 @@
10
10
  --cocso-button-bg-color-disabled,var(--cocso-button-bg-color)
11
11
  );color:var(
12
12
  --cocso-button-font-color-disabled,var(--cocso-button-font-color)
13
- );cursor:not-allowed}.button-module_svgOnly__QHNx6{aspect-ratio:1/1;padding:0}.button-module_spinnerOverlay__kbemq{inset:0;position:absolute}.button-module_buttonInner__aXpaa,.button-module_spinnerOverlay__kbemq{align-items:center;display:inline-flex;justify-content:center}.button-module_invisible__esdRe{opacity:0}@media (prefers-reduced-motion:reduce){.button-module_button__5dzDN{transition:none}}}.cocso-card:where(.cocso-card--variant-elevated){--cocso-card-bg-color:var(--cocso-color-surface-primary);--cocso-card-border-radius:var(--cocso-radius-4)}.cocso-card:where(.cocso-card--variant-outlined){--cocso-card-bg-color:var(--cocso-color-surface-primary);--cocso-card-border-radius:var(--cocso-radius-4);--cocso-card-border:1px solid var(--cocso-color-border-secondary)}.cocso-card:where(.cocso-card--variant-filled){--cocso-card-bg-color:var(--cocso-color-surface-secondary);--cocso-card-border-radius:var(--cocso-radius-4)}.cocso-card:where(.cocso-card--variant-glass){--cocso-card-bg-color:var(--cocso-color-surface-glass);--cocso-card-border-radius:var(--cocso-radius-4);--cocso-card-border:1px solid var(--cocso-color-border-glass)}.cocso-card:where(.cocso-card--padding-sm){--cocso-card-padding:12px}.cocso-card:where(.cocso-card--padding-md){--cocso-card-padding:16px}.cocso-card:where(.cocso-card--padding-lg){--cocso-card-padding:24px}@layer components{.card-module_card__ZPFTz{background-color:var(--cocso-card-bg-color);border:var(--cocso-card-border,none);border-radius:var(--cocso-card-border-radius);display:flex;flex-direction:column;padding:var(--cocso-card-padding)}.card-module_elevated__Gua8s{box-shadow:var(--cocso-shadow-card)}.card-module_glass__u-Nbb{backdrop-filter:blur(16px)}}.cocso-checkbox{--cocso-checkbox-focus-ring-color:var(--cocso-color-focus-ring)}.cocso-checkbox:where(.cocso-checkbox--size-large){--cocso-checkbox-size:18px;--cocso-checkbox-radius:var(--cocso-radius-3)}.cocso-checkbox:where(.cocso-checkbox--size-medium){--cocso-checkbox-size:16px;--cocso-checkbox-radius:var(--cocso-radius-2)}.cocso-checkbox:where(.cocso-checkbox--size-small){--cocso-checkbox-size:14px;--cocso-checkbox-radius:var(--cocso-radius-1)}.cocso-checkbox:where(.cocso-checkbox--status-on){--cocso-checkbox-border-color:var(--cocso-color-interactive-primary);--cocso-checkbox-bg-color:var(--cocso-color-interactive-primary);--cocso-checkbox-bg-color-hover:var(--cocso-color-interactive-primary-hover);--cocso-checkbox-border-color-hover:var(--cocso-color-interactive-primary-hover)}.cocso-checkbox:where(.cocso-checkbox--status-off){--cocso-checkbox-border-color:var(--cocso-color-border-strong);--cocso-checkbox-bg-color:var(--cocso-color-surface-primary);--cocso-checkbox-bg-color-hover:var(--cocso-color-interactive-secondary-hover);--cocso-checkbox-border-color-hover:var(--cocso-color-interactive-secondary-hover)}.cocso-checkbox:where(.cocso-checkbox--status-intermediate){--cocso-checkbox-border-color:var(--cocso-color-interactive-primary);--cocso-checkbox-bg-color:var(--cocso-color-interactive-primary);--cocso-checkbox-bg-color-hover:var(--cocso-color-interactive-primary-hover);--cocso-checkbox-border-color-hover:var(--cocso-color-interactive-primary-hover)}@layer components{.checkbox-module_wrapper__vP2bp{align-items:center;display:flex;gap:var(--cocso-spacing-5);min-height:24px}.checkbox-module_checkbox__zAB1y{--cocso-checkbox-size:inherit;--cocso-checkbox-color:inherit;--cocso-checkbox-border-color:inherit;--cocso-checkbox-bg-color:inherit;align-items:center;background-color:var(--cocso-checkbox-bg-color);border:1px solid var(--cocso-checkbox-border-color);border-radius:var(--cocso-checkbox-radius);color:var(--cocso-checkbox-color);cursor:pointer;display:inline-flex;height:var(--cocso-checkbox-size);justify-content:center;opacity:1;position:relative;transition:color var(--cocso-duration-fast) var(--cocso-easing-default),border-color var(--cocso-duration-fast) var(--cocso-easing-default),background-color var(--cocso-duration-fast) var(--cocso-easing-default);width:var(--cocso-checkbox-size)}.checkbox-module_icon__Taf0X{stroke:var(--cocso-checkbox-color);display:block;height:auto;max-width:100%;transition:stroke var(--cocso-duration-fast) var(--cocso-easing-default)}.checkbox-module_checkbox__zAB1y:focus-within{outline:2px solid var(--cocso-checkbox-focus-ring-color);outline-offset:2px}.checkbox-module_checkbox__zAB1y input[type=checkbox]{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.checkbox-module_indicator__Cs9Yi{bottom:var(--cocso-spacing-1);left:var(--cocso-spacing-1);position:absolute;right:var(--cocso-spacing-1);top:var(--cocso-spacing-1);transition:opacity var(--cocso-duration-fast) var(--cocso-easing-default)}.checkbox-module_label__EvRQ7{cursor:pointer;opacity:1}.checkbox-module_checkbox__zAB1y[data-disabled],.checkbox-module_label__EvRQ7[aria-disabled=true]{cursor:not-allowed;opacity:.4}@media (prefers-reduced-motion:reduce){.checkbox-module_checkbox__zAB1y,.checkbox-module_icon__Taf0X,.checkbox-module_indicator__Cs9Yi{transition:none}}}@layer components{@keyframes popover-module_slide-up-and-fade__Xlvb6{0%{opacity:.9;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}@keyframes popover-module_slide-right-and-fade__R8x1-{0%{opacity:.9;transform:translateX(-2px)}to{opacity:1;transform:translateX(0)}}@keyframes popover-module_slide-down-and-fade__hwk68{0%{opacity:.9;transform:translateY(-2px)}to{opacity:1;transform:translateY(0)}}@keyframes popover-module_slide-left-and-fade__dQXyx{0%{opacity:.9;transform:translateX(2px)}to{opacity:1;transform:translateX(0)}}@media (prefers-reduced-motion:reduce){.popover-module_content__TwOg0{animation:none}}.popover-module_positioner__TnQeH{z-index:var(--cocso-z-index-popover)}.popover-module_content__TwOg0{animation-duration:var(--cocso-duration-normal);animation-timing-function:var(--cocso-easing-entrance);background-color:var(--cocso-color-surface-primary);border:1px solid var(--cocso-color-border-secondary);border-radius:var(--cocso-radius-3);box-shadow:var(--cocso-shadow-popover);font-size:var(--cocso-text-sm);line-height:1.5;overflow:visible;padding-block:var(--cocso-spacing-4);padding-inline:var(--cocso-spacing-5);position:relative;will-change:transform,opacity}.popover-module_content__TwOg0[data-open][data-side=top]{animation-name:popover-module_slide-up-and-fade__Xlvb6;margin-bottom:var(--cocso-spacing-3)}.popover-module_content__TwOg0[data-open][data-side=right]{animation-name:popover-module_slide-right-and-fade__R8x1-;margin-left:var(--cocso-spacing-3)}.popover-module_content__TwOg0[data-open][data-side=bottom]{animation-name:popover-module_slide-down-and-fade__hwk68;margin-top:var(--cocso-spacing-3)}.popover-module_content__TwOg0[data-open][data-side=left]{animation-name:popover-module_slide-left-and-fade__dQXyx;margin-right:var(--cocso-spacing-3)}.popover-module_content__TwOg0[data-open][data-side=top]:has(.popover-module_arrow__zZuHF){margin-bottom:var(--cocso-spacing-6)}.popover-module_content__TwOg0[data-open][data-side=right]:has(.popover-module_arrow__zZuHF){margin-left:var(--cocso-spacing-6)}.popover-module_content__TwOg0[data-open][data-side=bottom]:has(.popover-module_arrow__zZuHF){margin-top:var(--cocso-spacing-6)}.popover-module_content__TwOg0[data-open][data-side=left]:has(.popover-module_arrow__zZuHF){margin-right:var(--cocso-spacing-6)}.popover-module_arrow__zZuHF{background-color:var(--cocso-color-surface-primary);border:1px solid var(--cocso-color-border-secondary);height:10px;width:10px}.popover-module_arrow__zZuHF[data-side=bottom]{border-bottom:none;border-right:none;top:0;transform:translateY(-50%) rotate(45deg)}.popover-module_arrow__zZuHF[data-side=top]{border-left:none;border-top:none;bottom:0;transform:translateY(50%) rotate(45deg)}.popover-module_arrow__zZuHF[data-side=right]{border-right:none;border-top:none;left:0;transform:translateX(-50%) rotate(45deg)}.popover-module_arrow__zZuHF[data-side=left]{border-bottom:none;border-left:none;right:0;transform:translateX(50%) rotate(45deg)}.react-datepicker__aria-live{height:1px;left:-10000px;overflow:hidden;position:absolute;top:auto;width:1px}.react-datepicker__sr-only{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.react-datepicker__header--custom{padding-bottom:var(--cocso-spacing-5)}.react-datepicker__day-names,.react-datepicker__header--custom{align-items:center;display:flex;justify-content:space-between;width:100%}.react-datepicker__day-names{padding-bottom:var(--cocso-spacing-2);text-align:center;white-space:nowrap}.react-datepicker__day-name{font-weight:500;padding-inline:var(--cocso-spacing-3)}.react-datepicker__day,.react-datepicker__day-name{align-items:center;aspect-ratio:1/1;color:var(--cocso-color-text-primary);display:inline-flex;justify-content:center;margin:0;min-width:1.7rem;text-align:center;width:auto}.react-datepicker__day{border-radius:var(--cocso-radius-4);cursor:pointer;font-family:var(--font-mono,"monospace"),monospace}.react-datepicker__day.react-datepicker__day--selected{background-color:var(--cocso-color-interactive-primary);color:var(--cocso-color-text-on-primary)}.react-datepicker__day-name:first-child{color:var(--cocso-color-feedback-danger-text)}.react-datepicker__day-name:nth-child(7){color:var(--cocso-color-feedback-info-text)}.react-datepicker__day--outside-month.react-datepicker__day--outside-month.react-datepicker__day--outside-month{color:var(--cocso-color-text-secondary)}.react-datepicker__day--disabled{cursor:not-allowed;opacity:.4}.date-time-picker-module_root__kG5Ec{display:inline-block;transform:translateZ(0)}.date-time-picker-module_content__hquXj.date-time-picker-module_content__hquXj{border-radius:var(--cocso-radius-4);line-height:normal;min-width:340px;overflow:hidden;padding:var(--cocso-spacing-7)}.date-time-picker-module_menu__0Jgwx{align-items:center;display:flex;gap:var(--cocso-spacing-3);justify-content:center}.date-time-picker-module_arrow__GPmp6{height:24px;width:24px}.react-datepicker__day.date-time-picker-module_sunday__9OkwF{color:var(--cocso-color-feedback-danger-text)}.react-datepicker__day.date-time-picker-module_saturday__zF-or{color:var(--cocso-color-feedback-info-text)}.react-datepicker{background-color:var(--cocso-color-surface-primary);color:var(--cocso-color-text-primary);display:flex;font-size:.8rem;gap:var(--cocso-spacing-5);padding-inline:0;position:relative}.react-datepicker__month-container{flex:1 1 auto;padding-block:0}.react-datepicker__month{gap:var(--cocso-spacing-2)}.react-datepicker__week{align-items:center;display:flex;justify-content:space-between;text-align:center;white-space:nowrap;width:100%}}@layer components{@media (hover:hover) and (pointer:fine){.react-datepicker__day:hover{background-color:var(--cocso-color-interactive-secondary)}.react-datepicker__day.react-datepicker__day--selected:hover{background-color:var(--cocso-color-interactive-primary-hover)}}.react-datepicker__time-container{border-inline-start:1px solid var(--cocso-color-border-secondary);flex:0 0 auto;padding-inline-start:var(--cocso-spacing-5);width:88px}.react-datepicker__header--time{color:var(--cocso-color-text-primary);font-weight:500;padding-bottom:var(--cocso-spacing-2);text-align:center}.react-datepicker__time,.react-datepicker__time-box{background-color:var(--cocso-color-surface-primary);width:100%}.react-datepicker__time-list{list-style:none;margin:0;max-height:208px;overflow-y:auto;padding:0}.react-datepicker__time-list-item{align-items:center;border-radius:var(--cocso-radius-4);color:var(--cocso-color-text-primary);cursor:pointer;display:flex;font-family:var(--font-mono,"monospace"),monospace;justify-content:center;padding-block:var(--cocso-spacing-3)}.react-datepicker__time-list-item--selected{background-color:var(--cocso-color-interactive-primary);color:var(--cocso-color-text-on-primary)}.react-datepicker__time-list-item--disabled{background-color:var(--cocso-color-interactive-disabled);color:var(--cocso-color-text-on-disabled);cursor:not-allowed}@media (hover:hover) and (pointer:fine){.react-datepicker__time-list-item:hover{background-color:var(--cocso-color-interactive-secondary)}.react-datepicker__time-list-item--selected:hover{background-color:var(--cocso-color-interactive-primary-hover)}.react-datepicker__time-list-item--disabled:hover{background-color:var(--cocso-color-interactive-disabled)}}}@layer components{.day-picker-module_root__QVrbb{display:inline-block;transform:translateZ(0)}.day-picker-module_content__34qUu.day-picker-module_content__34qUu{border-radius:var(--cocso-radius-4);line-height:normal;min-width:260px;overflow:hidden;padding:var(--cocso-spacing-7)}.day-picker-module_menu__2eMt0{align-items:center;display:flex;gap:var(--cocso-spacing-3);justify-content:center}.day-picker-module_arrow__p9QLq{height:24px;width:24px}.react-datepicker__day.day-picker-module_sunday__nVavs{color:var(--cocso-color-feedback-danger-text)}.react-datepicker__day.day-picker-module_saturday__ZYoB9{color:var(--cocso-color-feedback-info-text)}.react-datepicker{background-color:var(--cocso-color-surface-primary);color:var(--cocso-color-text-primary);display:inline-block;font-size:.8rem;padding-inline:0;position:relative}.react-datepicker__month-container{padding-block:0;width:100%}.react-datepicker__month{gap:var(--cocso-spacing-2)}.react-datepicker__week{align-items:center;display:flex;justify-content:space-between;text-align:center;white-space:nowrap;width:100%}@media (hover:hover) and (pointer:fine){.react-datepicker__day:hover{background-color:var(--cocso-color-interactive-secondary)}.react-datepicker__day.react-datepicker__day--selected:hover{background-color:var(--cocso-color-interactive-primary-hover)}}}@layer components{@keyframes dialog-module_overlay-show__gzSZE{0%{opacity:0}to{opacity:1}}.dialog-module_overlay__aJLpW{animation:dialog-module_overlay-show__gzSZE var(--cocso-duration-slow) var(--cocso-easing-entrance);background-color:var(--cocso-color-black-alpha-30);inset:0;position:fixed;z-index:var(--cocso-z-index-overlay)}@keyframes dialog-module_content-show__rVhLI{0%{opacity:0;transform:translate(-50%,-48%) perspective(1200px) rotateX(-2deg) scale(.995)}to{opacity:1;transform:translate(-50%,-50%) perspective(1200px) rotateX(0deg) scale(1)}}.dialog-module_panel__5XCTU{animation:dialog-module_content-show__rVhLI var(--cocso-duration-slow) var(--cocso-easing-entrance);background-color:var(--cocso-color-surface-primary);border:1px solid var(--cocso-color-border-secondary);border-radius:var(--cocso-radius-5);box-shadow:var(--cocso-shadow-dialog);display:flex;flex-direction:column;left:50%;max-height:85vh;padding:var(--cocso-spacing-9);position:fixed;top:50%;transform:translate(-50%,-50%);width:90vw;z-index:var(--cocso-z-index-dialog)}.dialog-module_small__JObfk{max-width:380px}.dialog-module_medium__Xxtor{max-width:520px}.dialog-module_large__O71LV{max-width:680px}@media (prefers-reduced-motion:reduce){.dialog-module_overlay__aJLpW,.dialog-module_panel__5XCTU{animation:none}}.dialog-module_close__cuRe9{align-items:center;align-self:flex-end;cursor:pointer;display:flex;height:var(--cocso-spacing-10);inset-inline-end:var(--cocso-spacing-9);justify-content:center;position:absolute;top:var(--cocso-spacing-9);width:var(--cocso-spacing-10)}.dialog-module_title__E36pq{word-break:keep-all}.dialog-module_description__DNssa{margin-top:var(--cocso-spacing-3)}}@layer components{@keyframes dropdown-module_dropdown-slide-up__OrP7L{0%{opacity:.9;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}@keyframes dropdown-module_dropdown-slide-down__3NX30{0%{opacity:.9;transform:translateY(-2px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.dropdown-module_content__nf11j{animation:none}.dropdown-module_item__BvWCj{transition:none}}.dropdown-module_positioner__mGdXB{z-index:var(--cocso-z-index-popover)}.dropdown-module_content__nf11j{animation-duration:var(--cocso-duration-normal);animation-timing-function:var(--cocso-easing-entrance);background-color:var(--cocso-color-surface-primary);border:1px solid var(--cocso-color-border-secondary);border-radius:var(--cocso-radius-3);box-shadow:var(--cocso-shadow-dropdown);display:flex;flex-direction:column;min-width:128px;padding:var(--cocso-spacing-4);will-change:transform,opacity}.dropdown-module_content__nf11j[data-side=top]{animation-name:dropdown-module_dropdown-slide-up__OrP7L;margin-bottom:var(--cocso-spacing-3)}.dropdown-module_content__nf11j[data-side=bottom]{animation-name:dropdown-module_dropdown-slide-down__3NX30;margin-top:var(--cocso-spacing-3)}.dropdown-module_item__BvWCj{align-items:center;border-radius:var(--cocso-radius-3);cursor:pointer;display:flex;font-size:var(--cocso-text-sm);gap:var(--cocso-spacing-4);height:fit-content;line-height:1.5;padding-block:var(--cocso-spacing-4);padding-inline:var(--cocso-spacing-5);transition:background-color var(--cocso-duration-fast) var(--cocso-easing-soft),scale var(--cocso-duration-fast) var(--cocso-easing-soft)}.dropdown-module_prefix__oBteB{align-items:center;display:inline-flex;flex-shrink:0;height:14px;justify-content:center;width:14px}@media (hover:hover) and (pointer:fine){.dropdown-module_item__BvWCj:hover{background-color:var(--cocso-color-surface-secondary)}.dropdown-module_item__BvWCj[data-disabled]:hover{background-color:transparent}}.dropdown-module_item__BvWCj:active{scale:.98}.dropdown-module_item__BvWCj[data-disabled]{cursor:not-allowed;opacity:.4}.dropdown-module_item__BvWCj[data-disabled]:active{scale:1}.field-module_root__m2CZV{--cocso-field-label-font-size:var(--cocso-text-sm);--cocso-field-description-font-size:var(--cocso-text-xs);display:flex;flex-direction:column;gap:var(--cocso-spacing-5)}.field-module_label__LbITU{color:var(--cocso-color-text-primary);cursor:pointer;font-size:var(--cocso-field-label-font-size);font-weight:var(--cocso-font-weight-medium);user-select:none}.field-module_optional__NE5TC{font-weight:var(--cocso-font-weight-regular);margin-inline-start:var(--cocso-spacing-4)}.field-module_description__qiTfj,.field-module_optional__NE5TC{color:var(--cocso-color-text-secondary);font-size:var(--cocso-field-description-font-size)}.field-module_description__qiTfj{margin:0}.field-module_errorMessage__HWoWa{color:var(--cocso-color-feedback-danger-text);font-size:var(--cocso-field-description-font-size);margin:0}}.cocso-input{--cocso-input-border-color:var(--cocso-color-border-strong)}.cocso-input:where(.cocso-input--size-x-small){--cocso-input-height:28px;--cocso-input-padding-x:8px;--cocso-input-font-size:12px;--cocso-input-border-radius:var(--cocso-radius-3);--cocso-input-border-color-hover:var(--cocso-color-interactive-primary-muted);--cocso-input-border-color-focus:var(--cocso-color-interactive-primary-active)}.cocso-input:where(.cocso-input--size-small){--cocso-input-height:32px;--cocso-input-padding-x:10px;--cocso-input-font-size:12px;--cocso-input-border-radius:var(--cocso-radius-3);--cocso-input-border-color-hover:var(--cocso-color-interactive-primary-muted);--cocso-input-border-color-focus:var(--cocso-color-interactive-primary-active)}.cocso-input:where(.cocso-input--size-medium){--cocso-input-height:36px;--cocso-input-padding-x:12px;--cocso-input-font-size:14px;--cocso-input-border-radius:var(--cocso-radius-4);--cocso-input-border-color-hover:var(--cocso-color-interactive-primary-muted);--cocso-input-border-color-focus:var(--cocso-color-interactive-primary-active)}.cocso-input:where(.cocso-input--size-large){--cocso-input-height:40px;--cocso-input-padding-x:14px;--cocso-input-font-size:14px;--cocso-input-border-radius:var(--cocso-radius-4);--cocso-input-border-color-hover:var(--cocso-color-interactive-primary-muted);--cocso-input-border-color-focus:var(--cocso-color-interactive-primary-active)}@layer components{.file-row-module_row__qdydr{--cocso-input-height:inherit;--cocso-input-padding-x:inherit;--cocso-input-font-size:inherit;--cocso-input-border-radius:inherit;align-items:center;border-radius:var(--cocso-input-border-radius);box-shadow:0 0 0 1px var(--cocso-color-border-strong);color:var(--cocso-color-text-secondary);display:inline-flex;font-size:var(--cocso-input-font-size);gap:var(--cocso-spacing-4);height:var(--cocso-input-height);padding-inline:var(--cocso-input-padding-x);width:fit-content}.file-row-module_row__qdydr.file-row-module_stretch__vwZRb{width:100%}.file-row-module_row__qdydr.file-row-module_error__Ar6sP{box-shadow:0 0 0 1px var(--cocso-color-feedback-danger)}.file-row-module_row__qdydr.file-row-module_disabled__Z3VNr{box-shadow:0 0 0 1px var(--cocso-color-border-secondary);cursor:not-allowed}.file-row-module_name__ki6jG{color:inherit;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-row-module_actions__RZsbE{align-items:center;display:inline-flex;flex-shrink:0;gap:var(--cocso-spacing-2);justify-content:center}.input-module_input__-ipHD{--cocso-input-height:inherit;--cocso-input-padding-x:inherit;--cocso-input-font-size:inherit;--cocso-input-border-radius:inherit;--cocso-input-bg-color:var(--cocso-color-surface-primary);background-color:var(--cocso-input-bg-color);border:none;border-radius:var(--cocso-input-border-radius);box-shadow:0 0 0 1px var(--cocso-color-border-strong),var(--cocso-shadow-xs);color:var(--cocso-color-text-primary);display:block;font-size:var(--cocso-input-font-size);height:var(--cocso-input-height);outline:none;padding-inline:var(--cocso-input-padding-x);transition:box-shadow var(--cocso-duration-fast) var(--cocso-easing-soft);width:fit-content}}@layer components{.input-module_input__-ipHD::placeholder{color:var(--cocso-color-text-secondary)}.input-module_input__-ipHD:focus-visible{box-shadow:0 0 0 1px var(--cocso-color-focus-ring),var(--cocso-shadow-xs);outline:2px solid transparent}.input-module_input__-ipHD.input-module_stretch__1zxJA{width:100%}.input-module_control__ceOez{display:inline-block;position:relative;width:fit-content}.input-module_control__ceOez.input-module_stretch__1zxJA{width:100%}.input-module_input__-ipHD.input-module_withToggle__vTRQU{padding-inline-end:calc(var(--cocso-input-padding-x)*2 + var(--cocso-spacing-5))}.input-module_toggle__ww6fn{align-items:center;background:none;border:none;border-radius:var(--cocso-radius-2);color:var(--cocso-color-text-secondary);cursor:pointer;display:flex;inset-inline-end:var(--cocso-input-padding-x);padding:0;position:absolute;top:50%;transform:translateY(-50%)}.input-module_toggle__ww6fn:focus-visible{outline:2px solid var(--cocso-color-focus-ring);outline-offset:1px}.input-module_input__-ipHD:disabled,.input-module_toggle__ww6fn:disabled{cursor:not-allowed;opacity:.4}.input-module_input__-ipHD:read-only{background-color:var(--cocso-color-surface-secondary);cursor:default}.input-module_input__-ipHD.input-module_error__8P-i-{box-shadow:0 0 0 1px var(--cocso-color-feedback-danger),var(--cocso-shadow-xs)}.input-module_input__-ipHD.input-module_error__8P-i-:focus-visible{box-shadow:0 0 0 1px var(--cocso-color-feedback-danger),var(--cocso-shadow-xs);outline:2px solid transparent}@media (prefers-reduced-motion:reduce){.input-module_input__-ipHD{transition:none}}}@layer components{.input-trigger-module_trigger__FepZ1{--cocso-input-height:inherit;--cocso-input-padding-x:inherit;--cocso-input-font-size:inherit;--cocso-input-border-radius:inherit;--cocso-input-bg-color:var(--cocso-color-surface-primary);align-items:center;background-color:var(--cocso-input-bg-color);border:none;border-radius:var(--cocso-input-border-radius);box-shadow:0 0 0 1px var(--cocso-color-border-strong),var(--cocso-shadow-xs);color:var(--cocso-color-text-primary);cursor:pointer;display:inline-flex;font-size:var(--cocso-input-font-size);gap:var(--cocso-spacing-4);height:var(--cocso-input-height);padding-inline:var(--cocso-input-padding-x);text-align:left;transition:box-shadow var(--cocso-duration-fast) var(--cocso-easing-soft);width:fit-content}.input-trigger-module_trigger__FepZ1:focus-visible{box-shadow:0 0 0 1px var(--cocso-color-focus-ring),var(--cocso-shadow-xs);outline:2px solid transparent}.input-trigger-module_trigger__FepZ1.input-trigger-module_stretch__iRyO-{width:100%}.input-trigger-module_trigger__FepZ1:disabled{cursor:not-allowed;opacity:.4}.input-trigger-module_trigger__FepZ1.input-trigger-module_error__qttrx,.input-trigger-module_trigger__FepZ1.input-trigger-module_error__qttrx:focus-visible{box-shadow:0 0 0 1px var(--cocso-color-feedback-danger),var(--cocso-shadow-xs)}.input-trigger-module_value__3RNV4{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.input-trigger-module_placeholder__-9y7a{color:var(--cocso-color-text-secondary)}.input-trigger-module_affix__IJsDY{align-items:center;display:inline-flex;flex-shrink:0;justify-content:center}@media (prefers-reduced-motion:reduce){.input-trigger-module_trigger__FepZ1{transition:none}}}.cocso-link:where(.cocso-link--variant-inline){--cocso-link-color:var(--cocso-color-interactive-info-text);--cocso-link-color-hover:var(--cocso-color-interactive-info-text-hover)}.cocso-link:where(.cocso-link--variant-current){--cocso-link-color:currentColor;--cocso-link-color-hover:currentColor}.cocso-link:where(.cocso-link--variant-plain){--cocso-link-color:var(--cocso-color-interactive-info-text);--cocso-link-color-hover:var(--cocso-color-interactive-info-text-hover)}@layer components{.link-module_link__RLpbr{align-items:center;color:var(--cocso-link-color);cursor:pointer;display:inline-flex;gap:var(--cocso-spacing-2);justify-content:center;text-decoration:none;transition:color var(--cocso-duration-fast) var(--cocso-easing-default);width:fit-content}@media (hover:hover) and (pointer:fine){.link-module_link__RLpbr:hover{color:var(--cocso-link-color-hover)}.link-module_current__RgEV9:hover{opacity:.7}}.link-module_link__RLpbr:focus-visible{border-radius:var(--cocso-radius-1);outline:2px solid var(--cocso-color-focus-ring);outline-offset:2px}.link-module_indicator__73GYU{text-decoration:underline;text-decoration-thickness:.0625em;text-underline-offset:.15em}.link-module_externalIcon__3okjy{flex-shrink:0;height:1em;width:1em}@media (prefers-reduced-motion:reduce){.link-module_link__RLpbr{transition:none}}}@layer components{.month-picker-module_root__iHMl-{--cocso-month-picker-font-size:var(--cocso-text-sm);display:inline-block;transform:translateZ(0)}.month-picker-module_content__vb64G.month-picker-module_content__vb64G{--cocso-month-picker-min-width:260px;border-radius:var(--cocso-radius-4);line-height:normal;min-width:var(--cocso-month-picker-min-width);overflow:hidden;padding:var(--cocso-spacing-7)}.month-picker-module_menu__V8bwo{align-items:center;display:flex;gap:var(--cocso-spacing-3);justify-content:center}.month-picker-module_arrow__eD5-G{height:24px;width:24px}.react-datepicker{background-color:var(--cocso-color-surface-primary);color:var(--cocso-color-text-primary);display:inline-block;font-size:.8rem;padding-inline:0;position:relative}.react-datepicker__week{text-align:center;white-space:nowrap}.react-datepicker__month{display:flex;flex-direction:column;gap:var(--cocso-spacing-5)}.react-datepicker__month-wrapper{align-items:center;display:flex;gap:var(--cocso-spacing-3);justify-content:space-between}.react-datepicker__month-text{align-items:center;border-radius:var(--cocso-radius-4);color:var(--cocso-color-text-primary);cursor:pointer;display:flex;flex:1;font-size:var(--cocso-month-picker-font-size);font-weight:var(--cocso-font-weight-medium);height:var(--cocso-spacing-14);justify-content:center}.react-datepicker__month-text--selected{background-color:var(--cocso-color-interactive-primary);color:var(--cocso-color-text-on-primary);font-weight:var(--cocso-font-weight-semibold)}@media (hover:hover) and (pointer:fine){.react-datepicker__month-text:hover{background-color:var(--cocso-color-interactive-secondary)}.react-datepicker__month-text--selected:hover{background-color:var(--cocso-color-interactive-primary-hover)}}}@layer components{.one-time-password-field-module_otp__6eiAN{align-items:center;display:flex;gap:var(--cocso-spacing-5)}.one-time-password-field-module_slot__tFGbq{align-items:center;background-color:var(--cocso-color-surface-secondary);border-radius:var(--cocso-radius-1);box-shadow:0 0 0 var(--cocso-spacing-1,1px) var(--cocso-color-border-strong);color:var(--cocso-color-text-primary);display:inline-flex;font-size:var(--cocso-text-base);font-weight:var(--cocso-font-weight-medium);height:3rem;justify-content:center;line-height:1;position:relative;text-align:center;text-transform:uppercase;transition:background-color var(--cocso-duration-fast) var(--cocso-easing-default),box-shadow var(--cocso-duration-fast) var(--cocso-easing-default);user-select:none;width:2.5rem}@media (hover:hover) and (pointer:fine){.one-time-password-field-module_slot__tFGbq:hover{box-shadow:0 0 0 var(--cocso-spacing-1,1px) var(--cocso-color-focus-ring)}}.one-time-password-field-module_slotActive__iT0ud{box-shadow:0 0 0 var(--cocso-spacing-1,1px) var(--cocso-color-focus-ring)}.one-time-password-field-module_caret__X9T-B{animation:one-time-password-field-module_caret-blink__dcoHY 1s step-end infinite;background-color:var(--cocso-color-text-primary);height:1em;position:absolute;width:1px}@keyframes one-time-password-field-module_caret-blink__dcoHY{0%,to{opacity:1}50%{opacity:0}}@media (prefers-reduced-motion:reduce){.one-time-password-field-module_caret__X9T-B{animation:none}}}@layer components{.pagination-module_pagination__XjBXK{align-items:center;display:flex;gap:var(--cocso-spacing-2);justify-content:center;margin-inline:auto}.pagination-module_arrow__q388S,.pagination-module_item__9Vttf{--cocso-pagination-font-size:var(--cocso-text-sm);--cocso-pagination-font-color:var(--cocso-color-text-primary);--cocso-pagination-font-weight:inherit;--cocso-pagination-bg-color:inherit;align-items:center;background-color:var(--cocso-pagination-bg-color);border-radius:var(--cocso-radius-4);color:var(--cocso-pagination-font-color);cursor:pointer;display:inline-flex;font-size:var(--cocso-pagination-font-size);font-weight:var(--cocso-pagination-font-weight);height:var(--cocso-spacing-12);justify-content:center;transition:transform var(--cocso-duration-fast) var(--cocso-easing-default);will-change:transform}.pagination-module_arrow__q388S:focus-visible,.pagination-module_item__9Vttf:focus-visible{outline:2px solid var(--cocso-color-focus-ring);outline-offset:2px}.pagination-module_arrow__q388S:disabled{cursor:not-allowed;opacity:.4}@media (hover:hover) and (pointer:fine){.pagination-module_arrow__q388S:not(:disabled):hover,.pagination-module_item__9Vttf[data-active=false]:hover{--cocso-pagination-bg-color:var(--cocso-color-surface-secondary)}}.pagination-module_arrow__q388S:not(:disabled):active{--cocso-pagination-bg-color:var(--cocso-color-interactive-secondary)}.pagination-module_arrow__q388S{width:var(--cocso-spacing-12)}.pagination-module_item__9Vttf{min-width:var(--cocso-spacing-12);padding-inline:var(--cocso-spacing-4);white-space:nowrap}.pagination-module_arrow__q388S>svg{flex-shrink:0;height:var(--cocso-spacing-8);width:var(--cocso-spacing-8)}.pagination-module_arrow__q388S:active,.pagination-module_item__9Vttf:active{transform:scale(.98)}.pagination-module_item__9Vttf[data-active=true]{--cocso-pagination-font-color:var(--cocso-color-text-on-primary);--cocso-pagination-bg-color:var(--cocso-color-interactive-primary);--cocso-pagination-font-weight:var(--cocso-font-weight-semibold)}.pagination-module_item__9Vttf[data-active=false]:active{--cocso-pagination-bg-color:var(--cocso-color-interactive-secondary)}.pagination-module_trunc__neqoN{align-items:center;color:var(--cocso-color-text-primary);display:inline-flex;font-size:var(--cocso-text-base);height:var(--cocso-spacing-13);justify-content:center;width:var(--cocso-spacing-13)}@media (prefers-reduced-motion:reduce){.pagination-module_item__9Vttf{transition:none}}}.cocso-progress{--cocso-progress-bg-color:var(--cocso-color-surface-neutral)}.cocso-progress:where(.cocso-progress--variant-primary){--cocso-progress-fill-color:var(--cocso-color-interactive-primary)}.cocso-progress:where(.cocso-progress--variant-secondary){--cocso-progress-fill-color:var(--cocso-color-text-muted)}.cocso-progress:where(.cocso-progress--variant-success){--cocso-progress-fill-color:var(--cocso-color-feedback-success)}.cocso-progress:where(.cocso-progress--variant-danger){--cocso-progress-fill-color:var(--cocso-color-feedback-danger)}.cocso-progress:where(.cocso-progress--variant-warning){--cocso-progress-fill-color:var(--cocso-color-feedback-warning)}.cocso-progress:where(.cocso-progress--variant-info){--cocso-progress-fill-color:var(--cocso-color-feedback-info)}.cocso-progress:where(.cocso-progress--size-sm){--cocso-progress-height:4px;--cocso-progress-border-radius:var(--cocso-radius-1)}.cocso-progress:where(.cocso-progress--size-md){--cocso-progress-height:8px;--cocso-progress-border-radius:var(--cocso-radius-2)}.cocso-progress:where(.cocso-progress--size-lg){--cocso-progress-height:12px;--cocso-progress-border-radius:var(--cocso-radius-3)}@layer components{.progress-module_track__gM0oV{background-color:var(--cocso-progress-bg-color);border-radius:var(--cocso-progress-border-radius);height:var(--cocso-progress-height);overflow:hidden;width:100%}.progress-module_fill__aLAbp{background-color:var(--cocso-progress-fill-color);border-radius:inherit;height:100%;transition:width var(--cocso-duration-normal) var(--cocso-easing-soft)}@media (prefers-reduced-motion:reduce){.progress-module_fill__aLAbp{transition:none}}}.cocso-radio{--cocso-radio-bg-color:var(--cocso-color-surface-primary);--cocso-radio-border-color:var(--cocso-color-text-primary);--cocso-radio-checked-color:var(--cocso-color-interactive-primary);--cocso-radio-focus-ring-color:var(--cocso-color-focus-ring)}.cocso-radio:where(.cocso-radio--size-large){--cocso-radio-size:18px;--cocso-radio-dot-size:8px}.cocso-radio:where(.cocso-radio--size-medium){--cocso-radio-size:16px;--cocso-radio-dot-size:7px}.cocso-radio:where(.cocso-radio--size-small){--cocso-radio-size:14px;--cocso-radio-dot-size:6px}.cocso-radio:where(.cocso-radio--selected-true){--cocso-radio-bg-color:var(--cocso-color-surface-primary);--cocso-radio-border-color:var(--cocso-color-interactive-primary);--cocso-radio-border-color-hover:var(--cocso-color-interactive-primary-hover)}.cocso-radio:where(.cocso-radio--selected-false){--cocso-radio-bg-color:var(--cocso-color-surface-primary);--cocso-radio-border-color:var(--cocso-color-border-strong);--cocso-radio-border-color-hover:var(--cocso-color-interactive-primary-muted)}@layer components{.radio-group-module_root__b8W35{display:flex;flex-direction:column;gap:var(--cocso-spacing-4)}.radio-group-module_root__b8W35[data-disabled]{cursor:not-allowed;opacity:.4}.radio-group-module_item__QAyhl{background-color:var(--cocso-radio-bg-color);border:var(--cocso-spacing-2) solid var(--cocso-radio-border-color);border-radius:100%;cursor:pointer;height:var(--cocso-radio-size,16px);width:var(--cocso-radio-size,16px)}.radio-group-module_item__QAyhl:focus-visible{outline:2px solid var(--cocso-radio-focus-ring-color);outline-offset:2px}.radio-group-module_item__QAyhl[data-checked]{border-color:var(--cocso-radio-checked-color)}.radio-group-module_item__QAyhl[data-disabled]{cursor:not-allowed;opacity:.4}.radio-group-module_indicator__I0Col{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%}.radio-group-module_indicator__I0Col:after{background-color:var(--cocso-radio-checked-color);border-radius:50%;content:"";display:block;height:var(--cocso-radio-dot-size,7px);width:var(--cocso-radio-dot-size,7px)}}.cocso-select{--cocso-select-border-color:var(--cocso-color-border-strong)}.cocso-select:where(.cocso-select--size-x-small){--cocso-select-min-width:28px;--cocso-select-height:28px;--cocso-select-padding-left:8px;--cocso-select-padding-right:26px;--cocso-select-icon-right:8px;--cocso-select-font-size:12px;--cocso-select-border-radius:var(--cocso-radius-3);--cocso-select-border-color-hover:var(--cocso-color-interactive-primary-muted);--cocso-select-border-color-focus:var(--cocso-color-interactive-primary-active)}.cocso-select:where(.cocso-select--size-small){--cocso-select-min-width:32px;--cocso-select-height:32px;--cocso-select-padding-left:10px;--cocso-select-padding-right:32px;--cocso-select-icon-right:10px;--cocso-select-font-size:12px;--cocso-select-border-radius:var(--cocso-radius-3);--cocso-select-border-color-hover:var(--cocso-color-interactive-primary-muted);--cocso-select-border-color-focus:var(--cocso-color-interactive-primary-active)}.cocso-select:where(.cocso-select--size-medium){--cocso-select-min-width:36px;--cocso-select-height:36px;--cocso-select-padding-left:12px;--cocso-select-padding-right:38px;--cocso-select-icon-right:12px;--cocso-select-font-size:14px;--cocso-select-border-radius:var(--cocso-radius-4);--cocso-select-border-color-hover:var(--cocso-color-interactive-primary-muted);--cocso-select-border-color-focus:var(--cocso-color-interactive-primary-active)}.cocso-select:where(.cocso-select--size-large){--cocso-select-min-width:40px;--cocso-select-height:40px;--cocso-select-padding-left:14px;--cocso-select-padding-right:42px;--cocso-select-icon-right:14px;--cocso-select-font-size:14px;--cocso-select-border-radius:var(--cocso-radius-4);--cocso-select-border-color-hover:var(--cocso-color-interactive-primary-muted);--cocso-select-border-color-focus:var(--cocso-color-interactive-primary-active)}@layer components{.select-module_wrapper__7szq0{cursor:pointer;position:relative;width:fit-content}.select-module_wrapper__7szq0.select-module_stretch__mQv7N{width:100%}.select-module_select__RLsWH{--cocso-select-min-width:inherit;--cocso-select-height:inherit;--cocso-select-padding-left:inherit;--cocso-select-padding-right:inherit;--cocso-select-font-size:inherit;--cocso-select-border-radius:inherit;--cocso-select-bg-color:var(--cocso-color-surface-primary);-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:var(--cocso-select-bg-color);border:none;border-radius:var(--cocso-select-border-radius);box-shadow:0 0 0 1px var(--cocso-color-border-strong),var(--cocso-shadow-xs);color:var(--cocso-color-text-primary);font-size:var(--cocso-select-font-size);height:var(--cocso-select-height);min-width:var(--cocso-select-min-width);outline:none;padding-inline-end:var(--cocso-select-padding-right);padding-inline-start:var(--cocso-select-padding-left);transition:box-shadow var(--cocso-duration-fast) var(--cocso-easing-soft)}.select-module_select__RLsWH:focus-visible{box-shadow:0 0 0 1px var(--cocso-color-focus-ring),var(--cocso-shadow-xs);outline:2px solid transparent}.select-module_wrapper__7szq0.select-module_stretch__mQv7N .select-module_select__RLsWH{width:100%}.select-module_wrapper__7szq0:has(select:disabled){cursor:not-allowed}.select-module_select__RLsWH:disabled{cursor:not-allowed;opacity:.4}.select-module_wrapper__7szq0.select-module_error__4KQv3 .select-module_select__RLsWH{box-shadow:0 0 0 1px var(--cocso-color-feedback-danger),var(--cocso-shadow-xs)}.select-module_wrapper__7szq0.select-module_error__4KQv3 .select-module_select__RLsWH:focus-visible{box-shadow:0 0 0 1px var(--cocso-color-feedback-danger),var(--cocso-shadow-xs);outline:2px solid transparent}.select-module_icon__K93bs{color:var(--cocso-color-text-muted);inset-inline-end:var(--cocso-select-icon-right,var(--cocso-spacing-5));pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.select-module_wrapper__7szq0:has(select:disabled) .select-module_icon__K93bs{opacity:.4}@media (prefers-reduced-motion:reduce){.select-module_select__RLsWH{transition:none}}}.cocso-skeleton{--cocso-skeleton-bg-color:var(--cocso-color-surface-neutral)}.cocso-skeleton:where(.cocso-skeleton--variant-text){--cocso-skeleton-height:16px;--cocso-skeleton-border-radius:var(--cocso-radius-2)}.cocso-skeleton:where(.cocso-skeleton--variant-circular){--cocso-skeleton-height:40px;--cocso-skeleton-width:40px;--cocso-skeleton-border-radius:100%}.cocso-skeleton:where(.cocso-skeleton--variant-rectangular){--cocso-skeleton-height:120px;--cocso-skeleton-border-radius:var(--cocso-radius-4)}@layer components{.skeleton-module_skeleton__fula5{background-color:var(--cocso-skeleton-bg-color);border-radius:var(--cocso-skeleton-border-radius);height:var(--cocso-skeleton-height);width:var(--cocso-skeleton-width,100%)}.skeleton-module_pulse__YLysm{animation:skeleton-module_skeleton-pulse__Yp45W var(--cocso-duration-decorative-slow) var(--cocso-easing-default) infinite}.skeleton-module_wave__GxWJ1{overflow:hidden;position:relative}.skeleton-module_wave__GxWJ1:after{animation:skeleton-module_skeleton-wave__zaVNu var(--cocso-duration-decorative-slow) var(--cocso-easing-default) infinite;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.4),transparent);content:"";inset:0;position:absolute}@keyframes skeleton-module_skeleton-pulse__Yp45W{0%,to{opacity:1}50%{opacity:.4}}@keyframes skeleton-module_skeleton-wave__zaVNu{0%{transform:translateX(-100%)}to{transform:translateX(100%)}}@media (prefers-reduced-motion:reduce){.skeleton-module_pulse__YLysm,.skeleton-module_wave__GxWJ1:after{animation:none}}}.cocso-stock-quantity-status:where(.cocso-stock-quantity-status--quantity-sufficient){--cocso-stock-quantity-status-color:var(--cocso-color-feedback-info-text)}.cocso-stock-quantity-status:where(.cocso-stock-quantity-status--quantity-normal){--cocso-stock-quantity-status-color:var(--cocso-color-feedback-success-text)}.cocso-stock-quantity-status:where(.cocso-stock-quantity-status--quantity-insufficient){--cocso-stock-quantity-status-color:var(--cocso-color-feedback-danger-text)}@layer components{.stock-quantity-status-module_stock__vGdTq{--cocso-stock-quantity-status-color:inherit;align-items:center;color:var(--cocso-stock-quantity-status-color);display:inline-flex;gap:var(--cocso-spacing-2)}.stock-quantity-status-module_indicator__AerLT{--cocso-stock-quantity-status-indicator-width:inherit;flex-shrink:0;height:auto;width:var(--cocso-stock-quantity-status-indicator-width)}.stock-quantity-status-module_indicator__AerLT>svg{height:100%;width:100%}.stock-quantity-status-module_track__x0fYO{fill:var(--cocso-color-surface-neutral)}}.cocso-switch{--cocso-switch-thumb-color:var(--cocso-color-text-on-primary);--cocso-switch-switch-bg-color:var(--cocso-color-surface-neutral);--cocso-switch-border-color:var(--cocso-color-border-control-muted)}.cocso-switch:where(.cocso-switch--variant-primary){--cocso-switch-checked-bg-color:var(--cocso-color-interactive-primary);--cocso-switch-switch-bg-color-hover:var(--cocso-color-interactive-primary-hover)}.cocso-switch:where(.cocso-switch--variant-success){--cocso-switch-checked-bg-color:var(--cocso-color-interactive-success);--cocso-switch-switch-bg-color-hover:var(--cocso-color-interactive-success-hover-subtle)}.cocso-switch:where(.cocso-switch--variant-error){--cocso-switch-checked-bg-color:var(--cocso-color-interactive-danger);--cocso-switch-switch-bg-color-hover:var(--cocso-color-interactive-danger-hover-subtle)}.cocso-switch:where(.cocso-switch--variant-warning){--cocso-switch-checked-bg-color:var(--cocso-color-interactive-warning-active);--cocso-switch-switch-bg-color-hover:var(--cocso-color-interactive-warning-hover-subtle)}.cocso-switch:where(.cocso-switch--variant-info){--cocso-switch-checked-bg-color:var(--cocso-color-interactive-info);--cocso-switch-switch-bg-color-hover:var(--cocso-color-interactive-info-hover-subtle)}.cocso-switch:where(.cocso-switch--size-large){--cocso-switch-width:40px;--cocso-switch-height:22px;--cocso-switch-thumb-size:18px;--cocso-switch-thumb-offset:2px}.cocso-switch:where(.cocso-switch--size-medium){--cocso-switch-width:36px;--cocso-switch-height:20px;--cocso-switch-thumb-size:16px;--cocso-switch-thumb-offset:2px}.cocso-switch:where(.cocso-switch--size-small){--cocso-switch-width:32px;--cocso-switch-height:18px;--cocso-switch-thumb-size:14px;--cocso-switch-thumb-offset:2px}.cocso-switch:where(.cocso-switch--checked-false){--cocso-switch-thumb-border-color:var(--cocso-color-border-on-control);--cocso-switch-switch-bg-color-hover:var(--cocso-color-interactive-secondary-hover)}.cocso-switch:where(.cocso-switch--variant-primary.cocso-switch--checked-true){--cocso-switch-switch-bg-color:var(--cocso-color-interactive-primary)}.cocso-switch:where(.cocso-switch--variant-success.cocso-switch--checked-true){--cocso-switch-switch-bg-color:var(--cocso-color-interactive-success)}.cocso-switch:where(.cocso-switch--variant-error.cocso-switch--checked-true){--cocso-switch-switch-bg-color:var(--cocso-color-interactive-danger)}.cocso-switch:where(.cocso-switch--variant-warning.cocso-switch--checked-true){--cocso-switch-switch-bg-color:var(--cocso-color-interactive-warning-active)}.cocso-switch:where(.cocso-switch--variant-info.cocso-switch--checked-true){--cocso-switch-switch-bg-color:var(--cocso-color-interactive-info)}@layer components{.switch-module_wrapper__mB3eH{align-items:center;display:flex;gap:var(--cocso-spacing-5);min-height:24px}.switch-module_wrapper__mB3eH[data-disabled]{cursor:not-allowed;opacity:.4}.switch-module_switch__KrHDz{--cocso-switch-width:inherit;--cocso-switch-height:inherit;--cocso-switch-bg-color:inherit;background-color:var(--cocso-switch-bg-color);border-radius:var(--cocso-radius-full);box-shadow:0 0 0 1px var(--cocso-switch-border-color);cursor:pointer;height:var(--cocso-switch-height);opacity:1;position:relative;width:var(--cocso-switch-width)}.switch-module_switch__KrHDz:focus-visible{outline:2px solid var(--cocso-color-focus-ring);outline-offset:2px}.switch-module_switch__KrHDz[data-disabled]{cursor:not-allowed;opacity:.4}.switch-module_switch__KrHDz[data-checked]{--cocso-switch-bg-color:var(--cocso-switch-checked-bg-color)}.switch-module_thumb__sXgSl{--cocso-switch-thumb-size:inherit;background-color:var(--cocso-switch-thumb-color);border-radius:var(--cocso-radius-full);box-shadow:0 0 0 1px var(--cocso-switch-thumb-border-color,transparent),var(--cocso-shadow-thumb);display:block;height:var(--cocso-switch-thumb-size);position:absolute;top:50%;transform:translate(var(--cocso-switch-thumb-offset),-50%);transition:transform var(--cocso-duration-fast) var(--cocso-easing-soft);width:var(--cocso-switch-thumb-size);will-change:transform}.switch-module_thumb__sXgSl[data-checked]{transform:translate(calc(var(--cocso-switch-width) - var(--cocso-switch-thumb-size) - var(--cocso-switch-thumb-offset)),-50%)}@media (prefers-reduced-motion:reduce){.switch-module_thumb__sXgSl{transition:none}}}@layer components{@keyframes tooltip-module_slide-up-and-fade__DiOEq{0%{opacity:0;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}@keyframes tooltip-module_slide-right-and-fade__o6cCB{0%{opacity:0;transform:translateX(-2px)}to{opacity:1;transform:translateX(0)}}@keyframes tooltip-module_slide-down-and-fade__HJFYG{0%{opacity:0;transform:translateY(-2px)}to{opacity:1;transform:translateY(0)}}@keyframes tooltip-module_slide-left-and-fade__ghuNp{0%{opacity:0;transform:translateX(2px)}to{opacity:1;transform:translateX(0)}}@media (prefers-reduced-motion:reduce){.tooltip-module_content__gv0-E{animation:none}}.tooltip-module_positioner__iuJEP{z-index:var(--cocso-z-index-tooltip)}.tooltip-module_content__gv0-E{animation-duration:var(--cocso-duration-fast);animation-timing-function:var(--cocso-easing-entrance);background-color:var(--cocso-color-surface-inverse);border-radius:var(--cocso-radius-2);color:var(--cocso-color-surface-primary);font-size:var(--cocso-text-xs);line-height:1.5;overflow:visible;padding-block:var(--cocso-spacing-3);padding-inline:var(--cocso-spacing-5);position:relative;will-change:transform,opacity}.tooltip-module_content__gv0-E[data-open][data-side=top]{animation-name:tooltip-module_slide-up-and-fade__DiOEq;margin-bottom:var(--cocso-spacing-5)}.tooltip-module_content__gv0-E[data-open][data-side=right]{animation-name:tooltip-module_slide-right-and-fade__o6cCB;margin-left:var(--cocso-spacing-5)}.tooltip-module_content__gv0-E[data-open][data-side=bottom]{animation-name:tooltip-module_slide-down-and-fade__HJFYG;margin-top:var(--cocso-spacing-5)}.tooltip-module_content__gv0-E[data-open][data-side=left]{animation-name:tooltip-module_slide-left-and-fade__ghuNp;margin-right:var(--cocso-spacing-5)}.tooltip-module_arrow__HFT-V{background-color:var(--cocso-color-surface-inverse);height:6px;width:6px}.tooltip-module_arrow__HFT-V[data-side=bottom]{top:0;transform:translateY(-50%) rotate(45deg)}.tooltip-module_arrow__HFT-V[data-side=top]{bottom:0;transform:translateY(50%) rotate(45deg)}.tooltip-module_arrow__HFT-V[data-side=right]{left:0;transform:translateX(-50%) rotate(45deg)}.tooltip-module_arrow__HFT-V[data-side=left]{right:0;transform:translateX(50%) rotate(45deg)}}
13
+ );cursor:not-allowed}.button-module_svgOnly__QHNx6{aspect-ratio:1/1;padding:0}.button-module_spinnerOverlay__kbemq{inset:0;position:absolute}.button-module_buttonInner__aXpaa,.button-module_spinnerOverlay__kbemq{align-items:center;display:inline-flex;justify-content:center}.button-module_invisible__esdRe{opacity:0}@media (prefers-reduced-motion:reduce){.button-module_button__5dzDN{transition:none}}}.cocso-card:where(.cocso-card--variant-elevated){--cocso-card-bg-color:var(--cocso-color-surface-primary);--cocso-card-border-radius:var(--cocso-radius-4)}.cocso-card:where(.cocso-card--variant-outlined){--cocso-card-bg-color:var(--cocso-color-surface-primary);--cocso-card-border-radius:var(--cocso-radius-4);--cocso-card-border:1px solid var(--cocso-color-border-secondary)}.cocso-card:where(.cocso-card--variant-filled){--cocso-card-bg-color:var(--cocso-color-surface-secondary);--cocso-card-border-radius:var(--cocso-radius-4)}.cocso-card:where(.cocso-card--variant-glass){--cocso-card-bg-color:var(--cocso-color-surface-glass);--cocso-card-border-radius:var(--cocso-radius-4);--cocso-card-border:1px solid var(--cocso-color-border-glass)}.cocso-card:where(.cocso-card--padding-sm){--cocso-card-padding:12px}.cocso-card:where(.cocso-card--padding-md){--cocso-card-padding:16px}.cocso-card:where(.cocso-card--padding-lg){--cocso-card-padding:24px}@layer components{.card-module_card__ZPFTz{background-color:var(--cocso-card-bg-color);border:var(--cocso-card-border,none);border-radius:var(--cocso-card-border-radius);display:flex;flex-direction:column;padding:var(--cocso-card-padding)}.card-module_elevated__Gua8s{box-shadow:var(--cocso-shadow-card)}.card-module_glass__u-Nbb{backdrop-filter:blur(16px)}}.cocso-checkbox{--cocso-checkbox-focus-ring-color:var(--cocso-color-focus-ring)}.cocso-checkbox:where(.cocso-checkbox--size-large){--cocso-checkbox-size:18px;--cocso-checkbox-radius:var(--cocso-radius-3)}.cocso-checkbox:where(.cocso-checkbox--size-medium){--cocso-checkbox-size:16px;--cocso-checkbox-radius:var(--cocso-radius-2)}.cocso-checkbox:where(.cocso-checkbox--size-small){--cocso-checkbox-size:14px;--cocso-checkbox-radius:var(--cocso-radius-1)}.cocso-checkbox:where(.cocso-checkbox--status-on){--cocso-checkbox-border-color:var(--cocso-color-interactive-primary);--cocso-checkbox-bg-color:var(--cocso-color-interactive-primary);--cocso-checkbox-bg-color-hover:var(--cocso-color-interactive-primary-hover);--cocso-checkbox-border-color-hover:var(--cocso-color-interactive-primary-hover)}.cocso-checkbox:where(.cocso-checkbox--status-off){--cocso-checkbox-border-color:var(--cocso-color-border-strong);--cocso-checkbox-bg-color:var(--cocso-color-surface-primary);--cocso-checkbox-bg-color-hover:var(--cocso-color-interactive-secondary-hover);--cocso-checkbox-border-color-hover:var(--cocso-color-interactive-secondary-hover)}.cocso-checkbox:where(.cocso-checkbox--status-intermediate){--cocso-checkbox-border-color:var(--cocso-color-interactive-primary);--cocso-checkbox-bg-color:var(--cocso-color-interactive-primary);--cocso-checkbox-bg-color-hover:var(--cocso-color-interactive-primary-hover);--cocso-checkbox-border-color-hover:var(--cocso-color-interactive-primary-hover)}@layer components{.checkbox-module_wrapper__vP2bp{align-items:center;display:flex;gap:var(--cocso-spacing-5);min-height:24px}.checkbox-module_checkbox__zAB1y{--cocso-checkbox-size:inherit;--cocso-checkbox-color:inherit;--cocso-checkbox-border-color:inherit;--cocso-checkbox-bg-color:inherit;align-items:center;background-color:var(--cocso-checkbox-bg-color);border:1px solid var(--cocso-checkbox-border-color);border-radius:var(--cocso-checkbox-radius);color:var(--cocso-checkbox-color);cursor:pointer;display:inline-flex;height:var(--cocso-checkbox-size);justify-content:center;opacity:1;position:relative;transition:color var(--cocso-duration-fast) var(--cocso-easing-default),border-color var(--cocso-duration-fast) var(--cocso-easing-default),background-color var(--cocso-duration-fast) var(--cocso-easing-default);width:var(--cocso-checkbox-size)}.checkbox-module_icon__Taf0X{stroke:var(--cocso-checkbox-color);display:block;height:auto;max-width:100%;transition:stroke var(--cocso-duration-fast) var(--cocso-easing-default)}.checkbox-module_checkbox__zAB1y:focus-within{outline:2px solid var(--cocso-checkbox-focus-ring-color);outline-offset:2px}.checkbox-module_checkbox__zAB1y input[type=checkbox]{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.checkbox-module_indicator__Cs9Yi{bottom:var(--cocso-spacing-1);left:var(--cocso-spacing-1);position:absolute;right:var(--cocso-spacing-1);top:var(--cocso-spacing-1);transition:opacity var(--cocso-duration-fast) var(--cocso-easing-default)}.checkbox-module_label__EvRQ7{cursor:pointer;opacity:1}.checkbox-module_checkbox__zAB1y[data-disabled],.checkbox-module_label__EvRQ7[aria-disabled=true]{cursor:not-allowed;opacity:.4}@media (prefers-reduced-motion:reduce){.checkbox-module_checkbox__zAB1y,.checkbox-module_icon__Taf0X,.checkbox-module_indicator__Cs9Yi{transition:none}}}@layer components{@keyframes popover-module_slide-up-and-fade__Xlvb6{0%{opacity:.9;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}@keyframes popover-module_slide-right-and-fade__R8x1-{0%{opacity:.9;transform:translateX(-2px)}to{opacity:1;transform:translateX(0)}}@keyframes popover-module_slide-down-and-fade__hwk68{0%{opacity:.9;transform:translateY(-2px)}to{opacity:1;transform:translateY(0)}}@keyframes popover-module_slide-left-and-fade__dQXyx{0%{opacity:.9;transform:translateX(2px)}to{opacity:1;transform:translateX(0)}}@media (prefers-reduced-motion:reduce){.popover-module_content__TwOg0{animation:none}}.popover-module_positioner__TnQeH{z-index:var(--cocso-z-index-popover)}.popover-module_content__TwOg0{animation-duration:var(--cocso-duration-normal);animation-timing-function:var(--cocso-easing-entrance);background-color:var(--cocso-color-surface-primary);border:1px solid var(--cocso-color-border-secondary);border-radius:var(--cocso-radius-3);box-shadow:var(--cocso-shadow-popover);font-size:var(--cocso-text-sm);line-height:1.5;overflow:visible;padding-block:var(--cocso-spacing-4);padding-inline:var(--cocso-spacing-5);position:relative;will-change:transform,opacity}.popover-module_content__TwOg0[data-open][data-side=top]{animation-name:popover-module_slide-up-and-fade__Xlvb6;margin-bottom:var(--cocso-spacing-3)}.popover-module_content__TwOg0[data-open][data-side=right]{animation-name:popover-module_slide-right-and-fade__R8x1-;margin-left:var(--cocso-spacing-3)}.popover-module_content__TwOg0[data-open][data-side=bottom]{animation-name:popover-module_slide-down-and-fade__hwk68;margin-top:var(--cocso-spacing-3)}.popover-module_content__TwOg0[data-open][data-side=left]{animation-name:popover-module_slide-left-and-fade__dQXyx;margin-right:var(--cocso-spacing-3)}.popover-module_content__TwOg0[data-open][data-side=top]:has(.popover-module_arrow__zZuHF){margin-bottom:var(--cocso-spacing-6)}.popover-module_content__TwOg0[data-open][data-side=right]:has(.popover-module_arrow__zZuHF){margin-left:var(--cocso-spacing-6)}.popover-module_content__TwOg0[data-open][data-side=bottom]:has(.popover-module_arrow__zZuHF){margin-top:var(--cocso-spacing-6)}.popover-module_content__TwOg0[data-open][data-side=left]:has(.popover-module_arrow__zZuHF){margin-right:var(--cocso-spacing-6)}.popover-module_arrow__zZuHF{background-color:var(--cocso-color-surface-primary);border:1px solid var(--cocso-color-border-secondary);height:10px;width:10px}.popover-module_arrow__zZuHF[data-side=bottom]{border-bottom:none;border-right:none;top:0;transform:translateY(-50%) rotate(45deg)}.popover-module_arrow__zZuHF[data-side=top]{border-left:none;border-top:none;bottom:0;transform:translateY(50%) rotate(45deg)}.popover-module_arrow__zZuHF[data-side=right]{border-right:none;border-top:none;left:0;transform:translateX(-50%) rotate(45deg)}.popover-module_arrow__zZuHF[data-side=left]{border-bottom:none;border-left:none;right:0;transform:translateX(50%) rotate(45deg)}.react-datepicker__aria-live{height:1px;left:-10000px;overflow:hidden;position:absolute;top:auto;width:1px}.react-datepicker__sr-only{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.react-datepicker__header--custom{padding-bottom:var(--cocso-spacing-5)}.react-datepicker__day-names,.react-datepicker__header--custom{align-items:center;display:flex;justify-content:space-between;width:100%}.react-datepicker__day-names{padding-bottom:var(--cocso-spacing-2);text-align:center;white-space:nowrap}.react-datepicker__day-name{font-weight:500;padding-inline:var(--cocso-spacing-3)}.react-datepicker__day,.react-datepicker__day-name{align-items:center;aspect-ratio:1/1;color:var(--cocso-color-text-primary);display:inline-flex;justify-content:center;margin:0;min-width:1.7rem;text-align:center;width:auto}.react-datepicker__day{border-radius:var(--cocso-radius-4);cursor:pointer;font-family:var(--font-mono,"monospace"),monospace}.react-datepicker__day.react-datepicker__day--selected{background-color:var(--cocso-color-interactive-primary);color:var(--cocso-color-text-on-primary)}.react-datepicker__day-name:first-child{color:var(--cocso-color-feedback-danger-text)}.react-datepicker__day-name:nth-child(7){color:var(--cocso-color-feedback-info-text)}.react-datepicker__day--outside-month.react-datepicker__day--outside-month.react-datepicker__day--outside-month{color:var(--cocso-color-text-secondary)}.react-datepicker__day--disabled{cursor:not-allowed;opacity:.4}.date-time-picker-module_root__kG5Ec{display:inline-block;transform:translateZ(0)}.date-time-picker-module_content__hquXj.date-time-picker-module_content__hquXj{border-radius:var(--cocso-radius-4);line-height:normal;min-width:340px;overflow:hidden;padding:var(--cocso-spacing-7)}.date-time-picker-module_menu__0Jgwx{align-items:center;display:flex;gap:var(--cocso-spacing-3);justify-content:center}.date-time-picker-module_arrow__GPmp6{height:24px;width:24px}.react-datepicker__day.date-time-picker-module_sunday__9OkwF{color:var(--cocso-color-feedback-danger-text)}.react-datepicker__day.date-time-picker-module_saturday__zF-or{color:var(--cocso-color-feedback-info-text)}.react-datepicker{background-color:var(--cocso-color-surface-primary);color:var(--cocso-color-text-primary);display:flex;font-size:.8rem;gap:var(--cocso-spacing-5);padding-inline:0;position:relative}.react-datepicker__month-container{flex:1 1 auto;padding-block:0}.react-datepicker__month{gap:var(--cocso-spacing-2)}.react-datepicker__week{align-items:center;display:flex;justify-content:space-between;text-align:center;white-space:nowrap;width:100%}}@layer components{@media (hover:hover) and (pointer:fine){.react-datepicker__day:hover{background-color:var(--cocso-color-interactive-secondary)}.react-datepicker__day.react-datepicker__day--selected:hover{background-color:var(--cocso-color-interactive-primary-hover)}}.react-datepicker__time-container{border-inline-start:1px solid var(--cocso-color-border-secondary);flex:0 0 auto;padding-inline-start:var(--cocso-spacing-5);width:88px}.react-datepicker__header--time{color:var(--cocso-color-text-primary);font-weight:500;padding-bottom:var(--cocso-spacing-2);text-align:center}.react-datepicker__time,.react-datepicker__time-box{background-color:var(--cocso-color-surface-primary);width:100%}.react-datepicker__time-list{list-style:none;margin:0;max-height:208px;overflow-y:auto;padding:0}.react-datepicker__time-list-item{align-items:center;border-radius:var(--cocso-radius-4);color:var(--cocso-color-text-primary);cursor:pointer;display:flex;font-family:var(--font-mono,"monospace"),monospace;justify-content:center;padding-block:var(--cocso-spacing-3)}.react-datepicker__time-list-item--selected{background-color:var(--cocso-color-interactive-primary);color:var(--cocso-color-text-on-primary)}.react-datepicker__time-list-item--disabled{background-color:var(--cocso-color-interactive-disabled);color:var(--cocso-color-text-on-disabled);cursor:not-allowed}@media (hover:hover) and (pointer:fine){.react-datepicker__time-list-item:hover{background-color:var(--cocso-color-interactive-secondary)}.react-datepicker__time-list-item--selected:hover{background-color:var(--cocso-color-interactive-primary-hover)}.react-datepicker__time-list-item--disabled:hover{background-color:var(--cocso-color-interactive-disabled)}}}@layer components{.day-picker-module_root__QVrbb{display:inline-block;transform:translateZ(0)}.day-picker-module_content__34qUu.day-picker-module_content__34qUu{border-radius:var(--cocso-radius-4);line-height:normal;min-width:260px;overflow:hidden;padding:var(--cocso-spacing-7)}.day-picker-module_menu__2eMt0{align-items:center;display:flex;gap:var(--cocso-spacing-3);justify-content:center}.day-picker-module_arrow__p9QLq{height:24px;width:24px}.day-picker-module_title__UokL8{align-items:center;background:none;border:0;border-radius:var(--cocso-radius-2);color:inherit;cursor:pointer;display:inline-flex;gap:var(--cocso-spacing-1);margin-inline-start:calc(var(--cocso-spacing-2)*-1);padding-block:var(--cocso-spacing-1);padding-inline:var(--cocso-spacing-2)}.day-picker-module_monthCell__lbR2S:focus-visible,.day-picker-module_title__UokL8:focus-visible{outline:2px solid var(--cocso-color-focus-ring);outline-offset:2px}.day-picker-module_monthView__tPMlr{display:flex;flex-direction:column}.day-picker-module_monthView__tPMlr[hidden]{display:none}.day-picker-module_monthHeader__mAlm5{align-items:center;display:flex;justify-content:space-between;padding-bottom:var(--cocso-spacing-5);width:100%}.day-picker-module_monthGrid__14EcZ{display:grid;flex:1;gap:var(--cocso-spacing-3);grid-auto-rows:1fr;grid-template-columns:repeat(3,1fr)}.day-picker-module_monthCell__lbR2S{align-items:center;background:none;border:0;border-radius:var(--cocso-radius-4);color:var(--cocso-color-text-primary);cursor:pointer;display:flex;font-size:var(--cocso-text-sm);font-weight:var(--cocso-font-weight-medium);justify-content:center;min-height:var(--cocso-spacing-14)}.day-picker-module_monthCell__lbR2S[data-selected]{background-color:var(--cocso-color-interactive-primary);color:var(--cocso-color-text-on-primary);font-weight:var(--cocso-font-weight-semibold)}.day-picker-module_monthCell__lbR2S:disabled{cursor:not-allowed;opacity:.4}.react-datepicker__day.day-picker-module_sunday__nVavs{color:var(--cocso-color-feedback-danger-text)}.react-datepicker__day.day-picker-module_saturday__ZYoB9{color:var(--cocso-color-feedback-info-text)}.react-datepicker{background-color:var(--cocso-color-surface-primary);color:var(--cocso-color-text-primary);display:block;font-size:.8rem;padding-inline:0;position:relative;width:100%}.react-datepicker__month-container{padding-block:0;width:100%}.react-datepicker__month{gap:var(--cocso-spacing-2)}.react-datepicker__week{align-items:center;display:flex;justify-content:space-between;text-align:center;white-space:nowrap;width:100%}@media (hover:hover) and (pointer:fine){.react-datepicker__day:hover{background-color:var(--cocso-color-interactive-secondary)}.react-datepicker__day.react-datepicker__day--selected:hover{background-color:var(--cocso-color-interactive-primary-hover)}.day-picker-module_monthCell__lbR2S:not(:disabled):hover,.day-picker-module_title__UokL8:hover{background-color:var(--cocso-color-interactive-secondary)}.day-picker-module_monthCell__lbR2S[data-selected]:not(:disabled):hover{background-color:var(--cocso-color-interactive-primary-hover)}}}@layer components{@keyframes dialog-module_overlay-show__gzSZE{0%{opacity:0}to{opacity:1}}.dialog-module_overlay__aJLpW{animation:dialog-module_overlay-show__gzSZE var(--cocso-duration-slow) var(--cocso-easing-entrance);background-color:var(--cocso-color-black-alpha-30);inset:0;position:fixed;z-index:var(--cocso-z-index-overlay)}@keyframes dialog-module_content-show__rVhLI{0%{opacity:0;transform:translate(-50%,-48%) perspective(1200px) rotateX(-2deg) scale(.995)}to{opacity:1;transform:translate(-50%,-50%) perspective(1200px) rotateX(0deg) scale(1)}}.dialog-module_panel__5XCTU{animation:dialog-module_content-show__rVhLI var(--cocso-duration-slow) var(--cocso-easing-entrance);background-color:var(--cocso-color-surface-primary);border:1px solid var(--cocso-color-border-secondary);border-radius:var(--cocso-radius-5);box-shadow:var(--cocso-shadow-dialog);display:flex;flex-direction:column;left:50%;max-height:85vh;padding:var(--cocso-spacing-9);position:fixed;top:50%;transform:translate(-50%,-50%);width:90vw;z-index:var(--cocso-z-index-dialog)}.dialog-module_small__JObfk{max-width:380px}.dialog-module_medium__Xxtor{max-width:520px}.dialog-module_large__O71LV{max-width:680px}@media (prefers-reduced-motion:reduce){.dialog-module_overlay__aJLpW,.dialog-module_panel__5XCTU{animation:none}}.dialog-module_close__cuRe9{align-items:center;align-self:flex-end;cursor:pointer;display:flex;height:var(--cocso-spacing-10);inset-inline-end:var(--cocso-spacing-9);justify-content:center;position:absolute;top:var(--cocso-spacing-9);width:var(--cocso-spacing-10)}.dialog-module_title__E36pq{word-break:keep-all}.dialog-module_description__DNssa{margin-top:var(--cocso-spacing-3)}}@layer components{@keyframes dropdown-module_dropdown-slide-up__OrP7L{0%{opacity:.9;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}@keyframes dropdown-module_dropdown-slide-down__3NX30{0%{opacity:.9;transform:translateY(-2px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.dropdown-module_content__nf11j{animation:none}.dropdown-module_item__BvWCj{transition:none}}.dropdown-module_positioner__mGdXB{z-index:var(--cocso-z-index-popover)}.dropdown-module_content__nf11j{animation-duration:var(--cocso-duration-normal);animation-timing-function:var(--cocso-easing-entrance);background-color:var(--cocso-color-surface-primary);border:1px solid var(--cocso-color-border-secondary);border-radius:var(--cocso-radius-3);box-shadow:var(--cocso-shadow-dropdown);display:flex;flex-direction:column;min-width:128px;padding:var(--cocso-spacing-4);will-change:transform,opacity}.dropdown-module_content__nf11j[data-side=top]{animation-name:dropdown-module_dropdown-slide-up__OrP7L;margin-bottom:var(--cocso-spacing-3)}.dropdown-module_content__nf11j[data-side=bottom]{animation-name:dropdown-module_dropdown-slide-down__3NX30;margin-top:var(--cocso-spacing-3)}.dropdown-module_item__BvWCj{align-items:center;border-radius:var(--cocso-radius-3);cursor:pointer;display:flex;font-size:var(--cocso-text-sm);gap:var(--cocso-spacing-4);height:fit-content;line-height:1.5;padding-block:var(--cocso-spacing-4);padding-inline:var(--cocso-spacing-5);transition:background-color var(--cocso-duration-fast) var(--cocso-easing-soft),scale var(--cocso-duration-fast) var(--cocso-easing-soft)}.dropdown-module_prefix__oBteB{align-items:center;display:inline-flex;flex-shrink:0;height:14px;justify-content:center;width:14px}@media (hover:hover) and (pointer:fine){.dropdown-module_item__BvWCj:hover{background-color:var(--cocso-color-surface-secondary)}.dropdown-module_item__BvWCj[data-disabled]:hover{background-color:transparent}}.dropdown-module_item__BvWCj:active{scale:.98}.dropdown-module_item__BvWCj[data-disabled]{cursor:not-allowed;opacity:.4}.dropdown-module_item__BvWCj[data-disabled]:active{scale:1}.field-module_root__m2CZV{--cocso-field-label-font-size:var(--cocso-text-sm);--cocso-field-description-font-size:var(--cocso-text-xs);display:flex;flex-direction:column;gap:var(--cocso-spacing-5)}.field-module_label__LbITU{color:var(--cocso-color-text-primary);cursor:pointer;font-size:var(--cocso-field-label-font-size);font-weight:var(--cocso-font-weight-medium);user-select:none}.field-module_optional__NE5TC{font-weight:var(--cocso-font-weight-regular);margin-inline-start:var(--cocso-spacing-4)}.field-module_description__qiTfj,.field-module_optional__NE5TC{color:var(--cocso-color-text-secondary);font-size:var(--cocso-field-description-font-size)}.field-module_description__qiTfj{margin:0}.field-module_errorMessage__HWoWa{color:var(--cocso-color-feedback-danger-text);font-size:var(--cocso-field-description-font-size);margin:0}}.cocso-input{--cocso-input-border-color:var(--cocso-color-border-strong)}.cocso-input:where(.cocso-input--size-x-small){--cocso-input-height:28px;--cocso-input-padding-x:8px;--cocso-input-font-size:12px;--cocso-input-border-radius:var(--cocso-radius-3);--cocso-input-border-color-hover:var(--cocso-color-interactive-primary-muted);--cocso-input-border-color-focus:var(--cocso-color-interactive-primary-active)}.cocso-input:where(.cocso-input--size-small){--cocso-input-height:32px;--cocso-input-padding-x:10px;--cocso-input-font-size:12px;--cocso-input-border-radius:var(--cocso-radius-3);--cocso-input-border-color-hover:var(--cocso-color-interactive-primary-muted);--cocso-input-border-color-focus:var(--cocso-color-interactive-primary-active)}.cocso-input:where(.cocso-input--size-medium){--cocso-input-height:36px;--cocso-input-padding-x:12px;--cocso-input-font-size:14px;--cocso-input-border-radius:var(--cocso-radius-4);--cocso-input-border-color-hover:var(--cocso-color-interactive-primary-muted);--cocso-input-border-color-focus:var(--cocso-color-interactive-primary-active)}.cocso-input:where(.cocso-input--size-large){--cocso-input-height:40px;--cocso-input-padding-x:14px;--cocso-input-font-size:14px;--cocso-input-border-radius:var(--cocso-radius-4);--cocso-input-border-color-hover:var(--cocso-color-interactive-primary-muted);--cocso-input-border-color-focus:var(--cocso-color-interactive-primary-active)}@layer components{.file-row-module_row__qdydr{--cocso-input-height:inherit;--cocso-input-padding-x:inherit;--cocso-input-font-size:inherit;--cocso-input-border-radius:inherit;align-items:center;border-radius:var(--cocso-input-border-radius);box-shadow:0 0 0 1px var(--cocso-color-border-strong);color:var(--cocso-color-text-secondary);display:inline-flex;font-size:var(--cocso-input-font-size);gap:var(--cocso-spacing-4);height:var(--cocso-input-height);padding-inline:var(--cocso-input-padding-x);width:fit-content}.file-row-module_row__qdydr.file-row-module_stretch__vwZRb{width:100%}.file-row-module_row__qdydr.file-row-module_error__Ar6sP{box-shadow:0 0 0 1px var(--cocso-color-feedback-danger)}.file-row-module_row__qdydr.file-row-module_disabled__Z3VNr{box-shadow:0 0 0 1px var(--cocso-color-border-secondary);cursor:not-allowed}.file-row-module_name__ki6jG{color:inherit;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-row-module_actions__RZsbE{align-items:center;display:inline-flex;flex-shrink:0;gap:var(--cocso-spacing-2);justify-content:center}.input-module_input__-ipHD{--cocso-input-height:inherit;--cocso-input-padding-x:inherit;--cocso-input-font-size:inherit;--cocso-input-border-radius:inherit;--cocso-input-bg-color:var(--cocso-color-surface-primary);background-color:var(--cocso-input-bg-color);border:none;border-radius:var(--cocso-input-border-radius);box-shadow:0 0 0 1px var(--cocso-color-border-strong),var(--cocso-shadow-xs);color:var(--cocso-color-text-primary);display:block;font-size:var(--cocso-input-font-size);height:var(--cocso-input-height);outline:none;padding-inline:var(--cocso-input-padding-x);transition:box-shadow var(--cocso-duration-fast) var(--cocso-easing-soft);width:fit-content}}@layer components{.input-module_input__-ipHD::placeholder{color:var(--cocso-color-text-secondary)}.input-module_input__-ipHD:focus-visible{box-shadow:0 0 0 1px var(--cocso-color-focus-ring),var(--cocso-shadow-xs);outline:2px solid transparent}.input-module_input__-ipHD.input-module_stretch__1zxJA{width:100%}.input-module_control__ceOez{display:inline-block;position:relative;width:fit-content}.input-module_control__ceOez.input-module_stretch__1zxJA{width:100%}.input-module_input__-ipHD.input-module_withToggle__vTRQU{padding-inline-end:calc(var(--cocso-input-padding-x)*2 + var(--cocso-spacing-5))}.input-module_toggle__ww6fn{align-items:center;background:none;border:none;border-radius:var(--cocso-radius-2);color:var(--cocso-color-text-secondary);cursor:pointer;display:flex;inset-inline-end:var(--cocso-input-padding-x);padding:0;position:absolute;top:50%;transform:translateY(-50%)}.input-module_toggle__ww6fn:focus-visible{outline:2px solid var(--cocso-color-focus-ring);outline-offset:1px}.input-module_input__-ipHD:disabled,.input-module_toggle__ww6fn:disabled{cursor:not-allowed;opacity:.4}.input-module_input__-ipHD:read-only{background-color:var(--cocso-color-surface-secondary);cursor:default}.input-module_input__-ipHD.input-module_error__8P-i-{box-shadow:0 0 0 1px var(--cocso-color-feedback-danger),var(--cocso-shadow-xs)}.input-module_input__-ipHD.input-module_error__8P-i-:focus-visible{box-shadow:0 0 0 1px var(--cocso-color-feedback-danger),var(--cocso-shadow-xs);outline:2px solid transparent}@media (prefers-reduced-motion:reduce){.input-module_input__-ipHD{transition:none}}}@layer components{.input-trigger-module_trigger__FepZ1{--cocso-input-height:inherit;--cocso-input-padding-x:inherit;--cocso-input-font-size:inherit;--cocso-input-border-radius:inherit;--cocso-input-bg-color:var(--cocso-color-surface-primary);align-items:center;background-color:var(--cocso-input-bg-color);border:none;border-radius:var(--cocso-input-border-radius);box-shadow:0 0 0 1px var(--cocso-color-border-strong),var(--cocso-shadow-xs);color:var(--cocso-color-text-primary);cursor:pointer;display:inline-flex;font-size:var(--cocso-input-font-size);gap:var(--cocso-spacing-4);height:var(--cocso-input-height);padding-inline:var(--cocso-input-padding-x);text-align:left;transition:box-shadow var(--cocso-duration-fast) var(--cocso-easing-soft);width:fit-content}.input-trigger-module_trigger__FepZ1:focus-visible{box-shadow:0 0 0 1px var(--cocso-color-focus-ring),var(--cocso-shadow-xs);outline:2px solid transparent}.input-trigger-module_trigger__FepZ1.input-trigger-module_stretch__iRyO-{width:100%}.input-trigger-module_trigger__FepZ1:disabled{cursor:not-allowed;opacity:.4}.input-trigger-module_trigger__FepZ1.input-trigger-module_error__qttrx,.input-trigger-module_trigger__FepZ1.input-trigger-module_error__qttrx:focus-visible{box-shadow:0 0 0 1px var(--cocso-color-feedback-danger),var(--cocso-shadow-xs)}.input-trigger-module_value__3RNV4{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.input-trigger-module_placeholder__-9y7a{color:var(--cocso-color-text-secondary)}.input-trigger-module_affix__IJsDY{align-items:center;display:inline-flex;flex-shrink:0;justify-content:center}@media (prefers-reduced-motion:reduce){.input-trigger-module_trigger__FepZ1{transition:none}}}.cocso-link:where(.cocso-link--variant-inline){--cocso-link-color:var(--cocso-color-interactive-info-text);--cocso-link-color-hover:var(--cocso-color-interactive-info-text-hover)}.cocso-link:where(.cocso-link--variant-current){--cocso-link-color:currentColor;--cocso-link-color-hover:currentColor}.cocso-link:where(.cocso-link--variant-plain){--cocso-link-color:var(--cocso-color-interactive-info-text);--cocso-link-color-hover:var(--cocso-color-interactive-info-text-hover)}@layer components{.link-module_link__RLpbr{align-items:center;color:var(--cocso-link-color);cursor:pointer;display:inline-flex;gap:var(--cocso-spacing-2);justify-content:center;text-decoration:none;transition:color var(--cocso-duration-fast) var(--cocso-easing-default);width:fit-content}@media (hover:hover) and (pointer:fine){.link-module_link__RLpbr:hover{color:var(--cocso-link-color-hover)}.link-module_current__RgEV9:hover{opacity:.7}}.link-module_link__RLpbr:focus-visible{border-radius:var(--cocso-radius-1);outline:2px solid var(--cocso-color-focus-ring);outline-offset:2px}.link-module_indicator__73GYU{text-decoration:underline;text-decoration-thickness:.0625em;text-underline-offset:.15em}.link-module_externalIcon__3okjy{flex-shrink:0;height:1em;width:1em}@media (prefers-reduced-motion:reduce){.link-module_link__RLpbr{transition:none}}}@layer components{.month-picker-module_root__iHMl-{--cocso-month-picker-font-size:var(--cocso-text-sm);display:inline-block;transform:translateZ(0)}.month-picker-module_content__vb64G.month-picker-module_content__vb64G{--cocso-month-picker-min-width:260px;border-radius:var(--cocso-radius-4);line-height:normal;min-width:var(--cocso-month-picker-min-width);overflow:hidden;padding:var(--cocso-spacing-7)}.month-picker-module_menu__V8bwo{align-items:center;display:flex;gap:var(--cocso-spacing-3);justify-content:center}.month-picker-module_arrow__eD5-G{height:24px;width:24px}.react-datepicker{background-color:var(--cocso-color-surface-primary);color:var(--cocso-color-text-primary);display:inline-block;font-size:.8rem;padding-inline:0;position:relative}.react-datepicker__week{text-align:center;white-space:nowrap}.react-datepicker__month{display:flex;flex-direction:column;gap:var(--cocso-spacing-5)}.react-datepicker__month-wrapper{align-items:center;display:flex;gap:var(--cocso-spacing-3);justify-content:space-between}.react-datepicker__month-text{align-items:center;border-radius:var(--cocso-radius-4);color:var(--cocso-color-text-primary);cursor:pointer;display:flex;flex:1;font-size:var(--cocso-month-picker-font-size);font-weight:var(--cocso-font-weight-medium);height:var(--cocso-spacing-14);justify-content:center}.react-datepicker__month-text--selected{background-color:var(--cocso-color-interactive-primary);color:var(--cocso-color-text-on-primary);font-weight:var(--cocso-font-weight-semibold)}@media (hover:hover) and (pointer:fine){.react-datepicker__month-text:hover{background-color:var(--cocso-color-interactive-secondary)}.react-datepicker__month-text--selected:hover{background-color:var(--cocso-color-interactive-primary-hover)}}}@layer components{.one-time-password-field-module_otp__6eiAN{align-items:center;display:flex;gap:var(--cocso-spacing-5)}.one-time-password-field-module_slot__tFGbq{align-items:center;background-color:var(--cocso-color-surface-secondary);border-radius:var(--cocso-radius-1);box-shadow:0 0 0 var(--cocso-spacing-1,1px) var(--cocso-color-border-strong);color:var(--cocso-color-text-primary);display:inline-flex;font-size:var(--cocso-text-base);font-weight:var(--cocso-font-weight-medium);height:3rem;justify-content:center;line-height:1;position:relative;text-align:center;text-transform:uppercase;transition:background-color var(--cocso-duration-fast) var(--cocso-easing-default),box-shadow var(--cocso-duration-fast) var(--cocso-easing-default);user-select:none;width:2.5rem}@media (hover:hover) and (pointer:fine){.one-time-password-field-module_slot__tFGbq:hover{box-shadow:0 0 0 var(--cocso-spacing-1,1px) var(--cocso-color-focus-ring)}}.one-time-password-field-module_slotActive__iT0ud{box-shadow:0 0 0 var(--cocso-spacing-1,1px) var(--cocso-color-focus-ring)}.one-time-password-field-module_caret__X9T-B{animation:one-time-password-field-module_caret-blink__dcoHY 1s step-end infinite;background-color:var(--cocso-color-text-primary);height:1em;position:absolute;width:1px}@keyframes one-time-password-field-module_caret-blink__dcoHY{0%,to{opacity:1}50%{opacity:0}}@media (prefers-reduced-motion:reduce){.one-time-password-field-module_caret__X9T-B{animation:none}}}@layer components{.pagination-module_pagination__XjBXK{align-items:center;display:flex;gap:var(--cocso-spacing-2);justify-content:center;margin-inline:auto}.pagination-module_arrow__q388S,.pagination-module_item__9Vttf{--cocso-pagination-font-size:var(--cocso-text-sm);--cocso-pagination-font-color:var(--cocso-color-text-primary);--cocso-pagination-font-weight:inherit;--cocso-pagination-bg-color:inherit;align-items:center;background-color:var(--cocso-pagination-bg-color);border-radius:var(--cocso-radius-4);color:var(--cocso-pagination-font-color);cursor:pointer;display:inline-flex;font-size:var(--cocso-pagination-font-size);font-weight:var(--cocso-pagination-font-weight);height:var(--cocso-spacing-12);justify-content:center;transition:transform var(--cocso-duration-fast) var(--cocso-easing-default);will-change:transform}.pagination-module_arrow__q388S:focus-visible,.pagination-module_item__9Vttf:focus-visible{outline:2px solid var(--cocso-color-focus-ring);outline-offset:2px}.pagination-module_arrow__q388S:disabled{cursor:not-allowed;opacity:.4}@media (hover:hover) and (pointer:fine){.pagination-module_arrow__q388S:not(:disabled):hover,.pagination-module_item__9Vttf[data-active=false]:hover{--cocso-pagination-bg-color:var(--cocso-color-surface-secondary)}}.pagination-module_arrow__q388S:not(:disabled):active{--cocso-pagination-bg-color:var(--cocso-color-interactive-secondary)}.pagination-module_arrow__q388S{width:var(--cocso-spacing-12)}.pagination-module_item__9Vttf{min-width:var(--cocso-spacing-12);padding-inline:var(--cocso-spacing-4);white-space:nowrap}.pagination-module_arrow__q388S>svg{flex-shrink:0;height:var(--cocso-spacing-8);width:var(--cocso-spacing-8)}.pagination-module_arrow__q388S:active,.pagination-module_item__9Vttf:active{transform:scale(.98)}.pagination-module_item__9Vttf[data-active=true]{--cocso-pagination-font-color:var(--cocso-color-text-on-primary);--cocso-pagination-bg-color:var(--cocso-color-interactive-primary);--cocso-pagination-font-weight:var(--cocso-font-weight-semibold)}.pagination-module_item__9Vttf[data-active=false]:active{--cocso-pagination-bg-color:var(--cocso-color-interactive-secondary)}.pagination-module_trunc__neqoN{align-items:center;color:var(--cocso-color-text-primary);display:inline-flex;font-size:var(--cocso-text-base);height:var(--cocso-spacing-13);justify-content:center;width:var(--cocso-spacing-13)}@media (prefers-reduced-motion:reduce){.pagination-module_item__9Vttf{transition:none}}}.cocso-progress{--cocso-progress-bg-color:var(--cocso-color-surface-neutral)}.cocso-progress:where(.cocso-progress--variant-primary){--cocso-progress-fill-color:var(--cocso-color-interactive-primary)}.cocso-progress:where(.cocso-progress--variant-secondary){--cocso-progress-fill-color:var(--cocso-color-text-muted)}.cocso-progress:where(.cocso-progress--variant-success){--cocso-progress-fill-color:var(--cocso-color-feedback-success)}.cocso-progress:where(.cocso-progress--variant-danger){--cocso-progress-fill-color:var(--cocso-color-feedback-danger)}.cocso-progress:where(.cocso-progress--variant-warning){--cocso-progress-fill-color:var(--cocso-color-feedback-warning)}.cocso-progress:where(.cocso-progress--variant-info){--cocso-progress-fill-color:var(--cocso-color-feedback-info)}.cocso-progress:where(.cocso-progress--size-sm){--cocso-progress-height:4px;--cocso-progress-border-radius:var(--cocso-radius-1)}.cocso-progress:where(.cocso-progress--size-md){--cocso-progress-height:8px;--cocso-progress-border-radius:var(--cocso-radius-2)}.cocso-progress:where(.cocso-progress--size-lg){--cocso-progress-height:12px;--cocso-progress-border-radius:var(--cocso-radius-3)}@layer components{.progress-module_track__gM0oV{background-color:var(--cocso-progress-bg-color);border-radius:var(--cocso-progress-border-radius);height:var(--cocso-progress-height);overflow:hidden;width:100%}.progress-module_fill__aLAbp{background-color:var(--cocso-progress-fill-color);border-radius:inherit;height:100%;transition:width var(--cocso-duration-normal) var(--cocso-easing-soft)}@media (prefers-reduced-motion:reduce){.progress-module_fill__aLAbp{transition:none}}}.cocso-radio{--cocso-radio-bg-color:var(--cocso-color-surface-primary);--cocso-radio-border-color:var(--cocso-color-text-primary);--cocso-radio-checked-color:var(--cocso-color-interactive-primary);--cocso-radio-focus-ring-color:var(--cocso-color-focus-ring)}.cocso-radio:where(.cocso-radio--size-large){--cocso-radio-size:18px;--cocso-radio-dot-size:8px}.cocso-radio:where(.cocso-radio--size-medium){--cocso-radio-size:16px;--cocso-radio-dot-size:7px}.cocso-radio:where(.cocso-radio--size-small){--cocso-radio-size:14px;--cocso-radio-dot-size:6px}.cocso-radio:where(.cocso-radio--selected-true){--cocso-radio-bg-color:var(--cocso-color-surface-primary);--cocso-radio-border-color:var(--cocso-color-interactive-primary);--cocso-radio-border-color-hover:var(--cocso-color-interactive-primary-hover)}.cocso-radio:where(.cocso-radio--selected-false){--cocso-radio-bg-color:var(--cocso-color-surface-primary);--cocso-radio-border-color:var(--cocso-color-border-strong);--cocso-radio-border-color-hover:var(--cocso-color-interactive-primary-muted)}@layer components{.radio-group-module_root__b8W35{display:flex;flex-direction:column;gap:var(--cocso-spacing-4)}.radio-group-module_root__b8W35[data-disabled]{cursor:not-allowed;opacity:.4}.radio-group-module_item__QAyhl{background-color:var(--cocso-radio-bg-color);border:var(--cocso-spacing-2) solid var(--cocso-radio-border-color);border-radius:100%;cursor:pointer;height:var(--cocso-radio-size,16px);width:var(--cocso-radio-size,16px)}.radio-group-module_item__QAyhl:focus-visible{outline:2px solid var(--cocso-radio-focus-ring-color);outline-offset:2px}.radio-group-module_item__QAyhl[data-checked]{border-color:var(--cocso-radio-checked-color)}.radio-group-module_item__QAyhl[data-disabled]{cursor:not-allowed;opacity:.4}.radio-group-module_indicator__I0Col{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%}.radio-group-module_indicator__I0Col:after{background-color:var(--cocso-radio-checked-color);border-radius:50%;content:"";display:block;height:var(--cocso-radio-dot-size,7px);width:var(--cocso-radio-dot-size,7px)}}.cocso-select{--cocso-select-border-color:var(--cocso-color-border-strong)}.cocso-select:where(.cocso-select--size-x-small){--cocso-select-min-width:28px;--cocso-select-height:28px;--cocso-select-padding-left:8px;--cocso-select-padding-right:26px;--cocso-select-icon-right:8px;--cocso-select-font-size:12px;--cocso-select-border-radius:var(--cocso-radius-3);--cocso-select-border-color-hover:var(--cocso-color-interactive-primary-muted);--cocso-select-border-color-focus:var(--cocso-color-interactive-primary-active)}.cocso-select:where(.cocso-select--size-small){--cocso-select-min-width:32px;--cocso-select-height:32px;--cocso-select-padding-left:10px;--cocso-select-padding-right:32px;--cocso-select-icon-right:10px;--cocso-select-font-size:12px;--cocso-select-border-radius:var(--cocso-radius-3);--cocso-select-border-color-hover:var(--cocso-color-interactive-primary-muted);--cocso-select-border-color-focus:var(--cocso-color-interactive-primary-active)}.cocso-select:where(.cocso-select--size-medium){--cocso-select-min-width:36px;--cocso-select-height:36px;--cocso-select-padding-left:12px;--cocso-select-padding-right:38px;--cocso-select-icon-right:12px;--cocso-select-font-size:14px;--cocso-select-border-radius:var(--cocso-radius-4);--cocso-select-border-color-hover:var(--cocso-color-interactive-primary-muted);--cocso-select-border-color-focus:var(--cocso-color-interactive-primary-active)}.cocso-select:where(.cocso-select--size-large){--cocso-select-min-width:40px;--cocso-select-height:40px;--cocso-select-padding-left:14px;--cocso-select-padding-right:42px;--cocso-select-icon-right:14px;--cocso-select-font-size:14px;--cocso-select-border-radius:var(--cocso-radius-4);--cocso-select-border-color-hover:var(--cocso-color-interactive-primary-muted);--cocso-select-border-color-focus:var(--cocso-color-interactive-primary-active)}@layer components{.select-module_wrapper__7szq0{cursor:pointer;position:relative;width:fit-content}.select-module_wrapper__7szq0.select-module_stretch__mQv7N{width:100%}.select-module_select__RLsWH{--cocso-select-min-width:inherit;--cocso-select-height:inherit;--cocso-select-padding-left:inherit;--cocso-select-padding-right:inherit;--cocso-select-font-size:inherit;--cocso-select-border-radius:inherit;--cocso-select-bg-color:var(--cocso-color-surface-primary);-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:var(--cocso-select-bg-color);border:none;border-radius:var(--cocso-select-border-radius);box-shadow:0 0 0 1px var(--cocso-color-border-strong),var(--cocso-shadow-xs);color:var(--cocso-color-text-primary);font-size:var(--cocso-select-font-size);height:var(--cocso-select-height);min-width:var(--cocso-select-min-width);outline:none;padding-inline-end:var(--cocso-select-padding-right);padding-inline-start:var(--cocso-select-padding-left);transition:box-shadow var(--cocso-duration-fast) var(--cocso-easing-soft)}.select-module_select__RLsWH:focus-visible{box-shadow:0 0 0 1px var(--cocso-color-focus-ring),var(--cocso-shadow-xs);outline:2px solid transparent}.select-module_wrapper__7szq0.select-module_stretch__mQv7N .select-module_select__RLsWH{width:100%}.select-module_wrapper__7szq0:has(select:disabled){cursor:not-allowed}.select-module_select__RLsWH:disabled{cursor:not-allowed;opacity:.4}.select-module_wrapper__7szq0.select-module_error__4KQv3 .select-module_select__RLsWH{box-shadow:0 0 0 1px var(--cocso-color-feedback-danger),var(--cocso-shadow-xs)}.select-module_wrapper__7szq0.select-module_error__4KQv3 .select-module_select__RLsWH:focus-visible{box-shadow:0 0 0 1px var(--cocso-color-feedback-danger),var(--cocso-shadow-xs);outline:2px solid transparent}.select-module_icon__K93bs{color:var(--cocso-color-text-muted);inset-inline-end:var(--cocso-select-icon-right,var(--cocso-spacing-5));pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.select-module_wrapper__7szq0:has(select:disabled) .select-module_icon__K93bs{opacity:.4}@media (prefers-reduced-motion:reduce){.select-module_select__RLsWH{transition:none}}}.cocso-skeleton{--cocso-skeleton-bg-color:var(--cocso-color-surface-neutral)}.cocso-skeleton:where(.cocso-skeleton--variant-text){--cocso-skeleton-height:16px;--cocso-skeleton-border-radius:var(--cocso-radius-2)}.cocso-skeleton:where(.cocso-skeleton--variant-circular){--cocso-skeleton-height:40px;--cocso-skeleton-width:40px;--cocso-skeleton-border-radius:100%}.cocso-skeleton:where(.cocso-skeleton--variant-rectangular){--cocso-skeleton-height:120px;--cocso-skeleton-border-radius:var(--cocso-radius-4)}@layer components{.skeleton-module_skeleton__fula5{background-color:var(--cocso-skeleton-bg-color);border-radius:var(--cocso-skeleton-border-radius);height:var(--cocso-skeleton-height);width:var(--cocso-skeleton-width,100%)}.skeleton-module_pulse__YLysm{animation:skeleton-module_skeleton-pulse__Yp45W var(--cocso-duration-decorative-slow) var(--cocso-easing-default) infinite}.skeleton-module_wave__GxWJ1{overflow:hidden;position:relative}.skeleton-module_wave__GxWJ1:after{animation:skeleton-module_skeleton-wave__zaVNu var(--cocso-duration-decorative-slow) var(--cocso-easing-default) infinite;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.4),transparent);content:"";inset:0;position:absolute}@keyframes skeleton-module_skeleton-pulse__Yp45W{0%,to{opacity:1}50%{opacity:.4}}@keyframes skeleton-module_skeleton-wave__zaVNu{0%{transform:translateX(-100%)}to{transform:translateX(100%)}}@media (prefers-reduced-motion:reduce){.skeleton-module_pulse__YLysm,.skeleton-module_wave__GxWJ1:after{animation:none}}}.cocso-stock-quantity-status:where(.cocso-stock-quantity-status--quantity-sufficient){--cocso-stock-quantity-status-color:var(--cocso-color-feedback-info-text)}.cocso-stock-quantity-status:where(.cocso-stock-quantity-status--quantity-normal){--cocso-stock-quantity-status-color:var(--cocso-color-feedback-success-text)}.cocso-stock-quantity-status:where(.cocso-stock-quantity-status--quantity-insufficient){--cocso-stock-quantity-status-color:var(--cocso-color-feedback-danger-text)}@layer components{.stock-quantity-status-module_stock__vGdTq{--cocso-stock-quantity-status-color:inherit;align-items:center;color:var(--cocso-stock-quantity-status-color);display:inline-flex;gap:var(--cocso-spacing-2)}.stock-quantity-status-module_indicator__AerLT{--cocso-stock-quantity-status-indicator-width:inherit;flex-shrink:0;height:auto;width:var(--cocso-stock-quantity-status-indicator-width)}.stock-quantity-status-module_indicator__AerLT>svg{height:100%;width:100%}.stock-quantity-status-module_track__x0fYO{fill:var(--cocso-color-surface-neutral)}}.cocso-switch{--cocso-switch-thumb-color:var(--cocso-color-text-on-primary);--cocso-switch-switch-bg-color:var(--cocso-color-surface-neutral);--cocso-switch-border-color:var(--cocso-color-border-control-muted)}.cocso-switch:where(.cocso-switch--variant-primary){--cocso-switch-checked-bg-color:var(--cocso-color-interactive-primary);--cocso-switch-switch-bg-color-hover:var(--cocso-color-interactive-primary-hover)}.cocso-switch:where(.cocso-switch--variant-success){--cocso-switch-checked-bg-color:var(--cocso-color-interactive-success);--cocso-switch-switch-bg-color-hover:var(--cocso-color-interactive-success-hover-subtle)}.cocso-switch:where(.cocso-switch--variant-error){--cocso-switch-checked-bg-color:var(--cocso-color-interactive-danger);--cocso-switch-switch-bg-color-hover:var(--cocso-color-interactive-danger-hover-subtle)}.cocso-switch:where(.cocso-switch--variant-warning){--cocso-switch-checked-bg-color:var(--cocso-color-interactive-warning-active);--cocso-switch-switch-bg-color-hover:var(--cocso-color-interactive-warning-hover-subtle)}.cocso-switch:where(.cocso-switch--variant-info){--cocso-switch-checked-bg-color:var(--cocso-color-interactive-info);--cocso-switch-switch-bg-color-hover:var(--cocso-color-interactive-info-hover-subtle)}.cocso-switch:where(.cocso-switch--size-large){--cocso-switch-width:40px;--cocso-switch-height:22px;--cocso-switch-thumb-size:18px;--cocso-switch-thumb-offset:2px}.cocso-switch:where(.cocso-switch--size-medium){--cocso-switch-width:36px;--cocso-switch-height:20px;--cocso-switch-thumb-size:16px;--cocso-switch-thumb-offset:2px}.cocso-switch:where(.cocso-switch--size-small){--cocso-switch-width:32px;--cocso-switch-height:18px;--cocso-switch-thumb-size:14px;--cocso-switch-thumb-offset:2px}.cocso-switch:where(.cocso-switch--checked-false){--cocso-switch-thumb-border-color:var(--cocso-color-border-on-control);--cocso-switch-switch-bg-color-hover:var(--cocso-color-interactive-secondary-hover)}.cocso-switch:where(.cocso-switch--variant-primary.cocso-switch--checked-true){--cocso-switch-switch-bg-color:var(--cocso-color-interactive-primary)}.cocso-switch:where(.cocso-switch--variant-success.cocso-switch--checked-true){--cocso-switch-switch-bg-color:var(--cocso-color-interactive-success)}.cocso-switch:where(.cocso-switch--variant-error.cocso-switch--checked-true){--cocso-switch-switch-bg-color:var(--cocso-color-interactive-danger)}.cocso-switch:where(.cocso-switch--variant-warning.cocso-switch--checked-true){--cocso-switch-switch-bg-color:var(--cocso-color-interactive-warning-active)}.cocso-switch:where(.cocso-switch--variant-info.cocso-switch--checked-true){--cocso-switch-switch-bg-color:var(--cocso-color-interactive-info)}@layer components{.switch-module_wrapper__mB3eH{align-items:center;display:flex;gap:var(--cocso-spacing-5);min-height:24px}.switch-module_wrapper__mB3eH[data-disabled]{cursor:not-allowed;opacity:.4}.switch-module_switch__KrHDz{--cocso-switch-width:inherit;--cocso-switch-height:inherit;--cocso-switch-bg-color:inherit;background-color:var(--cocso-switch-bg-color);border-radius:var(--cocso-radius-full);box-shadow:0 0 0 1px var(--cocso-switch-border-color);cursor:pointer;height:var(--cocso-switch-height);opacity:1;position:relative;width:var(--cocso-switch-width)}.switch-module_switch__KrHDz:focus-visible{outline:2px solid var(--cocso-color-focus-ring);outline-offset:2px}.switch-module_switch__KrHDz[data-disabled]{cursor:not-allowed;opacity:.4}.switch-module_switch__KrHDz[data-checked]{--cocso-switch-bg-color:var(--cocso-switch-checked-bg-color)}.switch-module_thumb__sXgSl{--cocso-switch-thumb-size:inherit;background-color:var(--cocso-switch-thumb-color);border-radius:var(--cocso-radius-full);box-shadow:0 0 0 1px var(--cocso-switch-thumb-border-color,transparent),var(--cocso-shadow-thumb);display:block;height:var(--cocso-switch-thumb-size);position:absolute;top:50%;transform:translate(var(--cocso-switch-thumb-offset),-50%);transition:transform var(--cocso-duration-fast) var(--cocso-easing-soft);width:var(--cocso-switch-thumb-size);will-change:transform}.switch-module_thumb__sXgSl[data-checked]{transform:translate(calc(var(--cocso-switch-width) - var(--cocso-switch-thumb-size) - var(--cocso-switch-thumb-offset)),-50%)}@media (prefers-reduced-motion:reduce){.switch-module_thumb__sXgSl{transition:none}}}@layer components{@keyframes tooltip-module_slide-up-and-fade__DiOEq{0%{opacity:0;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}@keyframes tooltip-module_slide-right-and-fade__o6cCB{0%{opacity:0;transform:translateX(-2px)}to{opacity:1;transform:translateX(0)}}@keyframes tooltip-module_slide-down-and-fade__HJFYG{0%{opacity:0;transform:translateY(-2px)}to{opacity:1;transform:translateY(0)}}@keyframes tooltip-module_slide-left-and-fade__ghuNp{0%{opacity:0;transform:translateX(2px)}to{opacity:1;transform:translateX(0)}}@media (prefers-reduced-motion:reduce){.tooltip-module_content__gv0-E{animation:none}}.tooltip-module_positioner__iuJEP{z-index:var(--cocso-z-index-tooltip)}.tooltip-module_content__gv0-E{animation-duration:var(--cocso-duration-fast);animation-timing-function:var(--cocso-easing-entrance);background-color:var(--cocso-color-surface-inverse);border-radius:var(--cocso-radius-2);color:var(--cocso-color-surface-primary);font-size:var(--cocso-text-xs);line-height:1.5;overflow:visible;padding-block:var(--cocso-spacing-3);padding-inline:var(--cocso-spacing-5);position:relative;will-change:transform,opacity}.tooltip-module_content__gv0-E[data-open][data-side=top]{animation-name:tooltip-module_slide-up-and-fade__DiOEq;margin-bottom:var(--cocso-spacing-5)}.tooltip-module_content__gv0-E[data-open][data-side=right]{animation-name:tooltip-module_slide-right-and-fade__o6cCB;margin-left:var(--cocso-spacing-5)}.tooltip-module_content__gv0-E[data-open][data-side=bottom]{animation-name:tooltip-module_slide-down-and-fade__HJFYG;margin-top:var(--cocso-spacing-5)}.tooltip-module_content__gv0-E[data-open][data-side=left]{animation-name:tooltip-module_slide-left-and-fade__ghuNp;margin-right:var(--cocso-spacing-5)}.tooltip-module_arrow__HFT-V{background-color:var(--cocso-color-surface-inverse);height:6px;width:6px}.tooltip-module_arrow__HFT-V[data-side=bottom]{top:0;transform:translateY(-50%) rotate(45deg)}.tooltip-module_arrow__HFT-V[data-side=top]{bottom:0;transform:translateY(50%) rotate(45deg)}.tooltip-module_arrow__HFT-V[data-side=right]{left:0;transform:translateX(-50%) rotate(45deg)}.tooltip-module_arrow__HFT-V[data-side=left]{right:0;transform:translateX(50%) rotate(45deg)}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocso-ui/react",
3
- "version": "1.9.3",
3
+ "version": "1.10.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/cocso/cocso-ui.git",