@hitachivantara/uikit-react-core 5.42.1 → 5.44.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 (155) hide show
  1. package/dist/cjs/Accordion/Accordion.cjs +3 -1
  2. package/dist/cjs/Accordion/Accordion.cjs.map +1 -1
  3. package/dist/cjs/AppSwitcher/AppSwitcher.cjs +3 -3
  4. package/dist/cjs/AppSwitcher/AppSwitcher.cjs.map +1 -1
  5. package/dist/cjs/BaseDropdown/BaseDropdown.cjs +1 -0
  6. package/dist/cjs/BaseDropdown/BaseDropdown.cjs.map +1 -1
  7. package/dist/cjs/BaseDropdown/BaseDropdown.styles.cjs +2 -1
  8. package/dist/cjs/BaseDropdown/BaseDropdown.styles.cjs.map +1 -1
  9. package/dist/cjs/Button/Button.styles.cjs +1 -0
  10. package/dist/cjs/Button/Button.styles.cjs.map +1 -1
  11. package/dist/cjs/Calendar/SingleCalendar/CalendarCell.cjs.map +1 -1
  12. package/dist/cjs/Calendar/SingleCalendar/SingleCalendar.cjs.map +1 -1
  13. package/dist/cjs/Calendar/model.cjs.map +1 -1
  14. package/dist/cjs/Calendar/utils.cjs.map +1 -1
  15. package/dist/cjs/Card/Card.cjs +1 -1
  16. package/dist/cjs/Card/Card.cjs.map +1 -1
  17. package/dist/cjs/ColorPicker/Fields/Fields.cjs.map +1 -1
  18. package/dist/cjs/DatePicker/DatePicker.styles.cjs +4 -1
  19. package/dist/cjs/DatePicker/DatePicker.styles.cjs.map +1 -1
  20. package/dist/cjs/DatePicker/useVisibleDate.cjs.map +1 -1
  21. package/dist/cjs/Dialog/Content/Content.cjs +3 -1
  22. package/dist/cjs/Dialog/Content/Content.cjs.map +1 -1
  23. package/dist/cjs/Drawer/Drawer.cjs +2 -4
  24. package/dist/cjs/Drawer/Drawer.cjs.map +1 -1
  25. package/dist/cjs/FileUploader/DropZone/DropZone.cjs +3 -4
  26. package/dist/cjs/FileUploader/DropZone/DropZone.cjs.map +1 -1
  27. package/dist/cjs/Focus/utils.cjs.map +1 -1
  28. package/dist/cjs/Forms/FormElement/utils/FormUtils.cjs.map +1 -1
  29. package/dist/cjs/Header/Navigation/utils/FocusContext.cjs +1 -2
  30. package/dist/cjs/Header/Navigation/utils/FocusContext.cjs.map +1 -1
  31. package/dist/cjs/Link/Link.cjs +6 -5
  32. package/dist/cjs/Link/Link.cjs.map +1 -1
  33. package/dist/cjs/List/utils.cjs.map +1 -1
  34. package/dist/cjs/QueryBuilder/Rule/Value/DateTimeValue/DateTimeValue.cjs.map +1 -1
  35. package/dist/cjs/ScrollTo/useScrollTo.cjs.map +1 -1
  36. package/dist/cjs/Slider/Slider.cjs +1 -1
  37. package/dist/cjs/Slider/Slider.cjs.map +1 -1
  38. package/dist/cjs/Snackbar/Snackbar.cjs +8 -8
  39. package/dist/cjs/Snackbar/Snackbar.cjs.map +1 -1
  40. package/dist/cjs/Stack/Stack.cjs.map +1 -1
  41. package/dist/cjs/Switch/Switch.cjs.map +1 -1
  42. package/dist/cjs/Table/Table.cjs.map +1 -1
  43. package/dist/cjs/Table/TableCell/TableCell.styles.cjs +2 -5
  44. package/dist/cjs/Table/TableCell/TableCell.styles.cjs.map +1 -1
  45. package/dist/cjs/Table/TableHeader/TableHeader.cjs +2 -1
  46. package/dist/cjs/Table/TableHeader/TableHeader.cjs.map +1 -1
  47. package/dist/cjs/Table/TableHeader/utils.cjs +1 -3
  48. package/dist/cjs/Table/TableHeader/utils.cjs.map +1 -1
  49. package/dist/cjs/Table/hooks/useResizeColumns.cjs +4 -0
  50. package/dist/cjs/Table/hooks/useResizeColumns.cjs.map +1 -1
  51. package/dist/cjs/Table/hooks/useTable.cjs +0 -4
  52. package/dist/cjs/Table/hooks/useTable.cjs.map +1 -1
  53. package/dist/cjs/Tag/Tag.cjs +7 -8
  54. package/dist/cjs/Tag/Tag.cjs.map +1 -1
  55. package/dist/cjs/TextArea/TextArea.cjs +2 -2
  56. package/dist/cjs/TextArea/TextArea.cjs.map +1 -1
  57. package/dist/cjs/TimeAgo/formatUtils.cjs.map +1 -1
  58. package/dist/cjs/TimeAgo/useTimeAgo.cjs +1 -1
  59. package/dist/cjs/TimeAgo/useTimeAgo.cjs.map +1 -1
  60. package/dist/cjs/TimeAgo/useTimeout.cjs.map +1 -1
  61. package/dist/cjs/TimePicker/Placeholder.cjs.map +1 -1
  62. package/dist/cjs/Typography/Typography.styles.cjs +1 -0
  63. package/dist/cjs/Typography/Typography.styles.cjs.map +1 -1
  64. package/dist/cjs/hooks/useUniqueId.cjs +29 -4
  65. package/dist/cjs/hooks/useUniqueId.cjs.map +1 -1
  66. package/dist/cjs/index.cjs +0 -4
  67. package/dist/cjs/index.cjs.map +1 -1
  68. package/dist/cjs/utils/ConditionalWrapper.cjs +5 -1
  69. package/dist/cjs/utils/ConditionalWrapper.cjs.map +1 -1
  70. package/dist/cjs/utils/browser.cjs.map +1 -1
  71. package/dist/cjs/utils/focusableElementFinder.cjs.map +1 -1
  72. package/dist/cjs/utils/getComponentName.cjs.map +1 -1
  73. package/dist/cjs/utils/hexToRgbA.cjs.map +1 -1
  74. package/dist/cjs/utils/multiSelectionEventHandler.cjs.map +1 -1
  75. package/dist/cjs/utils/setId.cjs.map +1 -1
  76. package/dist/cjs/utils/theme.cjs.map +1 -1
  77. package/dist/cjs/utils/wrapperTooltip.cjs.map +1 -1
  78. package/dist/esm/Accordion/Accordion.mjs +3 -1
  79. package/dist/esm/Accordion/Accordion.mjs.map +1 -1
  80. package/dist/esm/AppSwitcher/AppSwitcher.mjs +3 -3
  81. package/dist/esm/AppSwitcher/AppSwitcher.mjs.map +1 -1
  82. package/dist/esm/BaseDropdown/BaseDropdown.mjs +1 -0
  83. package/dist/esm/BaseDropdown/BaseDropdown.mjs.map +1 -1
  84. package/dist/esm/BaseDropdown/BaseDropdown.styles.mjs +2 -1
  85. package/dist/esm/BaseDropdown/BaseDropdown.styles.mjs.map +1 -1
  86. package/dist/esm/Button/Button.styles.mjs +1 -0
  87. package/dist/esm/Button/Button.styles.mjs.map +1 -1
  88. package/dist/esm/Calendar/SingleCalendar/CalendarCell.mjs.map +1 -1
  89. package/dist/esm/Calendar/SingleCalendar/SingleCalendar.mjs.map +1 -1
  90. package/dist/esm/Calendar/model.mjs.map +1 -1
  91. package/dist/esm/Calendar/utils.mjs.map +1 -1
  92. package/dist/esm/Card/Card.mjs +2 -2
  93. package/dist/esm/Card/Card.mjs.map +1 -1
  94. package/dist/esm/ColorPicker/Fields/Fields.mjs.map +1 -1
  95. package/dist/esm/DatePicker/DatePicker.styles.mjs +4 -1
  96. package/dist/esm/DatePicker/DatePicker.styles.mjs.map +1 -1
  97. package/dist/esm/DatePicker/useVisibleDate.mjs.map +1 -1
  98. package/dist/esm/Dialog/Content/Content.mjs +3 -1
  99. package/dist/esm/Dialog/Content/Content.mjs.map +1 -1
  100. package/dist/esm/Drawer/Drawer.mjs +2 -4
  101. package/dist/esm/Drawer/Drawer.mjs.map +1 -1
  102. package/dist/esm/FileUploader/DropZone/DropZone.mjs +3 -4
  103. package/dist/esm/FileUploader/DropZone/DropZone.mjs.map +1 -1
  104. package/dist/esm/Focus/utils.mjs.map +1 -1
  105. package/dist/esm/Forms/FormElement/utils/FormUtils.mjs.map +1 -1
  106. package/dist/esm/Header/Navigation/utils/FocusContext.mjs +1 -2
  107. package/dist/esm/Header/Navigation/utils/FocusContext.mjs.map +1 -1
  108. package/dist/esm/Link/Link.mjs +6 -5
  109. package/dist/esm/Link/Link.mjs.map +1 -1
  110. package/dist/esm/List/utils.mjs.map +1 -1
  111. package/dist/esm/QueryBuilder/Rule/Value/DateTimeValue/DateTimeValue.mjs.map +1 -1
  112. package/dist/esm/ScrollTo/useScrollTo.mjs.map +1 -1
  113. package/dist/esm/Slider/Slider.mjs +1 -1
  114. package/dist/esm/Slider/Slider.mjs.map +1 -1
  115. package/dist/esm/Snackbar/Snackbar.mjs +8 -8
  116. package/dist/esm/Snackbar/Snackbar.mjs.map +1 -1
  117. package/dist/esm/Stack/Stack.mjs.map +1 -1
  118. package/dist/esm/Switch/Switch.mjs.map +1 -1
  119. package/dist/esm/Table/Table.mjs.map +1 -1
  120. package/dist/esm/Table/TableCell/TableCell.styles.mjs +2 -5
  121. package/dist/esm/Table/TableCell/TableCell.styles.mjs.map +1 -1
  122. package/dist/esm/Table/TableHeader/TableHeader.mjs +2 -1
  123. package/dist/esm/Table/TableHeader/TableHeader.mjs.map +1 -1
  124. package/dist/esm/Table/TableHeader/utils.mjs +1 -3
  125. package/dist/esm/Table/TableHeader/utils.mjs.map +1 -1
  126. package/dist/esm/Table/hooks/useResizeColumns.mjs +4 -0
  127. package/dist/esm/Table/hooks/useResizeColumns.mjs.map +1 -1
  128. package/dist/esm/Table/hooks/useTable.mjs +0 -2
  129. package/dist/esm/Table/hooks/useTable.mjs.map +1 -1
  130. package/dist/esm/Tag/Tag.mjs +7 -8
  131. package/dist/esm/Tag/Tag.mjs.map +1 -1
  132. package/dist/esm/TextArea/TextArea.mjs +2 -2
  133. package/dist/esm/TextArea/TextArea.mjs.map +1 -1
  134. package/dist/esm/TimeAgo/formatUtils.mjs.map +1 -1
  135. package/dist/esm/TimeAgo/useTimeAgo.mjs +1 -1
  136. package/dist/esm/TimeAgo/useTimeAgo.mjs.map +1 -1
  137. package/dist/esm/TimeAgo/useTimeout.mjs.map +1 -1
  138. package/dist/esm/TimePicker/Placeholder.mjs.map +1 -1
  139. package/dist/esm/Typography/Typography.styles.mjs +1 -0
  140. package/dist/esm/Typography/Typography.styles.mjs.map +1 -1
  141. package/dist/esm/hooks/useUniqueId.mjs +11 -3
  142. package/dist/esm/hooks/useUniqueId.mjs.map +1 -1
  143. package/dist/esm/index.mjs +1 -2
  144. package/dist/esm/utils/ConditionalWrapper.mjs +5 -1
  145. package/dist/esm/utils/ConditionalWrapper.mjs.map +1 -1
  146. package/dist/esm/utils/browser.mjs.map +1 -1
  147. package/dist/esm/utils/focusableElementFinder.mjs.map +1 -1
  148. package/dist/esm/utils/getComponentName.mjs.map +1 -1
  149. package/dist/esm/utils/hexToRgbA.mjs.map +1 -1
  150. package/dist/esm/utils/multiSelectionEventHandler.mjs.map +1 -1
  151. package/dist/esm/utils/setId.mjs.map +1 -1
  152. package/dist/esm/utils/theme.mjs.map +1 -1
  153. package/dist/esm/utils/wrapperTooltip.mjs.map +1 -1
  154. package/dist/types/index.d.ts +20 -37
  155. package/package.json +5 -5
