@hitachivantara/uikit-react-core 5.91.2 → 5.92.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 (204) hide show
  1. package/dist/cjs/Accordion/Accordion.cjs +2 -2
  2. package/dist/cjs/ActionsGeneric/ActionsGeneric.cjs +2 -2
  3. package/dist/cjs/AppSwitcher/Action/Action.cjs +10 -2
  4. package/dist/cjs/Avatar/Avatar.cjs +3 -2
  5. package/dist/cjs/BaseCheckBox/BaseCheckBox.styles.cjs +4 -8
  6. package/dist/cjs/BaseCheckBox/CheckBoxIcon.cjs +4 -8
  7. package/dist/cjs/BaseDropdown/BaseDropdown.cjs +5 -5
  8. package/dist/cjs/BaseInput/BaseInput.styles.cjs +4 -1
  9. package/dist/cjs/BaseRadio/RadioIcon.cjs +2 -7
  10. package/dist/cjs/BreadCrumb/PathElement/PathElement.cjs +4 -2
  11. package/dist/cjs/BreadCrumb/utils.cjs +2 -2
  12. package/dist/cjs/ButtonBase/ButtonBase.styles.cjs +1 -4
  13. package/dist/cjs/Calendar/CalendarNavigation/Navigation/Navigation.cjs +3 -3
  14. package/dist/cjs/Carousel/Carousel.cjs +4 -4
  15. package/dist/cjs/Carousel/CarouselControls.cjs +3 -3
  16. package/dist/cjs/CheckBox/CheckBox.cjs +1 -1
  17. package/dist/cjs/CheckBox/CheckBox.styles.cjs +13 -39
  18. package/dist/cjs/ColorPicker/ColorPicker.cjs +2 -2
  19. package/dist/cjs/ColorPicker/ColorPicker.styles.cjs +4 -2
  20. package/dist/cjs/ColorPicker/SavedColors/SavedColors.cjs +3 -3
  21. package/dist/cjs/ColorPicker/SavedColors/SavedColors.styles.cjs +1 -10
  22. package/dist/cjs/DatePicker/DatePicker.cjs +2 -2
  23. package/dist/cjs/Dialog/Dialog.cjs +2 -2
  24. package/dist/cjs/Drawer/Drawer.cjs +2 -2
  25. package/dist/cjs/DropDownMenu/DropDownMenu.cjs +2 -2
  26. package/dist/cjs/DropDownMenu/DropDownMenu.styles.cjs +6 -1
  27. package/dist/cjs/Dropdown/List/List.cjs +12 -18
  28. package/dist/cjs/Dropdown/List/List.styles.cjs +0 -2
  29. package/dist/cjs/DropdownButton/DropdownButton.cjs +5 -4
  30. package/dist/cjs/FileUploader/DropZone/DropZone.cjs +9 -2
  31. package/dist/cjs/FileUploader/File/File.cjs +4 -4
  32. package/dist/cjs/FileUploader/Preview/Preview.cjs +2 -2
  33. package/dist/cjs/FilterGroup/FilterContent/FilterContent.cjs +2 -2
  34. package/dist/cjs/FormElement/Adornment/Adornment.styles.cjs +5 -1
  35. package/dist/cjs/FormElement/InfoMessage/InfoMessage.styles.cjs +1 -1
  36. package/dist/cjs/FormElement/Label/Label.styles.cjs +1 -1
  37. package/dist/cjs/FormElement/Suggestions/Suggestions.cjs +2 -2
  38. package/dist/cjs/FormElement/WarningText/WarningText.cjs +2 -2
  39. package/dist/cjs/FormElement/WarningText/WarningText.styles.cjs +1 -1
  40. package/dist/cjs/InlineEditor/InlineEditor.cjs +3 -2
  41. package/dist/cjs/Input/Input.cjs +17 -26
  42. package/dist/cjs/Input/Input.styles.cjs +10 -6
  43. package/dist/cjs/Input/icons.cjs +22 -0
  44. package/dist/cjs/List/List.cjs +2 -2
  45. package/dist/cjs/Pagination/Pagination.cjs +5 -5
  46. package/dist/cjs/QueryBuilder/Rule/Rule.cjs +2 -2
  47. package/dist/cjs/QueryBuilder/RuleGroup/RuleGroup.cjs +6 -5
  48. package/dist/cjs/Radio/Radio.styles.cjs +8 -5
  49. package/dist/cjs/Section/Section.cjs +2 -2
  50. package/dist/cjs/Table/TableHeader/TableHeader.cjs +8 -5
  51. package/dist/cjs/Table/TableHeader/utils.cjs +5 -6
  52. package/dist/cjs/Table/hooks/useHvRowExpand.cjs +2 -2
  53. package/dist/cjs/Table/renderers/renderers.cjs +2 -2
  54. package/dist/cjs/Tag/Tag.cjs +6 -5
  55. package/dist/cjs/Tag/Tag.styles.cjs +8 -3
  56. package/dist/cjs/TimePicker/TimePicker.cjs +2 -8
  57. package/dist/cjs/TimePicker/Unit/Unit.cjs +4 -5
  58. package/dist/cjs/TimePicker/Unit/Unit.styles.cjs +0 -6
  59. package/dist/cjs/TreeView/TreeView.cjs +3 -3
  60. package/dist/cjs/VerticalNavigation/Header/Header.cjs +4 -4
  61. package/dist/cjs/VerticalNavigation/NavigationSlider/NavigationSlider.cjs +2 -2
  62. package/dist/cjs/VerticalNavigation/TreeView/TreeViewItem.cjs +3 -3
  63. package/dist/cjs/VerticalNavigation/TreeView/TreeViewItem.styles.cjs +1 -1
  64. package/dist/cjs/VerticalNavigation/VerticalNavigation.styles.cjs +1 -4
  65. package/dist/cjs/icons.cjs +98 -0
  66. package/dist/cjs/utils/Callout.cjs +5 -3
  67. package/dist/cjs/utils/iconVariant.cjs +9 -13
  68. package/dist/esm/Accordion/Accordion.js +2 -2
  69. package/dist/esm/Accordion/Accordion.js.map +1 -1
  70. package/dist/esm/ActionsGeneric/ActionsGeneric.js +2 -2
  71. package/dist/esm/ActionsGeneric/ActionsGeneric.js.map +1 -1
  72. package/dist/esm/AppSwitcher/Action/Action.js +10 -2
  73. package/dist/esm/AppSwitcher/Action/Action.js.map +1 -1
  74. package/dist/esm/Avatar/Avatar.js +3 -2
  75. package/dist/esm/Avatar/Avatar.js.map +1 -1
  76. package/dist/esm/BaseCheckBox/BaseCheckBox.styles.js +4 -8
  77. package/dist/esm/BaseCheckBox/BaseCheckBox.styles.js.map +1 -1
  78. package/dist/esm/BaseCheckBox/CheckBoxIcon.js +4 -8
  79. package/dist/esm/BaseCheckBox/CheckBoxIcon.js.map +1 -1
  80. package/dist/esm/BaseDropdown/BaseDropdown.js +5 -5
  81. package/dist/esm/BaseDropdown/BaseDropdown.js.map +1 -1
  82. package/dist/esm/BaseInput/BaseInput.styles.js +4 -1
  83. package/dist/esm/BaseInput/BaseInput.styles.js.map +1 -1
  84. package/dist/esm/BaseRadio/RadioIcon.js +2 -7
  85. package/dist/esm/BaseRadio/RadioIcon.js.map +1 -1
  86. package/dist/esm/BreadCrumb/PathElement/PathElement.js +4 -2
  87. package/dist/esm/BreadCrumb/PathElement/PathElement.js.map +1 -1
  88. package/dist/esm/BreadCrumb/utils.js +2 -2
  89. package/dist/esm/BreadCrumb/utils.js.map +1 -1
  90. package/dist/esm/ButtonBase/ButtonBase.styles.js +1 -4
  91. package/dist/esm/ButtonBase/ButtonBase.styles.js.map +1 -1
  92. package/dist/esm/Calendar/CalendarNavigation/Navigation/Navigation.js +3 -3
  93. package/dist/esm/Calendar/CalendarNavigation/Navigation/Navigation.js.map +1 -1
  94. package/dist/esm/Carousel/Carousel.js +4 -4
  95. package/dist/esm/Carousel/Carousel.js.map +1 -1
  96. package/dist/esm/Carousel/CarouselControls.js +3 -3
  97. package/dist/esm/Carousel/CarouselControls.js.map +1 -1
  98. package/dist/esm/CheckBox/CheckBox.js +1 -1
  99. package/dist/esm/CheckBox/CheckBox.js.map +1 -1
  100. package/dist/esm/CheckBox/CheckBox.styles.js +13 -39
  101. package/dist/esm/CheckBox/CheckBox.styles.js.map +1 -1
  102. package/dist/esm/ColorPicker/ColorPicker.js +2 -2
  103. package/dist/esm/ColorPicker/ColorPicker.js.map +1 -1
  104. package/dist/esm/ColorPicker/ColorPicker.styles.js +4 -2
  105. package/dist/esm/ColorPicker/ColorPicker.styles.js.map +1 -1
  106. package/dist/esm/ColorPicker/SavedColors/SavedColors.js +3 -3
  107. package/dist/esm/ColorPicker/SavedColors/SavedColors.js.map +1 -1
  108. package/dist/esm/ColorPicker/SavedColors/SavedColors.styles.js +1 -10
  109. package/dist/esm/ColorPicker/SavedColors/SavedColors.styles.js.map +1 -1
  110. package/dist/esm/DatePicker/DatePicker.js +2 -2
  111. package/dist/esm/DatePicker/DatePicker.js.map +1 -1
  112. package/dist/esm/Dialog/Dialog.js +2 -2
  113. package/dist/esm/Dialog/Dialog.js.map +1 -1
  114. package/dist/esm/Drawer/Drawer.js +2 -2
  115. package/dist/esm/Drawer/Drawer.js.map +1 -1
  116. package/dist/esm/DropDownMenu/DropDownMenu.js +2 -2
  117. package/dist/esm/DropDownMenu/DropDownMenu.js.map +1 -1
  118. package/dist/esm/DropDownMenu/DropDownMenu.styles.js +6 -1
  119. package/dist/esm/DropDownMenu/DropDownMenu.styles.js.map +1 -1
  120. package/dist/esm/Dropdown/List/List.js +13 -19
  121. package/dist/esm/Dropdown/List/List.js.map +1 -1
  122. package/dist/esm/Dropdown/List/List.styles.js +0 -2
  123. package/dist/esm/Dropdown/List/List.styles.js.map +1 -1
  124. package/dist/esm/Dropdown/utils.js.map +1 -1
  125. package/dist/esm/DropdownButton/DropdownButton.js +5 -4
  126. package/dist/esm/DropdownButton/DropdownButton.js.map +1 -1
  127. package/dist/esm/FileUploader/DropZone/DropZone.js +9 -2
  128. package/dist/esm/FileUploader/DropZone/DropZone.js.map +1 -1
  129. package/dist/esm/FileUploader/File/File.js +4 -4
  130. package/dist/esm/FileUploader/File/File.js.map +1 -1
  131. package/dist/esm/FileUploader/Preview/Preview.js +2 -2
  132. package/dist/esm/FileUploader/Preview/Preview.js.map +1 -1
  133. package/dist/esm/FilterGroup/FilterContent/FilterContent.js +2 -2
  134. package/dist/esm/FilterGroup/FilterContent/FilterContent.js.map +1 -1
  135. package/dist/esm/FormElement/Adornment/Adornment.styles.js +5 -1
  136. package/dist/esm/FormElement/Adornment/Adornment.styles.js.map +1 -1
  137. package/dist/esm/FormElement/InfoMessage/InfoMessage.styles.js +1 -1
  138. package/dist/esm/FormElement/InfoMessage/InfoMessage.styles.js.map +1 -1
  139. package/dist/esm/FormElement/Label/Label.styles.js +1 -1
  140. package/dist/esm/FormElement/Label/Label.styles.js.map +1 -1
  141. package/dist/esm/FormElement/Suggestions/Suggestions.js +2 -2
  142. package/dist/esm/FormElement/Suggestions/Suggestions.js.map +1 -1
  143. package/dist/esm/FormElement/WarningText/WarningText.js +2 -2
  144. package/dist/esm/FormElement/WarningText/WarningText.js.map +1 -1
  145. package/dist/esm/FormElement/WarningText/WarningText.styles.js +1 -1
  146. package/dist/esm/FormElement/WarningText/WarningText.styles.js.map +1 -1
  147. package/dist/esm/InlineEditor/InlineEditor.js +3 -2
  148. package/dist/esm/InlineEditor/InlineEditor.js.map +1 -1
  149. package/dist/esm/Input/Input.js +18 -27
  150. package/dist/esm/Input/Input.js.map +1 -1
  151. package/dist/esm/Input/Input.styles.js +10 -6
  152. package/dist/esm/Input/Input.styles.js.map +1 -1
  153. package/dist/esm/Input/icons.js +22 -0
  154. package/dist/esm/Input/icons.js.map +1 -0
  155. package/dist/esm/List/List.js +2 -2
  156. package/dist/esm/List/List.js.map +1 -1
  157. package/dist/esm/Pagination/Pagination.js +5 -5
  158. package/dist/esm/Pagination/Pagination.js.map +1 -1
  159. package/dist/esm/QueryBuilder/Rule/Rule.js +2 -2
  160. package/dist/esm/QueryBuilder/Rule/Rule.js.map +1 -1
  161. package/dist/esm/QueryBuilder/RuleGroup/RuleGroup.js +6 -5
  162. package/dist/esm/QueryBuilder/RuleGroup/RuleGroup.js.map +1 -1
  163. package/dist/esm/Radio/Radio.styles.js +8 -5
  164. package/dist/esm/Radio/Radio.styles.js.map +1 -1
  165. package/dist/esm/Section/Section.js +2 -2
  166. package/dist/esm/Section/Section.js.map +1 -1
  167. package/dist/esm/Table/TableHeader/TableHeader.js +10 -7
  168. package/dist/esm/Table/TableHeader/TableHeader.js.map +1 -1
  169. package/dist/esm/Table/TableHeader/utils.js +5 -6
  170. package/dist/esm/Table/TableHeader/utils.js.map +1 -1
  171. package/dist/esm/Table/hooks/useHvRowExpand.js +2 -2
  172. package/dist/esm/Table/hooks/useHvRowExpand.js.map +1 -1
  173. package/dist/esm/Table/renderers/renderers.js +2 -2
  174. package/dist/esm/Table/renderers/renderers.js.map +1 -1
  175. package/dist/esm/Tag/Tag.js +6 -5
  176. package/dist/esm/Tag/Tag.js.map +1 -1
  177. package/dist/esm/Tag/Tag.styles.js +8 -3
  178. package/dist/esm/Tag/Tag.styles.js.map +1 -1
  179. package/dist/esm/TimePicker/TimePicker.js +4 -10
  180. package/dist/esm/TimePicker/TimePicker.js.map +1 -1
  181. package/dist/esm/TimePicker/Unit/Unit.js +4 -5
  182. package/dist/esm/TimePicker/Unit/Unit.js.map +1 -1
  183. package/dist/esm/TimePicker/Unit/Unit.styles.js +0 -6
  184. package/dist/esm/TimePicker/Unit/Unit.styles.js.map +1 -1
  185. package/dist/esm/TreeView/TreeView.js +3 -3
  186. package/dist/esm/TreeView/TreeView.js.map +1 -1
  187. package/dist/esm/VerticalNavigation/Header/Header.js +4 -4
  188. package/dist/esm/VerticalNavigation/Header/Header.js.map +1 -1
  189. package/dist/esm/VerticalNavigation/NavigationSlider/NavigationSlider.js +2 -2
  190. package/dist/esm/VerticalNavigation/NavigationSlider/NavigationSlider.js.map +1 -1
  191. package/dist/esm/VerticalNavigation/TreeView/TreeViewItem.js +3 -3
  192. package/dist/esm/VerticalNavigation/TreeView/TreeViewItem.js.map +1 -1
  193. package/dist/esm/VerticalNavigation/TreeView/TreeViewItem.styles.js +1 -1
  194. package/dist/esm/VerticalNavigation/TreeView/TreeViewItem.styles.js.map +1 -1
  195. package/dist/esm/VerticalNavigation/VerticalNavigation.styles.js +1 -4
  196. package/dist/esm/VerticalNavigation/VerticalNavigation.styles.js.map +1 -1
  197. package/dist/esm/icons.js +96 -0
  198. package/dist/esm/icons.js.map +1 -0
  199. package/dist/esm/utils/Callout.js +5 -3
  200. package/dist/esm/utils/Callout.js.map +1 -1
  201. package/dist/esm/utils/iconVariant.js +9 -13
  202. package/dist/esm/utils/iconVariant.js.map +1 -1
  203. package/dist/types/index.d.ts +7 -10
  204. package/package.json +5 -6
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const React = require("react");
5
- const uikitReactIcons = require("@hitachivantara/uikit-react-icons");
5
+ const icons = require("../../icons.cjs");
6
6
  const Context = require("../Context.cjs");
