@hitachivantara/uikit-react-core 5.25.0 → 5.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/Forms/WarningText/WarningText.cjs +1 -0
- package/dist/cjs/components/Forms/WarningText/WarningText.cjs.map +1 -1
- package/dist/cjs/components/TagsInput/TagsInput.cjs +2 -2
- package/dist/cjs/components/TagsInput/TagsInput.cjs.map +1 -1
- package/dist/cjs/components/VerticalNavigation/Actions/Action.cjs +12 -5
- package/dist/cjs/components/VerticalNavigation/Actions/Action.cjs.map +1 -1
- package/dist/cjs/components/VerticalNavigation/Actions/Action.styles.cjs +31 -34
- package/dist/cjs/components/VerticalNavigation/Actions/Action.styles.cjs.map +1 -1
- package/dist/cjs/components/VerticalNavigation/Actions/Actions.cjs +10 -5
- package/dist/cjs/components/VerticalNavigation/Actions/Actions.cjs.map +1 -1
- package/dist/cjs/components/VerticalNavigation/Actions/Actions.styles.cjs +16 -19
- package/dist/cjs/components/VerticalNavigation/Actions/Actions.styles.cjs.map +1 -1
- package/dist/cjs/components/VerticalNavigation/Header/Header.cjs +13 -7
- package/dist/cjs/components/VerticalNavigation/Header/Header.cjs.map +1 -1
- package/dist/cjs/components/VerticalNavigation/Header/Header.styles.cjs +21 -37
- package/dist/cjs/components/VerticalNavigation/Header/Header.styles.cjs.map +1 -1
- package/dist/cjs/components/VerticalNavigation/Navigation/Navigation.cjs +13 -8
- package/dist/cjs/components/VerticalNavigation/Navigation/Navigation.cjs.map +1 -1
- package/dist/cjs/components/VerticalNavigation/Navigation/Navigation.styles.cjs +20 -17
- package/dist/cjs/components/VerticalNavigation/Navigation/Navigation.styles.cjs.map +1 -1
- package/dist/cjs/components/VerticalNavigation/NavigationPopup/NavigationPopup.styles.cjs +16 -10
- package/dist/cjs/components/VerticalNavigation/NavigationPopup/NavigationPopup.styles.cjs.map +1 -1
- package/dist/cjs/components/VerticalNavigation/NavigationPopup/NavigationPopupContainer.cjs +7 -1
- package/dist/cjs/components/VerticalNavigation/NavigationPopup/NavigationPopupContainer.cjs.map +1 -1
- package/dist/cjs/components/VerticalNavigation/NavigationSlider/NavigationSlider.cjs +10 -6
- package/dist/cjs/components/VerticalNavigation/NavigationSlider/NavigationSlider.cjs.map +1 -1
- package/dist/cjs/components/VerticalNavigation/NavigationSlider/NavigationSlider.styles.cjs +19 -22
- package/dist/cjs/components/VerticalNavigation/NavigationSlider/NavigationSlider.styles.cjs.map +1 -1
- package/dist/cjs/components/VerticalNavigation/TreeView/TreeView.cjs +8 -5
- package/dist/cjs/components/VerticalNavigation/TreeView/TreeView.cjs.map +1 -1
- package/dist/cjs/components/VerticalNavigation/TreeView/TreeView.styles.cjs +16 -17
- package/dist/cjs/components/VerticalNavigation/TreeView/TreeView.styles.cjs.map +1 -1
- package/dist/cjs/components/VerticalNavigation/TreeView/TreeViewItem.cjs +74 -49
- package/dist/cjs/components/VerticalNavigation/TreeView/TreeViewItem.cjs.map +1 -1
- package/dist/cjs/components/VerticalNavigation/TreeView/TreeViewItem.styles.cjs +106 -130
- package/dist/cjs/components/VerticalNavigation/TreeView/TreeViewItem.styles.cjs.map +1 -1
- package/dist/cjs/components/VerticalNavigation/VerticalNavigation.cjs +13 -7
- package/dist/cjs/components/VerticalNavigation/VerticalNavigation.cjs.map +1 -1
- package/dist/cjs/components/VerticalNavigation/VerticalNavigation.styles.cjs +36 -36
- package/dist/cjs/components/VerticalNavigation/VerticalNavigation.styles.cjs.map +1 -1
- package/dist/cjs/index.cjs +16 -16
- package/dist/esm/components/Forms/WarningText/WarningText.js +1 -0
- package/dist/esm/components/Forms/WarningText/WarningText.js.map +1 -1
- package/dist/esm/components/TagsInput/TagsInput.js +2 -2
- package/dist/esm/components/TagsInput/TagsInput.js.map +1 -1
- package/dist/esm/components/VerticalNavigation/Actions/Action.js +15 -7
- package/dist/esm/components/VerticalNavigation/Actions/Action.js.map +1 -1
- package/dist/esm/components/VerticalNavigation/Actions/Action.styles.js +31 -32
- package/dist/esm/components/VerticalNavigation/Actions/Action.styles.js.map +1 -1
- package/dist/esm/components/VerticalNavigation/Actions/Actions.js +13 -7
- package/dist/esm/components/VerticalNavigation/Actions/Actions.js.map +1 -1
- package/dist/esm/components/VerticalNavigation/Actions/Actions.styles.js +16 -17
- package/dist/esm/components/VerticalNavigation/Actions/Actions.styles.js.map +1 -1
- package/dist/esm/components/VerticalNavigation/Header/Header.js +16 -9
- package/dist/esm/components/VerticalNavigation/Header/Header.js.map +1 -1
- package/dist/esm/components/VerticalNavigation/Header/Header.styles.js +21 -35
- package/dist/esm/components/VerticalNavigation/Header/Header.styles.js.map +1 -1
- package/dist/esm/components/VerticalNavigation/Navigation/Navigation.js +16 -10
- package/dist/esm/components/VerticalNavigation/Navigation/Navigation.js.map +1 -1
- package/dist/esm/components/VerticalNavigation/Navigation/Navigation.styles.js +20 -15
- package/dist/esm/components/VerticalNavigation/Navigation/Navigation.styles.js.map +1 -1
- package/dist/esm/components/VerticalNavigation/NavigationPopup/NavigationPopup.styles.js +16 -10
- package/dist/esm/components/VerticalNavigation/NavigationPopup/NavigationPopup.styles.js.map +1 -1
- package/dist/esm/components/VerticalNavigation/NavigationPopup/NavigationPopupContainer.js +10 -3
- package/dist/esm/components/VerticalNavigation/NavigationPopup/NavigationPopupContainer.js.map +1 -1
- package/dist/esm/components/VerticalNavigation/NavigationSlider/NavigationSlider.js +13 -8
- package/dist/esm/components/VerticalNavigation/NavigationSlider/NavigationSlider.js.map +1 -1
- package/dist/esm/components/VerticalNavigation/NavigationSlider/NavigationSlider.styles.js +19 -20
- package/dist/esm/components/VerticalNavigation/NavigationSlider/NavigationSlider.styles.js.map +1 -1
- package/dist/esm/components/VerticalNavigation/TreeView/TreeView.js +11 -7
- package/dist/esm/components/VerticalNavigation/TreeView/TreeView.js.map +1 -1
- package/dist/esm/components/VerticalNavigation/TreeView/TreeView.styles.js +16 -15
- package/dist/esm/components/VerticalNavigation/TreeView/TreeView.styles.js.map +1 -1
- package/dist/esm/components/VerticalNavigation/TreeView/TreeViewItem.js +77 -51
- package/dist/esm/components/VerticalNavigation/TreeView/TreeViewItem.js.map +1 -1
- package/dist/esm/components/VerticalNavigation/TreeView/TreeViewItem.styles.js +106 -128
- package/dist/esm/components/VerticalNavigation/TreeView/TreeViewItem.styles.js.map +1 -1
- package/dist/esm/components/VerticalNavigation/VerticalNavigation.js +15 -8
- package/dist/esm/components/VerticalNavigation/VerticalNavigation.js.map +1 -1
- package/dist/esm/components/VerticalNavigation/VerticalNavigation.styles.js +36 -34
- package/dist/esm/components/VerticalNavigation/VerticalNavigation.styles.js.map +1 -1
- package/dist/esm/index.js +42 -42
- package/dist/types/index.d.ts +241 -174
- package/package.json +3 -3
- package/dist/cjs/components/VerticalNavigation/Actions/actionClasses.cjs +0 -8
- package/dist/cjs/components/VerticalNavigation/Actions/actionClasses.cjs.map +0 -1
- package/dist/cjs/components/VerticalNavigation/Actions/actionsClasses.cjs +0 -8
- package/dist/cjs/components/VerticalNavigation/Actions/actionsClasses.cjs.map +0 -1
- package/dist/cjs/components/VerticalNavigation/Header/headerClasses.cjs +0 -8
- package/dist/cjs/components/VerticalNavigation/Header/headerClasses.cjs.map +0 -1
- package/dist/cjs/components/VerticalNavigation/Navigation/navigationClasses.cjs +0 -8
- package/dist/cjs/components/VerticalNavigation/Navigation/navigationClasses.cjs.map +0 -1
- package/dist/cjs/components/VerticalNavigation/NavigationSlider/navigationSliderClasses.cjs +0 -8
- package/dist/cjs/components/VerticalNavigation/NavigationSlider/navigationSliderClasses.cjs.map +0 -1
- package/dist/cjs/components/VerticalNavigation/TreeView/treeViewClasses.cjs +0 -8
- package/dist/cjs/components/VerticalNavigation/TreeView/treeViewClasses.cjs.map +0 -1
- package/dist/cjs/components/VerticalNavigation/TreeView/treeViewItemClasses.cjs +0 -8
- package/dist/cjs/components/VerticalNavigation/TreeView/treeViewItemClasses.cjs.map +0 -1
- package/dist/cjs/components/VerticalNavigation/verticalNavigationClasses.cjs +0 -8
- package/dist/cjs/components/VerticalNavigation/verticalNavigationClasses.cjs.map +0 -1
- package/dist/cjs/utils/transientOptions.cjs +0 -7
- package/dist/cjs/utils/transientOptions.cjs.map +0 -1
- package/dist/esm/components/VerticalNavigation/Actions/actionClasses.js +0 -8
- package/dist/esm/components/VerticalNavigation/Actions/actionClasses.js.map +0 -1
- package/dist/esm/components/VerticalNavigation/Actions/actionsClasses.js +0 -8
- package/dist/esm/components/VerticalNavigation/Actions/actionsClasses.js.map +0 -1
- package/dist/esm/components/VerticalNavigation/Header/headerClasses.js +0 -8
- package/dist/esm/components/VerticalNavigation/Header/headerClasses.js.map +0 -1
- package/dist/esm/components/VerticalNavigation/Navigation/navigationClasses.js +0 -8
- package/dist/esm/components/VerticalNavigation/Navigation/navigationClasses.js.map +0 -1
- package/dist/esm/components/VerticalNavigation/NavigationSlider/navigationSliderClasses.js +0 -8
- package/dist/esm/components/VerticalNavigation/NavigationSlider/navigationSliderClasses.js.map +0 -1
- package/dist/esm/components/VerticalNavigation/TreeView/treeViewClasses.js +0 -8
- package/dist/esm/components/VerticalNavigation/TreeView/treeViewClasses.js.map +0 -1
- package/dist/esm/components/VerticalNavigation/TreeView/treeViewItemClasses.js +0 -8
- package/dist/esm/components/VerticalNavigation/TreeView/treeViewItemClasses.js.map +0 -1
- package/dist/esm/components/VerticalNavigation/verticalNavigationClasses.js +0 -8
- package/dist/esm/components/VerticalNavigation/verticalNavigationClasses.js.map +0 -1
- package/dist/esm/utils/transientOptions.js +0 -7
- package/dist/esm/utils/transientOptions.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TreeViewItem.styles.js","sources":["../../../../../src/components/VerticalNavigation/TreeView/TreeViewItem.styles.tsx"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"TreeViewItem.styles.js","sources":["../../../../../src/components/VerticalNavigation/TreeView/TreeViewItem.styles.tsx"],"sourcesContent":["import { theme } from \"@hitachivantara/uikit-styles\";\n\nimport { outlineStyles } from \"@core/utils/focusUtils\";\n\nimport { createClasses } from \"@core/utils/classes\";\n\nconst selected = () => ({\n background: theme.colors.atmo3,\n borderLeft: theme.verticalNavigation.activeBorderLeft,\n \"& *\": {\n background: theme.colors.atmo3,\n },\n});\n\nconst hover = () => ({\n background: theme.verticalNavigation.hoverColor,\n});\n\nexport const { staticClasses, useClasses } = createClasses(\n \"HvVerticalNavigationTreeViewItem\",\n {\n node: {\n listStyle: \"none\",\n minHeight: \"32px\",\n \"&:not(:last-child)\": {\n marginBottom: \"8px\",\n },\n \"&$collapsed\": {\n \"&>$group\": {\n display: \"none\",\n },\n },\n \"&$expanded\": {\n \"&>$group\": {\n display: \"block\",\n },\n },\n \"&$link\": {\n textDecoration: \"none\",\n },\n \"&$hide\": {\n display: \"none\",\n },\n },\n content: {\n width: \"100%\",\n display: \"flex\",\n justifyContent: \"flex-start\",\n alignItems: \"center\",\n height: \"32px\",\n borderLeft: theme.verticalNavigation.inactiveBorderLeft,\n paddingRight: theme.space.xs,\n \"&$minimized\": {\n justifyContent: \"center\",\n paddingRight: 0,\n },\n \"$expandable>&\": {\n fontWeight: 600,\n },\n \"$selected>&\": selected(),\n // hover\n \":not($disabled>&):not($selected>&):hover\": hover(),\n \":not($disabled)$selected>&:hover\": {},\n\n // focus\n \":not($disabled>&):not($selected>&):focus-visible\": hover(),\n \":not($disabled>&):not($selected>&).focus-visible\": hover(),\n\n \"*:focus-visible $focused>&\": {\n ...outlineStyles,\n },\n\n \".focus-visible $focused>&\": {\n ...outlineStyles,\n },\n \"$focused>&\": {\n ...hover(),\n },\n\n \"&[disabled], &:active\": {\n outline: \"none\",\n },\n\n \"&:focus\": {\n outline: \"none\",\n },\n\n \"&:focus-visible\": {\n ...outlineStyles,\n },\n\n \"&.focus-visible\": {\n ...outlineStyles,\n },\n\n // cursor\n cursor: \"pointer\",\n \"& *\": {\n cursor: \"pointer\",\n },\n\n \"$disabled>&\": {\n cursor: \"not-allowed\",\n \"& *\": {\n cursor: \"not-allowed\",\n },\n },\n },\n link: {},\n group: {\n margin: \"8px 0 0 0\",\n padding: 0,\n },\n disabled: {},\n expandable: {\n fontWeight: 600,\n },\n collapsed: {},\n expanded: {},\n selectable: {},\n unselectable: {},\n selected: {},\n unselected: {},\n focused: {},\n minimized: {},\n hide: {},\n label: {\n display: \"flex\",\n flexGrow: 1,\n maxWidth: \"100%\",\n },\n labelIcon: {\n maxWidth: \"calc(100% - 32px)\",\n },\n labelExpandable: {\n maxWidth: \"calc(100% - 32px)\",\n\n \"&$labelIcon\": {\n maxWidth: \"calc(100% - 64px)\",\n },\n },\n }\n);\n"],"names":["selected","background","theme","colors","atmo3","borderLeft","verticalNavigation","activeBorderLeft","hover","hoverColor","staticClasses","useClasses","createClasses","node","listStyle","minHeight","marginBottom","display","textDecoration","content","width","justifyContent","alignItems","height","inactiveBorderLeft","paddingRight","space","xs","fontWeight","outlineStyles","outline","cursor","link","group","margin","padding","disabled","expandable","collapsed","expanded","selectable","unselectable","unselected","focused","minimized","hide","label","flexGrow","maxWidth","labelIcon","labelExpandable"],"mappings":"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"}
|
|
@@ -1,23 +1,26 @@
|
|
|
1
|
-
import { clsx } from "clsx";
|
|
2
1
|
import { useDefaultProps } from "../../hooks/useDefaultProps.js";
|
|
3
2
|
import { useState, useMemo, useEffect, useCallback } from "react";
|
|
4
|
-
import { StyledRoot } from "./VerticalNavigation.styles.js";
|
|
5
|
-
import verticalNavigationClasses from "./verticalNavigationClasses.js";
|
|
6
3
|
import { VerticalNavigationContext } from "./VerticalNavigationContext.js";
|
|
7
4
|
import { hasChildNavigationItems } from "./utils/VerticalNavigation.utils.js";
|
|
5
|
+
import { useClasses } from "./VerticalNavigation.styles.js";
|
|
6
|
+
import { staticClasses } from "./VerticalNavigation.styles.js";
|
|
8
7
|
import { jsx } from "@emotion/react/jsx-runtime";
|
|
9
8
|
import { fillDataWithParentId, getParentItemById, getNavigationItemById } from "./NavigationSlider/utils/NavigationSlider.utils.js";
|
|
10
9
|
const HvVerticalNavigation = (props) => {
|
|
11
10
|
const {
|
|
12
11
|
id,
|
|
13
12
|
className,
|
|
14
|
-
classes,
|
|
13
|
+
classes: classesProp,
|
|
15
14
|
children,
|
|
16
15
|
open = true,
|
|
17
16
|
slider = false,
|
|
18
17
|
useIcons = false,
|
|
19
18
|
...others
|
|
20
19
|
} = useDefaultProps("HvVerticalNavigation", props);
|
|
20
|
+
const {
|
|
21
|
+
classes,
|
|
22
|
+
cx
|
|
23
|
+
} = useClasses(classesProp);
|
|
21
24
|
const [parentData, setParentData] = useState([]);
|
|
22
25
|
const [parentSelected, setParentSelected] = useState();
|
|
23
26
|
const [headerTitle, setHeaderTitle] = useState();
|
|
@@ -52,10 +55,13 @@ const HvVerticalNavigation = (props) => {
|
|
|
52
55
|
}), [open, useIcons, slider, headerTitle, setHeaderTitle, parentItem, setParentItem, withParentData, navigateToChildHandler, navigateToParentHandler, hasAnyChildWithData, parentData, parentSelected]);
|
|
53
56
|
const content = /* @__PURE__ */ jsx(VerticalNavigationContext.Provider, {
|
|
54
57
|
value,
|
|
55
|
-
children: /* @__PURE__ */ jsx(
|
|
58
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
56
59
|
id,
|
|
57
|
-
className:
|
|
58
|
-
|
|
60
|
+
className: cx(classes.root, {
|
|
61
|
+
[classes.collapsed]: !open,
|
|
62
|
+
[classes.slider]: slider,
|
|
63
|
+
[classes.childData]: hasAnyChildWithData
|
|
64
|
+
}, className),
|
|
59
65
|
...others,
|
|
60
66
|
children
|
|
61
67
|
})
|
|
@@ -63,6 +69,7 @@ const HvVerticalNavigation = (props) => {
|
|
|
63
69
|
return content;
|
|
64
70
|
};
|
|
65
71
|
export {
|
|
66
|
-
HvVerticalNavigation
|
|
72
|
+
HvVerticalNavigation,
|
|
73
|
+
staticClasses as verticalNavigationClasses
|
|
67
74
|
};
|
|
68
75
|
//# sourceMappingURL=VerticalNavigation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerticalNavigation.js","sources":["../../../../src/components/VerticalNavigation/VerticalNavigation.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"VerticalNavigation.js","sources":["../../../../src/components/VerticalNavigation/VerticalNavigation.tsx"],"sourcesContent":["import { useDefaultProps } from \"@core/hooks/useDefaultProps\";\n\nimport { useCallback, useEffect, useMemo, useState } from \"react\";\n\nimport { ExtractNames } from \"@core/utils/classes\";\nimport {\n VerticalNavigationContext,\n NavigationData,\n} from \"./VerticalNavigationContext\";\nimport {\n fillDataWithParentId,\n getNavigationItemById,\n getParentItemById,\n} from \"./NavigationSlider/utils\";\nimport { hasChildNavigationItems } from \"./utils/VerticalNavigation.utils\";\n\nimport { staticClasses, useClasses } from \"./VerticalNavigation.styles\";\n\nexport { staticClasses as verticalNavigationClasses };\n\nexport type HvVerticalNavigationClasses = ExtractNames<typeof useClasses>;\n\nexport interface HvVerticalNavigationProps {\n /**\n * Id to be applied to the root node.\n */\n id?: string;\n /**\n * Class names to be applied.\n */\n className?: string;\n /**\n * A Jss Object used to override or extend the styles applied to the component.\n */\n classes?: HvVerticalNavigationClasses;\n /**\n * Current State of the Vertical Navigation Collapse\n */\n open?: boolean;\n /**\n * Collpased Mode for the Vertical Navigation, the default value is \"simple\".\n *\n * @deprecated - `useIcons` property should be used instead.\n */\n collapsedMode?: HvVerticalNavigationMode;\n /**\n * Boolean to determine if treeview is in slider mode (for mobile navigation), the default value is false.\n */\n slider?: boolean;\n /**\n * The content inside the actions container.\n */\n children?: React.ReactNode;\n /**\n * Boolean to determine if icons should be displayed in the navigation menu.\n * When `true` a icon will always be displayed, if no icon is provided the first letter of the label will be\n * displayed inside an Avatar component.\n * When `false` no icons will be shown, even if an icon is provided.\n */\n useIcons?: boolean;\n}\n\n/**\n * Navigation enables users to move through an app to complete tasks.\n *\n * It is recommended to use vertical navigation when your application requires global navigation that is displayed on the left.\n * While vertical navigation menus generally consume more space than their horizontal counterparts, they have become more popular as desktop monitors move to wide-screen formats.\n *\n * Although both the hierarchically organized data and the visual style resemble a treeview-like structure, the [Treeview Design Pattern](https://w3c.github.io/aria-practices/#TreeView)\n * isn't necessarily the most appropriate.\n *\n * The tree role provides complex functionality that is not needed for typical site navigation, and changes the most common keyboard navigation using TAB.\n *\n * The [Disclosure Design Pattern](https://w3c.github.io/aria-practices/#disclosure) is more suited for typical site navigation, with expandable groups of links.\n * However it can be tedious to TAB through all navigation items to reach the actions panel.\n *\n * Both modes are available via the `mode` property and each app should choose the most appropriate.\n */\nexport const HvVerticalNavigation = (props: HvVerticalNavigationProps) => {\n const {\n id,\n className,\n classes: classesProp,\n\n children,\n\n open = true,\n\n slider = false,\n\n useIcons = false,\n\n ...others\n } = useDefaultProps(\"HvVerticalNavigation\", props);\n const { classes, cx } = useClasses(classesProp);\n\n const [parentData, setParentData] = useState<NavigationData[]>([]);\n\n const [parentSelected, setParentSelected] = useState();\n\n const [headerTitle, setHeaderTitle] = useState<string | undefined>();\n\n // navigationSlider\n const withParentData = useMemo(\n () => fillDataWithParentId(parentData),\n [parentData]\n );\n\n const initialParentItem = useMemo(\n () => getParentItemById(withParentData, parentSelected),\n [withParentData, parentSelected]\n );\n\n const [parentItem, setParentItem] = useState(initialParentItem);\n\n const hasAnyChildWithData = useMemo(\n () => hasChildNavigationItems(parentData),\n [parentData]\n );\n\n useEffect(\n () => setHeaderTitle(parentItem?.label),\n [parentItem, setParentItem]\n );\n\n const navigateToParentHandler = useCallback(() => {\n setParentItem(getParentItemById(withParentData, parentItem.id));\n }, [parentItem, setParentItem, withParentData]);\n\n const navigateToChildHandler = useCallback(\n (event, item) => {\n setParentItem(getNavigationItemById(withParentData, item.id));\n event.stopPropagation();\n },\n [setParentItem, withParentData]\n );\n\n const value = useMemo(\n () => ({\n isOpen: open,\n useIcons,\n slider,\n headerTitle,\n setHeaderTitle,\n\n parentItem,\n setParentItem,\n withParentData,\n navigateToChildHandler,\n navigateToParentHandler,\n\n parentData,\n setParentData,\n parentSelected,\n setParentSelected,\n hasAnyChildWithData,\n }),\n [\n open,\n useIcons,\n slider,\n headerTitle,\n setHeaderTitle,\n parentItem,\n setParentItem,\n withParentData,\n navigateToChildHandler,\n navigateToParentHandler,\n hasAnyChildWithData,\n parentData,\n parentSelected,\n ]\n );\n\n const content = (\n <VerticalNavigationContext.Provider value={value}>\n <div\n id={id}\n className={cx(\n classes.root,\n {\n [classes.collapsed]: !open,\n [classes.slider]: slider,\n [classes.childData]: hasAnyChildWithData,\n },\n className\n )}\n {...others}\n >\n {children}\n </div>\n </VerticalNavigationContext.Provider>\n );\n\n return content;\n};\n\nexport type HvVerticalNavigationMode = \"icon\" | \"simple\";\n\nexport type HvVerticalNavigationPosition =\n | \"static\"\n | \"relative\"\n | \"fixed\"\n | \"absolute\";\n"],"names":["HvVerticalNavigation","props","id","className","classes","classesProp","children","open","slider","useIcons","others","useDefaultProps","cx","useClasses","parentData","setParentData","useState","parentSelected","setParentSelected","headerTitle","setHeaderTitle","withParentData","useMemo","fillDataWithParentId","initialParentItem","getParentItemById","parentItem","setParentItem","hasAnyChildWithData","hasChildNavigationItems","label","navigateToParentHandler","useCallback","navigateToChildHandler","event","item","getNavigationItemById","stopPropagation","value","isOpen","content","VerticalNavigationContext","Provider","root","collapsed","childData"],"mappings":";;;;;;;;AA8EaA,MAAAA,uBAAuBA,CAACC,UAAqC;AAClE,QAAA;AAAA,IACJC;AAAAA,IACAC;AAAAA,IACAC,SAASC;AAAAA,IAETC;AAAAA,IAEAC,OAAO;AAAA,IAEPC,SAAS;AAAA,IAETC,WAAW;AAAA,IAEX,GAAGC;AAAAA,EAAAA,IACDC,gBAAgB,wBAAwBV,KAAK;AAC3C,QAAA;AAAA,IAAEG;AAAAA,IAASQ;AAAAA,EAAAA,IAAOC,WAAWR,WAAW;AAE9C,QAAM,CAACS,YAAYC,aAAa,IAAIC,SAA2B,CAAE,CAAA;AAEjE,QAAM,CAACC,gBAAgBC,iBAAiB,IAAIF,SAAS;AAErD,QAAM,CAACG,aAAaC,cAAc,IAAIJ,SAA6B;AAG7DK,QAAAA,iBAAiBC,QACrB,MAAMC,qBAAqBT,UAAU,GACrC,CAACA,UAAU,CACb;AAEMU,QAAAA,oBAAoBF,QACxB,MAAMG,kBAAkBJ,gBAAgBJ,cAAc,GACtD,CAACI,gBAAgBJ,cAAc,CACjC;AAEA,QAAM,CAACS,YAAYC,aAAa,IAAIX,SAASQ,iBAAiB;AAExDI,QAAAA,sBAAsBN,QAC1B,MAAMO,wBAAwBf,UAAU,GACxC,CAACA,UAAU,CACb;AAGE,YAAA,MAAMM,eAAeM,yCAAYI,KAAK,GACtC,CAACJ,YAAYC,aAAa,CAC5B;AAEMI,QAAAA,0BAA0BC,YAAY,MAAM;AAChDL,kBAAcF,kBAAkBJ,gBAAgBK,WAAWxB,EAAE,CAAC;AAAA,EAC7D,GAAA,CAACwB,YAAYC,eAAeN,cAAc,CAAC;AAE9C,QAAMY,yBAAyBD,YAC7B,CAACE,OAAOC,SAAS;AACfR,kBAAcS,sBAAsBf,gBAAgBc,KAAKjC,EAAE,CAAC;AAC5DgC,UAAMG,gBAAgB;AAAA,EAAA,GAExB,CAACV,eAAeN,cAAc,CAChC;AAEMiB,QAAAA,QAAQhB,QACZ,OAAO;AAAA,IACLiB,QAAQhC;AAAAA,IACRE;AAAAA,IACAD;AAAAA,IACAW;AAAAA,IACAC;AAAAA,IAEAM;AAAAA,IACAC;AAAAA,IACAN;AAAAA,IACAY;AAAAA,IACAF;AAAAA,IAEAjB;AAAAA,IACAC;AAAAA,IACAE;AAAAA,IACAC;AAAAA,IACAU;AAAAA,EAAAA,IAEF,CACErB,MACAE,UACAD,QACAW,aACAC,gBACAM,YACAC,eACAN,gBACAY,wBACAF,yBACAH,qBACAd,YACAG,cAAc,CAElB;AAEMuB,QAAAA,UACHC,oBAAAA,0BAA0BC,UAAQ;AAAA,IAACJ;AAAAA,IAAahC,8BAC/C,OAAA;AAAA,MACEJ;AAAAA,MACAC,WAAWS,GACTR,QAAQuC,MACR;AAAA,QACE,CAACvC,QAAQwC,SAAS,GAAG,CAACrC;AAAAA,QACtB,CAACH,QAAQI,MAAM,GAAGA;AAAAA,QAClB,CAACJ,QAAQyC,SAAS,GAAGjB;AAAAA,SAEvBzB,SACF;AAAA,MAAE,GACEO;AAAAA,MAAMJ;AAAAA,IAAAA,CAGP;AAAA,EAAA,CAC6B;AAG/BkC,SAAAA;AACT;"}
|
|
@@ -1,23 +1,34 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { createClasses } from "../../utils/classes.js";
|
|
2
2
|
import { theme } from "@hitachivantara/uikit-styles";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
3
|
+
const {
|
|
4
|
+
staticClasses,
|
|
5
|
+
useClasses
|
|
6
|
+
} = createClasses("HvVerticalNavigation", {
|
|
7
|
+
root: {
|
|
8
|
+
display: "flex",
|
|
9
|
+
flexDirection: "column",
|
|
10
|
+
justifyContent: theme.verticalNavigation.justifyContent,
|
|
11
|
+
width: "220px",
|
|
12
|
+
background: theme.colors.atmo1,
|
|
13
|
+
boxShadow: theme.colors.shadow,
|
|
14
|
+
clipPath: "inset(0px -12px 0px 0px)",
|
|
15
|
+
"& > :only-child": {
|
|
16
|
+
padding: theme.space.sm
|
|
17
|
+
},
|
|
18
|
+
"& > :not(nav:first-of-type)": {
|
|
19
|
+
borderTop: `3px solid ${theme.colors.atmo2}`,
|
|
20
|
+
padding: theme.spacing(["xs", "sm", "sm", "sm"])
|
|
21
|
+
},
|
|
22
|
+
"& > :first-of-type:not(:last-child)": {
|
|
23
|
+
borderTop: "none",
|
|
24
|
+
padding: theme.spacing(["sm", "sm", "xs", "sm"])
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
collapsed: {
|
|
28
|
+
width: "56px",
|
|
29
|
+
"&$childData": {
|
|
30
|
+
width: "66px"
|
|
31
|
+
},
|
|
21
32
|
"& > :first-of-type:not(:last-child)": {
|
|
22
33
|
padding: theme.spacing(["sm", "xs", "xs", "xs"])
|
|
23
34
|
},
|
|
@@ -25,24 +36,15 @@ const StyledRoot = /* @__PURE__ */ _styled("div", process.env.NODE_ENV === "prod
|
|
|
25
36
|
padding: theme.spacing(["xs", "xs", "sm", "xs"])
|
|
26
37
|
}
|
|
27
38
|
},
|
|
28
|
-
|
|
29
|
-
padding: theme.space.sm
|
|
30
|
-
},
|
|
31
|
-
"& > :not(nav:first-of-type)": {
|
|
32
|
-
borderTop: `3px solid ${theme.colors.atmo2}`,
|
|
33
|
-
padding: theme.spacing(["xs", "sm", "sm", "sm"])
|
|
34
|
-
},
|
|
35
|
-
"& > :first-of-type:not(:last-child)": {
|
|
36
|
-
borderTop: "none",
|
|
37
|
-
padding: theme.spacing(["sm", "sm", "xs", "sm"])
|
|
38
|
-
},
|
|
39
|
-
[`&.${verticalNavigationClasses.slider}`]: {
|
|
39
|
+
slider: {
|
|
40
40
|
"& > div:first-of-type": {
|
|
41
41
|
borderBottom: `3px solid ${theme.colors.atmo2}`
|
|
42
42
|
}
|
|
43
|
-
}
|
|
44
|
-
|
|
43
|
+
},
|
|
44
|
+
childData: {}
|
|
45
|
+
});
|
|
45
46
|
export {
|
|
46
|
-
|
|
47
|
+
staticClasses,
|
|
48
|
+
useClasses
|
|
47
49
|
};
|
|
48
50
|
//# sourceMappingURL=VerticalNavigation.styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerticalNavigation.styles.js","sources":["../../../../src/components/VerticalNavigation/VerticalNavigation.styles.tsx"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"VerticalNavigation.styles.js","sources":["../../../../src/components/VerticalNavigation/VerticalNavigation.styles.tsx"],"sourcesContent":["import { createClasses } from \"@core/utils/classes\";\nimport { theme } from \"@hitachivantara/uikit-styles\";\n\nexport const { staticClasses, useClasses } = createClasses(\n \"HvVerticalNavigation\",\n {\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: theme.verticalNavigation.justifyContent,\n\n width: \"220px\",\n\n background: theme.colors.atmo1,\n boxShadow: theme.colors.shadow,\n clipPath: \"inset(0px -12px 0px 0px)\",\n\n \"& > :only-child\": {\n padding: theme.space.sm,\n },\n \"& > :not(nav:first-of-type)\": {\n borderTop: `3px solid ${theme.colors.atmo2}`,\n padding: theme.spacing([\"xs\", \"sm\", \"sm\", \"sm\"]),\n },\n\n \"& > :first-of-type:not(:last-child)\": {\n borderTop: \"none\",\n padding: theme.spacing([\"sm\", \"sm\", \"xs\", \"sm\"]),\n },\n },\n collapsed: {\n width: \"56px\",\n \"&$childData\": {\n width: \"66px\",\n },\n \"& > :first-of-type:not(:last-child)\": {\n padding: theme.spacing([\"sm\", \"xs\", \"xs\", \"xs\"]),\n },\n\n \"& > :not(nav:first-of-type)\": {\n padding: theme.spacing([\"xs\", \"xs\", \"sm\", \"xs\"]),\n },\n },\n\n slider: {\n \"& > div:first-of-type\": {\n borderBottom: `3px solid ${theme.colors.atmo2}`,\n },\n },\n\n childData: {},\n }\n);\n"],"names":["staticClasses","useClasses","createClasses","root","display","flexDirection","justifyContent","theme","verticalNavigation","width","background","colors","atmo1","boxShadow","shadow","clipPath","padding","space","sm","borderTop","atmo2","spacing","collapsed","slider","borderBottom","childData"],"mappings":";;AAGa,MAAA;AAAA,EAAEA;AAAAA,EAAeC;AAAW,IAAIC,cAC3C,wBACA;AAAA,EACEC,MAAM;AAAA,IACJC,SAAS;AAAA,IACTC,eAAe;AAAA,IACfC,gBAAgBC,MAAMC,mBAAmBF;AAAAA,IAEzCG,OAAO;AAAA,IAEPC,YAAYH,MAAMI,OAAOC;AAAAA,IACzBC,WAAWN,MAAMI,OAAOG;AAAAA,IACxBC,UAAU;AAAA,IAEV,mBAAmB;AAAA,MACjBC,SAAST,MAAMU,MAAMC;AAAAA,IACvB;AAAA,IACA,+BAA+B;AAAA,MAC7BC,WAAY,aAAYZ,MAAMI,OAAOS;AAAAA,MACrCJ,SAAST,MAAMc,QAAQ,CAAC,MAAM,MAAM,MAAM,IAAI,CAAC;AAAA,IACjD;AAAA,IAEA,uCAAuC;AAAA,MACrCF,WAAW;AAAA,MACXH,SAAST,MAAMc,QAAQ,CAAC,MAAM,MAAM,MAAM,IAAI,CAAC;AAAA,IACjD;AAAA,EACF;AAAA,EACAC,WAAW;AAAA,IACTb,OAAO;AAAA,IACP,eAAe;AAAA,MACbA,OAAO;AAAA,IACT;AAAA,IACA,uCAAuC;AAAA,MACrCO,SAAST,MAAMc,QAAQ,CAAC,MAAM,MAAM,MAAM,IAAI,CAAC;AAAA,IACjD;AAAA,IAEA,+BAA+B;AAAA,MAC7BL,SAAST,MAAMc,QAAQ,CAAC,MAAM,MAAM,MAAM,IAAI,CAAC;AAAA,IACjD;AAAA,EACF;AAAA,EAEAE,QAAQ;AAAA,IACN,yBAAyB;AAAA,MACvBC,cAAe,aAAYjB,MAAMI,OAAOS;AAAAA,IAC1C;AAAA,EACF;AAAA,EAEAK,WAAW,CAAC;AACd,CACF;"}
|
package/dist/esm/index.js
CHANGED
|
@@ -213,50 +213,50 @@ import { staticClasses as staticClasses89 } from "./components/Calendar/Calendar
|
|
|
213
213
|
import { HvCalendar } from "./components/Calendar/Calendar.js";
|
|
214
214
|
import { staticClasses as staticClasses90 } from "./components/Calendar/CalendarHeader/CalendarHeader.styles.js";
|
|
215
215
|
import { HvCalendarHeader } from "./components/Calendar/CalendarHeader/CalendarHeader.js";
|
|
216
|
-
import {
|
|
216
|
+
import { staticClasses as staticClasses91 } from "./components/VerticalNavigation/VerticalNavigation.styles.js";
|
|
217
217
|
import { HvVerticalNavigation } from "./components/VerticalNavigation/VerticalNavigation.js";
|
|
218
|
-
import {
|
|
218
|
+
import { staticClasses as staticClasses92 } from "./components/VerticalNavigation/Header/Header.styles.js";
|
|
219
219
|
import { HvVerticalNavigationHeader } from "./components/VerticalNavigation/Header/Header.js";
|
|
220
|
-
import {
|
|
221
|
-
import { default as default16 } from "./components/VerticalNavigation/Actions/actionsClasses.js";
|
|
220
|
+
import { staticClasses as staticClasses93 } from "./components/VerticalNavigation/Actions/Actions.styles.js";
|
|
222
221
|
import { HvVerticalNavigationActions } from "./components/VerticalNavigation/Actions/Actions.js";
|
|
222
|
+
import { staticClasses as staticClasses94 } from "./components/VerticalNavigation/Actions/Action.styles.js";
|
|
223
223
|
import { HvVerticalNavigationAction } from "./components/VerticalNavigation/Actions/Action.js";
|
|
224
|
-
import {
|
|
224
|
+
import { staticClasses as staticClasses95 } from "./components/VerticalNavigation/Navigation/Navigation.styles.js";
|
|
225
225
|
import { HvVerticalNavigationTree } from "./components/VerticalNavigation/Navigation/Navigation.js";
|
|
226
|
-
import {
|
|
226
|
+
import { staticClasses as staticClasses96 } from "./components/VerticalNavigation/NavigationSlider/NavigationSlider.styles.js";
|
|
227
227
|
import { HvVerticalNavigationSlider } from "./components/VerticalNavigation/NavigationSlider/NavigationSlider.js";
|
|
228
|
-
import {
|
|
229
|
-
import { default as default20 } from "./components/VerticalNavigation/TreeView/treeViewItemClasses.js";
|
|
228
|
+
import { staticClasses as staticClasses97 } from "./components/VerticalNavigation/TreeView/TreeView.styles.js";
|
|
230
229
|
import { HvVerticalNavigationTreeView } from "./components/VerticalNavigation/TreeView/TreeView.js";
|
|
230
|
+
import { staticClasses as staticClasses98 } from "./components/VerticalNavigation/TreeView/TreeViewItem.styles.js";
|
|
231
231
|
import { HvVerticalNavigationTreeViewItem } from "./components/VerticalNavigation/TreeView/TreeViewItem.js";
|
|
232
232
|
import { VerticalNavigationContext } from "./components/VerticalNavigation/VerticalNavigationContext.js";
|
|
233
|
-
import { staticClasses as
|
|
233
|
+
import { staticClasses as staticClasses99 } from "./components/Slider/Slider.styles.js";
|
|
234
234
|
import { HvSlider } from "./components/Slider/Slider.js";
|
|
235
|
-
import { staticClasses as
|
|
235
|
+
import { staticClasses as staticClasses100 } from "./components/FilterGroup/FilterGroup.styles.js";
|
|
236
236
|
import { HvFilterGroup } from "./components/FilterGroup/FilterGroup.js";
|
|
237
|
-
import { staticClasses as
|
|
237
|
+
import { staticClasses as staticClasses101 } from "./components/DatePicker/DatePicker.styles.js";
|
|
238
238
|
import { HvDatePicker } from "./components/DatePicker/DatePicker.js";
|
|
239
|
-
import { staticClasses as
|
|
240
|
-
import { staticClasses as
|
|
239
|
+
import { staticClasses as staticClasses102 } from "./components/ScrollTo/Vertical/VerticalScrollListItem/VerticalScrollListItem.styles.js";
|
|
240
|
+
import { staticClasses as staticClasses103 } from "./components/ScrollTo/Vertical/ScrollToVertical.styles.js";
|
|
241
241
|
import { HvScrollToVertical } from "./components/ScrollTo/Vertical/ScrollToVertical.js";
|
|
242
|
-
import { staticClasses as
|
|
243
|
-
import { staticClasses as
|
|
242
|
+
import { staticClasses as staticClasses104 } from "./components/ScrollTo/Horizontal/HorizontalScrollListItem/HorizontalScrollListItem.styles.js";
|
|
243
|
+
import { staticClasses as staticClasses105 } from "./components/ScrollTo/Horizontal/ScrollToHorizontal.styles.js";
|
|
244
244
|
import { HvScrollToHorizontal } from "./components/ScrollTo/Horizontal/ScrollToHorizontal.js";
|
|
245
245
|
import { useScrollTo } from "./components/ScrollTo/useScrollTo.js";
|
|
246
|
-
import { staticClasses as
|
|
246
|
+
import { staticClasses as staticClasses106 } from "./components/InlineEditor/InlineEditor.styles.js";
|
|
247
247
|
import { HvInlineEditor } from "./components/InlineEditor/InlineEditor.js";
|
|
248
|
-
import { staticClasses as
|
|
248
|
+
import { staticClasses as staticClasses107 } from "./components/TimeAgo/TimeAgo.styles.js";
|
|
249
249
|
import { HvTimeAgo } from "./components/TimeAgo/TimeAgo.js";
|
|
250
|
-
import { staticClasses as
|
|
250
|
+
import { staticClasses as staticClasses108 } from "./components/QueryBuilder/QueryBuilder.styles.js";
|
|
251
251
|
import { HvQueryBuilder } from "./components/QueryBuilder/QueryBuilder.js";
|
|
252
|
-
import { staticClasses as
|
|
252
|
+
import { staticClasses as staticClasses109 } from "./components/ColorPicker/ColorPicker.styles.js";
|
|
253
253
|
import { HvColorPicker } from "./components/ColorPicker/ColorPicker.js";
|
|
254
|
-
import { staticClasses as
|
|
254
|
+
import { staticClasses as staticClasses110 } from "./components/Carousel/Carousel.styles.js";
|
|
255
255
|
import { HvCarousel } from "./components/Carousel/Carousel.js";
|
|
256
256
|
import { HvCarouselSlide } from "./components/Carousel/CarouselSlide/CarouselSlide.js";
|
|
257
257
|
import { HvCarouselControls } from "./components/Carousel/CarouselControls.js";
|
|
258
258
|
import { HvCarouselThumbnails } from "./components/Carousel/CarouselThumbnails.js";
|
|
259
|
-
import { staticClasses as
|
|
259
|
+
import { staticClasses as staticClasses111 } from "./components/TimePicker/TimePicker.styles.js";
|
|
260
260
|
import { HvTimePicker } from "./components/TimePicker/TimePicker.js";
|
|
261
261
|
import { useClickOutside } from "./hooks/useClickOutside.js";
|
|
262
262
|
import { useControlled } from "./hooks/useControlled.js";
|
|
@@ -434,8 +434,8 @@ export {
|
|
|
434
434
|
VerticalNavigationContext,
|
|
435
435
|
staticClasses16 as accordionClasses,
|
|
436
436
|
staticClasses15 as actionBarClasses,
|
|
437
|
-
|
|
438
|
-
|
|
437
|
+
staticClasses94 as actionClasses,
|
|
438
|
+
staticClasses93 as actionsClasses,
|
|
439
439
|
staticClasses67 as actionsGenericClasses,
|
|
440
440
|
staticClasses6 as adornmentClasses,
|
|
441
441
|
staticClasses52 as appSwitcherActionClasses,
|
|
@@ -463,17 +463,17 @@ export {
|
|
|
463
463
|
staticClasses22 as cardContentClasses,
|
|
464
464
|
staticClasses21 as cardHeaderClasses,
|
|
465
465
|
staticClasses23 as cardMediaClasses,
|
|
466
|
-
|
|
466
|
+
staticClasses110 as carouselClasses,
|
|
467
467
|
staticClasses5 as charCounterClasses,
|
|
468
468
|
staticClasses54 as checkBoxClasses,
|
|
469
469
|
staticClasses60 as checkBoxGroupClasses,
|
|
470
470
|
checkValidHexColorValue,
|
|
471
|
-
|
|
471
|
+
staticClasses109 as colorPickerClasses,
|
|
472
472
|
staticClasses24 as containerClasses,
|
|
473
473
|
staticClasses86 as controlsClasses,
|
|
474
474
|
createClasses,
|
|
475
475
|
createTheme,
|
|
476
|
-
|
|
476
|
+
staticClasses101 as datePickerClasses,
|
|
477
477
|
decreaseSize,
|
|
478
478
|
defaultCacheKey,
|
|
479
479
|
defaultEmotionCache,
|
|
@@ -495,7 +495,7 @@ export {
|
|
|
495
495
|
staticClasses30 as emptyStateClasses,
|
|
496
496
|
staticClasses64 as fileClasses,
|
|
497
497
|
staticClasses63 as fileUploaderPreviewClasses,
|
|
498
|
-
|
|
498
|
+
staticClasses100 as filterGroupClasses,
|
|
499
499
|
filterProps,
|
|
500
500
|
findDescriptors,
|
|
501
501
|
staticClasses2 as focusClasses,
|
|
@@ -521,7 +521,7 @@ export {
|
|
|
521
521
|
staticClasses33 as headerClasses,
|
|
522
522
|
staticClasses36 as headerNavigationClasses,
|
|
523
523
|
hexToRgbA,
|
|
524
|
-
|
|
524
|
+
staticClasses104 as horizontalScrollListItemClasses,
|
|
525
525
|
hvDateColumn,
|
|
526
526
|
hvDropdownColumn,
|
|
527
527
|
hvExpandColumn,
|
|
@@ -536,7 +536,7 @@ export {
|
|
|
536
536
|
iconVariant,
|
|
537
537
|
increaseSize,
|
|
538
538
|
staticClasses9 as infoMessageClasses,
|
|
539
|
-
|
|
539
|
+
staticClasses106 as inlineEditorClasses,
|
|
540
540
|
staticClasses55 as inputClasses,
|
|
541
541
|
isBrowser,
|
|
542
542
|
isInvalid,
|
|
@@ -562,19 +562,19 @@ export {
|
|
|
562
562
|
prepareRow,
|
|
563
563
|
processThemes,
|
|
564
564
|
staticClasses42 as progressBarClasses,
|
|
565
|
-
|
|
565
|
+
staticClasses108 as queryBuilderClasses,
|
|
566
566
|
staticClasses57 as radioClasses,
|
|
567
567
|
staticClasses62 as radioGroupClasses,
|
|
568
568
|
reducer,
|
|
569
569
|
replace$,
|
|
570
570
|
staticClasses88 as rightControlClasses,
|
|
571
|
-
|
|
572
|
-
|
|
571
|
+
staticClasses105 as scrollToHorizontalClasses,
|
|
572
|
+
staticClasses103 as scrollToVerticalClasses,
|
|
573
573
|
staticClasses11 as selectionListClasses,
|
|
574
574
|
setElementAttrs,
|
|
575
575
|
setId,
|
|
576
576
|
setUid,
|
|
577
|
-
|
|
577
|
+
staticClasses99 as sliderClasses,
|
|
578
578
|
staticClasses72 as snackbarClasses,
|
|
579
579
|
staticClasses74 as snackbarContentClasses,
|
|
580
580
|
staticClasses73 as snackbarProviderClasses,
|
|
@@ -595,11 +595,11 @@ export {
|
|
|
595
595
|
staticClasses58 as textAreaClasses,
|
|
596
596
|
theme,
|
|
597
597
|
themes,
|
|
598
|
-
|
|
599
|
-
|
|
598
|
+
staticClasses107 as timeAgoClasses,
|
|
599
|
+
staticClasses111 as timePickerClasses,
|
|
600
600
|
staticClasses47 as tooltipClasses,
|
|
601
|
-
|
|
602
|
-
|
|
601
|
+
staticClasses97 as treeViewClasses,
|
|
602
|
+
staticClasses98 as treeViewItemClasses,
|
|
603
603
|
staticClasses as typographyClasses,
|
|
604
604
|
typographyVariants,
|
|
605
605
|
useClickOutside,
|
|
@@ -633,11 +633,11 @@ export {
|
|
|
633
633
|
useTheme,
|
|
634
634
|
useUniqueId,
|
|
635
635
|
useWidth,
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
636
|
+
staticClasses91 as verticalNavigationClasses,
|
|
637
|
+
staticClasses92 as verticalNavigationHeaderClasses,
|
|
638
|
+
staticClasses96 as verticalNavigationSliderClasses,
|
|
639
|
+
staticClasses95 as verticalNavigationTreeClasses,
|
|
640
|
+
staticClasses102 as verticalScrollListItemClasses,
|
|
641
641
|
staticClasses10 as warningTextClasses,
|
|
642
642
|
withTooltip,
|
|
643
643
|
wrapperTooltip
|