@ssa-ui-kit/core 2.6.0 → 2.7.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 (33) hide show
  1. package/dist/components/CollapsibleNavBar/CollapsibleNavBarCustomIconSVG.d.ts +6 -0
  2. package/dist/components/CollapsibleNavBar/CollapsibleNavBarItemContext.d.ts +10 -0
  3. package/dist/components/CollapsibleNavBar/{CollapsibleNavBarBase.d.ts → components/CollapsibleNavBarBase.d.ts} +2 -3
  4. package/dist/components/CollapsibleNavBar/components/CollapsibleNavBarLink.d.ts +7 -0
  5. package/dist/components/CollapsibleNavBar/{CollapsibleNavBarList.d.ts → components/CollapsibleNavBarList.d.ts} +2 -3
  6. package/dist/components/CollapsibleNavBar/{CollapsibleNavBarWrapper.d.ts → components/CollapsibleNavBarWrapper.d.ts} +2 -3
  7. package/dist/components/CollapsibleNavBar/components/CollapsibleNavToggle.d.ts +3 -0
  8. package/dist/components/CollapsibleNavBar/{CollapsibleNavToggleWrapper.d.ts → components/CollapsibleNavToggleWrapper.d.ts} +1 -2
  9. package/dist/components/CollapsibleNavBar/{NavBarAccordionContent.d.ts → components/ItemWithSubmenu/AccordionContent.d.ts} +1 -1
  10. package/dist/components/CollapsibleNavBar/components/ItemWithSubmenu/AccordionContentItem.d.ts +8 -0
  11. package/dist/components/CollapsibleNavBar/{CollapsibleNavBarItem.d.ts → components/ItemWithSubmenu/CollapsibleNavBarItem.d.ts} +1 -2
  12. package/dist/components/CollapsibleNavBar/components/ItemWithSubmenu/ItemAccordionTitle.d.ts +9 -0
  13. package/dist/components/CollapsibleNavBar/{NavBarItemWithSubMenu.d.ts → components/ItemWithSubmenu/ItemWithSubMenu.d.ts} +2 -2
  14. package/dist/components/CollapsibleNavBar/components/ItemWithSubmenu/index.d.ts +5 -0
  15. package/dist/components/CollapsibleNavBar/components/ItemWithSubmenu/styles.d.ts +6 -0
  16. package/dist/components/CollapsibleNavBar/{NavBarItemWithoutSubMenu.d.ts → components/ItemWithoutSubmenu/ItemWithoutSubMenu.d.ts} +2 -2
  17. package/dist/components/CollapsibleNavBar/components/ItemWithoutSubmenu/index.d.ts +1 -0
  18. package/dist/components/CollapsibleNavBar/components/NavBarItem.d.ts +8 -0
  19. package/dist/components/CollapsibleNavBar/{TriggerIcon.d.ts → components/TriggerIcon.d.ts} +1 -1
  20. package/dist/components/CollapsibleNavBar/components/index.d.ts +12 -0
  21. package/dist/components/CollapsibleNavBar/index.d.ts +2 -0
  22. package/dist/components/CollapsibleNavBar/stories/CustomIcon.d.ts +1 -0
  23. package/dist/components/CollapsibleNavBar/styles.d.ts +0 -4
  24. package/dist/components/NavBar/types.d.ts +5 -2
  25. package/dist/index.js +327 -191
  26. package/dist/index.js.map +1 -1
  27. package/package.json +3 -3
  28. package/dist/components/CollapsibleNavBar/CollapsibleNavBarLink.d.ts +0 -8
  29. package/dist/components/CollapsibleNavBar/CollapsibleNavToggle.d.ts +0 -4
  30. package/dist/components/DateRangePicker/helpers/ClassnameArray.d.ts +0 -3
  31. package/dist/components/DateRangePicker/helpers/index.d.ts +0 -1
  32. /package/dist/components/CollapsibleNavBar/{CollapsibleNavContentToggle.d.ts → components/CollapsibleNavContentToggle.d.ts} +0 -0
  33. /package/dist/components/CollapsibleNavBar/{NavBarPopover.d.ts → components/NavBarPopover.d.ts} +0 -0