@@ -1 +1 @@
1
- {"version":3,"file":"theme.mjs","sources":["../../../src/utils/theme.ts"],"sourcesContent":["import { CSSProperties } from \"react\";\n\nimport {\n themes,\n HvThemeColorModeStructure,\n HvThemeStructure,\n theme,\n} from \"@hitachivantara/uikit-styles\";\n\nimport { HvTheme, HvCreateThemeProps } from \"../types/theme\";\n\nimport { getElementById } from \"./document\";\n\n/**\n * Sets the element style properties.\n */\nconst setElementStyle = (element: HTMLElement, style: CSSProperties) => {\n Object.entries(style).forEach(([property, value]) => {\n element.style[property] = value;\n });\n};\n\n/**\n * Sets the element attributes and style for a theme and color mode.\n */\nexport const setElementAttrs = (\n themeName: string,\n modeName: string,\n colorScheme: string,\n themeRootId?: string\n) => {\n const element = themeRootId\n ? document.getElementById(themeRootId)\n : document.body;\n\n if (element) {\n element.setAttribute(`data-theme`, themeName);\n element.setAttribute(`data-color-mode`, modeName);\n\n // Set default properties for all components to inherit\n setElementStyle(element, {\n colorScheme,\n backgroundColor: theme.colors.backgroundColor,\n accentColor: theme.colors.secondary,\n color: theme.colors.secondary,\n fontSize: theme.typography.body.fontSize,\n fontWeight: theme.typography.body.fontWeight,\n lineHeight: theme.typography.body.lineHeight,\n letterSpacing: theme.typography.body.letterSpacing,\n fontFamily: theme.fontFamily.body,\n });\n }\n};\n\n/**\n * Applies customizations to a theme.\n */\nconst applyThemeCustomizations = (obj: object, customizations: object) => {\n const isObject = (val: any) =>\n val && typeof val === \"object\" && !Array.isArray(val);\n\n // Customized theme\n const customizedTheme = { ...obj };\n\n // Add new values to the theme or replace values\n Object.keys(customizations).forEach((key) => {\n if (customizedTheme[key]) {\n if (isObject(customizedTheme[key]) && isObject(customizations[key])) {\n customizedTheme[key] = applyThemeCustomizations(\n customizedTheme[key],\n customizations[key]\n );\n } else if (typeof customizedTheme[key] === typeof customizations[key]) {\n customizedTheme[key] = customizations[key];\n }\n } else {\n customizedTheme[key] = customizations[key];\n }\n });\n\n return customizedTheme;\n};\n\n/**\n * Creates a customized theme based on the base theme and customizations given.\n * For the color modes, the colors that are not defined will be replaced by the values from the dawn mode of the base theme.\n */\nexport const createTheme = (\n props: HvCreateThemeProps\n): HvTheme | HvThemeStructure => {\n const {\n name,\n base = \"ds5\",\n inheritColorModes = true,\n ...customizations\n } = props;\n\n // Apply customizations to the base theme\n const customizedTheme: HvTheme | HvThemeStructure = customizations\n ? (applyThemeCustomizations(themes[base], customizations) as HvTheme)\n : { ...themes[base] };\n\n // Set theme name\n customizedTheme.name = name.trim();\n // Set theme base\n customizedTheme.base = base;\n\n // Fill new color modes with missing colors\n if (customizations) {\n Object.keys(customizedTheme.colors.modes).forEach((mode) => {\n if (!themes[base].colors.modes[mode]) {\n customizedTheme.colors.modes[mode] = {\n ...themes[base].colors.modes.dawn,\n ...(customizedTheme.colors.modes[mode] as Partial<\n HvThemeColorModeStructure & { [key: string]: string }\n >),\n };\n }\n });\n }\n\n // If the flag `inheritColorModes` is false and customizations were given for the color modes,\n // we're removing any color modes that might have been inherited\n if (!inheritColorModes && customizations.colors?.modes) {\n Object.keys(customizedTheme.colors.modes).forEach((mode) => {\n if (!Object.keys(customizations.colors?.modes || {}).includes(mode)) {\n delete customizedTheme.colors.modes[mode];\n }\n });\n }\n\n // Created theme\n return customizedTheme;\n};\n\n/**\n * Process the themes provided to the HvProvider:\n * - Cleans themes with the same name\n * - Returns the default if the list is empty (ds5)\n */\nexport const processThemes = (\n themesList?: (HvTheme | HvThemeStructure)[]\n): (HvTheme | HvThemeStructure)[] => {\n if (themesList && Array.isArray(themesList) && themesList.length > 0) {\n const list: (HvTheme | HvThemeStructure)[] = [];\n\n themesList.forEach((thm) => {\n const i: number = list.findIndex(\n (t) => t.name.trim() === thm.name.trim()\n );\n\n if (i !== -1) {\n list.splice(i, 1);\n list.push(thm);\n } else {\n list.push(thm);\n }\n });\n\n // Cleaned themes\n return list;\n }\n // DS5\n return [themes.ds5];\n};\n\nexport const getVarValue = (cssVar: string, rootElementId?: string) => {\n const root = getElementById(rootElementId || \"hv-root\");\n if (!root) return undefined;\n\n return getComputedStyle(root)\n .getPropertyValue(cssVar.replace(\"var(\", \"\").replace(\")\", \"\"))\n .trim();\n};\n"],"names":[],"mappings":";;AAgBA,MAAM,kBAAkB,CAAC,SAAsB,UAAyB;AAC/D,SAAA,QAAQ,KAAK,EAAE,QAAQ,CAAC,CAAC,UAAU,KAAK,MAAM;AAC3C,YAAA,MAAM,QAAQ,IAAI;AAAA,EAAA,CAC3B;AACH;AAKO,MAAM,kBAAkB,CAC7B,WACA,UACA,aACA,gBACG;AACH,QAAM,UAAU,cACZ,SAAS,eAAe,WAAW,IACnC,SAAS;AAEb,MAAI,SAAS;AACH,YAAA,aAAa,cAAc,SAAS;AACpC,YAAA,aAAa,mBAAmB,QAAQ;AAGhD,oBAAgB,SAAS;AAAA,MACvB;AAAA,MACA,iBAAiB,MAAM,OAAO;AAAA,MAC9B,aAAa,MAAM,OAAO;AAAA,MAC1B,OAAO,MAAM,OAAO;AAAA,MACpB,UAAU,MAAM,WAAW,KAAK;AAAA,MAChC,YAAY,MAAM,WAAW,KAAK;AAAA,MAClC,YAAY,MAAM,WAAW,KAAK;AAAA,MAClC,eAAe,MAAM,WAAW,KAAK;AAAA,MACrC,YAAY,MAAM,WAAW;AAAA,IAAA,CAC9B;AAAA,EACH;AACF;AAKA,MAAM,2BAA2B,CAAC,KAAa,mBAA2B;AAClE,QAAA,WAAW,CAAC,QAChB,OAAO,OAAO,QAAQ,YAAY,CAAC,MAAM,QAAQ,GAAG;AAGhD,QAAA,kBAAkB,EAAE,GAAG;AAG7B,SAAO,KAAK,cAAc,EAAE,QAAQ,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gBAAgB,OAAO,MAAM,IAAI;AAAA,MAC1C;AAAA,IAAA,CACD;AAAA,EACH;AAGO,SAAA;AACT;AAOa,MAAA,gBAAgB,CAC3B,eACmC;AACnC,MAAI,cAAc,MAAM,QAAQ,UAAU,KAAK,WAAW,SAAS,GAAG;AACpE,UAAM,OAAuC,CAAA;AAElC,eAAA,QAAQ,CAAC,QAAQ;AAC1B,YAAM,IAAY,KAAK;AAAA,QACrB,CAAC,MAAM,EAAE,KAAK,WAAW,IAAI,KAAK,KAAK;AAAA,MAAA;AAGzC,UAAI,MAAM,IAAI;AACP,aAAA,OAAO,GAAG,CAAC;AAChB,aAAK,KAAK,GAAG;AAAA,MAAA,OACR;AACL,aAAK,KAAK,GAAG;AAAA,MACf;AAAA,IAAA,CACD;AAGM,WAAA;AAAA,EACT;AAEO,SAAA,CAAC,OAAO,GAAG;AACpB;AAEa,MAAA,cAAc,CAAC,QAAgB,kBAA2B;AAC/D,QAAA,OAAO,eAAe,iBAAiB,SAAS;AACtD,MAAI,CAAC;AAAa,WAAA;AAElB,SAAO,iBAAiB,IAAI,EACzB,iBAAiB,OAAO,QAAQ,QAAQ,EAAE,EAAE,QAAQ,KAAK,EAAE,CAAC,EAC5D,KAAK;AACV;"}
1
+ {"version":3,"file":"theme.mjs","sources":["../../../src/utils/theme.ts"],"sourcesContent":["import { CSSProperties } from \"react\";\n\nimport {\n themes,\n HvThemeColorModeStructure,\n HvThemeStructure,\n theme,\n} from \"@hitachivantara/uikit-styles\";\n\nimport { HvTheme, HvCreateThemeProps } from \"../types/theme\";\n\nimport { getElementById } from \"./document\";\n\n/**\n * Sets the element style properties.\n */\nconst setElementStyle = (element: HTMLElement, style: CSSProperties) => {\n Object.entries(style).forEach(([property, value]) => {\n element.style[property] = value;\n });\n};\n\n/**\n * Sets the element attributes and style for a theme and color mode.\n */\nexport const setElementAttrs = (\n themeName: string,\n modeName: string,\n colorScheme: string,\n themeRootId?: string\n) => {\n const element = themeRootId\n ? document.getElementById(themeRootId)\n : document.body;\n\n if (element) {\n element.setAttribute(`data-theme`, themeName);\n element.setAttribute(`data-color-mode`, modeName);\n\n // Set default properties for all components to inherit\n setElementStyle(element, {\n colorScheme,\n backgroundColor: theme.colors.backgroundColor,\n accentColor: theme.colors.secondary,\n color: theme.colors.secondary,\n fontSize: theme.typography.body.fontSize,\n fontWeight: theme.typography.body.fontWeight,\n lineHeight: theme.typography.body.lineHeight,\n letterSpacing: theme.typography.body.letterSpacing,\n fontFamily: theme.fontFamily.body,\n });\n }\n};\n\n/**\n * Applies customizations to a theme.\n */\nconst applyThemeCustomizations = (obj: any, customizations: any) => {\n const isObject = (val: any) =>\n val && typeof val === \"object\" && !Array.isArray(val);\n\n // Customized theme\n const customizedTheme = { ...obj };\n\n // Add new values to the theme or replace values\n Object.keys(customizations).forEach((key) => {\n if (customizedTheme[key]) {\n if (isObject(customizedTheme[key]) && isObject(customizations[key])) {\n customizedTheme[key] = applyThemeCustomizations(\n customizedTheme[key],\n customizations[key]\n );\n } else if (typeof customizedTheme[key] === typeof customizations[key]) {\n customizedTheme[key] = customizations[key];\n }\n } else {\n customizedTheme[key] = customizations[key];\n }\n });\n\n return customizedTheme;\n};\n\n/**\n * Creates a customized theme based on the base theme and customizations given.\n * For the color modes, the colors that are not defined will be replaced by the values from the dawn mode of the base theme.\n */\nexport const createTheme = (\n props: HvCreateThemeProps\n): HvTheme | HvThemeStructure => {\n const {\n name,\n base = \"ds5\",\n inheritColorModes = true,\n ...customizations\n } = props;\n\n // Apply customizations to the base theme\n const customizedTheme: HvTheme | HvThemeStructure = customizations\n ? (applyThemeCustomizations(themes[base], customizations) as HvTheme)\n : { ...themes[base] };\n\n // Set theme name\n customizedTheme.name = name.trim();\n // Set theme base\n customizedTheme.base = base;\n\n // Fill new color modes with missing colors\n if (customizations) {\n Object.keys(customizedTheme.colors.modes).forEach((mode) => {\n if (!themes[base].colors.modes[mode]) {\n customizedTheme.colors.modes[mode] = {\n ...themes[base].colors.modes.dawn,\n ...(customizedTheme.colors.modes[mode] as Partial<\n HvThemeColorModeStructure & { [key: string]: string }\n >),\n };\n }\n });\n }\n\n // If the flag `inheritColorModes` is false and customizations were given for the color modes,\n // we're removing any color modes that might have been inherited\n if (!inheritColorModes && customizations.colors?.modes) {\n Object.keys(customizedTheme.colors.modes).forEach((mode) => {\n if (!Object.keys(customizations.colors?.modes || {}).includes(mode)) {\n delete customizedTheme.colors.modes[mode];\n }\n });\n }\n\n // Created theme\n return customizedTheme;\n};\n\n/**\n * Process the themes provided to the HvProvider:\n * - Cleans themes with the same name\n * - Returns the default if the list is empty (ds5)\n */\nexport const processThemes = (\n themesList?: (HvTheme | HvThemeStructure)[]\n): (HvTheme | HvThemeStructure)[] => {\n if (themesList && Array.isArray(themesList) && themesList.length > 0) {\n const list: (HvTheme | HvThemeStructure)[] = [];\n\n themesList.forEach((thm) => {\n const i: number = list.findIndex(\n (t) => t.name.trim() === thm.name.trim()\n );\n\n if (i !== -1) {\n list.splice(i, 1);\n list.push(thm);\n } else {\n list.push(thm);\n }\n });\n\n // Cleaned themes\n return list;\n }\n // DS5\n return [themes.ds5];\n};\n\nexport const getVarValue = (cssVar: string, rootElementId?: string) => {\n const root = getElementById(rootElementId || \"hv-root\");\n if (!root) return undefined;\n\n return getComputedStyle(root)\n .getPropertyValue(cssVar.replace(\"var(\", \"\").replace(\")\", \"\"))\n .trim();\n};\n"],"names":[],"mappings":";;AAgBA,MAAM,kBAAkB,CAAC,SAAsB,UAAyB;AAC/D,SAAA,QAAQ,KAAK,EAAE,QAAQ,CAAC,CAAC,UAAU,KAAK,MAAM;AAC3C,YAAA,MAAM,QAAQ,IAAI;AAAA,EAAA,CAC3B;AACH;AAKO,MAAM,kBAAkB,CAC7B,WACA,UACA,aACA,gBACG;AACH,QAAM,UAAU,cACZ,SAAS,eAAe,WAAW,IACnC,SAAS;AAEb,MAAI,SAAS;AACH,YAAA,aAAa,cAAc,SAAS;AACpC,YAAA,aAAa,mBAAmB,QAAQ;AAGhD,oBAA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AE,EAAE,QAAQ,KAAK,EAAE,CAAC,EAC5D,KAAK;AACV;"}
@@ -1 +1 @@
1
- {"version":3,"file":"wrapperTooltip.mjs","sources":["../../../src/utils/wrapperTooltip.tsx"],"sourcesContent":["import { withTooltip } from \"../hocs/withTooltip\";\n\nconst hideTooltip = (evt) => {\n const isOverFlow =\n evt.target.children.length > 1\n ? Array.of(...evt.target.children).some(\n (child) => child.scrollWidth > child.clientWidth\n )\n : evt.target.scrollWidth > evt.target.clientWidth;\n\n return !isOverFlow;\n};\n\nexport const wrapperTooltip = (hasTooltips, Component, label) => {\n const ComponentFunction = () => Component;\n return hasTooltips\n ? withTooltip(ComponentFunction, label, \"top\", hideTooltip)\n : ComponentFunction;\n};\n"],"names":[],"mappings":";AAEA,MAAM,cAAc,CAAC,QAAQ;AAC3B,QAAM,aACJ,IAAI,OAAO,SAAS,SAAS,IACzB,MAAM,GAAG,GAAG,IAAI,OAAO,QAAQ,EAAE;AAAA,IAC/B,CAAC,UAAU,MAAM,cAAc,MAAM;AAAA,EAAA,IAEvC,IAAI,OAAO,cAAc,IAAI,OAAO;AAE1C,SAAO,CAAC;AACV;AAEO,MAAM,iBAAiB,CAAC,aAAa,WAAW,UAAU;AAC/D,QAAM,oBAAoB,MAAM;AAChC,SAAO,cACH,YAAY,mBAAmB,OAAO,OAAO,WAAW,IACxD;AACN;"}
1
+ {"version":3,"file":"wrapperTooltip.mjs","sources":["../../../src/utils/wrapperTooltip.tsx"],"sourcesContent":["import { withTooltip } from \"../hocs/withTooltip\";\n\nconst hideTooltip = (evt: any) => {\n const isOverFlow =\n evt.target.children.length > 1\n ? Array.of(...evt.target.children).some(\n (child) => child.scrollWidth > child.clientWidth\n )\n : evt.target.scrollWidth > evt.target.clientWidth;\n\n return !isOverFlow;\n};\n\nexport const wrapperTooltip = (\n hasTooltips: boolean,\n Component: any,\n label: any\n) => {\n const ComponentFunction = () => Component;\n return hasTooltips\n ? withTooltip(ComponentFunction, label, \"top\", hideTooltip)\n : ComponentFunction;\n};\n"],"names":[],"mappings":";AAEA,MAAM,cAAc,CAAC,QAAa;AAChC,QAAM,aACJ,IAAI,OAAO,SAAS,SAAS,IACzB,MAAM,GAAG,GAAG,IAAI,OAAO,QAAQ,EAAE;AAAA,IAC/B,CAAC,UAAU,MAAM,cAAc,MAAM;AAAA,EAAA,IAEvC,IAAI,OAAO,cAAc,IAAI,OAAO;AAE1C,SAAO,CAAC;AACV;AAEO,MAAM,iBAAiB,CAC5B,aACA,WACA,UACG;AACH,QAAM,oBAAoB,MAAM;AAChC,SAAO,cACH,YAAY,mBAAmB,OAAO,OAAO,WAAW,IACxD;AACN;"}
@@ -398,11 +398,7 @@ export declare interface Breakpoint {
398
398
  spacing?: Spacing;
399
399
  }
