asma-ui-core 3.21.0 → 3.22.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.
Files changed (95) hide show
  1. package/dist/asma-ui-core.css +1 -1
  2. package/dist/components/feedback/snack-bar/components/StyledDefaultSnackbar.js +12 -13
  3. package/dist/components/feedback/snack-bar/components/StyledInfoSnackbar.js +19 -20
  4. package/dist/components/icons/archive-icon/ArchiveIcon.js +16 -9
  5. package/dist/components/icons/assignment/AssignmentIcon.js +17 -10
  6. package/dist/components/icons/assignment-outline-icon/AssignmentOutlineIcon.js +17 -10
  7. package/dist/components/icons/bell-icon/BellIcon.js +17 -10
  8. package/dist/components/icons/bell-outline-icon/BellOutlineIcon.js +17 -10
  9. package/dist/components/icons/calendar-blank-outline-icon/CalendarBlankOutlineIcon.js +17 -10
  10. package/dist/components/icons/calendar-icon/CalendarIcon.js +17 -10
  11. package/dist/components/icons/checkbox-checked-icon/CheckBoxCheckedIcon.js +17 -10
  12. package/dist/components/icons/chevron-double-left-icon/ChevronDoubleLeftIcon.js +16 -9
  13. package/dist/components/icons/chevron-double-right-icon/ChevronDoubleRightIcon.js +16 -9
  14. package/dist/components/icons/chevron-down-icon/ChevronDownIcon.js +17 -10
  15. package/dist/components/icons/chevron-left-icon/ChevronLeftIcon.js +16 -9
  16. package/dist/components/icons/chevron-right-icon/ChevronRightIcon.js +15 -8
  17. package/dist/components/icons/chevron-up-icon/ChevronUpIcon.js +17 -10
  18. package/dist/components/icons/close-icon/CloseIcon.js +17 -10
  19. package/dist/components/icons/cloud-icon/CloudIcon.js +17 -0
  20. package/dist/components/icons/cloud-icon/index.js +1 -0
  21. package/dist/components/icons/content-cut-icon/ContentCutIcon.js +17 -0
  22. package/dist/components/icons/content-cut-icon/index.js +1 -0
  23. package/dist/components/icons/content-paste-icon/ContentPasteIcon.js +17 -0
  24. package/dist/components/icons/content-paste-icon/index.js +1 -0
  25. package/dist/components/icons/dashboard-view-icon/DashboardViewIcon.js +17 -10
  26. package/dist/components/icons/dashboard-view-outline-icon/DashboardViewOutlineIcon.js +17 -10
  27. package/dist/components/icons/delete-outline-icon/DeleteOutlineIcon.js +17 -10
  28. package/dist/components/icons/dots-vertical-icon/DotsVerticalIcon.js +16 -9
  29. package/dist/components/icons/download-icon/DownloadIcon.js +16 -9
  30. package/dist/components/icons/drag-horizontal-icon/DragHorizontalIcon.js +56 -10
  31. package/dist/components/icons/drop-down-icon/DropDownIcon.js +16 -9
  32. package/dist/components/icons/drop-up-icon/DropUpIcon.js +16 -9
  33. package/dist/components/icons/dvr-icon/DvrIcon.js +17 -10
  34. package/dist/components/icons/earth-icon/EarthIcon.js +18 -9
  35. package/dist/components/icons/error-outline-icon/ErrorOutlineIcon.js +16 -10
  36. package/dist/components/icons/fast-check-outline-icon/FastCheckOutlineIcon.js +17 -10
  37. package/dist/components/icons/file-pdf-icon/FilePdfIcon.js +16 -9
  38. package/dist/components/icons/filter-icon/FilterIcon.js +17 -10
  39. package/dist/components/icons/find-replace-icon/FindReplaceIcon.js +16 -10
  40. package/dist/components/icons/hamburger-icon/HamburgerIcon.js +21 -10
  41. package/dist/components/icons/iconStyle.js +8 -0
  42. package/dist/components/icons/inbox-outbox-icon/InboxOutboxIcon.js +16 -9
  43. package/dist/components/icons/inbox-outbox-outline-icon/InboxOutboxOutlineIcon.js +16 -9
  44. package/dist/components/icons/index.js +3 -0
  45. package/dist/components/icons/link-outline-icon/LinkOutlineIcon.js +17 -10
  46. package/dist/components/icons/list-numbered-icon/ListNumberedIcon.js +16 -9
  47. package/dist/components/icons/list-settings-line-icon/ListSettingsLineIcon.js +17 -10
  48. package/dist/components/icons/list-status-icon/ListStatusIcon.js +17 -10
  49. package/dist/components/icons/loading-icon/LoadingIcon.js +46 -10
  50. package/dist/components/icons/lock-icon/LockIcon.js +17 -10
  51. package/dist/components/icons/message-processing-icon/MessageProcessingIcon.js +16 -9
  52. package/dist/components/icons/message-processing-outline-icon/MessageProcessingOutlineIcon.js +16 -9
  53. package/dist/components/icons/outline-calendar-month/OutlineCalendarMonth.js +17 -10
  54. package/dist/components/icons/pdf-icon/PdfIcon.js +16 -9
  55. package/dist/components/icons/pencil-outline-icon/PencilOutlineIcon.js +17 -10
  56. package/dist/components/icons/people-icon/PeopleIcon.js +17 -10
  57. package/dist/components/icons/people-outline-icon/PeopleOutlineIcon.js +17 -10
  58. package/dist/components/icons/perm-media-icon/PermMediaIcon.js +17 -10
  59. package/dist/components/icons/perm-media-outline-icon/PermMediaOutline.js +16 -9
  60. package/dist/components/icons/person-icon/PersonIcon.js +17 -10
  61. package/dist/components/icons/person-outline-icon/PersonOutlineIcon.js +17 -10
  62. package/dist/components/icons/qnr-icon/QnrIcon.js +17 -10
  63. package/dist/components/icons/replay-icon/ReplayIcon.js +17 -11
  64. package/dist/components/icons/report-box-icon/ReportBoxIcon.js +16 -9
  65. package/dist/components/icons/report-box-outline-icon/ReportBoxOutlineIcon.js +16 -9
  66. package/dist/components/icons/search-icon/SearchIcon.js +17 -10
  67. package/dist/components/icons/settings-icon/SettingsIcon.js +17 -10
  68. package/dist/components/icons/settings-menu-horizontal-icon/SettingsMenuHorizontalIcon.js +19 -10
  69. package/dist/components/icons/settings-outline-icon/SettingsOutlineIcon.js +16 -9
  70. package/dist/components/icons/text-box-check-outline-icon/TextBoxCheckOutlineIcon.js +17 -11
  71. package/dist/components/icons/topic-icon/TopicIcon.js +16 -9
  72. package/dist/components/icons/unknown-document-outline-rounded-icon/UnknownDocumentOutlineRoundedIcon.js +16 -10
  73. package/dist/components/inputs/select/StyledSelect.js +16 -18
  74. package/dist/components/inputs/select/StyledSelectItem.js +8 -9
  75. package/dist/components/inputs/select-autocomplete/StyledSelectAutocomplete.js +26 -23
  76. package/dist/components/inputs/switch/base-ui/StyledSwitch.js +36 -29
  77. package/dist/index.js +275 -269
  78. package/dist/src/components/icons/Icons.types.d.ts +0 -3
  79. package/dist/src/components/icons/cloud-icon/CloudIcon.d.ts +2 -0
  80. package/dist/src/components/icons/cloud-icon/index.d.ts +1 -0
  81. package/dist/src/components/icons/content-cut-icon/ContentCutIcon.d.ts +2 -0
  82. package/dist/src/components/icons/content-cut-icon/index.d.ts +1 -0
  83. package/dist/src/components/icons/content-paste-icon/ContentPasteIcon.d.ts +2 -0
  84. package/dist/src/components/icons/content-paste-icon/index.d.ts +1 -0
  85. package/dist/src/components/icons/error-outline-icon/ErrorOutlineIcon.d.ts +0 -1
  86. package/dist/src/components/icons/iconStyle.d.ts +2 -0
  87. package/dist/src/components/icons/index.d.ts +3 -0
  88. package/dist/src/components/icons/replay-icon/ReplayIcon.d.ts +0 -1
  89. package/dist/src/components/icons/settings-menu-horizontal-icon/SettingsMenuHorizontalIcon.d.ts +0 -1
  90. package/dist/src/components/icons/text-box-check-outline-icon/TextBoxCheckOutlineIcon.d.ts +0 -1
  91. package/dist/src/components/icons/unknown-document-outline-rounded-icon/UnknownDocumentOutlineRoundedIcon.d.ts +0 -1
  92. package/package.json +3 -4
  93. package/dist/components/icons/IconTemplate.js +0 -15
  94. package/dist/components/icons/Icons.module.js +0 -7
  95. package/dist/src/components/icons/IconTemplate.d.ts +0 -2
