@ultraviolet/ui 3.16.0 → 3.17.0

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 (67) hide show
  1. package/dist/_virtual/_@oxc-project_runtime@0.130.0/helpers/asyncToGenerator.js +34 -0
  2. package/dist/components/Avatar/styles.css.js +2 -0
  3. package/dist/components/Checkbox/styles.css.js +4 -0
  4. package/dist/components/Description/index.d.ts +2 -3
  5. package/dist/components/Description/index.d.ts.map +1 -1
  6. package/dist/components/Description/index.js +1 -0
  7. package/dist/components/FileInput/components/List.js +5 -2
  8. package/dist/components/FileInput/helpers.d.ts +5 -1
  9. package/dist/components/FileInput/helpers.d.ts.map +1 -1
  10. package/dist/components/FileInput/helpers.js +65 -3
  11. package/dist/components/FileInput/index.d.ts +1 -1
  12. package/dist/components/FileInput/index.d.ts.map +1 -1
  13. package/dist/components/FileInput/index.js +26 -15
  14. package/dist/components/FileInput/styles.css.d.ts +1 -0
  15. package/dist/components/FileInput/styles.css.d.ts.map +1 -1
  16. package/dist/components/FileInput/styles.css.js +8 -7
  17. package/dist/components/FileInput/types.d.ts +11 -0
  18. package/dist/components/FileInput/types.d.ts.map +1 -1
  19. package/dist/components/Key/constants.d.ts +6 -6
  20. package/dist/components/Key/constants.d.ts.map +1 -1
  21. package/dist/components/PhoneInput/PhoneInput.d.ts +36 -0
  22. package/dist/components/PhoneInput/PhoneInput.d.ts.map +1 -0
  23. package/dist/components/PhoneInput/PhoneInput.js +152 -0
  24. package/dist/components/PhoneInput/constants.d.ts +6 -0
  25. package/dist/components/PhoneInput/constants.d.ts.map +1 -0
  26. package/dist/components/PhoneInput/index.d.ts +2 -0
  27. package/dist/components/PhoneInput/index.d.ts.map +1 -0
  28. package/dist/components/PhoneInput/index.js +9 -0
  29. package/dist/components/PhoneInput/styles.css.d.ts +7 -0
  30. package/dist/components/PhoneInput/styles.css.d.ts.map +1 -0
  31. package/dist/components/PhoneInput/styles.css.js +22 -0
  32. package/dist/components/PhoneInput/styles.css.ts.vanilla.js +8 -0
  33. package/dist/components/Popup/styles.css.js +4 -0
  34. package/dist/components/ProgressBar/styles.css.js +2 -0
  35. package/dist/components/SelectInput/components/Dropdown/AddOption.d.ts +1 -1
  36. package/dist/components/SelectInput/components/Dropdown/AddOption.d.ts.map +1 -1
  37. package/dist/components/SelectInput/components/Dropdown/Content.d.ts.map +1 -1
  38. package/dist/components/SelectInput/components/Dropdown/Content.js +3 -8
  39. package/dist/components/SelectInput/components/Dropdown/Item.d.ts +1 -1
  40. package/dist/components/SelectInput/components/Dropdown/Item.d.ts.map +1 -1
  41. package/dist/components/SelectInput/components/Dropdown/Option.d.ts +1 -1
  42. package/dist/components/SelectInput/components/Dropdown/Option.d.ts.map +1 -1
  43. package/dist/components/SelectInput/components/Dropdown/Option.js +1 -5
  44. package/dist/components/SelectInput/components/Dropdown/SelectAll.d.ts +1 -1
  45. package/dist/components/SelectInput/components/Dropdown/SelectAll.d.ts.map +1 -1
  46. package/dist/components/SelectInput/components/Dropdown/SelectAll.js +1 -1
  47. package/dist/components/SelectInput/components/SelectBar/SelectBar.d.ts.map +1 -1
  48. package/dist/components/SelectInput/components/SelectBar/SelectBar.js +1 -5
  49. package/dist/components/SelectInput/components/SelectBar/Values.d.ts +1 -1
  50. package/dist/components/SelectInput/components/SelectBar/Values.d.ts.map +1 -1
  51. package/dist/components/Table/styles.css.js +2 -0
  52. package/dist/components/Text/index.d.ts +3 -2
  53. package/dist/components/Text/index.d.ts.map +1 -1
  54. package/dist/components/Text/index.js +2 -1
  55. package/dist/components/TextInput/styles.css.d.ts.map +1 -1
  56. package/dist/components/Toaster/Toaster.js +1 -1
  57. package/dist/components/index.d.ts +1 -0
  58. package/dist/components/index.d.ts.map +1 -1
  59. package/dist/components/index.js +3 -0
  60. package/dist/composition.js +2 -1
  61. package/dist/compositions/Navigation/styles.css.js +4 -0
  62. package/dist/compositions/Navigation/variables.css.js +0 -2
  63. package/dist/compositions/OptionSelector/styles.css.js +0 -14
  64. package/dist/compositions/SteppedListCard/styles.css.js +0 -2
  65. package/dist/index.js +2 -1
  66. package/dist/ui.css +1 -1
  67. package/package.json +5 -5
