@povio/ui 0.0.7 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/icons/Calendar.js +1 -1
- package/dist/assets/icons/CheckCircle.js +3 -3
- package/dist/assets/icons/ChevronsLeft.js +11 -22
- package/dist/assets/icons/ChevronsRight.js +11 -22
- package/dist/assets/icons/DateTime.js +13 -6
- package/dist/assets/icons/Drag.js +1 -1
- package/dist/assets/icons/File.js +1 -1
- package/dist/assets/icons/Info.js +2 -4
- package/dist/assets/icons/Menu.js +1 -3
- package/dist/assets/icons/Send.js +1 -1
- package/dist/assets/icons/Upload.js +2 -2
- package/dist/assets/icons/{Warningfilled.js → WarningFilled.js} +1 -1
- package/dist/components/Menu/MenuPopover.js +1 -1
- package/dist/components/buttons/PillButton/pillButton.cva.js +1 -1
- package/dist/components/inputs/Checkbox/checkbox.cva.js +1 -1
- package/dist/components/inputs/DateTime/DatePicker/DatePicker.js +7 -4
- package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.js +10 -4
- package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.js +7 -4
- package/dist/components/inputs/DateTime/shared/DatePickerInput.js +16 -5
- package/dist/components/inputs/DateTime/shared/DateSegmentItem.js +3 -2
- package/dist/components/inputs/DateTime/shared/TimePickerInput.js +30 -23
- package/dist/components/inputs/File/FileUpload.js +1 -1
- package/dist/components/inputs/File/InputUpload.js +1 -1
- package/dist/components/inputs/File/shared/FileUploadContentError.js +1 -1
- package/dist/components/inputs/File/shared/InputUploadContent.js +10 -4
- package/dist/components/inputs/File/shared/InputUploadFilled.js +36 -22
- package/dist/components/inputs/File/shared/fileUpload.cva.js +3 -2
- package/dist/components/inputs/File/shared/inputUploadButton.cva.js +6 -5
- package/dist/components/inputs/FormField/FormFieldLabel.d.ts +3 -2
- package/dist/components/inputs/FormField/FormFieldLabel.js +8 -2
- package/dist/components/inputs/Input/TextArea/TextArea.js +6 -9
- package/dist/components/inputs/Input/TextInput/TextInput.d.ts +1 -0
- package/dist/components/inputs/Input/TextInput/TextInput.js +26 -3
- package/dist/components/inputs/Input/shared/InputContent.js +67 -59
- package/dist/components/inputs/Selection/shared/SelectBase.d.ts +3 -2
- package/dist/components/inputs/Selection/shared/SelectBase.js +2 -1
- package/dist/components/inputs/Selection/shared/SelectInput.d.ts +2 -2
- package/dist/components/inputs/Selection/shared/SelectInput.js +84 -90
- package/dist/components/inputs/Selection/shared/SelectInputTags.d.ts +11 -0
- package/dist/components/inputs/Selection/shared/SelectInputTags.js +22 -0
- package/dist/components/inputs/Selection/shared/SelectListBox.d.ts +2 -2
- package/dist/components/inputs/Selection/shared/SelectListBox.js +56 -45
- package/dist/components/inputs/Selection/shared/select.context.js +1 -0
- package/dist/components/inputs/Selection/shared/select.types.d.ts +8 -0
- package/dist/components/inputs/shared/InputClear.d.ts +3 -1
- package/dist/components/inputs/shared/InputClear.js +4 -3
- package/dist/components/inputs/shared/input.cva.js +18 -17
- package/dist/components/inputs/shared/label.cva.js +2 -2
- package/dist/components/overlays/BottomSheet/BottomSheet.js +17 -12
- package/dist/components/overlays/Tooltip/Tooltip.d.ts +4 -2
- package/dist/components/overlays/Tooltip/Tooltip.js +32 -6
- package/dist/components/overlays/Tooltip/tooltip.cva.d.ts +21 -0
- package/dist/components/overlays/Tooltip/tooltip.cva.js +60 -0
- package/dist/components/segment/Segment.js +8 -2
- package/dist/components/segment/SegmentItem.js +4 -2
- package/dist/components/table/CellText.js +2 -2
- package/dist/components/table/HeaderText.js +1 -1
- package/dist/components/table/Table.js +34 -16
- package/dist/components/table/table.cva.d.ts +7 -3
- package/dist/components/table/table.cva.js +37 -11
- package/dist/config/uiConfig.context.d.ts +3 -1
- package/dist/config/uiConfig.context.js +6 -1
- package/dist/config/uiStyle.context.d.ts +2 -1
- package/dist/helpers/dynamicColumns.js +2 -2
- package/dist/helpers/dynamicInputs.d.ts +2 -0
- package/dist/helpers/dynamicInputs.js +5 -3
- package/dist/hooks/useAutosave.js +4 -1
- package/dist/hooks/useTableColumnConfig.js +5 -1
- package/dist/index.d.ts +12 -6
- package/dist/index.js +15 -11
- package/dist/utils/date-time.utils.js +12 -12
- package/dist/utils/dom.utils.js +2 -2
- package/dist/utils/file.utils.js +1 -1
- package/dist/utils/isEqual.js +2 -1
- package/dist/utils/object.utils.js +2 -2
- package/dist/utils/{rest/rest.utils.js → rest.utils.js} +1 -1
- package/dist/utils/vendor/acl/AclGuard.d.ts +8 -0
- package/dist/utils/vendor/acl/AclGuard.js +15 -0
- package/dist/utils/vendor/acl/Can.d.ts +9 -0
- package/dist/utils/vendor/acl/Can.js +18 -0
- package/dist/utils/vendor/acl/ability.context.d.ts +15 -0
- package/dist/utils/vendor/acl/ability.context.js +37 -0
- package/dist/utils/vendor/acl/appAbility.types.d.ts +3 -0
- package/dist/utils/vendor/auth/AuthGuard.d.ts +6 -0
- package/dist/utils/vendor/auth/AuthGuard.js +26 -0
- package/dist/utils/vendor/auth/auth.context.d.ts +21 -0
- package/dist/utils/vendor/auth/auth.context.js +36 -0
- package/dist/utils/vendor/auth/withPrivateAuthGuard.d.ts +6 -0
- package/dist/utils/vendor/auth/withPrivateAuthGuard.js +17 -0
- package/dist/utils/vendor/error-handling.js +1 -1
- package/dist/utils/{rest/rest-client.d.ts → vendor/rest-client.types.d.ts} +8 -14
- package/dist/utils/zod.utils.d.ts +2 -1
- package/package.json +2 -2
- package/dist/hooks/useSingletonMutation.d.ts +0 -4
- package/dist/hooks/useSingletonMutation.js +0 -27
- package/dist/utils/rest/interceptors/logging.interceptor.d.ts +0 -2
- package/dist/utils/rest/interceptors/logging.interceptor.js +0 -17
- package/dist/utils/rest/interceptors/response.interceptor.d.ts +0 -2
- package/dist/utils/rest/interceptors/response.interceptor.js +0 -25
- package/dist/utils/rest/rest-client.js +0 -62
- /package/dist/assets/icons/{Warningfilled.d.ts → WarningFilled.d.ts} +0 -0
- /package/dist/utils/{rest/rest.utils.d.ts → rest.utils.d.ts} +0 -0
- /package/dist/utils/{rest/interceptors → vendor}/rest-interceptor.d.ts +0 -0
- /package/dist/utils/{rest/interceptors → vendor}/rest-interceptor.js +0 -0
|
@@ -12,7 +12,7 @@ const CalendarIcon = (props) => /* @__PURE__ */ jsx(
|
|
|
12
12
|
{
|
|
13
13
|
fill: "currentColor",
|
|
14
14
|
fillRule: "evenodd",
|
|
15
|
-
d: "
|
|
15
|
+
d: "M16.5 2.91a.905.905 0 0 0-.9-.91c-.497 0-.9.407-.9.91v.908H9.3V2.91A.905.905 0 0 0 8.4 2c-.497 0-.9.407-.9.91v.908H5.7C4.209 3.818 3 5.04 3 6.545v12.728C3 20.779 4.209 22 5.7 22h12.6c1.491 0 2.7-1.221 2.7-2.727V6.545c0-1.506-1.209-2.727-2.7-2.727h-1.8zm2.7 6.363V6.545a.905.905 0 0 0-.9-.909h-1.8v.91c0 .502-.403.909-.9.909a.905.905 0 0 1-.9-.91v-.909H9.3v.91c0 .502-.403.909-.9.909a.905.905 0 0 1-.9-.91v-.909H5.7c-.497 0-.9.407-.9.91v2.727zM4.8 11.09h14.4v8.182c0 .502-.403.909-.9.909H5.7a.905.905 0 0 1-.9-.91z",
|
|
16
16
|
clipRule: "evenodd"
|
|
17
17
|
}
|
|
18
18
|
)
|
|
@@ -4,14 +4,14 @@ const CheckCircleIcon = (props) => /* @__PURE__ */ jsx(
|
|
|
4
4
|
{
|
|
5
5
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6
6
|
fill: "none",
|
|
7
|
-
viewBox: "0 0
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
8
|
className: "fill-current",
|
|
9
9
|
...props,
|
|
10
10
|
children: /* @__PURE__ */ jsx(
|
|
11
11
|
"path",
|
|
12
12
|
{
|
|
13
|
-
fill: "
|
|
14
|
-
d: "
|
|
13
|
+
fill: "currentColor",
|
|
14
|
+
d: "m10.58 14.146-2.322-2.323a.73.73 0 0 0-.522-.213.7.7 0 0 0-.532.213.72.72 0 0 0-.217.527q0 .31.217.527l2.744 2.744q.27.27.633.271.36 0 .633-.27l5.563-5.564a.73.73 0 0 0 .212-.522.7.7 0 0 0-.212-.532.72.72 0 0 0-.527-.217.72.72 0 0 0-.527.217zm1.422 7.354a9.3 9.3 0 0 1-3.706-.748 9.6 9.6 0 0 1-3.016-2.03 9.6 9.6 0 0 1-2.032-3.016 9.25 9.25 0 0 1-.748-3.704q0-1.972.748-3.706a9.6 9.6 0 0 1 2.03-3.016 9.6 9.6 0 0 1 3.016-2.032 9.25 9.25 0 0 1 3.704-.748q1.972 0 3.706.748a9.6 9.6 0 0 1 3.017 2.03 9.6 9.6 0 0 1 2.03 3.016 9.25 9.25 0 0 1 .749 3.704q0 1.972-.748 3.706a9.6 9.6 0 0 1-2.03 3.017 9.6 9.6 0 0 1-3.016 2.03 9.25 9.25 0 0 1-3.704.749"
|
|
15
15
|
}
|
|
16
16
|
)
|
|
17
17
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const ChevronsLeftIcon = (props) => /* @__PURE__ */
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
const ChevronsLeftIcon = (props) => /* @__PURE__ */ jsx(
|
|
3
3
|
"svg",
|
|
4
4
|
{
|
|
5
5
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -7,26 +7,15 @@ const ChevronsLeftIcon = (props) => /* @__PURE__ */ jsxs(
|
|
|
7
7
|
viewBox: "0 0 24 24",
|
|
8
8
|
className: "fill-current",
|
|
9
9
|
...props,
|
|
10
|
-
children:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
),
|
|
20
|
-
/* @__PURE__ */ jsx(
|
|
21
|
-
"path",
|
|
22
|
-
{
|
|
23
|
-
fillRule: "evenodd",
|
|
24
|
-
clipRule: "evenodd",
|
|
25
|
-
d: "M18.451 6.24896C18.783 6.5809 18.783 7.1191 18.451 7.45104L14.0521 11.85L18.451 16.249C18.783 16.5809 18.783 17.1191 18.451 17.451C18.1191 17.783 17.5809 17.783 17.249 17.451L12.249 12.451C11.917 12.1191 11.917 11.5809 12.249 11.249L17.249 6.24896C17.5809 5.91701 18.1191 5.91701 18.451 6.24896Z",
|
|
26
|
-
fill: "currentColor"
|
|
27
|
-
}
|
|
28
|
-
)
|
|
29
|
-
]
|
|
10
|
+
children: /* @__PURE__ */ jsx(
|
|
11
|
+
"path",
|
|
12
|
+
{
|
|
13
|
+
fill: "currentColor",
|
|
14
|
+
fillRule: "evenodd",
|
|
15
|
+
d: "M11.749 17.749a.857.857 0 0 1-1.212 0l-5.143-5.143a.857.857 0 0 1 0-1.212l5.143-5.143a.857.857 0 0 1 1.212 1.212L7.212 12l4.537 4.537a.857.857 0 0 1 0 1.212M18.749 17.749a.857.857 0 0 1-1.212 0l-5.143-5.143a.857.857 0 0 1 0-1.212l5.143-5.143a.857.857 0 0 1 1.212 1.212L14.212 12l4.537 4.537a.857.857 0 0 1 0 1.212",
|
|
16
|
+
clipRule: "evenodd"
|
|
17
|
+
}
|
|
18
|
+
)
|
|
30
19
|
}
|
|
31
20
|
);
|
|
32
21
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const ChevronsRightIcon = (props) => /* @__PURE__ */
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
const ChevronsRightIcon = (props) => /* @__PURE__ */ jsx(
|
|
3
3
|
"svg",
|
|
4
4
|
{
|
|
5
5
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -7,26 +7,15 @@ const ChevronsRightIcon = (props) => /* @__PURE__ */ jsxs(
|
|
|
7
7
|
viewBox: "0 0 24 24",
|
|
8
8
|
className: "fill-current",
|
|
9
9
|
...props,
|
|
10
|
-
children:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
),
|
|
20
|
-
/* @__PURE__ */ jsx(
|
|
21
|
-
"path",
|
|
22
|
-
{
|
|
23
|
-
fillRule: "evenodd",
|
|
24
|
-
clipRule: "evenodd",
|
|
25
|
-
d: "M5.24896 6.24896C5.5809 5.91701 6.1191 5.91701 6.45104 6.24896L11.451 11.249C11.783 11.5809 11.783 12.1191 11.451 12.451L6.45104 17.451C6.1191 17.783 5.5809 17.783 5.24896 17.451C4.91701 17.1191 4.91701 16.5809 5.24896 16.249L9.64792 11.85L5.24896 7.45104C4.91701 7.1191 4.91701 6.5809 5.24896 6.24896Z",
|
|
26
|
-
fill: "currentColor"
|
|
27
|
-
}
|
|
28
|
-
)
|
|
29
|
-
]
|
|
10
|
+
children: /* @__PURE__ */ jsx(
|
|
11
|
+
"path",
|
|
12
|
+
{
|
|
13
|
+
fill: "currentColor",
|
|
14
|
+
fillRule: "evenodd",
|
|
15
|
+
d: "M12.251 6.251a.857.857 0 0 1 1.212 0l5.143 5.143a.857.857 0 0 1 0 1.212l-5.143 5.143a.857.857 0 1 1-1.212-1.212L16.788 12 12.25 7.463a.857.857 0 0 1 0-1.212M5.251 6.251a.857.857 0 0 1 1.212 0l5.143 5.143a.857.857 0 0 1 0 1.212L6.463 17.75a.857.857 0 1 1-1.212-1.212L9.788 12 5.25 7.463a.857.857 0 0 1 0-1.212",
|
|
16
|
+
clipRule: "evenodd"
|
|
17
|
+
}
|
|
18
|
+
)
|
|
30
19
|
}
|
|
31
20
|
);
|
|
32
21
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const DateTimeIcon = (props) => /* @__PURE__ */
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
const DateTimeIcon = (props) => /* @__PURE__ */ jsxs(
|
|
3
3
|
"svg",
|
|
4
4
|
{
|
|
5
5
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -7,17 +7,24 @@ const DateTimeIcon = (props) => /* @__PURE__ */ jsx(
|
|
|
7
7
|
viewBox: "0 0 24 24",
|
|
8
8
|
className: "fill-current",
|
|
9
9
|
...props,
|
|
10
|
-
children:
|
|
11
|
-
/* @__PURE__ */ jsx("path", { d: "m18.308 18.852.567-.573-1.518-1.533v-2.291h-.81v2.618zM16.973 21q-1.7 0-2.884-1.186-1.184-1.187-1.184-2.905t1.184-2.904 2.884-1.187q1.68 0 2.853 1.197Q21 15.21 21 16.909t-1.174 2.894T16.973 21" }),
|
|
10
|
+
children: [
|
|
12
11
|
/* @__PURE__ */ jsx(
|
|
13
12
|
"path",
|
|
14
13
|
{
|
|
14
|
+
fill: "currentColor",
|
|
15
|
+
d: "m18.37 18.852.573-.573-1.534-1.533v-2.291h-.818v2.618zM17.02 21q-1.718 0-2.914-1.186-1.197-1.187-1.197-2.905t1.197-2.904 2.914-1.187q1.699 0 2.884 1.197 1.187 1.196 1.187 2.894t-1.187 2.894T17.02 21"
|
|
16
|
+
}
|
|
17
|
+
),
|
|
18
|
+
/* @__PURE__ */ jsx(
|
|
19
|
+
"path",
|
|
20
|
+
{
|
|
21
|
+
fill: "currentColor",
|
|
15
22
|
fillRule: "evenodd",
|
|
16
|
-
d: "M14.
|
|
23
|
+
d: "M14.218 3a.74.74 0 0 1 .736.744v.744h1.473c1.22 0 2.21.999 2.21 2.231v4.7a5.7 5.7 0 0 0-1.473-.235v-.746H5.382v6.694c0 .411.33.744.736.744h5.236c.089.523.25 1.023.47 1.488H6.118a2.22 2.22 0 0 1-2.209-2.232V6.72a2.22 2.22 0 0 1 2.21-2.231H7.59v-.744c0-.411.33-.744.736-.744a.74.74 0 0 1 .737.744v.744h4.418v-.744c0-.411.33-.744.736-.744m2.946 3.719V8.95H5.382V6.72c0-.41.33-.744.736-.744h1.473v.744c0 .41.33.744.736.744a.74.74 0 0 0 .737-.744v-.744h4.418v.744c0 .41.33.744.736.744a.74.74 0 0 0 .736-.744v-.744h1.473a.74.74 0 0 1 .737.744",
|
|
17
24
|
clipRule: "evenodd"
|
|
18
25
|
}
|
|
19
26
|
)
|
|
20
|
-
]
|
|
27
|
+
]
|
|
21
28
|
}
|
|
22
29
|
);
|
|
23
30
|
export {
|
|
@@ -10,7 +10,7 @@ const DragIcon = (props) => /* @__PURE__ */ jsx(
|
|
|
10
10
|
children: /* @__PURE__ */ jsx(
|
|
11
11
|
"path",
|
|
12
12
|
{
|
|
13
|
-
fill: "
|
|
13
|
+
fill: "#6D7688",
|
|
14
14
|
d: "M9 19.615q-.666 0-1.14-.474A1.56 1.56 0 0 1 7.384 18q0-.666.474-1.14A1.56 1.56 0 0 1 9 16.384q.666 0 1.14.474.475.475.475 1.141t-.474 1.14A1.56 1.56 0 0 1 9 19.616m6 0q-.666 0-1.14-.474A1.56 1.56 0 0 1 13.384 18q0-.666.474-1.14A1.56 1.56 0 0 1 15 16.384q.666 0 1.14.474.475.475.475 1.141t-.474 1.14a1.56 1.56 0 0 1-1.141.475m-6-6q-.666 0-1.14-.474A1.56 1.56 0 0 1 7.384 12q0-.666.474-1.14A1.56 1.56 0 0 1 9 10.384q.666 0 1.14.474.475.475.475 1.141t-.474 1.14A1.56 1.56 0 0 1 9 13.616m6 0q-.666 0-1.14-.474A1.56 1.56 0 0 1 13.384 12q0-.666.474-1.14A1.56 1.56 0 0 1 15 10.384q.666 0 1.14.474.475.475.475 1.141t-.474 1.14a1.56 1.56 0 0 1-1.141.475m-6-6q-.666 0-1.14-.474A1.56 1.56 0 0 1 7.384 6q0-.666.474-1.14A1.56 1.56 0 0 1 9 4.384q.666 0 1.14.474.475.475.475 1.141t-.474 1.14A1.56 1.56 0 0 1 9 7.616m6 0q-.666 0-1.14-.474A1.56 1.56 0 0 1 13.384 6q0-.666.474-1.14A1.56 1.56 0 0 1 15 4.384q.666 0 1.14.474.475.475.475 1.141t-.474 1.14A1.56 1.56 0 0 1 15 7.616"
|
|
15
15
|
}
|
|
16
16
|
)
|
|
@@ -12,7 +12,7 @@ const FileIcon = (props) => /* @__PURE__ */ jsx(
|
|
|
12
12
|
{
|
|
13
13
|
fill: "currentColor",
|
|
14
14
|
fillRule: "evenodd",
|
|
15
|
-
d: "M12.9 2.1a1 1 0 0 1 .
|
|
15
|
+
d: "M12.9 2.1a1 1 0 0 1 .234.03l.009.003a1 1 0 0 1 .12.046q.03.013.054.027a1 1 0 0 1 .143.093q.03.023.058.049l.018.015 6.3 6.301.014.015q.015.014.029.032l.016.018q.018.025.034.048.022.03.042.062.02.035.037.073a.9.9 0 0 1 .093.388l-.001.016V19.2a2.7 2.7 0 0 1-2.7 2.7H6.6a2.7 2.7 0 0 1-2.7-2.7V4.8a2.7 2.7 0 0 1 2.7-2.7zM6.6 3.9a.9.9 0 0 0-.9.9v14.4a.9.9 0 0 0 .9.9h10.8a.9.9 0 0 0 .9-.9v-9h-5.4a.9.9 0 0 1-.9-.9V3.9zm7.2 4.5h3.227l-3.226-3.226z",
|
|
16
16
|
clipRule: "evenodd"
|
|
17
17
|
}
|
|
18
18
|
)
|
|
@@ -12,9 +12,7 @@ const InfoIcon = (props) => /* @__PURE__ */ jsxs(
|
|
|
12
12
|
"path",
|
|
13
13
|
{
|
|
14
14
|
fill: "currentColor",
|
|
15
|
-
|
|
16
|
-
d: "M12 5a7 7 0 1 0 0 14 7 7 0 0 0 0-14m-9 7a9 9 0 1 1 18 0 9 9 0 0 1-18 0",
|
|
17
|
-
clipRule: "evenodd"
|
|
15
|
+
d: "M12 7.8a1 1 0 0 1 1 1V12a1 1 0 1 1-2 0V8.8a1 1 0 0 1 1-1M12 14.2a1 1 0 1 0 0 2h.008a1 1 0 1 0 0-2z"
|
|
18
16
|
}
|
|
19
17
|
),
|
|
20
18
|
/* @__PURE__ */ jsx(
|
|
@@ -22,7 +20,7 @@ const InfoIcon = (props) => /* @__PURE__ */ jsxs(
|
|
|
22
20
|
{
|
|
23
21
|
fill: "currentColor",
|
|
24
22
|
fillRule: "evenodd",
|
|
25
|
-
d: "
|
|
23
|
+
d: "M3 12a9 9 0 1 1 18 0 9 9 0 0 1-18 0m9-7a7 7 0 1 0 0 14 7 7 0 0 0 0-14",
|
|
26
24
|
clipRule: "evenodd"
|
|
27
25
|
}
|
|
28
26
|
)
|
|
@@ -11,9 +11,7 @@ const MenuIcon = (props) => /* @__PURE__ */ jsx(
|
|
|
11
11
|
"path",
|
|
12
12
|
{
|
|
13
13
|
fill: "currentColor",
|
|
14
|
-
|
|
15
|
-
d: "M2 12a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1M2 6a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1M2 18a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1",
|
|
16
|
-
clipRule: "evenodd"
|
|
14
|
+
d: "M2 6a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1M2 12a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1M3 17a1 1 0 1 0 0 2h18a1 1 0 1 0 0-2z"
|
|
17
15
|
}
|
|
18
16
|
)
|
|
19
17
|
}
|
|
@@ -12,7 +12,7 @@ const SendIcon = (props) => /* @__PURE__ */ jsx(
|
|
|
12
12
|
{
|
|
13
13
|
fill: "currentColor",
|
|
14
14
|
fillRule: "evenodd",
|
|
15
|
-
d: "M5.105 7.59c-1.092-1.712.764-3.
|
|
15
|
+
d: "M5.105 7.59c-1.092-1.712.764-3.774 2.58-2.866l10.973 5.487c1.474.737 1.474 2.84 0 3.578L7.685 19.275c-1.816.908-3.672-1.154-2.58-2.865L7.92 12zM17.764 12 6.79 6.513l2.815 4.41a2 2 0 0 1 0 2.153l-2.815 4.41z",
|
|
16
16
|
clipRule: "evenodd"
|
|
17
17
|
}
|
|
18
18
|
)
|
|
@@ -12,14 +12,14 @@ const UploadIcon = (props) => /* @__PURE__ */ jsxs(
|
|
|
12
12
|
"path",
|
|
13
13
|
{
|
|
14
14
|
fill: "currentColor",
|
|
15
|
-
d: "M19.
|
|
15
|
+
d: "M19.5 13.6a.9.9 0 0 1 .9.9v3.333a2.57 2.57 0 0 1-2.567 2.567H6.167a2.57 2.57 0 0 1-2.555-2.313l-.012-.254V14.5a.9.9 0 0 1 1.796-.092l.004.092v3.333l.015.15a.766.766 0 0 0 .752.617h11.666a.766.766 0 0 0 .767-.767V14.5a.9.9 0 0 1 .9-.9"
|
|
16
16
|
}
|
|
17
17
|
),
|
|
18
18
|
/* @__PURE__ */ jsx(
|
|
19
19
|
"path",
|
|
20
20
|
{
|
|
21
21
|
fill: "currentColor",
|
|
22
|
-
d: "M12.
|
|
22
|
+
d: "M12.04 3.602h.007q.078.003.151.02.006 0 .011.003c.168.04.319.127.436.247l4.158 4.158.061.069A.9.9 0 0 1 15.6 9.365l-.069-.062-2.63-2.63V14.5a.9.9 0 0 1-1.8 0V6.672l-2.63 2.63-.069.063A.901.901 0 0 1 7.196 8.03l4.167-4.167.069-.061a.9.9 0 0 1 .432-.192l.027-.004A1 1 0 0 1 12 3.6z"
|
|
23
23
|
}
|
|
24
24
|
)
|
|
25
25
|
]
|
|
@@ -12,7 +12,7 @@ const WarningFilledIcon = (props) => /* @__PURE__ */ jsx(
|
|
|
12
12
|
{
|
|
13
13
|
fill: "currentColor",
|
|
14
14
|
fillRule: "evenodd",
|
|
15
|
-
d: "M12.
|
|
15
|
+
d: "M12.165 3.52a2.57 2.57 0 0 1 1.94 1.091l.09.139.001.004 7.059 11.783.008.013.079.147a2.568 2.568 0 0 1-2.274 3.702H4.932a2.568 2.568 0 0 1-2.195-3.85l.007-.012L9.803 4.754l.002-.004.09-.139A2.57 2.57 0 0 1 12 3.514zM12 15.267a.9.9 0 0 0 0 1.8h.008l.092-.005a.9.9 0 0 0 0-1.79l-.092-.005zM12 8.6a.9.9 0 0 0-.9.9v3.333l.005.093a.9.9 0 0 0 1.79 0l.005-.093V9.5l-.005-.092A.9.9 0 0 0 12 8.6",
|
|
16
16
|
clipRule: "evenodd"
|
|
17
17
|
}
|
|
18
18
|
)
|
|
@@ -8,7 +8,7 @@ const MenuPopover = ({ items, ...props }) => {
|
|
|
8
8
|
{
|
|
9
9
|
...props,
|
|
10
10
|
className: clsx("outline-none", props.className),
|
|
11
|
-
children: /* @__PURE__ */ jsx("div", { className: "overflow-hidden rounded-list-rounding-dropdown border border-elevation-outline-default-1 shadow-5 outline-none", children: /* @__PURE__ */ jsx(Menu, { children: items.map(
|
|
11
|
+
children: /* @__PURE__ */ jsx("div", { className: "overflow-hidden rounded-list-rounding-dropdown border border-elevation-outline-default-1 shadow-5 outline-none", children: /* @__PURE__ */ jsx(Menu, { className: "outline-none", children: items.map(
|
|
12
12
|
(item, index) => !item.children || item.children.length === 0 ? /* @__PURE__ */ jsx(
|
|
13
13
|
MenuItem,
|
|
14
14
|
{
|
|
@@ -6,7 +6,7 @@ const pillButton = cva(
|
|
|
6
6
|
[
|
|
7
7
|
uiOutlineClass,
|
|
8
8
|
"flex items-center justify-center",
|
|
9
|
-
"rounded-pill-rounding-default px-pill-side-default py-pill-height-default"
|
|
9
|
+
"rounded-pill-rounding-default border border-transparent px-pill-side-default py-pill-height-default"
|
|
10
10
|
],
|
|
11
11
|
{
|
|
12
12
|
variants: {
|
|
@@ -7,7 +7,7 @@ const checkbox = cva(
|
|
|
7
7
|
variants: {
|
|
8
8
|
variant: {
|
|
9
9
|
default: [
|
|
10
|
-
"border-interactive-contained-secondary-idle",
|
|
10
|
+
"m-1 border-interactive-contained-secondary-idle",
|
|
11
11
|
"group-disabled:border-interactive-contained-secondary-disabled",
|
|
12
12
|
"group-hover:border-interactive-contained-secondary-hover",
|
|
13
13
|
"group-pressed:border-interactive-contained-secondary-pressed",
|
|
@@ -33,12 +33,13 @@ const DatePickerBase = (props) => {
|
|
|
33
33
|
value,
|
|
34
34
|
disableDropdown,
|
|
35
35
|
className,
|
|
36
|
-
todayIcon,
|
|
37
36
|
as = ui.input.as,
|
|
38
37
|
hideLabel = ui.input.hideLabel,
|
|
39
38
|
variant = ui.input.variant,
|
|
40
39
|
size = ui.input.size,
|
|
41
40
|
isClearable = ui.input.isClearable,
|
|
41
|
+
todayIcon = ui.dateInput.todayIcon,
|
|
42
|
+
shouldForceLeadingZeros = ui.dateInput.shouldForceLeadingZeros,
|
|
42
43
|
...rest
|
|
43
44
|
} = props;
|
|
44
45
|
const formFieldProps = {
|
|
@@ -57,10 +58,12 @@ const DatePickerBase = (props) => {
|
|
|
57
58
|
const dialogState = useDatePickerState({
|
|
58
59
|
...rest,
|
|
59
60
|
defaultValue: value || rest.defaultValue,
|
|
60
|
-
shouldCloseOnSelect: false
|
|
61
|
+
shouldCloseOnSelect: false,
|
|
62
|
+
shouldForceLeadingZeros
|
|
61
63
|
});
|
|
62
64
|
const state = useDatePickerState({
|
|
63
65
|
...rest,
|
|
66
|
+
shouldForceLeadingZeros,
|
|
64
67
|
value,
|
|
65
68
|
onChange: (val) => {
|
|
66
69
|
if (val && (rest.minValue && val < rest?.minValue || rest?.maxValue && val > rest?.maxValue)) {
|
|
@@ -75,11 +78,11 @@ const DatePickerBase = (props) => {
|
|
|
75
78
|
});
|
|
76
79
|
const datePickerRef = useRef(null);
|
|
77
80
|
const { groupProps, labelProps, fieldProps, buttonProps, dialogProps } = useDatePicker(
|
|
78
|
-
{ ...rest, label },
|
|
81
|
+
{ ...rest, label, shouldForceLeadingZeros },
|
|
79
82
|
state,
|
|
80
83
|
datePickerRef
|
|
81
84
|
);
|
|
82
|
-
const { calendarProps } = useDatePicker({ ...rest, label }, dialogState, datePickerRef);
|
|
85
|
+
const { calendarProps } = useDatePicker({ ...rest, label, shouldForceLeadingZeros }, dialogState, datePickerRef);
|
|
83
86
|
const { locale } = useLocale();
|
|
84
87
|
const calendarState = useCalendarState({
|
|
85
88
|
...calendarProps,
|
|
@@ -39,18 +39,20 @@ const DateRangePickerBase = (props) => {
|
|
|
39
39
|
disableDropdown,
|
|
40
40
|
className,
|
|
41
41
|
hideSidebar,
|
|
42
|
-
todayIcon,
|
|
43
42
|
hideLabel = ui.input.hideLabel,
|
|
44
43
|
variant = ui.input.variant,
|
|
45
44
|
as = ui.input.as,
|
|
46
45
|
size = ui.input.size,
|
|
47
46
|
isClearable = ui.input.isClearable,
|
|
47
|
+
todayIcon = ui.dateInput.todayIcon,
|
|
48
|
+
shouldForceLeadingZeros = ui.dateInput.shouldForceLeadingZeros,
|
|
48
49
|
...rest
|
|
49
50
|
} = props;
|
|
50
51
|
const [validationRangeError, setValidationRangeError] = useState();
|
|
51
|
-
const dialogState = useDateRangePickerState({ ...rest, value, shouldCloseOnSelect: false });
|
|
52
|
+
const dialogState = useDateRangePickerState({ ...rest, value, shouldCloseOnSelect: false, shouldForceLeadingZeros });
|
|
52
53
|
const state = useDateRangePickerState({
|
|
53
54
|
...rest,
|
|
55
|
+
shouldForceLeadingZeros,
|
|
54
56
|
value,
|
|
55
57
|
onChange: (newValue) => {
|
|
56
58
|
if (isValidRange(newValue)) {
|
|
@@ -63,11 +65,15 @@ const DateRangePickerBase = (props) => {
|
|
|
63
65
|
});
|
|
64
66
|
const dateRangePickerRef = useRef(null);
|
|
65
67
|
const { groupProps, labelProps, startFieldProps, endFieldProps, buttonProps, dialogProps } = useDateRangePicker(
|
|
66
|
-
{ ...rest, label },
|
|
68
|
+
{ ...rest, label, shouldForceLeadingZeros },
|
|
67
69
|
state,
|
|
68
70
|
dateRangePickerRef
|
|
69
71
|
);
|
|
70
|
-
const { calendarProps } = useDateRangePicker(
|
|
72
|
+
const { calendarProps } = useDateRangePicker(
|
|
73
|
+
{ ...rest, label, shouldForceLeadingZeros },
|
|
74
|
+
dialogState,
|
|
75
|
+
dateRangePickerRef
|
|
76
|
+
);
|
|
71
77
|
const { locale } = useLocale();
|
|
72
78
|
const formFieldProps = {
|
|
73
79
|
error: error || validationRangeError,
|
|
@@ -31,12 +31,13 @@ const DateTimePickerBase = (props) => {
|
|
|
31
31
|
value,
|
|
32
32
|
disableDropdown,
|
|
33
33
|
isTimeOptional,
|
|
34
|
-
todayIcon,
|
|
35
34
|
hideLabel = ui.input.hideLabel,
|
|
36
35
|
variant = ui.input.variant,
|
|
37
36
|
as = ui.input.as,
|
|
38
37
|
size = ui.input.size,
|
|
39
38
|
isClearable = ui.input.isClearable,
|
|
39
|
+
todayIcon = ui.dateInput.todayIcon,
|
|
40
|
+
shouldForceLeadingZeros = ui.dateInput.shouldForceLeadingZeros,
|
|
40
41
|
...rest
|
|
41
42
|
} = props;
|
|
42
43
|
const formFieldProps = {
|
|
@@ -57,7 +58,8 @@ const DateTimePickerBase = (props) => {
|
|
|
57
58
|
defaultValue: value || rest.defaultValue,
|
|
58
59
|
shouldCloseOnSelect: false,
|
|
59
60
|
granularity: "minute",
|
|
60
|
-
hideTimeZone: true
|
|
61
|
+
hideTimeZone: true,
|
|
62
|
+
shouldForceLeadingZeros
|
|
61
63
|
});
|
|
62
64
|
useEffect(() => {
|
|
63
65
|
if (isTimeOptional && !dialogState.timeValue) {
|
|
@@ -66,6 +68,7 @@ const DateTimePickerBase = (props) => {
|
|
|
66
68
|
}, [isTimeOptional, dialogState]);
|
|
67
69
|
const state = useDatePickerState({
|
|
68
70
|
...rest,
|
|
71
|
+
shouldForceLeadingZeros,
|
|
69
72
|
value,
|
|
70
73
|
onChange: (val) => {
|
|
71
74
|
onChange?.(val);
|
|
@@ -78,11 +81,11 @@ const DateTimePickerBase = (props) => {
|
|
|
78
81
|
});
|
|
79
82
|
const datePickerRef = useRef(null);
|
|
80
83
|
const { groupProps, labelProps, fieldProps, buttonProps, dialogProps } = useDatePicker(
|
|
81
|
-
{ ...rest, label, granularity: "minute", hideTimeZone: true },
|
|
84
|
+
{ ...rest, label, granularity: "minute", hideTimeZone: true, shouldForceLeadingZeros },
|
|
82
85
|
state,
|
|
83
86
|
datePickerRef
|
|
84
87
|
);
|
|
85
|
-
const { calendarProps } = useDatePicker({ ...rest, label }, dialogState, datePickerRef);
|
|
88
|
+
const { calendarProps } = useDatePicker({ ...rest, label, shouldForceLeadingZeros }, dialogState, datePickerRef);
|
|
86
89
|
const { locale } = useLocale();
|
|
87
90
|
const calendarState = useCalendarState({
|
|
88
91
|
...calendarProps,
|
|
@@ -12,7 +12,8 @@ import { InlineIconButton } from "../../../buttons/InlineIconButton/InlineIconBu
|
|
|
12
12
|
import { DateField } from "./DateField.js";
|
|
13
13
|
import { FormFieldLabel } from "../../FormField/FormFieldLabel.js";
|
|
14
14
|
import { InputClear } from "../../shared/InputClear.js";
|
|
15
|
-
import { useInputCva } from "../../shared/input.cva.js";
|
|
15
|
+
import { useInputCva, inputSide } from "../../shared/input.cva.js";
|
|
16
|
+
import { UIStyle } from "../../../../config/uiStyle.context.js";
|
|
16
17
|
const DatePickerInput = ({
|
|
17
18
|
ref,
|
|
18
19
|
as,
|
|
@@ -32,6 +33,8 @@ const DatePickerInput = ({
|
|
|
32
33
|
...props
|
|
33
34
|
}) => {
|
|
34
35
|
const inputCva = useInputCva();
|
|
36
|
+
const uiStyle = UIStyle.useConfig();
|
|
37
|
+
const inputSideCva = uiStyle?.input?.sideCva ?? inputSide;
|
|
35
38
|
const [canClear, setCanClear] = useState(false);
|
|
36
39
|
const { hoverProps, isHovered } = useHover({ isDisabled });
|
|
37
40
|
const [isFocused, setIsFocused] = useState(false);
|
|
@@ -55,17 +58,23 @@ const DatePickerInput = ({
|
|
|
55
58
|
const onToday = () => {
|
|
56
59
|
if (isDateTime) {
|
|
57
60
|
fieldProps.onChange?.(now(getLocalTimeZone()));
|
|
61
|
+
if (endFieldProps) {
|
|
62
|
+
endFieldProps.onChange?.(now(getLocalTimeZone()));
|
|
63
|
+
}
|
|
58
64
|
} else {
|
|
59
65
|
fieldProps.onChange?.(today(getLocalTimeZone()));
|
|
66
|
+
if (endFieldProps) {
|
|
67
|
+
endFieldProps.onChange?.(today(getLocalTimeZone()));
|
|
68
|
+
}
|
|
60
69
|
}
|
|
61
70
|
};
|
|
62
71
|
const hidePlaceholder = as === "floating" && !fieldProps.value && !isFocused;
|
|
63
72
|
const style = useMemo(() => {
|
|
64
|
-
const
|
|
73
|
+
const paddingLeft = as === "filter" ? `calc(var(${inputSideCva({ size, type: "var" })}) + ${labelWidth}px)` : "0px";
|
|
65
74
|
return {
|
|
66
|
-
paddingLeft
|
|
75
|
+
paddingLeft
|
|
67
76
|
};
|
|
68
|
-
}, [labelWidth, as]);
|
|
77
|
+
}, [labelWidth, as, size, inputSideCva]);
|
|
69
78
|
return /* @__PURE__ */ jsxs(
|
|
70
79
|
"div",
|
|
71
80
|
{
|
|
@@ -75,7 +84,9 @@ const DatePickerInput = ({
|
|
|
75
84
|
as,
|
|
76
85
|
size,
|
|
77
86
|
...props,
|
|
78
|
-
className: clsx(
|
|
87
|
+
className: clsx(
|
|
88
|
+
"group/date-picker-content relative flex min-w-input-width-min-width items-center justify-between gap-2"
|
|
89
|
+
)
|
|
79
90
|
}),
|
|
80
91
|
"data-rac": "",
|
|
81
92
|
"data-hovered": isHovered || void 0,
|
|
@@ -32,9 +32,10 @@ const DateSegmentItem = ({ segment, state, isDisabled, timePickerOnly, hidePlace
|
|
|
32
32
|
!isDisabled && isInputEmpty && "text-text-default-3 group-focus-within:text-text-default-1",
|
|
33
33
|
!isDisabled && !isInputEmpty && "text-text-default-1",
|
|
34
34
|
"focus-within:outline-1 focus-within:outline-interactive-contained-primary-idle focus-within:outline-offset-1",
|
|
35
|
-
["hour", "dayPeriod"].includes(segment.type) && !timePickerOnly && "ml-1"
|
|
35
|
+
["hour", "dayPeriod"].includes(segment.type) && !timePickerOnly && "ml-1",
|
|
36
|
+
hidePlaceholder && "opacity-0"
|
|
36
37
|
),
|
|
37
|
-
children:
|
|
38
|
+
children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
38
39
|
segment.isPlaceholder && /* @__PURE__ */ jsx(
|
|
39
40
|
"span",
|
|
40
41
|
{
|
|
@@ -8,7 +8,8 @@ import { InlineIconButton } from "../../../buttons/InlineIconButton/InlineIconBu
|
|
|
8
8
|
import { TimeField } from "./TimeField.js";
|
|
9
9
|
import { FormFieldLabel } from "../../FormField/FormFieldLabel.js";
|
|
10
10
|
import { InputClear } from "../../shared/InputClear.js";
|
|
11
|
-
import { useInputCva } from "../../shared/input.cva.js";
|
|
11
|
+
import { useInputCva, inputSide } from "../../shared/input.cva.js";
|
|
12
|
+
import { UIStyle } from "../../../../config/uiStyle.context.js";
|
|
12
13
|
const TimePickerInput = ({
|
|
13
14
|
ref,
|
|
14
15
|
as,
|
|
@@ -25,18 +26,20 @@ const TimePickerInput = ({
|
|
|
25
26
|
...props
|
|
26
27
|
}) => {
|
|
27
28
|
const inputCva = useInputCva();
|
|
29
|
+
const uiStyle = UIStyle.useConfig();
|
|
30
|
+
const inputSideCva = uiStyle?.input?.sideCva ?? inputSide;
|
|
28
31
|
const { hoverProps, isHovered } = useHover({ isDisabled });
|
|
29
32
|
const [isFocused, setIsFocused] = useState(false);
|
|
30
33
|
const { focusWithinProps } = useFocusWithin({ onFocusWithinChange: setIsFocused });
|
|
31
34
|
const { isFocusVisible } = useFocusVisible();
|
|
32
35
|
const [labelContentRef, { width: labelWidth }] = useMeasure();
|
|
33
|
-
const hidePlaceholder =
|
|
36
|
+
const hidePlaceholder = as === "floating" && !state.value && !isFocused;
|
|
34
37
|
const style = useMemo(() => {
|
|
35
|
-
const
|
|
38
|
+
const paddingLeft = as === "filter" ? `calc(var(${inputSideCva({ size, type: "var" })}) + ${labelWidth}px)` : "0px";
|
|
36
39
|
return {
|
|
37
|
-
paddingLeft
|
|
40
|
+
paddingLeft
|
|
38
41
|
};
|
|
39
|
-
}, [labelWidth, as]);
|
|
42
|
+
}, [labelWidth, as, size, inputSideCva]);
|
|
40
43
|
const canClear = state.segments.some((segment) => segment.type !== "literal" && segment.isPlaceholder === false);
|
|
41
44
|
return /* @__PURE__ */ jsxs(
|
|
42
45
|
"div",
|
|
@@ -47,7 +50,9 @@ const TimePickerInput = ({
|
|
|
47
50
|
as,
|
|
48
51
|
size,
|
|
49
52
|
...props,
|
|
50
|
-
className: clsx(
|
|
53
|
+
className: clsx(
|
|
54
|
+
"group/date-picker-content relative flex min-w-input-width-min-width items-center justify-between gap-2"
|
|
55
|
+
)
|
|
51
56
|
}),
|
|
52
57
|
"data-rac": "",
|
|
53
58
|
"data-hovered": isHovered || void 0,
|
|
@@ -60,23 +65,25 @@ const TimePickerInput = ({
|
|
|
60
65
|
...focusWithinProps,
|
|
61
66
|
...hoverProps,
|
|
62
67
|
children: [
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
68
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
69
|
+
as && ["filter", "floating"].includes(as) && headerProps && /* @__PURE__ */ jsx(
|
|
70
|
+
FormFieldLabel,
|
|
71
|
+
{
|
|
72
|
+
ref: labelContentRef,
|
|
73
|
+
as,
|
|
74
|
+
...headerProps
|
|
75
|
+
}
|
|
76
|
+
),
|
|
77
|
+
/* @__PURE__ */ jsx("div", { style, children: /* @__PURE__ */ jsx(
|
|
78
|
+
TimeField,
|
|
79
|
+
{
|
|
80
|
+
fieldProps,
|
|
81
|
+
state,
|
|
82
|
+
isDisabled,
|
|
83
|
+
hidePlaceholder
|
|
84
|
+
}
|
|
85
|
+
) })
|
|
86
|
+
] }),
|
|
80
87
|
/* @__PURE__ */ jsxs(
|
|
81
88
|
"div",
|
|
82
89
|
{
|
|
@@ -8,7 +8,7 @@ import { UIConfig } from "../../../config/uiConfig.context.js";
|
|
|
8
8
|
import { InputUploadContent } from "./shared/InputUploadContent.js";
|
|
9
9
|
import { InputUploadFilled } from "./shared/InputUploadFilled.js";
|
|
10
10
|
const InputUploadBase = ({
|
|
11
|
-
ref,
|
|
11
|
+
ref: _ref,
|
|
12
12
|
label,
|
|
13
13
|
tooltipText,
|
|
14
14
|
variant,
|
|
@@ -3,7 +3,7 @@ import { clsx } from "clsx";
|
|
|
3
3
|
import { FileTrigger } from "react-aria-components";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
5
|
import { CloseIcon } from "../../../../assets/icons/Close.js";
|
|
6
|
-
import { WarningFilledIcon } from "../../../../assets/icons/
|
|
6
|
+
import { WarningFilledIcon } from "../../../../assets/icons/WarningFilled.js";
|
|
7
7
|
import { Button } from "../../../buttons/Button/Button.js";
|
|
8
8
|
import { InlineIconButton } from "../../../buttons/InlineIconButton/InlineIconButton.js";
|
|
9
9
|
import { TextButton } from "../../../buttons/TextButton/TextButton.js";
|