@orion-ds/react 4.2.13 → 4.2.14
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/index10.cjs +1 -1
- package/dist/index10.mjs +1 -1
- package/dist/index100.cjs +1 -1
- package/dist/index100.mjs +46 -20
- package/dist/index101.cjs +1 -1
- package/dist/index101.mjs +14 -26
- package/dist/index102.cjs +1 -1
- package/dist/index102.mjs +28 -42
- package/dist/index103.cjs +1 -1
- package/dist/index103.mjs +30 -64
- package/dist/index104.cjs +1 -1
- package/dist/index104.mjs +40 -58
- package/dist/index105.cjs +1 -1
- package/dist/index105.mjs +54 -24
- package/dist/index106.cjs +1 -1
- package/dist/index106.mjs +42 -36
- package/dist/index107.cjs +1 -1
- package/dist/index107.mjs +18 -18
- package/dist/index108.cjs +1 -1
- package/dist/index108.mjs +50 -30
- package/dist/index109.cjs +1 -1
- package/dist/index109.mjs +21 -37
- package/dist/index11.cjs +1 -1
- package/dist/index11.mjs +1 -1
- package/dist/index110.cjs +1 -1
- package/dist/index110.mjs +36 -28
- package/dist/index111.cjs +1 -1
- package/dist/index111.mjs +20 -46
- package/dist/index112.cjs +1 -1
- package/dist/index112.mjs +28 -33
- package/dist/index113.cjs +1 -1
- package/dist/index113.mjs +18 -40
- package/dist/index114.cjs +1 -1
- package/dist/index114.mjs +62 -24
- package/dist/index115.cjs +1 -1
- package/dist/index115.mjs +28 -234
- package/dist/index116.cjs +1 -1
- package/dist/index116.mjs +13 -34
- package/dist/index117.cjs +1 -1
- package/dist/index117.mjs +36 -44
- package/dist/index118.cjs +1 -1
- package/dist/index118.mjs +52 -170
- package/dist/index119.cjs +1 -1
- package/dist/index119.mjs +41 -186
- package/dist/index120.cjs +1 -1
- package/dist/index120.mjs +33 -29
- package/dist/index121.cjs +1 -1
- package/dist/index121.mjs +27 -90
- package/dist/index122.cjs +1 -1
- package/dist/index122.mjs +13 -53
- package/dist/index123.cjs +1 -1
- package/dist/index123.mjs +40 -66
- package/dist/index124.cjs +1 -1
- package/dist/index124.mjs +62 -124
- package/dist/index125.cjs +1 -1
- package/dist/index125.mjs +42 -108
- package/dist/index126.cjs +1 -1
- package/dist/index126.mjs +30 -111
- package/dist/index127.cjs +1 -1
- package/dist/index127.mjs +36 -122
- package/dist/index128.cjs +1 -1
- package/dist/index128.mjs +28 -214
- package/dist/index129.cjs +1 -1
- package/dist/index129.mjs +57 -106
- package/dist/index13.cjs +1 -1
- package/dist/index13.mjs +1 -1
- package/dist/index130.cjs +1 -1
- package/dist/index130.mjs +20 -65
- package/dist/index131.cjs +1 -1
- package/dist/index131.mjs +26 -42
- package/dist/index132.cjs +1 -1
- package/dist/index132.mjs +52 -28
- package/dist/index133.cjs +1 -1
- package/dist/index133.mjs +106 -30
- package/dist/index134.cjs +1 -1
- package/dist/index134.mjs +55 -46
- package/dist/index135.cjs +1 -1
- package/dist/index135.mjs +18 -12
- package/dist/index136.cjs +1 -1
- package/dist/index136.mjs +65 -44
- package/dist/index137.cjs +1 -1
- package/dist/index137.mjs +64 -55
- package/dist/index138.cjs +1 -1
- package/dist/index138.mjs +28 -20
- package/dist/index139.cjs +1 -1
- package/dist/index139.mjs +24 -18
- package/dist/index14.cjs +1 -1
- package/dist/index14.mjs +1 -1
- package/dist/index140.cjs +1 -1
- package/dist/index140.mjs +18 -24
- package/dist/index142.cjs +1 -1
- package/dist/index142.mjs +40 -53
- package/dist/index143.cjs +1 -1
- package/dist/index143.mjs +21 -43
- package/dist/index144.cjs +1 -1
- package/dist/index144.mjs +46 -28
- package/dist/index145.cjs +1 -1
- package/dist/index145.mjs +20 -67
- package/dist/index147.cjs +1 -1
- package/dist/index147.mjs +24 -20
- package/dist/index148.cjs +1 -1
- package/dist/index148.mjs +67 -22
- package/dist/index149.cjs +1 -1
- package/dist/index149.mjs +46 -52
- package/dist/index15.cjs +1 -1
- package/dist/index15.mjs +1 -1
- package/dist/index150.cjs +1 -1
- package/dist/index150.mjs +24 -54
- package/dist/index151.cjs +1 -1
- package/dist/index151.mjs +45 -46
- package/dist/index152.cjs +1 -1
- package/dist/index152.mjs +42 -76
- package/dist/index153.cjs +1 -1
- package/dist/index153.mjs +30 -14
- package/dist/index154.cjs +1 -1
- package/dist/index154.mjs +64 -42
- package/dist/index155.cjs +1 -1
- package/dist/index155.mjs +53 -40
- package/dist/index156.cjs +1 -1
- package/dist/index156.mjs +76 -35
- package/dist/index157.cjs +1 -1
- package/dist/index157.mjs +38 -28
- package/dist/index158.cjs +1 -1
- package/dist/index158.mjs +234 -40
- package/dist/index159.cjs +1 -1
- package/dist/index159.mjs +34 -21
- package/dist/index16.cjs +1 -1
- package/dist/index16.mjs +1 -1
- package/dist/index160.cjs +1 -1
- package/dist/index160.mjs +44 -13
- package/dist/index161.cjs +1 -1
- package/dist/index161.mjs +170 -57
- package/dist/index162.cjs +1 -1
- package/dist/index162.mjs +186 -33
- package/dist/index163.cjs +1 -1
- package/dist/index163.mjs +29 -17
- package/dist/index164.cjs +1 -1
- package/dist/index164.mjs +90 -28
- package/dist/index165.cjs +1 -1
- package/dist/index165.mjs +53 -19
- package/dist/index166.cjs +1 -1
- package/dist/index166.mjs +66 -45
- package/dist/index167.cjs +1 -1
- package/dist/index167.mjs +124 -52
- package/dist/index168.cjs +1 -1
- package/dist/index168.mjs +108 -62
- package/dist/index169.cjs +1 -1
- package/dist/index169.mjs +111 -36
- package/dist/index17.cjs +1 -1
- package/dist/index17.mjs +1 -1
- package/dist/index170.cjs +1 -1
- package/dist/index170.mjs +122 -30
- package/dist/index171.cjs +1 -1
- package/dist/index171.mjs +214 -28
- package/dist/index172.cjs +1 -1
- package/dist/index172.mjs +44 -32
- package/dist/index173.cjs +1 -1
- package/dist/index173.mjs +30 -28
- package/dist/index174.cjs +1 -1
- package/dist/index174.mjs +36 -30
- package/dist/index175.cjs +1 -1
- package/dist/index175.mjs +56 -64
- package/dist/index176.cjs +1 -1
- package/dist/index176.mjs +30 -27
- package/dist/index177.cjs +1 -1
- package/dist/index177.mjs +32 -38
- package/dist/index178.cjs +1 -1
- package/dist/index178.mjs +28 -30
- package/dist/index179.cjs +1 -1
- package/dist/index179.mjs +27 -29
- package/dist/index18.cjs +1 -1
- package/dist/index18.mjs +1 -1
- package/dist/index180.cjs +1 -1
- package/dist/index180.mjs +16 -50
- package/dist/index181.cjs +1 -1
- package/dist/index181.mjs +33 -56
- package/dist/index185.cjs +1 -1
- package/dist/index185.mjs +1 -1
- package/dist/index19.cjs +1 -1
- package/dist/index19.mjs +2 -2
- package/dist/index20.cjs +1 -1
- package/dist/index20.mjs +14 -14
- package/dist/index21.cjs +1 -1
- package/dist/index21.mjs +1 -1
- package/dist/index22.cjs +1 -1
- package/dist/index22.mjs +1 -1
- package/dist/index23.cjs +1 -1
- package/dist/index23.mjs +1 -1
- package/dist/index24.cjs +1 -1
- package/dist/index24.mjs +1 -1
- package/dist/index25.cjs +1 -1
- package/dist/index25.mjs +1 -1
- package/dist/index26.cjs +1 -1
- package/dist/index26.mjs +1 -1
- package/dist/index27.cjs +1 -1
- package/dist/index27.mjs +1 -1
- package/dist/index28.cjs +1 -1
- package/dist/index28.mjs +1 -1
- package/dist/index30.cjs +1 -1
- package/dist/index30.mjs +1 -1
- package/dist/index31.cjs +1 -1
- package/dist/index31.mjs +1 -1
- package/dist/index32.cjs +1 -1
- package/dist/index32.mjs +1 -1
- package/dist/index33.cjs +1 -1
- package/dist/index33.mjs +1 -1
- package/dist/index35.cjs +1 -1
- package/dist/index35.mjs +1 -1
- package/dist/index36.cjs +1 -1
- package/dist/index36.mjs +1 -1
- package/dist/index37.cjs +1 -1
- package/dist/index37.mjs +1 -1
- package/dist/index38.cjs +1 -1
- package/dist/index38.mjs +1 -1
- package/dist/index39.cjs +1 -1
- package/dist/index39.mjs +1 -1
- package/dist/index40.cjs +1 -1
- package/dist/index40.mjs +1 -1
- package/dist/index42.cjs +1 -1
- package/dist/index42.mjs +1 -1
- package/dist/index43.cjs +1 -1
- package/dist/index43.mjs +1 -1
- package/dist/index44.cjs +1 -1
- package/dist/index44.mjs +1 -1
- package/dist/index46.cjs +1 -1
- package/dist/index46.mjs +1 -1
- package/dist/index47.cjs +1 -1
- package/dist/index47.mjs +1 -1
- package/dist/index49.cjs +1 -1
- package/dist/index49.mjs +1 -1
- package/dist/index5.cjs +1 -1
- package/dist/index5.mjs +1 -1
- package/dist/index50.cjs +1 -1
- package/dist/index50.mjs +1 -1
- package/dist/index51.cjs +1 -1
- package/dist/index51.mjs +1 -1
- package/dist/index52.cjs +1 -1
- package/dist/index52.mjs +1 -1
- package/dist/index53.cjs +1 -1
- package/dist/index53.mjs +1 -1
- package/dist/index54.cjs +1 -1
- package/dist/index54.mjs +1 -1
- package/dist/index55.cjs +1 -1
- package/dist/index55.mjs +1 -1
- package/dist/index56.cjs +1 -1
- package/dist/index56.mjs +1 -1
- package/dist/index57.cjs +1 -1
- package/dist/index57.mjs +1 -1
- package/dist/index58.cjs +1 -1
- package/dist/index58.mjs +1 -1
- package/dist/index59.cjs +1 -1
- package/dist/index59.mjs +1 -1
- package/dist/index6.cjs +1 -1
- package/dist/index6.mjs +1 -1
- package/dist/index60.cjs +1 -1
- package/dist/index60.mjs +1 -1
- package/dist/index61.cjs +1 -1
- package/dist/index61.mjs +1 -1
- package/dist/index62.cjs +1 -1
- package/dist/index62.mjs +1 -1
- package/dist/index64.cjs +1 -1
- package/dist/index64.mjs +1 -1
- package/dist/index65.cjs +1 -1
- package/dist/index65.mjs +1 -1
- package/dist/index66.cjs +1 -1
- package/dist/index66.mjs +1 -1
- package/dist/index67.cjs +1 -1
- package/dist/index67.mjs +1 -1
- package/dist/index68.cjs +1 -1
- package/dist/index68.mjs +1 -1
- package/dist/index69.cjs +1 -1
- package/dist/index69.mjs +1 -1
- package/dist/index7.cjs +1 -1
- package/dist/index7.mjs +1 -1
- package/dist/index70.cjs +1 -1
- package/dist/index70.mjs +1 -1
- package/dist/index71.cjs +1 -1
- package/dist/index71.mjs +1 -1
- package/dist/index72.cjs +1 -1
- package/dist/index72.mjs +1 -1
- package/dist/index73.cjs +1 -1
- package/dist/index73.mjs +1 -1
- package/dist/index76.cjs +1 -1
- package/dist/index76.mjs +1 -1
- package/dist/index77.cjs +1 -1
- package/dist/index77.mjs +1 -1
- package/dist/index78.cjs +1 -1
- package/dist/index78.mjs +1 -1
- package/dist/index79.cjs +1 -1
- package/dist/index79.mjs +1 -1
- package/dist/index8.cjs +1 -1
- package/dist/index8.mjs +1 -1
- package/dist/index80.cjs +1 -1
- package/dist/index80.mjs +1 -1
- package/dist/index81.cjs +1 -1
- package/dist/index81.mjs +1 -1
- package/dist/index9.cjs +1 -1
- package/dist/index9.mjs +1 -1
- package/dist/index99.cjs +1 -1
- package/dist/index99.mjs +28 -16
- package/package.json +1 -1
package/dist/index179.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s="_badge_1vgzi_8",r="_primary_1vgzi_32",_="_secondary_1vgzi_38",n="_success_1vgzi_44",e="_error_1vgzi_50",o="_warning_1vgzi_56",i="_info_1vgzi_62",c="_brand_1vgzi_68",g="_inverse_1vgzi_75",t="_sm_1vgzi_85",a="_md_1vgzi_91",d="_lg_1vgzi_97",v="_dot_1vgzi_107",m={badge:s,primary:r,secondary:_,success:n,error:e,warning:o,info:i,brand:c,inverse:g,sm:t,md:a,lg:d,dot:v};exports.badge=s;exports.brand=c;exports.default=m;exports.dot=v;exports.error=e;exports.info=i;exports.inverse=g;exports.lg=d;exports.md=a;exports.primary=r;exports.secondary=_;exports.sm=t;exports.success=n;exports.warning=o;
|
package/dist/index179.mjs
CHANGED
|
@@ -1,33 +1,31 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
const _ = "_badge_1vgzi_8", s = "_primary_1vgzi_32", n = "_secondary_1vgzi_38", r = "_success_1vgzi_44", o = "_error_1vgzi_50", i = "_warning_1vgzi_56", c = "_info_1vgzi_62", g = "_brand_1vgzi_68", e = "_inverse_1vgzi_75", t = "_sm_1vgzi_85", a = "_md_1vgzi_91", d = "_lg_1vgzi_97", v = "_dot_1vgzi_107", z = {
|
|
2
|
+
badge: _,
|
|
3
|
+
primary: s,
|
|
4
|
+
secondary: n,
|
|
5
|
+
success: r,
|
|
6
|
+
error: o,
|
|
7
|
+
warning: i,
|
|
8
|
+
info: c,
|
|
9
|
+
brand: g,
|
|
10
|
+
inverse: e,
|
|
8
11
|
sm: t,
|
|
9
|
-
md:
|
|
10
|
-
lg:
|
|
11
|
-
|
|
12
|
-
label: c,
|
|
13
|
-
required: i,
|
|
14
|
-
helperText: k,
|
|
15
|
-
errorMessage: z
|
|
12
|
+
md: a,
|
|
13
|
+
lg: d,
|
|
14
|
+
dot: v
|
|
16
15
|
};
|
|
17
16
|
export {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
d as
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
i as
|
|
32
|
-
t as sm
|
|
17
|
+
_ as badge,
|
|
18
|
+
g as brand,
|
|
19
|
+
z as default,
|
|
20
|
+
v as dot,
|
|
21
|
+
o as error,
|
|
22
|
+
c as info,
|
|
23
|
+
e as inverse,
|
|
24
|
+
d as lg,
|
|
25
|
+
a as md,
|
|
26
|
+
s as primary,
|
|
27
|
+
n as secondary,
|
|
28
|
+
t as sm,
|
|
29
|
+
r as success,
|
|
30
|
+
i as warning
|
|
33
31
|
};
|
package/dist/index18.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),e=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),e=require("./index129.cjs"),d=({item:i,aspectRatio:c="16/9",variant:n="editorial",className:o,style:u,...m})=>{const{image:f,eyebrow:l,title:j,description:s,action:r,overlay:t="gradient"}=i,p=[e.default.card,e.default[`variant-${n}`],e.default[`aspect-${c.replace("/","-")}`],o].filter(Boolean).join(" ");return a.jsxs("article",{className:p,style:u,...m,children:[a.jsx("div",{className:e.default.imageWrapper,children:f}),t!=="none"&&a.jsx("div",{className:`${e.default.overlay} ${e.default[`overlay-${t}`]}`}),a.jsxs("div",{className:e.default.content,children:[l&&a.jsx("span",{className:e.default.eyebrow,children:l}),a.jsx("h3",{className:e.default.cardTitle,children:j}),s&&a.jsx("p",{className:e.default.cardDescription,children:s}),r&&a.jsx("div",{className:e.default.action,children:r})]})]})};d.displayName="CarouselCard";exports.CarouselCard=d;
|
package/dist/index18.mjs
CHANGED
package/dist/index180.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_group_1ugc0_3",t="_item_1ugc0_10",s="_itemPressed_1ugc0_60",_="_outline_1ugc0_71",u="_sm_1ugc0_98",o="_md_1ugc0_105",c="_lg_1ugc0_112",g={group:e,item:t,itemPressed:s,outline:_,sm:u,md:o,lg:c};exports.default=g;exports.group=e;exports.item=t;exports.itemPressed=s;exports.lg=c;exports.md=o;exports.outline=_;exports.sm=u;
|
package/dist/index180.mjs
CHANGED
|
@@ -1,53 +1,19 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
link: c,
|
|
10
|
-
active: l,
|
|
11
|
-
toggleLine: a,
|
|
12
|
-
bordered: h,
|
|
13
|
-
sticky: i,
|
|
14
|
-
sm: r,
|
|
15
|
-
md: d,
|
|
16
|
-
lg: p,
|
|
17
|
-
nav: m,
|
|
18
|
-
actions: b,
|
|
19
|
-
toggle: k,
|
|
20
|
-
toggleIcon: v,
|
|
21
|
-
toggleOpen: D,
|
|
22
|
-
collapse: L,
|
|
23
|
-
collapseOpen: O,
|
|
24
|
-
slideDown: y,
|
|
25
|
-
collapseActions: w
|
|
1
|
+
const _ = "_group_1ugc0_3", s = "_item_1ugc0_10", t = "_itemPressed_1ugc0_60", e = "_outline_1ugc0_71", c = "_sm_1ugc0_98", o = "_md_1ugc0_105", u = "_lg_1ugc0_112", g = {
|
|
2
|
+
group: _,
|
|
3
|
+
item: s,
|
|
4
|
+
itemPressed: t,
|
|
5
|
+
outline: e,
|
|
6
|
+
sm: c,
|
|
7
|
+
md: o,
|
|
8
|
+
lg: u
|
|
26
9
|
};
|
|
27
10
|
export {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
n as glass,
|
|
37
|
-
p as lg,
|
|
38
|
-
c as link,
|
|
39
|
-
d as md,
|
|
40
|
-
m as nav,
|
|
41
|
-
o as navbar,
|
|
42
|
-
e as schemeDark,
|
|
43
|
-
t as schemeLight,
|
|
44
|
-
y as slideDown,
|
|
45
|
-
r as sm,
|
|
46
|
-
_ as solid,
|
|
47
|
-
i as sticky,
|
|
48
|
-
k as toggle,
|
|
49
|
-
v as toggleIcon,
|
|
50
|
-
a as toggleLine,
|
|
51
|
-
D as toggleOpen,
|
|
52
|
-
s as transparent
|
|
11
|
+
g as default,
|
|
12
|
+
_ as group,
|
|
13
|
+
s as item,
|
|
14
|
+
t as itemPressed,
|
|
15
|
+
u as lg,
|
|
16
|
+
o as md,
|
|
17
|
+
e as outline,
|
|
18
|
+
c as sm
|
|
53
19
|
};
|
package/dist/index181.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_accordion_1p40q_9",n="_item_1p40q_24",t="_bordered_1p40q_33",d="_header_1p40q_43",o="_expanded_1p40q_57",c="_contentInner_1p40q_62",_="_separated_1p40q_69",a="_disabled_1p40q_91",r="_icon_1p40q_130",p="_title_1p40q_137",s="_chevron_1p40q_141",i="_chevronExpanded_1p40q_149",l="_content_1p40q_62",q="_animated_1p40q_161",h="_contentExpanded_1p40q_171",x={accordion:e,default:"_default_1p40q_20",item:n,bordered:t,header:d,expanded:o,contentInner:c,separated:_,disabled:a,icon:r,title:p,chevron:s,chevronExpanded:i,content:l,animated:q,contentExpanded:h};exports.accordion=e;exports.animated=q;exports.bordered=t;exports.chevron=s;exports.chevronExpanded=i;exports.content=l;exports.contentExpanded=h;exports.contentInner=c;exports.default=x;exports.disabled=a;exports.expanded=o;exports.header=d;exports.icon=r;exports.item=n;exports.separated=_;exports.title=p;
|
package/dist/index181.mjs
CHANGED
|
@@ -1,59 +1,36 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"variant-bar": "_variant-bar_1iws7_154",
|
|
19
|
-
bar: b,
|
|
20
|
-
barAction: A,
|
|
21
|
-
barActionIcon: w,
|
|
22
|
-
barActionLabel: f,
|
|
23
|
-
"variant-menu": "_variant-menu_1iws7_201",
|
|
24
|
-
menuTrigger: g,
|
|
25
|
-
menu: m,
|
|
26
|
-
menuSlide: u,
|
|
27
|
-
menuAction: l,
|
|
28
|
-
menuActionIcon: p,
|
|
29
|
-
menuActionLabel: I,
|
|
30
|
-
"action-primary": "_action-primary_1iws7_289",
|
|
31
|
-
"action-danger": "_action-danger_1iws7_293",
|
|
32
|
-
actionDisabled: d,
|
|
33
|
-
shortcut: T
|
|
1
|
+
const e = "_accordion_1p40q_9", n = "_item_1p40q_24", t = "_bordered_1p40q_33", _ = "_header_1p40q_43", d = "_expanded_1p40q_57", o = "_contentInner_1p40q_62", c = "_separated_1p40q_69", a = "_disabled_1p40q_91", p = "_icon_1p40q_130", r = "_title_1p40q_137", s = "_chevron_1p40q_141", i = "_chevronExpanded_1p40q_149", q = "_content_1p40q_62", l = "_animated_1p40q_161", x = "_contentExpanded_1p40q_171", h = {
|
|
2
|
+
accordion: e,
|
|
3
|
+
default: "_default_1p40q_20",
|
|
4
|
+
item: n,
|
|
5
|
+
bordered: t,
|
|
6
|
+
header: _,
|
|
7
|
+
expanded: d,
|
|
8
|
+
contentInner: o,
|
|
9
|
+
separated: c,
|
|
10
|
+
disabled: a,
|
|
11
|
+
icon: p,
|
|
12
|
+
title: r,
|
|
13
|
+
chevron: s,
|
|
14
|
+
chevronExpanded: i,
|
|
15
|
+
content: q,
|
|
16
|
+
animated: l,
|
|
17
|
+
contentExpanded: x
|
|
34
18
|
};
|
|
35
19
|
export {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
p as menuActionIcon,
|
|
53
|
-
I as menuActionLabel,
|
|
54
|
-
u as menuSlide,
|
|
55
|
-
g as menuTrigger,
|
|
56
|
-
s as open,
|
|
57
|
-
i as quickActions,
|
|
58
|
-
T as shortcut
|
|
20
|
+
e as accordion,
|
|
21
|
+
l as animated,
|
|
22
|
+
t as bordered,
|
|
23
|
+
s as chevron,
|
|
24
|
+
i as chevronExpanded,
|
|
25
|
+
q as content,
|
|
26
|
+
x as contentExpanded,
|
|
27
|
+
o as contentInner,
|
|
28
|
+
h as default,
|
|
29
|
+
a as disabled,
|
|
30
|
+
d as expanded,
|
|
31
|
+
_ as header,
|
|
32
|
+
p as icon,
|
|
33
|
+
n as item,
|
|
34
|
+
c as separated,
|
|
35
|
+
r as title
|
|
59
36
|
};
|
package/dist/index185.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),n=require("react"),b=require("lucide-react"),i=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),n=require("react"),b=require("lucide-react"),i=require("./index158.cjs"),l=({src:s,alt:d="Image",isOpen:a,onClose:t,className:f,...m})=>{const u=n.useRef(null),r=n.useRef(null),c=n.useCallback(e=>{if(e.key==="Escape"){t();return}e.key==="Tab"&&(e.preventDefault(),u.current?.focus())},[t]),g=e=>{e.target===e.currentTarget&&t()};return n.useEffect(()=>(a&&(r.current=document.activeElement,document.addEventListener("keydown",c),document.body.style.overflow="hidden",requestAnimationFrame(()=>{u.current?.focus()})),()=>{document.removeEventListener("keydown",c),document.body.style.overflow="",r.current&&typeof r.current.focus=="function"&&r.current.focus()}),[a,c]),a?o.jsxs("div",{className:[i.default.lightbox,f].filter(Boolean).join(" "),onClick:g,role:"dialog","aria-modal":"true","aria-label":"Image viewer",...m,children:[o.jsx("button",{ref:u,className:i.default.lightboxClose,onClick:t,"aria-label":"Close image viewer",children:o.jsx(b.X,{size:24})}),o.jsx("img",{src:s,alt:d,className:i.default.lightboxImage})]}):null};l.displayName="ChatLightbox";exports.ChatLightbox=l;
|
package/dist/index185.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as g, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as c, useCallback as b, useEffect as h } from "react";
|
|
3
3
|
import { X as y } from "lucide-react";
|
|
4
|
-
import l from "./
|
|
4
|
+
import l from "./index158.mjs";
|
|
5
5
|
const v = ({
|
|
6
6
|
src: u,
|
|
7
7
|
alt: s = "Image",
|
package/dist/index19.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),h=require("react"),p=require("recharts"),R=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),h=require("react"),p=require("recharts"),R=require("./index127.cjs"),t=require("./index128.cjs"),f=h.createContext({}),j=({config:s,children:o,className:a,style:n,...l})=>{const{resolvedConfig:r,resolvedColorVars:i}=R.useResolvedChartColors(s),d=[t.default.container,a].filter(Boolean).join(" ");return e.jsx(f.Provider,{value:r,children:e.jsx("div",{role:"figure",className:d,style:{...i,...n},...l,children:e.jsx(p.ResponsiveContainer,{width:"100%",height:"100%",children:o})})})};j.displayName="ChartContainer";const v=({active:s,payload:o,label:a,indicator:n="dot",hideLabel:l=!1,hideIndicator:r=!1,labelFormatter:i,formatter:d,className:u})=>{const L=h.useContext(f);if(!s||!o?.length)return null;const b=[t.default.tooltip,u].filter(Boolean).join(" "),g=i?i(String(a)):a,T={dot:t.default.tooltipDot,line:t.default.tooltipLine,dashed:t.default.tooltipDashed}[n];return e.jsxs("div",{className:b,children:[!l&&g&&e.jsx("div",{className:t.default.tooltipLabel,children:g}),e.jsx("div",{className:t.default.tooltipItems,children:o.map(c=>{const C=String(c.dataKey||c.name),m=L[C],q=m?.label||C,I=d?d(c.value,C):String(c.value),x=c.color||m?.color;return e.jsxs("div",{className:t.default.tooltipItem,children:[!r&&e.jsx("span",{className:T,style:{backgroundColor:x,borderColor:x}}),e.jsx("span",{className:t.default.tooltipName,children:q}),e.jsx("span",{className:t.default.tooltipValue,children:I})]},C)})})]})};v.displayName="ChartTooltipContent";const N=({payload:s,className:o})=>{const a=h.useContext(f);if(!s?.length)return null;const n=[t.default.legend,o].filter(Boolean).join(" ");return e.jsx("div",{className:n,children:s.map(l=>{const r=l.dataKey||l.value,i=a[r],d=i?.label||r,u=l.color||i?.color;return e.jsxs("div",{className:t.default.legendItem,children:[e.jsx("span",{className:t.default.legendDot,style:{backgroundColor:u}}),e.jsx("span",{children:d})]},r)})})};N.displayName="ChartLegendContent";const y=({id:s,color:o,startOpacity:a=.4,endOpacity:n=.05})=>e.jsxs("linearGradient",{id:s,x1:"0",y1:"0",x2:"0",y2:"1",children:[e.jsx("stop",{offset:"5%",stopColor:o,stopOpacity:a}),e.jsx("stop",{offset:"95%",stopColor:o,stopOpacity:n})]});y.displayName="ChartGradient";const S=p.Tooltip,G=p.Legend;exports.ChartContainer=j;exports.ChartGradient=y;exports.ChartLegend=G;exports.ChartLegendContent=N;exports.ChartTooltip=S;exports.ChartTooltipContent=v;
|
package/dist/index19.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as t, jsxs as C } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as v, createContext as j } from "react";
|
|
3
3
|
import { Legend as I, Tooltip as K, ResponsiveContainer as T } from "recharts";
|
|
4
|
-
import { useResolvedChartColors as B } from "./
|
|
5
|
-
import o from "./
|
|
4
|
+
import { useResolvedChartColors as B } from "./index127.mjs";
|
|
5
|
+
import o from "./index128.mjs";
|
|
6
6
|
const h = j({}), D = ({
|
|
7
7
|
config: n,
|
|
8
8
|
children: e,
|
package/dist/index20.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),s=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),s=require("./index158.cjs"),d=require("./index159.cjs"),h=require("./index160.cjs"),n=require("./index161.cjs"),C=require("./index162.cjs"),c=require("./index163.cjs"),l=require("./index164.cjs"),u=require("./index165.cjs"),p=require("./index166.cjs"),m=require("./index167.cjs"),y=require("./index168.cjs"),g=require("./index169.cjs"),M=require("./index170.cjs"),q=require("./index171.cjs"),a=({children:t,className:r,...i})=>o.jsx("div",{className:[s.default.chat,r].filter(Boolean).join(" "),role:"region","aria-label":"Chat interface",...i,children:t});a.displayName="Chat";const e=a;e.Header=d.ChatHeader;e.Messages=h.ChatMessages;e.Message=n.ChatMessage;e.Input=C.ChatInput;e.TypingIndicator=c.ChatTypingIndicator;e.CodeBlock=l.ChatCodeBlock;e.Markdown=u.ChatMarkdown;e.ImagePreview=p.ChatImagePreview;e.AudioPlayer=m.ChatAudioPlayer;e.VoiceRecorder=y.ChatVoiceRecorder;e.FileUpload=g.ChatFileUpload;e.Attachment=M.ChatAttachment;e.Sidebar=q.ChatSidebar;e.Header.displayName="Chat.Header";e.Messages.displayName="Chat.Messages";e.Message.displayName="Chat.Message";e.Input.displayName="Chat.Input";e.TypingIndicator.displayName="Chat.TypingIndicator";e.CodeBlock.displayName="Chat.CodeBlock";e.Markdown.displayName="Chat.Markdown";e.ImagePreview.displayName="Chat.ImagePreview";e.AudioPlayer.displayName="Chat.AudioPlayer";e.VoiceRecorder.displayName="Chat.VoiceRecorder";e.FileUpload.displayName="Chat.FileUpload";e.Attachment.displayName="Chat.Attachment";e.Sidebar.displayName="Chat.Sidebar";exports.Chat=e;
|
package/dist/index20.mjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import m from "./
|
|
3
|
-
import { ChatHeader as d } from "./
|
|
4
|
-
import { ChatMessages as p } from "./
|
|
5
|
-
import { ChatMessage as s } from "./
|
|
6
|
-
import { ChatInput as l } from "./
|
|
7
|
-
import { ChatTypingIndicator as h } from "./
|
|
8
|
-
import { ChatCodeBlock as C } from "./
|
|
9
|
-
import { ChatMarkdown as n } from "./
|
|
10
|
-
import { ChatImagePreview as c } from "./
|
|
11
|
-
import { ChatAudioPlayer as y } from "./
|
|
12
|
-
import { ChatVoiceRecorder as f } from "./
|
|
13
|
-
import { ChatFileUpload as g } from "./
|
|
14
|
-
import { ChatAttachment as N } from "./
|
|
15
|
-
import { ChatSidebar as I } from "./
|
|
2
|
+
import m from "./index158.mjs";
|
|
3
|
+
import { ChatHeader as d } from "./index159.mjs";
|
|
4
|
+
import { ChatMessages as p } from "./index160.mjs";
|
|
5
|
+
import { ChatMessage as s } from "./index161.mjs";
|
|
6
|
+
import { ChatInput as l } from "./index162.mjs";
|
|
7
|
+
import { ChatTypingIndicator as h } from "./index163.mjs";
|
|
8
|
+
import { ChatCodeBlock as C } from "./index164.mjs";
|
|
9
|
+
import { ChatMarkdown as n } from "./index165.mjs";
|
|
10
|
+
import { ChatImagePreview as c } from "./index166.mjs";
|
|
11
|
+
import { ChatAudioPlayer as y } from "./index167.mjs";
|
|
12
|
+
import { ChatVoiceRecorder as f } from "./index168.mjs";
|
|
13
|
+
import { ChatFileUpload as g } from "./index169.mjs";
|
|
14
|
+
import { ChatAttachment as N } from "./index170.mjs";
|
|
15
|
+
import { ChatSidebar as I } from "./index171.mjs";
|
|
16
16
|
const e = ({ children: t, className: o, ...r }) => /* @__PURE__ */ i(
|
|
17
17
|
"div",
|
|
18
18
|
{
|
package/dist/index21.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("react"),u=require("lucide-react"),s=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("react"),u=require("lucide-react"),s=require("./index153.cjs"),m=t.forwardRef(({label:i,helperText:n,error:a,size:j="md",indeterminate:r=!1,className:k,id:N,disabled:h,required:o,checked:v,"aria-label":f,"aria-describedby":p,...C},y)=>{const R=t.useId(),l=N||`checkbox-${R}`,x=`${l}-error`,b=`${l}-helper`,g=t.useRef(null),d=y||g;t.useEffect(()=>{d.current&&(d.current.indeterminate=r)},[r,d]);const c=[];a&&c.push(x),n&&!a&&c.push(b),p&&c.push(p);const I=c.length>0?c.join(" "):void 0;!(i||f)&&process.env.NODE_ENV==="development"&&console.warn("Checkbox: Missing accessible name. Provide either a `label` prop or `aria-label` for screen reader users.");const q=r?"mixed":void 0,M=[s.default.container,s.default[j],a&&s.default.error,h&&s.default.disabled,k].filter(Boolean).join(" ");return e.jsxs("div",{className:M,children:[e.jsx("input",{ref:d,type:"checkbox",id:l,className:s.default.input,disabled:h,required:o,checked:v,"aria-required":o||void 0,"aria-invalid":a?"true":"false","aria-checked":q,"aria-describedby":I,"aria-label":i?void 0:f,...C}),e.jsxs("label",{htmlFor:l,className:s.default.labelWrapper,children:[e.jsx("span",{className:s.default.checkbox,"aria-hidden":"true",children:e.jsx("span",{className:s.default.checkmark,children:r?e.jsx(u.Minus,{strokeWidth:3}):e.jsx(u.Check,{strokeWidth:3})})}),i&&e.jsxs("span",{className:s.default.label,children:[i,o&&e.jsx("span",{className:s.default.required,"aria-hidden":"true",children:"*"})]})]}),n&&!a&&e.jsx("p",{id:b,className:s.default.helperText,children:n}),a&&e.jsxs("p",{id:x,className:s.default.errorMessage,role:"alert","aria-live":"assertive",children:[e.jsx(u.AlertCircle,{size:14,"aria-hidden":"true"}),e.jsx("span",{children:a})]})]})});m.displayName="Checkbox";exports.Checkbox=m;
|
package/dist/index21.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as l, jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as A, useId as B, useRef as E, useEffect as M } from "react";
|
|
3
3
|
import { Minus as W, Check as $, AlertCircle as w } from "lucide-react";
|
|
4
|
-
import e from "./
|
|
4
|
+
import e from "./index153.mjs";
|
|
5
5
|
const z = A(
|
|
6
6
|
({
|
|
7
7
|
label: i,
|
package/dist/index22.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),w=require("react"),e=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),w=require("react"),e=require("./index117.cjs"),u=w.forwardRef(({variant:c="default",size:d="md",icon:i,clickable:f=!1,onClick:s,onRemove:l,disabled:a=!1,selected:o=!1,children:h,className:p,...v},m)=>{const r=f||!!s,j=[e.default.chip,e.default[c],e.default[d],r&&e.default.clickable,o&&e.default.selected,a&&e.default.disabled,p].filter(Boolean).join(" "),k=()=>{!a&&s&&s()},x=t=>{t.stopPropagation(),!a&&l&&l()},y=t=>{a||((t.key==="Enter"||t.key===" ")&&(t.preventDefault(),s?.()),(t.key==="Backspace"||t.key==="Delete")&&(t.preventDefault(),l?.()))};return n.jsxs("div",{ref:m,className:j,role:r?"button":void 0,tabIndex:r&&!a?0:void 0,"aria-disabled":a,"aria-pressed":o,onClick:r?k:void 0,onKeyDown:r?y:void 0,...v,children:[i&&n.jsx("span",{className:e.default.icon,"aria-hidden":"true",children:i}),n.jsx("span",{className:e.default.label,children:h}),l&&n.jsx("button",{type:"button",className:e.default.removeButton,onClick:x,disabled:a,"aria-label":"Remove",children:n.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M10.5 3.5L3.5 10.5M3.5 3.5l7 7",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]})});u.displayName="Chip";exports.Chip=u;
|
package/dist/index22.mjs
CHANGED
package/dist/index23.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),i=require("react"),_=require("react-syntax-highlighter"),$=require("react-syntax-highlighter/dist/esm/styles/prism"),l=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),i=require("react"),_=require("react-syntax-highlighter"),$=require("react-syntax-highlighter/dist/esm/styles/prism"),l=require("./index145.cjs"),z=require("./index75.cjs");try{const r=require("refractor/all");r.default&&r.default.registered&&r.default.registered("markdown")&&!r.default.languages.markdown?.["quoted-string"]&&r.default.languages.insertBefore("markdown","bold",{"quoted-string":{pattern:/"(?:\\.|[^"\\])*"/,greedy:!0,alias:"string"}})}catch{}const A=i.forwardRef(({value:r="",onChange:g,language:j,readOnly:T=!1,showLineNumbers:k=!0,placeholder:C,minRows:m=10,className:B,"aria-label":S,...R},D)=>{const p=i.useRef(null),x=i.useRef(null),v=i.useRef(null),E=i.useRef(null),K=i.useRef(null),u=i.useRef(null),h=D||K,[y,F]=i.useState(0),[d,O]=i.useState([]);let q="dark";try{q=z.useThemeContext().theme}catch{}const P=q==="light"?$.oneLight:$.oneDark,L=Math.max(r.split(`
|
|
2
2
|
`).length,m);i.useEffect(()=>{if(u.current&&h.current){const{start:e,end:t}=u.current;h.current.setSelectionRange(e,t),u.current=null}}),i.useEffect(()=>{const e=v.current,t=E.current;if(!e||!t)return;const n=()=>{const o=t.clientWidth;if(o<=0)return;e.style.width=`${o}px`;const a=r.split(`
|
|
3
3
|
`),f=Math.max(a.length,m),b=[];for(let N=0;N<f;N++){const V=a[N]??"";e.textContent=V||" ",b.push(e.scrollHeight)}O(b)};n();const c=new ResizeObserver(n);return c.observe(t),()=>c.disconnect()},[r,m]),i.useEffect(()=>{const e=n=>{const c=n.target;p.current&&(p.current.scrollTop=c.scrollTop),x.current&&(x.current.scrollTop=c.scrollTop,x.current.scrollLeft=c.scrollLeft)},t=h?.current;if(t)return t.addEventListener("scroll",e),()=>{t.removeEventListener("scroll",e)}},[h]);const w=e=>{const t=e.value.substring(0,e.selectionStart);F(t.split(`
|
|
4
4
|
`).length-1)},H=e=>{if(e.key==="Tab"){e.preventDefault();const t=e.currentTarget,n=t.selectionStart,c=t.selectionEnd,o=" ";if(n===c){const a=r.substring(0,n)+o+r.substring(c);u.current={start:n+o.length,end:n+o.length},g?.(a)}else if(e.shiftKey){const a=r.lastIndexOf(`
|
package/dist/index23.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as k, jsx as l } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as U, useRef as g, useState as K, useEffect as T } from "react";
|
|
3
3
|
import { Prism as W } from "react-syntax-highlighter";
|
|
4
4
|
import { oneLight as _, oneDark as I } from "react-syntax-highlighter/dist/esm/styles/prism";
|
|
5
|
-
import i from "./
|
|
5
|
+
import i from "./index145.mjs";
|
|
6
6
|
import { useThemeContext as G } from "./index75.mjs";
|
|
7
7
|
try {
|
|
8
8
|
const r = require("refractor/all");
|
package/dist/index24.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("react/jsx-runtime"),e=require("react"),p=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("react/jsx-runtime"),e=require("react"),p=require("./index122.cjs"),x=e.createContext(null);function j(){const t=e.useContext(x);if(!t)throw new Error("Collapsible.Trigger/Content must be used within a Collapsible");return t}const I=e.forwardRef(({asChild:t,className:d,children:l,onClick:n,...u},s)=>{const{open:a,disabled:r,toggle:i,contentId:b,triggerId:c}=j(),o=e.useCallback(g=>{i(),n?.(g)},[i,n]);if(t&&e.isValidElement(l))return e.cloneElement(l,{id:c,"aria-expanded":a,"aria-controls":b,disabled:r,onClick:o});const f=[p.default.trigger,d].filter(Boolean).join(" ");return C.jsx("button",{ref:s,id:c,type:"button",className:f,"aria-expanded":a,"aria-controls":b,disabled:r,onClick:o,...u,children:l})});I.displayName="Collapsible.Trigger";const N=e.forwardRef(({forceMount:t,className:d,children:l,...n},u)=>{const{open:s,triggerId:a,contentId:r}=j();if(!t&&!s)return null;const i=[p.default.content,s&&p.default.contentOpen,d].filter(Boolean).join(" ");return C.jsx("div",{ref:u,id:r,role:"region","aria-labelledby":a,className:i,...n,children:C.jsx("div",{className:p.default.contentInner,children:l})})});N.displayName="Collapsible.Content";const v=e.forwardRef(({open:t,defaultOpen:d=!1,onOpenChange:l,disabled:n=!1,className:u,children:s,...a},r)=>{const[i,b]=e.useState(d),c=t!==void 0,o=c?t:i,f=e.useId(),g=e.useId(),y=e.useCallback(()=>{if(n)return;const m=!o;c||b(m),l?.(m)},[o,c,n,l]),w=[p.default.collapsible,u].filter(Boolean).join(" "),R={open:o,disabled:n,toggle:y,contentId:f,triggerId:g};return C.jsx(x.Provider,{value:R,children:C.jsx("div",{ref:r,className:w,"data-state":o?"open":"closed",...a,children:s})})});v.displayName="Collapsible";const O=Object.assign(v,{Trigger:I,Content:N});exports.Collapsible=O;
|
package/dist/index24.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as C } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as m, useState as B, useId as x, useCallback as I, isValidElement as E, cloneElement as h, createContext as R, useContext as P } from "react";
|
|
3
|
-
import p from "./
|
|
3
|
+
import p from "./index122.mjs";
|
|
4
4
|
const N = R(null);
|
|
5
5
|
function v() {
|
|
6
6
|
const e = P(N);
|
package/dist/index25.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("react"),le=require("@dnd-kit/core"),g=require("lucide-react"),a=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("react"),le=require("@dnd-kit/core"),g=require("lucide-react"),a=require("./index157.cjs"),h=require("./index24.cjs"),ne=require("./index11.cjs"),F=require("./index35.cjs"),R=require("./index14.cjs");function w(E){const{id:u,title:B,itemCount:x,items:r,renderItem:z,itemLabel:O="Item",itemLabelPlural:k="Items",emptyText:A="No items in this folder",sortLabel:v="Sort",defaultExpanded:$=!0,sortOptions:i,selectedSort:M,onSortChange:P,onDrop:D,onFolderEdit:b,onFolderDelete:j,onFolderInvite:N,isDropTarget:Y=!1,isDropCompleted:H=!1,onDragEnter:Z,onDragLeaveFolder:C,className:_,...G}=E,[f,J]=o.useState($),[m,d]=o.useState(null),[T,p]=o.useState(!1),I=o.useRef(null),{setNodeRef:K}=le.useDroppable({id:u}),Q=t=>{if(t.preventDefault(),t.dataTransfer.dropEffect="move",T||(p(!0),Z?.()),!f||r.length===0){d(0);return}const l=I.current;if(!l)return;const n=Array.from(l.querySelectorAll("[data-item-id]")),ae=t.clientY;let L=n.length;for(let c=0;c<n.length;c++){const S=n[c];if(!S)continue;const q=S.getBoundingClientRect();if(ae<q.top+q.height/2){L=c;break}}d(L)},U=t=>{t.currentTarget.contains(t.relatedTarget)||(p(!1),d(null),C?.())},V=t=>{t.preventDefault();const l=t.dataTransfer.getData("text/plain")||t.dataTransfer.getData("itemId");if(l&&D){const n=m??r.length;D(l,u,n)}p(!1),d(null),C?.()},W=(t,l)=>{t.dataTransfer.effectAllowed="move",t.dataTransfer.setData("text/plain",l)},X=i?.map(t=>({id:t.value,label:t.label,onClick:()=>P?.(t.value)})),y=[...b?[{id:"rename",label:"Rename",onClick:b}]:[],...N?[{id:"invite",label:"Invite participants",onClick:N}]:[],...j?[{id:"delete",label:"Delete folder",danger:!0,onClick:j}]:[]],s=Y||T,ee=[a.default.folder,s&&a.default.dropTarget,H&&a.default.dropCompleted,_].filter(Boolean).join(" "),te=x===1?O:k;return e.jsx("div",{ref:K,className:ee,"data-folder-id":u,"data-drop-active":s,onDragOver:Q,onDragLeave:U,onDrop:V,...G,children:e.jsxs(h.Collapsible,{open:f,onOpenChange:J,children:[e.jsxs("div",{className:a.default.header,children:[e.jsxs(h.Collapsible.Trigger,{className:a.default.trigger,children:[e.jsx(g.ChevronDown,{size:20,className:`${a.default.chevron} ${f?a.default.expanded:""}`}),e.jsx("h2",{className:a.default.title,children:B}),e.jsxs(ne.Badge,{variant:"secondary",className:a.default.badge,children:[x,e.jsxs("span",{className:a.default.badgeLabel,children:[" ",te]})]})]}),e.jsxs("div",{className:a.default.actions,children:[i&&i.length>0&&e.jsx("div",{className:a.default.sortDropdown,children:e.jsx(F.Dropdown,{trigger:e.jsx(R.Button,{variant:"ghost",size:"sm",iconRight:e.jsx(g.ChevronDown,{size:16}),"aria-label":`Sort by ${v}`,children:i.find(t=>t.value===M)?.label||v}),items:X,placement:"bottom-end"})}),y.length>0&&e.jsx(F.Dropdown,{trigger:e.jsx(R.Button,{variant:"ghost",size:"sm",iconOnly:!0,icon:e.jsx(g.MoreHorizontal,{size:20}),"aria-label":"Folder actions"}),items:y,placement:"bottom-end"})]})]}),e.jsx(h.Collapsible.Content,{children:e.jsx("div",{className:a.default.content,children:r.length===0?s?e.jsx("div",{className:a.default.emptyDropZone,children:e.jsx("div",{className:a.default.insertionLine,role:"presentation"})}):e.jsx("div",{className:a.default.emptyState,children:e.jsx("p",{className:a.default.emptyText,children:A})}):e.jsxs("div",{className:a.default.grid,ref:I,children:[r.map((t,l)=>e.jsxs(o.Fragment,{children:[s&&m===l&&e.jsx("div",{className:a.default.insertionLine,role:"presentation"}),e.jsx("div",{"data-item-id":t.id,draggable:t.draggable,onDragStart:n=>W(n,t.id),children:z(t,l)})]},t.id)),s&&m===r.length&&e.jsx("div",{className:a.default.insertionLine,role:"presentation"})]})})})]})})}w.displayName="CollapsibleFolder";exports.CollapsibleFolder=w;
|
package/dist/index25.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as a, jsxs as n } from "react/jsx-runtime";
|
|
|
2
2
|
import re, { useState as h, useRef as ne } from "react";
|
|
3
3
|
import { useDroppable as le } from "@dnd-kit/core";
|
|
4
4
|
import { ChevronDown as R, MoreHorizontal as oe } from "lucide-react";
|
|
5
|
-
import t from "./
|
|
5
|
+
import t from "./index157.mjs";
|
|
6
6
|
import { Collapsible as v } from "./index24.mjs";
|
|
7
7
|
import { Badge as ie } from "./index11.mjs";
|
|
8
8
|
import { Dropdown as z } from "./index35.mjs";
|
package/dist/index26.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),l=require("react"),oe=require("react-dom"),R=require("lucide-react"),t=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),l=require("react"),oe=require("react-dom"),R=require("lucide-react"),t=require("./index124.cjs"),de=(u,i)=>{const c=i.toLowerCase().trim();return c?u.label.toLowerCase().includes(c)||u.value.toLowerCase().includes(c)||(u.description?.toLowerCase().includes(c)??!1):!0},X=l.forwardRef(({options:u,value:i,onChange:c,onInputChange:P,size:D="md",label:S,helperText:z,error:g,loading:K=!1,clearable:U=!0,allowFreeInput:f=!1,filterFn:B=de,openOnFocus:I=!0,minChars:C=0,emptyText:Y="No results found",renderOption:T,maxHeight:_=300,fullWidth:G=!1,placeholder:V,disabled:w,className:J,id:Q,onFocus:A,onBlur:H,onKeyDown:W,...Z},k)=>{const F=l.useId(),$=Q||F,q=`${$}-listbox`,v=l.useRef(null),N=l.useRef(null),b=l.useRef(null),[r,h]=l.useState(!1),[E,o]=l.useState(""),[d,j]=l.useState(-1),[M,ee]=l.useState({top:0,left:0,width:0}),a=l.useMemo(()=>u.find(e=>e.value===i)??null,[u,i]);l.useEffect(()=>{a?o(a.label):f||o("")},[a,f]);const p=l.useMemo(()=>E.length<C?[]:u.filter(e=>B(e,E)),[u,E,C,B]),x=l.useCallback(()=>{if(!v.current)return;const e=v.current.getBoundingClientRect();ee({top:e.bottom+window.scrollY+4,left:e.left+window.scrollX,width:e.width})},[]);l.useEffect(()=>{if(r)return x(),window.addEventListener("resize",x),window.addEventListener("scroll",x,!0),()=>{window.removeEventListener("resize",x),window.removeEventListener("scroll",x,!0)}},[r,x]),l.useEffect(()=>{if(!r)return;const e=n=>{const m=n.target;v.current&&!v.current.contains(m)&&b.current&&!b.current.contains(m)&&(h(!1),!f&&!i?o(""):a&&o(a.label))};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[r,f,i,a]);const te=l.useCallback(e=>{const n=e.target.value;o(n),j(-1),P?.(n),!r&&n.length>=C&&h(!0),a&&n!==a.label&&!f&&c?.(null,null)},[r,C,P,a,f,c]),se=l.useCallback(e=>{I&&!w&&h(!0),A?.(e)},[I,w,A]),le=l.useCallback(e=>{setTimeout(()=>{b.current?.contains(document.activeElement)||(h(!1),!f&&!i?o(""):a&&o(a.label))},200),H?.(e)},[f,i,a,H]),O=l.useCallback(e=>{e.disabled||(c?.(e.value,e),o(e.label),h(!1),j(-1),N.current?.focus())},[c]),ne=l.useCallback(e=>{e.stopPropagation(),c?.(null,null),o(""),N.current?.focus()},[c]),ae=l.useCallback(e=>{switch(e.key){case"ArrowDown":e.preventDefault(),r?j(n=>Math.min(n+1,p.length-1)):h(!0);break;case"ArrowUp":e.preventDefault(),j(n=>Math.max(n-1,0));break;case"Enter":e.preventDefault(),r&&d>=0&&p[d]&&O(p[d]);break;case"Escape":e.preventDefault(),h(!1),o(a?a.label:"");break;case"Tab":h(!1);break}W?.(e)},[r,d,p,O,a,W]);l.useEffect(()=>{d>=0&&b.current&&b.current.querySelectorAll('[role="option"]')[d]?.scrollIntoView({block:"nearest"})},[d]);const re=[t.default.container,t.default[D],G&&t.default.fullWidth,w&&t.default.disabled,g&&t.default.error,J].filter(Boolean).join(" "),L=D==="sm"?14:D==="lg"?20:16,ie=(e,n)=>{const m=e.value===i,y=n===d;return T?T(e,m,y):s.jsxs(s.Fragment,{children:[e.icon&&s.jsx("span",{className:t.default.optionIcon,"aria-hidden":"true",children:e.icon}),s.jsxs("div",{className:t.default.optionContent,children:[s.jsx("span",{className:t.default.optionLabel,children:e.label}),e.description&&s.jsx("span",{className:t.default.optionDescription,children:e.description})]}),m&&s.jsx(R.Check,{size:L,className:t.default.checkIcon,"aria-hidden":"true"})]})},ce=s.jsx("div",{ref:b,className:`${t.default.dropdown} ${r&&t.default.visible}`,style:{top:M.top,left:M.left,width:M.width,maxHeight:_},role:"listbox",id:q,"aria-label":S||V,children:K?s.jsxs("div",{className:t.default.loading,children:[s.jsx(R.Loader2,{size:L,className:t.default.spinner}),s.jsx("span",{children:"Loading..."})]}):p.length===0?s.jsx("div",{className:t.default.empty,children:Y}):p.map((e,n)=>{const m=n===d,y=e.value===i;return s.jsx("div",{className:[t.default.option,m&&t.default.highlighted,y&&t.default.selected,e.disabled&&t.default.disabled].filter(Boolean).join(" "),role:"option","aria-selected":y,"aria-disabled":e.disabled,onClick:()=>O(e),onMouseEnter:()=>j(n),children:ie(e,n)},e.value)})});return s.jsxs("div",{className:re,children:[S&&s.jsx("label",{htmlFor:$,className:t.default.label,children:S}),s.jsxs("div",{ref:v,className:t.default.inputWrapper,onClick:()=>N.current?.focus(),children:[s.jsx("input",{...Z,ref:e=>{typeof k=="function"?k(e):k&&(k.current=e),N.current=e},id:$,type:"text",className:t.default.input,value:E,onChange:te,onFocus:se,onBlur:le,onKeyDown:ae,disabled:w,placeholder:V,role:"combobox","aria-expanded":r,"aria-haspopup":"listbox","aria-controls":q,"aria-autocomplete":"list","aria-activedescendant":d>=0?`${q}-option-${d}`:void 0}),s.jsxs("div",{className:t.default.actions,children:[U&&i&&!w&&s.jsx("button",{type:"button",className:t.default.clearButton,onClick:ne,"aria-label":"Clear selection",tabIndex:-1,children:s.jsx(R.X,{size:L})}),s.jsx("span",{className:`${t.default.chevron} ${r?t.default.open:""}`,"aria-hidden":"true",children:s.jsx(R.ChevronDown,{size:L})})]})]}),(z||g)&&s.jsx("span",{className:g?t.default.errorText:t.default.helperText,children:g||z}),r&&oe.createPortal(ce,document.body)]})});X.displayName="Combobox";exports.Combobox=X;
|
package/dist/index26.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as s, jsxs as v, Fragment as fe } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as me, useId as he, useRef as M, useState as R, useMemo as Y, useEffect as z, useCallback as h } from "react";
|
|
3
3
|
import { createPortal as pe } from "react-dom";
|
|
4
4
|
import { Loader2 as be, X as we, ChevronDown as ve, Check as ge } from "lucide-react";
|
|
5
|
-
import t from "./
|
|
5
|
+
import t from "./index124.mjs";
|
|
6
6
|
const Ne = (d, l) => {
|
|
7
7
|
const o = l.toLowerCase().trim();
|
|
8
8
|
return o ? d.label.toLowerCase().includes(o) || d.value.toLowerCase().includes(o) || (d.description?.toLowerCase().includes(o) ?? !1) : !0;
|
package/dist/index27.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),s=require("react"),H=require("react-dom"),K=require("lucide-react"),r=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),s=require("react"),H=require("react-dom"),K=require("lucide-react"),r=require("./index120.cjs"),U=require("./index33.cjs"),B=s.createContext(null);function S(){const e=s.useContext(B);if(!e)throw new Error("Command compound components must be used within <Command>");return e}const $=(e,t)=>t?e.toLowerCase().includes(t.toLowerCase())?1:0:1,d=({value:e,onValueChange:t,filter:n=$,children:i,className:c,...l})=>{const[C,b]=s.useState(""),[v,p]=s.useState(0),y=s.useRef(new Map),[,j]=s.useState(0),x=s.useId(),m=e!==void 0?e:C,I=s.useCallback(o=>{e!==void 0?t?.(o):b(o),p(0)},[e,t]),N=s.useCallback((o,u)=>{y.current.set(o,u),j(f=>f+1)},[]),w=s.useCallback(o=>{y.current.delete(o),j(u=>u+1)},[]),g=s.useCallback(()=>{const o=[];for(const[u,f]of y.current)n(f,m)>0&&o.push(u);return o},[n,m]),h=s.useMemo(()=>({search:m,setSearch:I,filter:n,activeIndex:v,setActiveIndex:p,registerItem:N,unregisterItem:w,items:y.current,getVisibleItems:g,listId:x}),[m,I,n,v,p,N,w,g,x]),k=s.useRef(null),E=s.useCallback(o=>{const u=g();if(u.length){if(o.key==="ArrowDown")o.preventDefault(),p(f=>(f+1)%u.length);else if(o.key==="ArrowUp")o.preventDefault(),p(f=>(f-1+u.length)%u.length);else if(o.key==="Enter"){o.preventDefault();const f=u[v];f&&k.current?.querySelector(`[data-command-id="${f}"]`)?.click()}}},[g,v,p]),T=[r.default.command,c].filter(Boolean).join(" ");return a.jsx(B.Provider,{value:h,children:a.jsx("div",{ref:k,className:T,onKeyDown:E,...l,children:i})})},R=({className:e,...t})=>{const{search:n,setSearch:i,listId:c}=S(),l=s.useRef(null);s.useEffect(()=>{l.current?.focus()},[]);const C=[r.default.inputWrapper,e].filter(Boolean).join(" ");return a.jsxs("div",{className:C,children:[a.jsx(K.Search,{size:16,className:r.default.searchIcon,"aria-hidden":"true"}),a.jsx("input",{ref:l,className:r.default.input,value:n,onChange:b=>i(b.target.value),type:"text",role:"combobox","aria-expanded":"true","aria-autocomplete":"list","aria-controls":c,...t})]})};R.displayName="Command.Input";const q=({children:e,className:t,...n})=>{const{listId:i}=S(),c=[r.default.list,t].filter(Boolean).join(" ");return a.jsx("div",{id:i,className:c,role:"listbox",...n,children:e})};q.displayName="Command.List";const L=({children:e,className:t})=>{const{getVisibleItems:n}=S();if(n().length>0)return null;const c=[r.default.empty,t].filter(Boolean).join(" ");return a.jsx("div",{className:c,role:"status","aria-live":"polite",children:e})};L.displayName="Command.Empty";const A=({heading:e,children:t,className:n})=>{const i=[r.default.group,n].filter(Boolean).join(" ");return a.jsxs("div",{className:i,role:"group","aria-label":e,children:[e&&a.jsx("div",{className:r.default.groupHeading,children:e}),t]})};A.displayName="Command.Group";let z=0;const V=({onSelect:e,disabled:t=!1,value:n,children:i,className:c,...l})=>{const{filter:C,search:b,activeIndex:v,getVisibleItems:p,registerItem:y,unregisterItem:j}=S(),x=s.useRef("");x.current||(x.current=`cmd-item-${++z}`);const m=x.current,I=n||D(i);s.useEffect(()=>(y(m,I),()=>j(m)),[m,I,y,j]);const N=C(I,b)>0,h=p().indexOf(m)===v,k=()=>{t||e?.()},E=[r.default.item,t&&r.default.itemDisabled,!N&&r.default.itemHidden,c].filter(Boolean).join(" ");return a.jsx("div",{className:E,"data-command-id":m,"data-active":h,role:"option","aria-selected":h,"aria-disabled":t,onClick:k,...l,children:i})};V.displayName="Command.Item";const G=({className:e})=>{const t=[r.default.separator,e].filter(Boolean).join(" ");return a.jsx(U.Divider,{spacing:"none",className:t})};G.displayName="Command.Separator";const M=({children:e,className:t})=>{const n=[r.default.shortcut,t].filter(Boolean).join(" ");return a.jsx("span",{className:n,children:e})};M.displayName="Command.Shortcut";const P=({open:e,onOpenChange:t,children:n,className:i})=>{if(s.useEffect(()=>{if(!e)return;const l=C=>{C.key==="Escape"&&t(!1)};return document.addEventListener("keydown",l),()=>document.removeEventListener("keydown",l)},[e,t]),s.useEffect(()=>(e?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[e]),!e)return null;const c=l=>{l.target===l.currentTarget&&t(!1)};return H.createPortal(a.jsx("div",{className:r.default.dialogBackdrop,onClick:c,children:a.jsx("div",{className:[r.default.dialogContent,i].filter(Boolean).join(" "),children:a.jsx(d,{children:n})})}),document.body)};P.displayName="Command.Dialog";d.Input=R;d.List=q;d.Empty=L;d.Group=A;d.Item=V;d.Separator=G;d.Shortcut=M;d.Dialog=P;d.displayName="Command";function D(e){return typeof e=="string"?e:typeof e=="number"?String(e):Array.isArray(e)?e.map(D).join(" "):s.isValidElement(e)&&e.props?D(e.props.children):""}exports.Command=d;
|
package/dist/index27.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as a, jsxs as R } from "react/jsx-runtime";
|
|
|
2
2
|
import z, { useState as L, useRef as S, useId as F, useCallback as b, useMemo as W, createContext as J, useEffect as j, useContext as Q } from "react";
|
|
3
3
|
import { createPortal as X } from "react-dom";
|
|
4
4
|
import { Search as Y } from "lucide-react";
|
|
5
|
-
import s from "./
|
|
5
|
+
import s from "./index120.mjs";
|
|
6
6
|
import { Divider as Z } from "./index33.mjs";
|
|
7
7
|
const V = J(null);
|
|
8
8
|
function B() {
|