@@ -0,0 +1,152 @@
1
+ 'use client';
2
+ import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
3
+ import { Stack, init_Stack } from "../Stack/index.js";
4
+ import { Tooltip, init_Tooltip } from "../Tooltip/index.js";
5
+ import { hasHelperText, init_hasHelperText } from "../../helpers/hasHelperText.js";
6
+ import { Description, init_Description } from "../Description/index.js";
7
+ import { Label, init_Label } from "../Label/index.js";
8
+ import { init_styles_css, phoneInputStyle } from "./styles.css.js";
9
+ import { forwardRef, useCallback, useId, useImperativeHandle, useLayoutEffect, useRef, useState } from "react";
10
+ import { cn } from "@ultraviolet/utils";
11
+ import { jsx, jsxs } from "react/jsx-runtime";
12
+ import { AlertCircleIcon } from "@ultraviolet/icons/AlertCircleIcon";
13
+ import { getPhoneCountryFlag, getPhoneExample, parsePhoneNumber } from "@scaleway/phonenumber";
14
+ import { CheckCircleOutlineIcon } from "@ultraviolet/icons/CheckCircleOutlineIcon";
15
+
16
+ //#region src/components/PhoneInput/PhoneInput.tsx
17
+ var PhoneInput;
18
+ var init_PhoneInput = __esmMin(() => {
19
+ init_hasHelperText();
20
+ init_Description();
21
+ init_Label();
22
+ init_Stack();
23
+ init_Tooltip();
24
+ init_styles_css();
25
+ PhoneInput = forwardRef(({ "data-testid": dataTestId, "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy, "aria-label": ariaLabel, className, defaultCountry = "FR", disableAutoFormat = false, disabled = false, error: customError, id, label, success, error, helper, tooltip, name, size = "large", onBlur, onChange, onFocus, onParsingError, onValueChange, placeholder, readOnly, required, value }, ref) => {
26
+ var _getPhoneExample$numb;
27
+ var _localRef$current;
28
+ const localRef = useRef(null);
29
+ useImperativeHandle(ref, () => localRef.current);
30
+ const [countryFlag, setCountryFlag] = useState(defaultCountry);
31
+ const formatPhoneNumber = useCallback(({ inputValue }) => {
32
+ if (disableAutoFormat) return inputValue;
33
+ try {
34
+ const { regionCode = defaultCountry } = parsePhoneNumber(inputValue);
35
+ const { valid, number } = parsePhoneNumber(inputValue, { regionCode });
36
+ const isValid = inputValue.length > 4 && valid;
37
+ const formattedNumber = isValid ? number === null || number === void 0 ? void 0 : number.international : inputValue;
38
+ const result = {
39
+ inputValue,
40
+ formatted: isValid ? number === null || number === void 0 ? void 0 : number.international : inputValue,
41
+ country: regionCode,
42
+ valid: isValid,
43
+ e164: isValid ? number === null || number === void 0 ? void 0 : number.e164 : null,
44
+ international: formattedNumber !== null && formattedNumber !== void 0 ? formattedNumber : null
45
+ };
46
+ setCountryFlag(regionCode);
47
+ onValueChange === null || onValueChange === void 0 || onValueChange(result);
48
+ return formattedNumber;
49
+ } catch (error) {
50
+ if (error instanceof Error) onParsingError === null || onParsingError === void 0 || onParsingError({
51
+ error,
52
+ inputValue
53
+ });
54
+ return inputValue;
55
+ }
56
+ }, [
57
+ onParsingError,
58
+ disableAutoFormat,
59
+ onValueChange,
60
+ defaultCountry
61
+ ]);
62
+ const handleOnChangeCallback = useCallback((inputValue) => {
63
+ var _formatPhoneNumber;
64
+ if (!localRef.current) return;
65
+ const formatted = (_formatPhoneNumber = formatPhoneNumber({ inputValue })) !== null && _formatPhoneNumber !== void 0 ? _formatPhoneNumber : "";
66
+ localRef.current.value = formatted;
67
+ }, [formatPhoneNumber]);
68
+ useLayoutEffect(() => {
69
+ if (value !== void 0) handleOnChangeCallback(value);
70
+ }, [value, handleOnChangeCallback]);
71
+ const uniqueId = useId();
72
+ const helperId = useId();
73
+ const localId = id || `phone-${uniqueId}`;
74
+ return /* @__PURE__ */ jsxs(Stack, {
75
+ className,
76
+ gap: .5,
77
+ children: [
78
+ label ? /* @__PURE__ */ jsx(Label, {
79
+ htmlFor: localId,
80
+ required,
81
+ size,
82
+ children: label
83
+ }) : null,
84
+ /* @__PURE__ */ jsx(Tooltip, {
85
+ text: tooltip,
86
+ children: /* @__PURE__ */ jsxs("div", {
87
+ className: cn(className, phoneInputStyle.inputWrapper, phoneInputStyle.inputWrapperSizes[size]),
88
+ "data-disabled": disabled,
89
+ "data-readonly": readOnly,
90
+ "data-success": success,
91
+ "data-error": !!customError,
92
+ children: [
93
+ /* @__PURE__ */ jsx(Stack, {
94
+ alignItems: "center",
95
+ className: phoneInputStyle.flag,
96
+ "data-disabled": disabled,
97
+ children: getPhoneCountryFlag(countryFlag)
98
+ }),
99
+ /* @__PURE__ */ jsx("input", {
100
+ "aria-invalid": !!error,
101
+ "aria-label": label ? void 0 : ariaLabel,
102
+ "aria-describedby": ariaDescribedBy || (hasHelperText(helper, error, success) ? helperId : void 0),
103
+ "aria-labelledby": ariaLabelledBy,
104
+ className: phoneInputStyle.input,
105
+ "data-testid": dataTestId,
106
+ "data-size": size,
107
+ disabled,
108
+ required,
109
+ readOnly,
110
+ id: localId,
111
+ maxLength: 20,
112
+ name,
113
+ onBlur,
114
+ onChange: (event) => {
115
+ if (localRef.current) handleOnChangeCallback(localRef.current.value);
116
+ onChange === null || onChange === void 0 || onChange(event);
117
+ },
118
+ onFocus,
119
+ placeholder: placeholder !== null && placeholder !== void 0 ? placeholder : (_getPhoneExample$numb = getPhoneExample(countryFlag, "mobile").number) === null || _getPhoneExample$numb === void 0 ? void 0 : _getPhoneExample$numb.international,
120
+ ref: localRef,
121
+ type: "tel",
122
+ value: (_localRef$current = localRef.current) === null || _localRef$current === void 0 ? void 0 : _localRef$current.value
123
+ }),
124
+ success ? /* @__PURE__ */ jsx(CheckCircleOutlineIcon, {
125
+ disabled,
126
+ sentiment: "success",
127
+ size: "small"
128
+ }) : null,
129
+ error ? /* @__PURE__ */ jsx(AlertCircleIcon, {
130
+ disabled,
131
+ sentiment: "danger",
132
+ size: "small"
133
+ }) : null
134
+ ]
135
+ })
136
+ }),
137
+ /* @__PURE__ */ jsx(Description, {
138
+ helper,
139
+ error,
140
+ success,
141
+ size,
142
+ disabled,
143
+ id: ariaDescribedBy !== null && ariaDescribedBy !== void 0 ? ariaDescribedBy : helperId
144
+ })
145
+ ]
146
+ });
147
+ });
148
+ });
149
+
150
+ //#endregion
151
+ init_PhoneInput();
152
+ export { PhoneInput };
@@ -0,0 +1,6 @@
1
+ export declare const INPUT_SIZE_HEIGHT: {
2
+ readonly large: '600';
3
+ readonly medium: '500';
4
+ readonly small: '400';
5
+ };
6
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/PhoneInput/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB;aAC5B,KAAK,EAAE,KAAK;aACZ,MAAM,EAAE,KAAK;aACb,KAAK,EAAE,KAAK;CACJ,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { PhoneInput } from './PhoneInput';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PhoneInput/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { __esmMin } from "../../_virtual/_rolldown/runtime.js";
2
+ import { PhoneInput } from "./PhoneInput.js";
3
+
4
+ //#region src/components/PhoneInput/index.tsx
5
+ var init_PhoneInput = __esmMin(() => {});
6
+
7
+ //#endregion
8
+ init_PhoneInput();
9
+ export { init_PhoneInput };
@@ -0,0 +1,7 @@
1
+ export declare const phoneInputStyle: {
2
+ flag: string;
3
+ inputWrapper: string;
4
+ inputWrapperSizes: Record<"large" | "medium" | "small", string>;
5
+ input: string;
6
+ };
7
+ //# sourceMappingURL=styles.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/PhoneInput/styles.css.ts"],"names":[],"mappings":"AAwGA,eAAO,MAAM,eAAe;;;;;CAK3B,CAAA"}
@@ -0,0 +1,22 @@
1
+ import { __esmMin } from "../../_virtual/_rolldown/runtime.js";
2
+ import { init_styles_css_ts_vanilla } from "./styles.css.ts.vanilla.js";
3
+
4
+ //#region src/components/PhoneInput/styles.css.ts
5
+ var phoneInputStyle;
6
+ var init_styles_css = __esmMin(() => {
7
+ init_styles_css_ts_vanilla();
8
+ phoneInputStyle = {
9
+ flag: "uv_f9zn1x0",
10
+ inputWrapper: "uv_f9zn1x4",
11
+ inputWrapperSizes: {
12
+ large: "uv_f9zn1x1",
13
+ medium: "uv_f9zn1x2",
14
+ small: "uv_f9zn1x3"
15
+ },
16
+ input: "uv_f9zn1x5"
17
+ };
18
+ });
19
+
20
+ //#endregion
21
+ init_styles_css();
22
+ export { init_styles_css, phoneInputStyle };
@@ -0,0 +1,8 @@
1
+ import { __esmMin } from "../../_virtual/_rolldown/runtime.js";
2
+
3
+ //#region src/components/PhoneInput/styles.css.ts.vanilla.css
4
+ var init_styles_css_ts_vanilla = __esmMin(() => {});
5
+
6
+ //#endregion
7
+ init_styles_css_ts_vanilla();
8
+ export { init_styles_css_ts_vanilla };
@@ -1,7 +1,9 @@
1
1
  import { __esmMin } from "../../_virtual/_rolldown/runtime.js";
2
2
  import { init_styles_css_ts_vanilla } from "../Tag/styles.css.ts.vanilla.js";
3
3
  import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$1 } from "../TagList/styles.css.ts.vanilla.js";
