@brightlocal/ui-components 2.18.0 → 2.20.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/README.md +1 -1
- package/component-meta.json +11 -2
- package/dist/alert-dialog.cjs +1 -1
- package/dist/alert-dialog.d.ts.map +1 -1
- package/dist/alert-dialog.js +34 -33
- package/dist/blocks/sidebar.cjs +1 -1
- package/dist/blocks/sidebar.d.ts +20 -0
- package/dist/blocks/sidebar.d.ts.map +1 -1
- package/dist/blocks/sidebar.js +423 -390
- package/dist/browser-entry.d.ts +2 -0
- package/dist/browser-entry.d.ts.map +1 -1
- package/dist/context-menu.cjs +1 -1
- package/dist/context-menu.d.ts.map +1 -1
- package/dist/context-menu.js +47 -46
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.d.ts.map +1 -1
- package/dist/dialog.js +35 -34
- package/dist/dropdown-menu.cjs +1 -1
- package/dist/dropdown-menu.d.ts.map +1 -1
- package/dist/dropdown-menu.js +48 -47
- package/dist/global-layout.cjs +1 -1
- package/dist/global-layout.d.ts.map +1 -1
- package/dist/global-layout.js +44 -42
- package/dist/hooks/use-overlay-pointer-lock.cjs +1 -0
- package/dist/hooks/use-overlay-pointer-lock.d.ts +20 -0
- package/dist/hooks/use-overlay-pointer-lock.d.ts.map +1 -0
- package/dist/hooks/use-overlay-pointer-lock.js +39 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +88 -86
- package/dist/logo.cjs +1 -1
- package/dist/logo.d.ts.map +1 -1
- package/dist/logo.js +44 -37
- package/dist/popover.cjs +1 -1
- package/dist/popover.d.ts.map +1 -1
- package/dist/popover.js +21 -20
- package/dist/select.cjs +1 -1
- package/dist/select.d.ts.map +1 -1
- package/dist/select.js +25 -23
- package/dist/separator.cjs +1 -1
- package/dist/separator.d.ts +14 -0
- package/dist/separator.d.ts.map +1 -1
- package/dist/separator.js +90 -44
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.d.ts.map +1 -1
- package/dist/sheet.js +29 -28
- package/dist/stepper.cjs +1 -1
- package/dist/stepper.d.ts +15 -13
- package/dist/stepper.d.ts.map +1 -1
- package/dist/stepper.js +84 -85
- package/package.json +3 -3
- package/src/blocks/sidebar.tsx +81 -14
- package/src/browser-entry.ts +10 -0
- package/src/components/alert-dialog.tsx +20 -14
- package/src/components/context-menu.tsx +19 -13
- package/src/components/dialog.tsx +4 -0
- package/src/components/dropdown-menu.tsx +4 -0
- package/src/components/global-layout.tsx +3 -1
- package/src/components/logo.tsx +19 -25
- package/src/components/popover.tsx +22 -16
- package/src/components/select.tsx +4 -0
- package/src/components/separator.tsx +91 -23
- package/src/components/sheet.tsx +4 -0
- package/src/components/stepper.tsx +93 -80
- package/src/hooks/use-overlay-pointer-lock.ts +128 -0
- package/src/index.ts +1 -0
package/dist/separator.js
CHANGED
|
@@ -1,56 +1,102 @@
|
|
|
1
|
-
import { jsxs as h, jsx as
|
|
2
|
-
import * as
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { jsxs as h, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import * as l from "react";
|
|
3
|
+
import { cva as m } from "class-variance-authority";
|
|
4
|
+
import { cn as p } from "@brightlocal/ui-components/lib/utils";
|
|
5
|
+
const u = m("bg-border shrink-0", {
|
|
6
|
+
variants: {
|
|
7
|
+
orientation: {
|
|
8
|
+
horizontal: "h-px border-0",
|
|
9
|
+
vertical: "w-px"
|
|
10
|
+
},
|
|
11
|
+
spacing: {
|
|
12
|
+
default: "",
|
|
13
|
+
sm: "",
|
|
14
|
+
md: "",
|
|
15
|
+
lg: ""
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
compoundVariants: [
|
|
19
|
+
{ orientation: "horizontal", spacing: "default", className: "w-full" },
|
|
20
|
+
{ orientation: "horizontal", spacing: "sm", className: "my-2 mx-6 w-auto" },
|
|
21
|
+
{ orientation: "horizontal", spacing: "md", className: "my-4 mx-6 w-auto" },
|
|
22
|
+
{ orientation: "horizontal", spacing: "lg", className: "m-6 w-auto" },
|
|
23
|
+
{ orientation: "vertical", spacing: "default", className: "h-full" },
|
|
24
|
+
{ orientation: "vertical", spacing: "sm", className: "self-stretch mx-2" },
|
|
25
|
+
{ orientation: "vertical", spacing: "md", className: "self-stretch mx-4" },
|
|
26
|
+
{ orientation: "vertical", spacing: "lg", className: "self-stretch mx-6" }
|
|
27
|
+
],
|
|
28
|
+
defaultVariants: {
|
|
29
|
+
orientation: "horizontal",
|
|
30
|
+
spacing: "default"
|
|
31
|
+
}
|
|
32
|
+
}), x = m("flex items-center gap-2", {
|
|
33
|
+
variants: {
|
|
34
|
+
spacing: {
|
|
35
|
+
default: "",
|
|
36
|
+
sm: "py-2 px-6",
|
|
37
|
+
md: "py-4 px-6",
|
|
38
|
+
lg: "p-6"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
defaultVariants: {
|
|
42
|
+
spacing: "default"
|
|
43
|
+
}
|
|
44
|
+
}), c = l.forwardRef(
|
|
5
45
|
({
|
|
6
|
-
className:
|
|
46
|
+
className: t,
|
|
7
47
|
orientation: a = "horizontal",
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
48
|
+
spacing: e = "default",
|
|
49
|
+
decorative: r = !0,
|
|
50
|
+
dataHook: o,
|
|
51
|
+
trackingEl: s,
|
|
52
|
+
trackingLabel: i,
|
|
53
|
+
...d
|
|
54
|
+
}, f) => {
|
|
55
|
+
const g = r ? { role: "none" } : a === "vertical" ? {
|
|
15
56
|
"aria-orientation": "vertical",
|
|
16
57
|
role: "separator"
|
|
17
58
|
} : {};
|
|
18
|
-
return
|
|
19
|
-
ref:
|
|
20
|
-
className:
|
|
21
|
-
|
|
22
|
-
a === "horizontal" ? "h-px w-full border-0" : "h-full w-px",
|
|
23
|
-
r
|
|
24
|
-
),
|
|
25
|
-
"data-hook": t,
|
|
59
|
+
return l.createElement(a === "horizontal" ? "hr" : "div", {
|
|
60
|
+
ref: f,
|
|
61
|
+
className: p(u({ orientation: a, spacing: e }), t),
|
|
62
|
+
"data-hook": o,
|
|
26
63
|
"data-orientation": a,
|
|
27
64
|
"data-slot": "separator",
|
|
28
|
-
"data-tracking-el":
|
|
29
|
-
"data-tracking-label":
|
|
30
|
-
...
|
|
31
|
-
...
|
|
65
|
+
"data-tracking-el": s,
|
|
66
|
+
"data-tracking-label": i,
|
|
67
|
+
...g,
|
|
68
|
+
...d
|
|
32
69
|
});
|
|
33
70
|
}
|
|
34
71
|
);
|
|
35
|
-
|
|
36
|
-
const
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
72
|
+
c.displayName = "Separator";
|
|
73
|
+
const N = l.forwardRef(
|
|
74
|
+
({
|
|
75
|
+
className: t,
|
|
76
|
+
children: a,
|
|
77
|
+
spacing: e = "default",
|
|
78
|
+
dataHook: r,
|
|
79
|
+
trackingEl: o,
|
|
80
|
+
trackingLabel: s
|
|
81
|
+
}, i) => /* @__PURE__ */ h(
|
|
82
|
+
"div",
|
|
83
|
+
{
|
|
84
|
+
ref: i,
|
|
85
|
+
className: p(x({ spacing: e }), t),
|
|
86
|
+
"data-hook": r,
|
|
87
|
+
"data-slot": "separator-with-text",
|
|
88
|
+
"data-tracking-el": o,
|
|
89
|
+
"data-tracking-label": s,
|
|
90
|
+
children: [
|
|
91
|
+
/* @__PURE__ */ n(c, { className: "flex-1" }),
|
|
92
|
+
/* @__PURE__ */ n("span", { className: "text-muted-foreground shrink-0 text-sm leading-none font-medium whitespace-nowrap", children: a }),
|
|
93
|
+
/* @__PURE__ */ n(c, { className: "flex-1" })
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
)
|
|
97
|
+
);
|
|
98
|
+
N.displayName = "SeparatorWithText";
|
|
53
99
|
export {
|
|
54
|
-
|
|
55
|
-
|
|
100
|
+
c as Separator,
|
|
101
|
+
N as SeparatorWithText
|
|
56
102
|
};
|
package/dist/sheet.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),w=require("react"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),w=require("react"),k=require("@radix-ui/react-dialog"),O=require("class-variance-authority"),R=require("@brightlocal/icons"),i=require("@brightlocal/ui-components/lib/utils"),C=require("@brightlocal/ui-components/hooks/use-overlay-pointer-lock");function f(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const r=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,r.get?r:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const n=f(w),o=f(k),P=O.cva(["bg-background","data-[state=open]:animate-in","data-[state=closed]:animate-out","fixed","z-50","flex","flex-col","gap-4","p-6","shadow-lg","transition","ease-in-out","data-[state=closed]:duration-300","data-[state=open]:duration-500"],{variants:{side:{top:["data-[state=closed]:slide-out-to-top","data-[state=open]:slide-in-from-top","inset-x-0","top-0","h-auto","border-b"],right:["data-[state=closed]:slide-out-to-right","data-[state=open]:slide-in-from-right","inset-y-0","right-0","h-full","w-3/4","border-l","sm:max-w-sm"],bottom:["data-[state=closed]:slide-out-to-bottom","data-[state=open]:slide-in-from-bottom","inset-x-0","bottom-0","h-auto","border-t"],left:["data-[state=closed]:slide-out-to-left","data-[state=open]:slide-in-from-left","inset-y-0","left-0","h-full","w-3/4","border-r","sm:max-w-sm"]}},defaultVariants:{side:"right"}});function u({...e}){return s.jsx(o.Root,{"data-slot":"sheet",modal:!0,...e})}u.displayName="Sheet";const m=n.forwardRef(({dataHook:e,...t},a)=>s.jsx(o.Trigger,{ref:a,"data-slot":"sheet-trigger",...e!=null&&{"data-hook":e},...t}));m.displayName="SheetTrigger";const p=n.forwardRef(({...e},t)=>s.jsx(o.Close,{ref:t,"data-slot":"sheet-close",...e}));p.displayName="SheetClose";function c({...e}){return s.jsx(o.Portal,{"data-slot":"sheet-portal",...e})}c.displayName="SheetPortal";const h=n.forwardRef(({className:e,...t},a)=>s.jsx(o.Overlay,{ref:a,className:i.cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),"data-slot":"sheet-overlay",...t}));h.displayName="SheetOverlay";const g=n.forwardRef(({className:e,children:t,side:a,dataHook:r,trackingEl:l,trackingLabel:d,closeLabel:j,...v},N)=>(C.useOverlayPointerLock(),s.jsxs(c,{children:[s.jsx(h,{}),s.jsxs(o.Content,{ref:N,className:i.cn(P({side:a}),e),"data-hook":r,"data-slot":"sheet-content","data-tracking-el":l,"data-tracking-label":d,...v,children:[t,s.jsxs(o.Close,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0",children:[s.jsx(R.X,{}),s.jsx("span",{className:"sr-only",children:j??"Close"})]})]})]})));g.displayName="SheetContent";const x=n.forwardRef(({className:e,...t},a)=>s.jsx("div",{ref:a,className:i.cn("flex flex-col gap-2 text-center sm:text-left",e),"data-slot":"sheet-header",...t}));x.displayName="SheetHeader";const S=n.forwardRef(({className:e,...t},a)=>s.jsx("div",{ref:a,className:i.cn("mt-auto flex flex-col gap-2 sm:flex-row sm:justify-end",e),"data-slot":"sheet-footer",...t}));S.displayName="SheetFooter";const y=n.forwardRef(({className:e,icon:t,children:a,dataHook:r,...l},d)=>s.jsxs(o.Title,{ref:d,className:i.cn("text-foreground text-lg font-semibold",t&&"flex items-center gap-2",e),"data-hook":r,"data-slot":"sheet-title",...l,children:[t&&s.jsx("span",{className:"shrink-0 [&_svg]:size-5","data-slot":"sheet-title-icon",children:t}),a]}));y.displayName="SheetTitle";const b=n.forwardRef(({className:e,dataHook:t,...a},r)=>s.jsx(o.Description,{ref:r,className:i.cn("text-muted-foreground text-sm",e),"data-hook":t,"data-slot":"sheet-description",...a}));b.displayName="SheetDescription";exports.Sheet=u;exports.SheetClose=p;exports.SheetContent=g;exports.SheetDescription=b;exports.SheetFooter=S;exports.SheetHeader=x;exports.SheetOverlay=h;exports.SheetPortal=c;exports.SheetTitle=y;exports.SheetTrigger=m;
|
package/dist/sheet.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sheet.d.ts","sourceRoot":"","sources":["../../src/components/sheet.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,cAAc,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"sheet.d.ts","sourceRoot":"","sources":["../../src/components/sheet.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,cAAc,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAMlE;;;;;;GAMG;AACH,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE5D,QAAA,MAAM,oBAAoB;;8EA8DzB,CAAC;AAEF;;;GAGG;AACH,iBAAS,KAAK,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,IAAI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GAGG;AACH,QAAA,MAAM,UAAU,yGAsBd,CAAC;AAGH;;GAEG;AACH,UAAU,qBAAsB,SAAQ,KAAK,CAAC,cAAc,CAC1D,OAAO,cAAc,CAAC,WAAW,CAClC;IACC;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;GAGG;AACH,QAAA,MAAM,gBAAgB,iHAWpB,CAAC;AAGH,OAAO,EACL,KAAK,EACL,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,YAAY,EACZ,WAAW,EACX,UAAU,EACV,YAAY,GACb,CAAC;AAEF,YAAY,EACV,iBAAiB,EACjB,qBAAqB,EACrB,eAAe,EACf,iBAAiB,GAClB,CAAC"}
|
package/dist/sheet.js
CHANGED
|
@@ -4,7 +4,8 @@ import * as s from "@radix-ui/react-dialog";
|
|
|
4
4
|
import { cva as u } from "class-variance-authority";
|
|
5
5
|
import { X as x } from "@brightlocal/icons";
|
|
6
6
|
import { cn as i } from "@brightlocal/ui-components/lib/utils";
|
|
7
|
-
|
|
7
|
+
import { useOverlayPointerLock as y } from "@brightlocal/ui-components/hooks/use-overlay-pointer-lock";
|
|
8
|
+
const S = u(
|
|
8
9
|
[
|
|
9
10
|
"bg-background",
|
|
10
11
|
"data-[state=open]:animate-in",
|
|
@@ -67,11 +68,11 @@ const y = u(
|
|
|
67
68
|
}
|
|
68
69
|
}
|
|
69
70
|
);
|
|
70
|
-
function
|
|
71
|
+
function b({ ...t }) {
|
|
71
72
|
return /* @__PURE__ */ o(s.Root, { "data-slot": "sheet", modal: !0, ...t });
|
|
72
73
|
}
|
|
73
|
-
|
|
74
|
-
const
|
|
74
|
+
b.displayName = "Sheet";
|
|
75
|
+
const N = r.forwardRef(({ dataHook: t, ...e }, a) => /* @__PURE__ */ o(
|
|
75
76
|
s.Trigger,
|
|
76
77
|
{
|
|
77
78
|
ref: a,
|
|
@@ -80,9 +81,9 @@ const b = r.forwardRef(({ dataHook: t, ...e }, a) => /* @__PURE__ */ o(
|
|
|
80
81
|
...e
|
|
81
82
|
}
|
|
82
83
|
));
|
|
83
|
-
|
|
84
|
-
const
|
|
85
|
-
|
|
84
|
+
N.displayName = "SheetTrigger";
|
|
85
|
+
const v = r.forwardRef(({ ...t }, e) => /* @__PURE__ */ o(s.Close, { ref: e, "data-slot": "sheet-close", ...t }));
|
|
86
|
+
v.displayName = "SheetClose";
|
|
86
87
|
function c({
|
|
87
88
|
...t
|
|
88
89
|
}) {
|
|
@@ -102,7 +103,7 @@ const m = r.forwardRef(({ className: t, ...e }, a) => /* @__PURE__ */ o(
|
|
|
102
103
|
}
|
|
103
104
|
));
|
|
104
105
|
m.displayName = "SheetOverlay";
|
|
105
|
-
const
|
|
106
|
+
const w = r.forwardRef(
|
|
106
107
|
({
|
|
107
108
|
className: t,
|
|
108
109
|
children: e,
|
|
@@ -112,13 +113,13 @@ const v = r.forwardRef(
|
|
|
112
113
|
trackingLabel: f,
|
|
113
114
|
closeLabel: h,
|
|
114
115
|
...p
|
|
115
|
-
}, g) => /* @__PURE__ */ l(c, { children: [
|
|
116
|
+
}, g) => (y(), /* @__PURE__ */ l(c, { children: [
|
|
116
117
|
/* @__PURE__ */ o(m, {}),
|
|
117
118
|
/* @__PURE__ */ l(
|
|
118
119
|
s.Content,
|
|
119
120
|
{
|
|
120
121
|
ref: g,
|
|
121
|
-
className: i(
|
|
122
|
+
className: i(S({ side: a }), t),
|
|
122
123
|
"data-hook": d,
|
|
123
124
|
"data-slot": "sheet-content",
|
|
124
125
|
"data-tracking-el": n,
|
|
@@ -133,10 +134,10 @@ const v = r.forwardRef(
|
|
|
133
134
|
]
|
|
134
135
|
}
|
|
135
136
|
)
|
|
136
|
-
] })
|
|
137
|
+
] }))
|
|
137
138
|
);
|
|
138
|
-
|
|
139
|
-
const
|
|
139
|
+
w.displayName = "SheetContent";
|
|
140
|
+
const k = r.forwardRef(({ className: t, ...e }, a) => /* @__PURE__ */ o(
|
|
140
141
|
"div",
|
|
141
142
|
{
|
|
142
143
|
ref: a,
|
|
@@ -145,8 +146,8 @@ const w = r.forwardRef(({ className: t, ...e }, a) => /* @__PURE__ */ o(
|
|
|
145
146
|
...e
|
|
146
147
|
}
|
|
147
148
|
));
|
|
148
|
-
|
|
149
|
-
const
|
|
149
|
+
k.displayName = "SheetHeader";
|
|
150
|
+
const R = r.forwardRef(({ className: t, ...e }, a) => /* @__PURE__ */ o(
|
|
150
151
|
"div",
|
|
151
152
|
{
|
|
152
153
|
ref: a,
|
|
@@ -158,8 +159,8 @@ const k = r.forwardRef(({ className: t, ...e }, a) => /* @__PURE__ */ o(
|
|
|
158
159
|
...e
|
|
159
160
|
}
|
|
160
161
|
));
|
|
161
|
-
|
|
162
|
-
const
|
|
162
|
+
R.displayName = "SheetFooter";
|
|
163
|
+
const C = r.forwardRef(({ className: t, icon: e, children: a, dataHook: d, ...n }, f) => /* @__PURE__ */ l(
|
|
163
164
|
s.Title,
|
|
164
165
|
{
|
|
165
166
|
ref: f,
|
|
@@ -177,8 +178,8 @@ const R = r.forwardRef(({ className: t, icon: e, children: a, dataHook: d, ...n
|
|
|
177
178
|
]
|
|
178
179
|
}
|
|
179
180
|
));
|
|
180
|
-
|
|
181
|
-
const
|
|
181
|
+
C.displayName = "SheetTitle";
|
|
182
|
+
const T = r.forwardRef(({ className: t, dataHook: e, ...a }, d) => /* @__PURE__ */ o(
|
|
182
183
|
s.Description,
|
|
183
184
|
{
|
|
184
185
|
ref: d,
|
|
@@ -188,16 +189,16 @@ const C = r.forwardRef(({ className: t, dataHook: e, ...a }, d) => /* @__PURE__
|
|
|
188
189
|
...a
|
|
189
190
|
}
|
|
190
191
|
));
|
|
191
|
-
|
|
192
|
+
T.displayName = "SheetDescription";
|
|
192
193
|
export {
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
194
|
+
b as Sheet,
|
|
195
|
+
v as SheetClose,
|
|
196
|
+
w as SheetContent,
|
|
197
|
+
T as SheetDescription,
|
|
198
|
+
R as SheetFooter,
|
|
199
|
+
k as SheetHeader,
|
|
199
200
|
m as SheetOverlay,
|
|
200
201
|
c as SheetPortal,
|
|
201
|
-
|
|
202
|
-
|
|
202
|
+
C as SheetTitle,
|
|
203
|
+
N as SheetTrigger
|
|
203
204
|
};
|
package/dist/stepper.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),F=require("react"),V=require("@radix-ui/react-slot"),_=require("class-variance-authority"),w=require("@brightlocal/icons"),d=require("@brightlocal/ui-components/lib/utils");function X(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return a.default=e,Object.freeze(a)}const s=X(F),I=s.createContext(null);function k(){const e=s.useContext(I);if(!e)throw new Error("Stepper components must be used within <Stepper>");return e}const C=s.createContext(null);function z(){const e=s.useContext(C);if(!e)throw new Error("StepperItem sub-components must be used within <StepperItem>");return e}
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),F=require("react"),V=require("@radix-ui/react-slot"),_=require("class-variance-authority"),w=require("@brightlocal/icons"),d=require("@brightlocal/ui-components/lib/utils");function X(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return a.default=e,Object.freeze(a)}const s=X(F),I=s.createContext(null);function k(){const e=s.useContext(I);if(!e)throw new Error("Stepper components must be used within <Stepper>");return e}const C=s.createContext(null);function z(){const e=s.useContext(C);if(!e)throw new Error("StepperItem sub-components must be used within <StepperItem>");return e}function $({className:e,dataHook:a,steps:t,value:o,defaultValue:l,onValueChange:u,orientation:i="horizontal",labelPlacement:m="below",ariaLabel:g,trackingEl:p,trackingLabel:c,...n},f){const y=i==="vertical"?"vertical":m==="inline"?"horizontal-inline":"horizontal-below",x=o!==void 0,[b,v]=s.useState(l??t[0]?.id??""),S=x?o:b,N=t.findIndex(h=>h.id===S),j=s.useCallback(h=>{x||v(h),u?.(h)},[x,u]),A=s.useMemo(()=>({activeId:S,activeIndex:N,setActiveStep:j,steps:t,orientation:i}),[S,N,j,t,i]);return r.jsx(I.Provider,{value:A,children:r.jsx("div",{ref:f,"aria-label":g??"Progress",className:d.cn("group/stepper flex data-[orientation=vertical]:flex-col",e),"data-hook":a,"data-layout":y,"data-orientation":i,"data-slot":"stepper","data-tracking-el":p,"data-tracking-label":c,role:"group",...n})})}const R=s.forwardRef($);R.displayName="Stepper";const T=s.forwardRef(({className:e,dataHook:a,...t},o)=>r.jsx("ol",{ref:o,className:d.cn("flex w-full","group-data-[orientation=horizontal]/stepper:flex-row group-data-[orientation=horizontal]/stepper:items-start","group-data-[orientation=vertical]/stepper:flex-col",e),"data-hook":a,"data-slot":"stepper-nav",...t}));T.displayName="StepperNav";const D=s.forwardRef(({className:e,stepId:a,completed:t=!1,error:o=!1,disabled:l=!1,loading:u=!1,dataHook:i,...m},g)=>{const{activeIndex:p,steps:c}=k(),n=c.findIndex(v=>v.id===a);if(n===-1)throw new Error(`StepperItem stepId "${a}" was not found in the Stepper "steps" prop. Each StepperItem's stepId must match a step id.`);const f=n===c.length-1,y=u&&!o&&n===p,x=o?"error":t||n<p?"completed":n===p?"active":"inactive",b=s.useMemo(()=>({stepId:a,index:n,state:x,isLast:f,isDisabled:l,isLoading:y}),[a,n,x,f,l,y]);return r.jsx(C.Provider,{value:b,children:r.jsx("li",{ref:g,className:d.cn("group/step","group-data-[layout=horizontal-below]/stepper:relative group-data-[layout=horizontal-below]/stepper:flex group-data-[layout=horizontal-below]/stepper:flex-1 group-data-[layout=horizontal-below]/stepper:flex-col group-data-[layout=horizontal-below]/stepper:items-center","group-data-[layout=horizontal-inline]/stepper:flex group-data-[layout=horizontal-inline]/stepper:flex-row group-data-[layout=horizontal-inline]/stepper:items-center",!f&&"group-data-[layout=horizontal-inline]/stepper:flex-1","group-data-[layout=vertical]/stepper:flex group-data-[layout=vertical]/stepper:flex-col group-data-[layout=vertical]/stepper:items-start",e),"data-disabled":l?"true":void 0,"data-hook":i,"data-loading":y?"true":void 0,"data-slot":"stepper-item","data-state":x,...m})})});D.displayName="StepperItem";const L=s.forwardRef(({asChild:e=!1,className:a,dataHook:t,...o},l)=>{const{setActiveStep:u}=k(),{stepId:i,state:m,isDisabled:g}=z(),p=e?V.Slot:"button";return r.jsx(p,{ref:l,"aria-current":m==="active"?"step":void 0,className:d.cn("group/trigger inline-flex outline-none","group-data-[layout=horizontal-below]/stepper:flex-col group-data-[layout=horizontal-below]/stepper:items-center group-data-[layout=horizontal-below]/stepper:gap-2","group-data-[layout=horizontal-inline]/stepper:flex-row group-data-[layout=horizontal-inline]/stepper:items-center group-data-[layout=horizontal-inline]/stepper:gap-3","group-data-[layout=vertical]/stepper:flex-row group-data-[layout=vertical]/stepper:items-center group-data-[layout=vertical]/stepper:gap-3","disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",!e&&!g&&"cursor-pointer",a),"data-hook":t,"data-slot":"stepper-trigger",...o,...e?{}:{type:"button",disabled:g||o.disabled,onClick:c=>{o.onClick?.(c),c.defaultPrevented||u(i)}}})});L.displayName="StepperTrigger";const B=_.cva(["relative flex size-8 shrink-0 items-center justify-center rounded-full text-xs font-medium","transition-colors duration-200 ease-out","after:pointer-events-none after:absolute after:inset-0 after:rounded-full after:bg-white/10 after:opacity-0 after:transition-opacity after:duration-200 after:ease-out","group-hover/trigger:after:opacity-100","group-focus-visible/trigger:shadow-default","group-data-[disabled=true]/step:opacity-50"],{variants:{state:{active:"bg-primary text-primary-foreground",completed:"bg-primary text-primary-foreground",inactive:"bg-secondary text-secondary-foreground",error:"bg-destructive text-destructive-foreground"}},defaultVariants:{state:"inactive"}}),P=s.forwardRef(({asChild:e=!1,className:a,children:t,completedLabel:o="Completed",errorLabel:l="Error",loadingLabel:u="Loading",dataHook:i,...m},g)=>{const{state:p,index:c,isLoading:n}=z(),f=r.jsxs(r.Fragment,{children:[p==="completed"&&r.jsx("span",{className:"sr-only",children:o}),p==="error"&&r.jsx("span",{className:"sr-only",children:l}),n&&r.jsx("span",{className:"sr-only",children:u})]});return r.jsx("span",{ref:g,className:d.cn(B({state:p}),a),"data-hook":i,"data-slot":"stepper-indicator","data-state":p,...m,children:e?r.jsxs(r.Fragment,{children:[t,f]}):r.jsxs(r.Fragment,{children:[r.jsx("span",{className:d.cn("transition-opacity duration-200 ease-out",(p==="completed"||p==="error"||n)&&"opacity-0"),children:t??c+1}),p==="completed"&&!n&&r.jsx(w.Check,{className:"absolute",size:16}),p==="error"&&!n&&r.jsx(w.X,{className:"absolute",size:16}),n&&r.jsx(w.LoaderCircle,{className:"absolute animate-spin",size:16}),f]})})});P.displayName="StepperIndicator";const q=s.forwardRef(({className:e,dataHook:a,...t},o)=>{const{isLast:l}=z();return l?null:r.jsx("div",{ref:o,"aria-hidden":"true",className:d.cn("bg-border shrink-0 rounded-full transition-colors duration-200","group-data-[state=completed]/step:bg-primary","group-data-[disabled=true]/step:opacity-50","group-data-[layout=horizontal-below]/stepper:absolute group-data-[layout=horizontal-below]/stepper:top-[15px] group-data-[layout=horizontal-below]/stepper:right-[calc(-50%+1.5rem)] group-data-[layout=horizontal-below]/stepper:left-[calc(50%+1.5rem)] group-data-[layout=horizontal-below]/stepper:h-0.5","group-data-[layout=horizontal-inline]/stepper:mx-2 group-data-[layout=horizontal-inline]/stepper:h-0.5 group-data-[layout=horizontal-inline]/stepper:flex-1","group-data-[layout=vertical]/stepper:my-1 group-data-[layout=vertical]/stepper:ms-[15px] group-data-[layout=vertical]/stepper:h-8 group-data-[layout=vertical]/stepper:w-0.5",e),"data-hook":a,"data-slot":"stepper-separator",role:"presentation",...t})});q.displayName="StepperSeparator";const O=s.forwardRef(({className:e,...a},t)=>r.jsx("span",{ref:t,className:d.cn("flex flex-col gap-0.5","group-data-[layout=horizontal-below]/stepper:items-center group-data-[layout=horizontal-below]/stepper:text-center","group-data-[layout=horizontal-inline]/stepper:items-start group-data-[layout=horizontal-inline]/stepper:text-left","group-data-[layout=vertical]/stepper:items-start group-data-[layout=vertical]/stepper:text-left",e),"data-slot":"stepper-content",...a}));O.displayName="StepperContent";const E=s.forwardRef(({className:e,...a},t)=>r.jsx("span",{ref:t,className:d.cn("text-foreground text-sm font-semibold","group-data-[state=inactive]/step:text-muted-foreground","group-data-[disabled=true]/step:text-muted-foreground",e),"data-slot":"stepper-title",...a}));E.displayName="StepperTitle";const M=s.forwardRef(({className:e,...a},t)=>r.jsx("span",{ref:t,className:d.cn("text-muted-foreground text-xs font-normal",e),"data-slot":"stepper-description",...a}));M.displayName="StepperDescription";exports.Stepper=R;exports.StepperContent=O;exports.StepperDescription=M;exports.StepperIndicator=P;exports.StepperItem=D;exports.StepperNav=T;exports.StepperSeparator=q;exports.StepperTitle=E;exports.StepperTrigger=L;
|
package/dist/stepper.d.ts
CHANGED
|
@@ -17,26 +17,31 @@ type StepperItemState = "active" | "completed" | "inactive" | "error";
|
|
|
17
17
|
/**
|
|
18
18
|
* A single step descriptor. Consumers may attach any extra fields they need
|
|
19
19
|
* (e.g. `title`, `href`); only `id` is required for ordering and state.
|
|
20
|
+
* Generic over the step-id type for type-safe `id` values.
|
|
21
|
+
* @typeParam TStepId - The type of step ids, defaults to `string`
|
|
20
22
|
*/
|
|
21
|
-
interface StepperStep {
|
|
23
|
+
interface StepperStep<TStepId extends string = string> {
|
|
22
24
|
/** Stable, unique identifier for the step. */
|
|
23
|
-
id:
|
|
25
|
+
id: TStepId;
|
|
24
26
|
[key: string]: unknown;
|
|
25
27
|
}
|
|
26
28
|
/**
|
|
27
29
|
* Props for the Stepper root component.
|
|
30
|
+
* Generic over the step-id type for type-safe `value`, `steps[].id` and
|
|
31
|
+
* `onValueChange`.
|
|
32
|
+
* @typeParam TStepId - The type of step ids, defaults to `string`
|
|
28
33
|
*/
|
|
29
|
-
interface StepperProps extends Omit<React.ComponentPropsWithoutRef<"div">, "onChange"> {
|
|
34
|
+
interface StepperProps<TStepId extends string = string> extends Omit<React.ComponentPropsWithoutRef<"div">, "onChange"> {
|
|
30
35
|
/** Data hook for automated testing (required). */
|
|
31
36
|
dataHook: string;
|
|
32
37
|
/** Ordered list of steps. Defines step order, total count and id → index resolution. */
|
|
33
|
-
steps: StepperStep[];
|
|
38
|
+
steps: StepperStep<TStepId>[];
|
|
34
39
|
/** Controlled active step id. */
|
|
35
|
-
value?:
|
|
40
|
+
value?: TStepId;
|
|
36
41
|
/** Active step id for uncontrolled usage. Defaults to the first step. */
|
|
37
|
-
defaultValue?:
|
|
42
|
+
defaultValue?: TStepId;
|
|
38
43
|
/** Called with the new active step id when the active step changes. */
|
|
39
|
-
onValueChange?: (id:
|
|
44
|
+
onValueChange?: (id: TStepId) => void;
|
|
40
45
|
/**
|
|
41
46
|
* Layout orientation.
|
|
42
47
|
* @default "horizontal"
|
|
@@ -57,12 +62,9 @@ interface StepperProps extends Omit<React.ComponentPropsWithoutRef<"div">, "onCh
|
|
|
57
62
|
/** Tracking label for analytics context. */
|
|
58
63
|
trackingLabel?: string;
|
|
59
64
|
}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
* sub-components via context.
|
|
64
|
-
*/
|
|
65
|
-
declare const Stepper: React.ForwardRefExoticComponent<StepperProps & React.RefAttributes<HTMLDivElement>>;
|
|
65
|
+
declare const Stepper: (<TStepId extends string = string>(props: StepperProps<TStepId> & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null) & {
|
|
66
|
+
displayName?: string;
|
|
67
|
+
};
|
|
66
68
|
/**
|
|
67
69
|
* Props for the StepperNav component.
|
|
68
70
|
*/
|
package/dist/stepper.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stepper.d.ts","sourceRoot":"","sources":["../../src/components/stepper.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B;;GAEG;AACH,KAAK,kBAAkB,GAAG,YAAY,GAAG,UAAU,CAAC;AAEpD;;;;GAIG;AACH,KAAK,qBAAqB,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEhD;;;GAGG;AACH,KAAK,gBAAgB,GAAG,QAAQ,GAAG,WAAW,GAAG,UAAU,GAAG,OAAO,CAAC;AAEtE
|
|
1
|
+
{"version":3,"file":"stepper.d.ts","sourceRoot":"","sources":["../../src/components/stepper.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B;;GAEG;AACH,KAAK,kBAAkB,GAAG,YAAY,GAAG,UAAU,CAAC;AAEpD;;;;GAIG;AACH,KAAK,qBAAqB,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEhD;;;GAGG;AACH,KAAK,gBAAgB,GAAG,QAAQ,GAAG,WAAW,GAAG,UAAU,GAAG,OAAO,CAAC;AAEtE;;;;;GAKG;AACH,UAAU,WAAW,CAAC,OAAO,SAAS,MAAM,GAAG,MAAM;IACnD,8CAA8C;IAC9C,EAAE,EAAE,OAAO,CAAC;IACZ,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AA8DD;;;;;GAKG;AACH,UAAU,YAAY,CAAC,OAAO,SAAS,MAAM,GAAG,MAAM,CAAE,SAAQ,IAAI,CAClE,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,EACrC,UAAU,CACX;IACC,kDAAkD;IAClD,QAAQ,EAAE,MAAM,CAAC;IACjB,wFAAwF;IACxF,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC,EAAE,CAAC;IAC9B,iCAAiC;IACjC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,yEAAyE;IACzE,YAAY,CAAC,EAAE,OAAO,C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