@vkzstudio/muza-ui 1.9.0 → 1.9.2
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/FormField/FormField.js +16 -16
- package/dist/components/FormField/InputLabel.d.ts.map +1 -1
- package/dist/components/FormField/InputLabel.js +35 -25
- package/dist/components/Input/Input.stories.d.ts +1 -0
- package/dist/components/Input/Input.stories.d.ts.map +1 -1
- package/dist/components/RatingBlock/RatingBlock.d.ts.map +1 -1
- package/dist/components/RatingBlock/RatingBlock.js +22 -19
- package/dist/components/Select/Select.d.ts +26 -0
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/Select/Select.js +81 -73
- package/dist/components/Select/Select.stories.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +6 -1
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.js +17 -17
- package/dist/components/Tooltip/Tooltip.stories.d.ts +1 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts.map +1 -1
- package/dist/muza-ui.css +1 -1
- package/dist/styles/token-colors.css +4 -0
- package/dist/styles/token-sizes.css +12 -8
- package/dist/utils/cn.d.ts.map +1 -1
- package/dist/utils/cn.js +20 -1
- package/llms-full.md +2 -0
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as e, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as N } from "react";
|
|
3
|
-
import { cn as
|
|
4
|
-
import { InfoCircleBold as
|
|
5
|
-
import { Tooltip as
|
|
6
|
-
import { InputHint as
|
|
3
|
+
import { cn as w } from "../../utils/cn.js";
|
|
4
|
+
import { InfoCircleBold as g } from "@solar-icons/react-perf";
|
|
5
|
+
import { Tooltip as j, TooltipTrigger as C, TooltipContent as F } from "../Tooltip/Tooltip.js";
|
|
6
|
+
import { InputHint as T } from "./InputHint.js";
|
|
7
7
|
import { InputLabel as s } from "./InputLabel.js";
|
|
8
8
|
const y = N(
|
|
9
9
|
({
|
|
@@ -11,8 +11,8 @@ const y = N(
|
|
|
11
11
|
label: r,
|
|
12
12
|
hint: c,
|
|
13
13
|
error: a,
|
|
14
|
-
required:
|
|
15
|
-
disableRequiredAsterisk:
|
|
14
|
+
required: m,
|
|
15
|
+
disableRequiredAsterisk: t,
|
|
16
16
|
htmlFor: n,
|
|
17
17
|
labelId: p,
|
|
18
18
|
hintId: x,
|
|
@@ -21,25 +21,25 @@ const y = N(
|
|
|
21
21
|
labelRight: i,
|
|
22
22
|
className: v
|
|
23
23
|
}, u) => {
|
|
24
|
-
const f = h ?? (d ? /* @__PURE__ */ e(
|
|
25
|
-
/* @__PURE__ */ o(
|
|
26
|
-
/* @__PURE__ */ o(
|
|
24
|
+
const f = h ?? (d ? /* @__PURE__ */ e(j, { children: [
|
|
25
|
+
/* @__PURE__ */ o(C, { asChild: !0, children: /* @__PURE__ */ o(g, { className: "cursor-help text-comp-info-ico-def hover:text-comp-info-ico-hover" }) }),
|
|
26
|
+
/* @__PURE__ */ o(F, { children: d })
|
|
27
27
|
] }) : void 0);
|
|
28
28
|
return /* @__PURE__ */ e(
|
|
29
29
|
"div",
|
|
30
30
|
{
|
|
31
31
|
ref: u,
|
|
32
|
-
className:
|
|
32
|
+
className: w("flex min-w-0 flex-col gap-comp-input-gap", v),
|
|
33
33
|
children: [
|
|
34
34
|
(r || i) && (f || i ? /* @__PURE__ */ e("div", { className: "flex items-center justify-between", children: [
|
|
35
|
-
/* @__PURE__ */ e("div", { className: "flex items-center gap-2xs", children: [
|
|
35
|
+
/* @__PURE__ */ e("div", { className: "flex min-w-0 items-center gap-2xs", children: [
|
|
36
36
|
r && /* @__PURE__ */ o(
|
|
37
37
|
s,
|
|
38
38
|
{
|
|
39
39
|
htmlFor: n,
|
|
40
40
|
id: p,
|
|
41
|
-
required:
|
|
42
|
-
disableRequiredAsterisk:
|
|
41
|
+
required: m,
|
|
42
|
+
disableRequiredAsterisk: t,
|
|
43
43
|
children: r
|
|
44
44
|
}
|
|
45
45
|
),
|
|
@@ -51,13 +51,13 @@ const y = N(
|
|
|
51
51
|
{
|
|
52
52
|
htmlFor: n,
|
|
53
53
|
id: p,
|
|
54
|
-
required:
|
|
55
|
-
disableRequiredAsterisk:
|
|
54
|
+
required: m,
|
|
55
|
+
disableRequiredAsterisk: t,
|
|
56
56
|
children: r
|
|
57
57
|
}
|
|
58
58
|
)),
|
|
59
59
|
l,
|
|
60
|
-
c && /* @__PURE__ */ o(
|
|
60
|
+
c && /* @__PURE__ */ o(T, { error: a, id: x, children: c })
|
|
61
61
|
]
|
|
62
62
|
}
|
|
63
63
|
);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputLabel.d.ts","sourceRoot":"","sources":["../../../src/components/FormField/InputLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"InputLabel.d.ts","sourceRoot":"","sources":["../../../src/components/FormField/InputLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItC,MAAM,WAAW,eAAe;IAC9B,0BAA0B;IAC1B,QAAQ,EAAE,SAAS,CAAA;IACnB,sDAAsD;IACtD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,qEAAqE;IACrE,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;OAGG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAA;IACjC,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,UAAU,GAAI,0EAOxB,eAAe,4CAoCjB,CAAA"}
|
|
@@ -1,27 +1,37 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
1
|
+
import { jsx as e, jsxs as r, Fragment as l } from "react/jsx-runtime";
|
|
2
|
+
import { cn as p } from "../../utils/cn.js";
|
|
3
|
+
import { Typography as h } from "../Typography/Typography.js";
|
|
4
|
+
const f = ({
|
|
5
|
+
children: s,
|
|
6
|
+
htmlFor: a,
|
|
7
|
+
id: o,
|
|
8
|
+
required: i,
|
|
9
|
+
disableRequiredAsterisk: c,
|
|
10
|
+
className: m
|
|
11
|
+
}) => {
|
|
12
|
+
const n = i && !c, t = n && typeof s == "string" ? s.match(/^([\s\S]*\s)?(\S+)\s*$/) : null;
|
|
13
|
+
return /* @__PURE__ */ e(
|
|
14
|
+
h,
|
|
15
|
+
{
|
|
16
|
+
component: "label",
|
|
17
|
+
weight: "regular",
|
|
18
|
+
size: "sm",
|
|
19
|
+
htmlFor: a,
|
|
20
|
+
id: o,
|
|
21
|
+
className: p("block min-w-0 overflow-hidden text-ellipsis", m),
|
|
22
|
+
children: t ? /* @__PURE__ */ r(l, { children: [
|
|
23
|
+
t[1],
|
|
24
|
+
/* @__PURE__ */ r("span", { className: "inline-flex max-w-full", children: [
|
|
25
|
+
/* @__PURE__ */ e("span", { className: "truncate", children: t[2] }),
|
|
26
|
+
/* @__PURE__ */ e("span", { className: "shrink-0 text-comp-input-text-error", children: " *" })
|
|
27
|
+
] })
|
|
28
|
+
] }) : /* @__PURE__ */ r(l, { children: [
|
|
29
|
+
s,
|
|
30
|
+
n && /* @__PURE__ */ e("span", { className: "text-comp-input-text-error", children: " *" })
|
|
31
|
+
] })
|
|
32
|
+
}
|
|
33
|
+
);
|
|
34
|
+
};
|
|
25
35
|
export {
|
|
26
|
-
|
|
36
|
+
f as InputLabel
|
|
27
37
|
};
|
|
@@ -7,6 +7,7 @@ export declare const Default: Story;
|
|
|
7
7
|
export declare const InputWithPrefixAndSuffix: Story;
|
|
8
8
|
export declare const InputWithLabelAndHint: Story;
|
|
9
9
|
export declare const InputWithError: Story;
|
|
10
|
+
export declare const LongLabel: Story;
|
|
10
11
|
export declare const DisabledInput: Story;
|
|
11
12
|
export declare const InputWithMask: Story;
|
|
12
13
|
export declare const InputWithSerialNumberMask: Story;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAE3D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAgK5B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAA;AAGnC,eAAO,MAAM,OAAO,EAAE,KAarB,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,KAgBtC,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,KAgBnC,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAgB5B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAgB3B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAyB3B,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,KAyBvC,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAqBtB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAsBtB,CAAA"}
|
|
1
|
+
{"version":3,"file":"Input.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QA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C;;;OAGG;IACH,mBAAmB,CAAC,EAAE,IAAI,CAAC,mBAAmB,CAAA;IAC9C;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,QAAA,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"RatingBlock.d.ts","sourceRoot":"","sources":["../../../src/components/RatingBlock/RatingBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAW9B;;GAEG;AACH,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IAC9D,6EAA6E;IAC7E,KAAK,EAAE,MAAM,CAAA;IACb;;;;;;;OAOG;IACH,YAAY,EAAE,MAAM,CAAA;IACpB,sEAAsE;IACtE,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,uFAAuF;IACvF,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;IACvC;;;OAGG;IACH,mBAAmB,CAAC,EAAE,IAAI,CAAC,mBAAmB,CAAA;IAC9C;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,QAAA,MAAM,WAAW,yFA8FhB,CAAA;AAGD,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as l, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import * as n from "react";
|
|
3
3
|
import { useMuzaTranslationContext as b } from "../../translations/TranslationContext.js";
|
|
4
4
|
import { resolvePluralTemplate as M } from "../../translations/resolvePluralTemplate.js";
|
|
@@ -6,37 +6,37 @@ import { cn as p } from "../../utils/cn.js";
|
|
|
6
6
|
import { Card as B } from "../Card/Card.js";
|
|
7
7
|
import { Flex as C } from "../Flex/Flex.js";
|
|
8
8
|
import { Rating as z } from "../Rating/Rating.js";
|
|
9
|
-
import { Typography as
|
|
9
|
+
import { Typography as d } from "../Typography/Typography.js";
|
|
10
10
|
const T = n.forwardRef(
|
|
11
11
|
({
|
|
12
|
-
value:
|
|
13
|
-
reviewsCount:
|
|
12
|
+
value: m,
|
|
13
|
+
reviewsCount: u,
|
|
14
14
|
starCount: f = 5,
|
|
15
15
|
allowHalf: x = !1,
|
|
16
16
|
formatValue: e,
|
|
17
|
-
numberFormatOptions:
|
|
17
|
+
numberFormatOptions: i,
|
|
18
18
|
countText: g,
|
|
19
|
-
emptyText:
|
|
20
|
-
className:
|
|
19
|
+
emptyText: k,
|
|
20
|
+
className: h,
|
|
21
21
|
...y
|
|
22
22
|
}, v) => {
|
|
23
|
-
const { locale: t, translations: s } = b(), r = Math.max(0, Math.floor(
|
|
23
|
+
const { locale: t, translations: s } = b(), r = Math.max(0, Math.floor(u)), a = r === 0, c = n.useMemo(() => {
|
|
24
24
|
if (e) return e;
|
|
25
25
|
const N = new Intl.NumberFormat(t, {
|
|
26
26
|
minimumFractionDigits: 1,
|
|
27
27
|
maximumFractionDigits: 1,
|
|
28
|
-
...
|
|
28
|
+
...i
|
|
29
29
|
});
|
|
30
30
|
return (R) => N.format(R);
|
|
31
|
-
}, [e, t,
|
|
31
|
+
}, [e, t, i])(a ? 0 : m), w = n.useMemo(
|
|
32
32
|
() => new Intl.NumberFormat(t).format(r),
|
|
33
33
|
[t, r]
|
|
34
|
-
), F = a ?
|
|
34
|
+
), F = a ? k ?? s.ratingBlock.empty : (g ?? M(
|
|
35
35
|
r,
|
|
36
36
|
t,
|
|
37
37
|
s.ratingBlock.users
|
|
38
38
|
)).replace("{count}", w);
|
|
39
|
-
return /* @__PURE__ */
|
|
39
|
+
return /* @__PURE__ */ l(
|
|
40
40
|
B,
|
|
41
41
|
{
|
|
42
42
|
ref: v,
|
|
@@ -44,11 +44,14 @@ const T = n.forwardRef(
|
|
|
44
44
|
direction: "row",
|
|
45
45
|
align: "center",
|
|
46
46
|
gap: "xl",
|
|
47
|
-
className: p(
|
|
47
|
+
className: p(
|
|
48
|
+
"w-full rounded-xl px-comp-market-card-p-ver py-comp-market-card-p-hor",
|
|
49
|
+
h
|
|
50
|
+
),
|
|
48
51
|
...y,
|
|
49
52
|
children: [
|
|
50
53
|
/* @__PURE__ */ o(
|
|
51
|
-
|
|
54
|
+
d,
|
|
52
55
|
{
|
|
53
56
|
component: "span",
|
|
54
57
|
variant: "title",
|
|
@@ -57,21 +60,21 @@ const T = n.forwardRef(
|
|
|
57
60
|
className: p("text-text-dark-primary-def", {
|
|
58
61
|
"text-text-dark-disabled": a
|
|
59
62
|
}),
|
|
60
|
-
children:
|
|
63
|
+
children: c
|
|
61
64
|
}
|
|
62
65
|
),
|
|
63
|
-
/* @__PURE__ */
|
|
66
|
+
/* @__PURE__ */ l(C, { direction: "column", align: "start", gap: "2xs", children: [
|
|
64
67
|
/* @__PURE__ */ o(
|
|
65
68
|
z,
|
|
66
69
|
{
|
|
67
|
-
value: a ? 0 :
|
|
70
|
+
value: a ? 0 : m,
|
|
68
71
|
count: f,
|
|
69
72
|
allowHalf: x,
|
|
70
|
-
"aria-label":
|
|
73
|
+
"aria-label": c
|
|
71
74
|
}
|
|
72
75
|
),
|
|
73
76
|
/* @__PURE__ */ o(
|
|
74
|
-
|
|
77
|
+
d,
|
|
75
78
|
{
|
|
76
79
|
component: "span",
|
|
77
80
|
variant: "body",
|
|
@@ -27,6 +27,32 @@ export interface ISelectOption {
|
|
|
27
27
|
* @see ISelectOption
|
|
28
28
|
*/
|
|
29
29
|
export interface ISelectProps {
|
|
30
|
+
/**
|
|
31
|
+
* `id` set on the trigger button, and the prefix of the generated label and hint
|
|
32
|
+
* ids. An external `<label htmlFor>` pointing at it forwards clicks to the trigger,
|
|
33
|
+
* but does not name it — a `<button>` takes its accessible name from
|
|
34
|
+
* `aria-labelledby`, `aria-label` or its own content, so pass `aria-labelledby`
|
|
35
|
+
* as well to label the select from outside.
|
|
36
|
+
* @default a generated id
|
|
37
|
+
*/
|
|
38
|
+
id?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Id(s) of element(s) labelling the trigger. Merged with the internal `label` id
|
|
41
|
+
* when both are present, so an external label can be added without losing the
|
|
42
|
+
* built-in one.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```tsx
|
|
46
|
+
* <span id="country-label">Country</span>
|
|
47
|
+
* <Select aria-labelledby="country-label" options={options} />
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
'aria-labelledby'?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Id(s) of element(s) describing the trigger — an external tooltip or help text.
|
|
53
|
+
* Merged with the internal `hint` id when both are present.
|
|
54
|
+
*/
|
|
55
|
+
'aria-describedby'?: string;
|
|
30
56
|
/** Label text rendered above the trigger by `FormField`. */
|
|
31
57
|
label?: string;
|
|
32
58
|
/** Helper text rendered below the trigger. Switches to the error color when `error` is `true`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,KAAK,SAAS,EAMf,MAAM,OAAO,CAAA;AAcd;;;;;;;;;GASG;AACH,MAAM,WAAW,aAAa;IAC5B,+EAA+E;IAC/E,KAAK,EAAE,MAAM,CAAA;IACb,wFAAwF;IACxF,KAAK,EAAE,SAAS,CAAA;IAChB,4EAA4E;IAC5E,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,2FAA2F;IAC3F,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,iEAAiE;IACjE,IAAI,CAAC,EAAE,SAAS,CAAA;CACjB;AA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,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,gFAAgF;IAChF,4BAA4B,CAAC,EAAE,OAAO,CAAA;IACtC,oHAAoH;IACpH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,6HAA6H;IAC7H,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,sGAAsG;IACtG,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,eAAO,MAAM,MAAM,wFAyOlB,CAAA"}
|
|
@@ -1,34 +1,37 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { useMuzaTranslations as
|
|
4
|
-
import { DropdownMenu as
|
|
5
|
-
import { Flex as
|
|
6
|
-
import { FormField as
|
|
7
|
-
import { Typography as
|
|
8
|
-
import { SelectTrigger as
|
|
9
|
-
const
|
|
10
|
-
(
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { jsx as t, jsxs as S } from "react/jsx-runtime";
|
|
2
|
+
import p, { forwardRef as U, useId as X, useMemo as Y, useRef as T, useEffect as D } from "react";
|
|
3
|
+
import { useMuzaTranslations as Z } from "../../translations/TranslationContext.js";
|
|
4
|
+
import { DropdownMenu as ee, DropdownMenuTrigger as te, DropdownMenuContent as re, DropdownMenuRadioGroup as ne, DropdownMenuRadioItem as ie } from "../DropdownMenu/DropdownMenu.js";
|
|
5
|
+
import { Flex as le } from "../Flex/Flex.js";
|
|
6
|
+
import { FormField as oe } from "../FormField/FormField.js";
|
|
7
|
+
import { Typography as o } from "../Typography/Typography.js";
|
|
8
|
+
import { SelectTrigger as ae } from "./SelectTrigger.js";
|
|
9
|
+
const se = U(
|
|
10
|
+
(B, m) => {
|
|
11
|
+
const f = Z(), {
|
|
12
|
+
id: F,
|
|
13
|
+
"aria-labelledby": j,
|
|
14
|
+
"aria-describedby": C,
|
|
15
|
+
label: h,
|
|
16
|
+
hint: g,
|
|
17
|
+
error: b,
|
|
15
18
|
options: s,
|
|
16
19
|
onChange: c,
|
|
17
20
|
value: n,
|
|
18
21
|
disabled: x,
|
|
19
|
-
prefix:
|
|
20
|
-
size:
|
|
21
|
-
placeholder:
|
|
22
|
-
emptyMessage:
|
|
23
|
-
shouldScrollToSelectedOption:
|
|
24
|
-
collisionPadding:
|
|
25
|
-
required:
|
|
26
|
-
disableRequiredAsterisk:
|
|
27
|
-
labelExtra:
|
|
28
|
-
infoTooltip:
|
|
29
|
-
} =
|
|
22
|
+
prefix: O,
|
|
23
|
+
size: W,
|
|
24
|
+
placeholder: q,
|
|
25
|
+
emptyMessage: E,
|
|
26
|
+
shouldScrollToSelectedOption: y,
|
|
27
|
+
collisionPadding: P,
|
|
28
|
+
required: v,
|
|
29
|
+
disableRequiredAsterisk: V,
|
|
30
|
+
labelExtra: $,
|
|
31
|
+
infoTooltip: k
|
|
32
|
+
} = B, w = q ?? f.select.placeholder, A = E ?? f.select.noOptions, L = X(), i = F ?? L, R = h ? `${i}-label` : void 0, M = g ? `${i}-hint` : void 0, N = [R, j].filter(Boolean), _ = N.length ? [...N, i].join(" ") : void 0, G = [M, C].filter(Boolean).join(" ") || void 0, r = n ? s.find((e) => e.value === n) : void 0, H = Y(() => r ? r.description ? /* @__PURE__ */ S(le, { flex: 1, direction: "column", className: "min-w-0 text-left", children: [
|
|
30
33
|
/* @__PURE__ */ t(
|
|
31
|
-
|
|
34
|
+
o,
|
|
32
35
|
{
|
|
33
36
|
size: "sm",
|
|
34
37
|
variant: "title",
|
|
@@ -39,7 +42,7 @@ const te = B(
|
|
|
39
42
|
}
|
|
40
43
|
),
|
|
41
44
|
/* @__PURE__ */ t(
|
|
42
|
-
|
|
45
|
+
o,
|
|
43
46
|
{
|
|
44
47
|
size: "sm",
|
|
45
48
|
variant: "body",
|
|
@@ -50,7 +53,7 @@ const te = B(
|
|
|
50
53
|
}
|
|
51
54
|
)
|
|
52
55
|
] }) : typeof r.label != "function" ? /* @__PURE__ */ t(
|
|
53
|
-
|
|
56
|
+
o,
|
|
54
57
|
{
|
|
55
58
|
size: "input",
|
|
56
59
|
className: "grow-1 fix-y-text truncate text-left text-comp-select-text-primary",
|
|
@@ -59,99 +62,104 @@ const te = B(
|
|
|
59
62
|
children: r.label
|
|
60
63
|
}
|
|
61
64
|
) : r.label : /* @__PURE__ */ t(
|
|
62
|
-
|
|
65
|
+
o,
|
|
63
66
|
{
|
|
64
67
|
size: "input",
|
|
65
68
|
className: "grow-1 fix-y-text truncate text-left text-comp-select-text-placeholder",
|
|
66
69
|
weight: "regular",
|
|
67
70
|
component: "span",
|
|
68
|
-
children:
|
|
71
|
+
children: w
|
|
69
72
|
}
|
|
70
|
-
), [r,
|
|
71
|
-
return
|
|
73
|
+
), [r, w]), [z, J] = p.useState(!1), [I, K] = p.useState(0), d = p.useRef(!1), Q = T(null), u = T({}), l = (typeof m == "function" ? null : m) ?? Q;
|
|
74
|
+
return D(() => {
|
|
72
75
|
const e = () => {
|
|
73
|
-
|
|
76
|
+
l.current && K(l.current.offsetWidth);
|
|
74
77
|
};
|
|
75
78
|
e();
|
|
76
|
-
const
|
|
77
|
-
return
|
|
78
|
-
|
|
79
|
+
const a = new ResizeObserver(e);
|
|
80
|
+
return l.current && a.observe(l.current), () => {
|
|
81
|
+
a.disconnect();
|
|
79
82
|
};
|
|
80
|
-
}, [
|
|
83
|
+
}, [l]), D(() => {
|
|
81
84
|
var e;
|
|
82
|
-
|
|
83
|
-
}, [
|
|
84
|
-
|
|
85
|
+
z && n && u.current[n] && y && ((e = u.current[n]) == null || e.scrollIntoView({ block: "nearest" }));
|
|
86
|
+
}, [z, y, n]), /* @__PURE__ */ t(
|
|
87
|
+
oe,
|
|
85
88
|
{
|
|
86
|
-
label:
|
|
87
|
-
hint:
|
|
88
|
-
error:
|
|
89
|
-
required:
|
|
90
|
-
disableRequiredAsterisk:
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
89
|
+
label: h,
|
|
90
|
+
hint: g,
|
|
91
|
+
error: b,
|
|
92
|
+
required: v,
|
|
93
|
+
disableRequiredAsterisk: V,
|
|
94
|
+
htmlFor: i,
|
|
95
|
+
labelId: R,
|
|
96
|
+
hintId: M,
|
|
97
|
+
labelExtra: $,
|
|
98
|
+
infoTooltip: k,
|
|
95
99
|
className: "flex-1",
|
|
96
|
-
children: /* @__PURE__ */
|
|
97
|
-
|
|
100
|
+
children: /* @__PURE__ */ S(
|
|
101
|
+
ee,
|
|
98
102
|
{
|
|
99
103
|
onOpenChange: (e) => {
|
|
100
|
-
|
|
104
|
+
J(e);
|
|
101
105
|
},
|
|
102
106
|
children: [
|
|
103
|
-
/* @__PURE__ */ t(
|
|
104
|
-
|
|
107
|
+
/* @__PURE__ */ t(te, { disabled: x, asChild: !0, children: /* @__PURE__ */ t(
|
|
108
|
+
ae,
|
|
105
109
|
{
|
|
106
|
-
ref:
|
|
110
|
+
ref: l,
|
|
107
111
|
role: "input",
|
|
108
112
|
tabIndex: 0,
|
|
109
113
|
disabled: x,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
+
id: i,
|
|
115
|
+
"aria-labelledby": _,
|
|
116
|
+
"aria-describedby": G,
|
|
117
|
+
"aria-required": v,
|
|
118
|
+
size: W,
|
|
119
|
+
error: b,
|
|
120
|
+
prefix: O,
|
|
114
121
|
hasDescription: !!(r != null && r.description),
|
|
115
|
-
children:
|
|
122
|
+
children: H
|
|
116
123
|
}
|
|
117
124
|
) }),
|
|
118
125
|
/* @__PURE__ */ t(
|
|
119
|
-
|
|
126
|
+
re,
|
|
120
127
|
{
|
|
128
|
+
"aria-labelledby": i,
|
|
121
129
|
className: "mt-1",
|
|
122
130
|
style: {
|
|
123
|
-
width:
|
|
131
|
+
width: I > 0 ? `${I}px` : void 0
|
|
124
132
|
},
|
|
125
133
|
align: "center",
|
|
126
134
|
onCloseAutoFocus: (e) => {
|
|
127
|
-
|
|
135
|
+
d.current || e.preventDefault(), d.current = !1;
|
|
128
136
|
},
|
|
129
|
-
collisionPadding:
|
|
137
|
+
collisionPadding: P,
|
|
130
138
|
children: s.length === 0 ? /* @__PURE__ */ t("div", { className: "px-lg py-md", role: "presentation", children: /* @__PURE__ */ t(
|
|
131
|
-
|
|
139
|
+
o,
|
|
132
140
|
{
|
|
133
141
|
component: "span",
|
|
134
142
|
size: "input",
|
|
135
143
|
weight: "regular",
|
|
136
144
|
className: "text-comp-select-text-secondary",
|
|
137
|
-
children:
|
|
145
|
+
children: A
|
|
138
146
|
}
|
|
139
147
|
) }) : /* @__PURE__ */ t(
|
|
140
|
-
|
|
148
|
+
ne,
|
|
141
149
|
{
|
|
142
150
|
value: n,
|
|
143
151
|
onValueChange: (e) => {
|
|
144
|
-
|
|
152
|
+
d.current = !0, c == null || c(e);
|
|
145
153
|
},
|
|
146
154
|
children: s.map((e) => /* @__PURE__ */ t(
|
|
147
|
-
|
|
155
|
+
ie,
|
|
148
156
|
{
|
|
149
157
|
value: e.value.toString(),
|
|
150
158
|
disabled: e.disabled,
|
|
151
159
|
icon: e.icon,
|
|
152
160
|
description: e.description,
|
|
153
|
-
ref: (
|
|
154
|
-
|
|
161
|
+
ref: (a) => {
|
|
162
|
+
u.current[e.value] = a;
|
|
155
163
|
},
|
|
156
164
|
children: e.label
|
|
157
165
|
},
|
|
@@ -168,7 +176,7 @@ const te = B(
|
|
|
168
176
|
);
|
|
169
177
|
}
|
|
170
178
|
);
|
|
171
|
-
|
|
179
|
+
se.displayName = "Select";
|
|
172
180
|
export {
|
|
173
|
-
|
|
181
|
+
se as Select
|
|
174
182
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAU3D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"Select.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAU3D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAwJ7B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAA;AA6BpC,eAAO,MAAM,OAAO,EAAE,KAwBrB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KA2BvB,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KA0B9B,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KA0BvB,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAwB/B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KA0BtB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KA0BtB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KA6DtB,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KA0C7B,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAgCzB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAyBxB,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,KAqDhC,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,KAkCjC,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAoDrB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAqBvB,CAAA"}
|
|
@@ -44,7 +44,12 @@ declare const Tooltip: ({ openOnClick, open: openProp, defaultOpen, onOpenChange
|
|
|
44
44
|
/** Props for the TooltipTrigger. Element that displays the tooltip on hover/focus, or on click/tap when the root opts in via `openOnClick`. Use `asChild` for custom elements. */
|
|
45
45
|
export type TooltipTriggerProps = React.ComponentProps<typeof TooltipPrimitive.Trigger>;
|
|
46
46
|
declare const TooltipTrigger: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
47
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* Props for the TooltipContent. Styled floating container with positioning and
|
|
49
|
+
* animations. Short text sizes the bubble to itself, long text wraps at the
|
|
50
|
+
* design system's maximum tooltip width; pass a `max-w-*` class via `className`
|
|
51
|
+
* to override that cap for a single tooltip.
|
|
52
|
+
*/
|
|
48
53
|
export interface TooltipContentProps extends React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content> {
|
|
49
54
|
/** Preferred side of the trigger to render against. @default 'top' */
|
|
50
55
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAA;AA+C3D,+FAA+F;AAC/F,MAAM,WAAW,oBACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,gBAAgB,CAAC,QAAQ,CAAC;IACxE,kEAAkE;IAClE,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,yFAAyF;IACzF,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,4FAA4F;IAC5F,uBAAuB,CAAC,EAAE,OAAO,CAAA;CAClC;AAED,QAAA,MAAM,eAAe,GAAI,cAAc,oBAAoB,4CAE1D,CAAA;AAED,uEAAuE;AACvE,MAAM,WAAW,YACf,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC;IAC1D,4CAA4C;IAC5C,IAAI,CAAC,EA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