7
7
  const QueryBuilder_styles = require("../QueryBuilder.styles.cjs");
8
8
  const Button = require("../../Button/Button.cjs");
@@ -39,7 +39,7 @@ const RuleGroup = ({
39
39
  dispatchAction({ type: "add-rule", id });
40
40
  },
41
41
  disabled: readOnly,
42
- startIcon: /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.Add, {}),
42
+ startIcon: /* @__PURE__ */ jsxRuntime.jsx(icons.HvIcon, { name: "Add" }),
43
43
  children: level === 0 && labels.query?.addRule?.label != null ? labels.query?.addRule?.label : labels.group.addRule.label
44
44
  }
45
45
  ) }),
@@ -51,7 +51,7 @@ const RuleGroup = ({
51
51
  dispatchAction({ type: "add-group", id });
52
52
  },
53
53
  disabled: readOnly,
54
- startIcon: /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.Add, {}),
54
+ startIcon: /* @__PURE__ */ jsxRuntime.jsx(icons.HvIcon, { name: "Add" }),
55
55
  children: level === 0 && labels.query?.addGroup?.label != null ? labels.query?.addGroup?.label : labels.group.addGroup.label
56
56
  }
57
57
  ) })
@@ -105,8 +105,9 @@ const RuleGroup = ({
105
105
  title: level === 0 && labels.query?.delete?.tooltip || labels.group.delete.tooltip || level === 0 && labels.query?.delete?.ariaLabel || labels.group.delete.ariaLabel,
106
106
  disabled: readOnly,
107
107
  children: /* @__PURE__ */ jsxRuntime.jsx(
108
- uikitReactIcons.Delete,
108
+ icons.HvIcon,
109
109
  {
110
+ name: "Delete",
110
111
  className: cx({ [classes.topRemoveButtonDisabled]: readOnly })
111
112
  }
112
113
  )
@@ -190,7 +191,7 @@ const RuleGroup = ({
190
191
  )
191
192
  ] })
