@ultraviolet/plus 0.17.9 → 0.17.11

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.
@@ -5,12 +5,12 @@ type BaseContentCardGroupProps = {
5
5
  };
6
6
  export declare const ContentCardGroup: import("react").ForwardRefExoticComponent<BaseContentCardGroupProps & import("react").RefAttributes<HTMLDivElement>> & {
7
7
  Card: import("react").ForwardRefExoticComponent<{
8
- title?: string | undefined;
9
- subtitle?: string | undefined;
10
- description?: string | undefined;
8
+ title?: string;
9
+ subtitle?: string;
10
+ description?: string;
11
11
  children?: ReactNode;
12
12
  href: string;
13
- target?: import("react").HTMLAttributeAnchorTarget | undefined;
13
+ target?: import("react").AnchorHTMLAttributes<HTMLAnchorElement>["target"];
14
14
  } & import("react").RefAttributes<HTMLAnchorElement>>;
15
15
  };
16
16
  export {};
@@ -9,7 +9,7 @@ declare const Conversation: {
9
9
  Message: ({ className, children, avatar, align, }: MessageProps) => import("@emotion/react/jsx-runtime").JSX.Element;
10
10
  MessageInfos: ({ children, align, }: {
11
11
  children: ReactNode;
12
- align: 'left' | 'right';
12
+ align: "left" | "right";
13
13
  }) => import("@emotion/react/jsx-runtime").JSX.Element;
14
14
  Tag: ({ children }: {
15
15
  children: ReactNode;
@@ -17,7 +17,7 @@ declare const Conversation: {
17
17
  };
18
18
  export declare const MessageInfos: ({ children, align, }: {
19
19
  children: ReactNode;
20
- align: 'left' | 'right';
20
+ align: "left" | "right";
21
21
  }) => import("@emotion/react/jsx-runtime").JSX.Element;
22
22
  export declare const Date: ({ children }: {
23
23
  children: ReactNode;
@@ -1,9 +1,8 @@
1
- /// <reference types="react" />
2
1
  type LineThroughProps = {
3
2
  isActive?: boolean;
4
3
  };
5
4
  export declare const LineThrough: import("@emotion/styled").StyledComponent<{
6
- theme?: import("@emotion/react").Theme | undefined;
7
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
+ theme?: import("@emotion/react").Theme;
6
+ as?: import("react").ElementType;
8
7
  } & LineThroughProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
9
8
  export {};
@@ -5,12 +5,12 @@ type StrongProps = {
5
5
  isDisabledOnOverlay?: boolean;
6
6
  };
7
7
  export declare const StyledStrong: import("@emotion/styled").StyledComponent<{
8
- variant?: "big" | "small" | "normal" | "capitalized" | undefined;
9
- isDisabledOnOverlay?: boolean | undefined;
8
+ variant?: "normal" | "small" | "big" | "capitalized";
9
+ isDisabledOnOverlay?: boolean;
10
10
  children?: ReactNode;
11
- className?: string | undefined;
11
+ className?: string;
12
12
  } & {
13
- theme?: import("@emotion/react").Theme | undefined;
13
+ theme?: import("@emotion/react").Theme;
14
14
  } & StrongProps, {}, {}>;
15
15
  export declare const Strong: ({ variant, children, isDisabledOnOverlay, }: StrongProps) => import("@emotion/react/jsx-runtime").JSX.Element;
16
16
  export {};
@@ -1,155 +1,156 @@
1
+ import { Text } from '@ultraviolet/ui';
1
2
  import type { ReactNode } from 'react';
2
3
  import type { EstimateCostProps } from './types';
3
4
  declare const EstimateCost: {
4
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
6
  LineThrough: import("@emotion/styled").StyledComponent<{
6
- theme?: import("@emotion/react").Theme | undefined;
7
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
7
+ theme?: import("@emotion/react").Theme;
8
+ as?: import("react").ElementType;
8
9
  } & {
9
- isActive?: boolean | undefined;
10
+ isActive?: boolean;
10
11
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
11
12
  Item: ({ 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, }: {
12
- amount?: number | undefined;
13
- amountFree?: number | undefined;
14
- animated?: boolean | undefined;
13
+ amount?: number;
14
+ amountFree?: number;
15
+ animated?: boolean;
15
16
  children?: ReactNode;
16
- discount?: number | undefined;
17
- discountText?: string | undefined;
18
- hideFromOverlay?: boolean | undefined;
19
- isDefined?: boolean | undefined;
20
- isFirstElement?: boolean | undefined;
21
- isLastElement?: boolean | undefined;
22
- isPrimaryBackground?: boolean | undefined;
23
- iteration?: import("./types").Iteration | undefined;
17
+ discount?: number;
18
+ discountText?: string;
19
+ hideFromOverlay?: boolean;
20
+ isDefined?: boolean;
21
+ isFirstElement?: boolean;
22
+ isLastElement?: boolean;
23
+ isPrimaryBackground?: boolean;
24
+ iteration?: import("./types").Iteration;
24
25
  label?: ReactNode;
25
- labelTextVariant?: "body" | "caption" | "code" | "heading" | "bodySmall" | "bodySmallStrong" | "bodySmallStronger" | "bodyStrong" | "bodyStronger" | "captionSmall" | "captionSmallStrong" | "captionSmallStronger" | "captionStrong" | "captionStronger" | "codeStrong" | "codeStronger" | "headingLarge" | "headingLargeStrong" | "headingLargeStronger" | "headingSmall" | "headingSmallStrong" | "headingSmallStronger" | "headingStrong" | "headingStronger" | undefined;
26
- labelTextProminence?: "strong" | "weak" | "default" | "stronger" | undefined;
27
- longFractionDigits?: boolean | undefined;
28
- maxAmount?: number | undefined;
29
- monthlyPrice?: number | undefined;
30
- noBorder?: boolean | undefined;
31
- noIteration?: boolean | undefined;
32
- noIterationText?: string | undefined;
33
- noPrice?: boolean | undefined;
34
- notice?: string | undefined;
35
- onAmountChange?: ((amount: number) => void) | undefined;
36
- price?: number | undefined;
26
+ labelTextVariant?: import("react").ComponentProps<typeof Text>["variant"];
27
+ labelTextProminence?: import("react").ComponentProps<typeof Text>["prominence"];
28
+ longFractionDigits?: boolean;
29
+ maxAmount?: number;
30
+ monthlyPrice?: number;
31
+ noBorder?: boolean;
32
+ noIteration?: boolean;
33
+ noIterationText?: string;
34
+ noPrice?: boolean;
35
+ notice?: string;
36
+ onAmountChange?: (amount: number) => void;
37
+ price?: number;
37
38
  priceText?: ReactNode;
38
39
  productsCallback?: {
39
40
  add: (product: import("./types").EstimateProduct) => void;
40
41
  remove: (product: import("./types").BareEstimateProduct) => void;
41
- } | undefined;
42
- shouldBeHidden?: boolean | undefined;
43
- subLabel?: string | undefined;
44
- tabulation?: number | undefined;
45
- textNotDefined?: string | undefined;
46
- tooltipInfo?: string | undefined;
47
- unit?: (string & {}) | "seconds" | "minutes" | "hours" | "days" | "months" | "mb" | "gb" | "tb" | "years" | undefined;
42
+ };
43
+ shouldBeHidden?: boolean;
44
+ subLabel?: string;
45
+ tabulation?: number;
46
+ textNotDefined?: string;
47
+ tooltipInfo?: string;
48
+ unit?: "mb" | "gb" | "tb" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | (string & {});
48
49
  }) => import("@emotion/react/jsx-runtime").JSX.Element;
49
50
  NumberInput: ({ amount, minValue, maxValue, getAmountValue, itemCallback, controls, }: {
50
- amount?: number | undefined;
51
- itemCallback?: ((amount?: number | null | undefined, isVariant?: boolean | undefined) => void) | undefined;
52
- getAmountValue?: ((amount?: number | null | undefined) => void) | undefined;
53
- minValue?: number | undefined;
54
- maxValue?: number | undefined;
55
- controls?: boolean | undefined;
51
+ amount?: number;
52
+ itemCallback?: (amount?: number | null, isVariant?: boolean) => void;
53
+ getAmountValue?: (amount?: number | null) => void;
54
+ minValue?: number;
55
+ maxValue?: number;
56
+ controls?: boolean;
56
57
  }) => import("@emotion/react/jsx-runtime").JSX.Element;
57
58
  Unit: ({ amount, itemCallback, getAmountValue, unit, }: {
58
- amount?: number | undefined;
59
- itemCallback?: ((amount?: number | undefined, isVariant?: boolean | undefined) => void) | undefined;
60
- getAmountValue?: ((amount?: number | undefined) => void) | undefined;
61
- unit?: string | undefined;
59
+ amount?: number;
60
+ itemCallback?: (amount?: number, isVariant?: boolean) => void;
61
+ getAmountValue?: (amount?: number) => void;
62
+ unit?: string;
62
63
  }) => import("@emotion/react/jsx-runtime").JSX.Element;
63
64
  Strong: ({ variant, children, isDisabledOnOverlay, }: {
64
- variant?: "big" | "small" | "normal" | "capitalized" | undefined;
65
+ variant?: "normal" | "small" | "big" | "capitalized";
65
66
  children?: ReactNode;
66
- isDisabledOnOverlay?: boolean | undefined;
67
+ isDisabledOnOverlay?: boolean;
67
68
  }) => import("@emotion/react/jsx-runtime").JSX.Element;
68
69
  Regular: ({ variant, isDisabledOnOverlay, children, className, }: {
69
- variant?: "big" | "small" | "normal" | "capitalized" | undefined;
70
- isDisabledOnOverlay?: boolean | undefined;
70
+ variant?: "normal" | "small" | "big" | "capitalized";
71
+ isDisabledOnOverlay?: boolean;
71
72
  children?: ReactNode;
72
- className?: string | undefined;
73
+ className?: string;
73
74
  }) => import("@emotion/react/jsx-runtime").JSX.Element | null;
74
75
  Image: import("@emotion/styled").StyledComponent<{
75
- theme?: import("@emotion/react").Theme | undefined;
76
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
76
+ theme?: import("@emotion/react").Theme;
77
+ as?: React.ElementType;
77
78
  }, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
78
79
  Region: ({ label, image, shouldBeHidden, priceText, animated, isFirstElement, isLastElement, productsCallback, iteration, discount, noBorder, noPrice, hideFromOverlay, }: {
79
- shouldBeHidden?: boolean | undefined;
80
+ shouldBeHidden?: boolean;
80
81
  priceText?: ReactNode;
81
- animated?: boolean | undefined;
82
- isFirstElement?: boolean | undefined;
83
- isLastElement?: boolean | undefined;
82
+ animated?: boolean;
83
+ isFirstElement?: boolean;
84
+ isLastElement?: boolean;
84
85
  productsCallback?: {
85
86
  add: (product: import("./types").EstimateProduct) => void;
86
87
  remove: (product: import("./types").BareEstimateProduct) => void;
87
- } | undefined;
88
- iteration?: import("./types").Iteration | undefined;
89
- discount?: number | undefined;
88
+ };
89
+ iteration?: import("./types").Iteration;
90
+ discount?: number;
90
91
  label: string;
91
92
  image: string;
92
- noBorder?: boolean | undefined;
93
- noPrice?: boolean | undefined;
93
+ noBorder?: boolean;
94
+ noPrice?: boolean;
94
95
  } & Pick<{
95
- amount?: number | undefined;
96
- amountFree?: number | undefined;
97
- animated?: boolean | undefined;
96
+ amount?: number;
97
+ amountFree?: number;
98
+ animated?: boolean;
98
99
  children?: ReactNode;
99
- discount?: number | undefined;
100
- discountText?: string | undefined;
101
- hideFromOverlay?: boolean | undefined;
102
- isDefined?: boolean | undefined;
103
- isFirstElement?: boolean | undefined;
104
- isLastElement?: boolean | undefined;
105
- isPrimaryBackground?: boolean | undefined;
106
- iteration?: import("./types").Iteration | undefined;
100
+ discount?: number;
101
+ discountText?: string;
102
+ hideFromOverlay?: boolean;
103
+ isDefined?: boolean;
104
+ isFirstElement?: boolean;
105
+ isLastElement?: boolean;
106
+ isPrimaryBackground?: boolean;
107
+ iteration?: import("./types").Iteration;
107
108
  label?: ReactNode;
108
- labelTextVariant?: "body" | "caption" | "code" | "heading" | "bodySmall" | "bodySmallStrong" | "bodySmallStronger" | "bodyStrong" | "bodyStronger" | "captionSmall" | "captionSmallStrong" | "captionSmallStronger" | "captionStrong" | "captionStronger" | "codeStrong" | "codeStronger" | "headingLarge" | "headingLargeStrong" | "headingLargeStronger" | "headingSmall" | "headingSmallStrong" | "headingSmallStronger" | "headingStrong" | "headingStronger" | undefined;
109
- labelTextProminence?: "strong" | "weak" | "default" | "stronger" | undefined;
110
- longFractionDigits?: boolean | undefined;
111
- maxAmount?: number | undefined;
112
- monthlyPrice?: number | undefined;
113
- noBorder?: boolean | undefined;
114
- noIteration?: boolean | undefined;
115
- noIterationText?: string | undefined;
116
- noPrice?: boolean | undefined;
117
- notice?: string | undefined;
118
- onAmountChange?: ((amount: number) => void) | undefined;
119
- price?: number | undefined;
109
+ labelTextVariant?: import("react").ComponentProps<typeof Text>["variant"];
110
+ labelTextProminence?: import("react").ComponentProps<typeof Text>["prominence"];
111
+ longFractionDigits?: boolean;
112
+ maxAmount?: number;
113
+ monthlyPrice?: number;
114
+ noBorder?: boolean;
115
+ noIteration?: boolean;
116
+ noIterationText?: string;
117
+ noPrice?: boolean;
118
+ notice?: string;
119
+ onAmountChange?: (amount: number) => void;
120
+ price?: number;
120
121
  priceText?: ReactNode;
121
122
  productsCallback?: {
122
123
  add: (product: import("./types").EstimateProduct) => void;
123
124
  remove: (product: import("./types").BareEstimateProduct) => void;
124
- } | undefined;
125
- shouldBeHidden?: boolean | undefined;
126
- subLabel?: string | undefined;
127
- tabulation?: number | undefined;
128
- textNotDefined?: string | undefined;
129
- tooltipInfo?: string | undefined;
130
- unit?: (string & {}) | "seconds" | "minutes" | "hours" | "days" | "months" | "mb" | "gb" | "tb" | "years" | undefined;
125
+ };
126
+ shouldBeHidden?: boolean;
127
+ subLabel?: string;
128
+ tabulation?: number;
129
+ textNotDefined?: string;
130
+ tooltipInfo?: string;
131
+ unit?: "mb" | "gb" | "tb" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | (string & {});
131
132
  }, "hideFromOverlay">) => import("@emotion/react/jsx-runtime").JSX.Element;
132
133
  Zone: ({ label, image, shouldBeHidden, priceText, animated, isFirstElement, isLastElement, productsCallback, iteration, discount, noBorder, noPrice, }: {
133
- shouldBeHidden?: boolean | undefined;
134
- priceText?: string | undefined;
135
- animated?: boolean | undefined;
136
- isFirstElement?: boolean | undefined;
137
- isLastElement?: boolean | undefined;
134
+ shouldBeHidden?: boolean;
135
+ priceText?: string;
136
+ animated?: boolean;
137
+ isFirstElement?: boolean;
138
+ isLastElement?: boolean;
138
139
  productsCallback?: {
139
140
  add: (product: import("./types").EstimateProduct) => void;
140
141
  remove: (product: import("./types").BareEstimateProduct) => void;
141
- } | undefined;
142
- iteration?: import("./types").Iteration | undefined;
143
- discount?: number | undefined;
142
+ };
143
+ iteration?: import("./types").Iteration;
144
+ discount?: number;
144
145
  label: string;
145
146
  image: string;
146
- noBorder?: boolean | undefined;
147
- noPrice?: boolean | undefined;
147
+ noBorder?: boolean;
148
+ noPrice?: boolean;
148
149
  }) => import("@emotion/react/jsx-runtime").JSX.Element;
149
150
  Ellipsis: ({ children, maxWidth, "data-testid": dataTestId, }: {
150
151
  children: ReactNode;
151
152
  maxWidth?: number;
152
- 'data-testid'?: string;
153
+ "data-testid"?: string;
153
154
  }) => import("@emotion/react/jsx-runtime").JSX.Element;
154
155
  };
155
156
  export { EstimateCost };
@@ -1,107 +1,106 @@
1
- /// <reference types="react" />
2
1
  import type { Theme } from '@emotion/react';
3
2
  export declare const StyledDiv: import("@emotion/styled").StyledComponent<{
4
- theme?: Theme | undefined;
5
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
3
+ theme?: Theme;
4
+ as?: React.ElementType;
6
5
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
6
  export declare const StyledTable: import("@emotion/styled").StyledComponent<{
8
- theme?: Theme | undefined;
9
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
7
+ theme?: Theme;
8
+ as?: import("react").ElementType;
10
9
  } & {
11
10
  noTotal: boolean;
12
11
  }, import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {}>;
13
12
  export declare const StyledFeesTable: import("@emotion/styled").StyledComponent<{
14
- theme?: Theme | undefined;
15
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
13
+ theme?: Theme;
14
+ as?: import("react").ElementType;
16
15
  }, import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {}>;
17
16
  export declare const PriceCol: import("@emotion/styled").StyledComponent<{
18
- theme?: Theme | undefined;
19
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
17
+ theme?: Theme;
18
+ as?: React.ElementType;
20
19
  }, import("react").DetailedHTMLProps<import("react").ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>, {}>;
21
20
  export declare const PriceCell: (theme: Theme) => import("@emotion/react").SerializedStyles;
22
21
  export declare const Cell: import("@emotion/styled").StyledComponent<{
23
- theme?: Theme | undefined;
24
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
22
+ theme?: Theme;
23
+ as?: import("react").ElementType;
25
24
  } & {
26
- hasBorder?: boolean | undefined;
27
- tabulation?: number | undefined;
28
- primary?: boolean | undefined;
25
+ hasBorder?: boolean;
26
+ tabulation?: number;
27
+ primary?: boolean;
29
28
  }, import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, {}>;
30
29
  export declare const TotalPriceCell: import("@emotion/styled").StyledComponent<{
31
- theme?: Theme | undefined;
32
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
30
+ theme?: Theme;
31
+ as?: import("react").ElementType;
33
32
  } & {
34
- hasBorder?: boolean | undefined;
35
- tabulation?: number | undefined;
36
- primary?: boolean | undefined;
33
+ hasBorder?: boolean;
34
+ tabulation?: number;
35
+ primary?: boolean;
37
36
  } & import("react").ClassAttributes<HTMLTableDataCellElement> & import("react").TdHTMLAttributes<HTMLTableDataCellElement> & {
38
- theme?: Theme | undefined;
37
+ theme?: Theme;
39
38
  }, {}, {}>;
40
39
  export declare const EmptyTable: import("@emotion/styled").StyledComponent<{
41
- theme?: Theme | undefined;
42
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
40
+ theme?: Theme;
41
+ as?: React.ElementType;
43
42
  }, import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {}>;
44
43
  export declare const Title: import("@emotion/styled").StyledComponent<{
45
- theme?: Theme | undefined;
46
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
44
+ theme?: Theme;
45
+ as?: React.ElementType;
47
46
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
48
47
  export declare const EmptyCell: import("@emotion/styled").StyledComponent<{
49
- theme?: Theme | undefined;
50
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
48
+ theme?: Theme;
49
+ as?: React.ElementType;
51
50
  }, import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, {}>;
52
51
  export declare const TimeCell: import("@emotion/styled").StyledComponent<{
53
- theme?: Theme | undefined;
54
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
52
+ theme?: Theme;
53
+ as?: React.ElementType;
55
54
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
56
55
  export declare const BadgeBeta: import("@emotion/styled").StyledComponent<{
57
- sentiment?: import("node_modules/@ultraviolet/ui/dist/theme").Color | undefined;
58
- size?: "small" | "large" | "medium" | undefined;
59
- prominence?: "strong" | "default" | undefined;
56
+ sentiment?: import("node_modules/@ultraviolet/ui/dist/theme").Color;
57
+ size?: keyof typeof import("node_modules/@ultraviolet/ui/dist/components/Badge").SIZES;
58
+ prominence?: keyof typeof import("node_modules/@ultraviolet/ui/dist/components/Badge").PROMINENCES;
60
59
  icon?: "address" | "search" | "filter" | "view" | "anchor" | "id" | "download" | "alert" | "open-in-new" | "arrow-down" | "arrow-left-bottom" | "arrow-left-double" | "arrow-left" | "arrow-right-bottom" | "arrow-right-double" | "arrow-right" | "arrow-up" | "asterisk" | "attach" | "burger" | "cancel" | "check" | "close" | "close-circle-outline" | "copy-content" | "detach" | "dots-horizontal" | "dots-vertical" | "drag-vertical" | "drag-variant" | "east-short" | "east" | "equal" | "escape" | "expand" | "expand-more" | "github" | "instagram" | "linkedIn" | "logout" | "minus" | "north-short" | "north" | "organization" | "plus" | "progress-check" | "ray-end-arrow" | "ray-start-arrow" | "ray-start-end" | "ray-top-arrow" | "reboot" | "restore" | "revoke" | "rss" | "send" | "slack" | "sort" | "south-short" | "south" | "switch_orga" | "x" | "upload" | "west-short" | "west" | "youtube" | "auto-fix" | "book-open-outline" | "bullhorn" | "calculator" | "calendar-range" | "chat" | "checkbox-circle-outline" | "clock-outline" | "console" | "credentials" | "credit-card" | "database" | "delete" | "doc" | "earth" | "email-remove-outline" | "email-outline" | "eye-off" | "eye" | "folder" | "help-circle-outline" | "information-outline" | "lock" | "members" | "moon" | "mosaic" | "pen" | "pencil" | "phone" | "play-circle-outline" | "privacy" | "profile" | "rocket" | "settings" | "sun" | "support" | "unlock" | "weather-night" | "pin" | "unpin" | undefined;
61
- disabled?: boolean | undefined;
62
- className?: string | undefined;
60
+ disabled?: boolean;
61
+ className?: string;
63
62
  children: import("react").ReactNode;
64
- 'data-testid'?: string | undefined;
63
+ 'data-testid'?: string;
65
64
  } & {
66
- theme?: Theme | undefined;
65
+ theme?: Theme;
67
66
  } & {
68
67
  long: boolean;
69
68
  }, {}, {}>;
70
69
  export declare const StyledTr: import("@emotion/styled").StyledComponent<{
71
- theme?: Theme | undefined;
72
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
70
+ theme?: Theme;
71
+ as?: import("react").ElementType;
73
72
  } & {
74
- isFirstElement?: boolean | undefined;
75
- shouldBeHidden?: boolean | undefined;
76
- hideFromOverlay?: boolean | undefined;
73
+ isFirstElement?: boolean;
74
+ shouldBeHidden?: boolean;
75
+ hideFromOverlay?: boolean;
77
76
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, {}>;
78
77
  export declare const OverlayRow: import("@emotion/styled").StyledComponent<{
79
- theme?: Theme | undefined;
80
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
78
+ theme?: Theme;
79
+ as?: import("react").ElementType;
81
80
  } & {
82
- isFirstElement?: boolean | undefined;
83
- shouldBeHidden?: boolean | undefined;
84
- hideFromOverlay?: boolean | undefined;
81
+ isFirstElement?: boolean;
82
+ shouldBeHidden?: boolean;
83
+ hideFromOverlay?: boolean;
85
84
  }, import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
86
85
  export declare const StyledLeftSide: import("@emotion/styled").StyledComponent<{
87
- theme?: Theme | undefined;
88
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
86
+ theme?: Theme;
87
+ as?: React.ElementType;
89
88
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
90
89
  export declare const ItemResourceName: import("@emotion/styled").StyledComponent<{
91
- theme?: Theme | undefined;
92
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
90
+ theme?: Theme;
91
+ as?: import("react").ElementType;
93
92
  } & {
94
93
  animated: boolean;
95
94
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
96
95
  export declare const StyledBadge: import("@emotion/styled").StyledComponent<{
97
- sentiment?: import("node_modules/@ultraviolet/ui/dist/theme").Color | undefined;
98
- size?: "small" | "large" | "medium" | undefined;
99
- prominence?: "strong" | "default" | undefined;
96
+ sentiment?: import("node_modules/@ultraviolet/ui/dist/theme").Color;
97
+ size?: keyof typeof import("node_modules/@ultraviolet/ui/dist/components/Badge").SIZES;
98
+ prominence?: keyof typeof import("node_modules/@ultraviolet/ui/dist/components/Badge").PROMINENCES;
100
99
  icon?: "address" | "search" | "filter" | "view" | "anchor" | "id" | "download" | "alert" | "open-in-new" | "arrow-down" | "arrow-left-bottom" | "arrow-left-double" | "arrow-left" | "arrow-right-bottom" | "arrow-right-double" | "arrow-right" | "arrow-up" | "asterisk" | "attach" | "burger" | "cancel" | "check" | "close" | "close-circle-outline" | "copy-content" | "detach" | "dots-horizontal" | "dots-vertical" | "drag-vertical" | "drag-variant" | "east-short" | "east" | "equal" | "escape" | "expand" | "expand-more" | "github" | "instagram" | "linkedIn" | "logout" | "minus" | "north-short" | "north" | "organization" | "plus" | "progress-check" | "ray-end-arrow" | "ray-start-arrow" | "ray-start-end" | "ray-top-arrow" | "reboot" | "restore" | "revoke" | "rss" | "send" | "slack" | "sort" | "south-short" | "south" | "switch_orga" | "x" | "upload" | "west-short" | "west" | "youtube" | "auto-fix" | "book-open-outline" | "bullhorn" | "calculator" | "calendar-range" | "chat" | "checkbox-circle-outline" | "clock-outline" | "console" | "credentials" | "credit-card" | "database" | "delete" | "doc" | "earth" | "email-remove-outline" | "email-outline" | "eye-off" | "eye" | "folder" | "help-circle-outline" | "information-outline" | "lock" | "members" | "moon" | "mosaic" | "pen" | "pencil" | "phone" | "play-circle-outline" | "privacy" | "profile" | "rocket" | "settings" | "sun" | "support" | "unlock" | "weather-night" | "pin" | "unpin" | undefined;
101
- disabled?: boolean | undefined;
102
- className?: string | undefined;
100
+ disabled?: boolean;
101
+ className?: string;
103
102
  children: import("react").ReactNode;
104
- 'data-testid'?: string | undefined;
103
+ 'data-testid'?: string;
105
104
  } & {
106
- theme?: Theme | undefined;
105
+ theme?: Theme;
107
106
  }, {}, {}>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { NavigationProps } from './types';
3
2
  /**
4
3
  * Navigation is a component that allows you to create a sidebar navigation.
@@ -13,29 +12,29 @@ export declare const Navigation: {
13
12
  }) => import("@emotion/react/jsx-runtime").JSX.Element | null;
14
13
  Item: ({ children, categoryIcon, categoryIconVariant, label, subLabel, badgeText, badgeSentiment, href, onClick, onClickPinUnpin, toggle, active, noPinButton, type, hasParents, as, disabled, noExpand, index, id, }: {
15
14
  children?: import("react").ReactNode;
16
- categoryIcon?: "security" | "console" | "database" | "pin" | "billing" | "storage" | "baremetal" | "webHosting" | "vpc" | "useCase" | "toolsServices" | "serverless" | "observability" | "network" | "managedServices" | "iot" | "documentation" | "dedicatedServer" | "datacenter" | "containers" | "compute" | "ai" | "labs" | "devTools" | "applicationIntegration" | undefined;
17
- categoryIconVariant?: "neutral" | "primary" | undefined;
15
+ categoryIcon?: import("react").ComponentProps<typeof import("@ultraviolet/icons").CategoryIcon>["name"];
16
+ categoryIconVariant?: import("react").ComponentProps<typeof import("@ultraviolet/icons").CategoryIcon>["variant"];
18
17
  label: string;
19
18
  id: string;
20
- subLabel?: string | undefined;
21
- badgeText?: string | undefined;
22
- badgeSentiment?: import("node_modules/@ultraviolet/ui/dist/theme").Color | undefined;
23
- href?: string | undefined;
24
- onClick?: ((toggle?: boolean | undefined) => 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
- hasParents?: boolean | undefined;
31
- index?: number | undefined;
32
- as?: keyof import("react").JSX.IntrinsicElements | undefined;
33
- noExpand?: boolean | undefined;
34
- disabled?: boolean | undefined;
19
+ subLabel?: string;
20
+ badgeText?: string;
21
+ badgeSentiment?: import("react").ComponentProps<typeof import("@ultraviolet/ui").Badge>["sentiment"];
22
+ href?: string;
23
+ onClick?: (toggle?: true | false) => void;
24
+ onClickPinUnpin?: (parameters: import("./types").PinUnPinType) => void;
25
+ toggle?: boolean;
26
+ active?: boolean;
27
+ noPinButton?: boolean;
28
+ type?: "default" | "pinned" | "pinnedGroup";
29
+ hasParents?: boolean;
30
+ index?: number;
31
+ as?: keyof import("react").JSX.IntrinsicElements;
32
+ noExpand?: boolean;
33
+ disabled?: boolean;
35
34
  }) => import("@emotion/react/jsx-runtime").JSX.Element | null;
36
35
  PinnedItems: ({ toggle, onReorder }: {
37
- toggle?: boolean | undefined;
38
- onReorder?: ((pinnedItems: string[]) => void) | undefined;
36
+ toggle?: boolean;
37
+ onReorder?: (pinnedItems: string[]) => void;
39
38
  }) => import("@emotion/react/jsx-runtime").JSX.Element | null;
40
39
  Separator: () => import("@emotion/react/jsx-runtime").JSX.Element;
41
40
  };