@ultraviolet/plus 3.0.0-beta.13 → 3.0.0-beta.14

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 (102) hide show
  1. package/dist/components/CodeEditor/CodeEditor.cjs +3 -2
  2. package/dist/components/CodeEditor/CodeEditor.d.ts +3 -2
  3. package/dist/components/CodeEditor/CodeEditor.js +3 -2
  4. package/dist/components/ContentCard/index.cjs +3 -2
  5. package/dist/components/ContentCard/index.d.ts +2 -1
  6. package/dist/components/ContentCard/index.js +3 -2
  7. package/dist/components/ContentCard/styles.css.cjs +1 -0
  8. package/dist/components/ContentCard/styles.css.js +1 -0
  9. package/dist/components/ContentCardGroup/Card.cjs +3 -2
  10. package/dist/components/ContentCardGroup/Card.d.ts +2 -1
  11. package/dist/components/ContentCardGroup/Card.js +3 -2
  12. package/dist/components/ContentCardGroup/index.cjs +3 -2
  13. package/dist/components/ContentCardGroup/index.d.ts +3 -1
  14. package/dist/components/ContentCardGroup/index.js +3 -2
  15. package/dist/components/ContentCardGroup/styles.css.cjs +0 -1
  16. package/dist/components/ContentCardGroup/styles.css.js +0 -1
  17. package/dist/components/Conversation/index.cjs +15 -10
  18. package/dist/components/Conversation/index.d.ts +18 -10
  19. package/dist/components/Conversation/index.js +15 -10
  20. package/dist/components/CustomerSatisfaction/index.cjs +3 -2
  21. package/dist/components/CustomerSatisfaction/index.d.ts +3 -1
  22. package/dist/components/CustomerSatisfaction/index.js +3 -2
  23. package/dist/components/EstimateCost/Components/Item.cjs +3 -2
  24. package/dist/components/EstimateCost/Components/Item.d.ts +3 -2
  25. package/dist/components/EstimateCost/Components/Item.js +3 -2
  26. package/dist/components/EstimateCost/Components/Region.cjs +3 -2
  27. package/dist/components/EstimateCost/Components/Region.d.ts +2 -2
  28. package/dist/components/EstimateCost/Components/Region.js +3 -2
  29. package/dist/components/EstimateCost/Components/Regular.cjs +3 -2
  30. package/dist/components/EstimateCost/Components/Regular.d.ts +3 -2
  31. package/dist/components/EstimateCost/Components/Regular.js +3 -2
  32. package/dist/components/EstimateCost/Components/Strong.cjs +3 -2
  33. package/dist/components/EstimateCost/Components/Strong.d.ts +3 -2
  34. package/dist/components/EstimateCost/Components/Strong.js +3 -2
  35. package/dist/components/EstimateCost/Components/Unit.cjs +5 -3
  36. package/dist/components/EstimateCost/Components/Unit.d.ts +3 -1
  37. package/dist/components/EstimateCost/Components/Unit.js +5 -3
  38. package/dist/components/EstimateCost/Components/Zone.cjs +3 -2
  39. package/dist/components/EstimateCost/Components/Zone.d.ts +3 -1
  40. package/dist/components/EstimateCost/Components/Zone.js +3 -2
  41. package/dist/components/EstimateCost/EstimateCost.cjs +2 -1
  42. package/dist/components/EstimateCost/EstimateCost.d.ts +14 -8
  43. package/dist/components/EstimateCost/EstimateCost.js +2 -1
  44. package/dist/components/EstimateCost/EstimateCostContent.cjs +3 -2
  45. package/dist/components/EstimateCost/EstimateCostContent.d.ts +1 -1
  46. package/dist/components/EstimateCost/EstimateCostContent.js +3 -2
  47. package/dist/components/EstimateCost/types.d.ts +2 -1
  48. package/dist/components/FAQ/index.cjs +3 -2
  49. package/dist/components/FAQ/index.d.ts +3 -1
  50. package/dist/components/FAQ/index.js +3 -2
  51. package/dist/components/InfoTable/InfoTable.cjs +2 -1
  52. package/dist/components/InfoTable/InfoTable.d.ts +7 -4
  53. package/dist/components/InfoTable/InfoTable.js +2 -1
  54. package/dist/components/InfoTable/components/Cell.cjs +3 -2
  55. package/dist/components/InfoTable/components/Cell.d.ts +3 -2
  56. package/dist/components/InfoTable/components/Cell.js +3 -2
  57. package/dist/components/InfoTable/components/Row.cjs +8 -4
  58. package/dist/components/InfoTable/components/Row.d.ts +3 -2
  59. package/dist/components/InfoTable/components/Row.js +8 -4
  60. package/dist/components/Navigation/Navigation.d.ts +6 -3
  61. package/dist/components/Navigation/components/Group.cjs +4 -2
  62. package/dist/components/Navigation/components/Group.d.ts +3 -2
  63. package/dist/components/Navigation/components/Group.js +4 -2
  64. package/dist/components/Navigation/components/Item.cjs +5 -3
  65. package/dist/components/Navigation/components/Item.d.ts +3 -2
  66. package/dist/components/Navigation/components/Item.js +5 -3
  67. package/dist/components/Navigation/components/PinnedItems.cjs +4 -2
  68. package/dist/components/Navigation/components/PinnedItems.d.ts +3 -2
  69. package/dist/components/Navigation/components/PinnedItems.js +4 -2
  70. package/dist/components/Navigation/types.d.ts +2 -1
  71. package/dist/components/OfferList/OfferList.cjs +2 -1
  72. package/dist/components/OfferList/OfferList.d.ts +6 -4
  73. package/dist/components/OfferList/OfferList.js +2 -1
  74. package/dist/components/OfferList/components/Cell.cjs +3 -2
  75. package/dist/components/OfferList/components/Cell.d.ts +1 -1
  76. package/dist/components/OfferList/components/Cell.js +3 -2
  77. package/dist/components/OfferList/components/Row.cjs +1 -1
  78. package/dist/components/OfferList/components/Row.d.ts +2 -1
  79. package/dist/components/OfferList/components/Row.js +2 -2
  80. package/dist/components/OfferList/styles.css.cjs +9 -5
  81. package/dist/components/OfferList/styles.css.d.ts +2 -0
  82. package/dist/components/OfferList/styles.css.js +10 -6
  83. package/dist/components/OrderSummary/helpers.cjs +4 -4
  84. package/dist/components/OrderSummary/helpers.js +4 -4
  85. package/dist/components/OrderSummary/index.cjs +3 -2
  86. package/dist/components/OrderSummary/index.d.ts +1 -1
  87. package/dist/components/OrderSummary/index.js +3 -2
  88. package/dist/components/OrderSummary/types.d.ts +2 -1
  89. package/dist/components/Plans/PlanHeader.cjs +6 -66
  90. package/dist/components/Plans/PlanHeader.js +6 -64
  91. package/dist/components/Plans/index.cjs +3 -2
  92. package/dist/components/Plans/index.d.ts +3 -1
  93. package/dist/components/Plans/index.js +3 -2
  94. package/dist/components/Plans/styles.css.cjs +10 -0
  95. package/dist/components/Plans/styles.css.d.ts +5 -0
  96. package/dist/components/Plans/styles.css.js +10 -0
  97. package/dist/components/SteppedListCard/SteppedListCard.d.ts +2 -1
  98. package/dist/components/SteppedListCard/SteppedListContent.cjs +3 -2
  99. package/dist/components/SteppedListCard/SteppedListContent.d.ts +3 -2
  100. package/dist/components/SteppedListCard/SteppedListContent.js +3 -2
  101. package/dist/plus.css +1 -1
  102. package/package.json +6 -6
