@ultraviolet/ui 1.73.2 → 1.75.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/components/Checkbox/index.cjs +2 -2
- package/dist/components/CheckboxGroup/index.cjs +2 -2
- package/dist/components/Chip/ChipContext.cjs +5 -0
- package/dist/components/Chip/ChipContext.d.ts +8 -0
- package/dist/components/Chip/ChipContext.js +5 -0
- package/dist/components/Chip/ChipIcon.cjs +62 -0
- package/dist/components/Chip/ChipIcon.d.ts +13 -0
- package/dist/components/Chip/ChipIcon.js +42 -0
- package/dist/components/Chip/index.cjs +106 -0
- package/dist/components/Chip/index.d.ts +22 -0
- package/dist/components/Chip/index.js +104 -0
- package/dist/components/CopyButton/index.cjs +6 -2
- package/dist/components/CopyButton/index.d.ts +2 -1
- package/dist/components/CopyButton/index.js +6 -2
- package/dist/components/DateInput/index.cjs +2 -2
- package/dist/components/List/HeaderCell.cjs +4 -4
- package/dist/components/NumberInputV2/index.cjs +2 -2
- package/dist/components/RadioGroup/index.cjs +2 -2
- package/dist/components/SelectInputV2/Dropdown.cjs +10 -10
- package/dist/components/SelectInputV2/Dropdown.js +10 -10
- package/dist/components/SelectInputV2/SearchBarDropdown.cjs +2 -2
- package/dist/components/SelectInputV2/SelectBar.cjs +5 -5
- package/dist/components/SelectInputV2/index.cjs +2 -2
- package/dist/components/SelectableCardGroup/index.cjs +2 -2
- package/dist/components/Slider/components/Label.cjs +2 -2
- package/dist/components/Snippet/index.cjs +14 -13
- package/dist/components/Snippet/index.d.ts +2 -1
- package/dist/components/Snippet/index.js +12 -11
- package/dist/components/Stepper/Step.cjs +4 -4
- package/dist/components/Stepper/Step.js +4 -4
- package/dist/components/Table/HeaderCell.cjs +4 -4
- package/dist/components/TagInput/index.cjs +4 -4
- package/dist/components/TextArea/index.cjs +23 -11
- package/dist/components/TextArea/index.d.ts +4 -1
- package/dist/components/TextArea/index.js +20 -8
- package/dist/components/TextInputV2/index.cjs +4 -4
- package/dist/components/Toggle/index.cjs +2 -2
- package/dist/components/ToggleGroup/index.cjs +2 -2
- package/dist/components/UnitInput/index.cjs +4 -4
- package/dist/components/index.d.ts +1 -0
- package/dist/index.cjs +122 -120
- package/dist/index.js +2 -0
- package/package.json +3 -3
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
4
4
|
const _styled = require("@emotion/styled/base");
|
|
5
|
-
const
|
|
5
|
+
const Icon = require("@ultraviolet/icons");
|
|
6
6
|
const React = require("react");
|
|
7
7
|
const index$2 = require("../Row/index.cjs");
|
|
8
8
|
const index$1 = require("../Stack/index.cjs");
|
|
@@ -105,7 +105,7 @@ const StyledLabel = /* @__PURE__ */ _styled__default.default("label", process.en
|
|
|
105
105
|
}) => SIZES[size].ball * 1.3775, 'px;}&[aria-disabled="true"]{cursor:not-allowed;color:', ({
|
|
106
106
|
theme
|
|
107
107
|
}) => theme.colors.neutral.textDisabled, ";}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3VsdHJhdmlvbGV0L3VsdHJhdmlvbGV0L3BhY2thZ2VzL3VpL3NyYy9jb21wb25lbnRzL1RvZ2dsZS9pbmRleC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBOElFIiwiZmlsZSI6Ii9ob21lL3J1bm5lci93b3JrL3VsdHJhdmlvbGV0L3VsdHJhdmlvbGV0L3BhY2thZ2VzL3VpL3NyYy9jb21wb25lbnRzL1RvZ2dsZS9pbmRleC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcbmltcG9ydCB7IEFzdGVyaXNrSWNvbiB9IGZyb20gJ0B1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bFxuICAgICAgICAgIGFyaWEtZGlzYWJsZWQ9e2Rpc2FibGVkfVxuICAgICAgICAgIHNpemU9e3NpemV9XG4gICAgICAgICAgb25DbGljaz17ZXZ0ID0+IGV2dC5zdG9wUHJvcGFnYXRpb24oKX1cbiAgICAgICAgICBjbGFzc05hbWU9e2NsYXNzTmFtZX1cbiAgICAgICAgICBkYXRhLXRlc3RpZD17ZGF0YVRlc3RJZH1cbiAgICAgICAgICBsYWJlbFBvc2l0aW9uPXtsYWJlbFBvc2l0aW9ufVxuICAgICAgICA+XG4gICAgICAgICAgPFN0YWNrIGdhcD17MC4yNX0gYWxpZ25JdGVtcz1cImJhc2VsaW5lXCI+XG4gICAgICAgICAgICB7bGFiZWwgPyAoXG4gICAgICAgICAgICAgIDxSb3cgdGVtcGxhdGVDb2x1bW5zPVwiYXV0byAxZnJcIiBnYXA9ezF9IGFsaWduSXRlbXM9XCJjZW50ZXJcIj5cbiAgICAgICAgICAgICAgICB7dHlwZW9mIGxhYmVsID09PSAnc3RyaW5nJyA/IChcbiAgICAgICAgICAgICAgICAgIDxUZXh0XG4gICAgICAgICAgICAgICAgICAgIGFzPVwic3BhblwiXG4gICAgICAgICAgICAgICAgICAgIHZhcmlhbnQ9e3NpemUgPT09ICdsYXJnZScgPyAnYm9keScgOiAnYm9keVNtYWxsJ31cbiAgICAgICAgICAgICAgICAgICAgcHJvbWluZW5jZT1cImRlZmF1bHRcIlxuICAgICAgICAgICAgICAgICAgICBzZW50aW1lbnQ9XCJuZXV0cmFsXCJcbiAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAge2xhYmVsfVxuICAgICAgICAgICAgICAgICAgPC9UZXh0PlxuICAgICAgICAgICAgICAgICkgOiAoXG4gICAgICAgICAgICAgICAgICBsYWJlbFxuICAgICAgICAgICAgICAgICl9XG4gICAgICAgICAgICAgICAge3JlcXVpcmVkID8gPFJlcXVpcmVkSWNvbiAvPiA6IG51bGx9XG4gICAgICAgICAgICAgIDwvUm93PlxuICAgICAgICAgICAgKSA6IG51bGx9XG4gICAgICAgICAgICB7dHlwZW9mIGVycm9yID09PSAnc3RyaW5nJyA/IChcbiAgICAgICAgICAgICAgPFRleHRcbiAgICAgICAgICAgICAgICBhcz1cInBcIlxuICAgICAgICAgICAgICAgIHZhcmlhbnQ9XCJib2R5U21hbGxcIlxuICAgICAgICAgICAgICAgIHByb21pbmVuY2U9XCJkZWZhdWx0XCJcbiAgICAgICAgICAgICAgICBzZW50aW1lbnQ9XCJkYW5nZXJcIlxuICAgICAgICAgICAgICAgIGRpc2FibGVkPXtkaXNhYmxlZH1cbiAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgIHtlcnJvcn1cbiAgICAgICAgICAgICAgPC9UZXh0PlxuICAgICAgICAgICAgKSA6IG51bGx9XG4gICAgICAgICAgICB7aGVscGVyICYmICFlcnJvciA/IChcbiAgICAgICAgICAgICAgPFRleHRcbiAgICAgICAgICAgICAgICBhcz1cInBcIlxuICAgICAgICAgICAgICAgIHZhcmlhbnQ9XCJjYXB0aW9uXCJcbiAgICAgICAgICAgICAgICBwcm9taW5lbmNlPVwid2Vha1wiXG4gICAgICAgICAgICAgICAgc2VudGltZW50PVwibmV1dHJhbFwiXG4gICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICB7aGVscGVyfVxuICAgICAgICAgICAgICA8L1RleHQ+XG4gICAgICAgICAgICApIDogbnVsbH1cbiAgICAgICAgICA8L1N0YWNrPlxuICAgICAgICAgIDxTdHlsZWRUb2dnbGVcbiAgICAgICAgICAgIHNpemU9e3NpemV9XG4gICAgICAgICAgICBkYXRhLWNoZWNrZWQ9e3N0YXRlfVxuICAgICAgICAgICAgZGF0YS1kaXNhYmxlZD17ZGlzYWJsZWR9XG4gICAgICAgICAgICBkYXRhLWVycm9yPXshIWVycm9yfVxuICAgICAgICAgID5cbiAgICAgICAgICAgIDxTdHlsZWRDaGVja2JveFxuICAgICAgICAgICAgICBpZD17aWQgfHwgdW5pcXVlSWR9XG4gICAgICAgICAgICAgIGNoZWNrZWQ9e3N0YXRlfVxuICAgICAgICAgICAgICBhcmlhLWNoZWNrZWQ9e3N0YXRlfVxuICAgICAgICAgICAgICBkaXNhYmxlZD17ZGlzYWJsZWR9XG4gICAgICAgICAgICAgIG5hbWU9e25hbWV9XG4gICAgICAgICAgICAgIG9uQ2hhbmdlPXtvbkxvY2FsQ2hhbmdlfVxuICAgICAgICAgICAgICB0eXBlPVwiY2hlY2tib3hcIlxuICAgICAgICAgICAgICByZWY9e3JlZn1cbiAgICAgICAgICAgICAgdmFsdWU9e3ZhbHVlfVxuICAgICAgICAgICAgICBhcmlhLWxhYmVsPXthcmlhTGFiZWx9XG4gICAgICAgICAgICAvPlxuICAgICAgICAgIDwvU3R5bGVkVG9nZ2xlPlxuICAgICAgICA8L1N0eWxlZExhYmVsPlxuICAgICAgPC9Ub29sdGlwPlxuICAgIClcbiAgfSxcbilcbiJdfQ== */"));
|
|
108
|
-
const RequiredIcon = () => /* @__PURE__ */ jsxRuntime.jsx("sup", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
108
|
+
const RequiredIcon = () => /* @__PURE__ */ jsxRuntime.jsx("sup", { children: /* @__PURE__ */ jsxRuntime.jsx(Icon.AsteriskIcon, { size: 8, sentiment: "danger" }) });
|
|
109
109
|
const Toggle = React.forwardRef(({
|
|
110
110
|
checked = false,
|
|
111
111
|
disabled = false,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
4
4
|
const _styled = require("@emotion/styled/base");
|
|
5
|
-
const
|
|
5
|
+
const Icon = require("@ultraviolet/icons");
|
|
6
6
|
const React = require("react");
|
|
7
7
|
const index = require("../Stack/index.cjs");
|
|
8
8
|
const index$1 = require("../Text/index.cjs");
|
|
@@ -50,7 +50,7 @@ const FieldSet = /* @__PURE__ */ _styled__default.default("fieldset", process.en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ZW5jZT1cInN0cm9uZ1wiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgIHtsZWdlbmR9Jm5ic3A7XG4gICAgICAgICAgICAgIHtyZXF1aXJlZCA/IDxTdHlsZWRSZXF1aXJlZEljb24gY29sb3I9XCJkYW5nZXJcIiBzaXplPXs4fSAvPiA6IG51bGx9XG4gICAgICAgICAgICA8L1RleHQ+XG4gICAgICAgICAgICA8U3RhY2sgZ2FwPXsyfSBkaXJlY3Rpb249e2RpcmVjdGlvbn0+XG4gICAgICAgICAgICAgIHtjaGlsZHJlbn1cbiAgICAgICAgICAgIDwvU3RhY2s+XG4gICAgICAgICAgPC9TdGFjaz5cbiAgICAgICAgPC9GaWVsZFNldD5cbiAgICAgICAge2hlbHBlciA/IChcbiAgICAgICAgICA8VGV4dCBhcz1cInBcIiB2YXJpYW50PVwiYm9keVNtYWxsXCIgcHJvbWluZW5jZT1cIndlYWtcIj5cbiAgICAgICAgICAgIHtoZWxwZXJ9XG4gICAgICAgICAgPC9UZXh0PlxuICAgICAgICApIDogbnVsbH1cbiAgICAgICAge2Vycm9yID8gKFxuICAgICAgICAgIDxUZXh0IGFzPVwicFwiIHZhcmlhbnQ9XCJib2R5U21hbGxcIiBzZW50aW1lbnQ9XCJkYW5nZXJcIiBwcm9taW5lbmNlPVwid2Vha1wiPlxuICAgICAgICAgICAge2Vycm9yfVxuICAgICAgICAgIDwvVGV4dD5cbiAgICAgICAgKSA6IG51bGx9XG4gICAgICA8L1N0YWNrPlxuICAgIDwvVG9nZ2xlR3JvdXBDb250ZXh0LlByb3ZpZGVyPlxuICApXG59XG5cblRvZ2dsZUdyb3VwLlRvZ2dsZSA9IFRvZ2dsZUdyb3VwVG9nZ2xlXG4iXX0= */",
|
|
51
51
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
52
52
|
});
|
|
53
|
-
const StyledRequiredIcon = /* @__PURE__ */ _styled__default.default(
|
|
53
|
+
const StyledRequiredIcon = /* @__PURE__ */ _styled__default.default(Icon.AsteriskIcon, process.env.NODE_ENV === "production" ? {
|
|
54
54
|
target: "e1qvneex0"
|
|
55
55
|
} : {
|
|
56
56
|
target: "e1qvneex0",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
4
4
|
const _styled = require("@emotion/styled/base");
|
|
5
|
-
const
|
|
5
|
+
const Icon = require("@ultraviolet/icons");
|
|
6
6
|
const React = require("react");
|
|
7
7
|
const index$1 = require("../SelectInputV2/index.cjs");
|
|
8
8
|
const index = require("../Stack/index.cjs");
|
|
@@ -150,7 +150,7 @@ const UnitInput = ({
|
|
|
150
150
|
return /* @__PURE__ */ jsxRuntime.jsxs(index.Stack, { gap: 0.5, children: [
|
|
151
151
|
label ? /* @__PURE__ */ jsxRuntime.jsxs(index.Stack, { direction: "row", gap: 0.5, alignItems: "center", children: [
|
|
152
152
|
/* @__PURE__ */ jsxRuntime.jsx(index$2.Text, { as: "label", variant: size === "large" ? "bodyStrong" : "bodySmallStrong", disabled, htmlFor: id ?? localId, prominence: "strong", sentiment: "neutral", children: label }),
|
|
153
|
-
required ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
153
|
+
required ? /* @__PURE__ */ jsxRuntime.jsx(Icon.AsteriskIcon, { sentiment: "danger", size: 8 }) : null,
|
|
154
154
|
labelInformation ?? null
|
|
155
155
|
] }) : null,
|
|
156
156
|
/* @__PURE__ */ jsxRuntime.jsxs(UnitInputWrapper, { direction: "row", "data-testid": dataTestId, "data-size": size, width, id, "data-success": !!success, "data-error": !!error, "data-disabled": !!disabled, "data-readonly": !!readOnly, onFocus, onBlur, onKeyDown, children: [
|
|
@@ -168,8 +168,8 @@ const UnitInput = ({
|
|
|
168
168
|
onChange?.(numericValue);
|
|
169
169
|
}
|
|
170
170
|
}, placeholder, max, readOnly, min, step, "data-success": success, "data-error": error, "data-testid": "unit-input", required, className, "data-size": size }),
|
|
171
|
-
error ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
172
|
-
success && !error ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
171
|
+
error ? /* @__PURE__ */ jsxRuntime.jsx(Icon.AlertCircleIcon, { sentiment: "danger" }) : null,
|
|
172
|
+
success && !error ? /* @__PURE__ */ jsxRuntime.jsx(Icon.CheckCircleIcon, { sentiment: "success" }) : null
|
|
173
173
|
] }),
|
|
174
174
|
/* @__PURE__ */ jsxRuntime.jsx(CustomSelectInput, { width: selectInputWidth, "data-disabled": disabled, id: "unit", name: `${name}-unit`, onChange: (newValue) => {
|
|
175
175
|
onChangeUnitValue?.(newValue);
|
|
@@ -13,6 +13,7 @@ export { Card } from './Card';
|
|
|
13
13
|
export { Carousel } from './Carousel';
|
|
14
14
|
export { Checkbox } from './Checkbox';
|
|
15
15
|
export { CheckboxGroup, CheckboxGroupCheckbox } from './CheckboxGroup';
|
|
16
|
+
export { Chip } from './Chip';
|
|
16
17
|
export { CopyButton } from './CopyButton';
|
|
17
18
|
export { DateInput } from './DateInput';
|
|
18
19
|
export { Dialog } from './Dialog';
|
package/dist/index.cjs
CHANGED
|
@@ -22,65 +22,66 @@ const index$c = require("./components/Card/index.cjs");
|
|
|
22
22
|
const index$d = require("./components/Carousel/index.cjs");
|
|
23
23
|
const index$e = require("./components/Checkbox/index.cjs");
|
|
24
24
|
const index$f = require("./components/CheckboxGroup/index.cjs");
|
|
25
|
-
const index$g = require("./components/
|
|
26
|
-
const index$h = require("./components/
|
|
27
|
-
const index$i = require("./components/
|
|
28
|
-
const index$j = require("./components/
|
|
29
|
-
const index$k = require("./components/
|
|
30
|
-
const index$l = require("./components/
|
|
31
|
-
const index$m = require("./components/
|
|
32
|
-
const index$n = require("./components/
|
|
33
|
-
const index$o = require("./components/
|
|
34
|
-
const index$p = require("./components/
|
|
35
|
-
const index$q = require("./components/
|
|
36
|
-
const index$r = require("./components/
|
|
37
|
-
const index$s = require("./components/
|
|
38
|
-
const index$t = require("./components/
|
|
39
|
-
const index$u = require("./components/
|
|
40
|
-
const index$v = require("./components/
|
|
41
|
-
const index$w = require("./components/
|
|
42
|
-
const index$x = require("./components/
|
|
43
|
-
const index$y = require("./components/
|
|
44
|
-
const index$z = require("./components/
|
|
45
|
-
const index$A = require("./components/
|
|
46
|
-
const index$B = require("./components/
|
|
47
|
-
const index$C = require("./components/
|
|
48
|
-
const index$D = require("./components/
|
|
49
|
-
const index$E = require("./components/
|
|
50
|
-
const index$F = require("./components/
|
|
51
|
-
const index$G = require("./components/
|
|
52
|
-
const index$H = require("./components/
|
|
53
|
-
const index$I = require("./components/
|
|
54
|
-
const index$J = require("./components/
|
|
55
|
-
const index$K = require("./components/
|
|
56
|
-
const index$L = require("./components/
|
|
57
|
-
const index$M = require("./components/
|
|
58
|
-
const index$N = require("./components/
|
|
59
|
-
const index$O = require("./components/
|
|
60
|
-
const index$P = require("./components/
|
|
61
|
-
const index$Q = require("./components/
|
|
62
|
-
const index$R = require("./components/
|
|
63
|
-
const index$S = require("./components/
|
|
64
|
-
const index$T = require("./components/
|
|
65
|
-
const index$U = require("./components/
|
|
66
|
-
const index$V = require("./components/
|
|
67
|
-
const index$W = require("./components/
|
|
68
|
-
const index$X = require("./components/
|
|
69
|
-
const index$Y = require("./components/
|
|
70
|
-
const index$Z = require("./components/
|
|
71
|
-
const index$_ = require("./components/
|
|
72
|
-
const index$$ = require("./components/
|
|
73
|
-
const index$10 = require("./components/
|
|
74
|
-
const index$11 = require("./components/
|
|
75
|
-
const index$12 = require("./components/
|
|
76
|
-
const index$13 = require("./components/
|
|
77
|
-
const index$14 = require("./components/
|
|
78
|
-
const index$15 = require("./components/
|
|
79
|
-
const index$16 = require("./components/
|
|
80
|
-
const index$17 = require("./components/
|
|
81
|
-
const index$18 = require("./components/
|
|
82
|
-
const index$19 = require("./components/
|
|
83
|
-
const index$1a = require("./components/
|
|
25
|
+
const index$g = require("./components/Chip/index.cjs");
|
|
26
|
+
const index$h = require("./components/CopyButton/index.cjs");
|
|
27
|
+
const index$i = require("./components/DateInput/index.cjs");
|
|
28
|
+
const index$j = require("./components/Dialog/index.cjs");
|
|
29
|
+
const index$k = require("./components/EmptyState/index.cjs");
|
|
30
|
+
const index$l = require("./components/Expandable/index.cjs");
|
|
31
|
+
const index$m = require("./components/ExpandableCard/index.cjs");
|
|
32
|
+
const index$n = require("./components/GlobalAlert/index.cjs");
|
|
33
|
+
const index$o = require("./components/LineChart/index.cjs");
|
|
34
|
+
const index$p = require("./components/Link/index.cjs");
|
|
35
|
+
const index$q = require("./components/List/index.cjs");
|
|
36
|
+
const index$r = require("./components/Loader/index.cjs");
|
|
37
|
+
const index$s = require("./components/Menu/index.cjs");
|
|
38
|
+
const index$t = require("./components/MenuV2/index.cjs");
|
|
39
|
+
const index$u = require("./components/Meter/index.cjs");
|
|
40
|
+
const index$v = require("./components/Modal/index.cjs");
|
|
41
|
+
const index$w = require("./components/Notice/index.cjs");
|
|
42
|
+
const index$x = require("./components/Notification/index.cjs");
|
|
43
|
+
const index$y = require("./components/NumberInput/index.cjs");
|
|
44
|
+
const index$z = require("./components/NumberInputV2/index.cjs");
|
|
45
|
+
const index$A = require("./components/Pagination/index.cjs");
|
|
46
|
+
const index$B = require("./components/PasswordCheck/index.cjs");
|
|
47
|
+
const index$C = require("./components/PasswordStrengthMeter/index.cjs");
|
|
48
|
+
const index$D = require("./components/PieChart/index.cjs");
|
|
49
|
+
const index$E = require("./components/Popover/index.cjs");
|
|
50
|
+
const index$F = require("./components/Popup/index.cjs");
|
|
51
|
+
const index$G = require("./components/ProgressBar/index.cjs");
|
|
52
|
+
const index$H = require("./components/Radio/index.cjs");
|
|
53
|
+
const index$I = require("./components/RadioGroup/index.cjs");
|
|
54
|
+
const index$J = require("./components/Row/index.cjs");
|
|
55
|
+
const index$K = require("./components/SearchInput/index.cjs");
|
|
56
|
+
const index$L = require("./components/SelectableCard/index.cjs");
|
|
57
|
+
const index$M = require("./components/SelectableCardGroup/index.cjs");
|
|
58
|
+
const index$N = require("./components/SelectInput/index.cjs");
|
|
59
|
+
const index$O = require("./components/SelectInputV2/index.cjs");
|
|
60
|
+
const index$P = require("./components/Separator/index.cjs");
|
|
61
|
+
const index$Q = require("./components/Skeleton/index.cjs");
|
|
62
|
+
const index$R = require("./components/Slider/index.cjs");
|
|
63
|
+
const index$S = require("./components/Snippet/index.cjs");
|
|
64
|
+
const index$T = require("./components/Stack/index.cjs");
|
|
65
|
+
const index$U = require("./components/Status/index.cjs");
|
|
66
|
+
const index$V = require("./components/StepList/index.cjs");
|
|
67
|
+
const index$W = require("./components/Stepper/index.cjs");
|
|
68
|
+
const index$X = require("./components/SwitchButton/index.cjs");
|
|
69
|
+
const index$Y = require("./components/Table/index.cjs");
|
|
70
|
+
const index$Z = require("./components/Tabs/index.cjs");
|
|
71
|
+
const index$_ = require("./components/Tag/index.cjs");
|
|
72
|
+
const index$$ = require("./components/TagInput/index.cjs");
|
|
73
|
+
const index$10 = require("./components/TagList/index.cjs");
|
|
74
|
+
const index$11 = require("./components/Text/index.cjs");
|
|
75
|
+
const index$12 = require("./components/TextArea/index.cjs");
|
|
76
|
+
const index$13 = require("./components/TextInput/index.cjs");
|
|
77
|
+
const index$14 = require("./components/TextInputV2/index.cjs");
|
|
78
|
+
const index$15 = require("./components/TimeInput/index.cjs");
|
|
79
|
+
const index$16 = require("./components/Toaster/index.cjs");
|
|
80
|
+
const index$17 = require("./components/Toggle/index.cjs");
|
|
81
|
+
const index$18 = require("./components/ToggleGroup/index.cjs");
|
|
82
|
+
const index$19 = require("./components/Tooltip/index.cjs");
|
|
83
|
+
const index$1a = require("./components/UnitInput/index.cjs");
|
|
84
|
+
const index$1b = require("./components/VerificationCode/index.cjs");
|
|
84
85
|
const legacy = require("@ultraviolet/icons/legacy");
|
|
85
86
|
exports.extendTheme = index.extendTheme;
|
|
86
87
|
Object.defineProperty(exports, "darkTheme", {
|
|
@@ -139,67 +140,68 @@ exports.Carousel = index$d.Carousel;
|
|
|
139
140
|
exports.Checkbox = index$e.Checkbox;
|
|
140
141
|
exports.CheckboxGroup = index$f.CheckboxGroup;
|
|
141
142
|
exports.CheckboxGroupCheckbox = index$f.CheckboxGroupCheckbox;
|
|
142
|
-
exports.
|
|
143
|
-
exports.
|
|
144
|
-
exports.
|
|
145
|
-
exports.
|
|
146
|
-
exports.
|
|
147
|
-
exports.
|
|
148
|
-
exports.
|
|
149
|
-
exports.
|
|
150
|
-
exports.
|
|
151
|
-
exports.
|
|
152
|
-
exports.
|
|
153
|
-
exports.
|
|
154
|
-
exports.
|
|
155
|
-
exports.
|
|
156
|
-
exports.
|
|
157
|
-
exports.
|
|
158
|
-
exports.
|
|
159
|
-
exports.
|
|
160
|
-
exports.
|
|
161
|
-
exports.
|
|
162
|
-
exports.
|
|
163
|
-
exports.
|
|
164
|
-
exports.
|
|
165
|
-
exports.
|
|
166
|
-
exports.
|
|
167
|
-
exports.
|
|
168
|
-
exports.
|
|
169
|
-
exports.
|
|
170
|
-
exports.
|
|
171
|
-
exports.
|
|
172
|
-
exports.
|
|
173
|
-
exports.
|
|
174
|
-
exports.
|
|
175
|
-
exports.
|
|
176
|
-
exports.
|
|
177
|
-
exports.
|
|
178
|
-
exports.
|
|
179
|
-
exports.
|
|
180
|
-
exports.
|
|
181
|
-
exports.
|
|
182
|
-
exports.
|
|
183
|
-
exports.
|
|
184
|
-
exports.
|
|
185
|
-
exports.
|
|
186
|
-
exports.
|
|
187
|
-
exports.
|
|
188
|
-
exports.
|
|
189
|
-
exports.
|
|
190
|
-
exports.
|
|
191
|
-
exports.
|
|
192
|
-
exports.
|
|
193
|
-
exports.
|
|
194
|
-
exports.
|
|
195
|
-
exports.
|
|
196
|
-
exports.
|
|
197
|
-
exports.
|
|
198
|
-
exports.
|
|
199
|
-
exports.
|
|
200
|
-
exports.
|
|
201
|
-
exports.
|
|
202
|
-
exports.
|
|
143
|
+
exports.Chip = index$g.Chip;
|
|
144
|
+
exports.CopyButton = index$h.CopyButton;
|
|
145
|
+
exports.DateInput = index$i.DateInput;
|
|
146
|
+
exports.Dialog = index$j.Dialog;
|
|
147
|
+
exports.EmptyState = index$k.EmptyState;
|
|
148
|
+
exports.Expandable = index$l.Expandable;
|
|
149
|
+
exports.ExpandableCard = index$m.ExpandableCard;
|
|
150
|
+
exports.GlobalAlert = index$n.GlobalAlert;
|
|
151
|
+
exports.LineChart = index$o.LineChart;
|
|
152
|
+
exports.Link = index$p.Link;
|
|
153
|
+
exports.List = index$q.List;
|
|
154
|
+
exports.Loader = index$r.Loader;
|
|
155
|
+
exports.Menu = index$s.Menu;
|
|
156
|
+
exports.MenuV2 = index$t.MenuV2;
|
|
157
|
+
exports.Meter = index$u.Meter;
|
|
158
|
+
exports.Modal = index$v.Modal;
|
|
159
|
+
exports.Notice = index$w.Notice;
|
|
160
|
+
exports.NotificationContainer = index$x.NotificationContainer;
|
|
161
|
+
exports.notification = index$x.notification;
|
|
162
|
+
exports.NumberInput = index$y.NumberInput;
|
|
163
|
+
exports.NumberInputV2 = index$z.NumberInputV2;
|
|
164
|
+
exports.Pagination = index$A.Pagination;
|
|
165
|
+
exports.PasswordCheck = index$B.PasswordCheck;
|
|
166
|
+
exports.PasswordStrengthMeter = index$C.PasswordStrengthMeter;
|
|
167
|
+
exports.PieChart = index$D.PieChart;
|
|
168
|
+
exports.Popover = index$E.Popover;
|
|
169
|
+
exports.Popup = index$F.Popup;
|
|
170
|
+
exports.ProgressBar = index$G.ProgressBar;
|
|
171
|
+
exports.Radio = index$H.Radio;
|
|
172
|
+
exports.RadioGroup = index$I.RadioGroup;
|
|
173
|
+
exports.Row = index$J.Row;
|
|
174
|
+
exports.SearchInput = index$K.SearchInput;
|
|
175
|
+
exports.SelectableCard = index$L.SelectableCard;
|
|
176
|
+
exports.SelectableCardGroup = index$M.SelectableCardGroup;
|
|
177
|
+
exports.SelectInput = index$N.SelectInput;
|
|
178
|
+
exports.SelectInputV2 = index$O.SelectInputV2;
|
|
179
|
+
exports.Separator = index$P.Separator;
|
|
180
|
+
exports.Skeleton = index$Q.Skeleton;
|
|
181
|
+
exports.Slider = index$R.Slider;
|
|
182
|
+
exports.Snippet = index$S.Snippet;
|
|
183
|
+
exports.Stack = index$T.Stack;
|
|
184
|
+
exports.Status = index$U.Status;
|
|
185
|
+
exports.StepList = index$V.StepList;
|
|
186
|
+
exports.Stepper = index$W.Stepper;
|
|
187
|
+
exports.SwitchButton = index$X.SwitchButton;
|
|
188
|
+
exports.Table = index$Y.Table;
|
|
189
|
+
exports.Tabs = index$Z.Tabs;
|
|
190
|
+
exports.Tag = index$_.Tag;
|
|
191
|
+
exports.TagInput = index$$.TagInput;
|
|
192
|
+
exports.TagList = index$10.TagList;
|
|
193
|
+
exports.Text = index$11.Text;
|
|
194
|
+
exports.TextArea = index$12.TextArea;
|
|
195
|
+
exports.TextInput = index$13.TextInput;
|
|
196
|
+
exports.TextInputV2 = index$14.TextInputV2;
|
|
197
|
+
exports.TimeInput = index$15.TimeInput;
|
|
198
|
+
exports.ToastContainer = index$16.ToastContainer;
|
|
199
|
+
exports.toast = index$16.toast;
|
|
200
|
+
exports.Toggle = index$17.Toggle;
|
|
201
|
+
exports.ToggleGroup = index$18.ToggleGroup;
|
|
202
|
+
exports.Tooltip = index$19.Tooltip;
|
|
203
|
+
exports.UnitInput = index$1a.UnitInput;
|
|
204
|
+
exports.VerificationCode = index$1b.VerificationCode;
|
|
203
205
|
Object.defineProperty(exports, "Icon", {
|
|
204
206
|
enumerable: true,
|
|
205
207
|
get: () => legacy.Icon
|
package/dist/index.js
CHANGED
|
@@ -20,6 +20,7 @@ import { Card } from "./components/Card/index.js";
|
|
|
20
20
|
import { Carousel } from "./components/Carousel/index.js";
|
|
21
21
|
import { Checkbox } from "./components/Checkbox/index.js";
|
|
22
22
|
import { CheckboxGroup, CheckboxGroupCheckbox } from "./components/CheckboxGroup/index.js";
|
|
23
|
+
import { Chip } from "./components/Chip/index.js";
|
|
23
24
|
import { CopyButton } from "./components/CopyButton/index.js";
|
|
24
25
|
import { DateInput } from "./components/DateInput/index.js";
|
|
25
26
|
import { Dialog } from "./components/Dialog/index.js";
|
|
@@ -98,6 +99,7 @@ export {
|
|
|
98
99
|
Checkbox,
|
|
99
100
|
CheckboxGroup,
|
|
100
101
|
CheckboxGroupCheckbox,
|
|
102
|
+
Chip,
|
|
101
103
|
CopyButton,
|
|
102
104
|
DateInput,
|
|
103
105
|
Dialog,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultraviolet/ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.75.0",
|
|
4
4
|
"description": "Ultraviolet UI",
|
|
5
5
|
"homepage": "https://github.com/scaleway/ultraviolet#readme",
|
|
6
6
|
"repository": {
|
|
@@ -85,8 +85,8 @@
|
|
|
85
85
|
"react-toastify": "10.0.6",
|
|
86
86
|
"react-use-clipboard": "1.0.9",
|
|
87
87
|
"reakit": "1.3.11",
|
|
88
|
-
"@ultraviolet/
|
|
89
|
-
"@ultraviolet/
|
|
88
|
+
"@ultraviolet/themes": "1.14.2",
|
|
89
|
+
"@ultraviolet/icons": "3.4.0"
|
|
90
90
|
},
|
|
91
91
|
"scripts": {
|
|
92
92
|
"prebuild": "shx rm -rf dist",
|