4
+ import { init_variables_css_ts_vanilla } from "../Text/variables.css.ts.vanilla.js";
4
5
  import { init_style_css_ts_vanilla } from "../Text/style.css.ts.vanilla.js";
6
+ import { init_variables_css_ts_vanilla as init_variables_css_ts_vanilla$1 } from "./variables.css.ts.vanilla.js";
5
7
  import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$2 } from "./styles.css.ts.vanilla.js";
6
8
  import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
7
9
 
@@ -10,7 +12,9 @@ var popupStyle;
10
12
  var init_styles_css = __esmMin(() => {
11
13
  init_styles_css_ts_vanilla();
12
14
  init_styles_css_ts_vanilla$1();
15
+ init_variables_css_ts_vanilla();
13
16
  init_style_css_ts_vanilla();
17
+ init_variables_css_ts_vanilla$1();
14
18
  init_styles_css_ts_vanilla$2();
15
19
  popupStyle = {
16
20
  container: createRuntimeFn({
@@ -1,9 +1,11 @@
1
1
  import { __esmMin } from "../../_virtual/_rolldown/runtime.js";
2
2
  import { init_styles_css_ts_vanilla } from "./styles.css.ts.vanilla.js";
3
+ import { init_variables_css_ts_vanilla } from "./variables.css.ts.vanilla.js";
3
4
 
4
5
  //#region src/components/ProgressBar/styles.css.ts
5
6
  var progressBarStyle;
6
7
  var init_styles_css = __esmMin(() => {
8
+ init_variables_css_ts_vanilla();
7
9
  init_styles_css_ts_vanilla();
8
10
  progressBarStyle = {
9
11
  container: "uv_1pgcd801",
@@ -1,7 +1,7 @@
1
1
  import type { OptionType } from '../../types';
2
2
  export declare const AddOption: ({ option, textVariant, addOption, searchable, isEmpty, }: {
3
3
  option: OptionType;
4
- textVariant: 'caption' | 'body' | 'bodySmall';
4
+ textVariant: 'body' | 'bodySmall';
5
5
  addOption?: {
6
6
  text: string;
7
7
  onClick: (searchText: string) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"AddOption.d.ts","sourceRoot":"","sources":["../../../../../src/components/SelectInput/components/Dropdown/AddOption.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAI7C,eAAO,MAAM,SAAS,6DAMnB;IACD,MAAM,EAAE,UAAU,CAAA;IAClB,WAAW,EAAE,SAAS,GAAG,MAAM,GAAG,WAAW,CAAA;IAC7C,SAAS,CAAC,EAAE;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,OAAO,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;KACtC,CAAA;IACD,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,mDAkCA,CAAA"}
1
+ {"version":3,"file":"AddOption.d.ts","sourceRoot":"","sources":["../../../../../src/components/SelectInput/components/Dropdown/AddOption.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAI7C,eAAO,MAAM,SAAS,6DAMnB;IACD,MAAM,EAAE,UAAU,CAAA;IAClB,WAAW,EAAE,MAAM,GAAG,WAAW,CAAA;IACjC,SAAS,CAAC,EAAE;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,OAAO,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;KACtC,CAAA;IACD,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,mDAkCA,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../../src/components/SelectInput/components/Dropdown/Content.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAA;AAYrD,KAAK,mBAAmB,GAAG;IACzB,OAAO,EAAE,OAAO,CAAA;IAChB,UAAU,EAAE,SAAS,CAAA;IACrB,oBAAoB,EAAE,KAAK,GAAG,QAAQ,CAAA;IACtC,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,qBAAqB,EAAE,MAAM,GAAG,OAAO,CAAA;IACvC,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAA;IACtC,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAA;IAC3C,SAAS,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;KAAE,CAAA;IACnE,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AA2CD,eAAO,MAAM,cAAc,uKAYxB,mBAAmB,4CAuLrB,CAAA"}
1
+ {"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../../src/components/SelectInput/components/Dropdown/Content.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAA;AAYrD,KAAK,mBAAmB,GAAG;IACzB,OAAO,EAAE,OAAO,CAAA;IAChB,UAAU,EAAE,SAAS,CAAA;IACrB,oBAAoB,EAAE,KAAK,GAAG,QAAQ,CAAA;IACtC,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,qBAAqB,EAAE,MAAM,GAAG,OAAO,CAAA;IACvC,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAA;IACtC,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAA;IAC3C,SAAS,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;KAAE,CAAA;IACnE,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AA2CD,eAAO,MAAM,cAAc,uKAYxB,mBAAmB,4CA6KrB,CAAA"}
@@ -10,7 +10,7 @@ import { AddOption, init_AddOption } from "./AddOption.js";
10
10
  import { Group, init_Group } from "./Group.js";
11
11
  import { Item, init_Item } from "./Item.js";
12
12
  import { SelectAll, init_SelectAll } from "./SelectAll.js";
13
- import { useEffect, useMemo, useRef } from "react";
13
+ import { useEffect, useRef } from "react";
14
14
  import { cn } from "@ultraviolet/utils";
15
15
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
16
16
  import { PlusIcon } from "@ultraviolet/icons/PlusIcon";
@@ -60,12 +60,7 @@ var init_Content = __esmMin(() => {
60
60
  useEffect(() => {
61
61
  if (defaultSearchValue && (focusedItemRef === null || focusedItemRef === void 0 ? void 0 : focusedItemRef.current)) focusedItemRef.current.focus();
62
62
  }, [defaultSearchValue]);
63
- const textVariant = useMemo(() => {
64
- if (size === "large") return "body";
65
- if (size === "medium") return "bodySmall";
66
- return "caption";
67
- }, [size]);
68
- const textVariantSmall = size === "small" ? "captionStrong" : "bodySmallStrong";
63
+ const textVariant = size === "large" ? "body" : "bodySmall";
69
64
  const sizeVariantIcon = size === "small" ? "xsmall" : "small";
70
65
  const computedEmptyState = emptyState !== null && emptyState !== void 0 ? emptyState : /* @__PURE__ */ jsx(Text, {
71
66
  as: "p",
@@ -82,7 +77,7 @@ var init_Content = __esmMin(() => {
82
77
  }), /* @__PURE__ */ jsxs(Text, {
83
78
  as: "span",
84
79
  sentiment: "primary",
85
- variant: textVariantSmall,
80
+ variant: "bodySmallStrong",
86
81
  children: [
87
82
  addOption === null || addOption === void 0 ? void 0 : addOption.text,
88
83
  " ",
@@ -7,7 +7,7 @@ export declare const Item: ({ option, indexOption, group, defaultSearchValue, fo
7
7
  defaultSearchValue: string | null;
8
8
  focusedItemRef: RefObject<HTMLDivElement | null>;
9
9
  descriptionDirection: 'column' | 'row';
10
- textVariant: 'caption' | 'body' | 'bodySmall';
10
+ textVariant: 'body' | 'bodySmall';
11
11
  optionalInfoPlacement: 'left' | 'right';
12
12
  }) => import("react/jsx-runtime").JSX.Element;
13
13
  //# sourceMappingURL=Item.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../src/components/SelectInput/components/Dropdown/Item.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA0C,SAAS,EAAE,MAAM,OAAO,CAAA;AAG9E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAI7C,eAAO,MAAM,IAAI,kIASd;IACD,MAAM,EAAE,UAAU,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,cAAc,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;IAChD,oBAAoB,EAAE,QAAQ,GAAG,KAAK,CAAA;IACtC,WAAW,EAAE,SAAS,GAAG,MAAM,GAAG,WAAW,CAAA;IAC7C,qBAAqB,EAAE,MAAM,GAAG,OAAO,CAAA;CACxC,4CA8FA,CAAA"}
1
+ {"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../src/components/SelectInput/components/Dropdown/Item.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA0C,SAAS,EAAE,MAAM,OAAO,CAAA;AAG9E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAI7C,eAAO,MAAM,IAAI,kIASd;IACD,MAAM,EAAE,UAAU,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,cAAc,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;IAChD,oBAAoB,EAAE,QAAQ,GAAG,KAAK,CAAA;IACtC,WAAW,EAAE,MAAM,GAAG,WAAW,CAAA;IACjC,qBAAqB,EAAE,MAAM,GAAG,OAAO,CAAA;CACxC,4CA8FA,CAAA"}
@@ -3,7 +3,7 @@ type DisplayOptionProps = {
3
3
  option: OptionType;
4
4
  descriptionDirection: 'row' | 'column';
5
5
  optionalInfoPlacement: 'left' | 'right';
6
- textVariant: 'body' | 'bodySmall' | 'caption';
6
+ textVariant: 'body' | 'bodySmall';
7
7
  };
8
8
  export declare const DisplayOption: ({ option, optionalInfoPlacement, descriptionDirection, textVariant, }: DisplayOptionProps) => import("react/jsx-runtime").JSX.Element;
9
9
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"Option.d.ts","sourceRoot":"","sources":["../../../../../src/components/SelectInput/components/Dropdown/Option.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAG7C,KAAK,kBAAkB,GAAG;IACxB,MAAM,EAAE,UAAU,CAAA;IAClB,oBAAoB,EAAE,KAAK,GAAG,QAAQ,CAAA;IACtC,qBAAqB,EAAE,MAAM,GAAG,OAAO,CAAA;IACvC,WAAW,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS,CAAA;CAC9C,CAAA;AAED,eAAO,MAAM,aAAa,0EAKvB,kBAAkB,4CA4GpB,CAAA"}
1
+ {"version":3,"file":"Option.d.ts","sourceRoot":"","sources":["../../../../../src/components/SelectInput/components/Dropdown/Option.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAG7C,KAAK,kBAAkB,GAAG;IACxB,MAAM,EAAE,UAAU,CAAA;IAClB,oBAAoB,EAAE,KAAK,GAAG,QAAQ,CAAA;IACtC,qBAAqB,EAAE,MAAM,GAAG,OAAO,CAAA;IACvC,WAAW,EAAE,MAAM,GAAG,WAAW,CAAA;CAClC,CAAA;AAED,eAAO,MAAM,aAAa,0EAKvB,kBAAkB,4CAkGpB,CAAA"}
@@ -15,11 +15,7 @@ var init_Option = __esmMin(() => {
15
15
  init_Tooltip();
16
16
  init_styles_css();
17
17
  DisplayOption = ({ option, optionalInfoPlacement, descriptionDirection, textVariant }) => {
18
- const captionSize = useMemo(() => {
19
- if (textVariant === "body") return "bodySmall";
20
- if (textVariant === "bodySmall") return "caption";
21
- return "captionSmall";
22
- }, [textVariant]);
18
+ const captionSize = useMemo(() => textVariant === "body" ? "bodySmall" : "caption", [textVariant]);
23
19
  const optionDescription = option.description ? /* @__PURE__ */ jsx(Text, {
24
20
  as: "span",
25
21
  placement: "left",
@@ -1,4 +1,4 @@
1
1
  export declare const SelectAll: ({ textVariant }: {
2
- textVariant: 'body' | 'bodySmall' | 'caption';
2
+ textVariant: 'body' | 'bodySmall';
3
3
  }) => import("react/jsx-runtime").JSX.Element | null;
4
4
  //# sourceMappingURL=SelectAll.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectAll.d.ts","sourceRoot":"","sources":["../../../../../src/components/SelectInput/components/Dropdown/SelectAll.tsx"],"names":[],"mappings":"AAQA,eAAO,MAAM,SAAS,oBAAqB;IAAE,WAAW,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS,CAAA;CAAE,mDAwE3F,CAAA"}
1
+ {"version":3,"file":"SelectAll.d.ts","sourceRoot":"","sources":["../../../../../src/components/SelectInput/components/Dropdown/SelectAll.tsx"],"names":[],"mappings":"AAQA,eAAO,MAAM,SAAS,oBAAqB;IAAE,WAAW,EAAE,MAAM,GAAG,WAAW,CAAA;CAAE,mDAwE/E,CAAA"}
@@ -69,7 +69,7 @@ var init_SelectAll = __esmMin(() => {
69
69
  placement: "left",
70
70
  prominence: "weak",
71
71
  sentiment: "neutral",
72
- variant: size === "small" ? "captionSmall" : "bodySmall",
72
+ variant: size === "large" ? "bodySmall" : "caption",
73
73
  children: selectAll === null || selectAll === void 0 ? void 0 : selectAll.description
74
74
  })]
75
75
  })
@@ -1 +1 @@
1
- {"version":3,"file":"SelectBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/SelectInput/components/SelectBar/SelectBar.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAcjD,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IAClC,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,OAAO,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IACxB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;IAC1C,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,aAAa,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,MAAM,CAAC,EAAE,SAAS,CAAA;CACnB,CAAA;AAED,QAAA,MAAM,SAAS,iNAkBZ,cAAc,4CA+NhB,CAAA;AAED,OAAO,EAAE,SAAS,EAAE,CAAA"}
1
+ {"version":3,"file":"SelectBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/SelectInput/components/SelectBar/SelectBar.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAcjD,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IAClC,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,OAAO,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IACxB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;IAC1C,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,aAAa,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,MAAM,CAAC,EAAE,SAAS,CAAA;CACnB,CAAA;AAED,QAAA,MAAM,SAAS,iNAkBZ,cAAc,4CAsNhB,CAAA;AAED,OAAO,EAAE,SAAS,EAAE,CAAA"}
@@ -107,11 +107,7 @@ var init_SelectBar = __esmMin(() => {
107
107
  potentiallyNonOverflowedValues.length,
108
108
  selectedData.selectedValues
109
109
  ]);
110
- const textVariant = useMemo(() => {
111
- if (size === "large") return "body";
112
- if (size === "medium") return "bodySmall";
113
- return "caption";
114
- }, [size]);
110
+ const textVariant = useMemo(() => size === "large" ? "body" : "bodySmall", [size]);
115
111
  return /* @__PURE__ */ jsx(Tooltip, {
116
112
  disableAnimation: true,
117
113
  text: tooltip,
@@ -13,7 +13,7 @@ type DisplayValuesProps = {
13
13
  overflow?: boolean;
14
14
  refPlusTag: RefObject<HTMLDivElement | null>;
15
15
  displayShadowCopy?: boolean;
16
- textVariant: 'body' | 'bodySmall' | 'caption';
16
+ textVariant: 'body' | 'bodySmall';
17
17
  };
18
18
  export declare const DisplayValues: ({ refTag, nonOverflowedValues, potentiallyNonOverflowedValues, disabled, readOnly, overflowed, overflowAmount, measureRef, lastElementMaxWidth, overflow, refPlusTag, displayShadowCopy, textVariant, }: DisplayValuesProps) => import("react/jsx-runtime").JSX.Element;
19
19
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"Values.d.ts","sourceRoot":"","sources":["../../../../../src/components/SelectInput/components/SelectBar/Values.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAMtC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAI7C,KAAK,kBAAkB,GAAG;IACxB,MAAM,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;IACxC,mBAAmB,EAAE,UAAU,EAAE,CAAA;IACjC,8BAA8B,EAAE,UAAU,EAAE,CAAA;IAC5C,QAAQ,EA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CAClC,CAAA;AAED,eAAO,MAAM,aAAa,4MAcvB,kBAAkB,4CA4FpB,CAAA"}
@@ -1,10 +1,12 @@
1
1
  import { __esmMin } from "../../_virtual/_rolldown/runtime.js";
2
2
  import { init_styles_css_ts_vanilla } from "./styles.css.ts.vanilla.js";
3
+ import { init_variables_css_ts_vanilla } from "./variables.css.ts.vanilla.js";
3
4
  import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
4
5
 
5
6
  //#region src/components/Table/styles.css.ts
6
7
  var tableStyle;
7
8
  var init_styles_css = __esmMin(() => {
9
+ init_variables_css_ts_vanilla();
8
10
  init_styles_css_ts_vanilla();
9
11
  tableStyle = {
10
12
  stripped: "uv_1cpcscz2",
@@ -1,5 +1,5 @@
1
1
  import type { TextVariant } from '@ultraviolet/themes';
2
- import type { CSSProperties, ElementType, ReactNode } from 'react';
2
+ import type { CSSProperties, AriaRole, ElementType, ReactNode } from 'react';
3
3
  import type { ExtendedColor } from '../../theme';
4
4
  import type { PROMINENCES } from './constants';
5
5
  type ProminenceProps = keyof typeof PROMINENCES;
@@ -24,11 +24,12 @@ type TextProps = {
24
24
  'aria-hidden'?: boolean;
25
25
  strikeThrough?: boolean;
26
26
  whiteSpace?: WhiteSpaceProps;
27
+ role?: Extract<AriaRole, 'status' | 'alert'>;
27
28
  style?: CSSProperties;
28
29
  };
29
30
  /**
30
31
  * Text component is used to display text with different variants and sentiments.
31
32
  */
32
- export declare const Text: ({ variant, children, as: Component, sentiment, oneLine, placement, prominence, className, disabled, italic, underline, strikeThrough, id, dir, whiteSpace, htmlFor, 'data-testid': dataTestId, 'aria-hidden': ariaHidden, style, }: TextProps) => import("react/jsx-runtime").JSX.Element;
33
+ export declare const Text: ({ variant, children, as: Component, sentiment, oneLine, placement, prominence, className, disabled, italic, underline, strikeThrough, id, dir, whiteSpace, htmlFor, role, 'data-testid': dataTestId, 'aria-hidden': ariaHidden, style, }: TextProps) => import("react/jsx-runtime").JSX.Element;
33
34
  export {};
34
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AU,CAAC,EAAE,eAAe,CAAA;IAC5B,IAAI,CAAC,EAAE,OAAO,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,CAAA;IAC5C,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,IAAI,6OAqBd,SAAS,4CA0CX,CAAA"}
@@ -20,13 +20,14 @@ var init_Text = __esmMin(() => {
20
20
  init_style_css();
21
21
  init_variables_css();
22
22
  init_objectSpread2();
23
- Text = ({ variant, children, as: Component = "div", sentiment, oneLine = false, placement, prominence = "default", className, disabled = false, italic = false, underline = false, strikeThrough = false, id, dir, whiteSpace, htmlFor, "data-testid": dataTestId, "aria-hidden": ariaHidden, style }) => {
23
+ Text = ({ variant, children, as: Component = "div", sentiment, oneLine = false, placement, prominence = "default", className, disabled = false, italic = false, underline = false, strikeThrough = false, id, dir, whiteSpace, htmlFor, role, "data-testid": dataTestId, "aria-hidden": ariaHidden, style }) => {
24
24
  const elementRef = useRef(null);
25
25
  const isOverflowing = useIsOverflowing(elementRef);
26
26
  const finalStringChildren = recursivelyGetChildrenString(children);
27
27
  return /* @__PURE__ */ jsx(Tooltip, {
28
28
  text: oneLine && isOverflowing ? finalStringChildren : "",
29
29
  children: /* @__PURE__ */ jsx(Component, {
30
+ role,
30
31
  "aria-hidden": ariaHidden,
31
32
  className: cn(className, textStyle.text({
32
33
  disabled,
@@ -1 +1 @@
1
- {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/TextInput/styles.css.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW,oBAAc,CAAA;AA+HtC,eAAO,MAAM,cAAc;;;;;;;;CAQ1B,CAAA"}
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/TextInput/styles.css.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW,oBAAc,CAAA;AA4HtC,eAAO,MAAM,cAAc;;;;;;;;CAQ1B,CAAA"}
@@ -4,8 +4,8 @@ import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project
4
4
  import { CloseButton, init_CloseButton } from "./components/CloseButton.js";
5
5
  import { Content, init_Content } from "./components/Content.js";
6
6
  import { jsx } from "react/jsx-runtime";
7
- import { toast } from "react-toastify";
8
7
  import { CheckCircleOutlineIcon } from "@ultraviolet/icons/CheckCircleOutlineIcon";
8
+ import { toast } from "react-toastify";
9
9
  import { AlertCircleOutlineIcon } from "@ultraviolet/icons/AlertCircleOutlineIcon";
10
10
  import { CloseCircleOutlineIcon } from "@ultraviolet/icons/CloseCircleOutlineIcon";
11
11
 
@@ -28,6 +28,7 @@ export { Label } from './Label';
28
28
  export { LineChart } from './LineChart';
29
29
  export { Link } from './Link';
30
30
  export { List } from './List';
31
+ export { PhoneInput } from './PhoneInput';
31
32
  export { Loader } from './Loader';
32
33
  export { Menu } from './Menu';
33
34
  export { Meter } from './Meter';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAA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AAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,KAAK,IAAI,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,WAAW,CAAA;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA"}
@@ -49,6 +49,8 @@ import { FileInput, init_FileInput } from "./FileInput/index.js";
49
49
  import { GlobalAlert, init_GlobalAlert } from "./GlobalAlert/index.js";
50
50
  import { InfiniteScroll, init_InfiniteScroll } from "./InfiniteScroll/index.js";
51
51
  import { LineChart, init_LineChart } from "./LineChart/index.js";
52
+ import { PhoneInput } from "./PhoneInput/PhoneInput.js";
53
+ import { init_PhoneInput } from "./PhoneInput/index.js";
52
54
  import { Meter, init_Meter } from "./Meter/index.js";
53
55
  import { Notice, init_Notice } from "./Notice/index.js";
54
56
  import { notification } from "./Notification/Notification.js";
@@ -115,6 +117,7 @@ var init_components = __esmMin(() => {
115
117
  init_LineChart();
116
118
  init_Link();
117
119
  init_List();
120
+ init_PhoneInput();
118
121
  init_Loader();
119
122
  init_Menu();
120
123
  init_Meter();
@@ -81,6 +81,7 @@ import { FileInput } from "./components/FileInput/index.js";
81
81
  import { GlobalAlert } from "./components/GlobalAlert/index.js";
82
82
  import { InfiniteScroll } from "./components/InfiniteScroll/index.js";
83
83
  import { LineChart } from "./components/LineChart/index.js";
84
+ import { PhoneInput } from "./components/PhoneInput/PhoneInput.js";
84
85
  import { Meter } from "./components/Meter/index.js";
85
86
  import { Notice } from "./components/Notice/index.js";
86
87
  import { notification } from "./components/Notification/Notification.js";
@@ -121,4 +122,4 @@ var init_composition = __esmMin(() => {
121
122
 
122
123
  //#endregion
123
124
  init_composition();
124
- export { ActionBar, Alert, Avatar, Badge, Banner, BarChart, BarStack, Breadcrumbs, Bullet, Button, Card, Carousel, Checkbox, CheckboxGroup, CheckboxGroupCheckbox, Chip, CodeEditor, ContentCard, ContentCardGroup, Conversation, CopyButton, CustomerSatisfaction, DateInput, Dialog, Drawer, EmptyState, EstimateCost, Expandable, ExpandableCard, FAQ, FileInput, GlobalAlert, InfiniteScroll, InfoTable, Key, Label, LineChart, Link, List, Loader, Menu, Meter, Modal, Navigation, NavigationProvider, Notice, NotificationContainer, NumberInput, OfferList, OptionSelector, OrderSummary, Pagination, PasswordCheck, PieChart, Plans, Popover, Popup, ProgressBar, Radio, RadioGroup, Row, SearchInput, SelectInput, SelectableCard, SelectableCardGroup, SelectableCardOptionGroup, Separator, Skeleton, Slider, Snippet, Stack, Status, StepList, SteppedListCard, Stepper, SwitchButton, Table, Tabs, Tag, TagInput, TagList, Text, TextArea, TextInput, TimeInput, ToastContainer, Toggle, ToggleGroup, Tooltip, TreeMapChart, UnitInput, VerificationCode, codeEditorStyle, contentCardGroupStyle, contentCardStyle, conversationStyle, customerSatisfactionStyle, en_default as estimateCostDefaultLocales, estimateCostStyle, faqStyle, infoTableStyle, navigationStyle, notification, offerListStyle, optionSelectorStyle, orderSummaryStyle, plansStyle, steppedListCardStyle, toast, useNavigation };
125
+ export { ActionBar, Alert, Avatar, Badge, Banner, BarChart, BarStack, Breadcrumbs, Bullet, Button, Card, Carousel, Checkbox, CheckboxGroup, CheckboxGroupCheckbox, Chip, CodeEditor, ContentCard, ContentCardGroup, Conversation, CopyButton, CustomerSatisfaction, DateInput, Dialog, Drawer, EmptyState, EstimateCost, Expandable, ExpandableCard, FAQ, FileInput, GlobalAlert, InfiniteScroll, InfoTable, Key, Label, LineChart, Link, List, Loader, Menu, Meter, Modal, Navigation, NavigationProvider, Notice, NotificationContainer, NumberInput, OfferList, OptionSelector, OrderSummary, Pagination, PasswordCheck, PhoneInput, PieChart, Plans, Popover, Popup, ProgressBar, Radio, RadioGroup, Row, SearchInput, SelectInput, SelectableCard, SelectableCardGroup, SelectableCardOptionGroup, Separator, Skeleton, Slider, Snippet, Stack, Status, StepList, SteppedListCard, Stepper, SwitchButton, Table, Tabs, Tag, TagInput, TagList, Text, TextArea, TextInput, TimeInput, ToastContainer, Toggle, ToggleGroup, Tooltip, TreeMapChart, UnitInput, VerificationCode, codeEditorStyle, contentCardGroupStyle, contentCardStyle, conversationStyle, customerSatisfactionStyle, en_default as estimateCostDefaultLocales, estimateCostStyle, faqStyle, infoTableStyle, navigationStyle, notification, offerListStyle, optionSelectorStyle, orderSummaryStyle, plansStyle, steppedListCardStyle, toast, useNavigation };
@@ -1,6 +1,8 @@
1
1
  import { __esmMin } from "../../_virtual/_rolldown/runtime.js";
2
+ import { init_themes_css_js_vanilla } from "../../themes/dist/vanilla/themes.css.js.vanilla.js";
2
3
  import { init_animationsVanillaExtract_css_ts_vanilla } from "../../utils/animations/animationsVanillaExtract.css.ts.vanilla.js";
3
4
  import { init_items_css_ts_vanilla } from "./components/items.css.ts.vanilla.js";
5
+ import { init_variables_css_ts_vanilla } from "./variables.css.ts.vanilla.js";
4
6
  import { init_styles_css_ts_vanilla } from "./components/styles.css.ts.vanilla.js";
5
7
  import { init_styles_css_ts_vanilla as init_styles_css_ts_vanilla$1 } from "./styles.css.ts.vanilla.js";
6
8
  import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
@@ -8,8 +10,10 @@ import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
8
10
  //#region src/compositions/Navigation/styles.css.ts
9
11
  var navigationStyle;
10
12
  var init_styles_css = __esmMin(() => {
13
+ init_themes_css_js_vanilla();
11
14
  init_animationsVanillaExtract_css_ts_vanilla();
12
15
  init_items_css_ts_vanilla();
16
+ init_variables_css_ts_vanilla();
13
17
  init_styles_css_ts_vanilla();
14
18
  init_styles_css_ts_vanilla$1();
15
19
  navigationStyle = {
@@ -1,10 +1,8 @@
1
1
  import { __esmMin } from "../../_virtual/_rolldown/runtime.js";
2
- import { init_variables_css_ts_vanilla } from "./variables.css.ts.vanilla.js";
3
2
 
4
3
  //#region src/compositions/Navigation/variables.css.ts
5
4
  var widthNavigationContainer, widthNavigationContainerExpanded, widthNavigationContainerDuration;
6
5
  var init_variables_css = __esmMin(() => {
7
- init_variables_css_ts_vanilla();
8
6
  widthNavigationContainer = "var(--uv_10912fi0)";
9
7
  widthNavigationContainerExpanded = "var(--uv_10912fi1)";
10
8
  widthNavigationContainerDuration = "var(--uv_10912fi2)";