400
400
 
401
- export declare const buildAriaPropsFromContext: (props: any, context: any, isInvalid: any, inputId: any) => {
402
- "aria-labelledby": any;
403
- "aria-describedby": any;
404
- "aria-controls": any;
405
- };
401
+ export declare const buildAriaPropsFromContext: (props: any, context: any, isInvalid: any, inputId: any) => React_2.AriaAttributes;
406
402
 
407
403
  export declare const buildFormElementPropsFromContext: (name: any, disabled: any, readOnly: any, required: any, context: any) => {
408
404
  name: any;
@@ -885,24 +881,15 @@ export declare const getBorderStyles: (color: string, rowBorderRadius: string) =
885
881
 
886
882
  export declare const getClasses: <T extends string, N extends string>(keys: T[], name: N) => { [P in T]: `${N}-${P}`; };
887
883
 
888
- export declare const getComponentName: (Component: any) => any;
884
+ export declare const getComponentName: (Component: React.FC) => string;
889
885
 
890
- /**
891
- * Get the first and last focusable element from a node.
892
- *
893
- * @param nodeId
894
- * @returns {{last: *, first: *}}
895
- */
886
+ /** Get the first and last focusable element from a node. */
896
887
  export declare const getFirstAndLastFocus: (node: any) => {
897
888
  first: any;
898
889
  last: any;
899
890
  };
900
891
 
901
- /**
902
- * Gets the list of focusable elements.
903
- * @param node
904
- * @returns {*|NodeListOf<HTMLElementTagNameMap[string]>|NodeListOf<*>|NodeListOf<SVGElementTagNameMap[string]>|*[]}
905
- */
892
+ /** Gets the list of focusable elements. */
906
893
  export declare const getFocusableList: (node: any) => any;
907
894
 
908
895
  export declare const getHeaderFooterPropsHook: (props: any, { column }: {
@@ -917,13 +904,8 @@ export declare const getIdReferenceFor: (formElementType: any, descriptors: any,
917
904
 
918
905
  export declare const getIdReferenceListFor: (formElementType: any, descriptors: any, filterFor?: null) => any;
919
906
 
920
- /**
921
- * Auxiliary function to find adjacent nodes to focus.
922
- *
923
- * @param nodeId
924
- * @returns {{prevFocus: *, nextFocus: *}}
925
- */
926
- export declare const getPrevNextFocus: (nodeId: any) => {
907
+ /** Auxiliary function to find adjacent nodes to focus. */
908
+ export declare const getPrevNextFocus: (nodeId?: string) => {
927
909
  nextFocus: any;
928
910
  prevFocus: any;
929
911
  };
@@ -1012,7 +994,7 @@ export declare const headerNavigationClasses: {
1012
994
  root: "HvHeader-Navigation-root";
1013
995
  };
1014
996
 
1015
- export declare const hexToRgbA: (hex: any, factor?: number) => string;
997
+ export declare const hexToRgbA: (hex: string, factor?: number) => string;
1016
998
 
1017
999
  export declare const horizontalScrollListItemClasses: {
1018
1000
  root: "HvHorizontalScrollListItem-root";
@@ -4340,7 +4322,7 @@ export declare const HvLink: (props: HvLinkProps) => JSX_2.Element;
4340
4322
  export declare type HvLinkClasses = ExtractNames<typeof useClasses_80>;
4341
4323
 
4342
4324
  export declare interface HvLinkProps extends HvBaseProps<HTMLAnchorElement, "onClick"> {
4343
- onClick?: (event: MouseEventHandler<HTMLAnchorElement>, data: any) => void | undefined;
4325
+ onClick?: (event: React.MouseEvent<HTMLAnchorElement>, data: any) => void | undefined;
4344
4326
  route?: string;
4345
4327
  data?: any;
4346
4328
  children: any;
@@ -7504,7 +7486,7 @@ export declare const inputClasses: {
7504
7486
 
7505
7487
  declare type InputElement = HTMLInputElement | HTMLTextAreaElement;
7506
7488
 
7507
- export declare const isBrowser: (browsers: any) => boolean | null;
7489
+ export declare const isBrowser: (browsers: string | string[]) => boolean | null;
7508
7490
 
7509
7491
  export declare const isInvalid: (compareState: HvFormStatus) => boolean;
7510
7492
 
@@ -7622,7 +7604,7 @@ export declare const multiButtonClasses: {
7622
7604
  button: "HvMultiButton-button";
7623
7605
  };
7624
7606
 
7625
- export declare const multiSelectionEventHandler: (evt: any, index: any, selectionAnchor: any, allValues: any, selectedState: any, selectionCheck: any) => any[];
7607
+ export declare const multiSelectionEventHandler: (evt: any, index: number, selectionAnchor: any, allValues: any[], selectedState: boolean[], selectionCheck: any) => any[];
7626
7608
 
7627
7609
  export declare type NavigationData<T extends React.ElementType = "a"> = ComponentProps<T> & Record<string, any> & {
7628
7610
  /** The id to be applied to the root element. */
@@ -7839,7 +7821,7 @@ export declare const setElementAttrs: (themeName: string, modeName: string, colo
7839
7821
 
7840
7822
  export declare const setId: (...args: any[]) => string | undefined;
7841
7823
 
7842
- export declare const setUid: (id: any, suffix: any) => string | undefined;
7824
+ export declare const setUid: (id: string, suffix: string) => string | undefined;
7843
7825
 
7844
7826
  export declare const simpleGridClasses: {
7845
7827
  root: "HvSimpleGrid-root";
@@ -7941,7 +7923,6 @@ export declare const tableCellClasses: {
7941
7923
  head: "HvTableCell-head";
7942
7924
  variantListactions: "HvTableCell-variantListactions";
7943
7925
  variantListcheckbox: "HvTableCell-variantListcheckbox";
7944
- stickyColumn: "HvTableCell-stickyColumn";
7945
7926
  variantList: "HvTableCell-variantList";
7946
7927
  footer: "HvTableCell-footer";
7947
7928
  resizable: "HvTableCell-resizable";
@@ -7955,6 +7936,7 @@ export declare const tableCellClasses: {
7955
7936
  variantCheckbox: "HvTableCell-variantCheckbox";
7956
7937
  variantActions: "HvTableCell-variantActions";
7957
7938
  variantExpand: "HvTableCell-variantExpand";
7939
+ stickyColumn: "HvTableCell-stickyColumn";
7958
7940
  stickyColumnMostLeft: "HvTableCell-stickyColumnMostLeft";
7959
7941
  stickyColumnLeastRight: "HvTableCell-stickyColumnLeastRight";
7960
7942
  groupColumnMostLeft: "HvTableCell-groupColumnMostLeft";
@@ -7982,7 +7964,6 @@ export declare const tableHeaderClasses: {
7982
7964
  body: "HvTableHeader-body";
7983
7965
  root: "HvTableHeader-root";
7984
7966
  head: "HvTableHeader-head";
7985
- stickyColumn: "HvTableHeader-stickyColumn";
7986
7967
  sortButton: "HvTableHeader-sortButton";
7987
7968
  variantList: "HvTableHeader-variantList";
7988
7969
  resizer: "HvTableHeader-resizer";
@@ -7997,6 +7978,7 @@ export declare const tableHeaderClasses: {
7997
7978
  variantCheckbox: "HvTableHeader-variantCheckbox";
7998
7979
  variantActions: "HvTableHeader-variantActions";
7999
7980
  variantExpand: "HvTableHeader-variantExpand";
7981
+ stickyColumn: "HvTableHeader-stickyColumn";
8000
7982
  stickyColumnMostLeft: "HvTableHeader-stickyColumnMostLeft";
8001
7983
  stickyColumnLeastRight: "HvTableHeader-stickyColumnLeastRight";
8002
7984
  groupColumnMostLeft: "HvTableHeader-groupColumnMostLeft";
@@ -9411,14 +9393,13 @@ declare const useClasses_47: (classesProp?: Partial<Record<"root" | "section" |
9411
9393
  cx: (...args: any) => string;
9412
9394
  };
9413
9395
 
9414
- declare const useClasses_48: (classesProp?: Partial<Record<"body" | "root" | "head" | "variantListactions" | "variantListcheckbox" | "stickyColumn" | "variantList" | "footer" | "resizable" | "alignLeft" | "alignCenter" | "alignRight" | "alignJustify" | "variantListHead" | "sorted" | "variantNone" | "variantCheckbox" | "variantActions" | "variantExpand" | "stickyColumnMostLeft" | "stickyColumnLeastRight" | "groupColumnMostLeft" | "groupColumnMostRight" | "resizing", string>>, addStatic?: boolean) => {
9396
+ declare const useClasses_48: (classesProp?: Partial<Record<"body" | "root" | "head" | "variantListactions" | "variantListcheckbox" | "variantList" | "footer" | "resizable" | "alignLeft" | "alignCenter" | "alignRight" | "alignJustify" | "variantListHead" | "sorted" | "variantNone" | "variantCheckbox" | "variantActions" | "variantExpand" | "stickyColumn" | "stickyColumnMostLeft" | "stickyColumnLeastRight" | "groupColumnMostLeft" | "groupColumnMostRight" | "resizing", string>>, addStatic?: boolean) => {
9415
9397
  classes: {
9416
9398
  body: string;
9417
9399
  root: string;
9418
9400
  head: string;
9419
9401
  variantListactions: string;
9420
9402
  variantListcheckbox: string;
9421
- stickyColumn: string;
9422
9403
  variantList: string;
9423
9404
  footer: string;
9424
9405
  resizable: string;
@@ -9432,6 +9413,7 @@ declare const useClasses_48: (classesProp?: Partial<Record<"body" | "root" | "he
9432
9413
  variantCheckbox: string;
9433
9414
  variantActions: string;
9434
9415
  variantExpand: string;
9416
+ stickyColumn: string;
9435
9417
  stickyColumnMostLeft: string;
9436
9418
  stickyColumnLeastRight: string;
9437
9419
  groupColumnMostLeft: string;
@@ -9479,12 +9461,11 @@ declare const useClasses_5: (classesProp?: Partial<Record<"root" | "counterDisab
9479
9461
  cx: (...args: any) => string;
9480
9462
  };
9481
9463
 
9482
- declare const useClasses_50: (classesProp?: Partial<Record<"body" | "root" | "head" | "stickyColumn" | "sortButton" | "variantList" | "resizer" | "footer" | "resizable" | "alignLeft" | "alignCenter" | "alignRight" | "alignJustify" | "sorted" | "variantNone" | "variantCheckbox" | "variantActions" | "variantExpand" | "stickyColumnMostLeft" | "stickyColumnLeastRight" | "groupColumnMostLeft" | "groupColumnMostRight" | "resizing" | "headerContent" | "headerText" | "headerParagraph" | "sortableHeaderText" | "sortable" | "sortIcon" | "alignFlexLeft" | "alignFlexRight" | "alignFlexCenter" | "alignFlexJustify", string>>, addStatic?: boolean) => {
9464
+ declare const useClasses_50: (classesProp?: Partial<Record<"body" | "root" | "head" | "sortButton" | "variantList" | "resizer" | "footer" | "resizable" | "alignLeft" | "alignCenter" | "alignRight" | "alignJustify" | "sorted" | "variantNone" | "variantCheckbox" | "variantActions" | "variantExpand" | "stickyColumn" | "stickyColumnMostLeft" | "stickyColumnLeastRight" | "groupColumnMostLeft" | "groupColumnMostRight" | "resizing" | "headerContent" | "headerText" | "headerParagraph" | "sortableHeaderText" | "sortable" | "sortIcon" | "alignFlexLeft" | "alignFlexRight" | "alignFlexCenter" | "alignFlexJustify", string>>, addStatic?: boolean) => {
9483
9465
  classes: {
9484
9466
  body: string;
9485
9467
  root: string;
9486
9468
  head: string;
9487
- stickyColumn: string;
9488
9469
  sortButton: string;
9489
9470
  variantList: string;
9490
9471
  resizer: string;
@@ -9499,6 +9480,7 @@ declare const useClasses_50: (classesProp?: Partial<Record<"body" | "root" | "he
9499
9480
  variantCheckbox: string;
9500
9481
  variantActions: string;
9501
9482
  variantExpand: string;
9483
+ stickyColumn: string;
9502
9484
  stickyColumnMostLeft: string;
9503
9485
  stickyColumnLeastRight: string;
9504
9486
  groupColumnMostLeft: string;
@@ -10496,6 +10478,7 @@ export declare interface UseHvPaginationTableInstance<D extends object> {
10496
10478
  export declare interface UseHvResizeColumnProps {
10497
10479
  resizable?: boolean;
10498
10480
  resizing?: boolean;
10481
+ resizerProps?: HTMLAttributes<HTMLDivElement>;
10499
10482
  }
10500
10483
 
10501
10484
  export declare const useHvResizeColumns: UseHvResizeColumnsProps;
@@ -10876,7 +10859,7 @@ declare interface UseTreeViewSelectionParameters<Multiple extends boolean | unde
10876
10859
  onNodeSelect?: (event: React_3.SyntheticEvent, nodeIds: Exclude<TreeViewSelectionValue<Multiple>, null>) => void;
10877
10860
  }
10878
10861
 
10879
- export declare const useUniqueId: (id?: string, idPrefix?: string) => string;
10862
+ export declare const useUniqueId: (deterministicId?: string, idPrefix?: string) => string;
10880
10863
 
10881
10864
  export declare const useWidth: () => Breakpoint_2;
10882
10865
 
@@ -10953,6 +10936,6 @@ export declare const warningTextClasses: {
10953
10936
 
10954
10937
  export declare const withTooltip: (Component: React.FunctionComponent, label: string | undefined, placement: HvTooltipPlacementType, hideTooltip?: ((event: React.MouseEvent<HTMLDivElement>) => boolean) | undefined, tooltipProps?: Partial<HvTooltipProps>, tooltipContainerProps?: HvBaseProps) => (props: any) => JSX_2.Element;
10955
10938
 
10956
- export declare const wrapperTooltip: (hasTooltips: any, Component: any, label: any) => ((props: any) => JSX_2.Element) | (() => any);
10939
+ export declare const wrapperTooltip: (hasTooltips: boolean, Component: any, label: any) => ((props: any) => JSX_2.Element) | (() => any);
10957
10940
 
10958
10941
  export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hitachivantara/uikit-react-core",
3
- "version": "5.42.1",
3
+ "version": "5.44.0",
4
4
  "private": false,
5
5
  "author": "Hitachi Vantara UI Kit Team",
6
6
  "description": "Core React components for the NEXT Design System.",
@@ -33,9 +33,9 @@
33
33
  "@emotion/css": "^11.11.2",
34
34
  "@emotion/serialize": "^1.1.2",
35
35
  "@emotion/utils": "^1.2.1",
36
- "@hitachivantara/uikit-react-icons": "^5.7.12",
37
- "@hitachivantara/uikit-react-shared": "^5.1.24",
38
- "@hitachivantara/uikit-styles": "^5.17.1",
36
+ "@hitachivantara/uikit-react-icons": "^5.7.13",
37
+ "@hitachivantara/uikit-react-shared": "^5.1.25",
38
+ "@hitachivantara/uikit-styles": "^5.17.2",
39
39
  "@internationalized/date": "^3.2.0",
40
40
  "@mui/base": "^5.0.0-beta.4",
41
41
  "@popperjs/core": "^2.11.8",
@@ -64,7 +64,7 @@
64
64
  "access": "public",
65
65
  "directory": "package"
66
66
  },
67
- "gitHead": "fd2250955494101d4f5d002e8e635726b15c1492",
67
+ "gitHead": "f3a25f1ed7d0a950dfa9e56c75efadd29f4ed128",
68
68
  "main": "dist/cjs/index.cjs",
69
69
  "exports": {
70
70
  ".": {