192
193
  ] }),
193
- icon: /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.Info, {})
194
+ icon: /* @__PURE__ */ jsxRuntime.jsx(icons.HvIcon, { name: "Info" })
194
195
  }
195
196
  ),
196
197
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -11,8 +11,11 @@ const { staticClasses, useClasses } = uikitReactUtils.createClasses("HvRadio", {
11
11
  alignItems: "center",
12
12
  transition: "background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",
13
13
  borderRadius: uikitStyles.theme.radii.base,
14
- ":hover:not($disabled)": {
14
+ "&:hover:not($disabled)": {
15
15
  backgroundColor: uikitStyles.theme.colors.bgHover
16
+ },
17
+ ":where(:has($label)) $radio": {
18
+ borderRadius: "inherit"
16
19
  }
17
20
  },
18
21
  invalidContainer: {},
@@ -20,6 +23,10 @@ const { staticClasses, useClasses } = uikitReactUtils.createClasses("HvRadio", {
20
23
  cursor: "not-allowed",
21
24
  "& $label": { color: uikitStyles.theme.colors.textDisabled, cursor: "not-allowed" }
22
25
  },
26
+ focusVisible: {
27
+ backgroundColor: uikitStyles.theme.colors.bgPageSecondary,
28
+ ...focusUtils.outlineStyles
29
+ },
23
30
  radio: {},
24
31
  invalidRadio: {},
25
32
  label: {
@@ -30,10 +37,6 @@ const { staticClasses, useClasses } = uikitReactUtils.createClasses("HvRadio", {
30
37
  lineHeight: "32px",
31
38
  width: "100%"
32
39
  },
33
- focusVisible: {
34
- backgroundColor: uikitStyles.theme.colors.bgPageSecondary,
35
- ...focusUtils.outlineStyles
36
- },
37
40
  checked: {},
38
41
  semantic: {}
39
42
  });
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const React = require("react");
5
- const uikitReactIcons = require("@hitachivantara/uikit-react-icons");
6
5
  const uikitReactUtils = require("@hitachivantara/uikit-react-utils");
7
6
  const useExpandable = require("../hooks/useExpandable.cjs");
7
+ const icons = require("../icons.cjs");
8
8
  const Section_styles = require("./Section.styles.cjs");
9
9
  const Button = require("../Button/Button.cjs");
10
10
  const HvSection = React.forwardRef(
@@ -54,7 +54,7 @@ const HvSection = React.forwardRef(
54
54
  "aria-label": isOpen ? "Collapse" : "Expand",
55
55
  ...buttonProps,
56
56
  ...expandButtonProps,
57
- children: /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.DropDownXS, { rotate: isOpen })
57
+ children: /* @__PURE__ */ jsxRuntime.jsx(icons.HvIcon, { name: "CaretDown", size: "xs", rotate: isOpen })
58
58
  }
59
59
  ),
60
60
  title,
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const React = require("react");
5
5
  const uikitReactUtils = require("@hitachivantara/uikit-react-utils");
6
+ const icons = require("../../icons.cjs");
6
7
  const helpers = require("../../utils/helpers.cjs");
7
8
  const TableContext = require("../TableContext.cjs");
8
9
  const TableSectionContext = require("../TableSectionContext.cjs");
@@ -44,10 +45,6 @@ const HvTableHeader = React.forwardRef(
44
45
  const type = typeProp || tableSectionContext?.type || "body";
45
46
  const isHeadCell = type === "head";
46
47
  const scope = scopeProp ?? (isHeadCell ? "col" : "row");
47
- const Sort = React.useMemo(
48
- () => utils.getSortIcon(sorted && sortDirection),
49
- [sorted, sortDirection]
50
- );
51
48
  const Component = component || tableContext?.components?.Th || defaultComponent;
52
49
  const role = Component === defaultComponent ? null : isHeadCell ? "columnheader" : "rowheader";
53
50
  const paragraph = utils.isParagraph(children);
@@ -96,7 +93,13 @@ const HvTableHeader = React.forwardRef(
96
93
  icon: true,
97
94
  "aria-label": "Sort",
98
95
  ...sortButtonProps,
99
- children: /* @__PURE__ */ jsxRuntime.jsx(Sort, { className: classes.sortIcon })
96
+ children: /* @__PURE__ */ jsxRuntime.jsx(
97
+ icons.HvIcon,
98
+ {
99
+ name: utils.getSortIconName(sorted && sortDirection),
100
+ className: classes.sortIcon
101
+ }
102
+ )
100
103
  }
101
104
  ),
102
105
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -1,18 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const uikitReactIcons = require("@hitachivantara/uikit-react-icons");
4
- const getSortIcon = (dir) => {
3
+ const getSortIconName = (dir) => {
5
4
  switch (dir) {
6
5
  case "ascending":
7
- return uikitReactIcons.SortAscendingXS;
6
+ return "SortAsc";
8
7
  case "descending":
9
- return uikitReactIcons.SortDescendingXS;
8
+ return "SortDesc";
10
9
  default:
11
- return uikitReactIcons.SortXS;
10
+ return "Sort";
12
11
  }
13
12
  };
14
13
  const isParagraph = (children) => {
15
14
  return typeof children === "string" && /\s/.test(children);
16
15
  };
17
- exports.getSortIcon = getSortIcon;
16
+ exports.getSortIconName = getSortIconName;
18
17
  exports.isParagraph = isParagraph;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
- const uikitReactIcons = require("@hitachivantara/uikit-react-icons");
5
4
  const useLabels = require("../../hooks/useLabels.cjs");
5
+ const icons = require("../../icons.cjs");
6
6
  const Button = require("../../Button/Button.cjs");
7
7
  const Typography = require("../../Typography/Typography.cjs");
8
8
  const DEFAULT_LABELS = {
@@ -24,7 +24,7 @@ const CellWithExpandButton = ({
24
24
  "aria-label": row.isExpanded ? labels.collapseRowButtonAriaLabel : labels.expandRowButtonAriaLabel,
25
25
  "aria-expanded": row.isExpanded,
26
26
  onClick: rowProps?.onClick,
27
- children: /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.DropDownXS, { rotate: row.isExpanded })
27
+ children: /* @__PURE__ */ jsxRuntime.jsx(icons.HvIcon, { name: "CaretDown", size: "xs", rotate: row.isExpanded })
28
28
  }
29
29
  ),
30
30
  cell?.value && /* @__PURE__ */ jsxRuntime.jsx(Typography.HvTypography, { variant: "label", component: "span", children: cell.value })
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("@emotion/react");
5
- const uikitReactIcons = require("@hitachivantara/uikit-react-icons");
5
+ const icons = require("../../icons.cjs");
6
6
  const setId = require("../../utils/setId.cjs");
7
7
  const DateColumnCell = require("./DateColumnCell.cjs");
8
8
  const DropdownColumnCell = require("./DropdownColumnCell.cjs");
@@ -52,7 +52,7 @@ function hvDateColumn(col, dateFormat) {
52
52
  ...col
53
53
  };
54
54
  }
55
- function hvExpandColumn(col, expandRowButtonAriaLabel, collapseRowButtonAriaLabel, getCanRowExpand, ExpandedIcon = /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.DropUpXS, {}), CollapsedIcon = /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.DropDownXS, {})) {
55
+ function hvExpandColumn(col, expandRowButtonAriaLabel, collapseRowButtonAriaLabel, getCanRowExpand, ExpandedIcon = /* @__PURE__ */ jsxRuntime.jsx(icons.HvIcon, { name: "CaretDown", size: "xs", rotate: true }), CollapsedIcon = /* @__PURE__ */ jsxRuntime.jsx(icons.HvIcon, { name: "CaretDown", size: "xs" })) {
56
56
  return {
57
57
  Cell: (cellProps) => {
58
58
  const { value, row } = cellProps;
@@ -2,11 +2,11 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const React = require("react");
5
- const uikitReactIcons = require("@hitachivantara/uikit-react-icons");
6
5
  const uikitReactUtils = require("@hitachivantara/uikit-react-utils");
7
6
  const uikitStyles = require("@hitachivantara/uikit-styles");
8
7
  const CheckBoxIcon = require("../BaseCheckBox/CheckBoxIcon.cjs");
9
8
  const useControlled = require("../hooks/useControlled.cjs");
9
+ const icons = require("../icons.cjs");
10
10
  const keyboardUtils = require("../utils/keyboardUtils.cjs");
11
11
  const Tag_styles = require("./Tag.styles.cjs");
12
12
  const ButtonBase = require("../ButtonBase/ButtonBase.cjs");
@@ -57,15 +57,16 @@ const HvTag = React.forwardRef(function HvTag2(props, ref) {
57
57
  [classes.disabledDeleteIcon]: disabled
58
58
  }),
59
59
  onClick: handleDeleteClick
60
- }) : /* @__PURE__ */ jsxRuntime.jsx(
61
- uikitReactIcons.CloseXS,
60
+ }) : /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
61
+ icons.HvIcon,
62
62
  {
63
- size: "XS",
63
+ compact: true,
64
+ name: "Close",
64
65
  onClick: handleDeleteClick,
65
66
  className: cx(classes.deleteIcon, classes.button, classes.tagButton),
66
67
  ...deleteButtonProps
67
68
  }
68
- );
69
+ ) });
69
70
  return /* @__PURE__ */ jsxRuntime.jsxs(
70
71
  ButtonBase.HvButtonBase,
71
72
  {
@@ -16,6 +16,11 @@ const { staticClasses, useClasses } = uikitReactUtils.createClasses("HvTag", {
16
16
  transition: "background-color 0.3s ease",
17
17
  "&,:hover,:focus-visible": {
18
18
  backgroundColor: "var(--tagColor)"
19
+ },
20
+ "& div:has($deleteIcon)": {
21
+ // ensure icon container doesn't grow into $label
22
+ width: "max-content",
23
+ lineHeight: 0
19
24
  }
20
25
  },
21
26
  hasIcon: {
@@ -65,9 +70,9 @@ const { staticClasses, useClasses } = uikitReactUtils.createClasses("HvTag", {
65
70
  color: "inherit"
66
71
  },
67
72
  deleteIcon: {
68
- width: 16,
69
- height: 16,
70
- "&:hover": {
73
+ margin: 0,
74
+ padding: 2,
75
+ ":hover": {
71
76
  backgroundColor: uikitStyles.theme.colors.bgHover
72
77
  }
73
78
  },
@@ -6,11 +6,11 @@ const date = require("@internationalized/date");
6
6
  const utils$1 = require("@mui/material/utils");
7
7
  const datepicker$1 = require("@react-aria/datepicker");
8
8
  const datepicker = require("@react-stately/datepicker");
9
- const uikitReactIcons = require("@hitachivantara/uikit-react-icons");
10
9
  const uikitReactUtils = require("@hitachivantara/uikit-react-utils");
11
10
  const utils = require("../Calendar/utils.cjs");
12
11
  const useControlled = require("../hooks/useControlled.cjs");
13
12
  const useUniqueId = require("../hooks/useUniqueId.cjs");
13
+ const icons = require("../icons.cjs");
14
14
  const setId = require("../utils/setId.cjs");
15
15
  const Placeholder = require("./Placeholder.cjs");
16
16
  const TimePicker_styles = require("./TimePicker.styles.cjs");
@@ -166,13 +166,7 @@ const HvTimePicker = React.forwardRef(
166
166
  headerOpen: classes.dropdownHeaderOpen
167
167
  },
168
168
  placement: "right",
169
- adornment: /* @__PURE__ */ jsxRuntime.jsx(
170
- uikitReactIcons.Time,
171
- {
172
- color: disabled ? "textDisabled" : void 0,
173
- className: classes.icon
174
- }
175
- ),
169
+ adornment: /* @__PURE__ */ jsxRuntime.jsx(icons.HvIcon, { name: "Time", className: classes.icon }),
176
170
  expanded: open,
177
171
  onToggle: (evt, newOpen) => {
178
172
  if (disableExpand) return;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
- const uikitReactIcons = require("@hitachivantara/uikit-react-icons");
5
4
  const uikitStyles = require("@hitachivantara/uikit-styles");
5
+ const icons = require("../../icons.cjs");
6
6
  const Unit_styles = require("./Unit.styles.cjs");
7
7
  const Button = require("../../Button/Button.cjs");
8
8
  const BaseInput = require("../../BaseInput/BaseInput.cjs");
@@ -19,7 +19,7 @@ const Unit = ({
19
19
  const { type, text } = segment;
20
20
  const placeholder = placeholderProp ?? segment.placeholder;
21
21
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: classes.root, children: [
22
- type !== "literal" && /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.DropUpXS, { onClick: onAdd }),
22
+ type !== "literal" && /* @__PURE__ */ jsxRuntime.jsx(icons.HvIcon, { name: "CaretDown", size: "xs", rotate: true, onClick: onAdd }),
23
23
  type === "literal" && /* @__PURE__ */ jsxRuntime.jsx("div", { className: classes.separator, children: text }),
24
24
  type === "dayPeriod" && /* @__PURE__ */ jsxRuntime.jsx(Button.HvButton, { icon: true, className: classes.periodToggle, onClick: onAdd, children: text }),
25
25
  ["hour", "minute", "second"].includes(type) && /* @__PURE__ */ jsxRuntime.jsx(
@@ -31,8 +31,7 @@ const Unit = ({
31
31
  },
32
32
  classes: {
33
33
  input: classes.input,
34
- root: classes.inputContainer,
35
- inputRoot: classes.inputRoot
34
+ root: classes.inputRoot
36
35
  },
37
36
  onKeyDown: (event) => {
38
37
  if ("key" in event && event.key === "Enter") {
@@ -48,7 +47,7 @@ const Unit = ({
48
47
  inputProps: { autoComplete: "off", type: "number" }
49
48
  }
50
49
  ),
51
- type !== "literal" && /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.DropDownXS, { onClick: onSub })
50
+ type !== "literal" && /* @__PURE__ */ jsxRuntime.jsx(icons.HvIcon, { name: "CaretDown", size: "xs", onClick: onSub })
52
51
  ] });
53
52
  };
54
53
  exports.Unit = Unit;
@@ -29,8 +29,6 @@ const { staticClasses, useClasses } = uikitReactUtils.createClasses("HvTimePicke
29
29
  ...uikitStyles.theme.typography.title3,
30
30
  fontWeight: 600,
31
31
  textAlign: "center",
32
- height: 40,
33
- width: 40,
34
32
  padding: 0,
35
33
  margin: 0,
36
34
  "&::placeholder": {
@@ -44,10 +42,6 @@ const { staticClasses, useClasses } = uikitReactUtils.createClasses("HvTimePicke
44
42
  },
45
43
  subtractIcon: {
46
44
  marginTop: uikitStyles.theme.space.xs
47
- },
48
- inputContainer: {
49
- minWidth: 40,
50
- maxWidth: 40
51
45
  }
52
46
  });
53
47
  exports.staticClasses = staticClasses;
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const utils = require("@mui/base/utils");
5
- const uikitReactIcons = require("@hitachivantara/uikit-react-icons");
6
5
  const uikitReactUtils = require("@hitachivantara/uikit-react-utils");
6
+ const icons = require("../icons.cjs");
7
7
  const generic = require("../types/generic.cjs");
8
8
  const useTreeView = require("./internals/hooks/useTreeView.cjs");
9
9
  const TreeViewProvider = require("./internals/TreeViewProvider.cjs");
@@ -22,8 +22,8 @@ const HvTreeView = generic.fixedForwardRef(function HvTreeView2(props, ref) {
22
22
  selected,
23
23
  defaultSelected,
24
24
  disableSelection,
25
- defaultCollapseIcon = /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.DropDownXS, {}),
26
- defaultExpandIcon = /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.DropRightXS, {}),
25
+ defaultCollapseIcon = /* @__PURE__ */ jsxRuntime.jsx(icons.HvIcon, { name: "CaretDown", size: "xs" }),
26
+ defaultExpandIcon = /* @__PURE__ */ jsxRuntime.jsx(icons.HvIcon, { name: "CaretRight", size: "xs" }),
27
27
  defaultEndIcon,
28
28
  defaultParentIcon,
29
29
  onNodeSelect,
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const React = require("react");
5
- const uikitReactIcons = require("@hitachivantara/uikit-react-icons");
6
5
  const uikitReactUtils = require("@hitachivantara/uikit-react-utils");
6
+ const icons = require("../../icons.cjs");
7
7
  const VerticalNavigationContext = require("../VerticalNavigationContext.cjs");
8
8
  const Header_styles = require("./Header.styles.cjs");
9
9
  const Button = require("../../Button/Button.cjs");
@@ -34,8 +34,8 @@ const HvVerticalNavigationHeader = (props) => {
34
34
  [parentItem, slider]
35
35
  );
36
36
  if (!shouldShowTitle) return null;
37
- const openIcon = openIconProp ?? (!useIcons ? /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.Menu, {}) : /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.Forwards, {}));
38
- const closeIcon = closeIconProp ?? /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.Backwards, {});
37
+ const openIcon = openIconProp ?? /* @__PURE__ */ jsxRuntime.jsx(icons.HvIcon, { name: useIcons ? "Forwards" : "Menu" });
38
+ const closeIcon = closeIconProp ?? /* @__PURE__ */ jsxRuntime.jsx(icons.HvIcon, { name: "Backwards" });
39
39
  const handleClickBack = () => navigateToParentHandler?.();
40
40
  const { className: backButtonClassName, ...otherBackButtonProps } = backButtonProps;
41
41
  const {
@@ -57,7 +57,7 @@ const HvVerticalNavigationHeader = (props) => {
57
57
  className: cx(classes.backButton, backButtonClassName),
58
58
  "aria-label": "Back",
59
59
  ...otherBackButtonProps,
60
- children: /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.Backwards, { iconSize: "XS" })
60
+ children: /* @__PURE__ */ jsxRuntime.jsx(icons.HvIcon, { name: "Backwards", size: "xs" })
61
61
  }
62
62
  ),
63
63
  isOpen && /* @__PURE__ */ jsxRuntime.jsx(
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
- const uikitReactIcons = require("@hitachivantara/uikit-react-icons");
5
4
  const uikitReactUtils = require("@hitachivantara/uikit-react-utils");
5
+ const icons = require("../../icons.cjs");
6
6
  const NavigationSlider_styles = require("./NavigationSlider.styles.cjs");
7
7
  const Button = require("../../Button/Button.cjs");
8
8
  const ListContainer = require("../../ListContainer/ListContainer.cjs");
@@ -51,7 +51,7 @@ const HvVerticalNavigationSlider = (props) => {
51
51
  },
52
52
  className: classes.forwardButton,
53
53
  "aria-label": forwardButtonAriaLabel,
54
- children: /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.DropRightXS, {})
54
+ children: /* @__PURE__ */ jsxRuntime.jsx(icons.HvIcon, { name: "CaretRight", size: "xs" })
55
55
  }
56
56
  ) : void 0,
57
57
  children: /* @__PURE__ */ jsxRuntime.jsx(OverflowTooltip.HvOverflowTooltip, { data: item.label })
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const React = require("react");
5
- const uikitReactIcons = require("@hitachivantara/uikit-react-icons");
6
5
  const uikitReactUtils = require("@hitachivantara/uikit-react-utils");
7
6
  const useForkRef = require("../../hooks/useForkRef.cjs");
7
+ const icons = require("../../icons.cjs");
8
8
  const DescendantProvider = require("../../TreeView/internals/DescendantProvider.cjs");
9
9
  const setId = require("../../utils/setId.cjs");
10
10
  const VerticalNavigationContext = require("../VerticalNavigationContext.cjs");
@@ -314,7 +314,7 @@ const HvVerticalNavigationTreeViewItem = React.forwardRef(
314
314
  children: payload?.label?.substring(0, 1)
315
315
  }
316
316
  ) : useIcons && icon,
317
- hasChildren && !isOpen ? /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.Forwards, { iconSize: "XS" }) : hasAnyChildWithData && !isOpen && /* @__PURE__ */ jsxRuntime.jsx("div", {})
317
+ hasChildren && !isOpen ? /* @__PURE__ */ jsxRuntime.jsx(icons.HvIcon, { name: "Forwards", size: "xs", compact: true }) : hasAnyChildWithData && !isOpen && /* @__PURE__ */ jsxRuntime.jsx("div", {})
318
318
  ]
