@ultraviolet/ui 3.15.1 → 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.
- package/dist/_virtual/_@oxc-project_runtime@0.130.0/helpers/asyncToGenerator.js +34 -0
- package/dist/_virtual/{_@oxc-project_runtime@0.128.0 → _@oxc-project_runtime@0.130.0}/helpers/defineProperty.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.128.0 → _@oxc-project_runtime@0.130.0}/helpers/objectSpread2.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.128.0 → _@oxc-project_runtime@0.130.0}/helpers/objectWithoutProperties.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.128.0 → _@oxc-project_runtime@0.130.0}/helpers/objectWithoutPropertiesLoose.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.128.0 → _@oxc-project_runtime@0.130.0}/helpers/toPrimitive.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.128.0 → _@oxc-project_runtime@0.130.0}/helpers/toPropertyKey.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.128.0 → _@oxc-project_runtime@0.130.0}/helpers/typeof.js +1 -1
- package/dist/components/ActionBar/index.js +1 -1
- package/dist/components/Avatar/index.js +1 -1
- package/dist/components/Avatar/styles.css.js +2 -0
- package/dist/components/BarChart/index.js +1 -1
- package/dist/components/Breadcrumbs/components/Item.js +1 -1
- package/dist/components/Carousel/Item.js +1 -1
- package/dist/components/Checkbox/CheckboxIconContainer.js +8 -8
- package/dist/components/Checkbox/styles.css.js +4 -0
- package/dist/components/CopyButton/index.js +1 -1
- package/dist/components/DateInput/helpers.js +2 -2
- package/dist/components/Description/index.d.ts +2 -3
- package/dist/components/Description/index.d.ts.map +1 -1
- package/dist/components/Description/index.js +1 -0
- package/dist/components/Expandable/AnimatedExpandable.js +1 -1
- package/dist/components/Expandable/NonAnimatedExpandable.js +1 -1
- package/dist/components/FileInput/components/Button.js +2 -2
- package/dist/components/FileInput/components/List.js +5 -2
- package/dist/components/FileInput/helpers.d.ts +5 -1
- package/dist/components/FileInput/helpers.d.ts.map +1 -1
- package/dist/components/FileInput/helpers.js +65 -3
- package/dist/components/FileInput/index.d.ts +1 -1
- package/dist/components/FileInput/index.d.ts.map +1 -1
- package/dist/components/FileInput/index.js +27 -16
- package/dist/components/FileInput/styles.css.d.ts +1 -0
- package/dist/components/FileInput/styles.css.d.ts.map +1 -1
- package/dist/components/FileInput/styles.css.js +8 -7
- package/dist/components/FileInput/types.d.ts +11 -0
- package/dist/components/FileInput/types.d.ts.map +1 -1
- package/dist/components/InfiniteScroll/index.js +1 -1
- package/dist/components/Key/constants.d.ts +6 -6
- package/dist/components/Key/constants.d.ts.map +1 -1
- package/dist/components/LineChart/helpers.js +2 -2
- package/dist/components/LineChart/index.js +1 -1
- package/dist/components/List/Cell.js +1 -1
- package/dist/components/List/ListContext.js +3 -3
- package/dist/components/Loader/index.js +1 -1
- package/dist/components/Menu/MenuContent.d.ts.map +1 -1
- package/dist/components/Menu/components/Item.d.ts.map +1 -1
- package/dist/components/Menu/helpers.js +1 -1
- package/dist/components/Menu/index.js +2 -2
- package/dist/components/Modal/components/Dialog.js +1 -1
- package/dist/components/Notification/Notification.js +1 -1
- package/dist/components/PhoneInput/PhoneInput.d.ts +36 -0
- package/dist/components/PhoneInput/PhoneInput.d.ts.map +1 -0
- package/dist/components/PhoneInput/PhoneInput.js +152 -0
- package/dist/components/PhoneInput/constants.d.ts +6 -0
- package/dist/components/PhoneInput/constants.d.ts.map +1 -0
- package/dist/components/PhoneInput/index.d.ts +2 -0
- package/dist/components/PhoneInput/index.d.ts.map +1 -0
- package/dist/components/PhoneInput/index.js +9 -0
- package/dist/components/PhoneInput/styles.css.d.ts +7 -0
- package/dist/components/PhoneInput/styles.css.d.ts.map +1 -0
- package/dist/components/PhoneInput/styles.css.js +22 -0
- package/dist/components/PhoneInput/styles.css.ts.vanilla.js +8 -0
- package/dist/components/PieChart/Legends.d.ts +2 -1
- package/dist/components/PieChart/Legends.d.ts.map +1 -1
- package/dist/components/PieChart/Legends.js +50 -44
- package/dist/components/PieChart/Tooltip.d.ts +1 -1
- package/dist/components/PieChart/Tooltip.d.ts.map +1 -1
- package/dist/components/PieChart/Tooltip.js +32 -36
- package/dist/components/PieChart/index.d.ts +2 -1
- package/dist/components/PieChart/index.d.ts.map +1 -1
- package/dist/components/PieChart/index.js +58 -63
- package/dist/components/PieChart/styles.css.d.ts +5 -31
- package/dist/components/PieChart/styles.css.d.ts.map +1 -1
- package/dist/components/PieChart/styles.css.js +12 -37
- package/dist/components/Popup/index.d.ts.map +1 -1
- package/dist/components/Popup/index.js +1 -1
- package/dist/components/Popup/styles.css.js +4 -0
- package/dist/components/ProgressBar/styles.css.js +2 -0
- package/dist/components/Radio/index.d.ts.map +1 -1
- package/dist/components/Radio/index.js +1 -2
- package/dist/components/Radio/styles.css.d.ts.map +1 -1
- package/dist/components/Row/index.js +1 -1
- package/dist/components/SelectInput/components/Dropdown/AddOption.d.ts +1 -1
- package/dist/components/SelectInput/components/Dropdown/AddOption.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/Content.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/Content.js +3 -8
- package/dist/components/SelectInput/components/Dropdown/Dropdown.js +1 -1
- package/dist/components/SelectInput/components/Dropdown/Item.d.ts +1 -1
- package/dist/components/SelectInput/components/Dropdown/Item.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/Option.d.ts +1 -1
- package/dist/components/SelectInput/components/Dropdown/Option.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/Option.js +1 -5
- package/dist/components/SelectInput/components/Dropdown/SearchBar.js +3 -3
- package/dist/components/SelectInput/components/Dropdown/SelectAll.d.ts +1 -1
- package/dist/components/SelectInput/components/Dropdown/SelectAll.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/SelectAll.js +1 -1
- package/dist/components/SelectInput/components/SelectBar/SelectBar.d.ts.map +1 -1
- package/dist/components/SelectInput/components/SelectBar/SelectBar.js +1 -5
- package/dist/components/SelectInput/components/SelectBar/Values.d.ts +1 -1
- package/dist/components/SelectInput/components/SelectBar/Values.d.ts.map +1 -1
- package/dist/components/SelectableCard/MultiStateInput.js +1 -1
- package/dist/components/SelectableCard/SelectableCard.js +1 -1
- package/dist/components/SelectableCardOptionGroup/components/Option.js +1 -1
- package/dist/components/Slider/components/DoubleSlider.js +2 -2
- package/dist/components/Slider/components/SingleSlider.js +1 -1
- package/dist/components/Snippet/index.js +1 -1
- package/dist/components/Stack/index.js +2 -2
- package/dist/components/Stepper/index.js +1 -1
- package/dist/components/Table/Cell.js +1 -1
- package/dist/components/Table/HeaderCell.js +1 -1
- package/dist/components/Table/TableContext.js +2 -2
- package/dist/components/Table/styles.css.js +2 -0
- package/dist/components/Tabs/Tab.js +2 -2
- package/dist/components/Tabs/TabMenu.js +2 -2
- package/dist/components/Tabs/TabMenuItem.js +2 -2
- package/dist/components/Tabs/index.js +2 -2
- package/dist/components/Tag/index.d.ts.map +1 -1
- package/dist/components/Tag/index.js +2 -1
- package/dist/components/TagInput/index.js +1 -1
- package/dist/components/TagList/index.js +1 -1
- package/dist/components/Text/index.d.ts +3 -2
- package/dist/components/Text/index.d.ts.map +1 -1
- package/dist/components/Text/index.js +3 -2
- package/dist/components/TextArea/index.js +2 -2
- package/dist/components/TextInput/styles.css.d.ts.map +1 -1
- package/dist/components/TimeInput/helpers.js +1 -1
- package/dist/components/TimeInput/index.d.ts.map +1 -1
- package/dist/components/TimeInput/index.js +1 -1
- package/dist/components/Toaster/Toaster.js +2 -2
- package/dist/components/TreeMapChart/index.js +1 -1
- package/dist/components/VerificationCode/index.js +3 -3
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +3 -0
- package/dist/composition.js +2 -1
- package/dist/compositions/EstimateCost/Components/Item.js +1 -1
- package/dist/compositions/EstimateCost/Components/LineThrough.js +2 -2
- package/dist/compositions/EstimateCost/Components/Unit.js +1 -1
- package/dist/compositions/EstimateCost/EstimateCostProvider.js +1 -1
- package/dist/compositions/EstimateCost/Image.js +1 -1
- package/dist/compositions/InfoTable/components/Row.js +1 -1
- package/dist/compositions/Navigation/NavigationProvider.js +1 -1
- package/dist/compositions/Navigation/components/Item/ItemExpanded.js +2 -2
- package/dist/compositions/Navigation/styles.css.js +2 -0
- package/dist/compositions/OptionSelector/styles.css.js +0 -14
- package/dist/compositions/OrderSummary/helpers.js +1 -1
- package/dist/compositions/Plans/index.js +2 -2
- package/dist/compositions/SteppedListCard/styles.css.js +0 -2
- package/dist/index.js +2 -1
- package/dist/ui.css +1 -1
- package/package.json +12 -11
|
@@ -69,7 +69,7 @@ var init_SelectAll = __esmMin(() => {
|
|
|
69
69
|
placement: "left",
|
|
70
70
|
prominence: "weak",
|
|
71
71
|
sentiment: "neutral",
|
|
72
|
-
variant: size === "
|
|
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,
|
|
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'
|
|
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,CA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AAG,WAAW,CAAA;CAClC,CAAA;AAED,eAAO,MAAM,aAAa,4MAcvB,kBAAkB,4CA4FpB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
3
3
|
import { Checkbox, init_Checkbox } from "../Checkbox/index.js";
|
|
4
4
|
import { Radio, init_Radio } from "../Radio/index.js";
|
|
5
5
|
import { init_styles_css, selectableCardStyle } from "./styles.css.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
4
|
import { Stack, init_Stack } from "../Stack/index.js";
|
|
5
5
|
import { Tooltip, init_Tooltip } from "../Tooltip/index.js";
|
|
6
6
|
import { init_styles_css, selectableCardStyle } from "./styles.css.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
4
|
import { Stack, init_Stack } from "../../Stack/index.js";
|
|
5
5
|
import { Label, init_Label } from "../../Label/index.js";
|
|
6
6
|
import { SelectInput, init_SelectInput } from "../../SelectInput/index.js";
|
|
@@ -151,8 +151,8 @@ var init_DoubleSlider = __esmMin(() => {
|
|
|
151
151
|
}, [tooltip, selectedIndexes]);
|
|
152
152
|
const placementTooltip = [(selectedIndexes[0] - min) / (max - min) * (sliderWidth - 16) + 16 / 2, (selectedIndexes[1] - min) / (max - min) * (sliderWidth - 16) + 16 / 2];
|
|
153
153
|
const [leftToShow, rightToShow] = options && !defaultScale ? [options[selectedIndexes[0]].value, options[selectedIndexes[1]].value] : selectedIndexes;
|
|
154
|
-
const leftSliderProgress = ((_selectedIndexes$ = selectedIndexes[0]) !== null && _selectedIndexes$ !== void 0 ? _selectedIndexes$ : 0 - min) * 100 / (max - min);
|
|
155
|
-
const rightSliderProgress = ((_selectedIndexes$2 = selectedIndexes[1]) !== null && _selectedIndexes$2 !== void 0 ? _selectedIndexes$2 : 0 - min) * 100 / (max - min);
|
|
154
|
+
const leftSliderProgress = (((_selectedIndexes$ = selectedIndexes[0]) !== null && _selectedIndexes$ !== void 0 ? _selectedIndexes$ : 0) - min) * 100 / (max - min);
|
|
155
|
+
const rightSliderProgress = (((_selectedIndexes$2 = selectedIndexes[1]) !== null && _selectedIndexes$2 !== void 0 ? _selectedIndexes$2 : 0) - min) * 100 / (max - min);
|
|
156
156
|
useEffect(() => {
|
|
157
157
|
setSelectedIndexes(() => {
|
|
158
158
|
const newSafeValue = value && Array.isArray(value) && value.length === 2 ? value : [min, max];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
4
|
import { Stack, init_Stack } from "../../Stack/index.js";
|
|
5
5
|
import { Tooltip, init_Tooltip } from "../../Tooltip/index.js";
|
|
6
6
|
import { Text, init_Text } from "../../Text/index.js";
|
|
@@ -28,7 +28,7 @@ var init_Snippet = __esmMin(() => {
|
|
|
28
28
|
init_Text();
|
|
29
29
|
init_CodeContent();
|
|
30
30
|
init_styles_css();
|
|
31
|
-
LINES_BREAK_REGEX = /\r\n|\r|\n
|
|
31
|
+
LINES_BREAK_REGEX = /\r\n|\r|\n/u;
|
|
32
32
|
Snippet = ({ children, copyText, copiedText, showText = "Show", hideText = "Hide", prefix, className, "data-testid": dataTestId, initiallyExpanded, rows = 4, noExpandable = false, onCopy, style, helper, label, labelDescription, "aria-describedby": ariaDescribedBy }) => {
|
|
33
33
|
const theme = useTheme();
|
|
34
34
|
const helperId = useId();
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
3
|
import { init_styles_css, sprinkles, stackStyle } from "./styles.css.js";
|
|
4
4
|
import { flexVar, init_variables_css, maxWidthVar, minWidthVar, widthVar } from "./variables.css.js";
|
|
5
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
6
|
-
import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.
|
|
5
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
6
|
+
import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectWithoutProperties.js";
|
|
7
7
|
import { forwardRef, useMemo } from "react";
|
|
8
8
|
import { consoleLightTheme } from "@ultraviolet/themes";
|
|
9
9
|
import { cn } from "@ultraviolet/utils";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
4
|
import { StepperProvider, init_StepperProvider } from "./StepperProvider.js";
|
|
5
5
|
import { init_styles_css, stepperStyle } from "./styles.css.js";
|
|
6
6
|
import { Step, init_Step } from "./Step.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
4
|
import { init_ColumnProvider, useColumnProvider } from "../List/ColumnProvider.js";
|
|
5
5
|
import { init_styles_css, tableStyle } from "./styles.css.js";
|
|
6
6
|
import { init_variables_css, maxWidthCell, minWidthCell, widthCell } from "./variables.css.js";
|
|
@@ -47,7 +47,7 @@ var init_HeaderCell = __esmMin(() => {
|
|
|
47
47
|
children: /* @__PURE__ */ jsxs(Text, {
|
|
48
48
|
as: "div",
|
|
49
49
|
className: tableStyle.headerCellText,
|
|
50
|
-
sentiment: order
|
|
50
|
+
sentiment: order === void 0 ? "neutral" : "primary",
|
|
51
51
|
variant: "bodySmallStronger",
|
|
52
52
|
children: [
|
|
53
53
|
children,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
4
|
-
import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
|
+
import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectWithoutProperties.js";
|
|
5
5
|
import { ListProvider, init_ListContext, useListContext } from "../List/ListContext.js";
|
|
6
6
|
import { createContext, useContext, useEffect, useMemo } from "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -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,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
4
|
-
import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
|
+
import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectWithoutProperties.js";
|
|
5
5
|
import { Stack, init_Stack } from "../Stack/index.js";
|
|
6
6
|
import { Tooltip, init_Tooltip } from "../Tooltip/index.js";
|
|
7
7
|
import { Text, init_Text } from "../Text/index.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
4
|
-
import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
|
+
import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectWithoutProperties.js";
|
|
5
5
|
import { Menu, init_Menu } from "../Menu/index.js";
|
|
6
6
|
import { init_styles_css, tabsStyle } from "./styles.css.js";
|
|
7
7
|
import { forwardRef } from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
4
|
-
import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
|
+
import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectWithoutProperties.js";
|
|
5
5
|
import { Menu, init_Menu } from "../Menu/index.js";
|
|
6
6
|
import { init_TabsContext, useTabsContext } from "./TabsContext.js";
|
|
7
7
|
import { init_styles_css, tabsStyle } from "./styles.css.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
4
|
-
import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
|
+
import { _objectWithoutProperties, init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectWithoutProperties.js";
|
|
5
5
|
import { TabsContext, init_TabsContext } from "./TabsContext.js";
|
|
6
6
|
import { init_styles_css, tabsStyle } from "./styles.css.js";
|
|
7
7
|
import { Tab, init_Tab } from "./Tab.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AAKtC;;;GAGG;AACH,eAAO,MAAM,GAAG,uKAeb,QAAQ,4CAqHV,CAAA"}
|
|
@@ -4,8 +4,9 @@ import { Tooltip, init_Tooltip } from "../Tooltip/index.js";
|
|
|
4
4
|
import { init_styles_css, tagStyle } from "./styles.css.js";
|
|
5
5
|
import { TagInner, init_TagInner } from "./TagInner.js";
|
|
6
6
|
import { useMemo } from "react";
|
|
7
|
-
import { cn
|
|
7
|
+
import { cn } from "@ultraviolet/utils";
|
|
8
8
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
import { useClipboard } from "@scaleway/use-clipboard";
|
|
9
10
|
|
|
10
11
|
//#region src/components/Tag/index.tsx
|
|
11
12
|
var COPY_DURATION, Tag;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
4
|
import { Stack, init_Stack } from "../Stack/index.js";
|
|
5
5
|
import { Tooltip, init_Tooltip } from "../Tooltip/index.js";
|
|
6
6
|
import { Button, init_Button } from "../Button/index.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
4
|
import { Tag, init_Tag } from "../Tag/index.js";
|
|
5
5
|
import { Popover, init_Popover } from "../Popover/index.js";
|
|
6
6
|
import { DEFAULT_POPOVER_MAX_HEIGHT, TAGS_GAP, init_constant } from "./constant.js";
|
|
@@ -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
35
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Text/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAItD,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Text/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAItD,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAG5E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAEhD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAI9C,KAAK,eAAe,GAAG,MAAM,OAAO,WAAW,CAAA;AAC/C,KAAK,cAAc,GAAG,aAAa,CAAC,WAAW,CAAC,CAAA;AAChD,KAAK,eAAe,GAAG,aAAa,CAAC,YAAY,CAAC,CAAA;AAElD,KAAK,SAAS,GAAG;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,SAAS,CAAA;IACnB,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,OAAO,EAAE,WAAW,CAAA;IACpB,SAAS,CAAC,EAAE,aAAa,CAAA;IACzB,UAAU,CAAC,EAAE,eAAe,CAAA;IAC5B,EAAE,EAAE,WAAW,CAAA;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,GAAG,CAAC,EAAE,KAAK,GAAG,KAAK,GAAG,MAAM,CAAA;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,UAAU,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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
4
|
import recursivelyGetChildrenString, { init_recursivelyGetChildrenString } from "../../helpers/recursivelyGetChildrenString.js";
|
|
5
5
|
import { init_useIsOverflowing, useIsOverflowing } from "../../hooks/useIsOverflowing.js";
|
|
6
6
|
import { Tooltip, init_Tooltip } from "../Tooltip/index.js";
|
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
4
|
import { Stack, init_Stack } from "../Stack/index.js";
|
|
5
5
|
import { Tooltip, init_Tooltip } from "../Tooltip/index.js";
|
|
6
6
|
import { Button, init_Button } from "../Button/index.js";
|
|
@@ -110,7 +110,7 @@ var init_TextArea = __esmMin(() => {
|
|
|
110
110
|
placeholder,
|
|
111
111
|
readOnly: !!readOnly,
|
|
112
112
|
ref: textAreaRef,
|
|
113
|
-
rows: rows
|
|
113
|
+
rows: rows === "auto" ? 1 : rows,
|
|
114
114
|
style: _objectSpread2(_objectSpread2({}, assignInlineVars({ [paddingRightVar]: `calc(${theme.space[computedClearable && (!!success || !!error) ? "4" : "3"]} + ${computedClearable ? `${SIZE_HEIGHT.xsmall}px` : "0px"} + ${!!success || !!error ? `${STATE_ICON_SIZE}px` : "0px"})` })), style),
|
|
115
115
|
tabIndex,
|
|
116
116
|
value
|
|
@@ -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;
|
|
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"}
|
|
@@ -3,7 +3,7 @@ import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
|
3
3
|
//#region src/components/TimeInput/helpers.ts
|
|
4
4
|
var regexNumber, isNumber, isAOrP, isValidNewHour, isCompleteHour, canConcat, getLastTypedChar, getValueByType, setValueByType, format;
|
|
5
5
|
var init_helpers = __esmMin(() => {
|
|
6
|
-
regexNumber = /^\d
|
|
6
|
+
regexNumber = /^\d+$/u;
|
|
7
7
|
isNumber = (key) => regexNumber.test(key);
|
|
8
8
|
isAOrP = (key) => [
|
|
9
9
|
"a",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TimeInput/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAoBjE,MAAM,MAAM,IAAI,GAAG;IACjB,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,KAAK,cAAc,GAAG;IACpB,WAAW,CAAC,EAAE,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AAE,aAAa,CAAA;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B,GAAG,CACA;IACE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,KAAK,CAAA;CACrB,GACD;IACE,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,YAAY,EAAE,MAAM,CAAA;CACrB,CACJ,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,SAAS,oRAuBnB,cAAc,4CAqVhB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
4
|
import { Stack, init_Stack } from "../Stack/index.js";
|
|
5
5
|
import { Text, init_Text } from "../Text/index.js";
|
|
6
6
|
import { hasHelperText, init_hasHelperText } from "../../helpers/hasHelperText.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
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
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
4
|
import { getDataColors, init_treeMap } from "../../helpers/treeMap.js";
|
|
5
5
|
import { init_styles_css, treeMapChartStyle } from "./styles.css.js";
|
|
6
6
|
import { Tooltip, init_Tooltip } from "./Tooltip.js";
|
|
@@ -31,9 +31,9 @@ var init_VerificationCode = __esmMin(() => {
|
|
|
31
31
|
const inputOnChange = (index) => (event) => {
|
|
32
32
|
var _next$current;
|
|
33
33
|
let { value } = event.target;
|
|
34
|
-
if (type === "number") value = event.target.value.replace(/[^\d]/
|
|
34
|
+
if (type === "number") value = event.target.value.replace(/[^\d]/giu, "");
|
|
35
35
|
const newValues = [...values];
|
|
36
|
-
if (value === "" || type === "number" && !new RegExp(event.target.pattern).test(value)) {
|
|
36
|
+
if (value === "" || type === "number" && !new RegExp(event.target.pattern, "u").test(value)) {
|
|
37
37
|
newValues[index] = "";
|
|
38
38
|
setValues(newValues);
|
|
39
39
|
return;
|
|
@@ -93,7 +93,7 @@ var init_VerificationCode = __esmMin(() => {
|
|
|
93
93
|
const inputOnPaste = (currentIndex) => (event) => {
|
|
94
94
|
var _next$current3;
|
|
95
95
|
event.preventDefault();
|
|
96
|
-
const pastedValue = [...event.clipboardData.getData("Text")].map((copiedValue) => type === "number" ? copiedValue.replace(/[^\d]/
|
|
96
|
+
const pastedValue = [...event.clipboardData.getData("Text")].map((copiedValue) => type === "number" ? copiedValue.replace(/[^\d]/giu, "") : copiedValue);
|
|
97
97
|
pastedValue.splice(fields - currentIndex < pastedValue.length ? fields - currentIndex : pastedValue.length);
|
|
98
98
|
setValues((vals) => {
|
|
99
99
|
const newArray = structuredClone(vals);
|
|
@@ -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,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAA;AACtE,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC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;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"}
|
package/dist/components/index.js
CHANGED
|
@@ -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();
|
package/dist/composition.js
CHANGED
|
@@ -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,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
4
|
import { init_constants, maximumFractionDigits, maximumFractionDigitsLong, multiplier } from "../constants.js";
|
|
5
5
|
import { init_EstimateCostProvider, useEstimateCost } from "../EstimateCostProvider.js";
|
|
6
6
|
import { calculatePrice, init_helper } from "../helper.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.
|
|
4
|
-
import { _objectWithoutProperties, init_objectWithoutProperties } from "../../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
|
+
import { _objectWithoutProperties, init_objectWithoutProperties } from "../../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectWithoutProperties.js";
|
|
5
5
|
import { estimateCostStyle, init_styles_css } from "../styles.css.js";
|
|
6
6
|
import { cn } from "@ultraviolet/utils";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
4
|
import { init_OverlayContext, useOverlay } from "../OverlayContext.js";
|
|
5
5
|
import { estimateCostStyle, init_styles_css } from "../styles.css.js";
|
|
6
6
|
import { NumberInput, init_NumberInput } from "../../../components/NumberInput/index.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
4
|
import en_default, { init_en } from "./locales/en.js";
|
|
5
5
|
import { createContext, useCallback, useContext, useMemo } from "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
3
3
|
import { estimateCostStyle, init_styles_css } from "./styles.css.js";
|
|
4
4
|
import { cn } from "@ultraviolet/utils";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
4
|
import { Row, init_Row as init_Row$1 } from "../../../components/Row/index.js";
|
|
5
5
|
import { infoTableStyle, init_styles_css, rowWidth } from "../styles.css.js";
|
|
6
6
|
import { InfoTableContext, init_Context } from "../Context.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
4
4
|
import { ANIMATION_EASING, init_constants } from "./constants.js";
|
|
5
5
|
import en_default, { init_en } from "./locales/en.js";
|
|
6
6
|
import { init_variables_css, widthNavigationContainerDuration } from "./variables.css.js";
|
|
@@ -96,7 +96,7 @@ var init_ItemExpanded = __esmMin(() => {
|
|
|
96
96
|
noExpand,
|
|
97
97
|
subLabel,
|
|
98
98
|
type
|
|
99
|
-
}), animation
|
|
99
|
+
}), animation === "collapse" ? null : /* @__PURE__ */ jsxs(Stack, {
|
|
100
100
|
alignItems: "center",
|
|
101
101
|
direction: "row",
|
|
102
102
|
gap: href ? 1 : void 0,
|
|
@@ -125,7 +125,7 @@ var init_ItemExpanded = __esmMin(() => {
|
|
|
125
125
|
sentiment: "neutral"
|
|
126
126
|
}) : null
|
|
127
127
|
]
|
|
128
|
-
})
|
|
128
|
+
})]
|
|
129
129
|
}), children && expanded ? /* @__PURE__ */ jsx(ItemChildren, {
|
|
130
130
|
internalExpanded,
|
|
131
131
|
noExpand,
|
|
@@ -1,4 +1,5 @@
|
|
|
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";
|
|
4
5
|
import { init_variables_css_ts_vanilla } from "./variables.css.ts.vanilla.js";
|
|
@@ -9,6 +10,7 @@ import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
|
9
10
|
//#region src/compositions/Navigation/styles.css.ts
|
|
10
11
|
var navigationStyle;
|
|
11
12
|
var init_styles_css = __esmMin(() => {
|
|
13
|
+
init_themes_css_js_vanilla();
|
|
12
14
|
init_animationsVanillaExtract_css_ts_vanilla();
|
|
13
15
|
init_items_css_ts_vanilla();
|
|
14
16
|
init_variables_css_ts_vanilla();
|