asma-ui-core 3.21.1 → 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 (94) 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/switch/base-ui/StyledSwitch.js +36 -29
  76. package/dist/index.js +275 -269
  77. package/dist/src/components/icons/Icons.types.d.ts +0 -3
  78. package/dist/src/components/icons/cloud-icon/CloudIcon.d.ts +2 -0
  79. package/dist/src/components/icons/cloud-icon/index.d.ts +1 -0
  80. package/dist/src/components/icons/content-cut-icon/ContentCutIcon.d.ts +2 -0
  81. package/dist/src/components/icons/content-cut-icon/index.d.ts +1 -0
  82. package/dist/src/components/icons/content-paste-icon/ContentPasteIcon.d.ts +2 -0
  83. package/dist/src/components/icons/content-paste-icon/index.d.ts +1 -0
  84. package/dist/src/components/icons/error-outline-icon/ErrorOutlineIcon.d.ts +0 -1
  85. package/dist/src/components/icons/iconStyle.d.ts +2 -0
  86. package/dist/src/components/icons/index.d.ts +3 -0
  87. package/dist/src/components/icons/replay-icon/ReplayIcon.d.ts +0 -1
  88. package/dist/src/components/icons/settings-menu-horizontal-icon/SettingsMenuHorizontalIcon.d.ts +0 -1
  89. package/dist/src/components/icons/text-box-check-outline-icon/TextBoxCheckOutlineIcon.d.ts +0 -1
  90. package/dist/src/components/icons/unknown-document-outline-rounded-icon/UnknownDocumentOutlineRoundedIcon.d.ts +0 -1
  91. package/package.json +3 -4
  92. package/dist/components/icons/IconTemplate.js +0 -15
  93. package/dist/components/icons/Icons.module.js +0 -7
  94. 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,9 +1,9 @@
1
- import { IconTemplate as x } from "../../../icons/IconTemplate.js";
2
- import c from "./StyledSwitch.module.js";
3
- import { forwardRef as N, useState as k } from "react";
1
+ import { getSvgIconStyle as C } from "../../../icons/iconStyle.js";
2
+ import r from "./StyledSwitch.module.js";
3
+ import { forwardRef as y, useState as N } from "react";
4
4
  import { jsx as t } from "react/jsx-runtime";
5
5
  import { Switch as d } from "@base-ui/react/switch";
6
- var I = ({ className: e }) => /* @__PURE__ */ t("svg", {
6
+ var b = ({ className: e }) => /* @__PURE__ */ t("svg", {
7
7
  viewBox: "0 0 24 24",
8
8
  className: e,
9
9
  fill: "none",
@@ -15,43 +15,50 @@ var I = ({ className: e }) => /* @__PURE__ */ t("svg", {
15
15
  fill: "currentColor",
16
16
  rx: "0.75"
17
17
  })
18
- }), b = ({ width: e = 11, height: o = 11, className: n = "", onClick: r, color: a }) => /* @__PURE__ */ t(x, {
19
- icon: "fa-solid:check",
18
+ }), I = ({ width: e = 11, height: o = 11, className: c = "", onClick: n, color: s }) => /* @__PURE__ */ t("svg", {
19
+ xmlns: "http://www.w3.org/2000/svg",
20
20
  width: e,
21
21
  height: o,
22
- className: n,
23
- onClick: r,
24
- color: a
25
- }), P = N(({ checked: e, defaultChecked: o = !1, onChange: n, disabled: r, readOnly: a, required: f, id: s, dataTest: u, ...p }, v) => {
26
- const [S, w] = k(o), i = e !== void 0, m = i ? e : S, C = (l) => {
27
- i || w(l), n?.({ target: {
28
- checked: l,
29
- name: s
30
- } }, l);
31
- }, g = i ? { checked: m } : { defaultChecked: o }, h = c.iconContent;
22
+ viewBox: "0 0 448 512",
23
+ className: c,
24
+ onClick: n,
25
+ style: C(s),
26
+ "aria-hidden": "true",
27
+ focusable: "false",
28
+ children: /* @__PURE__ */ t("path", {
29
+ fill: "currentColor",
30
+ d: "M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7L393.4 105.4c12.5-12.5 32.8-12.5 45.2 0"
31
+ })
32
+ }), M = y(({ checked: e, defaultChecked: o = !1, onChange: c, disabled: n, readOnly: s, required: f, id: a, dataTest: u, ...v }, w) => {
33
+ const [g, p] = N(o), l = e !== void 0, h = l ? e : g, S = (i) => {
34
+ l || p(i), c?.({ target: {
35
+ checked: i,
36
+ name: a
37
+ } }, i);
38
+ }, x = l ? { checked: h } : { defaultChecked: o }, m = r.iconContent;
32
39
  return /* @__PURE__ */ t(d.Root, {
33
- ...p,
34
- ...g,
40
+ ...v,
41
+ ...x,
35
42
  nativeButton: !0,
36
43
  render: /* @__PURE__ */ t("button", {}),
37
- ref: v,
38
- className: c.switch,
39
- onCheckedChange: C,
40
- disabled: r,
41
- readOnly: a,
44
+ ref: w,
45
+ className: r.switch,
46
+ onCheckedChange: S,
47
+ disabled: n,
48
+ readOnly: s,
42
49
  required: f,
43
- id: s,
44
- name: s,
50
+ id: a,
51
+ name: a,
45
52
  "data-testid": u,
46
53
  children: /* @__PURE__ */ t(d.Thumb, {
47
- className: c.thumb,
54
+ className: r.thumb,
48
55
  children: /* @__PURE__ */ t("span", {
49
- className: c.icon,
50
- children: m ? /* @__PURE__ */ t(b, { className: h }) : /* @__PURE__ */ t(I, { className: h })
56
+ className: r.icon,
57
+ children: h ? /* @__PURE__ */ t(I, { className: m }) : /* @__PURE__ */ t(b, { className: m })
51
58
  })
52
59
  })
53
60
  });
54
61
  });
55
62
  export {
56
- P as StyledSwitch
63
+ M as StyledSwitch
57
64
  };