319
319
  }
320
320
  ),
@@ -328,7 +328,7 @@ const HvVerticalNavigationTreeViewItem = React.forwardRef(
328
328
  children: /* @__PURE__ */ jsxRuntime.jsx(OverflowTooltip.HvOverflowTooltip, { data: label })
329
329
  }
330
330
  ),
331
- isOpen && expandable && /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.DropDownXS, { rotate: expanded })
331
+ isOpen && expandable && /* @__PURE__ */ jsxRuntime.jsx(icons.HvIcon, { name: "CaretDown", size: "xs", rotate: expanded })
332
332
  ]
333
333
  }
334
334
  ) });
@@ -132,7 +132,7 @@ const { staticClasses, useClasses } = uikitReactUtils.createClasses(
132
132
  marginLeft: "var(--icon-margin-left)"
133
133
  },
134
134
  "> div:nth-of-type(2)": {
135
- width: "14px",
135
+ width: "12px",
136
136
  marginLeft: "auto"
137
137
  },
138
138
  [`&& .${Avatar_styles.staticClasses.root}`]: {
@@ -26,10 +26,7 @@ const { staticClasses, useClasses } = uikitReactUtils.createClasses(
26
26
  }
27
27
  },
28
28
  collapsed: {
29
- width: "56px",
30
- "&$childData": {
31
- width: "66px"
32
- },
29
+ width: "fit-content",
33
30
  "& > :first-of-type:not(:last-child)": {
34
31
  padding: uikitStyles.theme.spacing("sm", "xs", "xs", "xs")
35
32
  },
@@ -0,0 +1,98 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const jsxRuntime = require("react/jsx-runtime");
4
+ const React = require("react");
5
+ const styled = require("@emotion/styled");
6
+ const uikitReactUtils = require("@hitachivantara/uikit-react-utils");
7
+ const uikitStyles = require("@hitachivantara/uikit-styles");
8
+ const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
9
+ const styled__default = /* @__PURE__ */ _interopDefault(styled);
10
+ const svgSizeMap = {
11
+ xs: 12,
12
+ sm: 16,
13
+ md: 32,
14
+ lg: 96,
15
+ xl: 112
16
+ };
17
+ const SvgBase = styled__default.default("svg")({
18
+ display: "inline-block",
19
+ fill: "currentcolor",
20
+ width: "1em",
21
+ height: "1em",
22
+ fontSize: 16,
23
+ flexShrink: 0,
24
+ transition: "rotate 0.2s ease"
25
+ });
26
+ const Svg = styled__default.default(SvgBase)(({ size, color, compact, rotate }) => ({
27
+ rotate: rotate ? "180deg" : void 0,
28
+ margin: compact ? 0 : size === "xs" ? 10 : 8,
29
+ color: uikitStyles.getColor(color) ?? "inherit",
30
+ fontSize: svgSizeMap[size] ?? size ?? svgSizeMap.sm
31
+ }));
32
+ const defaultIconPathMap = {
33
+ // Semantic icons
34
+ Success: "M6.39 12 4 9.61l.7-.7 1.62 1.6 4.65-5.57.77.64zM8 15a7 7 0 0 1-4.94-2.06A7.02 7.02 0 1 1 8 15m8-7a8 8 0 1 0-8 8 8 8 0 0 0 8-8",
35
+ Caution: "M7.5 6h1v4h-1zm0 7h1v-1h-1zm8.5 2H0L8 1zM1.72 14h12.56L8 3.02z",
36
+ Fail: "M7.5 4h1v6h-1zm0 8h1v-1h-1zM16 8a8 8 0 1 0-8 8 8 8 0 0 0 8-8m-1 0a7 7 0 1 1-7-7 7 7 0 0 1 7 7",
37
+ Info: "M8 16a8 8 0 1 1 8-8 8 8 0 0 1-8 8M8 1a6.96 6.96 0 0 0-7 6.91V8a6.96 6.96 0 0 0 6.91 7H8a6.96 6.96 0 0 0 7-6.91V8a6.96 6.96 0 0 0-6.91-7zm-.5 11h1V6h-1zm0-7h1V4h-1z",
38
+ // Arrows/Navigation
39
+ CaretDown: "m8 11.53-6.13-6.13.93-.93L8 9.67l5.2-5.2.93.93z",
40
+ CaretRight: "m5.4 14.13-.93-.93L9.67 8l-5.2-5.2.93-.93L11.53 8z",
41
+ DotsHorizontal: "M9.1 7v2h-2V7zM2 7v2h2V7zm10 0v2h2V7z",
42
+ DotsVertical: "M7 6.9h2v2H7zM7 4h2V2H7zm0 10h2v-2H7z",
43
+ Start: "M2.99 16.05H2v-16h.99zm2.97-8 7.34 7.41.7-.7-6.64-6.71L14 1.33l-.7-.7z",
44
+ Backwards: "M11.3 15.5 4 8 11.3.5l.7.8L5.38 8 12 14.8z",
45
+ Forwards: "M4.79 15.5 4 14.8 10.62 8 4 1.3l.79-.8L12 8z",
46
+ End: "M13 0h1v16h-1zM2.58.58l-.7.7L8.57 8l-6.7 6.71.7.71L10 8z",
47
+ // Others
48
+ Add: "M16 8.5H8.5V16h-1V8.5H0v-1h7.5V0h1v7.5H16z",
49
+ Close: "m8.7 8 5.3 5.3-.7.7L8 8.7 2.7 14l-.7-.7L7.3 8 2 2.7l.7-.7L8 7.3 13.3 2l.7.7z",
50
+ Search: "M15.07 14.52 10.5 9.95a5.96 5.96 0 1 0-.72.7l4.58 4.58zM5.9 11A4.95 4.95 0 0 1 1 6v-.1A4.95 4.95 0 0 1 6 1h.1A4.95 4.95 0 0 1 11 6v.1A4.95 4.95 0 0 1 6 11z",
51
+ SortAsc: "M.08 6.07 6.5.01l6.42 6.06Zm0 0",
52
+ SortDesc: "M1.76 5 6 .76 10.24 5z",
53
+ Sort: "M10.24 7 6 11.24 1.76 7zM1.76 5 6 .76 10.24 5z",
54
+ // single-use icons in Widgets
55
+ Calendar: "M10.5 2V0h-1v2h-3V0h-1v2H0v14h16V2zM15 15H1V3h14zM3 6h2v2H3zm4 0h2v2H7zm4 0h2v2h-2zm-8 4h2v2H3zm4 0h2v2H7zm4 0h2v2h-2z",
56
+ ColorPicker: "M15.41.57a2.05 2.05 0 0 0-2.82 0l-2.12 2.12-1.42-1.42-.7.71L14 7.64l.7-.7-1.4-1.42 2.1-2.12a2 2 0 0 0 0-2.83zm-.69 2.11L12.59 4.8l-1.42-1.42 2.12-2.12a1 1 0 0 1 1.42 1.42zM0 13v3h3l9-9-3-3zm2.59 2H1v-1.58l8-8L10.59 7z",
57
+ CurrentStep: "M16 8a8 8 0 0 1-8 8 8 8 0 0 1-8-8 8 8 0 0 1 8-8 8 8 0 0 1 8 8",
58
+ Delete: "M12 1H4V0h8zm4 1v1h-2.1L13 16H3L2.1 3H0V2zm-3 1H3.1L4 15h8.1z",
59
+ Doc: "M9 0H2v16h12V5zm3.6 5H9V1.4zm.4 10H3V1h5v5h5z",
60
+ Edit: "M13.17 7.07 8.93 2.83 11.76 0 16 4.24zm-2.83-4.24 2.83 2.83 1.42-1.42-2.83-2.83zm-2.7 2.7L1 12.16V15h2.83l6.65-6.65-2.83-2.83m-.01-1.4 4.24 4.24L4.24 16H0v-4.24z",
61
+ Filters: "M1 2v1.6l6 6.1V14h2V9.7l6-6.1V2zM0 1h16v3l-6 6v5H6v-4.9L0 4z",
62
+ Fullscreen: "M16 0v4.5h-1V1.7l-4.65 4.65-.7-.7L14.29 1H11.5V0zM4.5 1V0H0v4.5h1V1.7l4.65 4.65.7-.7L1.71 1zM15 14.3l-4.65-4.65-.7.7L14.29 15H11.5v1H16v-4.5h-1zM5.65 9.64 1 14.29V11.5H0V16h4.5v-1H1.7l4.65-4.65z",
63
+ Menu: "M1 2v1.6l6 6.1V14h2V9.7l6-6.1V2zM0 1h16v3l-6 6v5H6v-4.9L0 4z",
64
+ OtherStep: "M12 8a4 4 0 0 1-4 4 4 4 0 0 1-4-4 4 4 0 0 1 4-4 4 4 0 0 1 4 4",
65
+ Time: "M8 15a7.02 7.02 0 1 0-4.94-2.06A7 7 0 0 0 8 15m0 1a8 8 0 1 1 8-8 8 8 0 0 1-8 8m2.65-4.65L7.5 8.21V3h1v4.8l2.85 2.85z",
66
+ User: "M9.6 8.7A4.5 4.5 0 0 0 8.04 0H8a4.5 4.5 0 0 0-4.5 4.46v.04a4.6 4.6 0 0 0 2.9 4.2A7.7 7.7 0 0 0 .5 16h1a6.5 6.5 0 0 1 6.47-6.5H8a6.5 6.5 0 0 1 6.5 6.47V16h1a7.5 7.5 0 0 0-5.9-7.3M4.5 4.5A3.54 3.54 0 0 1 8 1a3.54 3.54 0 0 1 3.5 3.5A3.54 3.54 0 0 1 8 8a3.54 3.54 0 0 1-3.5-3.5"
67
+ };
68
+ function HvIconInternal(props, ref) {
69
+ const { name, title, "aria-label": ariaLabel, children, ...others } = props;
70
+ const { activeTheme } = uikitReactUtils.useTheme();
71
+ const iconsPathMap = React.useMemo(
72
+ () => ({ ...defaultIconPathMap, ...activeTheme?.icons }),
73
+ [activeTheme?.icons]
74
+ );
75
+ const isDefaultIcon = iconsPathMap[name] === defaultIconPathMap[name];
76
+ return (
77
+ // @ts-expect-error `rotate` is fine
78
+ /* @__PURE__ */ jsxRuntime.jsxs(
79
+ Svg,
80
+ {
81
+ ref,
82
+ "data-name": name,
83
+ viewBox: !isDefaultIcon && activeTheme?.icons?.viewBox || "0 0 16 16",
84
+ focusable: false,
85
+ "aria-label": ariaLabel,
86
+ role: title || ariaLabel ? "img" : "none",
87
+ ...others,
88
+ children: [
89
+ title ? /* @__PURE__ */ jsxRuntime.jsx("title", { children: title }) : null,
90
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: iconsPathMap[name] })
91
+ ]
92
+ }
93
+ )
94
+ );
95
+ }
96
+ const HvIcon = React.memo(React.forwardRef(HvIconInternal));
97
+ exports.HvIcon = HvIcon;
98
+ exports.SvgBase = SvgBase;
@@ -3,9 +3,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const React = require("react");
5
5
  const SnackbarContent = require("@mui/material/SnackbarContent");
