@ultraviolet/plus 3.4.5 → 3.5.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.
Files changed (222) hide show
  1. package/dist/.vite/license.md +3 -0
  2. package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/defineProperty.js +15 -0
  3. package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/objectSpread2.js +28 -0
  4. package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/objectWithoutProperties.js +18 -0
  5. package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/objectWithoutPropertiesLoose.js +15 -0
  6. package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/toPrimitive.js +17 -0
  7. package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/toPropertyKey.js +12 -0
  8. package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/typeof.js +14 -0
  9. package/dist/_virtual/_rolldown/runtime.js +9 -0
  10. package/dist/components/CodeEditor/CodeEditor.d.ts +1 -1
  11. package/dist/components/CodeEditor/CodeEditor.d.ts.map +1 -1
  12. package/dist/components/CodeEditor/CodeEditor.js +111 -137
  13. package/dist/components/CodeEditor/styles.css.js +18 -15
  14. package/dist/components/ContentCard/Skeleton.d.ts.map +1 -1
  15. package/dist/components/ContentCard/Skeleton.js +31 -27
  16. package/dist/components/ContentCard/index.js +107 -140
  17. package/dist/components/ContentCard/styles.css.d.ts +1 -1
  18. package/dist/components/ContentCard/styles.css.js +23 -19
  19. package/dist/components/ContentCardGroup/Card.js +55 -69
  20. package/dist/components/ContentCardGroup/SkeletonCard.js +28 -14
  21. package/dist/components/ContentCardGroup/index.d.ts +7 -7
  22. package/dist/components/ContentCardGroup/index.js +20 -25
  23. package/dist/components/ContentCardGroup/styles.css.js +6 -11
  24. package/dist/components/Conversation/index.d.ts +29 -23
  25. package/dist/components/Conversation/index.d.ts.map +1 -1
  26. package/dist/components/Conversation/index.js +46 -48
  27. package/dist/components/Conversation/styles.css.js +19 -13
  28. package/dist/components/CustomerSatisfaction/assets/1-5.js +5 -0
  29. package/dist/components/CustomerSatisfaction/assets/1-5NB.js +5 -0
  30. package/dist/components/CustomerSatisfaction/assets/2-5.js +5 -0
  31. package/dist/components/CustomerSatisfaction/assets/2-5NB.js +5 -0
  32. package/dist/components/CustomerSatisfaction/assets/3-5.js +5 -0
  33. package/dist/components/CustomerSatisfaction/assets/3-5NB.js +5 -0
  34. package/dist/components/CustomerSatisfaction/assets/4-5.js +5 -0
  35. package/dist/components/CustomerSatisfaction/assets/4-5NB.js +5 -0
  36. package/dist/components/CustomerSatisfaction/assets/5-5.js +5 -0
  37. package/dist/components/CustomerSatisfaction/assets/5-5NB.js +5 -0
  38. package/dist/components/CustomerSatisfaction/index.d.ts +1 -1
  39. package/dist/components/CustomerSatisfaction/index.d.ts.map +1 -1
  40. package/dist/components/CustomerSatisfaction/index.js +85 -100
  41. package/dist/components/CustomerSatisfaction/styles.css.js +18 -6
  42. package/dist/components/EstimateCost/Components/CustomUnitInput.d.ts.map +1 -1
  43. package/dist/components/EstimateCost/Components/CustomUnitInput.js +39 -52
  44. package/dist/components/EstimateCost/Components/Item.d.ts.map +1 -1
  45. package/dist/components/EstimateCost/Components/Item.js +223 -323
  46. package/dist/components/EstimateCost/Components/LineThrough.d.ts.map +1 -1
  47. package/dist/components/EstimateCost/Components/LineThrough.js +16 -16
  48. package/dist/components/EstimateCost/Components/NumberInput.d.ts.map +1 -1
  49. package/dist/components/EstimateCost/Components/NumberInput.js +33 -37
  50. package/dist/components/EstimateCost/Components/Region.d.ts.map +1 -1
  51. package/dist/components/EstimateCost/Components/Region.js +34 -57
  52. package/dist/components/EstimateCost/Components/Regular.d.ts.map +1 -1
  53. package/dist/components/EstimateCost/Components/Regular.js +21 -26
  54. package/dist/components/EstimateCost/Components/Strong.d.ts.map +1 -1
  55. package/dist/components/EstimateCost/Components/Strong.js +14 -19
  56. package/dist/components/EstimateCost/Components/Unit.d.ts.map +1 -1
  57. package/dist/components/EstimateCost/Components/Unit.js +47 -40
  58. package/dist/components/EstimateCost/Components/Zone.d.ts.map +1 -1
  59. package/dist/components/EstimateCost/Components/Zone.js +33 -55
  60. package/dist/components/EstimateCost/Components/components.css.js +122 -86
  61. package/dist/components/EstimateCost/EstimateCost.d.ts +138 -121
  62. package/dist/components/EstimateCost/EstimateCost.d.ts.map +1 -1
  63. package/dist/components/EstimateCost/EstimateCost.js +79 -124
  64. package/dist/components/EstimateCost/EstimateCostContent.d.ts.map +1 -1
  65. package/dist/components/EstimateCost/EstimateCostContent.js +284 -394
  66. package/dist/components/EstimateCost/EstimateCostProvider.d.ts +1 -1
  67. package/dist/components/EstimateCost/EstimateCostProvider.d.ts.map +1 -1
  68. package/dist/components/EstimateCost/EstimateCostProvider.js +30 -37
  69. package/dist/components/EstimateCost/OverlayComponent.d.ts.map +1 -1
  70. package/dist/components/EstimateCost/OverlayComponent.js +95 -93
  71. package/dist/components/EstimateCost/OverlayContext.d.ts.map +1 -1
  72. package/dist/components/EstimateCost/OverlayContext.js +12 -10
  73. package/dist/components/EstimateCost/constants.js +19 -21
  74. package/dist/components/EstimateCost/helper.d.ts +2 -2
  75. package/dist/components/EstimateCost/helper.d.ts.map +1 -1
  76. package/dist/components/EstimateCost/helper.js +9 -14
  77. package/dist/components/EstimateCost/locales/en.js +24 -23
  78. package/dist/components/EstimateCost/styles.css.d.ts +2 -2
  79. package/dist/components/EstimateCost/styles.css.js +50 -36
  80. package/dist/components/EstimateCost/types.d.ts +1 -1
  81. package/dist/components/EstimateCost/types.d.ts.map +1 -1
  82. package/dist/components/FAQ/index.d.ts.map +1 -1
  83. package/dist/components/FAQ/index.js +37 -31
  84. package/dist/components/FAQ/styles.css.js +6 -4
  85. package/dist/components/InfoTable/InfoTable.d.ts +10 -13
  86. package/dist/components/InfoTable/InfoTable.d.ts.map +1 -1
  87. package/dist/components/InfoTable/InfoTable.js +24 -15
  88. package/dist/components/InfoTable/components/Cell.d.ts.map +1 -1
  89. package/dist/components/InfoTable/components/Cell.js +37 -45
  90. package/dist/components/InfoTable/components/Row.d.ts.map +1 -1
  91. package/dist/components/InfoTable/components/Row.js +19 -27
  92. package/dist/components/InfoTable/context.d.ts +1 -1
  93. package/dist/components/InfoTable/context.d.ts.map +1 -1
  94. package/dist/components/InfoTable/context.js +5 -3
  95. package/dist/components/InfoTable/styles.css.js +6 -10
  96. package/dist/components/Navigation/Footer.d.ts.map +1 -1
  97. package/dist/components/Navigation/Footer.js +59 -75
  98. package/dist/components/Navigation/Header.d.ts.map +1 -1
  99. package/dist/components/Navigation/Header.js +20 -17
  100. package/dist/components/Navigation/Navigation.d.ts +46 -43
  101. package/dist/components/Navigation/Navigation.d.ts.map +1 -1
  102. package/dist/components/Navigation/Navigation.js +23 -27
  103. package/dist/components/Navigation/NavigationContent.d.ts +1 -1
  104. package/dist/components/Navigation/NavigationContent.d.ts.map +1 -1
  105. package/dist/components/Navigation/NavigationContent.js +100 -138
  106. package/dist/components/Navigation/NavigationProvider.d.ts.map +1 -1
  107. package/dist/components/Navigation/NavigationProvider.js +116 -165
  108. package/dist/components/Navigation/components/Group.d.ts.map +1 -1
  109. package/dist/components/Navigation/components/Group.js +36 -43
  110. package/dist/components/Navigation/components/Item.d.ts +1 -1
  111. package/dist/components/Navigation/components/Item.d.ts.map +1 -1
  112. package/dist/components/Navigation/components/Item.js +440 -607
  113. package/dist/components/Navigation/components/ItemProvider.d.ts.map +1 -1
  114. package/dist/components/Navigation/components/ItemProvider.js +13 -8
  115. package/dist/components/Navigation/components/PinnedItems.d.ts.map +1 -1
  116. package/dist/components/Navigation/components/PinnedItems.js +101 -132
  117. package/dist/components/Navigation/components/Separator.js +10 -7
  118. package/dist/components/Navigation/components/ShowHide.d.ts +1 -1
  119. package/dist/components/Navigation/components/ShowHide.d.ts.map +1 -1
  120. package/dist/components/Navigation/components/ShowHide.js +51 -75
  121. package/dist/components/Navigation/components/items.css.js +72 -30
  122. package/dist/components/Navigation/components/styles.css.js +23 -13
  123. package/dist/components/Navigation/locales/en.js +12 -11
  124. package/dist/components/Navigation/styles.css.js +28 -14
  125. package/dist/components/Navigation/variables.css.js +6 -4
  126. package/dist/components/OfferList/OfferList.d.ts +5 -51
  127. package/dist/components/OfferList/OfferList.d.ts.map +1 -1
  128. package/dist/components/OfferList/OfferList.js +11 -78
  129. package/dist/components/OrderSummary/index.d.ts +5 -2
  130. package/dist/components/OrderSummary/index.d.ts.map +1 -1
  131. package/dist/components/OrderSummary/index.js +11 -204
  132. package/dist/components/Plans/index.d.ts +5 -21
  133. package/dist/components/Plans/index.d.ts.map +1 -1
  134. package/dist/components/Plans/index.js +11 -214
  135. package/dist/components/SteppedListCard/index.d.ts +5 -1
  136. package/dist/components/SteppedListCard/index.d.ts.map +1 -1
  137. package/dist/components/SteppedListCard/index.js +11 -0
  138. package/dist/index.js +5 -21
  139. package/dist/plus.css +2 -1
  140. package/package.json +9 -8
  141. package/LICENSE +0 -189
  142. package/dist/components/CustomerSatisfaction/assets/1-5.svg.js +0 -4
  143. package/dist/components/CustomerSatisfaction/assets/1-5NB.svg.js +0 -4
  144. package/dist/components/CustomerSatisfaction/assets/2-5.svg.js +0 -4
  145. package/dist/components/CustomerSatisfaction/assets/2-5NB.svg.js +0 -4
  146. package/dist/components/CustomerSatisfaction/assets/3-5.svg.js +0 -4
  147. package/dist/components/CustomerSatisfaction/assets/3-5NB.svg.js +0 -4
  148. package/dist/components/CustomerSatisfaction/assets/4-5.svg.js +0 -4
  149. package/dist/components/CustomerSatisfaction/assets/4-5NB.svg.js +0 -4
  150. package/dist/components/CustomerSatisfaction/assets/5-5.svg.js +0 -4
  151. package/dist/components/CustomerSatisfaction/assets/5-5NB.svg.js +0 -4
  152. package/dist/components/Navigation/constants.js +0 -10
  153. package/dist/components/OfferList/OfferListProvider.d.ts +0 -30
  154. package/dist/components/OfferList/OfferListProvider.d.ts.map +0 -1
  155. package/dist/components/OfferList/OfferListProvider.js +0 -48
  156. package/dist/components/OfferList/components/Banner.d.ts +0 -13
  157. package/dist/components/OfferList/components/Banner.d.ts.map +0 -1
  158. package/dist/components/OfferList/components/Banner.js +0 -43
  159. package/dist/components/OfferList/components/Cell.d.ts +0 -4
  160. package/dist/components/OfferList/components/Cell.d.ts.map +0 -1
  161. package/dist/components/OfferList/components/Cell.js +0 -35
  162. package/dist/components/OfferList/components/OfferListRowProvider.d.ts +0 -9
  163. package/dist/components/OfferList/components/OfferListRowProvider.d.ts.map +0 -1
  164. package/dist/components/OfferList/components/OfferListRowProvider.js +0 -10
  165. package/dist/components/OfferList/components/Row.d.ts +0 -18
  166. package/dist/components/OfferList/components/Row.d.ts.map +0 -1
  167. package/dist/components/OfferList/components/Row.js +0 -258
  168. package/dist/components/OfferList/styles.css.d.ts +0 -44
  169. package/dist/components/OfferList/styles.css.d.ts.map +0 -1
  170. package/dist/components/OfferList/styles.css.js +0 -40
  171. package/dist/components/OrderSummary/NonScrollableContent.d.ts +0 -20
  172. package/dist/components/OrderSummary/NonScrollableContent.d.ts.map +0 -1
  173. package/dist/components/OrderSummary/NonScrollableContent.js +0 -136
  174. package/dist/components/OrderSummary/Provider.d.ts +0 -15
  175. package/dist/components/OrderSummary/Provider.d.ts.map +0 -1
  176. package/dist/components/OrderSummary/Provider.js +0 -15
  177. package/dist/components/OrderSummary/ScrollableContent.d.ts +0 -2
  178. package/dist/components/OrderSummary/ScrollableContent.d.ts.map +0 -1
  179. package/dist/components/OrderSummary/ScrollableContent.js +0 -314
  180. package/dist/components/OrderSummary/constants.d.ts +0 -3
  181. package/dist/components/OrderSummary/constants.d.ts.map +0 -1
  182. package/dist/components/OrderSummary/constants.js +0 -18
  183. package/dist/components/OrderSummary/helpers.d.ts +0 -28
  184. package/dist/components/OrderSummary/helpers.d.ts.map +0 -1
  185. package/dist/components/OrderSummary/helpers.js +0 -156
  186. package/dist/components/OrderSummary/locales/en.d.ts +0 -11
  187. package/dist/components/OrderSummary/locales/en.d.ts.map +0 -1
  188. package/dist/components/OrderSummary/locales/en.js +0 -12
  189. package/dist/components/OrderSummary/styles.css.d.ts +0 -21
  190. package/dist/components/OrderSummary/styles.css.d.ts.map +0 -1
  191. package/dist/components/OrderSummary/styles.css.js +0 -26
  192. package/dist/components/OrderSummary/types.d.ts +0 -125
  193. package/dist/components/OrderSummary/types.d.ts.map +0 -1
  194. package/dist/components/Plans/FeatureHint.d.ts +0 -7
  195. package/dist/components/Plans/FeatureHint.d.ts.map +0 -1
  196. package/dist/components/Plans/FeatureHint.js +0 -42
  197. package/dist/components/Plans/PlanHeader.d.ts +0 -14
  198. package/dist/components/Plans/PlanHeader.d.ts.map +0 -1
  199. package/dist/components/Plans/PlanHeader.js +0 -96
  200. package/dist/components/Plans/locales/en.d.ts +0 -7
  201. package/dist/components/Plans/locales/en.d.ts.map +0 -1
  202. package/dist/components/Plans/locales/en.js +0 -8
  203. package/dist/components/Plans/styles.css.d.ts +0 -67
  204. package/dist/components/Plans/styles.css.d.ts.map +0 -1
  205. package/dist/components/Plans/styles.css.js +0 -26
  206. package/dist/components/Plans/types.d.ts +0 -38
  207. package/dist/components/Plans/types.d.ts.map +0 -1
  208. package/dist/components/SteppedListCard/Step.d.ts +0 -23
  209. package/dist/components/SteppedListCard/Step.d.ts.map +0 -1
  210. package/dist/components/SteppedListCard/Step.js +0 -61
  211. package/dist/components/SteppedListCard/SteppedListCard.d.ts +0 -69
  212. package/dist/components/SteppedListCard/SteppedListCard.d.ts.map +0 -1
  213. package/dist/components/SteppedListCard/SteppedListCard.js +0 -105
  214. package/dist/components/SteppedListCard/SteppedListContent.d.ts +0 -12
  215. package/dist/components/SteppedListCard/SteppedListContent.d.ts.map +0 -1
  216. package/dist/components/SteppedListCard/SteppedListContent.js +0 -53
  217. package/dist/components/SteppedListCard/helper.d.ts +0 -27
  218. package/dist/components/SteppedListCard/helper.d.ts.map +0 -1
  219. package/dist/components/SteppedListCard/helper.js +0 -41
  220. package/dist/components/SteppedListCard/styles.css.d.ts +0 -9
  221. package/dist/components/SteppedListCard/styles.css.d.ts.map +0 -1
  222. package/dist/components/SteppedListCard/styles.css.js +0 -19