package/dist/index.js CHANGED
@@ -82,6 +82,9 @@ __webpack_require__.d(__webpack_exports__, {
82
82
  Checkbox: () => (/* reexport */ Checkbox_Checkbox),
83
83
  CollapsibleNavBar: () => (/* reexport */ CollapsibleNavBar),
84
84
  CollapsibleNavBarContext: () => (/* reexport */ CollapsibleNavBarContext),
85
+ CollapsibleNavBarCustomIconSVG: () => (/* reexport */ CollapsibleNavBarCustomIconSVG),
86
+ CollapsibleNavBarItemContext: () => (/* reexport */ CollapsibleNavBarItemContext),
87
+ CollapsibleNavBarItemProvider: () => (/* reexport */ CollapsibleNavBarItemProvider),
85
88
  CollapsibleNavBarProvider: () => (/* reexport */ CollapsibleNavBarProvider),
86
89
  ColorPicker: () => (/* reexport */ ColorPicker_ColorPicker),
87
90
  DatePicker: () => (/* reexport */ DatePicker),
@@ -236,6 +239,7 @@ __webpack_require__.d(__webpack_exports__, {
236
239
  styles: () => (/* reexport */ Tooltip_styles_namespaceObject),
237
240
  useAccordionGroupContext: () => (/* reexport */ useAccordionGroupContext),
238
241
  useCollapsibleNavBarContext: () => (/* reexport */ useCollapsibleNavBarContext),
242
+ useCollapsibleNavBarItemContext: () => (/* reexport */ useCollapsibleNavBarItemContext),
239
243
  useDrawer: () => (/* reexport */ useDrawer),
240
244
  useFieldContext: () => (/* reexport */ useFieldContext),
241
245
  useFilterMultiSelect: () => (/* reexport */ useFilterMultiSelect),
@@ -8013,13 +8017,9 @@ const CardList = ({
8013
8017
 
8014
8018
  ;// ./src/components/CollapsibleNavBar/styles.ts
8015
8019
 
8016
- const AccordionTitleWrapper = navBarTheme => theme => /*#__PURE__*/(0,react_namespaceObject.css)("cursor:pointer;align-items:center;", theme.mediaQueries.md, "{display:flex;justify-content:center;}& div.icon-wrapper{width:100%;gap:0;}& div.icon-wrapper:not(.active):hover>button svg path,& div.icon-wrapper.active>button svg path{stroke:", navBarTheme === 'default' ? '#fff' : theme.colors.greyDarker80, ";fill:none;}& .trigger-icon{height:22px;}&:has(+ div > a.active){& div:nth-of-type(2) button{font-weight:900;}}" + ( true ? "" : 0), true ? "" : 0);
8017
- const styles_AccordionTitle = navBarTheme => theme => /*#__PURE__*/(0,react_namespaceObject.css)("padding:0 14px 0 20px;color:", navBarTheme === 'default' ? theme.colors.white : theme.colors.greyDarker, ";svg path{stroke:", navBarTheme === 'light' && theme.colors.greyDropdownFocused, ";}", theme.mediaQueries.md, "{display:none;}" + ( true ? "" : 0), true ? "" : 0);
8018
- const styles_AccordionContent = theme => /*#__PURE__*/(0,react_namespaceObject.css)("display:flex;align-items:flex-start;width:100%;padding-left:45px;overflow:hidden;perspective:1px;", theme.mediaQueries.md, "{display:none;}", theme.mediaQueries.lg, "{display:none;}" + ( true ? "" : 0), true ? "" : 0);
8019
- const AccordionContentPopover = theme => /*#__PURE__*/(0,react_namespaceObject.css)("display:flex;", theme.mediaQueries.md, "{display:flex;}", theme.mediaQueries.lg, "{display:flex;}" + ( true ? "" : 0), true ? "" : 0);
8020
8020
  const LogoWrapper = theme => /*#__PURE__*/(0,react_namespaceObject.css)("position:relative;", theme.mediaQueries.md, "{justify-content:center;}", theme.mediaQueries.lg, "{justify-content:flex-start;}" + ( true ? "" : 0), true ? "" : 0);
8021
8021
  const ContentToggle = (navBarTheme, isChecked) => theme => /*#__PURE__*/(0,react_namespaceObject.css)("display:none;position:absolute;cursor:pointer;right:-17px;width:34px;height:34px;background:", navBarTheme === 'default' ? theme.colors.greyLighter : theme.colors.greyFocused, ";border-radius:12px;justify-content:center;align-items:center;& input{display:none;}& svg{cursor:pointer;}", theme.mediaQueries.lg, "{display:flex;}", theme.mediaQueries.xlg, "{display:flex;right:", isChecked ? '-32px' : '-17px', ";}" + ( true ? "" : 0), true ? "" : 0);
8022
- ;// ./src/components/CollapsibleNavBar/CollapsibleNavBarBase.ts
8022
+ ;// ./src/components/CollapsibleNavBar/components/CollapsibleNavBarBase.ts
8023
8023
 
8024
8024
 
8025
8025
 
@@ -8040,7 +8040,7 @@ const backgroundByTheme = (theme, navBarTheme) => /*#__PURE__*/(0,react_namespac
8040
8040
  #e1e4ea 87.68%
8041
8041
  );`, ";" + ( true ? "" : 0), true ? "" : 0);
8042
8042
  const CollapsibleNavBarBase = /*#__PURE__*/base_default()(NavBar_NavBarBase, true ? {
8043
- target: "eat377q0"
8043
+ target: "e1rgi4fo0"
8044
8044
  } : 0)("padding:15px 0 0 15px;position:absolute;& li{", popupIconsToggle(false), ";}&.opened{", ({
8045
8045
  theme,
8046
8046
  ...rest
@@ -8061,41 +8061,17 @@ const CollapsibleNavBarBase = /*#__PURE__*/base_default()(NavBar_NavBarBase, tr
8061
8061
  }) => theme.mediaQueries.md, "{width:85px;padding:0;position:static;z-index:0;min-width:unset;& li{", staticIconsToggle(false), " ", popupIconsToggle(true), ";}}", ({
8062
8062
  theme
8063
8063
  }) => theme.mediaQueries.lg, "{&.opened{min-width:240px;width:291px;&>div:nth-of-type(2){width:240px;padding-left:29.5px;& img{margin-left:0;}& li{justify-content:flex-start;& button{display:flex;}", staticIconsToggle(true), " ", popupIconsToggle(false), " &>a>span{display:block;}& div>div>div:nth-of-type(2){display:flex;}}}}}" + ( true ? "" : 0));
8064
- /* harmony default export */ const CollapsibleNavBar_CollapsibleNavBarBase = (CollapsibleNavBarBase);
8065
- ;// ./src/components/CollapsibleNavBar/CollapsibleNavBarWrapper.ts
8066
-
8067
-
8068
- const CollapsibleNavBarWrapper = /*#__PURE__*/base_default()(NavBar_NavBarWrapper, true ? {
8069
- target: "e17jwp1e0"
8070
- } : 0)("transform:none;transition:unset;position:static;display:none;width:100%;", ({
8071
- theme
8072
- }) => theme.mediaQueries.md, "{background:", ({
8073
- navBarTheme
8074
- }) => navBarTheme === 'light' && '#F4F5F9', ";display:flex;flex-direction:column;align-items:center;height:100%;min-height:100vh;width:85px;border-radius:0;padding-top:35px;}" + ( true ? "" : 0));
8075
- /* harmony default export */ const CollapsibleNavBar_CollapsibleNavBarWrapper = (CollapsibleNavBarWrapper);
8076
- ;// ./src/components/CollapsibleNavBar/CollapsibleNavBarList.ts
8077
-
8078
-
8079
- const CollapsibleNavBarList = /*#__PURE__*/base_default()(NavBar_NavBarList, true ? {
8080
- target: "em9v5k50"
8081
- } : 0)("height:auto;padding:0 0 0 15px;margin:14px 0 0 0;", ({
8082
- theme
8083
- }) => theme.mediaQueries.md, "{margin-top:90px;width:100%;padding:0;}", ({
8084
- theme
8085
- }) => theme.mediaQueries.lg, "{margin-top:84px;}" + ( true ? "" : 0));
8086
- /* harmony default export */ const CollapsibleNavBar_CollapsibleNavBarList = (CollapsibleNavBarList);
8087
- ;// ./src/components/CollapsibleNavBar/CollapsibleNavToggleWrapper.ts
8064
+ ;// ./src/components/CollapsibleNavBar/components/CollapsibleNavToggleWrapper.ts
8088
8065
 
8089
8066
 
8090
8067
  const CollapsibleNavToggleWrapper = /*#__PURE__*/base_default()(NavBar_NavToggleWrapper, true ? {
8091
- target: "e1i07a9c0"
8068
+ target: "ehcphl10"
8092
8069
  } : 0)("border-radius:50%;background:", ({
8093
8070
  theme
8094
8071
  }) => theme.colors.greyLighter, ";height:40px;width:40px;", ({
8095
8072
  theme
8096
8073
  }) => theme.mediaQueries.md, "{display:none;}" + ( true ? "" : 0));
8097
- /* harmony default export */ const CollapsibleNavBar_CollapsibleNavToggleWrapper = (CollapsibleNavToggleWrapper);
8098
- ;// ./src/components/CollapsibleNavBar/CollapsibleNavToggle.tsx
8074
+ ;// ./src/components/CollapsibleNavBar/components/CollapsibleNavToggle.tsx
8099
8075
  function CollapsibleNavToggle_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
8100
8076
  /* eslint-disable jsx-a11y/label-has-associated-control */
8101
8077
 
@@ -8110,7 +8086,7 @@ const CollapsibleNavToggle = ({
8110
8086
  id
8111
8087
  }) => {
8112
8088
  return (0,jsx_runtime_namespaceObject.jsx)(external_react_namespaceObject.Fragment, {
8113
- children: (0,jsx_runtime_namespaceObject.jsx)(CollapsibleNavBar_CollapsibleNavToggleWrapper, {
8089
+ children: (0,jsx_runtime_namespaceObject.jsx)(CollapsibleNavToggleWrapper, {
8114
8090
  children: (0,jsx_runtime_namespaceObject.jsxs)("label", {
8115
8091
  htmlFor: id,
8116
8092
  css: CollapsibleNavToggle_ref,
@@ -8119,7 +8095,16 @@ const CollapsibleNavToggle = ({
8119
8095
  })
8120
8096
  });
8121
8097
  };
8122
- /* harmony default export */ const CollapsibleNavBar_CollapsibleNavToggle = (CollapsibleNavToggle);
8098
+ ;// ./src/components/CollapsibleNavBar/components/CollapsibleNavBarWrapper.ts
8099
+
8100
+
8101
+ const CollapsibleNavBarWrapper = /*#__PURE__*/base_default()(NavBar_NavBarWrapper, true ? {
8102
+ target: "e3hlx7p0"
8103
+ } : 0)("transform:none;transition:unset;position:static;display:none;width:100%;", ({
8104
+ theme
8105
+ }) => theme.mediaQueries.md, "{background:", ({
8106
+ navBarTheme
8107
+ }) => navBarTheme === 'light' && '#F4F5F9', ";display:flex;flex-direction:column;align-items:center;height:100%;min-height:100vh;width:85px;border-radius:0;padding-top:35px;}" + ( true ? "" : 0));
8123
8108
  ;// ./src/components/CollapsibleNavBar/CollapsibleNavBarContext.tsx
8124
8109
 
8125
8110
 
@@ -8140,7 +8125,7 @@ const CollapsibleNavBarProvider = ({
8140
8125
  const useCollapsibleNavBarContext = () => {
8141
8126
  return (0,external_react_namespaceObject.useContext)(CollapsibleNavBarContext);
8142
8127
  };
8143
- ;// ./src/components/CollapsibleNavBar/CollapsibleNavContentToggle.tsx
8128
+ ;// ./src/components/CollapsibleNavBar/components/CollapsibleNavContentToggle.tsx
8144
8129
  function CollapsibleNavContentToggle_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
8145
8130
 
8146
8131
 
@@ -8172,20 +8157,35 @@ const NavContentToggle = ({
8172
8157
  })
8173
8158
  });
8174
8159
  };
8175
- ;// ./src/components/CollapsibleNavBar/CollapsibleNavBarItem.ts
8160
+ ;// ./src/components/CollapsibleNavBar/components/CollapsibleNavBarList.ts
8161
+
8162
+
8163
+ const CollapsibleNavBarList = /*#__PURE__*/base_default()(NavBar_NavBarList, true ? {
8164
+ target: "evfcnpp0"
8165
+ } : 0)("height:auto;padding:0 0 0 15px;margin:14px 0 0 0;", ({
8166
+ theme
8167
+ }) => theme.mediaQueries.md, "{margin-top:90px;width:100%;padding:0;}", ({
8168
+ theme
8169
+ }) => theme.mediaQueries.lg, "{margin-top:84px;}" + ( true ? "" : 0));
8170
+ ;// ./src/components/CollapsibleNavBar/components/ItemWithSubmenu/CollapsibleNavBarItem.ts
8176
8171
 
8177
8172
 
8178
8173
  const CollapsibleNavBarItem = /*#__PURE__*/base_default()(NavBar_NavBarItem, true ? {
8179
- target: "e1m4ul8g0"
8180
- } : 0)("align-items:flex-start;justify-content:flex-start;height:auto;min-height:24px;padding:12px 0;&:first-of-type{padding-top:0;}&:last-of-type{padding-bottom:0;}width:100%;&>a{height:26px;}", ({
8174
+ target: "e1alsxm0"
8175
+ } : 0)("align-items:flex-start;justify-content:flex-start;width:100%;height:auto;min-height:24px;padding:12px 0;&:first-of-type{padding-top:0;}&:last-of-type{padding-bottom:0;}&>a{height:26px;}", ({
8181
8176
  theme
8182
8177
  }) => theme.mediaQueries.md, "{justify-content:center;padding:20px 0;width:100%;}" + ( true ? "" : 0));
8183
- /* harmony default export */ const CollapsibleNavBar_CollapsibleNavBarItem = (CollapsibleNavBarItem);
8184
- ;// ./src/components/CollapsibleNavBar/CollapsibleNavBarLink.ts
8178
+ ;// ./src/components/CollapsibleNavBar/components/ItemWithSubmenu/styles.ts
8179
+
8180
+ const AccordionTitleWrapper = navBarTheme => theme => /*#__PURE__*/(0,react_namespaceObject.css)("cursor:pointer;align-items:center;", theme.mediaQueries.md, "{display:flex;justify-content:center;}& div.icon-wrapper{width:100%;gap:0;}& div.icon-wrapper:not(.active):hover>button svg path,& div.icon-wrapper.active>button svg path{stroke:", navBarTheme === 'default' ? '#fff' : theme.colors.greyDarker80, ";fill:none;}& .trigger-icon{height:22px;}&:has(+ div > a.active){& div:nth-of-type(2) button{font-weight:900;}}" + ( true ? "" : 0), true ? "" : 0);
8181
+ const styles_AccordionTitle = navBarTheme => theme => /*#__PURE__*/(0,react_namespaceObject.css)("padding:0 14px 0 20px;color:", navBarTheme === 'default' ? theme.colors.white : theme.colors.greyDarker, ";svg path{stroke:", navBarTheme === 'light' && theme.colors.greyDropdownFocused, ";}", theme.mediaQueries.md, "{display:none;}" + ( true ? "" : 0), true ? "" : 0);
8182
+ const styles_AccordionContent = theme => /*#__PURE__*/(0,react_namespaceObject.css)("display:flex;align-items:flex-start;width:100%;padding-left:45px;overflow:hidden;perspective:1px;", theme.mediaQueries.md, "{display:none;}", theme.mediaQueries.lg, "{display:none;}" + ( true ? "" : 0), true ? "" : 0);
8183
+ const AccordionContentPopover = theme => /*#__PURE__*/(0,react_namespaceObject.css)("display:flex;", theme.mediaQueries.md, "{display:flex;}", theme.mediaQueries.lg, "{display:flex;}" + ( true ? "" : 0), true ? "" : 0);
8184
+ ;// ./src/components/CollapsibleNavBar/components/CollapsibleNavBarLink.ts
8185
8185
 
8186
8186
 
8187
8187
  const CollapsibleNavBarLink = /*#__PURE__*/base_default()(external_react_router_dom_namespaceObject.NavLink, true ? {
8188
- target: "ekeqo5r0"
8188
+ target: "e1sy8kzd0"
8189
8189
  } : 0)("cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:20px;color:", ({
8190
8190
  theme,
8191
8191
  navbartheme
@@ -8204,54 +8204,62 @@ const CollapsibleNavBarLink = /*#__PURE__*/base_default()(external_react_router_
8204
8204
  theme,
8205
8205
  navbartheme,
8206
8206
  ...rest
8207
- }) => navbartheme === 'light' && !rest['data-customicon'] && theme.colors.greyDropdownFocused, ";}}&.active{cursor:default;backdrop-filter:blur(0);font-weight:900;filter:", ({
8208
- navbartheme,
8207
+ }) => navbartheme === 'light' && !rest['data-customicon'] && theme.colors.greyDropdownFocused, ";}}&.active,&:not(.active):hover{backdrop-filter:blur(0);filter:", ({
8209
8208
  theme
8210
- }) => navbartheme === 'default' ? `drop-shadow(-4px 4px 14px ${theme.colors.white})` : `drop-shadow(-4px 4px 14px ${theme.colors.greyDropdownFocused})`, ";color:", ({
8209
+ }) => `drop-shadow(-4px 4px 14px ${theme.colors.white})`, ";color:", ({
8211
8210
  theme,
8212
8211
  navbartheme
8213
8212
  }) => navbartheme === 'default' ? theme.colors.white80 : theme.colors.greyDarker80, ";&>span{font-weight:900;color:", ({
8214
8213
  theme,
8215
8214
  navbartheme
8216
- }) => navbartheme === 'default' ? theme.colors.white80 : theme.colors.greyDarker80, ";}div>svg{filter:drop-shadow(-4px 4px 14px ", ({
8217
- theme
8218
- }) => theme.colors.white, ");& path{fill:", ({
8215
+ }) => navbartheme === 'default' ? theme.colors.white80 : theme.colors.greyDarker80, ";}div>svg{& path{fill:", ({
8219
8216
  theme,
8220
8217
  navbartheme,
8221
8218
  ...rest
8222
- }) => !rest['data-customicon'] && navbartheme === 'default' ? theme.colors.white : theme.colors.greyDarker, ";}& circle{stroke:", ({
8219
+ }) => !rest['data-customicon'] && (navbartheme === 'default' ? theme.colors.white : theme.colors.greyDarker), ";}& circle{stroke:", ({
8223
8220
  theme,
8224
8221
  navbartheme,
8225
8222
  ...rest
8226
- }) => !rest['data-customicon'] && navbartheme === 'default' ? theme.colors.white : theme.colors.greyDarker, ";}}}&:not(.active):hover{backdrop-filter:blur(0);filter:", ({
8223
+ }) => !rest['data-customicon'] && (navbartheme === 'default' ? theme.colors.white : theme.colors.greyDarker), ";}}}&.active{cursor:default;font-weight:900;filter:", ({
8224
+ navbartheme,
8227
8225
  theme
8228
- }) => `drop-shadow(-4px 4px 14px ${theme.colors.white})`, ";color:", ({
8229
- theme,
8230
- navbartheme
8231
- }) => navbartheme === 'default' ? theme.colors.white : theme.colors.greyDarker, ";div>svg{filter:", ({
8226
+ }) => navbartheme === 'default' ? `drop-shadow(-4px 4px 14px ${theme.colors.white})` : `drop-shadow(-4px 4px 14px ${theme.colors.greyDropdownFocused})`, ";div>svg{filter:drop-shadow(-4px 4px 14px ", ({
8232
8227
  theme
8233
- }) => `drop-shadow(-4px 4px 14px ${theme.colors.white})`, ";& path{fill:", ({
8234
- theme,
8235
- navbartheme
8236
- }) => navbartheme === 'default' ? theme.colors.white : theme.colors.greyDarker, ";}& circle{stroke:", ({
8237
- theme,
8238
- navbartheme
8239
- }) => navbartheme === 'default' ? theme.colors.white : theme.colors.greyDarker, ";}}}" + ( true ? "" : 0));
8240
- /* harmony default export */ const CollapsibleNavBar_CollapsibleNavBarLink = (CollapsibleNavBarLink);
8241
- ;// ./src/components/CollapsibleNavBar/NavBarAccordionContent.tsx
8228
+ }) => theme.colors.white, ");}}" + ( true ? "" : 0));
8229
+ ;// ./src/components/CollapsibleNavBar/components/ItemWithSubmenu/AccordionContentItem.tsx
8242
8230
 
8243
- function NavBarAccordionContent_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
8231
+ function AccordionContentItem_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
8244
8232
 
8245
8233
 
8246
8234
 
8247
-
8248
-
8249
- const NavBarAccordionContent_Link = /*#__PURE__*/base_default()(CollapsibleNavBar_CollapsibleNavBarLink, true ? {
8250
- target: "e1gb8tyr0"
8235
+ const AccordionContentItem_Link = /*#__PURE__*/base_default()(CollapsibleNavBarLink, true ? {
8236
+ target: "e1yzdzuu0"
8251
8237
  } : 0)( true ? {
8252
8238
  name: "17eotse",
8253
8239
  styles: "width:100%;padding:4.8px 0;&:first-of-type{padding-top:15px;}&:not(.active):hover{filter:initial;}"
8254
8240
  } : 0);
8241
+ const NavBarAccordionContentItem = ({
8242
+ prefix = '',
8243
+ subMenuItem,
8244
+ onClick
8245
+ }) => {
8246
+ const {
8247
+ theme
8248
+ } = useCollapsibleNavBarContext();
8249
+ const isExternalLink = subMenuItem.path.includes('://');
8250
+ return (0,jsx_runtime_namespaceObject.jsx)(AccordionContentItem_Link, {
8251
+ onClick: onClick,
8252
+ end: true,
8253
+ to: isExternalLink ? subMenuItem.path : '/' + prefix + subMenuItem.path,
8254
+ navbartheme: theme,
8255
+ children: subMenuItem.title
8256
+ });
8257
+ };
8258
+ ;// ./src/components/CollapsibleNavBar/components/ItemWithSubmenu/AccordionContent.tsx
8259
+
8260
+
8261
+
8262
+
8255
8263
  const NavBarAccordionContent = ({
8256
8264
  items,
8257
8265
  accordionUniqueName,
@@ -8259,24 +8267,38 @@ const NavBarAccordionContent = ({
8259
8267
  isPopover,
8260
8268
  onClick,
8261
8269
  ...rest
8262
- }) => {
8263
- const {
8264
- theme
8265
- } = useCollapsibleNavBarContext();
8266
- return (0,jsx_runtime_namespaceObject.jsx)(AccordionContent, {
8267
- ...rest,
8268
- css: [styles_AccordionContent, isPopover && AccordionContentPopover, true ? "" : 0, true ? "" : 0],
8269
- children: items.map(subMenuItem => {
8270
- const isExternalLink = subMenuItem.path.includes('://');
8271
- return (0,jsx_runtime_namespaceObject.jsx)(NavBarAccordionContent_Link, {
8272
- onClick: onClick,
8273
- end: true,
8274
- to: isExternalLink ? subMenuItem.path : '/' + prefix + subMenuItem.path,
8275
- navbartheme: theme,
8276
- children: subMenuItem.title
8277
- }, `${accordionUniqueName}-link-${subMenuItem.title.replace(' ', '').toLowerCase()}`);
8278
- })
8279
- });
8270
+ }) => (0,jsx_runtime_namespaceObject.jsx)(AccordionContent, {
8271
+ ...rest,
8272
+ css: [styles_AccordionContent, isPopover && AccordionContentPopover, true ? "" : 0, true ? "" : 0],
8273
+ children: items.map(subMenuItem => {
8274
+ const submenuKey = `${accordionUniqueName}-link-${subMenuItem.title.replace(' ', '').toLowerCase()}`;
8275
+ return (0,jsx_runtime_namespaceObject.jsx)(NavBarAccordionContentItem, {
8276
+ prefix: prefix,
8277
+ subMenuItem: subMenuItem,
8278
+ onClick: onClick
8279
+ }, submenuKey);
8280
+ })
8281
+ });
8282
+ ;// ./src/components/CollapsibleNavBar/CollapsibleNavBarItemContext.tsx
8283
+
8284
+
8285
+ const CollapsibleNavBarItemContext = /*#__PURE__*/(0,external_react_namespaceObject.createContext)({
8286
+ isActive: false,
8287
+ isHover: false
8288
+ });
8289
+ const CollapsibleNavBarItemProvider = ({
8290
+ children,
8291
+ isActive,
8292
+ isHover
8293
+ }) => (0,jsx_runtime_namespaceObject.jsx)(CollapsibleNavBarItemContext.Provider, {
8294
+ value: {
8295
+ isActive,
8296
+ isHover
8297
+ },
8298
+ children: children
8299
+ });
8300
+ const useCollapsibleNavBarItemContext = () => {
8301
+ return (0,external_react_namespaceObject.useContext)(CollapsibleNavBarItemContext);
8280
8302
  };
8281
8303
  ;// ./src/components/Popover/hooks/usePopover.tsx
8282
8304
 
@@ -8518,7 +8540,7 @@ const PopoverDescription = /*#__PURE__*/external_react_namespaceObject.forwardRe
8518
8540
  id: id
8519
8541
  });
8520
8542
  });
8521
- ;// ./src/components/CollapsibleNavBar/NavBarPopover.tsx
8543
+ ;// ./src/components/CollapsibleNavBar/components/NavBarPopover.tsx
8522
8544
 
8523
8545
  function NavBarPopover_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
8524
8546
 
@@ -8633,7 +8655,7 @@ const CollapsibleNavBarPopover = ({
8633
8655
  })]
8634
8656
  });
8635
8657
  };
8636
- ;// ./src/components/CollapsibleNavBar/TriggerIcon.tsx
8658
+ ;// ./src/components/CollapsibleNavBar/components/TriggerIcon.tsx
8637
8659
  function TriggerIcon_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
8638
8660
 
8639
8661
 
@@ -8665,9 +8687,8 @@ const TriggerIcon = ({
8665
8687
  })
8666
8688
  });
8667
8689
  };
8668
- ;// ./src/components/CollapsibleNavBar/NavBarItemWithSubMenu.tsx
8690
+ ;// ./src/components/CollapsibleNavBar/components/ItemWithSubmenu/ItemAccordionTitle.tsx
8669
8691
 
8670
- function NavBarItemWithSubMenu_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
8671
8692
 
8672
8693
 
8673
8694
 
@@ -8679,47 +8700,118 @@ function NavBarItemWithSubMenu_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You ha
8679
8700
 
8680
8701
 
8681
8702
 
8682
- const NavBarItemWithSubMenu_Link = CollapsibleNavBar_CollapsibleNavBarLink.withComponent('div', true ? {
8683
- target: "enmfiaw0"
8703
+ const ItemAccordionTitle_Link = CollapsibleNavBarLink.withComponent('div', true ? {
8704
+ target: "e69hc760"
8684
8705
  } : 0);
8685
- var NavBarItemWithSubMenu_ref = true ? {
8706
+ const ItemAccordionTitle = ({
8707
+ data,
8708
+ item,
8709
+ accordionUniqueName,
8710
+ useMatchPattern
8711
+ }) => {
8712
+ const {
8713
+ theme
8714
+ } = useCollapsibleNavBarContext();
8715
+ const linkRef = (0,external_react_namespaceObject.useRef)(null);
8716
+ const classNamesList = Array.from(linkRef.current?.classList || []);
8717
+ const [isActive, setIsActive] = (0,external_react_namespaceObject.useState)(classNamesList.includes('active'));
8718
+ const [isHover, setIsHover] = (0,external_react_namespaceObject.useState)(false);
8719
+ const {
8720
+ pathname
8721
+ } = (0,external_react_router_dom_namespaceObject.useLocation)();
8722
+ const matchPattern = useMatchPattern ? useMatchPattern(item.prefix) : item.prefix + ':id';
8723
+ const match = (0,external_react_router_dom_namespaceObject.useMatch)(matchPattern);
8724
+ (0,external_react_namespaceObject.useEffect)(() => {
8725
+ const classNamesList = Array.from(linkRef.current?.classList || []);
8726
+ setIsActive(classNamesList.includes('active'));
8727
+ }, [pathname]);
8728
+ const handleMouseEnter = () => {
8729
+ setIsHover(true);
8730
+ };
8731
+ const handleMouseLeave = () => {
8732
+ setIsHover(false);
8733
+ };
8734
+ const Icon = () => (0,jsx_runtime_namespaceObject.jsx)(TriggerIcon, {
8735
+ iconName: item.iconName,
8736
+ iconSize: item.iconSize,
8737
+ css: /*#__PURE__*/(0,react_namespaceObject.css)({
8738
+ ...item.css
8739
+ }, true ? "" : 0, true ? "" : 0)
8740
+ });
8741
+ return (0,jsx_runtime_namespaceObject.jsx)(CollapsibleNavBarItemProvider, {
8742
+ isActive: isActive,
8743
+ isHover: isHover,
8744
+ children: (0,jsx_runtime_namespaceObject.jsxs)(Wrapper_Wrapper, {
8745
+ onClick: data.onClick,
8746
+ css: AccordionTitleWrapper(theme),
8747
+ onMouseEnter: handleMouseEnter,
8748
+ onMouseLeave: handleMouseLeave,
8749
+ children: [(0,jsx_runtime_namespaceObject.jsx)(ItemAccordionTitle_Link, {
8750
+ to: "",
8751
+ navbartheme: theme,
8752
+ className: isActive || match ? ' active' : '',
8753
+ children: (0,jsx_runtime_namespaceObject.jsx)(CollapsibleNavBarPopover, {
8754
+ triggerIcon: (0,jsx_runtime_namespaceObject.jsx)(Icon, {}),
8755
+ title: data.title,
8756
+ content: (0,jsx_runtime_namespaceObject.jsx)(NavBarAccordionContent, {
8757
+ items: item.items,
8758
+ accordionUniqueName: accordionUniqueName,
8759
+ prefix: item.prefix,
8760
+ id: accordionUniqueName,
8761
+ isOpened: true,
8762
+ isPopover: true,
8763
+ useMatchPattern: useMatchPattern
8764
+ })
8765
+ })
8766
+ }), (0,jsx_runtime_namespaceObject.jsxs)(ItemAccordionTitle_Link, {
8767
+ to: "",
8768
+ className: `icon-wrapper${isActive ? ' active' : ''}`,
8769
+ navbartheme: theme
8770
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
8771
+ ,
8772
+ ref: linkRef,
8773
+ children: [item.CustomIcon ? (0,jsx_runtime_namespaceObject.jsx)(item.CustomIcon, {}) : (0,jsx_runtime_namespaceObject.jsx)(Icon, {}), (0,jsx_runtime_namespaceObject.jsx)(AccordionTitle, {
8774
+ ...data,
8775
+ css: styles_AccordionTitle(theme)
8776
+ })]
8777
+ })]
8778
+ })
8779
+ });
8780
+ };
8781
+ ;// ./src/components/CollapsibleNavBar/components/ItemWithSubmenu/ItemWithSubMenu.tsx
8782
+
8783
+ function ItemWithSubMenu_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
8784
+
8785
+
8786
+
8787
+
8788
+
8789
+
8790
+
8791
+ var ItemWithSubMenu_ref = true ? {
8686
8792
  name: "1d3w5wq",
8687
8793
  styles: "width:100%"
8688
8794
  } : 0;
8689
- const NavBarItemWithSubMenu = ({
8795
+ const Item = ({
8690
8796
  item,
8691
8797
  useMatchPattern,
8692
8798
  onClick
8693
8799
  }) => {
8694
8800
  const {
8695
- subMenuMaxWidth,
8696
- theme
8801
+ subMenuMaxWidth
8697
8802
  } = useCollapsibleNavBarContext();
8698
8803
  const {
8699
- iconName,
8700
- iconSize,
8701
8804
  title,
8702
8805
  items,
8703
- prefix = '',
8704
- css,
8705
- CustomIcon
8806
+ prefix = ''
8706
8807
  } = item;
8707
- const uniqName = iconName + title.replace(' ', '').toLowerCase();
8808
+ const uniqName = (0,external_react_namespaceObject.useId)();
8708
8809
  const accordionUniqName = uniqName + 'accordion';
8709
- const matchPattern = useMatchPattern ? useMatchPattern(prefix) : prefix + ':id';
8710
- const match = (0,external_react_router_dom_namespaceObject.useMatch)(matchPattern);
8711
- const Icon = () => (0,jsx_runtime_namespaceObject.jsx)(TriggerIcon, {
8712
- iconName: iconName,
8713
- iconSize: iconSize,
8714
- css: /*#__PURE__*/(0,react_namespaceObject.css)({
8715
- ...css
8716
- }, true ? "" : 0, true ? "" : 0)
8717
- });
8718
8810
  return (0,jsx_runtime_namespaceObject.jsx)(AccordionGroupContextProvider, {
8719
- children: (0,jsx_runtime_namespaceObject.jsx)(CollapsibleNavBar_CollapsibleNavBarItem, {
8811
+ children: (0,jsx_runtime_namespaceObject.jsx)(CollapsibleNavBarItem, {
8720
8812
  children: (0,jsx_runtime_namespaceObject.jsx)(AccordionGroup, {
8721
8813
  size: "small",
8722
- css: NavBarItemWithSubMenu_ref,
8814
+ css: ItemWithSubMenu_ref,
8723
8815
  children: (0,jsx_runtime_namespaceObject.jsx)(Accordion, {
8724
8816
  id: accordionUniqName,
8725
8817
  title: title,
@@ -8740,49 +8832,34 @@ const NavBarItemWithSubMenu = ({
8740
8832
  onClick: onClick,
8741
8833
  ...props
8742
8834
  }),
8743
- renderTitle: data => (0,jsx_runtime_namespaceObject.jsxs)(Wrapper_Wrapper, {
8744
- onClick: data.onClick,
8745
- css: AccordionTitleWrapper(theme),
8746
- children: [(0,jsx_runtime_namespaceObject.jsx)(NavBarItemWithSubMenu_Link, {
8747
- to: "",
8748
- className: match ? ' active' : '',
8749
- navbartheme: theme,
8750
- children: (0,jsx_runtime_namespaceObject.jsx)(CollapsibleNavBarPopover, {
8751
- triggerIcon: (0,jsx_runtime_namespaceObject.jsx)(Icon, {}),
8752
- title: data.title,
8753
- content: (0,jsx_runtime_namespaceObject.jsx)(NavBarAccordionContent, {
8754
- items: items,
8755
- accordionUniqueName: accordionUniqName,
8756
- prefix: prefix,
8757
- id: accordionUniqName,
8758
- isOpened: true,
8759
- isPopover: true
8760
- })
8761
- })
8762
- }), (0,jsx_runtime_namespaceObject.jsxs)(NavBarItemWithSubMenu_Link, {
8763
- to: "",
8764
- className: `icon-wrapper${match ? ' active' : ''}`,
8765
- navbartheme: theme,
8766
- children: [CustomIcon ? (0,jsx_runtime_namespaceObject.jsx)(CustomIcon, {}) : (0,jsx_runtime_namespaceObject.jsx)(Icon, {}), (0,jsx_runtime_namespaceObject.jsx)(AccordionTitle, {
8767
- ...data,
8768
- css: styles_AccordionTitle(theme)
8769
- })]
8770
- })]
8835
+ renderTitle: data => (0,jsx_runtime_namespaceObject.jsx)(ItemAccordionTitle, {
8836
+ data: data,
8837
+ item: item,
8838
+ useMatchPattern: useMatchPattern,
8839
+ accordionUniqueName: accordionUniqName
8771
8840
  })
8772
8841
  })
8773
8842
  })
8774
8843
  })
8775
8844
  }, uniqName);
8776
8845
  };
8777
- ;// ./src/components/CollapsibleNavBar/NavBarItemWithoutSubMenu.tsx
8846
+ ;// ./src/components/CollapsibleNavBar/components/ItemWithSubmenu/index.ts
8847
+
8848
+
8778
8849
 
8779
8850
 
8780
8851
 
8852
+ ;// ./src/components/CollapsibleNavBar/components/ItemWithoutSubmenu/ItemWithoutSubMenu.tsx
8781
8853
 
8782
8854
 
8783
8855
 
8784
8856
 
8785
- const NavBarItemWithoutSubMenu = ({
8857
+
8858
+
8859
+
8860
+
8861
+
8862
+ const ItemWithoutSubMenu_Item = ({
8786
8863
  item,
8787
8864
  onClick
8788
8865
  }) => {
@@ -8798,6 +8875,27 @@ const NavBarItemWithoutSubMenu = ({
8798
8875
  CustomIcon
8799
8876
  } = item;
8800
8877
  const isExternalLink = path.includes('://');
8878
+ const linkRef = (0,external_react_namespaceObject.useRef)(null);
8879
+ const classNamesList = Array.from(linkRef.current?.classList || []);
8880
+ const [isActive, setIsActive] = (0,external_react_namespaceObject.useState)(classNamesList.includes('active'));
8881
+ const [isHover, setIsHover] = (0,external_react_namespaceObject.useState)(false);
8882
+ const {
8883
+ pathname
8884
+ } = (0,external_react_router_dom_namespaceObject.useLocation)();
8885
+ (0,external_react_namespaceObject.useEffect)(() => {
8886
+ const classNamesList = Array.from(linkRef.current?.classList || []);
8887
+ setIsActive(classNamesList.includes('active'));
8888
+ }, [pathname]);
8889
+ const handleMouseEnter = () => {
8890
+ setIsHover(true);
8891
+ };
8892
+ const handleMouseLeave = () => {
8893
+ setIsHover(false);
8894
+ };
8895
+ (0,external_react_namespaceObject.useEffect)(() => {
8896
+ const classNamesList = Array.from(linkRef.current?.classList || []);
8897
+ setIsActive(classNamesList.includes('active'));
8898
+ }, [pathname]);
8801
8899
  const Icon = () => (0,jsx_runtime_namespaceObject.jsx)(TriggerIcon, {
8802
8900
  iconName: iconName,
8803
8901
  iconSize: iconSize,
@@ -8806,21 +8904,47 @@ const NavBarItemWithoutSubMenu = ({
8806
8904
  ...css
8807
8905
  }, true ? "" : 0, true ? "" : 0)
8808
8906
  });
8809
- return (0,jsx_runtime_namespaceObject.jsx)(CollapsibleNavBar_CollapsibleNavBarItem, {
8810
- children: (0,jsx_runtime_namespaceObject.jsxs)(CollapsibleNavBar_CollapsibleNavBarLink, {
8811
- to: isExternalLink ? path : '/' + path,
8812
- end: true,
8813
- onClick: onClick,
8814
- navbartheme: theme,
8815
- "data-customicon": !!CustomIcon,
8816
- children: [(0,jsx_runtime_namespaceObject.jsx)(CollapsibleNavBarPopover, {
8817
- triggerIcon: (0,jsx_runtime_namespaceObject.jsx)(Icon, {}),
8818
- title: title
8819
- }), (0,jsx_runtime_namespaceObject.jsx)(Icon, {}), (0,jsx_runtime_namespaceObject.jsx)("span", {
8820
- children: title
8821
- })]
8822
- })
8823
- }, path);
8907
+ return (0,jsx_runtime_namespaceObject.jsx)(CollapsibleNavBarItemProvider, {
8908
+ isActive: isActive,
8909
+ isHover: isHover,
8910
+ children: (0,jsx_runtime_namespaceObject.jsx)(CollapsibleNavBarItem, {
8911
+ children: (0,jsx_runtime_namespaceObject.jsxs)(CollapsibleNavBarLink, {
8912
+ to: isExternalLink ? path : '/' + path,
8913
+ end: true,
8914
+ onClick: onClick,
8915
+ ref: linkRef,
8916
+ navbartheme: theme,
8917
+ "data-customicon": !!CustomIcon,
8918
+ onMouseEnter: handleMouseEnter,
8919
+ onMouseLeave: handleMouseLeave,
8920
+ children: [(0,jsx_runtime_namespaceObject.jsx)(CollapsibleNavBarPopover, {
8921
+ triggerIcon: (0,jsx_runtime_namespaceObject.jsx)(Icon, {}),
8922
+ title: title
8923
+ }), (0,jsx_runtime_namespaceObject.jsx)(Icon, {}), (0,jsx_runtime_namespaceObject.jsx)("span", {
8924
+ children: title
8925
+ })]
8926
+ })
8927
+ }, path)
8928
+ });
8929
+ };
8930
+ ;// ./src/components/CollapsibleNavBar/components/ItemWithoutSubmenu/index.ts
8931
+
8932
+ ;// ./src/components/CollapsibleNavBar/components/NavBarItem.tsx
8933
+
8934
+
8935
+ const NavBarItem_NavBarItem = ({
8936
+ item,
8937
+ useMatchPattern,
8938
+ onClick
8939
+ }) => {
8940
+ return 'items' in item ? (0,jsx_runtime_namespaceObject.jsx)(Item, {
8941
+ item: item,
8942
+ onClick: onClick,
8943
+ useMatchPattern: useMatchPattern
8944
+ }) : (0,jsx_runtime_namespaceObject.jsx)(ItemWithoutSubMenu_Item, {
8945
+ item: item,
8946
+ onClick: onClick
8947
+ });
8824
8948
  };
8825
8949
  ;// ./src/consts.ts
8826
8950
  const SCREEN_SIZES = {
@@ -8849,12 +8973,6 @@ const SCREEN_SIZES = {
8849
8973
 
8850
8974
 
8851
8975
 
8852
-
8853
-
8854
-
8855
-
8856
-
8857
-
8858
8976
  /**
8859
8977
  * UI Component that shows the collapsible navigation bar
8860
8978
  */
@@ -8888,7 +9006,7 @@ const CollapsibleNavBar = ({
8888
9006
  return (0,jsx_runtime_namespaceObject.jsx)(CollapsibleNavBarProvider, {
8889
9007
  theme: theme,
8890
9008
  subMenuMaxWidth: subMenuMaxWidth,
8891
- children: (0,jsx_runtime_namespaceObject.jsxs)(CollapsibleNavBar_CollapsibleNavBarBase, {
9009
+ children: (0,jsx_runtime_namespaceObject.jsxs)(CollapsibleNavBarBase, {
8892
9010
  className: className + (isChecked ? ' opened' : ''),
8893
9011
  "data-theme": theme,
8894
9012
  children: [(0,jsx_runtime_namespaceObject.jsx)("input", {
@@ -8898,9 +9016,9 @@ const CollapsibleNavBar = ({
8898
9016
  onChange: () => {
8899
9017
  onToggle(!isChecked);
8900
9018
  }
8901
- }), (0,jsx_runtime_namespaceObject.jsx)(CollapsibleNavBar_CollapsibleNavToggle, {
9019
+ }), (0,jsx_runtime_namespaceObject.jsx)(CollapsibleNavToggle, {
8902
9020
  id: toggleId
8903
- }), (0,jsx_runtime_namespaceObject.jsxs)(CollapsibleNavBar_CollapsibleNavBarWrapper, {
9021
+ }), (0,jsx_runtime_namespaceObject.jsxs)(CollapsibleNavBarWrapper, {
8904
9022
  navBarTheme: theme,
8905
9023
  children: [(0,jsx_runtime_namespaceObject.jsxs)(Wrapper_Wrapper, {
8906
9024
  css: LogoWrapper,
@@ -8908,7 +9026,7 @@ const CollapsibleNavBar = ({
8908
9026
  id: toggleId,
8909
9027
  isChecked: isChecked
8910
9028
  })]
8911
- }), (0,jsx_runtime_namespaceObject.jsx)(CollapsibleNavBar_CollapsibleNavBarList, {
9029
+ }), (0,jsx_runtime_namespaceObject.jsx)(CollapsibleNavBarList, {
8912
9030
  navBarTheme: theme,
8913
9031
  children: items.map(item => {
8914
9032
  const {
@@ -8916,13 +9034,10 @@ const CollapsibleNavBar = ({
8916
9034
  title
8917
9035
  } = item;
8918
9036
  const keyName = iconName + title.replace(' ', '').toLowerCase();
8919
- return 'items' in item ? (0,jsx_runtime_namespaceObject.jsx)(NavBarItemWithSubMenu, {
8920
- item: item,
9037
+ return (0,jsx_runtime_namespaceObject.jsx)(NavBarItem_NavBarItem, {
8921
9038
  onClick: handleCloseMobileMenu,
8922
- useMatchPattern: useMatchPattern
8923
- }, keyName) : (0,jsx_runtime_namespaceObject.jsx)(NavBarItemWithoutSubMenu, {
8924
- item: item,
8925
- onClick: handleCloseMobileMenu
9039
+ useMatchPattern: useMatchPattern,
9040
+ item: item
8926
9041
  }, keyName);
8927
9042
  })
8928
9043
  })]
@@ -8930,9 +9045,46 @@ const CollapsibleNavBar = ({
8930
9045
  })
8931
9046
  });
8932
9047
  };
9048
+ ;// ./src/components/CollapsibleNavBar/CollapsibleNavBarCustomIconSVG.tsx
9049
+
9050
+
9051
+
9052
+
9053
+
9054
+ const CustomIconSVGStyled = /*#__PURE__*/base_default()("svg", true ? {
9055
+ target: "etmtuj80"
9056
+ } : 0)("&.is-active>path,&:hover>path,&:not(.is-active):hover>path,&:not(.is-active).is-hover>path{fill:", ({
9057
+ theme
9058
+ }) => theme.colors.white, ";}" + ( true ? "" : 0));
9059
+ const CollapsibleNavBarCustomIconSVG = ({
9060
+ className,
9061
+ css,
9062
+ children,
9063
+ ...rest
9064
+ }) => {
9065
+ const {
9066
+ isActive,
9067
+ isHover
9068
+ } = useCollapsibleNavBarItemContext();
9069
+ const classNames = new utils_namespaceObject.ClassnameArray();
9070
+ classNames.push('svg-icon');
9071
+ classNames.toggle('is-active', isActive);
9072
+ classNames.toggle('is-hover', isHover);
9073
+ if (className) {
9074
+ classNames.push(className);
9075
+ }
9076
+ return (0,jsx_runtime_namespaceObject.jsx)(CustomIconSVGStyled, {
9077
+ className: classNames.join(' '),
9078
+ css: css,
9079
+ ...rest,
9080
+ children: children
9081
+ });
9082
+ };
8933
9083
  ;// ./src/components/CollapsibleNavBar/index.ts
8934
9084
 
8935
9085
 
9086
+
9087
+
8936
9088
  ;// ./src/components/DatePicker/constants.ts
8937
9089
  const DEFAULT_MASK_FORMAT = 'mm/dd/yyyy';
8938
9090
  const DEFAULT_MASK = '__/__/____';
@@ -10359,22 +10511,6 @@ const DateRangePickerContext = /*#__PURE__*/(0,external_react_namespaceObject.cr
10359
10511
 
10360
10512
 
10361
10513
  const useDateRangePickerContext = () => (0,external_react_namespaceObject.useContext)(DateRangePickerContext);
10362
- ;// ./src/components/DateRangePicker/helpers/ClassnameArray.ts
10363
- class ClassnameArray extends Array {
10364
- toggle(className, condition) {
10365
- const index = this.indexOf(className);
10366
- if (condition) {
10367
- if (index === -1) {
10368
- this.push(className);
10369
- }
10370
- } else {
10371
- if (index > -1) {
10372
- this.splice(index, 1);
10373
- }
10374
- }
10375
- return this;
10376
- }
10377
- }
10378
10514
  ;// ./src/components/DateRangePicker/hooks/useRangeHighlighting.ts
10379
10515
 
10380
10516
 
@@ -10392,7 +10528,7 @@ const useRangeHighlighting = () => {
10392
10528
  isCalendarFirstDateSelected,
10393
10529
  isCalendarSecondDateSelected
10394
10530
  }) => {
10395
- const classNames = new ClassnameArray();
10531
+ const classNames = new utils_namespaceObject.ClassnameArray();
10396
10532
  let isHoverRangeHighlightFrom = false;
10397
10533
  let isHoverRangeHighlightTo = false;
10398
10534
  if (hoveredDate !== null) {