@brightlocal/ui-components 2.26.0 → 3.0.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 +9 -2
- package/component-meta.json +4010 -255
- package/deprecations.json +189 -2
- package/dist/accordion.cjs +1 -1
- package/dist/accordion.js +2 -2
- package/dist/alert-dialog.cjs +1 -1
- package/dist/alert-dialog.js +18 -18
- package/dist/alert.cjs +1 -1
- package/dist/alert.d.ts +11 -1
- package/dist/alert.d.ts.map +1 -1
- package/dist/alert.js +31 -28
- package/dist/avatar.cjs +1 -1
- package/dist/avatar.js +4 -4
- package/dist/badge.cjs +1 -1
- package/dist/badge.d.ts.map +1 -1
- package/dist/badge.js +15 -11
- package/dist/blocks/empty-state.cjs +1 -0
- package/dist/blocks/empty-state.d.ts +172 -0
- package/dist/blocks/empty-state.d.ts.map +1 -0
- package/dist/blocks/empty-state.js +155 -0
- package/dist/blocks/input-list.cjs +2 -2
- package/dist/blocks/input-list.d.ts.map +1 -1
- package/dist/blocks/input-list.js +124 -108
- package/dist/blocks/progress-state.cjs +1 -0
- package/dist/blocks/progress-state.d.ts +121 -0
- package/dist/blocks/progress-state.d.ts.map +1 -0
- package/dist/blocks/progress-state.js +368 -0
- package/dist/blocks/sidebar.cjs +1 -1
- package/dist/blocks/sidebar.d.ts.map +1 -1
- package/dist/blocks/sidebar.js +297 -296
- package/dist/brand-illustration-motif.d.ts +1 -1
- package/dist/breadcrumb.cjs +1 -1
- package/dist/breadcrumb.d.ts.map +1 -1
- package/dist/breadcrumb.js +44 -40
- package/dist/button.cjs +1 -1
- package/dist/button.d.ts.map +1 -1
- package/dist/button.js +23 -23
- package/dist/calendar.cjs +1 -1
- package/dist/calendar.d.ts.map +1 -1
- package/dist/calendar.js +37 -38
- package/dist/callout.cjs +1 -1
- package/dist/callout.d.ts +24 -2
- package/dist/callout.d.ts.map +1 -1
- package/dist/callout.js +57 -55
- package/dist/card.cjs +1 -1
- package/dist/card.d.ts +23 -2
- package/dist/card.d.ts.map +1 -1
- package/dist/card.js +94 -91
- package/dist/chart-empty.cjs +1 -0
- package/dist/chart-empty.d.ts +59 -0
- package/dist/chart-empty.d.ts.map +1 -0
- package/dist/chart-empty.js +29 -0
- package/dist/chart.cjs +6 -6
- package/dist/chart.d.ts +6 -1
- package/dist/chart.d.ts.map +1 -1
- package/dist/chart.js +183 -183
- package/dist/chip.cjs +1 -1
- package/dist/chip.d.ts +1 -1
- package/dist/chip.d.ts.map +1 -1
- package/dist/chip.js +47 -44
- package/dist/combobox.cjs +3 -3
- package/dist/combobox.d.ts +4 -2
- package/dist/combobox.d.ts.map +1 -1
- package/dist/combobox.js +143 -141
- package/dist/command.cjs +1 -1
- package/dist/command.d.ts.map +1 -1
- package/dist/command.js +74 -77
- package/dist/context-menu.cjs +1 -1
- package/dist/context-menu.d.ts.map +1 -1
- package/dist/context-menu.js +26 -29
- package/dist/data-table.cjs +1 -1
- package/dist/data-table.d.ts +182 -13
- package/dist/data-table.d.ts.map +1 -1
- package/dist/data-table.js +462 -314
- package/dist/description.cjs +1 -1
- package/dist/description.js +5 -5
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.js +20 -20
- package/dist/drawer.cjs +1 -1
- package/dist/drawer.d.ts.map +1 -1
- package/dist/drawer.js +8 -11
- package/dist/dropdown-menu.cjs +1 -1
- package/dist/dropdown-menu.d.ts.map +1 -1
- package/dist/dropdown-menu.js +17 -20
- package/dist/field.cjs +1 -1
- package/dist/field.d.ts.map +1 -1
- package/dist/field.js +29 -25
- package/dist/global-layout.cjs +1 -1
- package/dist/global-layout.d.ts +58 -6
- package/dist/global-layout.d.ts.map +1 -1
- package/dist/global-layout.js +278 -194
- package/dist/grid.cjs +1 -0
- package/dist/grid.d.ts +56 -0
- package/dist/grid.d.ts.map +1 -0
- package/dist/grid.js +32 -0
- package/dist/header.d.ts +13 -0
- package/dist/header.d.ts.map +1 -1
- package/dist/hooks/use-delayed-pending.cjs +1 -0
- package/dist/hooks/use-delayed-pending.d.ts +34 -0
- package/dist/hooks/use-delayed-pending.d.ts.map +1 -0
- package/dist/hooks/use-delayed-pending.js +17 -0
- package/dist/hover-card.cjs +1 -1
- package/dist/hover-card.js +13 -13
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +523 -494
- package/dist/input-chip.cjs +1 -1
- package/dist/input-chip.js +25 -25
- package/dist/input-group.cjs +1 -1
- package/dist/input-group.js +9 -9
- package/dist/input-otp.cjs +1 -1
- package/dist/input-otp.js +9 -9
- package/dist/input-password.cjs +1 -1
- package/dist/input-password.js +51 -51
- package/dist/input.cjs +1 -1
- package/dist/input.js +9 -9
- package/dist/label.cjs +1 -1
- package/dist/label.d.ts.map +1 -1
- package/dist/label.js +25 -28
- package/dist/lib/block-illustration.cjs +1 -0
- package/dist/lib/block-illustration.d.ts +28 -0
- package/dist/lib/block-illustration.d.ts.map +1 -0
- package/dist/lib/block-illustration.js +21 -0
- package/dist/lib/empty-canvas.cjs +1 -0
- package/dist/lib/empty-canvas.d.ts +27 -0
- package/dist/lib/empty-canvas.d.ts.map +1 -0
- package/dist/lib/empty-canvas.js +62 -0
- package/dist/lib/motion.cjs +1 -1
- package/dist/lib/motion.js +10 -8
- package/dist/lib/optical-center.cjs +1 -0
- package/dist/lib/optical-center.d.ts +12 -0
- package/dist/lib/optical-center.d.ts.map +1 -0
- package/dist/lib/optical-center.js +11 -0
- package/dist/lib/utils.cjs +1 -1
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +28 -5
- package/dist/link.cjs +1 -1
- package/dist/link.d.ts +8 -6
- package/dist/link.d.ts.map +1 -1
- package/dist/link.js +52 -20
- package/dist/list.cjs +1 -1
- package/dist/list.d.ts.map +1 -1
- package/dist/list.js +87 -81
- package/dist/map.cjs +1 -1
- package/dist/map.d.ts +60 -2
- package/dist/map.d.ts.map +1 -1
- package/dist/map.js +187 -164
- package/dist/media-empty.cjs +1 -0
- package/dist/media-empty.d.ts +72 -0
- package/dist/media-empty.d.ts.map +1 -0
- package/dist/media-empty.js +45 -0
- package/dist/menubar.cjs +1 -1
- package/dist/menubar.d.ts.map +1 -1
- package/dist/menubar.js +17 -20
- package/dist/navigation-menu.cjs +1 -1
- package/dist/navigation-menu.js +7 -7
- package/dist/pagination.cjs +1 -1
- package/dist/pagination.d.ts +127 -1
- package/dist/pagination.d.ts.map +1 -1
- package/dist/pagination.js +189 -98
- package/dist/progress.cjs +1 -1
- package/dist/progress.d.ts +37 -3
- package/dist/progress.d.ts.map +1 -1
- package/dist/progress.js +102 -64
- package/dist/route-progress.cjs +1 -0
- package/dist/route-progress.d.ts +103 -0
- package/dist/route-progress.d.ts.map +1 -0
- package/dist/route-progress.js +106 -0
- package/dist/select.cjs +2 -2
- package/dist/select.d.ts.map +1 -1
- package/dist/select.js +19 -18
- package/dist/separator.cjs +1 -1
- package/dist/separator.js +8 -8
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.d.ts +35 -2
- package/dist/sheet.d.ts.map +1 -1
- package/dist/sheet.js +103 -66
- package/dist/skeleton.cjs +1 -1
- package/dist/skeleton.d.ts +38 -3
- package/dist/skeleton.d.ts.map +1 -1
- package/dist/skeleton.js +43 -20
- package/dist/sonner.cjs +1 -1
- package/dist/sonner.d.ts.map +1 -1
- package/dist/sonner.js +32 -36
- package/dist/spinner.cjs +1 -0
- package/dist/spinner.d.ts +57 -0
- package/dist/spinner.d.ts.map +1 -0
- package/dist/spinner.js +35 -0
- package/dist/stepper.cjs +1 -1
- package/dist/stepper.d.ts.map +1 -1
- package/dist/stepper.js +23 -22
- package/dist/table.cjs +1 -1
- package/dist/table.d.ts +1 -1
- package/dist/table.d.ts.map +1 -1
- package/dist/table.js +36 -29
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/text-reveal-motion.d.ts +10 -0
- package/dist/text-reveal-motion.d.ts.map +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +11 -11
- package/dist/toggle.cjs +1 -1
- package/dist/toggle.js +8 -8
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.js +8 -8
- package/dist/typography-heading.cjs +1 -0
- package/dist/typography-heading.d.ts +116 -0
- package/dist/typography-heading.d.ts.map +1 -0
- package/dist/typography-heading.js +84 -0
- package/dist/typography-text.cjs +1 -0
- package/dist/typography-text.d.ts +113 -0
- package/dist/typography-text.d.ts.map +1 -0
- package/dist/typography-text.js +81 -0
- package/dist/typography.d.ts +13 -0
- package/dist/typography.d.ts.map +1 -1
- package/package.json +42 -2
- package/src/blocks/empty-state.tsx +424 -0
- package/src/blocks/input-list.tsx +66 -36
- package/src/blocks/progress-state.tsx +542 -0
- package/src/blocks/sidebar.tsx +46 -40
- package/src/components/accordion.tsx +2 -2
- package/src/components/alert-dialog.tsx +2 -2
- package/src/components/alert.tsx +27 -13
- package/src/components/avatar.tsx +1 -1
- package/src/components/badge.tsx +8 -4
- package/src/components/breadcrumb.tsx +9 -4
- package/src/components/button.tsx +5 -8
- package/src/components/calendar.tsx +5 -6
- package/src/components/callout.tsx +48 -15
- package/src/components/card.tsx +52 -17
- package/src/components/chart-empty.tsx +116 -0
- package/src/components/chart.tsx +43 -17
- package/src/components/chip.tsx +9 -6
- package/src/components/combobox.tsx +21 -12
- package/src/components/command.tsx +9 -10
- package/src/components/context-menu.tsx +6 -9
- package/src/components/data-table.tsx +405 -31
- package/src/components/description.tsx +1 -1
- package/src/components/dialog.tsx +2 -2
- package/src/components/drawer.tsx +2 -5
- package/src/components/dropdown-menu.tsx +8 -11
- package/src/components/field.tsx +8 -4
- package/src/components/global-layout.tsx +264 -65
- package/src/components/grid.tsx +130 -0
- package/src/components/header.tsx +13 -0
- package/src/components/hover-card.tsx +1 -1
- package/src/components/input-chip.tsx +1 -1
- package/src/components/input-group.tsx +1 -1
- package/src/components/input-otp.tsx +1 -1
- package/src/components/input-password.tsx +1 -1
- package/src/components/input.tsx +1 -1
- package/src/components/label.tsx +10 -13
- package/src/components/link.tsx +39 -5
- package/src/components/list.tsx +18 -14
- package/src/components/map.tsx +101 -5
- package/src/components/media-empty.tsx +156 -0
- package/src/components/menubar.tsx +7 -10
- package/src/components/navigation-menu.tsx +1 -1
- package/src/components/pagination.tsx +279 -1
- package/src/components/progress.tsx +120 -11
- package/src/components/route-progress.tsx +354 -0
- package/src/components/select.tsx +5 -4
- package/src/components/separator.tsx +1 -1
- package/src/components/sheet.tsx +89 -7
- package/src/components/skeleton.tsx +78 -7
- package/src/components/sonner.tsx +5 -14
- package/src/components/spinner.tsx +94 -0
- package/src/components/stepper.tsx +6 -7
- package/src/components/table.tsx +11 -4
- package/src/components/tabs.tsx +1 -1
- package/src/components/text-reveal-motion.tsx +10 -0
- package/src/components/textarea.tsx +1 -1
- package/src/components/toggle.tsx +1 -1
- package/src/components/tooltip.tsx +1 -1
- package/src/components/typography-heading.tsx +229 -0
- package/src/components/typography-text.tsx +225 -0
- package/src/components/typography.tsx +13 -0
- package/src/hooks/use-delayed-pending.ts +60 -0
- package/src/index.ts +12 -0
- package/src/lib/block-illustration.tsx +88 -0
- package/src/lib/empty-canvas.tsx +128 -0
- package/src/lib/optical-center.tsx +45 -0
- package/src/lib/utils.ts +26 -0
package/dist/description.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),s=require("react"),u=require("@brightlocal/ui-components/lib/utils");function l(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const d=l(s),a=d.forwardRef(({className:e,dataHook:r,trackingEl:t,trackingLabel:n,...o},i)=>c.jsx("p",{ref:i,className:u.cn("text-muted-foreground text-left
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),s=require("react"),u=require("@brightlocal/ui-components/lib/utils");function l(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const d=l(s),a=d.forwardRef(({className:e,dataHook:r,trackingEl:t,trackingLabel:n,...o},i)=>c.jsx("p",{ref:i,className:u.cn("text-body-sm text-muted-foreground text-left","[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4",e),"data-hook":r,"data-slot":"description","data-tracking-el":t||"description","data-tracking-label":n,...o}));a.displayName="Description";exports.Description=a;
|
package/dist/description.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
3
|
-
import { cn as
|
|
4
|
-
const m =
|
|
2
|
+
import * as d from "react";
|
|
3
|
+
import { cn as s } from "@brightlocal/ui-components/lib/utils";
|
|
4
|
+
const m = d.forwardRef(
|
|
5
5
|
({ className: t, dataHook: e, trackingEl: r, trackingLabel: a, ...o }, i) => /* @__PURE__ */ n(
|
|
6
6
|
"p",
|
|
7
7
|
{
|
|
8
8
|
ref: i,
|
|
9
|
-
className:
|
|
10
|
-
"text-muted-foreground text-left
|
|
9
|
+
className: s(
|
|
10
|
+
"text-body-sm text-muted-foreground text-left",
|
|
11
11
|
"[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4",
|
|
12
12
|
t
|
|
13
13
|
),
|
package/dist/dialog.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),w=require("react"),h=require("@radix-ui/react-dialog"),k=require("@brightlocal/icons"),r=require("@brightlocal/ui-components/lib/utils"),O=require("@brightlocal/ui-components/hooks/use-overlay-pointer-lock");function c(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return a.default=e,Object.freeze(a)}const l=c(w),s=c(h),g=s.Root;g.displayName="Dialog";const u=l.forwardRef(({dataHook:e,...a},t)=>o.jsx(s.Trigger,{ref:t,"data-slot":"dialog-trigger",...e!=null&&{"data-hook":e},...a}));u.displayName="DialogTrigger";function n({...e}){return o.jsx(s.Portal,{...e})}n.displayName="DialogPortal";const f=l.forwardRef(({...e},a)=>o.jsx(s.Close,{ref:a,"data-slot":"dialog-close",...e}));f.displayName="DialogClose";const d=l.forwardRef(({className:e,...a},t)=>o.jsx(s.Overlay,{ref:t,className:r.cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=open]:duration-slow fixed inset-0 z-50 bg-black/50 ease-out data-[state=closed]:duration-250 data-[state=closed]:ease-in",e),"data-slot":"dialog-overlay",...a}));d.displayName="DialogOverlay";const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),w=require("react"),h=require("@radix-ui/react-dialog"),k=require("@brightlocal/icons"),r=require("@brightlocal/ui-components/lib/utils"),O=require("@brightlocal/ui-components/hooks/use-overlay-pointer-lock");function c(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return a.default=e,Object.freeze(a)}const l=c(w),s=c(h),g=s.Root;g.displayName="Dialog";const u=l.forwardRef(({dataHook:e,...a},t)=>o.jsx(s.Trigger,{ref:t,"data-slot":"dialog-trigger",...e!=null&&{"data-hook":e},...a}));u.displayName="DialogTrigger";function n({...e}){return o.jsx(s.Portal,{...e})}n.displayName="DialogPortal";const f=l.forwardRef(({...e},a)=>o.jsx(s.Close,{ref:a,"data-slot":"dialog-close",...e}));f.displayName="DialogClose";const d=l.forwardRef(({className:e,...a},t)=>o.jsx(s.Overlay,{ref:t,className:r.cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=open]:duration-slow fixed inset-0 z-50 bg-black/50 ease-out data-[state=closed]:duration-250 data-[state=closed]:ease-in",e),"data-slot":"dialog-overlay",...a}));d.displayName="DialogOverlay";const p=l.forwardRef(({className:e,children:a,dataHook:t,trackingEl:i,trackingLabel:b,closeLabel:v,...j},N)=>(O.useOverlayPointerLock(),o.jsxs(n,{children:[o.jsx(d,{}),o.jsxs(s.Content,{ref:N,className:r.cn("bg-background text-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 border-card-border data-[state=open]:duration-slow fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-8 rounded-xl border p-8 shadow-lg ease-out data-[state=closed]:duration-250 data-[state=closed]:ease-in sm:max-w-lg",e),"data-hook":t,"data-slot":"dialog-content","data-tracking-el":i,"data-tracking-label":b,...j,children:[a,o.jsxs(s.Close,{className:"ring-offset-background focus-visible:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground duration-fast absolute top-8 right-8 rounded-xs opacity-70 outline-hidden transition-opacity ease-out hover:opacity-100 focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0",children:[o.jsx(k.X,{}),o.jsx("span",{className:"sr-only",children:v??"Close"})]})]})]})));p.displayName="DialogContent";const m=l.forwardRef(({className:e,...a},t)=>o.jsx("div",{ref:t,className:r.cn("flex flex-col gap-2 text-center sm:text-left",e),"data-slot":"dialog-header",...a}));m.displayName="DialogHeader";const D=l.forwardRef(({className:e,...a},t)=>o.jsx("div",{ref:t,className:r.cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),"data-slot":"dialog-footer",...a}));D.displayName="DialogFooter";const x=l.forwardRef(({className:e,dataHook:a,...t},i)=>o.jsx(s.Title,{ref:i,className:r.cn("text-heading-section",e),"data-hook":a,"data-slot":"dialog-title",...t}));x.displayName="DialogTitle";const y=l.forwardRef(({className:e,dataHook:a,...t},i)=>o.jsx(s.Description,{ref:i,className:r.cn("text-body-sm text-muted-foreground",e),"data-hook":a,"data-slot":"dialog-description",...t}));y.displayName="DialogDescription";exports.Dialog=g;exports.DialogClose=f;exports.DialogContent=p;exports.DialogDescription=y;exports.DialogFooter=D;exports.DialogHeader=m;exports.DialogOverlay=d;exports.DialogPortal=n;exports.DialogTitle=x;exports.DialogTrigger=u;
|
package/dist/dialog.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as o, jsxs as r } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
2
|
+
import * as i from "react";
|
|
3
3
|
import * as s from "@radix-ui/react-dialog";
|
|
4
4
|
import { X as u } from "@brightlocal/icons";
|
|
5
|
-
import { cn as
|
|
5
|
+
import { cn as l } from "@brightlocal/ui-components/lib/utils";
|
|
6
6
|
import { useOverlayPointerLock as D } from "@brightlocal/ui-components/hooks/use-overlay-pointer-lock";
|
|
7
7
|
const x = s.Root;
|
|
8
8
|
x.displayName = "Dialog";
|
|
9
|
-
const y =
|
|
9
|
+
const y = i.forwardRef(({ dataHook: a, ...e }, t) => /* @__PURE__ */ o(
|
|
10
10
|
s.Trigger,
|
|
11
11
|
{
|
|
12
12
|
ref: t,
|
|
@@ -22,13 +22,13 @@ function n({
|
|
|
22
22
|
return /* @__PURE__ */ o(s.Portal, { ...a });
|
|
23
23
|
}
|
|
24
24
|
n.displayName = "DialogPortal";
|
|
25
|
-
const N =
|
|
25
|
+
const N = i.forwardRef(({ ...a }, e) => /* @__PURE__ */ o(s.Close, { ref: e, "data-slot": "dialog-close", ...a }));
|
|
26
26
|
N.displayName = "DialogClose";
|
|
27
|
-
const g =
|
|
27
|
+
const g = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
28
28
|
s.Overlay,
|
|
29
29
|
{
|
|
30
30
|
ref: t,
|
|
31
|
-
className:
|
|
31
|
+
className: l(
|
|
32
32
|
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=open]:duration-slow fixed inset-0 z-50 bg-black/50 ease-out data-[state=closed]:duration-250 data-[state=closed]:ease-in",
|
|
33
33
|
a
|
|
34
34
|
),
|
|
@@ -37,7 +37,7 @@ const g = l.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
37
37
|
}
|
|
38
38
|
));
|
|
39
39
|
g.displayName = "DialogOverlay";
|
|
40
|
-
const v =
|
|
40
|
+
const v = i.forwardRef(
|
|
41
41
|
({
|
|
42
42
|
className: a,
|
|
43
43
|
children: e,
|
|
@@ -52,7 +52,7 @@ const v = l.forwardRef(
|
|
|
52
52
|
s.Content,
|
|
53
53
|
{
|
|
54
54
|
ref: p,
|
|
55
|
-
className:
|
|
55
|
+
className: l(
|
|
56
56
|
"bg-background text-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 border-card-border data-[state=open]:duration-slow fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-8 rounded-xl border p-8 shadow-lg ease-out data-[state=closed]:duration-250 data-[state=closed]:ease-in sm:max-w-lg",
|
|
57
57
|
a
|
|
58
58
|
),
|
|
@@ -73,21 +73,21 @@ const v = l.forwardRef(
|
|
|
73
73
|
] }))
|
|
74
74
|
);
|
|
75
75
|
v.displayName = "DialogContent";
|
|
76
|
-
const b =
|
|
76
|
+
const b = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
77
77
|
"div",
|
|
78
78
|
{
|
|
79
79
|
ref: t,
|
|
80
|
-
className:
|
|
80
|
+
className: l("flex flex-col gap-2 text-center sm:text-left", a),
|
|
81
81
|
"data-slot": "dialog-header",
|
|
82
82
|
...e
|
|
83
83
|
}
|
|
84
84
|
));
|
|
85
85
|
b.displayName = "DialogHeader";
|
|
86
|
-
const
|
|
86
|
+
const h = i.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
87
87
|
"div",
|
|
88
88
|
{
|
|
89
89
|
ref: t,
|
|
90
|
-
className:
|
|
90
|
+
className: l(
|
|
91
91
|
"flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
|
|
92
92
|
a
|
|
93
93
|
),
|
|
@@ -95,23 +95,23 @@ const w = l.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
95
95
|
...e
|
|
96
96
|
}
|
|
97
97
|
));
|
|
98
|
-
|
|
99
|
-
const
|
|
98
|
+
h.displayName = "DialogFooter";
|
|
99
|
+
const w = i.forwardRef(({ className: a, dataHook: e, ...t }, d) => /* @__PURE__ */ o(
|
|
100
100
|
s.Title,
|
|
101
101
|
{
|
|
102
102
|
ref: d,
|
|
103
|
-
className:
|
|
103
|
+
className: l("text-heading-section", a),
|
|
104
104
|
"data-hook": e,
|
|
105
105
|
"data-slot": "dialog-title",
|
|
106
106
|
...t
|
|
107
107
|
}
|
|
108
108
|
));
|
|
109
|
-
|
|
110
|
-
const k =
|
|
109
|
+
w.displayName = "DialogTitle";
|
|
110
|
+
const k = i.forwardRef(({ className: a, dataHook: e, ...t }, d) => /* @__PURE__ */ o(
|
|
111
111
|
s.Description,
|
|
112
112
|
{
|
|
113
113
|
ref: d,
|
|
114
|
-
className:
|
|
114
|
+
className: l("text-body-sm text-muted-foreground", a),
|
|
115
115
|
"data-hook": e,
|
|
116
116
|
"data-slot": "dialog-description",
|
|
117
117
|
...t
|
|
@@ -123,10 +123,10 @@ export {
|
|
|
123
123
|
N as DialogClose,
|
|
124
124
|
v as DialogContent,
|
|
125
125
|
k as DialogDescription,
|
|
126
|
-
|
|
126
|
+
h as DialogFooter,
|
|
127
127
|
b as DialogHeader,
|
|
128
128
|
g as DialogOverlay,
|
|
129
129
|
n as DialogPortal,
|
|
130
|
-
|
|
130
|
+
w as DialogTitle,
|
|
131
131
|
y as DialogTrigger
|
|
132
132
|
};
|
package/dist/drawer.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),t=require("vaul"),d=require("@brightlocal/ui-components/lib/utils");function n({...r}){return a.jsx(t.Drawer.Root,{"data-slot":"drawer",...r})}n.displayName="Drawer";function l({...r}){return a.jsx(t.Drawer.Trigger,{"data-slot":"drawer-trigger",...r})}l.displayName="DrawerTrigger";function o({...r}){return a.jsx(t.Drawer.Portal,{...r})}o.displayName="DrawerPortal";function s({...r}){return a.jsx(t.Drawer.Close,{"data-slot":"drawer-close",...r})}s.displayName="DrawerClose";function i({className:r,...e}){return a.jsx(t.Drawer.Overlay,{className:d.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",r),"data-slot":"drawer-overlay",...e})}i.displayName="DrawerOverlay";function w({className:r,children:e,dataHook:
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),t=require("vaul"),d=require("@brightlocal/ui-components/lib/utils");function n({...r}){return a.jsx(t.Drawer.Root,{"data-slot":"drawer",...r})}n.displayName="Drawer";function l({...r}){return a.jsx(t.Drawer.Trigger,{"data-slot":"drawer-trigger",...r})}l.displayName="DrawerTrigger";function o({...r}){return a.jsx(t.Drawer.Portal,{...r})}o.displayName="DrawerPortal";function s({...r}){return a.jsx(t.Drawer.Close,{"data-slot":"drawer-close",...r})}s.displayName="DrawerClose";function i({className:r,...e}){return a.jsx(t.Drawer.Overlay,{className:d.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",r),"data-slot":"drawer-overlay",...e})}i.displayName="DrawerOverlay";function w({className:r,children:e,dataHook:p,trackingEl:f,trackingLabel:v,...g}){return a.jsxs(o,{children:[a.jsx(i,{}),a.jsxs(t.Drawer.Content,{className:d.cn("group/drawer-content bg-background border-border fixed z-50 flex h-auto flex-col","data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-[10px] data-[vaul-drawer-direction=top]:border-b","data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-[10px] data-[vaul-drawer-direction=bottom]:border-t","data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:sm:max-w-sm","data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:sm:max-w-sm",r),"data-hook":p,"data-slot":"drawer-content","data-tracking-el":f,"data-tracking-label":v,...g,children:[a.jsx("div",{className:"bg-muted mx-auto mt-4 hidden h-2 w-[120px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block"}),e]})]})}w.displayName="DrawerContent";function c({className:r,...e}){return a.jsx("div",{className:d.cn("mx-auto flex w-full max-w-sm flex-col gap-1.5 p-4 text-center sm:text-left",r),"data-slot":"drawer-header",...e})}c.displayName="DrawerHeader";function u({className:r,...e}){return a.jsx("div",{className:d.cn("mx-auto w-full max-w-sm px-4","mt-4 group-has-[[data-slot=drawer-header]]/drawer-content:mt-0",r),"data-slot":"drawer-body",...e})}u.displayName="DrawerBody";function m({className:r,...e}){return a.jsx("div",{className:d.cn("mx-auto mt-auto flex w-full max-w-sm flex-col gap-2 p-4",r),"data-slot":"drawer-footer",...e})}m.displayName="DrawerFooter";function x({className:r,...e}){return a.jsx(t.Drawer.Title,{className:d.cn("text-foreground text-heading-section",r),"data-slot":"drawer-title",...e})}x.displayName="DrawerTitle";function D({className:r,...e}){return a.jsx(t.Drawer.Description,{className:d.cn("text-body-sm text-muted-foreground",r),"data-slot":"drawer-description",...e})}D.displayName="DrawerDescription";exports.Drawer=n;exports.DrawerBody=u;exports.DrawerClose=s;exports.DrawerContent=w;exports.DrawerDescription=D;exports.DrawerFooter=m;exports.DrawerHeader=c;exports.DrawerOverlay=i;exports.DrawerPortal=o;exports.DrawerTitle=x;exports.DrawerTrigger=l;
|
package/dist/drawer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../src/components/drawer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,MAAM,CAAC;AAIjD;;GAEG;AACH,KAAK,WAAW,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC;AAErE;;;GAGG;AACH,iBAAS,MAAM,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,2CAExC;kBAFQ,MAAM;;;AAKf;;;GAGG;AACH,iBAAS,aAAa,CAAC,EACrB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,O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B,EACjB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,WAAW,EACX,aAAa,GACd,CAAC;AAEF,YAAY,EAAE,WAAW,EAAE,kBAAkB,EAAE,CAAC"}
|
package/dist/drawer.js
CHANGED
|
@@ -17,12 +17,12 @@ function i({
|
|
|
17
17
|
return /* @__PURE__ */ t(e.Portal, { ...a });
|
|
18
18
|
}
|
|
19
19
|
i.displayName = "DrawerPortal";
|
|
20
|
-
function
|
|
20
|
+
function p({
|
|
21
21
|
...a
|
|
22
22
|
}) {
|
|
23
23
|
return /* @__PURE__ */ t(e.Close, { "data-slot": "drawer-close", ...a });
|
|
24
24
|
}
|
|
25
|
-
|
|
25
|
+
p.displayName = "DrawerClose";
|
|
26
26
|
function l({
|
|
27
27
|
className: a,
|
|
28
28
|
...r
|
|
@@ -40,7 +40,7 @@ function l({
|
|
|
40
40
|
);
|
|
41
41
|
}
|
|
42
42
|
l.displayName = "DrawerOverlay";
|
|
43
|
-
function
|
|
43
|
+
function f({
|
|
44
44
|
className: a,
|
|
45
45
|
children: r,
|
|
46
46
|
dataHook: n,
|
|
@@ -74,7 +74,7 @@ function p({
|
|
|
74
74
|
)
|
|
75
75
|
] });
|
|
76
76
|
}
|
|
77
|
-
|
|
77
|
+
f.displayName = "DrawerContent";
|
|
78
78
|
function x({ className: a, ...r }) {
|
|
79
79
|
return /* @__PURE__ */ t(
|
|
80
80
|
"div",
|
|
@@ -125,10 +125,7 @@ function D({
|
|
|
125
125
|
return /* @__PURE__ */ t(
|
|
126
126
|
e.Title,
|
|
127
127
|
{
|
|
128
|
-
className: d(
|
|
129
|
-
"text-foreground text-lg leading-none font-semibold",
|
|
130
|
-
a
|
|
131
|
-
),
|
|
128
|
+
className: d("text-foreground text-heading-section", a),
|
|
132
129
|
"data-slot": "drawer-title",
|
|
133
130
|
...r
|
|
134
131
|
}
|
|
@@ -142,7 +139,7 @@ function b({
|
|
|
142
139
|
return /* @__PURE__ */ t(
|
|
143
140
|
e.Description,
|
|
144
141
|
{
|
|
145
|
-
className: d("text-
|
|
142
|
+
className: d("text-body-sm text-muted-foreground", a),
|
|
146
143
|
"data-slot": "drawer-description",
|
|
147
144
|
...r
|
|
148
145
|
}
|
|
@@ -152,8 +149,8 @@ b.displayName = "DrawerDescription";
|
|
|
152
149
|
export {
|
|
153
150
|
c as Drawer,
|
|
154
151
|
v as DrawerBody,
|
|
155
|
-
|
|
156
|
-
|
|
152
|
+
p as DrawerClose,
|
|
153
|
+
f as DrawerContent,
|
|
157
154
|
b as DrawerDescription,
|
|
158
155
|
g as DrawerFooter,
|
|
159
156
|
x as DrawerHeader,
|
package/dist/dropdown-menu.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),O=require("react"),P=require("@radix-ui/react-dropdown-menu"),p=require("@brightlocal/icons"),l=require("@brightlocal/ui-components/lib/utils"),G=require("@brightlocal/ui-components/hooks/use-overlay-pointer-lock");function m(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const u=m(O),a=m(P);function g({...e}){return n.jsx(a.Root,{...e})}g.displayName="DropdownMenu";function w({...e}){return n.jsx(a.Portal,{...e})}w.displayName="DropdownMenuPortal";const f=u.forwardRef(({className:e,dataHook:o,trackingEl:t,trackingLabel:r,...d},s)=>n.jsx(a.Trigger,{ref:s,className:e,"data-slot":"dropdown-menu-trigger","data-tracking-el":t,"data-tracking-label":r,...o!=null&&{"data-hook":o},...d}));f.displayName="DropdownMenuTrigger";const x=u.forwardRef(({className:e,sideOffset:o=4,align:t="start",dataHook:r,trackingEl:d,trackingLabel:s,...i},c)=>(G.useOverlayPointerLock(),n.jsx(a.Portal,{children:n.jsx(a.Content,{ref:c,align:t,className:l.cn(["bg-popover text-popover-foreground","z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem]","origin-(--radix-dropdown-menu-content-transform-origin)","overflow-x-hidden overflow-y-auto","rounded-md border p-1 shadow-md",l.FLOATING_CONTENT_ANIMATION],e),"data-hook":r,"data-slot":"dropdown-menu-content","data-tracking-el":d,"data-tracking-label":s,sideOffset:o,...i})})));x.displayName="DropdownMenuContent";function b({...e}){return n.jsx(a.Group,{...e})}b.displayName="DropdownMenuGroup";const h=u.forwardRef(({className:e,inset:o,dataHook:t,trackingEl:r,trackingLabel:d,...s},i)=>n.jsx(a.Item,{ref:i,className:l.cn(["relative flex cursor-default items-center gap-2 self-stretch select-none","rounded-sm px-2 py-1.5
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),O=require("react"),P=require("@radix-ui/react-dropdown-menu"),p=require("@brightlocal/icons"),l=require("@brightlocal/ui-components/lib/utils"),G=require("@brightlocal/ui-components/hooks/use-overlay-pointer-lock");function m(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const u=m(O),a=m(P);function g({...e}){return n.jsx(a.Root,{...e})}g.displayName="DropdownMenu";function w({...e}){return n.jsx(a.Portal,{...e})}w.displayName="DropdownMenuPortal";const f=u.forwardRef(({className:e,dataHook:o,trackingEl:t,trackingLabel:r,...d},s)=>n.jsx(a.Trigger,{ref:s,className:e,"data-slot":"dropdown-menu-trigger","data-tracking-el":t,"data-tracking-label":r,...o!=null&&{"data-hook":o},...d}));f.displayName="DropdownMenuTrigger";const x=u.forwardRef(({className:e,sideOffset:o=4,align:t="start",dataHook:r,trackingEl:d,trackingLabel:s,...i},c)=>(G.useOverlayPointerLock(),n.jsx(a.Portal,{children:n.jsx(a.Content,{ref:c,align:t,className:l.cn(["bg-popover text-popover-foreground","z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem]","origin-(--radix-dropdown-menu-content-transform-origin)","overflow-x-hidden overflow-y-auto","rounded-md border p-1 shadow-md",l.FLOATING_CONTENT_ANIMATION],e),"data-hook":r,"data-slot":"dropdown-menu-content","data-tracking-el":d,"data-tracking-label":s,sideOffset:o,...i})})));x.displayName="DropdownMenuContent";function b({...e}){return n.jsx(a.Group,{...e})}b.displayName="DropdownMenuGroup";const h=u.forwardRef(({className:e,inset:o,dataHook:t,trackingEl:r,trackingLabel:d,...s},i)=>n.jsx(a.Item,{ref:i,className:l.cn(["relative flex cursor-default items-center gap-2 self-stretch select-none","text-label rounded-sm px-2 py-1.5 outline-hidden","[&>span]:overflow-hidden [&>span]:text-ellipsis [&>span]:whitespace-nowrap","focus:bg-accent focus:text-accent-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50","data-[inset]:pl-8","[&_svg]:pointer-events-none [&_svg]:shrink-0"],e),"data-hook":t,"data-inset":o,"data-slot":"dropdown-menu-item","data-tracking-el":r,"data-tracking-label":d,...s}));h.displayName="DropdownMenuItem";const M=u.forwardRef(({className:e,children:o,checked:t,dataHook:r,trackingEl:d,trackingLabel:s,...i},c)=>n.jsxs(a.CheckboxItem,{ref:c,checked:t,className:l.cn(["relative flex cursor-default items-center gap-2 select-none","text-label rounded-sm py-1.5 pr-2 pl-8 outline-hidden","focus:bg-accent focus:text-accent-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50","[&_svg]:pointer-events-none [&_svg]:shrink-0"],e),"data-hook":r,"data-slot":"dropdown-menu-checkbox-item","data-tracking-el":d,"data-tracking-label":s,...i,children:[n.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:n.jsx(a.ItemIndicator,{children:n.jsx(p.Check,{})})}),o]}));M.displayName="DropdownMenuCheckboxItem";function D({...e}){return n.jsx(a.RadioGroup,{...e})}D.displayName="DropdownMenuRadioGroup";const v=u.forwardRef(({className:e,children:o,dataHook:t,trackingEl:r,trackingLabel:d,...s},i)=>n.jsxs(a.RadioItem,{ref:i,className:l.cn(["relative flex cursor-default items-center gap-2 select-none","text-label rounded-sm py-1.5 pr-2 pl-8 outline-hidden","focus:bg-accent focus:text-accent-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50","[&_svg]:pointer-events-none [&_svg]:shrink-0"],e),"data-hook":t,"data-slot":"dropdown-menu-radio-item","data-tracking-el":r,"data-tracking-label":d,...s,children:[n.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:n.jsx(a.ItemIndicator,{children:n.jsx(p.Circle,{className:"fill-current",size:8})})}),o]}));v.displayName="DropdownMenuRadioItem";const N=u.forwardRef(({className:e,inset:o,dataHook:t,...r},d)=>n.jsx(a.Label,{ref:d,className:l.cn(["text-label-sm px-2 py-1.5","data-[inset]:pl-8"],e),"data-hook":t,"data-inset":o,"data-slot":"dropdown-menu-label",...r}));N.displayName="DropdownMenuLabel";const y=u.forwardRef(({className:e,...o},t)=>n.jsx(a.Separator,{ref:t,className:l.cn(["bg-border -mx-1 my-1 h-px"],e),"data-slot":"dropdown-menu-separator",...o}));y.displayName="DropdownMenuSeparator";function j({className:e,...o}){return n.jsx("span",{className:l.cn(["text-popover-foreground text-body-xs ml-auto opacity-60"],e),"data-slot":"dropdown-menu-shortcut",...o})}j.displayName="DropdownMenuShortcut";function k({...e}){return n.jsx(a.Sub,{...e})}k.displayName="DropdownMenuSub";const R=u.forwardRef(({className:e,inset:o,children:t,dataHook:r,trackingEl:d,trackingLabel:s,...i},c)=>n.jsxs(a.SubTrigger,{ref:c,className:l.cn(["flex cursor-default items-center gap-2 select-none","text-label rounded-sm px-2 py-1.5 outline-hidden","focus:bg-accent focus:text-accent-foreground","data-[state=open]:bg-accent data-[state=open]:text-accent-foreground","data-[inset]:pl-8","[&_svg]:pointer-events-none [&_svg]:shrink-0"],e),"data-hook":r,"data-inset":o,"data-slot":"dropdown-menu-sub-trigger","data-tracking-el":d,"data-tracking-label":s,...i,children:[t,n.jsx(p.ChevronRight,{className:"ml-auto"})]}));R.displayName="DropdownMenuSubTrigger";const S=u.forwardRef(({className:e,...o},t)=>n.jsx(a.SubContent,{ref:t,className:l.cn(["bg-popover text-popover-foreground","z-50 min-w-[8rem]","origin-(--radix-dropdown-menu-content-transform-origin)","overflow-hidden rounded-md border p-1 shadow-lg",l.FLOATING_CONTENT_ANIMATION],e),"data-slot":"dropdown-menu-sub-content",...o}));S.displayName="DropdownMenuSubContent";const I=u.forwardRef(({className:e,dataHook:o,trackingEl:t,trackingLabel:r,avatar:d,title:s,description:i,disabled:c,ariaLabel:T,...C},_)=>n.jsxs(a.Trigger,{ref:_,"aria-label":T??s,className:l.cn(["flex items-center gap-2 rounded-lg border px-3 py-2","bg-popover shadow-sm","outline-none","hover:bg-accent","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","disabled:pointer-events-none disabled:opacity-50"],e),"data-hook":o,"data-slot":"dropdown-menu-trigger-avatar","data-tracking-el":t,"data-tracking-label":r,disabled:c,...C,children:[d,n.jsxs("div",{className:"flex min-w-0 flex-1 flex-col items-start",children:[n.jsx("span",{className:"text-heading-compact w-full overflow-hidden text-ellipsis whitespace-nowrap",children:s}),i&&n.jsx("span",{className:"text-muted-foreground text-body-xs w-full overflow-hidden text-ellipsis whitespace-nowrap",children:i})]}),n.jsx(p.ChevronsUpDown,{className:"text-muted-foreground opacity-50"})]}));I.displayName="DropdownMenuTriggerAvatar";exports.DropdownMenu=g;exports.DropdownMenuCheckboxItem=M;exports.DropdownMenuContent=x;exports.DropdownMenuGroup=b;exports.DropdownMenuItem=h;exports.DropdownMenuLabel=N;exports.DropdownMenuPortal=w;exports.DropdownMenuRadioGroup=D;exports.DropdownMenuRadioItem=v;exports.DropdownMenuSeparator=y;exports.DropdownMenuShortcut=j;exports.DropdownMenuSub=k;exports.DropdownMenuSubContent=S;exports.DropdownMenuSubTrigger=R;exports.DropdownMenuTrigger=f;exports.DropdownMenuTriggerAvatar=I;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../src/components/dropdown-menu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAC;AAcvE;;GAEG;AACH,iBAAS,YAAY,CAAC,EACpB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,IAAI,CAAC,2CAEzD;kBAJQ,YAAY;;;AAQrB;;GAEG;AACH,iBAAS,kBAAkB,CAAC,EAC1B,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,MAAM,CAAC,2CAE3D;kBAJQ,kBAAkB;;;AAQ3B,KAAK,wBAAwB,GAAG,KAAK,CAAC,wBAAwB,CAC5D,OAAO,qBAAqB,CAAC,OAAO,CACrC,GAAG;IACF;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,mBAAmB;IAjBvB;;OAEG;eACQ,MAAM;IACjB;;OAEG;iBACU,MAAM;IACnB;;OAEG;oBACa,MAAM;2CAqBtB,CAAC;AAIH,KAAK,wBAAwB,GAAG,KAAK,CAAC,wBAAwB,CAC5D,OAAO,qBAAqB,CAAC,OAAO,CACrC,GAAG;IACF;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,mBAAmB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K,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,yBAAyB;IAlC7B;;OAEG;eACQ,MAAM;IACjB;;OAEG;iBACU,MAAM;IACnB;;OAEG;oBACa,MAAM;IACtB;;OAEG;YACK,KAAK,CAAC,SAAS;IACvB;;OAEG;WACI,MAAM;IACb;;OAEG;kBACW,MAAM;IACpB;;;OAGG;gBACS,MAAM;2CA8DnB,CAAC;AAIF,OAAO,EACL,YAAY,EACZ,wBAAwB,EACxB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,eAAe,EACf,sBAAsB,EACtB,sBAAsB,EACtB,mBAAmB,EACnB,yBAAyB,GAC1B,CAAC;AAEF,YAAY,EACV,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,6BAA6B,EAC7B,0BAA0B,EAC1B,sBAAsB,EACtB,2BAA2B,EAC3B,8BAA8B,GAC/B,CAAC"}
|
package/dist/dropdown-menu.js
CHANGED
|
@@ -4,19 +4,19 @@ import * as a from "@radix-ui/react-dropdown-menu";
|
|
|
4
4
|
import { Check as b, Circle as h, ChevronRight as x, ChevronsUpDown as v } from "@brightlocal/icons";
|
|
5
5
|
import { cn as p, FLOATING_CONTENT_ANIMATION as m } from "@brightlocal/ui-components/lib/utils";
|
|
6
6
|
import { useOverlayPointerLock as N } from "@brightlocal/ui-components/hooks/use-overlay-pointer-lock";
|
|
7
|
-
function
|
|
7
|
+
function y({
|
|
8
8
|
...e
|
|
9
9
|
}) {
|
|
10
10
|
return /* @__PURE__ */ o(a.Root, { ...e });
|
|
11
11
|
}
|
|
12
|
-
|
|
13
|
-
function
|
|
12
|
+
y.displayName = "DropdownMenu";
|
|
13
|
+
function D({
|
|
14
14
|
...e
|
|
15
15
|
}) {
|
|
16
16
|
return /* @__PURE__ */ o(a.Portal, { ...e });
|
|
17
17
|
}
|
|
18
|
-
|
|
19
|
-
const
|
|
18
|
+
D.displayName = "DropdownMenuPortal";
|
|
19
|
+
const M = l.forwardRef(({ className: e, dataHook: n, trackingEl: t, trackingLabel: r, ...d }, s) => /* @__PURE__ */ o(
|
|
20
20
|
a.Trigger,
|
|
21
21
|
{
|
|
22
22
|
ref: s,
|
|
@@ -28,7 +28,7 @@ const y = l.forwardRef(({ className: e, dataHook: n, trackingEl: t, trackingLabe
|
|
|
28
28
|
...d
|
|
29
29
|
}
|
|
30
30
|
));
|
|
31
|
-
|
|
31
|
+
M.displayName = "DropdownMenuTrigger";
|
|
32
32
|
const k = l.forwardRef(
|
|
33
33
|
({
|
|
34
34
|
className: e,
|
|
@@ -79,7 +79,7 @@ const I = l.forwardRef(
|
|
|
79
79
|
className: p(
|
|
80
80
|
[
|
|
81
81
|
"relative flex cursor-default items-center gap-2 self-stretch select-none",
|
|
82
|
-
"rounded-sm px-2 py-1.5
|
|
82
|
+
"text-label rounded-sm px-2 py-1.5 outline-hidden",
|
|
83
83
|
// Text truncation for child text elements
|
|
84
84
|
"[&>span]:overflow-hidden [&>span]:text-ellipsis [&>span]:whitespace-nowrap",
|
|
85
85
|
"focus:bg-accent focus:text-accent-foreground",
|
|
@@ -118,7 +118,7 @@ const C = l.forwardRef(
|
|
|
118
118
|
className: p(
|
|
119
119
|
[
|
|
120
120
|
"relative flex cursor-default items-center gap-2 select-none",
|
|
121
|
-
"rounded-sm py-1.5 pr-2 pl-8
|
|
121
|
+
"text-label rounded-sm py-1.5 pr-2 pl-8 outline-hidden",
|
|
122
122
|
"focus:bg-accent focus:text-accent-foreground",
|
|
123
123
|
"data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
124
124
|
// Icon styling
|
|
@@ -153,7 +153,7 @@ const T = l.forwardRef(
|
|
|
153
153
|
className: p(
|
|
154
154
|
[
|
|
155
155
|
"relative flex cursor-default items-center gap-2 select-none",
|
|
156
|
-
"rounded-sm py-1.5 pr-2 pl-8
|
|
156
|
+
"text-label rounded-sm py-1.5 pr-2 pl-8 outline-hidden",
|
|
157
157
|
"focus:bg-accent focus:text-accent-foreground",
|
|
158
158
|
"data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
159
159
|
// Icon styling
|
|
@@ -179,10 +179,7 @@ const _ = l.forwardRef(({ className: e, inset: n, dataHook: t, ...r }, d) => /*
|
|
|
179
179
|
{
|
|
180
180
|
ref: d,
|
|
181
181
|
className: p(
|
|
182
|
-
[
|
|
183
|
-
"px-2 py-1.5 text-sm leading-normal font-semibold",
|
|
184
|
-
"data-[inset]:pl-8"
|
|
185
|
-
],
|
|
182
|
+
["text-label-sm px-2 py-1.5", "data-[inset]:pl-8"],
|
|
186
183
|
e
|
|
187
184
|
),
|
|
188
185
|
"data-hook": t,
|
|
@@ -210,7 +207,7 @@ function P({
|
|
|
210
207
|
"span",
|
|
211
208
|
{
|
|
212
209
|
className: p(
|
|
213
|
-
["text-popover-foreground
|
|
210
|
+
["text-popover-foreground text-body-xs ml-auto opacity-60"],
|
|
214
211
|
e
|
|
215
212
|
),
|
|
216
213
|
"data-slot": "dropdown-menu-shortcut",
|
|
@@ -241,7 +238,7 @@ const A = l.forwardRef(
|
|
|
241
238
|
className: p(
|
|
242
239
|
[
|
|
243
240
|
"flex cursor-default items-center gap-2 select-none",
|
|
244
|
-
"rounded-sm px-2 py-1.5
|
|
241
|
+
"text-label rounded-sm px-2 py-1.5 outline-hidden",
|
|
245
242
|
"focus:bg-accent focus:text-accent-foreground",
|
|
246
243
|
"data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
|
|
247
244
|
"data-[inset]:pl-8",
|
|
@@ -321,8 +318,8 @@ const j = l.forwardRef(
|
|
|
321
318
|
children: [
|
|
322
319
|
d,
|
|
323
320
|
/* @__PURE__ */ c("div", { className: "flex min-w-0 flex-1 flex-col items-start", children: [
|
|
324
|
-
/* @__PURE__ */ o("span", { className: "w-full overflow-hidden text-
|
|
325
|
-
i && /* @__PURE__ */ o("span", { className: "text-muted-foreground w-full overflow-hidden text-
|
|
321
|
+
/* @__PURE__ */ o("span", { className: "text-heading-compact w-full overflow-hidden text-ellipsis whitespace-nowrap", children: s }),
|
|
322
|
+
i && /* @__PURE__ */ o("span", { className: "text-muted-foreground text-body-xs w-full overflow-hidden text-ellipsis whitespace-nowrap", children: i })
|
|
326
323
|
] }),
|
|
327
324
|
/* @__PURE__ */ o(v, { className: "text-muted-foreground opacity-50" })
|
|
328
325
|
]
|
|
@@ -331,13 +328,13 @@ const j = l.forwardRef(
|
|
|
331
328
|
);
|
|
332
329
|
j.displayName = "DropdownMenuTriggerAvatar";
|
|
333
330
|
export {
|
|
334
|
-
|
|
331
|
+
y as DropdownMenu,
|
|
335
332
|
C as DropdownMenuCheckboxItem,
|
|
336
333
|
k as DropdownMenuContent,
|
|
337
334
|
R as DropdownMenuGroup,
|
|
338
335
|
I as DropdownMenuItem,
|
|
339
336
|
_ as DropdownMenuLabel,
|
|
340
|
-
|
|
337
|
+
D as DropdownMenuPortal,
|
|
341
338
|
S as DropdownMenuRadioGroup,
|
|
342
339
|
T as DropdownMenuRadioItem,
|
|
343
340
|
G as DropdownMenuSeparator,
|
|
@@ -345,6 +342,6 @@ export {
|
|
|
345
342
|
z as DropdownMenuSub,
|
|
346
343
|
L as DropdownMenuSubContent,
|
|
347
344
|
A as DropdownMenuSubTrigger,
|
|
348
|
-
|
|
345
|
+
M as DropdownMenuTrigger,
|
|
349
346
|
j as DropdownMenuTriggerAvatar
|
|
350
347
|
};
|
package/dist/field.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),g=require("class-variance-authority"),p=require("@brightlocal/icons"),r=require("@brightlocal/ui-components/lib/utils"),h=require("./description.cjs"),b=require("@brightlocal/ui-components/label");function n({className:e,...a}){return l.jsx("fieldset",{className:r.cn("flex flex-col gap-6","has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3","has-[>.sr-only]:relative",e),"data-slot":"field-set",...a})}n.displayName="FieldSet";const m=["legend","label"];function v({className:e,variant:a="legend",srOnly:t=!1,...d}){return l.jsx("legend",{className:r.cn("mb-3
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),g=require("class-variance-authority"),p=require("@brightlocal/icons"),r=require("@brightlocal/ui-components/lib/utils"),h=require("./description.cjs"),b=require("@brightlocal/ui-components/label");function n({className:e,...a}){return l.jsx("fieldset",{className:r.cn("flex flex-col gap-6","has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3","has-[>.sr-only]:relative",e),"data-slot":"field-set",...a})}n.displayName="FieldSet";const m=["legend","label"];function v({className:e,variant:a="legend",srOnly:t=!1,...d}){return l.jsx("legend",{className:r.cn("mb-3","data-[variant=legend]:text-heading-subsection","data-[variant=label]:text-label",t&&"sr-only",e),"data-slot":"field-legend","data-variant":a,...d})}function x({className:e,...a}){return l.jsx("div",{className:r.cn("group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 [&>[data-slot=field-group]]:gap-4",e),"data-slot":"field-group",...a})}const _=g.cva(["group/field flex w-full gap-2","[[data-slot=radio-group]_&]:relative [[data-slot=radio-group]_&]:cursor-pointer [[data-slot=radio-group]_&]:gap-3 [[data-slot=radio-group]_&]:has-[[data-disabled]]:cursor-not-allowed","[[data-slot=radio-group]_&_[data-slot=field-label]]:after:absolute [[data-slot=radio-group]_&_[data-slot=field-label]]:after:inset-0 [[data-slot=radio-group]_&_[data-slot=field-label]]:after:cursor-pointer [[data-slot=radio-group]_&:has([data-disabled])_[data-slot=field-label]]:after:cursor-not-allowed","has-[>[role=checkbox]]:gap-3","has-[>[role=checkbox]]:[&_[data-slot=field-label]]:leading-normal","has-[>.sr-only]:relative"],{variants:{orientation:{vertical:["flex-col [&>*]:w-full [&>.sr-only]:w-auto"],horizontal:["grid grid-cols-[auto_1fr] items-center gap-x-2","[&>[data-slot=field-description]]:col-start-2 [&>[data-slot=field-error]]:col-start-2","has-[>[data-slot=field-content]]:items-start","has-[>[data-slot=field-content]]:[&>[role=radio]]:mt-0.5","has-[>.sr-only[data-slot=field-label]]:grid-cols-[1fr]","[&:has(>.sr-only[data-slot=field-label])>[data-slot=field-description]]:col-start-1","[&:has(>.sr-only[data-slot=field-label])>[data-slot=field-error]]:col-start-1"],responsive:["flex-col [&>*]:w-full [&>.sr-only]:w-auto @md/field-group:grid @md/field-group:grid-cols-[auto_1fr] @md/field-group:items-center @md/field-group:[&>*]:w-auto","@md/field-group:[&>[data-slot=field-description]]:col-start-2 @md/field-group:[&>[data-slot=field-error]]:col-start-2","@md/field-group:has-[>[data-slot=field-content]]:items-start","@md/field-group:has-[>[data-slot=field-content]]:[&>[role=radio]]:mt-0.5","@md/field-group:has-[>.sr-only[data-slot=field-label]]:grid-cols-[1fr]","@md/field-group:[&:has(>.sr-only[data-slot=field-label])>[data-slot=field-description]]:col-start-1","@md/field-group:[&:has(>.sr-only[data-slot=field-label])>[data-slot=field-error]]:col-start-1"]},variant:{default:[],box:["relative cursor-pointer gap-3","rounded-lg border border-border bg-background p-3","transition-colors duration-fast ease-out","[&_[data-slot=field-label]]:after:absolute [&_[data-slot=field-label]]:after:inset-0 [&_[data-slot=field-label]]:after:cursor-pointer","has-[:focus-visible]:shadow-default has-[:focus-visible]:border-ring","has-[[data-state=checked]:not([role=switch])]:border-primary has-[[data-state=checked]:not([role=switch])]:bg-primary/10","dark:has-[[data-state=checked]:not([role=switch])]:bg-alpha-10","has-[[data-disabled]]:cursor-not-allowed","[&:has([data-disabled])_[data-slot=field-label]]:after:cursor-not-allowed","[[aria-invalid=true]_&]:border-destructive-40","[[aria-invalid=true]_&]:has-[:focus-visible]:border-destructive-40 [[aria-invalid=true]_&]:has-[:focus-visible]:shadow-destructive","has-[[aria-invalid=true]]:border-destructive-40","has-[[aria-invalid=true]:focus-visible]:border-destructive-40 has-[[aria-invalid=true]:focus-visible]:shadow-destructive"]}},defaultVariants:{orientation:"vertical",variant:"default"}});function y({className:e,orientation:a="vertical",variant:t="default",align:d="start",dataHook:s,...o}){return l.jsx("div",{className:r.cn(_({orientation:a,variant:t}),d==="end"&&a==="horizontal"&&"grid-cols-[1fr_auto]",e),"data-hook":s,"data-orientation":a,"data-slot":"field","data-variant":t,role:"group",...o})}function k({className:e,...a}){return l.jsx("div",{className:r.cn("group/field-content flex flex-1 flex-col gap-1.5 leading-snug","[[data-variant=boxIconVertical]_&]:items-center [[data-variant=boxIconVertical]_&]:text-center",e),"data-slot":"field-content",...a})}function w({className:e,htmlFor:a,dataHook:t,...d}){return l.jsx(b.Label,{className:r.cn("group/field-label peer/field-label w-fit","has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border [&>*]:data-[slot=field]:p-4","has-data-[state=checked]:bg-primary/5 has-data-[state=checked]:border-primary dark:has-data-[state=checked]:bg-primary/10",e),"data-hook":t,"data-slot":"field-label",htmlFor:a,...d})}function F({className:e,dataHook:a,...t}){return l.jsx(h.Description,{className:r.cn("mt-2","group-has-[[data-orientation=horizontal]]/field:text-balance","last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5",e),"data-hook":a,"data-slot":"field-description",...t})}function j({icon:e=p.AlertCircle,className:a,...t}){return l.jsx(e,{"aria-hidden":"true",className:r.cn("inline-block shrink-0 align-text-bottom",a),...t})}function N({className:e,dataHook:a,children:t,errors:d,...s}){const o=d?.filter(i=>!!i?.message);if(!t&&(!o||o.length===0))return null;const c=r.cn("text-body-sm text-destructive-foreground","mt-2","group-has-[[data-orientation=horizontal]]/field:text-balance","last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5",e),u=o&&o.length>1;return l.jsx("div",{className:c,"data-hook":a,"data-slot":"field-error",role:"alert",...s,children:u?l.jsx("ul",{className:"list-disc space-y-1 pl-4",children:o.map((i,f)=>l.jsx("li",{children:i.message},f))}):l.jsx("p",{className:"m-0",children:t||o?.[0]?.message})})}exports.Field=y;exports.FieldContent=k;exports.FieldDescription=F;exports.FieldError=N;exports.FieldErrorIcon=j;exports.FieldGroup=x;exports.FieldLabel=w;exports.FieldLegend=v;exports.FieldSet=n;exports.fieldLegendVariants=m;
|
package/dist/field.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../src/components/field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,EAAe,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGnE,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAE1E,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,2CAe1E;kBAfQ,QAAQ;;;AAmBjB,UAAU,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC;IAC/D;;;OAGG;IACH,OAAO,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC7B;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,QAAA,MAAM,mBAAmB,EAAE,gBAAgB,CAAC,SAAS,CAAC,EAAwB,CAAC;AAE/E,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,OAAkB,EAClB,MAAc,EACd,GAAG,KAAK,EACT,EAAE,gBAAgB,2CAelB;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2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