@@ -1 +1 @@
1
- {"version":3,"file":"ItemProvider.d.ts","sourceRoot":"","sources":["../../../../src/components/Navigation/components/ItemProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKtC,eAAO,MAAM,WAAW,kCAAuB,CAAA;AAE/C,KAAK,iBAAiB,GAAG;IACvB,QAAQ,EAAE,SAAS,CAAA;CACpB,CAAA;AAED,eAAO,MAAM,YAAY,GAAI,cAAc,iBAAiB,4CAI3D,CAAA"}
1
+ {"version":3,"file":"ItemProvider.d.ts","sourceRoot":"","sources":["../../../../src/components/Navigation/components/ItemProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKtC,eAAO,MAAM,WAAW,kCAAuB,CAAA;AAE/C,KAAK,iBAAiB,GAAG;IACvB,QAAQ,EAAE,SAAS,CAAA;CACpB,CAAA;AAED,eAAO,MAAM,YAAY,8EAIxB,CAAA"}
@@ -1,12 +1,17 @@
1
- "use client";
2
- import { jsx } from "react/jsx-runtime";
1
+ 'use client';
2
+ import { __name } from "../../../_virtual/_rolldown/runtime.js";
3
3
  import { createContext, useMemo } from "react";
4
+ import { jsx } from "react/jsx-runtime";
5
+
6
+ //#region src/components/Navigation/components/ItemProvider.tsx
4
7
  const ItemContext = createContext(false);
5
8
  const ItemProvider = ({ children }) => {
6
- const value = useMemo(() => true, []);
7
- return /* @__PURE__ */ jsx(ItemContext.Provider, { value, children });
8
- };
9
- export {
10
- ItemContext,
11
- ItemProvider
9
+ const value = useMemo(() => true, []);
10
+ return /* @__PURE__ */ jsx(ItemContext.Provider, {
11
+ value,
12
+ children
13
+ });
12
14
  };
15
+
16
+ //#endregion
17
+ export { ItemContext, ItemProvider };
@@ -1 +1 @@
1
- {"version":3,"file":"PinnedItems.d.ts","sourceRoot":"","sources":["../../../../src/components/Navigation/components/PinnedItems.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAa,YAAY,EAAE,MAAM,OAAO,CAAA;AAWnE,KAAK,gBAAgB,GAAG;IACtB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAA;IACpC;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;IAC3C;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,KAAK,YAAY,CAAA;IAClE,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,WAAW,GAAI,sDAMzB,gBAAgB,mDA2IlB,CAAA"}
1
+ {"version":3,"file":"PinnedItems.d.ts","sourceRoot":"","sources":["../../../../src/components/Navigation/components/PinnedItems.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAa,YAAY,EAAE,MAAM,OAAO,CAAA;AAWnE,KAAK,gBAAgB,GAAG;IACtB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAA;IACpC;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;IAC3C;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,KAAK,YAAY,CAAA;IAClE,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,WAAW,4HAiJvB,CAAA"}
@@ -1,136 +1,105 @@
1
- "use client";
1
+ 'use client';
2
+ import { __name } from "../../../_virtual/_rolldown/runtime.js";
3
+ import { _objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.113.0/helpers/objectSpread2.js";
4
+ import { useNavigation } from "../NavigationProvider.js";
5
+ import { navigationPinnedItemContainer, navigationPinnedItemDropableArea, navigationPinnedItemRelativeDiv } from "./styles.css.js";
6
+ import { Item } from "./Item.js";
7
+ import { Text } from "@ultraviolet/ui";
8
+ import { useCallback } from "react";
2
9
  import { jsx, jsxs } from "react/jsx-runtime";
3
10
  import { PinCategoryIcon } from "@ultraviolet/icons/category";
4
11
  import { useTheme } from "@ultraviolet/themes";
5
- import { Text } from "@ultraviolet/ui";
6
- import { useCallback } from "react";
7
- import { useNavigation } from "../NavigationProvider.js";
8
- import { Item } from "./Item.js";
9
- import { navigationPinnedItemRelativeDiv, navigationPinnedItemDropableArea, navigationPinnedItemContainer } from "./styles.css.js";
10
- const PinnedItems = ({
11
- toggle = true,
12
- onReorder,
13
- onToggle,
14
- itemWrapper,
15
- style
16
- }) => {
17
- const context = useNavigation();
18
- if (!context) {
19
- throw new Error(
20
- "Navigation.PinnedItems can only be used inside a NavigationProvider."
21
- );
22
- }
23
- const {
24
- locales,
25
- pinnedItems,
26
- pinnedFeature,
27
- reorderItems,
28
- expanded,
29
- items,
30
- animation,
31
- showHide
32
- } = context;
33
- const theme = useTheme();
34
- const onDrop = useCallback(
35
- (event, index) => {
36
- event.preventDefault();
37
- if (event?.dataTransfer) {
38
- event.currentTarget.style.borderColor = "transparent";
39
- const data = JSON.parse(
40
- event.dataTransfer.getData("text")
41
- );
42
- if (data.index === index - 1 || index > data.index) {
43
- const newItems2 = reorderItems(data.index, index - 1);
44
- onReorder?.(newItems2);
45
- return;
46
- }
47
- const newItems = reorderItems(data.index, index);
48
- onReorder?.(newItems);
49
- }
50
- },
51
- [onReorder, reorderItems]
52
- );
53
- const onDragOver = useCallback(
54
- (event) => {
55
- event.preventDefault();
56
- event.currentTarget.style.borderColor = theme.colors.primary.border;
57
- },
58
- [theme.colors.primary.border]
59
- );
60
- const onDragLeave = useCallback((event) => {
61
- event.preventDefault();
62
- event.currentTarget.style.borderColor = "transparent";
63
- }, []);
64
- if (Object.keys(items).length === 0) {
65
- return null;
66
- }
67
- if (pinnedFeature && showHide !== "hide") {
68
- return /* @__PURE__ */ jsx("div", { style: { width: animation ? "100%" : void 0, ...style }, children: /* @__PURE__ */ jsxs(
69
- Item,
70
- {
71
- categoryIcon: /* @__PURE__ */ jsx(PinCategoryIcon, { variant: "neutral" }),
72
- "data-testid": "pinned-group",
73
- id: "pinned-group",
74
- label: locales["navigation.pinned.item.group.label"],
75
- onToggle,
76
- toggle,
77
- type: "pinnedGroup",
78
- children: [
79
- pinnedItems.length > 0 ? pinnedItems.map((itemId, index) => {
80
- if (items[itemId]?.label) {
81
- const itemElement = /* @__PURE__ */ jsx(
82
- Item,
83
- {
84
- active: items[itemId]?.active ?? false,
85
- id: itemId,
86
- index,
87
- label: items[itemId].label,
88
- onClickPinUnpin: items[itemId]?.onClickPinUnpin ?? void 0,
89
- onToggle: items[itemId]?.onToggle,
90
- toggle,
91
- type: "pinned"
92
- },
93
- itemId
94
- );
95
- return /* @__PURE__ */ jsxs("div", { className: navigationPinnedItemRelativeDiv, children: [
96
- /* @__PURE__ */ jsx(
97
- "div",
98
- {
99
- className: navigationPinnedItemDropableArea,
100
- onDragLeave,
101
- onDragOver,
102
- onDrop: (event) => onDrop(event, index)
103
- }
104
- ),
105
- itemWrapper ? itemWrapper(itemElement, itemId) : itemElement
106
- ] }, itemId);
107
- }
108
- return null;
109
- }) : /* @__PURE__ */ jsx("div", { className: navigationPinnedItemContainer({ expanded }), children: /* @__PURE__ */ jsx(
110
- Text,
111
- {
112
- as: "p",
113
- prominence: "weak",
114
- sentiment: "neutral",
115
- variant: "caption",
116
- children: locales["navigation.pinned.item.group.empty"]
117
- }
118
- ) }),
119
- /* @__PURE__ */ jsx("div", { className: navigationPinnedItemRelativeDiv, children: /* @__PURE__ */ jsx(
120
- "div",
121
- {
122
- className: navigationPinnedItemDropableArea,
123
- onDragLeave,
124
- onDragOver,
125
- onDrop: (event) => onDrop(event, pinnedItems.length)
126
- }
127
- ) })
128
- ]
129
- }
130
- ) });
131
- }
132
- return null;
133
- };
134
- export {
135
- PinnedItems
12
+
13
+ //#region src/components/Navigation/components/PinnedItems.tsx
14
+ const PinnedItems = ({ toggle = true, onReorder, onToggle, itemWrapper, style }) => {
15
+ const context = useNavigation();
16
+ if (!context) throw new Error("Navigation.PinnedItems can only be used inside a NavigationProvider.");
17
+ const { locales, pinnedItems, pinnedFeature, reorderItems, expanded, items, animation, showHide } = context;
18
+ const theme = useTheme();
19
+ const onDrop = useCallback((event, index) => {
20
+ event.preventDefault();
21
+ if (event === null || event === void 0 ? void 0 : event.dataTransfer) {
22
+ event.currentTarget.style.borderColor = "transparent";
23
+ const data = JSON.parse(event.dataTransfer.getData("text"));
24
+ if (data.index === index - 1 || index > data.index) {
25
+ const newItems = reorderItems(data.index, index - 1);
26
+ onReorder === null || onReorder === void 0 || onReorder(newItems);
27
+ return;
28
+ }
29
+ const newItems = reorderItems(data.index, index);
30
+ onReorder === null || onReorder === void 0 || onReorder(newItems);
31
+ }
32
+ }, [onReorder, reorderItems]);
33
+ const onDragOver = useCallback((event) => {
34
+ event.preventDefault();
35
+ event.currentTarget.style.borderColor = theme.colors.primary.border;
36
+ }, [theme.colors.primary.border]);
37
+ const onDragLeave = useCallback((event) => {
38
+ event.preventDefault();
39
+ event.currentTarget.style.borderColor = "transparent";
40
+ }, []);
41
+ if (Object.keys(items).length === 0) return null;
42
+ if (pinnedFeature && showHide !== "hide") return /* @__PURE__ */ jsx("div", {
43
+ style: _objectSpread2({ width: animation ? "100%" : void 0 }, style),
44
+ children: /* @__PURE__ */ jsxs(Item, {
45
+ categoryIcon: /* @__PURE__ */ jsx(PinCategoryIcon, { variant: "neutral" }),
46
+ "data-testid": "pinned-group",
47
+ id: "pinned-group",
48
+ label: locales["navigation.pinned.item.group.label"],
49
+ onToggle,
50
+ toggle,
51
+ type: "pinnedGroup",
52
+ children: [pinnedItems.length > 0 ? pinnedItems.map((itemId, index) => {
53
+ var _items$itemId;
54
+ if ((_items$itemId = items[itemId]) === null || _items$itemId === void 0 ? void 0 : _items$itemId.label) {
55
+ var _items$itemId$active;
56
+ var _items$itemId2;
57
+ var _items$itemId$onClick;
58
+ var _items$itemId3;
59
+ var _items$itemId4;
60
+ const itemElement = /* @__PURE__ */ jsx(Item, {
61
+ active: (_items$itemId$active = (_items$itemId2 = items[itemId]) === null || _items$itemId2 === void 0 ? void 0 : _items$itemId2.active) !== null && _items$itemId$active !== void 0 ? _items$itemId$active : false,
62
+ id: itemId,
63
+ index,
64
+ label: items[itemId].label,
65
+ onClickPinUnpin: (_items$itemId$onClick = (_items$itemId3 = items[itemId]) === null || _items$itemId3 === void 0 ? void 0 : _items$itemId3.onClickPinUnpin) !== null && _items$itemId$onClick !== void 0 ? _items$itemId$onClick : void 0,
66
+ onToggle: (_items$itemId4 = items[itemId]) === null || _items$itemId4 === void 0 ? void 0 : _items$itemId4.onToggle,
67
+ toggle,
68
+ type: "pinned"
69
+ }, itemId);
70
+ return /* @__PURE__ */ jsxs("div", {
71
+ className: navigationPinnedItemRelativeDiv,
72
+ children: [/* @__PURE__ */ jsx("div", {
73
+ className: navigationPinnedItemDropableArea,
74
+ onDragLeave,
75
+ onDragOver,
76
+ onDrop: (event) => onDrop(event, index)
77
+ }), itemWrapper ? itemWrapper(itemElement, itemId) : itemElement]
78
+ }, itemId);
79
+ }
80
+ return null;
81
+ }) : /* @__PURE__ */ jsx("div", {
82
+ className: navigationPinnedItemContainer({ expanded }),
83
+ children: /* @__PURE__ */ jsx(Text, {
84
+ as: "p",
85
+ prominence: "weak",
86
+ sentiment: "neutral",
87
+ variant: "caption",
88
+ children: locales["navigation.pinned.item.group.empty"]
89
+ })
90
+ }), /* @__PURE__ */ jsx("div", {
91
+ className: navigationPinnedItemRelativeDiv,
92
+ children: /* @__PURE__ */ jsx("div", {
93
+ className: navigationPinnedItemDropableArea,
94
+ onDragLeave,
95
+ onDragOver,
96
+ onDrop: (event) => onDrop(event, pinnedItems.length)
97
+ })
98
+ })]
99
+ })
100
+ });
101
+ return null;
136
102
  };
103
+
104
+ //#endregion
105
+ export { PinnedItems };
@@ -1,8 +1,11 @@
1
- "use client";
2
- import { jsx } from "react/jsx-runtime";
3
- import { Separator as Separator$1 } from "@ultraviolet/ui";
1
+ 'use client';
2
+ import { __name } from "../../../_virtual/_rolldown/runtime.js";
4
3
  import { navigationSeparator } from "./styles.css.js";
5
- const Separator = () => /* @__PURE__ */ jsx(Separator$1, { className: navigationSeparator });
6
- export {
7
- Separator
8
- };
4
+ import { Separator } from "@ultraviolet/ui";
5
+ import { jsx } from "react/jsx-runtime";
6
+
7
+ //#region src/components/Navigation/components/Separator.tsx
8
+ const Separator$1 = /* @__PURE__ */ __name(() => /* @__PURE__ */ jsx(Separator, { className: navigationSeparator }), "Separator");
9
+
10
+ //#endregion
11
+ export { Separator$1 as Separator };
@@ -11,6 +11,6 @@ type ShowAllProp = {
11
11
  'data-testid'?: string;
12
12
  style?: CSSProperties;
13
13
  };
14
- export declare const ShowHide: import("react").MemoExoticComponent<({ showContent, hideContent, onShowHide, tooltip, "data-testid": dataTestId, style, }: ShowAllProp) => import("react/jsx-runtime").JSX.Element>;
14
+ export declare const ShowHide: import("react").MemoExoticComponent<({ showContent, hideContent, onShowHide, tooltip, 'data-testid': dataTestId, style, }: ShowAllProp) => import("react/jsx-runtime").JSX.Element>;
15
15
  export {};
16
16
  //# sourceMappingURL=ShowHide.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ShowHide.d.ts","sourceRoot":"","sources":["../../../../src/components/Navigation/components/ShowHide.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKrD,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,SAAS,CAAA;IACtB,WAAW,EAAE,SAAS,CAAA;IACtB,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAA;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,QAAQ,6HAQhB,WAAW,6CAwDf,CAAA"}
1
+ {"version":3,"file":"ShowHide.d.ts","sourceRoot":"","sources":["../../../../src/components/Navigation/components/ShowHide.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKrD,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,SAAS,CAAA;IACtB,WAAW,EAAE,SAAS,CAAA;IACtB,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAA;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,QAAQ,qLAgEpB,CAAA"}
@@ -1,77 +1,53 @@
1
- "use client";
2
- import { jsx } from "react/jsx-runtime";
3
- import { ArrowDownIcon } from "@ultraviolet/icons/ArrowDownIcon";
4
- import { ArrowUpIcon } from "@ultraviolet/icons/ArrowUpIcon";
5
- import { Stack, Button } from "@ultraviolet/ui";
6
- import { memo, useState } from "react";
1
+ 'use client';
2
+ import { __name } from "../../../_virtual/_rolldown/runtime.js";
7
3
  import { useNavigation } from "../NavigationProvider.js";
8
4
  import { navigationShowHideStack } from "./styles.css.js";
9
- const ShowHide = memo(
10
- ({
11
- showContent,
12
- hideContent,
13
- onShowHide,
14
- tooltip,
15
- "data-testid": dataTestId,
16
- style
17
- }) => {
18
- const context = useNavigation();
19
- if (!context) {
20
- throw new Error(
21
- "Navigation.ShowAll can only be used inside a NavigationProvider."
22
- );
23
- }
24
- const { expanded, showHide } = context;
25
- const [computedShown, setIsShown] = useState(showHide === "show");
26
- const onClick = () => {
27
- setIsShown(!computedShown);
28
- onShowHide?.(computedShown ? "hide" : "show");
29
- };
30
- if (expanded) {
31
- return /* @__PURE__ */ jsx(
32
- Stack,
33
- {
34
- className: navigationShowHideStack,
35
- justifyContent: "flex-end",
36
- style,
37
- children: /* @__PURE__ */ jsx(
38
- Button,
39
- {
40
- "data-testid": dataTestId,
41
- onClick,
42
- sentiment: "primary",
43
- size: "small",
44
- style,
45
- variant: "ghost",
46
- children: computedShown ? hideContent : showContent
47
- }
48
- )
49
- }
50
- );
51
- }
52
- return /* @__PURE__ */ jsx(
53
- Stack,
54
- {
55
- alignItems: "center",
56
- className: navigationShowHideStack,
57
- justifyContent: "flex-end",
58
- style,
59
- children: /* @__PURE__ */ jsx(
60
- Button,
61
- {
62
- "data-testid": dataTestId,
63
- onClick,
64
- sentiment: "primary",
65
- size: "small",
66
- tooltip,
67
- variant: "ghost",
68
- children: computedShown ? /* @__PURE__ */ jsx(ArrowUpIcon, {}) : /* @__PURE__ */ jsx(ArrowDownIcon, {})
69
- }
70
- )
71
- }
72
- );
73
- }
74
- );
75
- export {
76
- ShowHide
77
- };
5
+ import { ArrowDownIcon } from "@ultraviolet/icons/ArrowDownIcon";
6
+ import { Button, Stack } from "@ultraviolet/ui";
7
+ import { memo, useState } from "react";
8
+ import { jsx } from "react/jsx-runtime";
9
+ import { ArrowUpIcon } from "@ultraviolet/icons/ArrowUpIcon";
10
+
11
+ //#region src/components/Navigation/components/ShowHide.tsx
12
+ const ShowHide = memo(({ showContent, hideContent, onShowHide, tooltip, "data-testid": dataTestId, style }) => {
13
+ const context = useNavigation();
14
+ if (!context) throw new Error("Navigation.ShowAll can only be used inside a NavigationProvider.");
15
+ const { expanded, showHide } = context;
16
+ const [computedShown, setIsShown] = useState(showHide === "show");
17
+ const onClick = () => {
18
+ setIsShown(!computedShown);
19
+ onShowHide === null || onShowHide === void 0 || onShowHide(computedShown ? "hide" : "show");
20
+ };
21
+ if (expanded) return /* @__PURE__ */ jsx(Stack, {
22
+ className: navigationShowHideStack,
23
+ justifyContent: "flex-end",
24
+ style,
25
+ children: /* @__PURE__ */ jsx(Button, {
26
+ "data-testid": dataTestId,
27
+ onClick,
28
+ sentiment: "primary",
29
+ size: "small",
30
+ style,
31
+ variant: "ghost",
32
+ children: computedShown ? hideContent : showContent
33
+ })
34
+ });
35
+ return /* @__PURE__ */ jsx(Stack, {
36
+ alignItems: "center",
37
+ className: navigationShowHideStack,
38
+ justifyContent: "flex-end",
39
+ style,
40
+ children: /* @__PURE__ */ jsx(Button, {
41
+ "data-testid": dataTestId,
42
+ onClick,
43
+ sentiment: "primary",
44
+ size: "small",
45
+ tooltip,
46
+ variant: "ghost",
47
+ children: computedShown ? /* @__PURE__ */ jsx(ArrowUpIcon, {}) : /* @__PURE__ */ jsx(ArrowDownIcon, {})
48
+ })
49
+ });
50
+ });
51
+
52
+ //#endregion
53
+ export { ShowHide };
@@ -1,45 +1,87 @@
1
- /* empty css */
2
- /* empty css */
1
+ /* empty css */
2
+ /* empty css */
3
3
  import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
4
+
5
+ //#region src/components/Navigation/components/items.css.ts
4
6
  var navigationItemMenuContainer = "uv_plus_x6an4g0";
5
7
  var navigationItemRelative = "uv_plus_x6an4g1";
6
8
  var navigationItemPadded = "uv_plus_x6an4g2";
7
- var navigationItemPinIcon = { active: "uv_plus_x6an4g4 uv_plus_x6an4g3", inactive: "uv_plus_x6an4g5 uv_plus_x6an4g3" };
9
+ var navigationItemPinIcon = {
10
+ active: "uv_plus_x6an4g4 uv_plus_x6an4g3",
11
+ inactive: "uv_plus_x6an4g5 uv_plus_x6an4g3"
12
+ };
8
13
  var navigationItemMenu = "uv_plus_x6an4g6";
9
14
  var navigationItemMenuPinned = "uv_plus_x6an4g7";
10
- var navigationItemContainer = createRuntimeFn({ defaultClassName: "uv_plus_x6an4g9 uv_plus_x6an4g8", variantClassNames: { disabled: { true: "uv_plus_x6an4ga" }, hasActive: { true: "uv_plus_x6an4gb" }, isActive: { true: "uv_plus_x6an4gc" }, noExpand: { false: "uv_plus_x6an4gd" }, subLabel: { true: "uv_plus_x6an4ge" } }, defaultVariants: { disabled: false, hasActive: false, isActive: false, noExpand: false, subLabel: false }, compoundVariants: [[{ disabled: false, isActive: false, noExpand: false }, "uv_plus_x6an4gf"], [{ disabled: false, hasActive: true, isActive: false, noExpand: false }, "uv_plus_x6an4gg"], [{ disabled: false, isActive: false, noExpand: false }, "uv_plus_x6an4gh"]] });
11
- var navigationItemContainerAnimated = { collapse: "uv_plus_x6an4gi", expand: "uv_plus_x6an4gj" };
15
+ var navigationItemContainer = createRuntimeFn({
16
+ defaultClassName: "uv_plus_x6an4g9 uv_plus_x6an4g8",
17
+ variantClassNames: {
18
+ disabled: { true: "uv_plus_x6an4ga" },
19
+ hasActive: { true: "uv_plus_x6an4gb" },
20
+ isActive: { true: "uv_plus_x6an4gc" },
21
+ noExpand: { false: "uv_plus_x6an4gd" },
22
+ subLabel: { true: "uv_plus_x6an4ge" }
23
+ },
24
+ defaultVariants: {
25
+ disabled: false,
26
+ hasActive: false,
27
+ isActive: false,
28
+ noExpand: false,
29
+ subLabel: false
30
+ },
31
+ compoundVariants: [
32
+ [{
33
+ disabled: false,
34
+ isActive: false,
35
+ noExpand: false
36
+ }, "uv_plus_x6an4gf"],
37
+ [{
38
+ disabled: false,
39
+ hasActive: true,
40
+ isActive: false,
41
+ noExpand: false
42
+ }, "uv_plus_x6an4gg"],
43
+ [{
44
+ disabled: false,
45
+ isActive: false,
46
+ noExpand: false
47
+ }, "uv_plus_x6an4gh"]
48
+ ]
49
+ });
50
+ var navigationItemContainerAnimated = {
51
+ collapse: "uv_plus_x6an4gi",
52
+ expand: "uv_plus_x6an4gj"
53
+ };
12
54
  var navigationItemShowDraggable = "uv_plus_x6an4gk";
13
55
  var navigationItemShowPinButton = "uv_plus_x6an4gl";
14
56
  var navigationItemWeakText = "uv_plus_x6an4gm";
15
57
  var navigationItemDragIcon = "uv_plus_x6an4gn";
16
- var navigationItemWrapText = createRuntimeFn({ defaultClassName: "uv_plus_x6an4go", variantClassNames: { disabled: { true: "uv_plus_x6an4gp" }, weak: { true: "uv_plus_x6an4gq" } }, defaultVariants: { disabled: false, weak: false }, compoundVariants: [] });
58
+ var navigationItemWrapText = createRuntimeFn({
59
+ defaultClassName: "uv_plus_x6an4go",
60
+ variantClassNames: {
61
+ disabled: { true: "uv_plus_x6an4gp" },
62
+ weak: { true: "uv_plus_x6an4gq" }
63
+ },
64
+ defaultVariants: {
65
+ disabled: false,
66
+ weak: false
67
+ },
68
+ compoundVariants: []
69
+ });
17
70
  var navigationItemBadge = "uv_plus_x6an4gr";
18
71
  var navigationItemPinnedButton = "uv_plus_x6an4gs";
19
- var navigationItemAnimatedIcon = { collapse: "uv_plus_x6an4gt", expand: "uv_plus_x6an4gu" };
72
+ var navigationItemAnimatedIcon = {
73
+ collapse: "uv_plus_x6an4gt",
74
+ expand: "uv_plus_x6an4gu"
75
+ };
20
76
  var navigationItemMenuStack = "uv_plus_x6an4gv";
21
77
  var navigationItemStackIcon = "uv_plus_x6an4gw";
22
78
  var navigationItemCategoryIcon = "uv_plus_x6an4gx";
23
- var navigationItemPaddingStack = createRuntimeFn({ defaultClassName: "uv_plus_x6an4gy", variantClassNames: { hide: { true: "uv_plus_x6an4gz" } }, defaultVariants: {}, compoundVariants: [] });
24
- export {
25
- navigationItemAnimatedIcon,
26
- navigationItemBadge,
27
- navigationItemCategoryIcon,
28
- navigationItemContainer,
29
- navigationItemContainerAnimated,
30
- navigationItemDragIcon,
31
- navigationItemMenu,
32
- navigationItemMenuContainer,
33
- navigationItemMenuPinned,
34
- navigationItemMenuStack,
35
- navigationItemPadded,
36
- navigationItemPaddingStack,
37
- navigationItemPinIcon,
38
- navigationItemPinnedButton,
39
- navigationItemRelative,
40
- navigationItemShowDraggable,
41
- navigationItemShowPinButton,
42
- navigationItemStackIcon,
43
- navigationItemWeakText,
44
- navigationItemWrapText
45
- };
79
+ var navigationItemPaddingStack = createRuntimeFn({
80
+ defaultClassName: "uv_plus_x6an4gy",
81
+ variantClassNames: { hide: { true: "uv_plus_x6an4gz" } },
82
+ defaultVariants: {},
83
+ compoundVariants: []
84
+ });
85
+
86
+ //#endregion
87
+ export { navigationItemAnimatedIcon, navigationItemBadge, navigationItemCategoryIcon, navigationItemContainer, navigationItemContainerAnimated, navigationItemDragIcon, navigationItemMenu, navigationItemMenuContainer, navigationItemMenuPinned, navigationItemMenuStack, navigationItemPadded, navigationItemPaddingStack, navigationItemPinIcon, navigationItemPinnedButton, navigationItemRelative, navigationItemShowDraggable, navigationItemShowPinButton, navigationItemStackIcon, navigationItemWeakText, navigationItemWrapText };
@@ -1,19 +1,29 @@
1
- /* empty css */
2
- /* empty css */
1
+ /* empty css */
2
+ /* empty css */
3
3
  import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
4
- var navigationGroupText = createRuntimeFn({ defaultClassName: "uv_plus_nytpcy0", variantClassNames: { animation: { collapse: "uv_plus_nytpcy1", expand: "uv_plus_nytpcy2", false: "uv_plus_nytpcy3" } }, defaultVariants: {}, compoundVariants: [] });
4
+
5
+ //#region src/components/Navigation/components/styles.css.ts
6
+ var navigationGroupText = createRuntimeFn({
7
+ defaultClassName: "uv_plus_nytpcy0",
8
+ variantClassNames: { animation: {
9
+ collapse: "uv_plus_nytpcy1",
10
+ expand: "uv_plus_nytpcy2",
11
+ false: "uv_plus_nytpcy3"
12
+ } },
13
+ defaultVariants: {},
14
+ compoundVariants: []
15
+ });
5
16
  var navigationGroupStack = "uv_plus_nytpcy4";
6
17
  var navigationPinnedItemDropableArea = "uv_plus_nytpcy5";
7
18
  var navigationPinnedItemRelativeDiv = "uv_plus_nytpcy6";
8
- var navigationPinnedItemContainer = createRuntimeFn({ defaultClassName: "uv_plus_nytpcy7", variantClassNames: { expanded: { true: "uv_plus_nytpcy8" } }, defaultVariants: {}, compoundVariants: [] });
19
+ var navigationPinnedItemContainer = createRuntimeFn({
20
+ defaultClassName: "uv_plus_nytpcy7",
21
+ variantClassNames: { expanded: { true: "uv_plus_nytpcy8" } },
22
+ defaultVariants: {},
23
+ compoundVariants: []
24
+ });
9
25
  var navigationSeparator = "uv_plus_nytpcy9";
10
26
  var navigationShowHideStack = "uv_plus_nytpcya";
11
- export {
12
- navigationGroupStack,
13
- navigationGroupText,
14
- navigationPinnedItemContainer,
15
- navigationPinnedItemDropableArea,
16
- navigationPinnedItemRelativeDiv,
17
- navigationSeparator,
18
- navigationShowHideStack
19
- };
27
+
28
+ //#endregion
29
+ export { navigationGroupStack, navigationGroupText, navigationPinnedItemContainer, navigationPinnedItemDropableArea, navigationPinnedItemRelativeDiv, navigationSeparator, navigationShowHideStack };
@@ -1,12 +1,13 @@
1
- const NavigationLocales = {
2
- "navigation.collapse.button": "Collapse sidebar",
3
- "navigation.expand.button": "Expand sidebar",
4
- "navigation.pin.limit": "You cannot pin more products",
5
- "navigation.pin.tooltip": "Pin product",
6
- "navigation.pinned.item.group.empty": "You have no pinned items.",
7
- "navigation.pinned.item.group.label": "Pinned items",
8
- "navigation.unpin.tooltip": "Unpin product"
9
- };
10
- export {
11
- NavigationLocales as default
1
+ //#region src/components/Navigation/locales/en.ts
2
+ var en_default = {
3
+ "navigation.collapse.button": "Collapse sidebar",
4
+ "navigation.expand.button": "Expand sidebar",
5
+ "navigation.pin.limit": "You cannot pin more products",
6
+ "navigation.pin.tooltip": "Pin product",
7
+ "navigation.pinned.item.group.empty": "You have no pinned items.",
8
+ "navigation.pinned.item.group.label": "Pinned items",
9
+ "navigation.unpin.tooltip": "Unpin product"
12
10
  };
11
+
12
+ //#endregion
13
+ export { en_default as default };