@@ -11,7 +11,8 @@ const Unit = ({
11
11
  amount,
12
12
  itemCallback,
13
13
  getAmountValue,
14
- unit
14
+ unit,
15
+ style
15
16
  }) => {
16
17
  const {
17
18
  isOverlay
@@ -22,8 +23,9 @@ const Unit = ({
22
23
  itemCallback?.(amount, true);
23
24
  getAmountValue?.(amount);
24
25
  }, [getAmountValue, itemCallback, capacity, amount]);
25
- return isOverlay ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: components_css.estimateCostItemResourceName(), children: /* @__PURE__ */ jsxRuntime.jsx(Regular.Regular, { children: capacity }) }) : /* @__PURE__ */ jsxRuntime.jsx("div", { style: {
26
- width: "150px"
26
+ return isOverlay ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: components_css.estimateCostItemResourceName(), style, children: /* @__PURE__ */ jsxRuntime.jsx(Regular.Regular, { children: capacity }) }) : /* @__PURE__ */ jsxRuntime.jsx("div", { style: {
27
+ width: "150px",
28
+ ...style
27
29
  }, children: /* @__PURE__ */ jsxRuntime.jsx(ui.NumberInput, { className: components_css.estimateCostNumberInput, controls: false, name: "capacity", onChange: (capacityText) => {
28
30
  const newCapacity = Number(capacityText) < 0 ? 0 : Number(capacityText);
29
31
  setCapacity(newCapacity);
@@ -1,8 +1,10 @@
1
+ import type { CSSProperties } from 'react';
1
2
  type UnitProps = {
2
3
  amount?: number;
3
4
  itemCallback?: (amount?: number, isVariant?: boolean) => void;
4
5
  getAmountValue?: (amount?: number) => void;
5
6
  unit?: string;
7
+ style?: CSSProperties;
6
8
  };
7
- export declare const Unit: ({ amount, itemCallback, getAmountValue, unit, }: UnitProps) => import("@emotion/react/jsx-runtime").JSX.Element;
9
+ export declare const Unit: ({ amount, itemCallback, getAmountValue, unit, style, }: UnitProps) => import("@emotion/react/jsx-runtime").JSX.Element;
8
10
  export {};
@@ -9,7 +9,8 @@ const Unit = ({
9
9
  amount,
10
10
  itemCallback,
11
11
  getAmountValue,
12
- unit
12
+ unit,
13
+ style
13
14
  }) => {
14
15
  const {
15
16
  isOverlay
@@ -20,8 +21,9 @@ const Unit = ({
20
21
  itemCallback?.(amount, true);
21
22
  getAmountValue?.(amount);
22
23
  }, [getAmountValue, itemCallback, capacity, amount]);
23
- return isOverlay ? /* @__PURE__ */ jsx("div", { className: estimateCostItemResourceName(), children: /* @__PURE__ */ jsx(Regular, { children: capacity }) }) : /* @__PURE__ */ jsx("div", { style: {
24
- width: "150px"
24
+ return isOverlay ? /* @__PURE__ */ jsx("div", { className: estimateCostItemResourceName(), style, children: /* @__PURE__ */ jsx(Regular, { children: capacity }) }) : /* @__PURE__ */ jsx("div", { style: {
25
+ width: "150px",
26
+ ...style
25
27
  }, children: /* @__PURE__ */ jsx(NumberInput, { className: estimateCostNumberInput, controls: false, name: "capacity", onChange: (capacityText) => {
26
28
  const newCapacity = Number(capacityText) < 0 ? 0 : Number(capacityText);
27
29
  setCapacity(newCapacity);
@@ -19,12 +19,13 @@ const Zone = react.memo(({
19
19
  iteration,
20
20
  discount,
21
21
  noBorder,
22
- noPrice
22
+ noPrice,
23
+ style
23
24
  }) => {
24
25
  const {
25
26
  locales
26
27
  } = EstimateCostProvider.useEstimateCost();
27
- return /* @__PURE__ */ jsxRuntime.jsx(Item.Item, { animated, discount, isFirstElement, isLastElement, iteration, label: locales["estimate.cost.az.label"], noBorder, noPrice, priceText, productsCallback, shouldBeHidden, children: /* @__PURE__ */ jsxRuntime.jsxs(Strong.Strong, { children: [
28
+ return /* @__PURE__ */ jsxRuntime.jsx(Item.Item, { animated, discount, isFirstElement, isLastElement, iteration, label: locales["estimate.cost.az.label"], noBorder, noPrice, priceText, productsCallback, shouldBeHidden, style, children: /* @__PURE__ */ jsxRuntime.jsxs(Strong.Strong, { children: [
28
29
  /* @__PURE__ */ jsxRuntime.jsx("img", { alt: label, className: styles_css.estimateCostImage, src: image }),
29
30
  label
30
31
  ] }) });
@@ -1,3 +1,4 @@
1
+ import type { CSSProperties } from 'react';
1
2
  import type { BareEstimateProduct, EstimateProduct, Iteration } from '../types';
2
3
  type RegionProps = {
3
4
  shouldBeHidden?: boolean;
@@ -15,6 +16,7 @@ type RegionProps = {
15
16
  image: string;
16
17
  noBorder?: boolean;
17
18
  noPrice?: boolean;
19
+ style?: CSSProperties;
18
20
  };
19
- export declare const Zone: import("react").MemoExoticComponent<({ label, image, shouldBeHidden, priceText, animated, isFirstElement, isLastElement, productsCallback, iteration, discount, noBorder, noPrice, }: RegionProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
21
+ export declare const Zone: import("react").MemoExoticComponent<({ label, image, shouldBeHidden, priceText, animated, isFirstElement, isLastElement, productsCallback, iteration, discount, noBorder, noPrice, style, }: RegionProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
20
22
  export {};
@@ -17,12 +17,13 @@ const Zone = memo(({
17
17
  iteration,
18
18
  discount,
19
19
  noBorder,
20
- noPrice
20
+ noPrice,
21
+ style
21
22
  }) => {
22
23
  const {
23
24
  locales
24
25
  } = useEstimateCost();
25
- return /* @__PURE__ */ jsx(Item, { animated, discount, isFirstElement, isLastElement, iteration, label: locales["estimate.cost.az.label"], noBorder, noPrice, priceText, productsCallback, shouldBeHidden, children: /* @__PURE__ */ jsxs(Strong, { children: [
26
+ return /* @__PURE__ */ jsx(Item, { animated, discount, isFirstElement, isLastElement, iteration, label: locales["estimate.cost.az.label"], noBorder, noPrice, priceText, productsCallback, shouldBeHidden, style, children: /* @__PURE__ */ jsxs(Strong, { children: [
26
27
  /* @__PURE__ */ jsx("img", { alt: label, className: estimateCostImage, src: image }),
27
28
  label
28
29
  ] }) });
@@ -55,8 +55,9 @@ const EstimateCost = ({
55
55
  locales = en,
56
56
  numberLocales = "en-EN",
57
57
  currency = "EUR",
58
+ style,
58
59
  onTotalPriceChange
59
- }) => /* @__PURE__ */ jsxRuntime.jsx(EstimateCostProvider.EstimateCostProvider, { currency, locales, numberLocales, children: /* @__PURE__ */ jsxRuntime.jsx(EstimateCostContent.EstimateCostContent, { alert, alertTitle, alertVariant, commitmentFees, commitmentFeesContent, defaultTimeUnit, description, disableOverlayLeft, disableOverlayRight, discount, hideOverlay, hideTimeUnit, hideTotal, isBeta, locales, monthlyFees, monthlyFeesContent, monthlyFeesLabel, OverlayLeft, OverlayRight, onTotalPriceChange, overlayMargin, overlayUnit, timeUnits, children }) });
60
+ }) => /* @__PURE__ */ jsxRuntime.jsx(EstimateCostProvider.EstimateCostProvider, { currency, locales, numberLocales, children: /* @__PURE__ */ jsxRuntime.jsx(EstimateCostContent.EstimateCostContent, { alert, alertTitle, alertVariant, commitmentFees, commitmentFeesContent, defaultTimeUnit, description, disableOverlayLeft, disableOverlayRight, discount, hideOverlay, hideTimeUnit, hideTotal, isBeta, locales, monthlyFees, monthlyFeesContent, monthlyFeesLabel, OverlayLeft, OverlayRight, onTotalPriceChange, overlayMargin, overlayUnit, style, timeUnits, children }) });
60
61
  EstimateCost.LineThrough = LineThrough.LineThrough;
61
62
  EstimateCost.Item = Item.Item;
62
63
  EstimateCost.NumberInput = NumberInput.NumberInput;
@@ -2,11 +2,11 @@ import { Text } from '@ultraviolet/ui';
2
2
  import type { ComponentProps, ReactNode } from 'react';
3
3
  import type { EstimateCostProps } from './types';
4
4
  declare const EstimateCost: {
5
- ({ description, alert, alertTitle, alertVariant, defaultTimeUnit, timeUnits, hideOverlay, disableOverlayLeft, disableOverlayRight, hideTimeUnit, hideTotal, discount, OverlayRight, OverlayLeft, overlayMargin, isBeta, commitmentFees, commitmentFeesContent, monthlyFees, monthlyFeesLabel, monthlyFeesContent, overlayUnit, children, locales, numberLocales, currency, onTotalPriceChange, }: EstimateCostProps): import("@emotion/react/jsx-runtime").JSX.Element;
5
+ ({ description, alert, alertTitle, alertVariant, defaultTimeUnit, timeUnits, hideOverlay, disableOverlayLeft, disableOverlayRight, hideTimeUnit, hideTotal, discount, OverlayRight, OverlayLeft, overlayMargin, isBeta, commitmentFees, commitmentFeesContent, monthlyFees, monthlyFeesLabel, monthlyFeesContent, overlayUnit, children, locales, numberLocales, currency, style, onTotalPriceChange, }: EstimateCostProps): import("@emotion/react/jsx-runtime").JSX.Element;
6
6
  LineThrough: ({ isActive, className, ...props }: import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & {
7
7
  isActive?: boolean;
8
8
  }) => import("@emotion/react/jsx-runtime").JSX.Element;
9
- Item: import("react").MemoExoticComponent<({ discount, priceText, discountText, label, tooltipInfo, subLabel, price: basePrice, monthlyPrice, unit: baseUnit, amount: currentAmount, onAmountChange, amountFree, maxAmount, longFractionDigits, noIteration, noIterationText, noBorder, noPrice, isDefined, children, isFirstElement, isLastElement, isPrimaryBackground, productsCallback, iteration: receivedIteration, shouldBeHidden, hideFromOverlay, textNotDefined, animated, tabulation, labelTextVariant, labelTextProminence, notice, strikeThrough, }: {
9
+ Item: import("react").MemoExoticComponent<({ discount, priceText, discountText, label, tooltipInfo, subLabel, price: basePrice, monthlyPrice, unit: baseUnit, amount: currentAmount, onAmountChange, amountFree, maxAmount, longFractionDigits, noIteration, noIterationText, noBorder, noPrice, isDefined, children, isFirstElement, isLastElement, isPrimaryBackground, productsCallback, iteration: receivedIteration, shouldBeHidden, hideFromOverlay, textNotDefined, animated, tabulation, labelTextVariant, labelTextProminence, notice, strikeThrough, style, }: {
10
10
  amount?: number;
11
11
  amountFree?: number;
12
12
  animated?: boolean;
@@ -44,6 +44,7 @@ declare const EstimateCost: {
44
44
  tooltipInfo?: string;
45
45
  unit?: "mb" | "gb" | "tb" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | (string & NonNullable<unknown>);
46
46
  strikeThrough?: boolean;
47
+ style?: import("react").CSSProperties;
47
48
  }) => import("@emotion/react/jsx-runtime").JSX.Element>;
48
49
  NumberInput: ({ amount, minValue, maxValue, getAmountValue, itemCallback, controls, }: {
49
50
  amount?: number;
@@ -53,25 +54,28 @@ declare const EstimateCost: {
53
54
  maxValue?: number;
54
55
  controls?: boolean;
55
56
  }) => import("@emotion/react/jsx-runtime").JSX.Element;
56
- Unit: ({ amount, itemCallback, getAmountValue, unit, }: {
57
+ Unit: ({ amount, itemCallback, getAmountValue, unit, style, }: {
57
58
  amount?: number;
58
59
  itemCallback?: (amount?: number, isVariant?: boolean) => void;
59
60
  getAmountValue?: (amount?: number) => void;
60
61
  unit?: string;
62
+ style?: import("react").CSSProperties;
61
63
  }) => import("@emotion/react/jsx-runtime").JSX.Element;
62
- Strong: import("react").MemoExoticComponent<({ variant, children }: {
64
+ Strong: import("react").MemoExoticComponent<({ variant, children, style }: {
63
65
  variant?: "normal" | "small" | "big" | "capitalized";
64
66
  children?: ReactNode;
65
67
  isDisabledOnOverlay?: boolean;
68
+ style?: import("react").CSSProperties;
66
69
  }) => import("@emotion/react/jsx-runtime").JSX.Element>;
67
- Regular: import("react").MemoExoticComponent<({ variant, isDisabledOnOverlay, children, className, }: {
70
+ Regular: import("react").MemoExoticComponent<({ variant, isDisabledOnOverlay, children, className, style, }: {
68
71
  variant?: "normal" | "small" | "big" | "capitalized";
69
72
  isDisabledOnOverlay?: boolean;
70
73
  children?: ReactNode;
74
+ style?: import("react").CSSProperties;
71
75
  className?: string;
72
76
  }) => import("@emotion/react/jsx-runtime").JSX.Element | null>;
73
77
  Image: (props: ComponentProps<"img">) => import("@emotion/react/jsx-runtime").JSX.Element;
74
- Region: import("react").MemoExoticComponent<({ label, image, shouldBeHidden, priceText, animated, isFirstElement, isLastElement, productsCallback, iteration, discount, noBorder, noPrice, hideFromOverlay, }: {
78
+ Region: import("react").MemoExoticComponent<({ label, image, shouldBeHidden, priceText, animated, isFirstElement, isLastElement, productsCallback, iteration, discount, noBorder, noPrice, hideFromOverlay, style, }: {
75
79
  shouldBeHidden?: boolean;
76
80
  priceText?: ReactNode;
77
81
  animated?: boolean;
@@ -125,8 +129,9 @@ declare const EstimateCost: {
125
129
  tooltipInfo?: string;
126
130
  unit?: "mb" | "gb" | "tb" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | (string & NonNullable<unknown>);
127
131
  strikeThrough?: boolean;
128
- }, "hideFromOverlay">) => import("@emotion/react/jsx-runtime").JSX.Element>;
129
- Zone: import("react").MemoExoticComponent<({ label, image, shouldBeHidden, priceText, animated, isFirstElement, isLastElement, productsCallback, iteration, discount, noBorder, noPrice, }: {
132
+ style?: import("react").CSSProperties;
133
+ }, "style" | "hideFromOverlay">) => import("@emotion/react/jsx-runtime").JSX.Element>;
134
+ Zone: import("react").MemoExoticComponent<({ label, image, shouldBeHidden, priceText, animated, isFirstElement, isLastElement, productsCallback, iteration, discount, noBorder, noPrice, style, }: {
130
135
  shouldBeHidden?: boolean;
131
136
  priceText?: string;
132
137
  animated?: boolean;
@@ -142,6 +147,7 @@ declare const EstimateCost: {
142
147
  image: string;
143
148
  noBorder?: boolean;
144
149
  noPrice?: boolean;
150
+ style?: import("react").CSSProperties;
145
151
  }) => import("@emotion/react/jsx-runtime").JSX.Element>;
146
152
  Ellipsis: ({ children, maxWidth, "data-testid": dataTestId, }: {
147
153
  children: ReactNode;
@@ -53,8 +53,9 @@ const EstimateCost = ({
53
53
  locales = EstimateCostLocales,
54
54
  numberLocales = "en-EN",
55
55
  currency = "EUR",
56
+ style,
56
57
  onTotalPriceChange
57
- }) => /* @__PURE__ */ jsx(EstimateCostProvider, { currency, locales, numberLocales, children: /* @__PURE__ */ jsx(EstimateCostContent, { alert, alertTitle, alertVariant, commitmentFees, commitmentFeesContent, defaultTimeUnit, description, disableOverlayLeft, disableOverlayRight, discount, hideOverlay, hideTimeUnit, hideTotal, isBeta, locales, monthlyFees, monthlyFeesContent, monthlyFeesLabel, OverlayLeft, OverlayRight, onTotalPriceChange, overlayMargin, overlayUnit, timeUnits, children }) });
58
+ }) => /* @__PURE__ */ jsx(EstimateCostProvider, { currency, locales, numberLocales, children: /* @__PURE__ */ jsx(EstimateCostContent, { alert, alertTitle, alertVariant, commitmentFees, commitmentFeesContent, defaultTimeUnit, description, disableOverlayLeft, disableOverlayRight, discount, hideOverlay, hideTimeUnit, hideTotal, isBeta, locales, monthlyFees, monthlyFeesContent, monthlyFeesLabel, OverlayLeft, OverlayRight, onTotalPriceChange, overlayMargin, overlayUnit, style, timeUnits, children }) });
58
59
  EstimateCost.LineThrough = LineThrough;
59
60
  EstimateCost.Item = Item;
60
61
  EstimateCost.NumberInput = NumberInput;
@@ -54,7 +54,8 @@ const EstimateCostContent = ({
54
54
  children = null,
55
55
  locales = en,
56
56
  overlayMargin,
57
- onTotalPriceChange
57
+ onTotalPriceChange,
58
+ style
58
59
  }) => {
59
60
  const {
60
61
  formatNumber
@@ -137,7 +138,7 @@ const EstimateCostContent = ({
137
138
  });
138
139
  }
139
140
  }, [hideTimeUnit, iteration, defaultTimeUnit]);
140
- return /* @__PURE__ */ jsxRuntime.jsxs(ui.Stack, { gap: 2, children: [
141
+ return /* @__PURE__ */ jsxRuntime.jsxs(ui.Stack, { gap: 2, style, children: [
141
142
  !hideOverlay ? /* @__PURE__ */ jsxRuntime.jsx(OverlayComponent.OverlayComponent, { disableOverlayLeft, disableOverlayRight, discount, inView, isBeta, OverlayLeft, OverlayRight, overlayMargin, totalPrice, unit: overlayUnit ?? "hours", children }) : null,
142
143
  description === false ? null : /* @__PURE__ */ jsxRuntime.jsx(DescriptionComponent, { description, locales }),
143
144
  alert ? /* @__PURE__ */ jsxRuntime.jsx(ui.Alert, { sentiment: alertVariant, title: alertTitle, children: alert }) : null,
@@ -1,2 +1,2 @@
1
1
  import type { EstimateCostProps } from './types';
2
- export declare const EstimateCostContent: ({ description, alert, alertTitle, alertVariant, defaultTimeUnit, timeUnits, hideOverlay, disableOverlayLeft, disableOverlayRight, hideTimeUnit, hideTotal, hideHourlyPriceOnTotal, discount, OverlayRight, OverlayLeft, isBeta, commitmentFees, commitmentFeesContent, monthlyFees, monthlyFeesLabel, monthlyFeesContent, overlayUnit, children, locales, overlayMargin, onTotalPriceChange, }: EstimateCostProps) => import("@emotion/react/jsx-runtime").JSX.Element;
2
+ export declare const EstimateCostContent: ({ description, alert, alertTitle, alertVariant, defaultTimeUnit, timeUnits, hideOverlay, disableOverlayLeft, disableOverlayRight, hideTimeUnit, hideTotal, hideHourlyPriceOnTotal, discount, OverlayRight, OverlayLeft, isBeta, commitmentFees, commitmentFeesContent, monthlyFees, monthlyFeesLabel, monthlyFeesContent, overlayUnit, children, locales, overlayMargin, onTotalPriceChange, style, }: EstimateCostProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -52,7 +52,8 @@ const EstimateCostContent = ({
52
52
  children = null,
53
53
  locales = EstimateCostLocales,
54
54
  overlayMargin,
55
- onTotalPriceChange
55
+ onTotalPriceChange,
56
+ style
56
57
  }) => {
57
58
  const {
58
59
  formatNumber
@@ -135,7 +136,7 @@ const EstimateCostContent = ({
135
136
  });
136
137
  }
137
138
  }, [hideTimeUnit, iteration, defaultTimeUnit]);
138
- return /* @__PURE__ */ jsxs(Stack, { gap: 2, children: [
139
+ return /* @__PURE__ */ jsxs(Stack, { gap: 2, style, children: [
139
140
  !hideOverlay ? /* @__PURE__ */ jsx(OverlayComponent, { disableOverlayLeft, disableOverlayRight, discount, inView, isBeta, OverlayLeft, OverlayRight, overlayMargin, totalPrice, unit: overlayUnit ?? "hours", children }) : null,
140
141
  description === false ? null : /* @__PURE__ */ jsx(DescriptionComponent, { description, locales }),
141
142
  alert ? /* @__PURE__ */ jsx(Alert, { sentiment: alertVariant, title: alertTitle, children: alert }) : null,
@@ -1,5 +1,5 @@
1
1
  import type { Alert } from '@ultraviolet/ui';
2
- import type { ComponentProps, JSX, ReactNode } from 'react';
2
+ import type { ComponentProps, CSSProperties, JSX, ReactNode } from 'react';
3
3
  import type EstimateCostLocales from './locales/en';
4
4
  export type EstimateCostProps = {
5
5
  /**
@@ -105,6 +105,7 @@ export type EstimateCostProps = {
105
105
  * To find out all currencies checkout https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes section "Code" of the table.
106
106
  */
107
107
  currency?: string;
108
+ style?: CSSProperties;
108
109
  /**
109
110
  * Defines the way we display numbers depending on locale (ex: 1,000.00 or 1 000,00).
110
111
  * To understand better please read https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#locales
@@ -28,10 +28,11 @@ const FAQ = ({
28
28
  illustrationText,
29
29
  title,
30
30
  description,
31
- notes
31
+ notes,
32
+ style
32
33
  }) => {
33
34
  const ProductIconUsed = productIconName ? ProductIcon__namespace[`${productIconName.charAt(0).toUpperCase() + productIconName.slice(1)}ProductIcon`] : null;
34
- return /* @__PURE__ */ jsxRuntime.jsx(ui.Card, { className: styles_css.faq, children: /* @__PURE__ */ jsxRuntime.jsxs(ui.Stack, { direction: "row", gap: 2, children: [
35
+ return /* @__PURE__ */ jsxRuntime.jsx(ui.Card, { className: styles_css.faq, style, children: /* @__PURE__ */ jsxRuntime.jsxs(ui.Stack, { direction: "row", gap: 2, children: [
35
36
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
36
37
  !productIconName && illustrationText ? /* @__PURE__ */ jsxRuntime.jsx(ui.Bullet, { sentiment: "primary", children: illustrationText.toString() }) : null,
37
38
  ProductIconUsed ? /* @__PURE__ */ jsxRuntime.jsx(ProductIconUsed, { size: "xlarge" }) : null
@@ -1,4 +1,5 @@
1
1
  import * as ProductIcon from '@ultraviolet/icons/product';
2
+ import type { CSSProperties } from 'react';
2
3
  import type { PascalToCamelCaseWithoutSuffix } from '../../types';
3
4
  type FAQProps = {
4
5
  description: string;
@@ -6,6 +7,7 @@ type FAQProps = {
6
7
  illustrationText?: number | string;
7
8
  notes?: string;
8
9
  title: string;
10
+ style?: CSSProperties;
9
11
  };
10
- export declare const FAQ: ({ productIconName, illustrationText, title, description, notes, }: FAQProps) => import("@emotion/react/jsx-runtime").JSX.Element;
12
+ export declare const FAQ: ({ productIconName, illustrationText, title, description, notes, style, }: FAQProps) => import("@emotion/react/jsx-runtime").JSX.Element;
11
13
  export {};
@@ -8,10 +8,11 @@ const FAQ = ({
8
8
  illustrationText,
9
9
  title,
10
10
  description,
11
- notes
11
+ notes,
12
+ style
12
13
  }) => {
13
14
  const ProductIconUsed = productIconName ? ProductIcon[`${productIconName.charAt(0).toUpperCase() + productIconName.slice(1)}ProductIcon`] : null;
14
- return /* @__PURE__ */ jsx(Card, { className: faq, children: /* @__PURE__ */ jsxs(Stack, { direction: "row", gap: 2, children: [
15
+ return /* @__PURE__ */ jsx(Card, { className: faq, style, children: /* @__PURE__ */ jsxs(Stack, { direction: "row", gap: 2, children: [
15
16
  /* @__PURE__ */ jsxs("div", { children: [
16
17
  !productIconName && illustrationText ? /* @__PURE__ */ jsx(Bullet, { sentiment: "primary", children: illustrationText.toString() }) : null,
17
18
  ProductIconUsed ? /* @__PURE__ */ jsx(ProductIconUsed, { size: "xlarge" }) : null
@@ -10,10 +10,11 @@ const InfoTable = ({
10
10
  children,
11
11
  width,
12
12
  className,
13
+ style,
13
14
  "data-testid": dataTestId
14
15
  }) => /* @__PURE__ */ jsxRuntime.jsx(context.InfoTableContext.Provider, { value: {
15
16
  width
16
- }, children: /* @__PURE__ */ jsxRuntime.jsx("dl", { className: `${className ? `${className} ` : ""}${styles_css.dl}`, "data-testid": dataTestId, children }) });
17
+ }, children: /* @__PURE__ */ jsxRuntime.jsx("dl", { className: `${className ? `${className} ` : ""}${styles_css.dl}`, "data-testid": dataTestId, style, children }) });
17
18
  InfoTable.Row = Row.InfoTableRow;
18
19
  InfoTable.Cell = Cell.InfoTableCell;
19
20
  exports.InfoTable = InfoTable;
@@ -1,24 +1,27 @@
1
- import type { ReactNode } from 'react';
1
+ import type { CSSProperties, ReactNode } from 'react';
2
2
  type InfoTableProps = {
3
3
  children: ReactNode;
4
4
  width?: string;
5
5
  className?: string;
6
6
  'data-testid'?: string;
7
+ style?: CSSProperties;
7
8
  };
8
9
  /**
9
10
  * Use this component to display offers.
10
11
  * Create rows with `InfoTable.Row` and place cells within each row using `InfoTable.Cell`.
11
12
  */
12
13
  export declare const InfoTable: {
13
- ({ children, width, className, "data-testid": dataTestId, }: InfoTableProps): import("@emotion/react/jsx-runtime").JSX.Element;
14
- Row: ({ children, templateColumns }: {
14
+ ({ children, width, className, style, "data-testid": dataTestId, }: InfoTableProps): import("@emotion/react/jsx-runtime").JSX.Element;
15
+ Row: ({ children, templateColumns, style, }: {
15
16
  children: ReactNode;
16
17
  templateColumns: string;
18
+ style?: CSSProperties;
17
19
  }) => import("@emotion/react/jsx-runtime").JSX.Element;
18
- Cell: ({ children, title, multiline, }: {
20
+ Cell: ({ children, title, multiline, style, }: {
19
21
  children: ReactNode;
20
22
  title: ReactNode;
21
23
  multiline?: boolean;
24
+ style?: CSSProperties;
22
25
  }) => import("@emotion/react/jsx-runtime").JSX.Element;
23
26
  };
24
27
  export {};
@@ -8,10 +8,11 @@ const InfoTable = ({
8
8
  children,
9
9
  width,
10
10
  className,
11
+ style,
11
12
  "data-testid": dataTestId
12
13
  }) => /* @__PURE__ */ jsx(InfoTableContext.Provider, { value: {
13
14
  width
14
- }, children: /* @__PURE__ */ jsx("dl", { className: `${className ? `${className} ` : ""}${dl}`, "data-testid": dataTestId, children }) });
15
+ }, children: /* @__PURE__ */ jsx("dl", { className: `${className ? `${className} ` : ""}${dl}`, "data-testid": dataTestId, style, children }) });
15
16
  InfoTable.Row = InfoTableRow;
16
17
  InfoTable.Cell = InfoTableCell;
17
18
  export {
@@ -7,8 +7,9 @@ const styles_css = require("../styles.css.cjs");
7
7
  const InfoTableCell = ({
8
8
  children,
9
9
  title,
10
- multiline = false
11
- }) => /* @__PURE__ */ jsxRuntime.jsxs(ui.Stack, { gap: "0.5", minWidth: "0", width: "100%", children: [
10
+ multiline = false,
11
+ style
12
+ }) => /* @__PURE__ */ jsxRuntime.jsxs(ui.Stack, { gap: "0.5", minWidth: "0", style, width: "100%", children: [
12
13
  /* @__PURE__ */ jsxRuntime.jsx("dt", { className: styles_css.term, children: /* @__PURE__ */ jsxRuntime.jsx(ui.Text, { as: "div", prominence: "weak", sentiment: "neutral", variant: "bodySmallStrong", children: title }) }),
13
14
  /* @__PURE__ */ jsxRuntime.jsx("dd", { className: styles_css.desc, children: /* @__PURE__ */ jsxRuntime.jsx(ui.Text, { as: "div", className: styles_css.cellText, oneLine: !multiline, prominence: "default", sentiment: "neutral", variant: "body", children }) })
14
15
  ] });
@@ -1,8 +1,9 @@
1
- import type { ReactNode } from 'react';
1
+ import type { CSSProperties, ReactNode } from 'react';
2
2
  type CellProps = {
3
3
  children: ReactNode;
4
4
  title: ReactNode;
5
5
  multiline?: boolean;
6
+ style?: CSSProperties;
6
7
  };
7
- export declare const InfoTableCell: ({ children, title, multiline, }: CellProps) => import("@emotion/react/jsx-runtime").JSX.Element;
8
+ export declare const InfoTableCell: ({ children, title, multiline, style, }: CellProps) => import("@emotion/react/jsx-runtime").JSX.Element;
8
9
  export {};
@@ -5,8 +5,9 @@ import { term, desc, cellText } from "../styles.css.js";
5
5
  const InfoTableCell = ({
6
6
  children,
7
7
  title,
8
- multiline = false
9
- }) => /* @__PURE__ */ jsxs(Stack, { gap: "0.5", minWidth: "0", width: "100%", children: [
8
+ multiline = false,
9
+ style
10
+ }) => /* @__PURE__ */ jsxs(Stack, { gap: "0.5", minWidth: "0", style, width: "100%", children: [
10
11
  /* @__PURE__ */ jsx("dt", { className: term, children: /* @__PURE__ */ jsx(Text, { as: "div", prominence: "weak", sentiment: "neutral", variant: "bodySmallStrong", children: title }) }),
11
12
  /* @__PURE__ */ jsx("dd", { className: desc, children: /* @__PURE__ */ jsx(Text, { as: "div", className: cellText, oneLine: !multiline, prominence: "default", sentiment: "neutral", variant: "body", children }) })
12
13
  ] });
@@ -9,13 +9,17 @@ const context = require("../context.cjs");
9
9
  const styles_css = require("../styles.css.cjs");
10
10
  const InfoTableRow = ({
11
11
  children,
12
- templateColumns
12
+ templateColumns,
13
+ style
13
14
  }) => {
14
15
  const {
15
16
  width
16
17
  } = react.useContext(context.InfoTableContext);
17
- return /* @__PURE__ */ jsxRuntime.jsx(ui.Row, { className: styles_css.infoTableRow, style: dynamic.assignInlineVars({
18
- [styles_css.rowWidth]: width ?? "100%"
19
- }), templateColumns, children });
18
+ return /* @__PURE__ */ jsxRuntime.jsx(ui.Row, { className: styles_css.infoTableRow, style: {
19
+ ...dynamic.assignInlineVars({
20
+ [styles_css.rowWidth]: width ?? "100%"
21
+ }),
22
+ ...style
23
+ }, templateColumns, children });
20
24
  };
21
25
  exports.InfoTableRow = InfoTableRow;
@@ -1,7 +1,8 @@
1
- import type { ReactNode } from 'react';
1
+ import type { CSSProperties, ReactNode } from 'react';
2
2
  type RowProps = {
3
3
  children: ReactNode;
4
4
  templateColumns: string;
5
+ style?: CSSProperties;
5
6
  };
6
- export declare const InfoTableRow: ({ children, templateColumns }: RowProps) => import("@emotion/react/jsx-runtime").JSX.Element;
7
+ export declare const InfoTableRow: ({ children, templateColumns, style, }: RowProps) => import("@emotion/react/jsx-runtime").JSX.Element;
7
8
  export {};
@@ -7,14 +7,18 @@ import { InfoTableContext } from "../context.js";
7
7
  import { infoTableRow, rowWidth } from "../styles.css.js";
8
8
  const InfoTableRow = ({
9
9
  children,
10
- templateColumns
10
+ templateColumns,
11
+ style
11
12
  }) => {
12
13
  const {
13
14
  width
14
15
  } = useContext(InfoTableContext);
15
- return /* @__PURE__ */ jsx(Row, { className: infoTableRow, style: assignInlineVars({
16
- [rowWidth]: width ?? "100%"
17
- }), templateColumns, children });
16
+ return /* @__PURE__ */ jsx(Row, { className: infoTableRow, style: {
17
+ ...assignInlineVars({
18
+ [rowWidth]: width ?? "100%"
19
+ }),
20
+ ...style
21
+ }, templateColumns, children });
18
22
  };
19
23
  export {
20
24
  InfoTableRow
@@ -6,11 +6,12 @@ import type { NavigationProps } from './types';
6
6
  */
7
7
  export declare const Navigation: {
8
8
  ({ children, ...props }: NavigationProps): import("@emotion/react/jsx-runtime").JSX.Element;
9
- Group: ({ children, label }: {
9
+ Group: ({ children, label, style }: {
10
10
  children: import("react").ReactNode;
11
11
  label: string;
12
+ style?: import("react").CSSProperties;
12
13
  }) => import("@emotion/react/jsx-runtime").JSX.Element | null;
13
- 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, }: {
14
+ 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, }: {
14
15
  children?: import("react").ReactNode;
15
16
  categoryIcon?: import("react").ReactNode;
16
17
  label: string;
@@ -33,12 +34,14 @@ export declare const Navigation: {
33
34
  noExpand?: boolean;
34
35
  disabled?: boolean;
35
36
  'data-testid'?: string;
37
+ style?: import("react").CSSProperties;
36
38
  }) => import("@emotion/react/jsx-runtime").JSX.Element | null>;
37
- PinnedItems: ({ toggle, onReorder, onToggle, itemWrapper, }: {
39
+ PinnedItems: ({ toggle, onReorder, onToggle, itemWrapper, style, }: {
38
40
  toggle?: boolean;
39
41
  onToggle?: (toggle: boolean) => void;
40
42
  onReorder?: (pinnedItems: string[]) => void;
41
43
  itemWrapper?: (item: import("react").ReactElement, itemId: string) => import("react").ReactElement;
44
+ style?: import("react").CSSProperties;
42
45
  }) => import("@emotion/react/jsx-runtime").JSX.Element | null;
43
46
  Separator: () => import("@emotion/react/jsx-runtime").JSX.Element;
44
47
  };
@@ -8,7 +8,8 @@ const NavigationProvider = require("../NavigationProvider.cjs");
8
8
  const styles_css = require("./styles.css.cjs");
9
9
  const Group = ({
10
10
  children,
11
- label
11
+ label,
12
+ style
12
13
  }) => {
13
14
  const context = NavigationProvider.useNavigation();
14
15
  if (!context) {
@@ -22,7 +23,8 @@ const Group = ({
22
23
  const isDiplay = !animation && expanded;
23
24
  if (react.Children.count(children) > 0) {
24
25
  return /* @__PURE__ */ jsxRuntime.jsx("div", { style: {
25
- width: animation ? "100%" : void 0
26
+ width: animation ? "100%" : void 0,
27
+ ...style
26
28
  }, children: /* @__PURE__ */ jsxRuntime.jsxs(ui.Stack, { className: styles_css.navigationGroupStack, direction: "column", children: [
27
29
  isDiplay ? /* @__PURE__ */ jsxRuntime.jsx(ui.Text, { as: "span", className: styles_css.navigationGroupText({
28
30
  animation: animationType === "complex" ? animation : false
@@ -1,7 +1,8 @@
1
- import type { ReactNode } from 'react';
1
+ import type { CSSProperties, ReactNode } from 'react';
2
2
  type GroupProps = {
3
3
  children: ReactNode;
4
4
  label: string;
5
+ style?: CSSProperties;
5
6
  };
6
- export declare const Group: ({ children, label }: GroupProps) => import("@emotion/react/jsx-runtime").JSX.Element | null;
7
+ export declare const Group: ({ children, label, style }: GroupProps) => import("@emotion/react/jsx-runtime").JSX.Element | null;
7
8
  export {};
@@ -6,7 +6,8 @@ import { useNavigation } from "../NavigationProvider.js";
6
6
  import { navigationGroupStack, navigationGroupText } from "./styles.css.js";
7
7
  const Group = ({
8
8
  children,
9
- label
9
+ label,
10
+ style
10
11
  }) => {
11
12
  const context = useNavigation();
12
13
  if (!context) {
@@ -20,7 +21,8 @@ const Group = ({
20
21
  const isDiplay = !animation && expanded;
21
22
  if (Children.count(children) > 0) {
22
23
  return /* @__PURE__ */ jsx("div", { style: {
23
- width: animation ? "100%" : void 0
24
+ width: animation ? "100%" : void 0,
25
+ ...style
24
26
  }, children: /* @__PURE__ */ jsxs(Stack, { className: navigationGroupStack, direction: "column", children: [
25
27
  isDiplay ? /* @__PURE__ */ jsx(Text, { as: "span", className: navigationGroupText({
26
28
  animation: animationType === "complex" ? animation : false
@@ -34,7 +34,8 @@ const Item = react.memo(({
34
34
  noExpand = false,
35
35
  index,
36
36
  id,
37
- "data-testid": dataTestId
37
+ "data-testid": dataTestId,
38
+ style
38
39
  }) => {
39
40
  const context = NavigationProvider.useNavigation();
40
41
  if (!context) {
@@ -156,7 +157,7 @@ const Item = react.memo(({
156
157
  isActive: !!active,
157
158
  noExpand,
158
159
  subLabel: !!subLabel
159
- })} ${shouldAnimate && animationType === "complex" ? items_css.navigationItemContainerAnimated[animation === "collapse" ? "collapse" : "expand"] : ""} ${showDraggableIcon ? items_css.navigationItemShowDraggable : ""} ${showPinIcon ? items_css.navigationItemShowPinButton : ""} ${shouldHaveWeakText ? items_css.navigationItemWeakText : ""}`, "data-testid": dataTestId, direction: "row", disabled: containerTag === "button" ? disabled : void 0, draggable: type === "pinned" && expanded, gap: 1, href, id, justifyContent: "space-between", onClick: triggerToggle, onDragEnd, onDragStart, rel, target, children: [
160
+ })} ${shouldAnimate && animationType === "complex" ? items_css.navigationItemContainerAnimated[animation === "collapse" ? "collapse" : "expand"] : ""} ${showDraggableIcon ? items_css.navigationItemShowDraggable : ""} ${showPinIcon ? items_css.navigationItemShowPinButton : ""} ${shouldHaveWeakText ? items_css.navigationItemWeakText : ""}`, "data-testid": dataTestId, direction: "row", disabled: containerTag === "button" ? disabled : void 0, draggable: type === "pinned" && expanded, gap: 1, href, id, justifyContent: "space-between", onClick: triggerToggle, onDragEnd, onDragStart, rel, style, target, children: [
160
161
  /* @__PURE__ */ jsxRuntime.jsxs(ui.Stack, { alignItems: categoryIcon ? "flex-start" : "center", direction: "row", gap: 1, justifyContent: "center", children: [
161
162
  categoryIcon ? /* @__PURE__ */ jsxRuntime.jsx(ui.Stack, { alignItems: "center", className: items_css.navigationItemCategoryIcon, justifyContent: "center", children: categoryIcon }) : null,
162
163
  type === "pinned" && expanded ? /* @__PURE__ */ jsxRuntime.jsx(icons.DragIcon, { className: items_css.navigationItemDragIcon, disabled, prominence: "weak", sentiment: "neutral", size: "small" }) : null,
@@ -208,7 +209,7 @@ const Item = react.memo(({
208
209
  ] });
209
210
  }
210
211
  if (categoryIcon || react.Children.count(children) > 0 && !hasParents) {
211
- return /* @__PURE__ */ jsxRuntime.jsx(ui.Stack, { alignItems: "start", className: items_css.navigationItemMenuStack, gap: 1, justifyContent: "start", children: react.Children.count(children) > 0 ? /* @__PURE__ */ jsxRuntime.jsx(
212
+ return /* @__PURE__ */ jsxRuntime.jsx(ui.Stack, { alignItems: "start", className: items_css.navigationItemMenuStack, gap: 1, justifyContent: "start", style, children: react.Children.count(children) > 0 ? /* @__PURE__ */ jsxRuntime.jsx(
212
213
  ui.Menu,
213
214
  {
214
215
  className: items_css.navigationItemMenuContainer,
@@ -232,6 +233,7 @@ const Item = react.memo(({
232
233
  onClick: () => onToggle?.(!!active),
233
234
  rel,
234
235
  sentiment: active ? "primary" : "neutral",
236
+ style,
235
237
  target,
236
238
  children: /* @__PURE__ */ jsxRuntime.jsxs(ui.Stack, { alignItems: "center", direction: "row", flex: 1, gap: 1, justifyContent: "space-between", width: "100%", children: [
237
239
  !animation ? /* @__PURE__ */ jsxRuntime.jsx(ui.Text, { as: "span", className: items_css.navigationItemWrapText({
@@ -1,5 +1,5 @@
1
1
  import { Badge } from '@ultraviolet/ui';
2
- import type { ComponentProps, ElementType, ReactNode } from 'react';
2
+ import type { ComponentProps, CSSProperties, ElementType, ReactNode } from 'react';
3
3
  import type { PinUnPinType } from '../types';
4
4
  type ItemType = 'default' | 'pinned' | 'pinnedGroup';
5
5
  type ItemProps = {
@@ -78,6 +78,7 @@ type ItemProps = {
78
78
  noExpand?: boolean;
79
79
  disabled?: boolean;
80
80
  'data-testid'?: string;
81
+ style?: CSSProperties;
81
82
  };
82
- 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, }: 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("@emotion/react/jsx-runtime").JSX.Element | null>;
83
84
  export {};