@ultraviolet/plus 3.0.0-beta.16 → 3.0.0-beta.17

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 (106) hide show
  1. package/dist/components/CodeEditor/CodeEditor.d.ts +1 -1
  2. package/dist/components/CodeEditor/CodeEditor.js +41 -11
  3. package/dist/components/ContentCard/Skeleton.d.ts +1 -1
  4. package/dist/components/ContentCard/Skeleton.js +13 -8
  5. package/dist/components/ContentCard/index.js +131 -51
  6. package/dist/components/ContentCard/styles.css.js +1 -0
  7. package/dist/components/ContentCardGroup/Card.js +63 -22
  8. package/dist/components/ContentCardGroup/SkeletonCard.d.ts +1 -1
  9. package/dist/components/ContentCardGroup/SkeletonCard.js +1 -1
  10. package/dist/components/ContentCardGroup/index.js +11 -6
  11. package/dist/components/Conversation/index.d.ts +9 -9
  12. package/dist/components/Conversation/index.js +23 -6
  13. package/dist/components/CustomerSatisfaction/index.d.ts +1 -1
  14. package/dist/components/CustomerSatisfaction/index.js +68 -39
  15. package/dist/components/EstimateCost/Components/CustomUnitInput.d.ts +1 -1
  16. package/dist/components/EstimateCost/Components/CustomUnitInput.js +47 -27
  17. package/dist/components/EstimateCost/Components/Item.d.ts +1 -1
  18. package/dist/components/EstimateCost/Components/Item.js +303 -203
  19. package/dist/components/EstimateCost/Components/LineThrough.d.ts +1 -1
  20. package/dist/components/EstimateCost/Components/LineThrough.js +8 -2
  21. package/dist/components/EstimateCost/Components/NumberInput.d.ts +1 -1
  22. package/dist/components/EstimateCost/Components/NumberInput.js +17 -9
  23. package/dist/components/EstimateCost/Components/Region.d.ts +1 -1
  24. package/dist/components/EstimateCost/Components/Region.js +43 -25
  25. package/dist/components/EstimateCost/Components/Regular.d.ts +1 -1
  26. package/dist/components/EstimateCost/Components/Regular.js +20 -16
  27. package/dist/components/EstimateCost/Components/Strong.d.ts +1 -1
  28. package/dist/components/EstimateCost/Components/Strong.js +11 -10
  29. package/dist/components/EstimateCost/Components/Unit.d.ts +1 -1
  30. package/dist/components/EstimateCost/Components/Unit.js +20 -13
  31. package/dist/components/EstimateCost/Components/Zone.d.ts +1 -1
  32. package/dist/components/EstimateCost/Components/Zone.js +41 -24
  33. package/dist/components/EstimateCost/EstimateCost.d.ts +11 -11
  34. package/dist/components/EstimateCost/EstimateCost.js +61 -10
  35. package/dist/components/EstimateCost/EstimateCostContent.d.ts +1 -1
  36. package/dist/components/EstimateCost/EstimateCostContent.js +264 -120
  37. package/dist/components/EstimateCost/EstimateCostProvider.d.ts +1 -1
  38. package/dist/components/EstimateCost/EstimateCostProvider.js +24 -21
  39. package/dist/components/EstimateCost/OverlayComponent.d.ts +1 -1
  40. package/dist/components/EstimateCost/OverlayComponent.js +53 -41
  41. package/dist/components/EstimateCost/OverlayContext.d.ts +1 -1
  42. package/dist/components/EstimateCost/OverlayContext.js +2 -4
  43. package/dist/components/FAQ/index.d.ts +1 -1
  44. package/dist/components/FAQ/index.js +1 -1
  45. package/dist/components/InfoTable/InfoTable.d.ts +3 -3
  46. package/dist/components/InfoTable/InfoTable.js +10 -4
  47. package/dist/components/InfoTable/components/Cell.d.ts +1 -1
  48. package/dist/components/InfoTable/components/Cell.js +23 -3
  49. package/dist/components/InfoTable/components/Row.d.ts +1 -1
  50. package/dist/components/InfoTable/components/Row.js +16 -10
  51. package/dist/components/Navigation/Footer.d.ts +1 -1
  52. package/dist/components/Navigation/Footer.js +34 -19
  53. package/dist/components/Navigation/Header.d.ts +1 -1
  54. package/dist/components/Navigation/Header.js +12 -9
  55. package/dist/components/Navigation/Navigation.d.ts +5 -5
  56. package/dist/components/Navigation/Navigation.js +2 -5
  57. package/dist/components/Navigation/NavigationContent.d.ts +1 -1
  58. package/dist/components/Navigation/NavigationContent.js +56 -18
  59. package/dist/components/Navigation/NavigationProvider.d.ts +1 -1
  60. package/dist/components/Navigation/NavigationProvider.js +108 -70
  61. package/dist/components/Navigation/components/Group.d.ts +1 -1
  62. package/dist/components/Navigation/components/Group.js +20 -19
  63. package/dist/components/Navigation/components/Item.d.ts +1 -1
  64. package/dist/components/Navigation/components/Item.js +551 -254
  65. package/dist/components/Navigation/components/ItemProvider.d.ts +1 -1
  66. package/dist/components/Navigation/components/ItemProvider.js +2 -4
  67. package/dist/components/Navigation/components/PinnedItems.d.ts +1 -1
  68. package/dist/components/Navigation/components/PinnedItems.js +91 -37
  69. package/dist/components/Navigation/components/Separator.d.ts +1 -1
  70. package/dist/components/Navigation/components/Separator.js +1 -1
  71. package/dist/components/Navigation/styles.css.js +0 -1
  72. package/dist/components/Navigation/variables.css.js +1 -0
  73. package/dist/components/OfferList/OfferList.d.ts +3 -3
  74. package/dist/components/OfferList/OfferList.js +41 -9
  75. package/dist/components/OfferList/OfferListProvider.d.ts +1 -1
  76. package/dist/components/OfferList/OfferListProvider.js +25 -15
  77. package/dist/components/OfferList/components/Banner.d.ts +1 -1
  78. package/dist/components/OfferList/components/Banner.js +30 -8
  79. package/dist/components/OfferList/components/Cell.d.ts +1 -1
  80. package/dist/components/OfferList/components/Cell.js +12 -5
  81. package/dist/components/OfferList/components/Row.d.ts +1 -1
  82. package/dist/components/OfferList/components/Row.js +135 -42
  83. package/dist/components/OrderSummary/NonScrollableContent.d.ts +1 -1
  84. package/dist/components/OrderSummary/NonScrollableContent.js +68 -22
  85. package/dist/components/OrderSummary/Provider.js +1 -4
  86. package/dist/components/OrderSummary/ScrollableContent.d.ts +1 -1
  87. package/dist/components/OrderSummary/ScrollableContent.js +174 -33
  88. package/dist/components/OrderSummary/constants.js +7 -1
  89. package/dist/components/OrderSummary/helpers.js +36 -18
  90. package/dist/components/OrderSummary/index.d.ts +1 -1
  91. package/dist/components/OrderSummary/index.js +135 -48
  92. package/dist/components/Plans/FeatureHint.d.ts +1 -1
  93. package/dist/components/Plans/FeatureHint.js +26 -8
  94. package/dist/components/Plans/PlanHeader.d.ts +1 -1
  95. package/dist/components/Plans/PlanHeader.js +79 -25
  96. package/dist/components/Plans/index.d.ts +1 -1
  97. package/dist/components/Plans/index.js +142 -53
  98. package/dist/components/Plans/styles.css.js +0 -1
  99. package/dist/components/SteppedListCard/Step.d.ts +1 -1
  100. package/dist/components/SteppedListCard/Step.js +42 -2
  101. package/dist/components/SteppedListCard/SteppedListCard.d.ts +2 -2
  102. package/dist/components/SteppedListCard/SteppedListCard.js +66 -19
  103. package/dist/components/SteppedListCard/SteppedListContent.d.ts +1 -1
  104. package/dist/components/SteppedListCard/SteppedListContent.js +13 -11
  105. package/dist/components/SteppedListCard/helper.js +3 -1
  106. package/package.json +4 -4