6
- const uikitReactIcons = require("@hitachivantara/uikit-react-icons");
7
6
  const uikitReactUtils = require("@hitachivantara/uikit-react-utils");
8
7
  const uikitStyles = require("@hitachivantara/uikit-styles");
8
+ const icons = require("../icons.cjs");
9
9
  const iconVariant = require("./iconVariant.cjs");
10
10
  const ActionsGeneric = require("../ActionsGeneric/ActionsGeneric.cjs");
11
11
  const Button = require("../Button/Button.cjs");
@@ -47,7 +47,9 @@ const { useClasses } = uikitReactUtils.createClasses("HvCallout", {
47
47
  overflow: "hidden",
48
48
  wordBreak: "break-word"
49
49
  },
50
- messageIcon: {},
50
+ messageIcon: {
51
+ lineHeight: 0
52
+ },
51
53
  messageTitle: {
52
54
  display: "block",
53
55
  fontWeight: uikitStyles.theme.fontWeights.semibold
@@ -130,7 +132,7 @@ const HvCallout = React.forwardRef(function HvCallout2(props, ref) {
130
132
  "aria-label": "Close",
131
133
  onClick: (evt) => onClose?.(evt, "clickaway"),
132
134
  ...actionProps,
133
- children: /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.Close, { size: "XS" })
135
+ children: /* @__PURE__ */ jsxRuntime.jsx(icons.HvIcon, { size: "xs", name: "Close" })
134
136
  }
135
137
  ),
136
138
  showCustomActions && actionsContent
@@ -1,19 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
- const uikitReactIcons = require("@hitachivantara/uikit-react-icons");
4
+ const icons = require("../icons.cjs");
5
+ const variantIconMap = {
6
+ success: "Success",
7
+ warning: "Caution",
8
+ error: "Fail",
9
+ info: "Info"
10
+ };
5
11
  const iconVariant = (variant, color) => {
6
- switch (variant) {
7
- case "success":
8
- return /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.Success, { color });
9
- case "warning":
10
- return /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.Caution, { color });
11
- case "error":
12
- return /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.Fail, { color });
13
- case "info":
14
- return /* @__PURE__ */ jsxRuntime.jsx(uikitReactIcons.Info, { color });
15
- default:
16
- return null;
17
- }
12
+ if (variant === "default" || variant === "accent") return null;
13
+ return /* @__PURE__ */ jsxRuntime.jsx(icons.HvIcon, { name: variantIconMap[variant], color });
18
14
  };
19
15
  exports.iconVariant = iconVariant;