@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,59 +1,62 @@
1
1
  import type { NavigationProps } from './types';
2
- /**
3
- * Navigation is a component that allows you to create a sidebar navigation.
4
- * You can wrap your navigation items like `<Navigation.Item>` with your router
5
- * to make it work in your application.
6
- */
7
- export declare const Navigation: {
8
- ({ "data-testid": dataTestId, children, className, id, logo, onToggleExpand, onWidthResize, style, }: NavigationProps): import("react/jsx-runtime").JSX.Element;
9
- Group: ({ children, label, style, additionalData, }: {
2
+ export declare function Navigation({ 'data-testid': dataTestId, children, className, id, logo, onToggleExpand, onWidthResize, style }: NavigationProps): import("react/jsx-runtime").JSX.Element;
3
+ export declare namespace Navigation {
4
+ var Group: ({ children, label, style, additionalData, }: {
10
5
  children: import("react").ReactNode;
11
6
  label: string;
12
- style?: import("react").CSSProperties;
7
+ style?: import("react").CSSProperties | undefined;
13
8
  additionalData?: import("react").ReactNode;
14
9
  }) => import("react/jsx-runtime").JSX.Element | null;
15
- Item: import("react").MemoExoticComponent<({ children, categoryIcon, label, labelDescription, subLabel, badgeText, badgeSentiment, href, target, rel, onToggle, onClickPinUnpin, toggle, active, noPinButton, type, as, disabled, noExpand, index, id, "data-testid": dataTestId, style, alwaysVisible, }: {
10
+ }
11
+ export declare namespace Navigation {
12
+ var Item: import("react").MemoExoticComponent<({ children, categoryIcon, label, labelDescription, subLabel, badgeText, badgeSentiment, href, target, rel, onToggle, onClickPinUnpin, toggle, active, noPinButton, type, as, disabled, noExpand, index, id, 'data-testid': dataTestId, style, alwaysVisible, }: {
16
13
  children?: import("react").ReactNode;
17
14
  categoryIcon?: import("react").ReactNode;
18
15
  label: string;
19
16
  labelDescription?: import("react").ReactNode;
20
17
  id: string;
21
- subLabel?: string;
22
- badgeText?: string;
23
- badgeSentiment?: import("react").ComponentProps<typeof import("@ultraviolet/ui").Badge>["sentiment"];
24
- href?: HTMLAnchorElement["href"];
25
- target?: HTMLAnchorElement["target"];
26
- rel?: HTMLAnchorElement["rel"];
27
- onToggle?: (toggle: boolean) => void;
28
- onClickPinUnpin?: (parameters: import("./types").PinUnPinType) => void;
29
- toggle?: boolean;
30
- active?: boolean;
31
- noPinButton?: boolean;
32
- type?: "default" | "pinned" | "pinnedGroup";
33
- index?: number;
34
- as?: import("react").ElementType;
35
- noExpand?: boolean;
36
- alwaysVisible?: boolean;
37
- disabled?: boolean;
38
- 'data-testid'?: string;
39
- style?: import("react").CSSProperties;
18
+ subLabel?: string | undefined;
19
+ badgeText?: string | undefined;
20
+ badgeSentiment?: "black" | "danger" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "white" | undefined;
21
+ href?: string | undefined;
22
+ target?: string | undefined;
23
+ rel?: string | undefined;
24
+ onToggle?: ((toggle: boolean) => void) | undefined;
25
+ onClickPinUnpin?: ((parameters: import("./types").PinUnPinType) => void) | undefined;
26
+ toggle?: boolean | undefined;
27
+ active?: boolean | undefined;
28
+ noPinButton?: boolean | undefined;
29
+ type?: ("default" | "pinned" | "pinnedGroup") | undefined;
30
+ index?: number | undefined;
31
+ as?: import("react").ElementType | undefined;
32
+ noExpand?: boolean | undefined;
33
+ alwaysVisible?: boolean | undefined;
34
+ disabled?: boolean | undefined;
35
+ 'data-testid'?: string | undefined;
36
+ style?: import("react").CSSProperties | undefined;
40
37
  }) => import("react/jsx-runtime").JSX.Element | null>;
41
- PinnedItems: ({ toggle, onReorder, onToggle, itemWrapper, style, }: {
42
- toggle?: boolean;
43
- onToggle?: (toggle: boolean) => void;
44
- onReorder?: (pinnedItems: string[]) => void;
45
- itemWrapper?: (item: import("react").ReactElement, itemId: string) => import("react").ReactElement;
46
- style?: import("react").CSSProperties;
38
+ }
39
+ export declare namespace Navigation {
40
+ var PinnedItems: ({ toggle, onReorder, onToggle, itemWrapper, style, }: {
41
+ toggle?: boolean | undefined;
42
+ onToggle?: ((toggle: boolean) => void) | undefined;
43
+ onReorder?: ((pinnedItems: string[]) => void) | undefined;
44
+ itemWrapper?: ((item: import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>, itemId: string) => import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>) | undefined;
45
+ style?: import("react").CSSProperties | undefined;
47
46
  }) => import("react/jsx-runtime").JSX.Element | null;
48
- Separator: () => import("react/jsx-runtime").JSX.Element;
49
- ShowHide: import("react").MemoExoticComponent<({ showContent, hideContent, onShowHide, tooltip, "data-testid": dataTestId, style, }: {
47
+ }
48
+ export declare namespace Navigation {
49
+ var Separator: () => import("react/jsx-runtime").JSX.Element;
50
+ }
51
+ export declare namespace Navigation {
52
+ var ShowHide: import("react").MemoExoticComponent<({ showContent, hideContent, onShowHide, tooltip, 'data-testid': dataTestId, style, }: {
50
53
  showContent: import("react").ReactNode;
51
54
  hideContent: import("react").ReactNode;
52
- onShowHide?: (expanded: "show" | "hide") => void;
53
- disabled?: boolean;
54
- tooltip?: string;
55
- 'data-testid'?: string;
56
- style?: import("react").CSSProperties;
55
+ onShowHide?: ((expanded: "hide" | "show") => void) | undefined;
56
+ disabled?: boolean | undefined;
57
+ tooltip?: string | undefined;
58
+ 'data-testid'?: string | undefined;
59
+ style?: import("react").CSSProperties | undefined;
57
60
  }) => import("react/jsx-runtime").JSX.Element>;
58
- };
61
+ }
59
62
  //# sourceMappingURL=Navigation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Navigation.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/Navigation.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C;;;;GAIG;AACH,eAAO,MAAM,UAAU;0GASpB,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYjB,CAAA"}
1
+ {"version":3,"file":"Navigation.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/Navigation.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;mCAOnB,EACzB,aAAa,EAAE,UAAU,EACzB,QAAQ,EACR,SAAS,EACT,EAAE,EACF,IAAI,EACJ,cAAc,EACd,aAAa,EACb,KAAK,EACN,EAAE,eAAe"}
@@ -1,38 +1,34 @@
1
- "use client";
2
- import { jsx } from "react/jsx-runtime";
1
+ 'use client';
2
+ import { __name } from "../../_virtual/_rolldown/runtime.js";
3
3
  import { Group } from "./components/Group.js";
4
4
  import { Item } from "./components/Item.js";
5
5
  import { PinnedItems } from "./components/PinnedItems.js";
6
6
  import { Separator } from "./components/Separator.js";
7
7
  import { ShowHide } from "./components/ShowHide.js";
8
8
  import { NavigationContent } from "./NavigationContent.js";
9
- const Navigation = ({
10
- "data-testid": dataTestId,
11
- children,
12
- className,
13
- id,
14
- logo,
15
- onToggleExpand,
16
- onWidthResize,
17
- style
18
- }) => /* @__PURE__ */ jsx(
19
- NavigationContent,
20
- {
21
- className,
22
- "data-testid": dataTestId,
23
- id,
24
- logo,
25
- onToggleExpand,
26
- onWidthResize,
27
- style,
28
- children
29
- }
30
- );
9
+ import { jsx } from "react/jsx-runtime";
10
+
11
+ //#region src/components/Navigation/Navigation.tsx
12
+ /**
13
+ * Navigation is a component that allows you to create a sidebar navigation.
14
+ * You can wrap your navigation items like `<Navigation.Item>` with your router
15
+ * to make it work in your application.
16
+ */
17
+ const Navigation = ({ "data-testid": dataTestId, children, className, id, logo, onToggleExpand, onWidthResize, style }) => /* @__PURE__ */ jsx(NavigationContent, {
18
+ className,
19
+ "data-testid": dataTestId,
20
+ id,
21
+ logo,
22
+ onToggleExpand,
23
+ onWidthResize,
24
+ style,
25
+ children
26
+ });
31
27
  Navigation.Group = Group;
32
28
  Navigation.Item = Item;
33
29
  Navigation.PinnedItems = PinnedItems;
34
30
  Navigation.Separator = Separator;
35
31
  Navigation.ShowHide = ShowHide;
36
- export {
37
- Navigation
38
- };
32
+
33
+ //#endregion
34
+ export { Navigation };
@@ -1,3 +1,3 @@
1
1
  import type { NavigationProps } from './types';
2
- export declare const NavigationContent: ({ children, logo, onWidthResize, className, "data-testid": dataTestId, id, onToggleExpand, }: NavigationProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const NavigationContent: ({ children, logo, onWidthResize, className, 'data-testid': dataTestId, id, onToggleExpand, }: NavigationProps) => import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=NavigationContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NavigationContent.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/NavigationContent.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAG9C,eAAO,MAAM,iBAAiB,GAAI,8FAQ/B,eAAe,4CAqIjB,CAAA"}
1
+ {"version":3,"file":"NavigationContent.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/NavigationContent.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAG9C,eAAO,MAAM,iBAAiB,4JA6I7B,CAAA"}
@@ -1,142 +1,104 @@
1
- "use client";
2
- import { jsxs, jsx } from "react/jsx-runtime";
3
- import { Stack } from "@ultraviolet/ui";
4
- import { cn } from "@ultraviolet/utils";
5
- import { assignInlineVars } from "@vanilla-extract/dynamic";
6
- import { useRef, useEffect } from "react";
7
- import { NAVIGATION_MIN_WIDTH, NAVIGATION_COLLASPED_WIDTH } from "./constants.js";
1
+ 'use client';
2
+ import { __name } from "../../_virtual/_rolldown/runtime.js";
3
+ import { useNavigation } from "./NavigationProvider.js";
4
+ import { navigation, navigationContainer, navigationContent, navigationContentContainer, navigationContentContainerCollapsed, navigationSlider } from "./styles.css.js";
8
5
  import { Footer } from "./Footer.js";
9
6
  import { Header } from "./Header.js";
10
- import { useNavigation } from "./NavigationProvider.js";
11
- import { navigationContainer, navigationContent, navigationContentContainer, navigationContentContainerCollapsed, navigationSlider, navigation } from "./styles.css.js";
12
7
  import { widthNavigationContainer } from "./variables.css.js";
13
- const NavigationContent = ({
14
- children,
15
- logo,
16
- onWidthResize,
17
- className,
18
- "data-testid": dataTestId,
19
- id,
20
- onToggleExpand
21
- }) => {
22
- const context = useNavigation();
23
- if (!context) {
24
- throw new Error(
25
- "Navigation should be inside NavigationProvider to use it properly."
26
- );
27
- }
28
- const {
29
- setWidth,
30
- width,
31
- expanded,
32
- toggleExpand,
33
- animation,
34
- navigationRef,
35
- allowNavigationResize,
36
- shouldAnimate
37
- } = context;
38
- const sliderRef = useRef(null);
39
- const contentRef = useRef(null);
40
- useEffect(() => {
41
- let prevX;
42
- let navRect;
43
- let shouldCollapseOnMouseUp = false;
44
- let shouldExpandOnMouseUp = false;
45
- const mouseMove = (event) => {
46
- if (prevX !== void 0) {
47
- const navWidth = navRect?.width ?? 0;
48
- const newWidth = navWidth + (event.clientX - prevX);
49
- if (navigationRef.current && expanded) {
50
- navigationRef.current.style.width = `${newWidth}px`;
51
- }
52
- if (newWidth <= NAVIGATION_MIN_WIDTH) {
53
- shouldCollapseOnMouseUp = true;
54
- } else {
55
- shouldCollapseOnMouseUp = false;
56
- }
57
- if (newWidth >= NAVIGATION_COLLASPED_WIDTH && !expanded) {
58
- shouldExpandOnMouseUp = true;
59
- } else {
60
- shouldExpandOnMouseUp = false;
61
- }
62
- }
63
- };
64
- const mousedown = (event) => {
65
- prevX = event.clientX;
66
- navRect = navigationRef.current?.getBoundingClientRect();
67
- const mouseup = () => {
68
- if (shouldCollapseOnMouseUp || shouldExpandOnMouseUp) {
69
- toggleExpand();
70
- onToggleExpand?.(!expanded);
71
- }
72
- if (navigationRef.current) {
73
- if (!(shouldCollapseOnMouseUp || shouldExpandOnMouseUp)) {
74
- onWidthResize?.(navigationRef.current.offsetWidth);
75
- setWidth?.(navigationRef.current.offsetWidth);
76
- }
77
- if (!expanded) {
78
- navigationRef.current.style.width = "";
79
- }
80
- }
81
- document.removeEventListener("mousemove", mouseMove);
82
- window.removeEventListener("mouseup", mouseup);
83
- };
84
- document.addEventListener("mousemove", mouseMove);
85
- window.addEventListener("mouseup", mouseup);
86
- };
87
- const sliderRefCurrent = sliderRef.current;
88
- sliderRefCurrent?.addEventListener("mousedown", mousedown);
89
- return () => {
90
- sliderRefCurrent?.removeEventListener("mousedown", mousedown);
91
- };
92
- }, [
93
- expanded,
94
- navigationRef,
95
- onToggleExpand,
96
- onWidthResize,
97
- setWidth,
98
- toggleExpand
99
- ]);
100
- return /* @__PURE__ */ jsxs("nav", { className: cn(className, navigation), "data-testid": dataTestId, id, children: [
101
- /* @__PURE__ */ jsxs(
102
- "div",
103
- {
104
- className: navigationContainer({
105
- animation: shouldAnimate ? animation : void 0,
106
- expanded
107
- }),
108
- ref: navigationRef,
109
- style: assignInlineVars({
110
- [widthNavigationContainer]: `${width}px`
111
- }),
112
- children: [
113
- logo ? /* @__PURE__ */ jsx(Header, { logo }) : null,
114
- /* @__PURE__ */ jsxs(
115
- "div",
116
- {
117
- className: cn(
118
- navigationContentContainer,
119
- expanded ? "" : navigationContentContainerCollapsed
120
- ),
121
- children: [
122
- /* @__PURE__ */ jsx(Stack, { className: navigationContent, gap: 0.25, ref: contentRef, children }),
123
- allowNavigationResize ? /* @__PURE__ */ jsx(Footer, { contentRef, onToggleExpand }) : null
124
- ]
125
- }
126
- )
127
- ]
128
- }
129
- ),
130
- allowNavigationResize ? /* @__PURE__ */ jsx(
131
- "div",
132
- {
133
- className: navigationSlider,
134
- "data-testid": "slider",
135
- ref: sliderRef
136
- }
137
- ) : null
138
- ] });
139
- };
140
- export {
141
- NavigationContent
8
+ import { Stack } from "@ultraviolet/ui";
9
+ import { cn } from "@ultraviolet/utils";
10
+ import { assignInlineVars } from "@vanilla-extract/dynamic";
11
+ import { useEffect, useRef } from "react";
12
+ import { jsx, jsxs } from "react/jsx-runtime";
13
+
14
+ //#region src/components/Navigation/NavigationContent.tsx
15
+ const NavigationContent = ({ children, logo, onWidthResize, className, "data-testid": dataTestId, id, onToggleExpand }) => {
16
+ const context = useNavigation();
17
+ if (!context) throw new Error("Navigation should be inside NavigationProvider to use it properly.");
18
+ const { setWidth, width, expanded, toggleExpand, animation, navigationRef, allowNavigationResize, shouldAnimate } = context;
19
+ const sliderRef = useRef(null);
20
+ const contentRef = useRef(null);
21
+ useEffect(() => {
22
+ let prevX;
23
+ let navRect;
24
+ let shouldCollapseOnMouseUp = false;
25
+ let shouldExpandOnMouseUp = false;
26
+ const mouseMove = (event) => {
27
+ if (prevX !== void 0) {
28
+ var _navRect$width;
29
+ const newWidth = ((_navRect$width = navRect === null || navRect === void 0 ? void 0 : navRect.width) !== null && _navRect$width !== void 0 ? _navRect$width : 0) + (event.clientX - prevX);
30
+ if (navigationRef.current && expanded) navigationRef.current.style.width = `${newWidth}px`;
31
+ if (newWidth <= 220) shouldCollapseOnMouseUp = true;
32
+ else shouldCollapseOnMouseUp = false;
33
+ if (newWidth >= 67 && !expanded) shouldExpandOnMouseUp = true;
34
+ else shouldExpandOnMouseUp = false;
35
+ }
36
+ };
37
+ const mousedown = (event) => {
38
+ var _navigationRef$curren;
39
+ prevX = event.clientX;
40
+ navRect = (_navigationRef$curren = navigationRef.current) === null || _navigationRef$curren === void 0 ? void 0 : _navigationRef$curren.getBoundingClientRect();
41
+ const mouseup = () => {
42
+ if (shouldCollapseOnMouseUp || shouldExpandOnMouseUp) {
43
+ toggleExpand();
44
+ onToggleExpand === null || onToggleExpand === void 0 || onToggleExpand(!expanded);
45
+ }
46
+ if (navigationRef.current) {
47
+ if (!(shouldCollapseOnMouseUp || shouldExpandOnMouseUp)) {
48
+ onWidthResize === null || onWidthResize === void 0 || onWidthResize(navigationRef.current.offsetWidth);
49
+ setWidth === null || setWidth === void 0 || setWidth(navigationRef.current.offsetWidth);
50
+ }
51
+ if (!expanded) navigationRef.current.style.width = "";
52
+ }
53
+ document.removeEventListener("mousemove", mouseMove);
54
+ window.removeEventListener("mouseup", mouseup);
55
+ };
56
+ document.addEventListener("mousemove", mouseMove);
57
+ window.addEventListener("mouseup", mouseup);
58
+ };
59
+ const sliderRefCurrent = sliderRef.current;
60
+ sliderRefCurrent === null || sliderRefCurrent === void 0 || sliderRefCurrent.addEventListener("mousedown", mousedown);
61
+ return () => {
62
+ sliderRefCurrent === null || sliderRefCurrent === void 0 || sliderRefCurrent.removeEventListener("mousedown", mousedown);
63
+ };
64
+ }, [
65
+ expanded,
66
+ navigationRef,
67
+ onToggleExpand,
68
+ onWidthResize,
69
+ setWidth,
70
+ toggleExpand
71
+ ]);
72
+ return /* @__PURE__ */ jsxs("nav", {
73
+ className: cn(className, navigation),
74
+ "data-testid": dataTestId,
75
+ id,
76
+ children: [/* @__PURE__ */ jsxs("div", {
77
+ className: navigationContainer({
78
+ animation: shouldAnimate ? animation : void 0,
79
+ expanded
80
+ }),
81
+ ref: navigationRef,
82
+ style: assignInlineVars({ [widthNavigationContainer]: `${width}px` }),
83
+ children: [logo ? /* @__PURE__ */ jsx(Header, { logo }) : null, /* @__PURE__ */ jsxs("div", {
84
+ className: cn(navigationContentContainer, expanded ? "" : navigationContentContainerCollapsed),
85
+ children: [/* @__PURE__ */ jsx(Stack, {
86
+ className: navigationContent,
87
+ gap: .25,
88
+ ref: contentRef,
89
+ children
90
+ }), allowNavigationResize ? /* @__PURE__ */ jsx(Footer, {
91
+ contentRef,
92
+ onToggleExpand
93
+ }) : null]
94
+ })]
95
+ }), allowNavigationResize ? /* @__PURE__ */ jsx("div", {
96
+ className: navigationSlider,
97
+ "data-testid": "slider",
98
+ ref: sliderRef
99
+ }) : null]
100
+ });
142
101
  };
102
+
103
+ //#endregion
104
+ export { NavigationContent };
@@ -1 +1 @@
1
- {"version":3,"file":"NavigationProvider.d.ts","sourceRoot":"","sources":["../../../src/components/Navigation/NavigationProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAW3D,OAAO,iBAAiB,MAAM,cAAc,CAAA;AAC5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,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