@@ -1,13 +1,20 @@
1
- import { IconTemplate as n } from "../IconTemplate.js";
2
- import { jsx as m } from "react/jsx-runtime";
3
- var f = ({ width: o = 20, height: r = 20, className: t = "", onClick: e, color: l }) => /* @__PURE__ */ m(n, {
4
- icon: "fluent:document-bullet-list-24-filled",
5
- width: o,
6
- height: r,
7
- className: t,
8
- onClick: e,
9
- color: l
1
+ import { getSvgIconStyle as l } from "../iconStyle.js";
2
+ import { jsx as a } from "react/jsx-runtime";
3
+ var s = ({ width: r = 20, height: e = 20, className: h = "", onClick: o, color: t }) => /* @__PURE__ */ a("svg", {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ width: r,
6
+ height: e,
7
+ viewBox: "0 0 24 24",
8
+ className: h,
9
+ onClick: o,
10
+ style: l(t, !1),
11
+ "aria-hidden": "true",
12
+ focusable: "false",
13
+ children: /* @__PURE__ */ a("path", {
14
+ fill: "currentColor",
15
+ d: "M12 8V2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V10h-6a2 2 0 0 1-2-2m-5 4.25a.75.75 0 1 1 1.5 0a.75.75 0 0 1-1.5 0m0 3a.75.75 0 1 1 1.5 0a.75.75 0 0 1-1.5 0m0 3a.75.75 0 1 1 1.5 0a.75.75 0 0 1-1.5 0m3-6a.75.75 0 0 1 .75-.75h5.5a.75.75 0 0 1 0 1.5h-5.5a.75.75 0 0 1-.75-.75m0 3a.75.75 0 0 1 .75-.75h5.5a.75.75 0 0 1 0 1.5h-5.5a.75.75 0 0 1-.75-.75m0 3a.75.75 0 0 1 .75-.75h5.5a.75.75 0 0 1 0 1.5h-5.5a.75.75 0 0 1-.75-.75M13.5 8V2.5l6 6H14a.5.5 0 0 1-.5-.5"
16
+ })
10
17
  });
11
18
  export {
12
- f as QnrIcon
19
+ s as QnrIcon
13
20
  };
@@ -1,14 +1,20 @@
1
- import { IconTemplate as t } from "../IconTemplate.js";
2
- import "react";
3
- import { jsx as a } from "react/jsx-runtime";
4
- var l = ({ width: r = 20, height: o = 20, className: m = "", onClick: e, color: p }) => /* @__PURE__ */ a(t, {
5
- icon: "mdi:replay",
6
- width: r,
7
- height: o,
8
- className: m,
9
- onClick: e,
10
- color: p
1
+ import { getSvgIconStyle as s } from "../iconStyle.js";
2
+ import { jsx as r } from "react/jsx-runtime";
3
+ var f = ({ width: a = 20, height: e = 20, className: l = "", onClick: o, color: t }) => /* @__PURE__ */ r("svg", {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ width: a,
6
+ height: e,
7
+ viewBox: "0 0 24 24",
8
+ className: l,
9
+ onClick: o,
10
+ style: s(t, !1),
11
+ "aria-hidden": "true",
12
+ focusable: "false",
13
+ children: /* @__PURE__ */ r("path", {
14
+ fill: "currentColor",
15
+ d: "M12 5V1L7 6l5 5V7a6 6 0 0 1 6 6a6 6 0 0 1-6 6a6 6 0 0 1-6-6H4a8 8 0 0 0 8 8a8 8 0 0 0 8-8a8 8 0 0 0-8-8"
16
+ })
11
17
  });
12
18
  export {
13
- l as ReplayIcon
19
+ f as ReplayIcon
14
20
  };
@@ -1,13 +1,20 @@
1
- import { IconTemplate as p } from "../IconTemplate.js";
2
- import { jsx as i } from "react/jsx-runtime";
3
- var c = ({ width: o = 20, height: r = 20, className: t = "", onClick: e, color: m }) => /* @__PURE__ */ i(p, {
4
- icon: "mdi:report-box",
5
- width: o,
6
- height: r,
1
+ import { getSvgIconStyle as c } from "../iconStyle.js";
2
+ import { jsx as r } from "react/jsx-runtime";
3
+ var a = ({ width: e = 20, height: o = 20, className: t = "", onClick: h, color: l }) => /* @__PURE__ */ r("svg", {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ width: e,
6
+ height: o,
7
+ viewBox: "0 0 24 24",
7
8
  className: t,
8
- onClick: e,
9
- color: m
9
+ onClick: h,
10
+ style: c(l, !1),
11
+ "aria-hidden": "true",
12
+ focusable: "false",
13
+ children: /* @__PURE__ */ r("path", {
14
+ fill: "currentColor",
15
+ d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2M9 17H7v-7h2zm4 0h-2V7h2zm4 0h-2v-4h2z"
16
+ })
10
17
  });
11
18
  export {
12
- c as ReportBoxIcon
19
+ a as ReportBoxIcon
13
20
  };
@@ -1,13 +1,20 @@
1
- import { IconTemplate as m } from "../IconTemplate.js";
2
- import { jsx as n } from "react/jsx-runtime";
3
- var c = ({ width: o = 20, height: r = 20, className: t = "", onClick: e, color: i }) => /* @__PURE__ */ n(m, {
4
- icon: "mdi:report-box-outline",
5
- width: o,
6
- height: r,
1
+ import { getSvgIconStyle as c } from "../iconStyle.js";
2
+ import { jsx as r } from "react/jsx-runtime";
3
+ var m = ({ width: e = 20, height: o = 20, className: t = "", onClick: h, color: l }) => /* @__PURE__ */ r("svg", {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ width: e,
6
+ height: o,
7
+ viewBox: "0 0 24 24",
7
8
  className: t,
8
- onClick: e,
9
- color: i
9
+ onClick: h,
10
+ style: c(l, !1),
11
+ "aria-hidden": "true",
12
+ focusable: "false",
13
+ children: /* @__PURE__ */ r("path", {
14
+ fill: "currentColor",
15
+ d: "M9 17H7v-7h2zm4 0h-2V7h2zm4 0h-2v-4h2zm2 2H5V5h14v14.1M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"
16
+ })
10
17
  });
11
18
  export {
12
- c as ReportBoxOutlineIcon
19
+ m as ReportBoxOutlineIcon
13
20
  };
@@ -1,13 +1,20 @@
1
- import { IconTemplate as i } from "../IconTemplate.js";
2
- import { jsx as m } from "react/jsx-runtime";
3
- var p = ({ width: r = 20, height: o = 20, className: e = "", onClick: c, color: t }) => /* @__PURE__ */ m(i, {
4
- icon: "ic:outline-search",
5
- width: r,
6
- height: o,
7
- className: e,
8
- onClick: c,
9
- color: t
1
+ import { getSvgIconStyle as i } from "../iconStyle.js";
2
+ import { jsx as r } from "react/jsx-runtime";
3
+ var f = ({ width: e = 20, height: l = 20, className: o = "", onClick: t, color: a, vFlip: s = !1 }) => /* @__PURE__ */ r("svg", {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ width: e,
6
+ height: l,
7
+ viewBox: "0 0 24 24",
8
+ className: o,
9
+ onClick: t,
10
+ style: i(a, s),
11
+ "aria-hidden": "true",
12
+ focusable: "false",
13
+ children: /* @__PURE__ */ r("path", {
14
+ fill: "currentColor",
15
+ d: "M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5A6.5 6.5 0 1 0 9.5 16a6.47 6.47 0 0 0 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5S14 7.01 14 9.5S11.99 14 9.5 14"
16
+ })
10
17
  });
11
18
  export {
12
- p as SearchIcon
19
+ f as SearchIcon
13
20
  };
@@ -1,13 +1,20 @@
1
- import { IconTemplate as m } from "../IconTemplate.js";
2
- import { jsx as n } from "react/jsx-runtime";
3
- var c = ({ width: t = 20, height: o = 20, className: r = "", onClick: e, color: i }) => /* @__PURE__ */ n(m, {
4
- icon: "mdi:settings",
5
- width: t,
6
- height: o,
7
- className: r,
8
- onClick: e,
9
- color: i
1
+ import { getSvgIconStyle as s } from "../iconStyle.js";
2
+ import { jsx as l } from "react/jsx-runtime";
3
+ var n = ({ width: c = 20, height: r = 20, className: e = "", onClick: t, color: o }) => /* @__PURE__ */ l("svg", {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ width: c,
6
+ height: r,
7
+ viewBox: "0 0 24 24",
8
+ className: e,
9
+ onClick: t,
10
+ style: s(o, !1),
11
+ "aria-hidden": "true",
12
+ focusable: "false",
13
+ children: /* @__PURE__ */ l("path", {
14
+ fill: "currentColor",
15
+ d: "M12 15.5A3.5 3.5 0 0 1 8.5 12A3.5 3.5 0 0 1 12 8.5a3.5 3.5 0 0 1 3.5 3.5a3.5 3.5 0 0 1-3.5 3.5m7.43-2.53c.04-.32.07-.64.07-.97s-.03-.66-.07-1l2.11-1.63c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.31-.61-.22l-2.49 1c-.52-.39-1.06-.73-1.69-.98l-.37-2.65A.506.506 0 0 0 14 2h-4c-.25 0-.46.18-.5.42l-.37 2.65c-.63.25-1.17.59-1.69.98l-2.49-1c-.22-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64L4.57 11c-.04.34-.07.67-.07 1s.03.65.07.97l-2.11 1.66c-.19.15-.25.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1.01c.52.4 1.06.74 1.69.99l.37 2.65c.04.24.25.42.5.42h4c.25 0 .46-.18.5-.42l.37-2.65c.63-.26 1.17-.59 1.69-.99l2.49 1.01c.22.08.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64z"
16
+ })
10
17
  });
11
18
  export {
12
- c as SettingsIcon
19
+ n as SettingsIcon
13
20
  };
@@ -1,14 +1,23 @@
1
- import { IconTemplate as i } from "../IconTemplate.js";
2
- import "react";
3
- import { jsx as a } from "react/jsx-runtime";
4
- var c = ({ width: e = 20, height: t = 20, className: r = "", onClick: n, color: o }) => /* @__PURE__ */ a(i, {
5
- icon: "streamline:interface-setting-menu-1-button-parallel-horizontal-lines-menu-navigation-three-hamburger",
6
- width: e,
7
- height: t,
8
- className: r,
1
+ import { getSvgIconStyle as s } from "../iconStyle.js";
2
+ import { jsx as e } from "react/jsx-runtime";
3
+ var m = ({ width: o = 20, height: r = 20, className: t = "", onClick: n, color: i }) => /* @__PURE__ */ e("svg", {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ width: o,
6
+ height: r,
7
+ viewBox: "0 0 14 14",
8
+ className: t,
9
9
  onClick: n,
10
- color: o
10
+ style: s(i, !1),
11
+ "aria-hidden": "true",
12
+ focusable: "false",
13
+ children: /* @__PURE__ */ e("path", {
14
+ fill: "none",
15
+ stroke: "currentColor",
16
+ strokeLinecap: "round",
17
+ strokeLinejoin: "round",
18
+ d: "M13.5 2H.5m13 5H.5m13 5H.5"
19
+ })
11
20
  });
12
21
  export {
13
- c as SettingsMenuHorizontalIcon
22
+ m as SettingsMenuHorizontalIcon
14
23
  };
@@ -1,13 +1,20 @@
1
- import { IconTemplate as r } from "../IconTemplate.js";
2
- import { jsx as m } from "react/jsx-runtime";
3
- var c = ({ width: t = 20, height: o = 20, className: e = "", onClick: i, color: n }) => /* @__PURE__ */ m(r, {
4
- icon: "mdi:settings-outline",
5
- width: t,
6
- height: o,
1
+ import { getSvgIconStyle as o } from "../iconStyle.js";
2
+ import { jsx as l } from "react/jsx-runtime";
3
+ var s = ({ width: c = 20, height: a = 20, className: e = "", onClick: r, color: t }) => /* @__PURE__ */ l("svg", {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ width: c,
6
+ height: a,
7
+ viewBox: "0 0 24 24",
7
8
  className: e,
8
- onClick: i,
9
- color: n
9
+ onClick: r,
10
+ style: o(t, !1),
11
+ "aria-hidden": "true",
12
+ focusable: "false",
13
+ children: /* @__PURE__ */ l("path", {
14
+ fill: "currentColor",
15
+ d: "M12 8a4 4 0 0 1 4 4a4 4 0 0 1-4 4a4 4 0 0 1-4-4a4 4 0 0 1 4-4m0 2a2 2 0 0 0-2 2a2 2 0 0 0 2 2a2 2 0 0 0 2-2a2 2 0 0 0-2-2m-2 12c-.25 0-.46-.18-.5-.42l-.37-2.65c-.63-.25-1.17-.59-1.69-.99l-2.49 1.01c-.22.08-.49 0-.61-.22l-2-3.46a.493.493 0 0 1 .12-.64l2.11-1.66L4.5 12l.07-1l-2.11-1.63a.493.493 0 0 1-.12-.64l2-3.46c.12-.22.39-.31.61-.22l2.49 1c.52-.39 1.06-.73 1.69-.98l.37-2.65c.04-.24.25-.42.5-.42h4c.25 0 .46.18.5.42l.37 2.65c.63.25 1.17.59 1.69.98l2.49-1c.22-.09.49 0 .61.22l2 3.46c.13.22.07.49-.12.64L19.43 11l.07 1l-.07 1l2.11 1.63c.19.15.25.42.12.64l-2 3.46c-.12.22-.39.31-.61.22l-2.49-1c-.52.39-1.06.73-1.69.98l-.37 2.65c-.04.24-.25.42-.5.42zm1.25-18l-.37 2.61c-1.2.25-2.26.89-3.03 1.78L5.44 7.35l-.75 1.3L6.8 10.2a5.55 5.55 0 0 0 0 3.6l-2.12 1.56l.75 1.3l2.43-1.04c.77.88 1.82 1.52 3.01 1.76l.37 2.62h1.52l.37-2.61c1.19-.25 2.24-.89 3.01-1.77l2.43 1.04l.75-1.3l-2.12-1.55c.4-1.17.4-2.44 0-3.61l2.11-1.55l-.75-1.3l-2.41 1.04a5.42 5.42 0 0 0-3.03-1.77L12.75 4z"
16
+ })
10
17
  });
11
18
  export {
12
- c as SettingsOutlineIcon
19
+ s as SettingsOutlineIcon
13
20
  };
@@ -1,14 +1,20 @@
1
- import { IconTemplate as c } from "../IconTemplate.js";
2
- import "react";
3
- import { jsx as i } from "react/jsx-runtime";
4
- var f = ({ width: o = 20, height: t = 20, className: e = "", onClick: r, color: m }) => /* @__PURE__ */ i(c, {
5
- icon: "mdi:text-box-check-outline",
6
- width: o,
7
- height: t,
8
- className: e,
9
- onClick: r,
10
- color: m
1
+ import { getSvgIconStyle as h } from "../iconStyle.js";
2
+ import { jsx as e } from "react/jsx-runtime";
3
+ var m = ({ width: l = 20, height: r = 20, className: t = "", onClick: o, color: c }) => /* @__PURE__ */ e("svg", {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ width: l,
6
+ height: r,
7
+ viewBox: "0 0 24 24",
8
+ className: t,
9
+ onClick: o,
10
+ style: h(c, !1),
11
+ "aria-hidden": "true",
12
+ focusable: "false",
13
+ children: /* @__PURE__ */ e("path", {
14
+ fill: "currentColor",
15
+ d: "m17 21l-2.75-3l1.16-1.16L17 18.43l3.59-3.59l1.16 1.41M12.8 21H5c-1.11 0-2-.89-2-2V5c0-1.11.89-2 2-2h14c1.11 0 2 .89 2 2v7.8c-.61-.35-1.28-.6-2-.72V5H5v14h7.08c.12.72.37 1.39.72 2m-.8-4H7v-2h5m2.68-2H7v-2h10v1.08c-.85.14-1.63.46-2.32.92M17 9H7V7h10"
16
+ })
11
17
  });
12
18
  export {
13
- f as TextBoxCheckOutlineIcon
19
+ m as TextBoxCheckOutlineIcon
14
20
  };
@@ -1,12 +1,19 @@
1
- import { IconTemplate as t } from "../IconTemplate.js";
2
- import { jsx as m } from "react/jsx-runtime";
3
- var a = ({ width: o = 20, height: r = 20, className: p = "", onClick: c, color: i }) => /* @__PURE__ */ m(t, {
4
- icon: "ic:sharp-topic",
5
- width: o,
6
- height: r,
7
- className: p,
8
- onClick: c,
9
- color: i
1
+ import { getSvgIconStyle as m } from "../iconStyle.js";
2
+ import { jsx as r } from "react/jsx-runtime";
3
+ var a = ({ width: e = 20, height: o = 20, className: t = "", onClick: l, color: i }) => /* @__PURE__ */ r("svg", {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ width: e,
6
+ height: o,
7
+ viewBox: "0 0 24 24",
8
+ className: t,
9
+ onClick: l,
10
+ style: m(i, !1),
11
+ "aria-hidden": "true",
12
+ focusable: "false",
13
+ children: /* @__PURE__ */ r("path", {
14
+ fill: "currentColor",
15
+ d: "m12 6l-2-2H2v16h20V6zm2 10H6v-2h8zm4-4H6v-2h12z"
16
+ })
10
17
  });
11
18
  export {
12
19
  a as TopicIcon
@@ -1,14 +1,20 @@
1
- import { IconTemplate as m } from "../IconTemplate.js";
2
- import "react";
3
- import { jsx as u } from "react/jsx-runtime";
4
- var l = ({ width: o = 20, height: n = 20, className: e = "", onClick: r, color: t }) => /* @__PURE__ */ u(m, {
5
- icon: "material-symbols:unknown-document-outline-rounded",
6
- width: o,
7
- height: n,
1
+ import { getSvgIconStyle as n } from "../iconStyle.js";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ var h = ({ width: q = 20, height: T = 20, className: e = "", onClick: o, color: r }) => /* @__PURE__ */ t("svg", {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ width: q,
6
+ height: T,
7
+ viewBox: "0 0 24 24",
8
8
  className: e,
9
- onClick: r,
10
- color: t
9
+ onClick: o,
10
+ style: n(r, !1),
11
+ "aria-hidden": "true",
12
+ focusable: "false",
13
+ children: /* @__PURE__ */ t("path", {
14
+ fill: "currentColor",
15
+ d: "M5 4v16zv5zm3 10h2.5q.425 0 .713-.288T11.5 13t-.288-.712T10.5 12H8q-.425 0-.712.288T7 13t.288.713T8 14m0 4h1q.425 0 .713-.288T10 17t-.288-.712T9 16H8q-.425 0-.712.288T7 17t.288.713T8 18m-3 4q-.825 0-1.412-.587T3 20V4q0-.825.588-1.412T5 2h7.175q.4 0 .763.15t.637.425l4.85 4.85q.275.275.425.638t.15.762v.325q0 .425-.288.712T18 10.15t-.712-.288T17 9.15V9h-4q-.425 0-.712-.288T12 8V4H5v16h5.525q.425 0 .713.288t.287.712t-.288.713t-.712.287zm15.538-8.537Q22 14.925 22 17t-1.463 3.538T17 22t-3.537-1.463T12 17t1.463-3.537T17 12t3.538 1.463m-3.075 6.35q.187-.188.187-.463t-.187-.462T17 18.7t-.462.188t-.188.462t.188.463T17 20t.463-.187M17 14q-.475 0-.875.238t-.65.637q-.1.15-.025.313t.25.237q.15.075.3 0t.275-.2q.125-.175.313-.275t.412-.1q.325 0 .563.213t.237.537q0 .275-.15.463t-.35.387q-.15.15-.312.3t-.288.35q-.075.15-.112.313t-.038.337q0 .225.125.413t.325.187t.325-.15t.125-.35q0-.275.15-.488t.35-.412q.3-.275.525-.612t.225-.738q0-.675-.5-1.138T17 14"
16
+ })
11
17
  });
12
18
  export {
13
- l as UnknownDocumentOutlineRoundedIcon
19
+ h as UnknownDocumentOutlineRoundedIcon
14
20
  };
@@ -1,29 +1,27 @@
1
- import { CloseIcon as u } from "../../icons/close-icon/CloseIcon.js";
2
- import { ErrorOutlineIcon as m } from "../../icons/error-outline-icon/ErrorOutlineIcon.js";
3
- import { StyledFormHelperText as d } from "../../miscellaneous/StyledFormHelperText.js";
4
- import c from "clsx";
5
- import { Select as s } from "@mui/material";
6
- import { Fragment as p, jsx as e, jsxs as t } from "react/jsx-runtime";
7
- import { Icon as h } from "@iconify/react";
8
- var C = ({ dataTest: i, allowClear: l, error: o, errorText: n, ...r }) => /* @__PURE__ */ t(p, { children: [/* @__PURE__ */ e(s, {
1
+ import { ChevronDownIcon as u } from "../../icons/chevron-down-icon/ChevronDownIcon.js";
2
+ import { CloseIcon as m } from "../../icons/close-icon/CloseIcon.js";
3
+ import { ErrorOutlineIcon as d } from "../../icons/error-outline-icon/ErrorOutlineIcon.js";
4
+ import { StyledFormHelperText as c } from "../../miscellaneous/StyledFormHelperText.js";
5
+ import s from "clsx";
6
+ import { Select as h } from "@mui/material";
7
+ import { Fragment as p, jsx as o, jsxs as t } from "react/jsx-runtime";
8
+ var I = ({ dataTest: i, allowClear: l, error: e, errorText: n, ...r }) => /* @__PURE__ */ t(p, { children: [/* @__PURE__ */ o(h, {
9
9
  ...r,
10
10
  "data-testid": i,
11
- error: o,
11
+ error: e,
12
12
  value: r.value,
13
- IconComponent: ({ className: a }) => /* @__PURE__ */ e(h, {
14
- icon: "material-symbols:expand-more-rounded",
13
+ IconComponent: ({ className: a }) => /* @__PURE__ */ o(u, {
15
14
  width: 24,
16
15
  height: 24,
17
- className: c(a),
18
- style: { marginTop: "-3.5px" }
16
+ className: s(a, "-mt-[3.5px]")
19
17
  }),
20
- endAdornment: l && r.value ? /* @__PURE__ */ e("div", {
18
+ endAdornment: l && r.value ? /* @__PURE__ */ o("div", {
21
19
  "data-testid": "select-clear-button",
22
20
  className: "absolute right-8 flex items-center justify-center rounded-full p-[2px] duration-300 hover:bg-gama-100",
23
21
  onClick: () => {
24
22
  r.onChange?.({ target: { value: "" } }, null);
25
23
  },
26
- children: /* @__PURE__ */ e(u, {
24
+ children: /* @__PURE__ */ o(m, {
27
25
  width: 18,
28
26
  height: 18
29
27
  })
@@ -38,13 +36,13 @@ var C = ({ dataTest: i, allowClear: l, error: o, errorText: n, ...r }) => /* @__
38
36
  "&:hover .MuiOutlinedInput-notchedOutline": { border: "2px solid var(--colors-gama-300) !important" },
39
37
  ...r.sx
40
38
  }
41
- }), o && /* @__PURE__ */ t(d, {
39
+ }), e && /* @__PURE__ */ t(c, {
42
40
  className: "m-0 flex items-center gap-1 pt-1 text-sm text-error-500",
43
- children: [/* @__PURE__ */ e(m, {
41
+ children: [/* @__PURE__ */ o(d, {
44
42
  width: 20,
45
43
  height: 20
46
44
  }), n ?? "Required"]
47
45
  })] });
48
46
  export {
49
- C as StyledSelect
47
+ I as StyledSelect
50
48
  };
@@ -1,7 +1,7 @@
1
- import { MenuItem as r } from "@mui/material";
2
- import { jsx as t, jsxs as o } from "react/jsx-runtime";
3
- import { Icon as i } from "@iconify/react";
4
- var a = (e) => /* @__PURE__ */ o(r, {
1
+ import { CheckIcon as t } from "../../icons/check-icon/CheckIcon.js";
2
+ import { MenuItem as o } from "@mui/material";
3
+ import { jsx as r, jsxs as n } from "react/jsx-runtime";
4
+ var c = (e) => /* @__PURE__ */ n(o, {
5
5
  ...e,
6
6
  sx: {
7
7
  "&.MuiMenuItem-root": {
@@ -11,20 +11,19 @@ var a = (e) => /* @__PURE__ */ o(r, {
11
11
  },
12
12
  "&.Mui-selected": { backgroundColor: "var(--colors-gama-50) !important" }
13
13
  },
14
- children: [/* @__PURE__ */ t("span", {
14
+ children: [/* @__PURE__ */ r("span", {
15
15
  style: {
16
16
  width: "24px",
17
17
  justifyContent: "center",
18
18
  display: "flex"
19
19
  },
20
- children: e.selected && /* @__PURE__ */ t(i, {
21
- icon: "mdi:tick",
20
+ children: e.selected && /* @__PURE__ */ r(t, {
22
21
  width: 22,
23
22
  height: 22,
24
23
  style: { color: "var(--colors-gama-500)" }
25
24
  })
26
- }), /* @__PURE__ */ t("span", { children: e.children })]
25
+ }), /* @__PURE__ */ r("span", { children: e.children })]
27
26
  });
28
27
  export {
29
- a as StyledSelectItem
28
+ c as StyledSelectItem
30
29
  };
@@ -1,4 +1,4 @@
1
- import { cn as C } from "../../../helpers/cn.js";
1
+ import { cn as v } from "../../../helpers/cn.js";
2
2
  import { ChevronDownIcon as re } from "../../icons/chevron-down-icon/ChevronDownIcon.js";
3
3
  import { CloseIcon as le } from "../../icons/close-icon/CloseIcon.js";
4
4
  import { CheckIcon as oe } from "../../icons/check-icon/CheckIcon.js";
@@ -7,32 +7,32 @@ import { StyledChip as ne } from "../../data-display/chip/StyledChip.js";
7
7
  import { StyledCheckbox as H } from "../checkbox/base-ui/StyledCheckbox.js";
8
8
  import B from "./StyledSelectAutocomplete.module.js";
9
9
  import D from "clsx";
10
- import { createElement as v, useLayoutEffect as se, useRef as ce, useState as z } from "react";
10
+ import { createElement as C, useLayoutEffect as se, useRef as ce, useState as z } from "react";
11
11
  import { Autocomplete as ie, Paper as de } from "@mui/material";
12
12
  import { jsx as l, jsxs as T } from "react/jsx-runtime";
13
- function Ne({ dataTest: i, autoHeight: m, getOptionLabel: d, wrapperClassName: W, multiple: n, allowSelectAll: _, selectAllLabel: N, className: F, defaultValue: w, isOptionEqualToValue: p, ListboxProps: M, onChange: G, options: f, popupIcon: K, readOnly: h, renderOption: L, renderTags: O, sx: U, value: x, ...V }) {
14
- const [k, E] = z("auto"), g = ce(null), o = n === !0 && _ === !0 && !h, A = x !== void 0, b = (e) => Array.isArray(e) ? e : [], [J, Q] = z(() => b(w));
13
+ function Me({ dataTest: i, autoHeight: m, getOptionLabel: d, wrapperClassName: W, multiple: n, allowSelectAll: _, selectAllLabel: M, className: F, defaultValue: N, isOptionEqualToValue: p, ListboxProps: k, onChange: G, options: h, popupIcon: K, readOnly: f, renderOption: L, renderTags: O, sx: U, value: x, ...V }) {
14
+ const [A, E] = z("auto"), g = ce(null), o = n === !0 && _ === !0 && !f, w = x !== void 0, b = (e) => Array.isArray(e) ? e : [], [J, Q] = z(() => b(N));
15
15
  se(() => {
16
16
  if (!m) return;
17
17
  const e = g.current?.getBoundingClientRect().height ?? 0, t = g.current?.getBoundingClientRect().top ?? 0, r = window.innerHeight - t - e - 40;
18
18
  E(r > 0 ? r : "auto");
19
19
  }, [m]);
20
20
  const y = m ? {
21
- style: { maxHeight: k === "auto" ? "auto" : `${k}px` },
22
- ...M
23
- } : M, s = (e) => typeof e == "object" && e !== null && "label" in e ? e.label : String(e), X = (e) => typeof e == "object" && e !== null && "disabled" in e && !!e.disabled, I = {
21
+ style: { maxHeight: A === "auto" ? "auto" : `${A}px` },
22
+ ...k
23
+ } : k, s = (e) => typeof e == "object" && e !== null && "label" in e ? e.label : String(e), X = (e) => typeof e == "object" && e !== null && "disabled" in e && !!e.disabled, I = {
24
24
  padding: 0,
25
25
  "& .MuiAutocomplete-option": { paddingLeft: n ? "12px !important" : "6px !important" }
26
- }, Y = y?.sx ? [I, y.sx] : I, $ = o ? b(A ? x : J) : [], c = o ? f.filter((e) => !X(e)) : f, Z = (e, t) => {
26
+ }, Y = y?.sx ? [I, y.sx] : I, $ = o ? b(w ? x : J) : [], c = o ? h.filter((e) => !X(e)) : h, Z = (e, t) => {
27
27
  const r = typeof e == "object" && e !== null;
28
28
  return r !== (typeof t == "object" && t !== null) || !r && typeof e != typeof t ? !1 : p ? p(e, t) : e === t;
29
29
  }, j = o ? c.filter((e) => $.some((t) => Z(e, t))).length : 0, R = o && c.length > 0 && j === c.length, q = o && j > 0 && !R, P = (e, t, r, a) => {
30
- o && !A && Q(b(t)), G?.(e, t, r, a);
30
+ o && !w && Q(b(t)), G?.(e, t, r, a);
31
31
  }, ee = (e, t) => {
32
32
  P(e, t ? [...c] : [], t ? "selectOption" : "clear", void 0);
33
33
  }, te = (e, t) => e.map((r, a) => {
34
34
  const u = t({ index: a }), S = d?.(r) ?? s(r);
35
- return /* @__PURE__ */ v(ne, {
35
+ return /* @__PURE__ */ C(ne, {
36
36
  ...u,
37
37
  key: `selected-chip-${S}-${a}`,
38
38
  dataTest: `selected-chip-${S}`,
@@ -41,12 +41,12 @@ function Ne({ dataTest: i, autoHeight: m, getOptionLabel: d, wrapperClassName: W
41
41
  });
42
42
  });
43
43
  return /* @__PURE__ */ l("div", {
44
- className: C(B.styledSelectAutocompleteWrapper, W),
44
+ className: v(B.styledSelectAutocompleteWrapper, W),
45
45
  ref: g,
46
46
  children: /* @__PURE__ */ l(ie, {
47
47
  ...V,
48
48
  multiple: n,
49
- defaultValue: o ? void 0 : w,
49
+ defaultValue: o ? void 0 : N,
50
50
  getOptionLabel: d,
51
51
  isOptionEqualToValue: p,
52
52
  ListboxProps: {
@@ -55,9 +55,9 @@ function Ne({ dataTest: i, autoHeight: m, getOptionLabel: d, wrapperClassName: W
55
55
  },
56
56
  className: D("!text-sm", F),
57
57
  onChange: P,
58
- options: f,
58
+ options: h,
59
59
  renderTags: O ?? (n ? te : void 0),
60
- popupIcon: h ? null : K ?? n ? /* @__PURE__ */ l(ae, {
60
+ popupIcon: f ? null : K ?? n ? /* @__PURE__ */ l(ae, {
61
61
  width: 24,
62
62
  height: 24
63
63
  }) : /* @__PURE__ */ l(re, {
@@ -65,7 +65,7 @@ function Ne({ dataTest: i, autoHeight: m, getOptionLabel: d, wrapperClassName: W
65
65
  height: 24,
66
66
  className: D(B["select-custom-icon"])
67
67
  }),
68
- readOnly: h,
68
+ readOnly: f,
69
69
  "data-testid": i,
70
70
  value: o ? $ : x,
71
71
  PaperComponent: ({ children: e }) => /* @__PURE__ */ T(de, {
@@ -75,9 +75,12 @@ function Ne({ dataTest: i, autoHeight: m, getOptionLabel: d, wrapperClassName: W
75
75
  marginTop: "0px !important",
76
76
  "& .MuiAutocomplete-option.Mui-focused": { background: "var(--colors-delta-50) !important" },
77
77
  "& li[aria-selected=true]": { background: "var(--colors-gama-50) !important" },
78
- "& li[aria-selected=true].MuiAutocomplete-option.Mui-focused": { background: "var(--colors-gama-50) !important" }
78
+ "& li[aria-selected=true].MuiAutocomplete-option.Mui-focused": { background: "var(--colors-gama-50) !important" },
79
+ "&:has([data-select-all-header]:hover) .MuiAutocomplete-option.Mui-focused": { background: "transparent !important" },
80
+ "&:has([data-select-all-header]:hover) li[aria-selected=true].MuiAutocomplete-option.Mui-focused": { background: "var(--colors-gama-50) !important" }
79
81
  },
80
82
  children: [o && c.length > 0 && /* @__PURE__ */ T("div", {
83
+ "data-select-all-header": !0,
81
84
  className: "flex items-center gap-x-[10px] border-[1px] border-b border-solid border-delta-200 bg-delta-50 py-2 pl-3 text-xs",
82
85
  onMouseDown: (t) => t.preventDefault(),
83
86
  role: "presentation",
@@ -88,19 +91,19 @@ function Ne({ dataTest: i, autoHeight: m, getOptionLabel: d, wrapperClassName: W
88
91
  indeterminate: q,
89
92
  hideWrapper: !0,
90
93
  onChange: ee,
91
- "aria-label": N ?? "Select all"
94
+ "aria-label": M ?? "Select all"
92
95
  }), /* @__PURE__ */ l("span", {
93
96
  className: "truncate text-[10px] font-semibold uppercase text-delta-600",
94
- children: N ?? "Select all"
97
+ children: M ?? "Select all"
95
98
  })]
96
99
  }), e]
97
100
  }),
98
101
  renderOption: L ?? ((e, t, { selected: r }) => {
99
102
  const a = e, u = e.id ?? s(t);
100
- return n ? /* @__PURE__ */ v("li", {
103
+ return n ? /* @__PURE__ */ C("li", {
101
104
  ...a,
102
105
  key: u,
103
- className: C(e.className, "flex items-center gap-x-[10px] border-0 border-b border-solid border-delta-200")
106
+ className: v(e.className, "flex items-center gap-x-[10px] border-0 border-b border-solid border-delta-200")
104
107
  }, /* @__PURE__ */ l(H, {
105
108
  dataTest: `${i}-${s(t)}-checkbox`,
106
109
  checked: r,
@@ -109,10 +112,10 @@ function Ne({ dataTest: i, autoHeight: m, getOptionLabel: d, wrapperClassName: W
109
112
  }), /* @__PURE__ */ l("span", {
110
113
  className: "flex-1 truncate py-2 text-sm text-delta-700",
111
114
  children: d?.(t) ?? s(t)
112
- })) : /* @__PURE__ */ v("li", {
115
+ })) : /* @__PURE__ */ C("li", {
113
116
  ...a,
114
117
  key: u,
115
- className: C(e.className, "flex items-center gap-x-1")
118
+ className: v(e.className, "flex items-center gap-x-1")
116
119
  }, /* @__PURE__ */ l("span", {
117
120
  className: "w-5",
118
121
  children: r && /* @__PURE__ */ l(oe, {
@@ -147,5 +150,5 @@ function Ne({ dataTest: i, autoHeight: m, getOptionLabel: d, wrapperClassName: W
147
150
  });
148
151
  }
149
152
  export {
150
- Ne as StyledSelectAutocomplete
153
+ Me as StyledSelectAutocomplete
151
154
  };