@@ -4,5 +4,5 @@ type GroupProps = {
4
4
  label: string;
5
5
  style?: CSSProperties;
6
6
  };
7
- export declare const Group: ({ children, label, style }: GroupProps) => import("@emotion/react/jsx-runtime").JSX.Element | null;
7
+ export declare const Group: ({ children, label, style }: GroupProps) => import("react/jsx-runtime").JSX.Element | null;
8
8
  export {};
@@ -1,32 +1,33 @@
1
1
  "use client";
2
- import { jsx, jsxs } from "@emotion/react/jsx-runtime";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { Stack, Text } from "@ultraviolet/ui";
4
4
  import { Children } from "react";
5
5
  import { useNavigation } from "../NavigationProvider.js";
6
6
  import { navigationGroupStack, navigationGroupText } from "./styles.css.js";
7
- const Group = ({
8
- children,
9
- label,
10
- style
11
- }) => {
7
+ const Group = ({ children, label, style }) => {
12
8
  const context = useNavigation();
13
9
  if (!context) {
14
- throw new Error("Navigation.Group can only be used inside a NavigationProvider.");
10
+ throw new Error(
11
+ "Navigation.Group can only be used inside a NavigationProvider."
12
+ );
15
13
  }
16
- const {
17
- expanded,
18
- animation,
19
- animationType
20
- } = context;
14
+ const { expanded, animation, animationType } = context;
21
15
  const isDiplay = !animation && expanded;
22
16
  if (Children.count(children) > 0) {
23
- return /* @__PURE__ */ jsx("div", { style: {
24
- width: animation ? "100%" : void 0,
25
- ...style
26
- }, children: /* @__PURE__ */ jsxs(Stack, { className: navigationGroupStack, direction: "column", children: [
27
- isDiplay ? /* @__PURE__ */ jsx(Text, { as: "span", className: navigationGroupText({
28
- animation: animationType === "complex" ? animation : false
29
- }), prominence: "weak", sentiment: "neutral", variant: "bodySmallStrong", children: label }) : null,
17
+ return /* @__PURE__ */ jsx("div", { style: { width: animation ? "100%" : void 0, ...style }, children: /* @__PURE__ */ jsxs(Stack, { className: navigationGroupStack, direction: "column", children: [
18
+ isDiplay ? /* @__PURE__ */ jsx(
19
+ Text,
20
+ {
21
+ as: "span",
22
+ className: navigationGroupText({
23
+ animation: animationType === "complex" ? animation : false
24
+ }),
25
+ prominence: "weak",
26
+ sentiment: "neutral",
27
+ variant: "bodySmallStrong",
28
+ children: label
29
+ }
30
+ ) : null,
30
31
  children
31
32
  ] }) });
32
33
  }
@@ -80,5 +80,5 @@ type ItemProps = {
80
80
  'data-testid'?: string;
81
81
  style?: CSSProperties;
82
82
  };
83
- export declare const 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, }: ItemProps) => import("@emotion/react/jsx-runtime").JSX.Element | null>;
83
+ export declare const 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, }: ItemProps) => import("react/jsx-runtime").JSX.Element | null>;
84
84
  export {};