@incognia/cosmik 0.30.0 → 0.31.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Card/index.d.ts +9 -0
- package/dist/Card/index.d.ts.map +1 -0
- package/dist/Tooltip/index.d.ts +2 -1
- package/dist/Tooltip/index.d.ts.map +1 -1
- package/dist/cosmik.css +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs10.js.map +1 -1
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs11.js.map +1 -1
- package/dist/index.cjs12.js +1 -1
- package/dist/index.cjs12.js.map +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs13.js.map +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs14.js.map +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs15.js.map +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs16.js.map +1 -1
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs17.js.map +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs18.js.map +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs19.js.map +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs20.js.map +1 -1
- package/dist/index.cjs21.js +1 -1
- package/dist/index.cjs21.js.map +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs22.js.map +1 -1
- package/dist/index.cjs23.js +1 -1
- package/dist/index.cjs23.js.map +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs24.js.map +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs25.js.map +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs26.js.map +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs27.js.map +1 -1
- package/dist/index.cjs28.js +1 -1
- package/dist/index.cjs28.js.map +1 -1
- package/dist/index.cjs29.js +1 -1
- package/dist/index.cjs29.js.map +1 -1
- package/dist/index.cjs30.js +1 -1
- package/dist/index.cjs30.js.map +1 -1
- package/dist/index.cjs31.js +1 -1
- package/dist/index.cjs31.js.map +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs32.js.map +1 -1
- package/dist/index.cjs33.js +1 -1
- package/dist/index.cjs33.js.map +1 -1
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs34.js.map +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs35.js.map +1 -1
- package/dist/index.cjs36.js +1 -1
- package/dist/index.cjs36.js.map +1 -1
- package/dist/index.cjs37.js +1 -1
- package/dist/index.cjs37.js.map +1 -1
- package/dist/index.cjs38.js +1 -1
- package/dist/index.cjs38.js.map +1 -1
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs39.js.map +1 -1
- package/dist/index.cjs4.js +1 -1
- package/dist/index.cjs40.js +1 -1
- package/dist/index.cjs40.js.map +1 -1
- package/dist/index.cjs41.js +1 -1
- package/dist/index.cjs41.js.map +1 -1
- package/dist/index.cjs42.js +1 -1
- package/dist/index.cjs42.js.map +1 -1
- package/dist/index.cjs43.js +9 -1
- package/dist/index.cjs43.js.map +1 -1
- package/dist/index.cjs44.js +19 -1
- package/dist/index.cjs44.js.map +1 -1
- package/dist/index.cjs45.js +1 -9
- package/dist/index.cjs45.js.map +1 -1
- package/dist/index.cjs46.js +1 -19
- package/dist/index.cjs46.js.map +1 -1
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs47.js.map +1 -1
- package/dist/index.cjs48.js +1 -1
- package/dist/index.cjs48.js.map +1 -1
- package/dist/index.cjs49.js +1 -1
- package/dist/index.cjs49.js.map +1 -1
- package/dist/index.cjs5.js +1 -1
- package/dist/index.cjs50.js +1 -1
- package/dist/index.cjs50.js.map +1 -1
- package/dist/index.cjs51.js +1 -1
- package/dist/index.cjs51.js.map +1 -1
- package/dist/index.cjs52.js +1 -1
- package/dist/index.cjs52.js.map +1 -1
- package/dist/index.cjs53.js +1 -1
- package/dist/index.cjs53.js.map +1 -1
- package/dist/index.cjs54.js +1 -1
- package/dist/index.cjs54.js.map +1 -1
- package/dist/index.cjs55.js +1 -1
- package/dist/index.cjs55.js.map +1 -1
- package/dist/index.cjs56.js +2 -0
- package/dist/index.cjs56.js.map +1 -0
- package/dist/index.cjs6.js +1 -1
- package/dist/index.cjs7.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.cjs9.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +163 -155
- package/dist/index.es.js.map +1 -1
- package/dist/index.es10.js +29 -126
- package/dist/index.es10.js.map +1 -1
- package/dist/index.es11.js +115 -84
- package/dist/index.es11.js.map +1 -1
- package/dist/index.es12.js +76 -113
- package/dist/index.es12.js.map +1 -1
- package/dist/index.es13.js +137 -22
- package/dist/index.es13.js.map +1 -1
- package/dist/index.es14.js +22 -25
- package/dist/index.es14.js.map +1 -1
- package/dist/index.es15.js +25 -17
- package/dist/index.es15.js.map +1 -1
- package/dist/index.es16.js +17 -64
- package/dist/index.es16.js.map +1 -1
- package/dist/index.es17.js +59 -15
- package/dist/index.es17.js.map +1 -1
- package/dist/index.es18.js +20 -96
- package/dist/index.es18.js.map +1 -1
- package/dist/index.es19.js +93 -19
- package/dist/index.es19.js.map +1 -1
- package/dist/index.es20.js +19 -27
- package/dist/index.es20.js.map +1 -1
- package/dist/index.es21.js +20 -121
- package/dist/index.es21.js.map +1 -1
- package/dist/index.es22.js +130 -22
- package/dist/index.es22.js.map +1 -1
- package/dist/index.es23.js +19 -104
- package/dist/index.es23.js.map +1 -1
- package/dist/index.es24.js +106 -13
- package/dist/index.es24.js.map +1 -1
- package/dist/index.es25.js +15 -27
- package/dist/index.es25.js.map +1 -1
- package/dist/index.es26.js +21 -106
- package/dist/index.es26.js.map +1 -1
- package/dist/index.es27.js +101 -31
- package/dist/index.es27.js.map +1 -1
- package/dist/index.es28.js +42 -23
- package/dist/index.es28.js.map +1 -1
- package/dist/index.es29.js +22 -108
- package/dist/index.es29.js.map +1 -1
- package/dist/index.es30.js +109 -41
- package/dist/index.es30.js.map +1 -1
- package/dist/index.es31.js +40 -94
- package/dist/index.es31.js.map +1 -1
- package/dist/index.es32.js +93 -38
- package/dist/index.es32.js.map +1 -1
- package/dist/index.es33.js +36 -35
- package/dist/index.es33.js.map +1 -1
- package/dist/index.es34.js +36 -29
- package/dist/index.es34.js.map +1 -1
- package/dist/index.es35.js +26 -58
- package/dist/index.es35.js.map +1 -1
- package/dist/index.es36.js +61 -259
- package/dist/index.es36.js.map +1 -1
- package/dist/index.es37.js +263 -6
- package/dist/index.es37.js.map +1 -1
- package/dist/index.es38.js +6 -13
- package/dist/index.es38.js.map +1 -1
- package/dist/index.es39.js +12 -118
- package/dist/index.es39.js.map +1 -1
- package/dist/index.es4.js +1 -1
- package/dist/index.es40.js +117 -12
- package/dist/index.es40.js.map +1 -1
- package/dist/index.es41.js +13 -3
- package/dist/index.es41.js.map +1 -1
- package/dist/index.es42.js +2 -105
- package/dist/index.es42.js.map +1 -1
- package/dist/index.es43.js +29 -33
- package/dist/index.es43.js.map +1 -1
- package/dist/index.es44.js +599 -2
- package/dist/index.es44.js.map +1 -1
- package/dist/index.es45.js +3 -29
- package/dist/index.es45.js.map +1 -1
- package/dist/index.es46.js +104 -598
- package/dist/index.es46.js.map +1 -1
- package/dist/index.es47.js +34 -2
- package/dist/index.es47.js.map +1 -1
- package/dist/index.es48.js +2 -151
- package/dist/index.es48.js.map +1 -1
- package/dist/index.es49.js +2 -16
- package/dist/index.es49.js.map +1 -1
- package/dist/index.es5.js +2 -2
- package/dist/index.es50.js +2 -342
- package/dist/index.es50.js.map +1 -1
- package/dist/index.es51.js +150 -44
- package/dist/index.es51.js.map +1 -1
- package/dist/index.es52.js +16 -2
- package/dist/index.es52.js.map +1 -1
- package/dist/index.es53.js +342 -2
- package/dist/index.es53.js.map +1 -1
- package/dist/index.es54.js +45 -2
- package/dist/index.es54.js.map +1 -1
- package/dist/index.es55.js +2 -4
- package/dist/index.es55.js.map +1 -1
- package/dist/index.es56.js +7 -0
- package/dist/index.es56.js.map +1 -0
- package/dist/index.es6.js +2 -2
- package/dist/index.es7.js +2 -2
- package/dist/index.es8.js +2 -2
- package/dist/index.es9.js +39 -30
- package/dist/index.es9.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs13.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs38.js"),j=require("@radix-ui/react-dropdown-menu"),p=require("lucide-react"),R=require("react"),s=require("./index.cjs39.js");function l(t){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(o,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return o.default=t,Object.freeze(o)}const e=l(j),d=l(R),D=e.Root,M=e.Trigger,h=e.Group,N=e.Portal,S=e.Sub,E=e.RadioGroup,u=d.forwardRef(({className:t,inset:o,children:n,...r},i)=>a.jsxRuntimeExports.jsxs(e.SubTrigger,{ref:i,className:s.cn("flex cursor-default select-none items-center rounded-small pl-8 py-8 text-base outline-none focus:bg-gray-900-8 data-[state=open]:bg-gray-900-8",o&&"pl-32",t),...r,children:[n,a.jsxRuntimeExports.jsx(p.ChevronRight,{className:"ml-auto mr-4 h-16 w-16"})]}));u.displayName=e.SubTrigger.displayName;const c=d.forwardRef(({className:t,...o},n)=>a.jsxRuntimeExports.jsx(e.SubContent,{ref:n,className:s.cn("z-50 min-w-[8rem] overflow-hidden rounded-[6px] border border-gray-900-8 bg-white p-2 text-gray-900 shadow-200 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-[0.25rem] data-[side=top]:slide-in-from-bottom-2",t),...o}));c.displayName=e.SubContent.displayName;const m=d.forwardRef(({className:t,sideOffset:o=4,...n},r)=>a.jsxRuntimeExports.jsx(e.Portal,{children:a.jsxRuntimeExports.jsx(e.Content,{ref:r,sideOffset:o,className:s.cn("z-50 min-w-[8rem] overflow-hidden rounded-[6px] border border-gray-900-8 bg-white p-2 text-gray-900 shadow-200 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-[0.25rem] data-[side=top]:slide-in-from-bottom-2",t),...n})}));m.displayName=e.Content.displayName;const x=d.forwardRef(({className:t,inset:o,...n},r)=>a.jsxRuntimeExports.jsx(e.Item,{ref:r,className:s.cn("relative flex cursor-default select-none items-center rounded-small px-8 py-8 text-base outline-none transition-colors focus:bg-gray-900-8 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-40",o&&"pl-[2rem]",t),...n}));x.displayName=e.Item.displayName;const f=d.forwardRef(({className:t,children:o,checked:n,...r},i)=>a.jsxRuntimeExports.jsxs(e.CheckboxItem,{ref:i,className:s.cn("relative flex cursor-default select-none items-center rounded-[2px] py-8 pl-32 pr-4 text-base outline-none transition-colors focus:bg-gray-900-8 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-40",t),checked:n,...r,children:[a.jsxRuntimeExports.jsx("span",{className:"absolute left-8 flex h-[14px] w-[14px] items-center justify-center",children:a.jsxRuntimeExports.jsx(e.ItemIndicator,{children:a.jsxRuntimeExports.jsx(p.Check,{className:"h-16 w-16"})})}),o]}));f.displayName=e.CheckboxItem.displayName;const b=d.forwardRef(({className:t,children:o,...n},r)=>a.jsxRuntimeExports.jsxs(e.RadioItem,{ref:r,className:s.cn("relative flex cursor-default select-none items-center rounded-[2px] py-8 pl-32 pr-4 text-base outline-none transition-colors focus:bg-gray-900-8 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-40",t),...n,children:[a.jsxRuntimeExports.jsx("span",{className:"absolute left-8 flex h-[14px] w-[14px] items-center justify-center",children:a.jsxRuntimeExports.jsx(e.ItemIndicator,{children:a.jsxRuntimeExports.jsx(p.Circle,{className:"h-8 w-8 fill-gray-900"})})}),o]}));b.displayName=e.RadioItem.displayName;const w=d.forwardRef(({className:t,inset:o,...n},r)=>a.jsxRuntimeExports.jsx(e.Label,{ref:r,className:s.cn("p-8 text-base font-medium",o&&"pl-32",t),...n}));w.displayName=e.Label.displayName;const g=d.forwardRef(({className:t,...o},n)=>a.jsxRuntimeExports.jsx(e.Separator,{ref:n,className:s.cn("-mx-2 my-2 h-[1px] bg-gray-900-8",t),...o}));g.displayName=e.Separator.displayName;const y=({className:t,...o})=>a.jsxRuntimeExports.jsx("span",{className:s.cn("ml-auto text-xs tracking-widest opacity-40",t),...o});y.displayName="DropdownMenuShortcut";exports.DropdownMenu=D;exports.DropdownMenuCheckboxItem=f;exports.DropdownMenuContent=m;exports.DropdownMenuGroup=h;exports.DropdownMenuItem=x;exports.DropdownMenuLabel=w;exports.DropdownMenuPortal=N;exports.DropdownMenuRadioGroup=E;exports.DropdownMenuRadioItem=b;exports.DropdownMenuSeparator=g;exports.DropdownMenuShortcut=y;exports.DropdownMenuSub=S;exports.DropdownMenuSubContent=c;exports.DropdownMenuSubTrigger=u;exports.DropdownMenuTrigger=M;
|
|
2
2
|
//# sourceMappingURL=index.cjs13.js.map
|
package/dist/index.cjs13.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs13.js","sources":["../src/FilterBar/index.tsx"],"sourcesContent":["import { type VariantProps } from 'class-variance-authority'\nimport React from 'react'\nimport { cn } from '../lib/utils'\nimport { GradientScroll, gradientVariants } from './GradientScroll'\n\ntype FilterBarProps = React.HTMLAttributes<HTMLDivElement> & {\n className?: string\n}\n\nexport function FilterBar({ className, ...props }: FilterBarProps) {\n return <div className={cn('flex w-full', className)} {...props} />\n}\n\ninterface FilterBarScrollableContentProps\n extends React.HTMLAttributes<HTMLDivElement>,\n VariantProps<typeof gradientVariants> {}\n\nexport function FilterBarScrollableContent({\n variant,\n children,\n ...props\n}: FilterBarScrollableContentProps) {\n return (\n <GradientScroll variant={variant} {...props}>\n <div className=\"flex space-x-8 w-fit\">{children}</div>\n </GradientScroll>\n )\n}\n\ntype FilterBarContentProps = FilterBarProps\n\nexport function FilterBarContent({\n className,\n ...props\n}: FilterBarContentProps) {\n return <div className={cn('flex space-x-8', className)} {...props} />\n}\n"],"names":["FilterBar","className","props","jsx","cn","FilterBarScrollableContent","variant","children","GradientScroll","FilterBarContent"],"mappings":"gLASO,SAASA,EAAU,CAAE,UAAAC,EAAW,GAAGC,GAAyB,CAC1D,OAAAC,EAAA,kBAAA,IAAC,OAAI,UAAWC,EAAAA,GAAG,cAAeH,CAAS,EAAI,GAAGC,CAAO,CAAA,CAClE,CAMO,SAASG,EAA2B,CACzC,QAAAC,EACA,SAAAC,EACA,GAAGL,CACL,EAAoC,CAEhC,OAAAC,EAAA,kBAAA,IAACK,EAAe,eAAA,CAAA,QAAAF,EAAmB,GAAGJ,EACpC,iCAAC,MAAI,CAAA,UAAU,uBAAwB,SAAAK,CAAS,CAAA,CAClD,CAAA,CAEJ,CAIO,SAASE,EAAiB,CAC/B,UAAAR,EACA,GAAGC,CACL,EAA0B,CACjB,OAAAC,EAAA,kBAAA,IAAC,OAAI,UAAWC,EAAAA,GAAG,iBAAkBH,CAAS,EAAI,GAAGC,CAAO,CAAA,CACrE"}
|
|
1
|
+
{"version":3,"file":"index.cjs13.js","sources":["../src/DropdownMenu/index.tsx"],"sourcesContent":["'use client'\n\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'\nimport { Check, ChevronRight, Circle } from 'lucide-react'\nimport * as React from 'react'\nimport { cn } from '../lib/utils'\n\nconst DropdownMenu = DropdownMenuPrimitive.Root\n\nconst DropdownMenuTrigger = DropdownMenuPrimitive.Trigger\n\nconst DropdownMenuGroup = DropdownMenuPrimitive.Group\n\nconst DropdownMenuPortal = DropdownMenuPrimitive.Portal\n\nconst DropdownMenuSub = DropdownMenuPrimitive.Sub\n\nconst DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup\n\nconst DropdownMenuSubTrigger = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubTrigger> & {\n inset?: boolean\n }\n>(({ className, inset, children, ...props }, ref) => (\n <DropdownMenuPrimitive.SubTrigger\n ref={ref}\n className={cn(\n 'flex cursor-default select-none items-center rounded-small pl-8 py-8 text-base outline-none focus:bg-gray-900-8 data-[state=open]:bg-gray-900-8',\n inset && 'pl-32',\n className\n )}\n {...props}\n >\n {children}\n <ChevronRight className=\"ml-auto mr-4 h-16 w-16\" />\n </DropdownMenuPrimitive.SubTrigger>\n))\nDropdownMenuSubTrigger.displayName =\n DropdownMenuPrimitive.SubTrigger.displayName\n\nconst DropdownMenuSubContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent>\n>(({ className, ...props }, ref) => (\n <DropdownMenuPrimitive.SubContent\n ref={ref}\n className={cn(\n 'z-50 min-w-[8rem] overflow-hidden rounded-[6px] border border-gray-900-8 bg-white p-2 text-gray-900 shadow-200 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-[0.25rem] data-[side=top]:slide-in-from-bottom-2',\n className\n )}\n {...props}\n />\n))\nDropdownMenuSubContent.displayName =\n DropdownMenuPrimitive.SubContent.displayName\n\nconst DropdownMenuContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>\n>(({ className, sideOffset = 4, ...props }, ref) => (\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n className={cn(\n 'z-50 min-w-[8rem] overflow-hidden rounded-[6px] border border-gray-900-8 bg-white p-2 text-gray-900 shadow-200 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-[0.25rem] data-[side=top]:slide-in-from-bottom-2',\n className\n )}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n))\nDropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName\n\nconst DropdownMenuItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Item> & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n <DropdownMenuPrimitive.Item\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center rounded-small px-8 py-8 text-base outline-none transition-colors focus:bg-gray-900-8 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-40',\n inset && 'pl-[2rem]',\n className\n )}\n {...props}\n />\n))\nDropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName\n\nconst DropdownMenuCheckboxItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.CheckboxItem>\n>(({ className, children, checked, ...props }, ref) => (\n <DropdownMenuPrimitive.CheckboxItem\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center rounded-[2px] py-8 pl-32 pr-4 text-base outline-none transition-colors focus:bg-gray-900-8 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-40',\n className\n )}\n checked={checked}\n {...props}\n >\n <span className=\"absolute left-8 flex h-[14px] w-[14px] items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <Check className=\"h-16 w-16\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.CheckboxItem>\n))\nDropdownMenuCheckboxItem.displayName =\n DropdownMenuPrimitive.CheckboxItem.displayName\n\nconst DropdownMenuRadioItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <DropdownMenuPrimitive.RadioItem\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center rounded-[2px] py-8 pl-32 pr-4 text-base outline-none transition-colors focus:bg-gray-900-8 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-40',\n className\n )}\n {...props}\n >\n <span className=\"absolute left-8 flex h-[14px] w-[14px] items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <Circle className=\"h-8 w-8 fill-gray-900\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.RadioItem>\n))\nDropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName\n\nconst DropdownMenuLabel = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n <DropdownMenuPrimitive.Label\n ref={ref}\n className={cn('p-8 text-base font-medium', inset && 'pl-32', className)}\n {...props}\n />\n))\nDropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName\n\nconst DropdownMenuSeparator = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <DropdownMenuPrimitive.Separator\n ref={ref}\n className={cn('-mx-2 my-2 h-[1px] bg-gray-900-8', className)}\n {...props}\n />\n))\nDropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName\n\nconst DropdownMenuShortcut = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLSpanElement>) => {\n return (\n <span\n className={cn('ml-auto text-xs tracking-widest opacity-40', className)}\n {...props}\n />\n )\n}\nDropdownMenuShortcut.displayName = 'DropdownMenuShortcut'\n\nexport {\n DropdownMenu,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuGroup,\n DropdownMenuPortal,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuRadioGroup\n}\n"],"names":["DropdownMenu","DropdownMenuPrimitive","DropdownMenuTrigger","DropdownMenuGroup","DropdownMenuPortal","DropdownMenuSub","DropdownMenuRadioGroup","DropdownMenuSubTrigger","React","className","inset","children","props","ref","jsxs","cn","jsx","ChevronRight","DropdownMenuSubContent","DropdownMenuContent","sideOffset","DropdownMenuItem","DropdownMenuCheckboxItem","checked","Check","DropdownMenuRadioItem","Circle","DropdownMenuLabel","DropdownMenuSeparator","DropdownMenuShortcut"],"mappings":"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"}
|
package/dist/index.cjs14.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs38.js"),n=require("./index.cjs39.js"),i=require("./index.cjs40.js");function s({className:e,...t}){return r.jsxRuntimeExports.jsx("div",{className:n.cn("flex w-full",e),...t})}function o({variant:e,children:t,...l}){return r.jsxRuntimeExports.jsx(i.GradientScroll,{variant:e,...l,children:r.jsxRuntimeExports.jsx("div",{className:"flex space-x-8 w-fit",children:t})})}function a({className:e,...t}){return r.jsxRuntimeExports.jsx("div",{className:n.cn("flex space-x-8",e),...t})}exports.FilterBar=s;exports.FilterBarContent=a;exports.FilterBarScrollableContent=o;
|
|
2
2
|
//# sourceMappingURL=index.cjs14.js.map
|
package/dist/index.cjs14.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs14.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index.cjs14.js","sources":["../src/FilterBar/index.tsx"],"sourcesContent":["import { type VariantProps } from 'class-variance-authority'\nimport React from 'react'\nimport { cn } from '../lib/utils'\nimport { GradientScroll, gradientVariants } from './GradientScroll'\n\ntype FilterBarProps = React.HTMLAttributes<HTMLDivElement> & {\n className?: string\n}\n\nexport function FilterBar({ className, ...props }: FilterBarProps) {\n return <div className={cn('flex w-full', className)} {...props} />\n}\n\ninterface FilterBarScrollableContentProps\n extends React.HTMLAttributes<HTMLDivElement>,\n VariantProps<typeof gradientVariants> {}\n\nexport function FilterBarScrollableContent({\n variant,\n children,\n ...props\n}: FilterBarScrollableContentProps) {\n return (\n <GradientScroll variant={variant} {...props}>\n <div className=\"flex space-x-8 w-fit\">{children}</div>\n </GradientScroll>\n )\n}\n\ntype FilterBarContentProps = FilterBarProps\n\nexport function FilterBarContent({\n className,\n ...props\n}: FilterBarContentProps) {\n return <div className={cn('flex space-x-8', className)} {...props} />\n}\n"],"names":["FilterBar","className","props","jsx","cn","FilterBarScrollableContent","variant","children","GradientScroll","FilterBarContent"],"mappings":"gLASO,SAASA,EAAU,CAAE,UAAAC,EAAW,GAAGC,GAAyB,CAC1D,OAAAC,EAAA,kBAAA,IAAC,OAAI,UAAWC,EAAAA,GAAG,cAAeH,CAAS,EAAI,GAAGC,CAAO,CAAA,CAClE,CAMO,SAASG,EAA2B,CACzC,QAAAC,EACA,SAAAC,EACA,GAAGL,CACL,EAAoC,CAEhC,OAAAC,EAAA,kBAAA,IAACK,EAAe,eAAA,CAAA,QAAAF,EAAmB,GAAGJ,EACpC,iCAAC,MAAI,CAAA,UAAU,uBAAwB,SAAAK,CAAS,CAAA,CAClD,CAAA,CAEJ,CAIO,SAASE,EAAiB,CAC/B,UAAAR,EACA,GAAGC,CACL,EAA0B,CACjB,OAAAC,EAAA,kBAAA,IAAC,OAAI,UAAWC,EAAAA,GAAG,iBAAkBH,CAAS,EAAI,GAAGC,CAAO,CAAA,CACrE"}
|
package/dist/index.cjs15.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index.cjs38.js"),a=require("react"),l=require("./index.cjs39.js");function s(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 c=s(a),i=c.forwardRef(({className:e,type:o,...t},r)=>n.jsxRuntimeExports.jsx("input",{type:o,className:l.cn("flex h-[36px] w-full rounded border border-gray-900-24 bg-white px-12 py-[6px] text-base","file:border-0 file:bg-white file:text-base file:font-medium","placeholder:text-gray-600","hover:shadow-field-hover","active:shadow-field-active","focus-visible:outline-none focus:shadow-field-active","disabled:cursor-not-allowed disabled:opacity-64 disabled:shadow-none",e),ref:r,...t}));i.displayName="Input";exports.Input=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs15.js.map
|
package/dist/index.cjs15.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs15.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index.cjs15.js","sources":["../src/Input/index.tsx"],"sourcesContent":["import * as React from 'react'\nimport { cn } from '../lib/utils'\n\nexport interface InputProps\n extends React.InputHTMLAttributes<HTMLInputElement> {}\n\nconst Input = React.forwardRef<HTMLInputElement, InputProps>(\n ({ className, type, ...props }, ref) => {\n return (\n <input\n type={type}\n className={cn(\n 'flex h-[36px] w-full rounded border border-gray-900-24 bg-white px-12 py-[6px] text-base',\n 'file:border-0 file:bg-white file:text-base file:font-medium',\n 'placeholder:text-gray-600',\n 'hover:shadow-field-hover',\n 'active:shadow-field-active',\n 'focus-visible:outline-none focus:shadow-field-active',\n 'disabled:cursor-not-allowed disabled:opacity-64 disabled:shadow-none',\n className\n )}\n ref={ref}\n {...props}\n />\n )\n }\n)\nInput.displayName = 'Input'\n\nexport { Input }\n"],"names":["Input","React","className","type","props","ref","jsx","cn"],"mappings":"+bAMMA,EAAQC,EAAM,WAClB,CAAC,CAAE,UAAAC,EAAW,KAAAC,EAAM,GAAGC,CAAA,EAASC,IAE5BC,EAAA,kBAAA,IAAC,QAAA,CACC,KAAAH,EACA,UAAWI,EAAA,GACT,2FACA,8DACA,4BACA,2BACA,6BACA,uDACA,uEACAL,CACF,EACA,IAAAG,EACC,GAAGD,CAAA,CAAA,CAIZ,EACAJ,EAAM,YAAc"}
|
package/dist/index.cjs16.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs38.js"),s=require("@radix-ui/react-label"),l=require("class-variance-authority"),u=require("react"),d=require("./index.cjs39.js");function o(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,a.get?a:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const n=o(s),b=o(u),p=l.cva("leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-64"),i=b.forwardRef(({className:e,...r},t)=>c.jsxRuntimeExports.jsx(n.Root,{ref:t,className:d.cn(p(),e),...r}));i.displayName=n.Root.displayName;exports.Label=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs16.js.map
|
package/dist/index.cjs16.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs16.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index.cjs16.js","sources":["../src/Label/index.tsx"],"sourcesContent":["'use client'\n\nimport * as LabelPrimitive from '@radix-ui/react-label'\nimport { cva, type VariantProps } from 'class-variance-authority'\nimport * as React from 'react'\nimport { cn } from '../lib/utils'\n\nconst labelVariants = cva(\n 'leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-64'\n)\n\nconst Label = React.forwardRef<\n React.ElementRef<typeof LabelPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> &\n VariantProps<typeof labelVariants>\n>(({ className, ...props }, ref) => (\n <LabelPrimitive.Root\n ref={ref}\n className={cn(labelVariants(), className)}\n {...props}\n />\n))\nLabel.displayName = LabelPrimitive.Root.displayName\n\nexport { Label }\n"],"names":["labelVariants","cva","Label","React","className","props","ref","jsx","LabelPrimitive","cn"],"mappings":"+gBAOMA,EAAgBC,EAAA,IACpB,wEACF,EAEMC,EAAQC,EAAM,WAIlB,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAC1BC,EAAA,kBAAA,IAACC,EAAe,KAAf,CACC,IAAAF,EACA,UAAWG,EAAA,GAAGT,EAAc,EAAGI,CAAS,EACvC,GAAGC,CAAA,CACN,CACD,EACDH,EAAM,YAAcM,EAAe,KAAK"}
|
package/dist/index.cjs17.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs38.js"),n=require("./index.cjs39.js");function a({children:e,className:t,isLoading:s,...o}){return r.jsxRuntimeExports.jsxs("div",{className:n.cn("flex h-full",t),...o,children:[s&&r.jsxRuntimeExports.jsx(i,{}),e]})}function i(){return r.jsxRuntimeExports.jsx("div",{className:"fixed inset-0 bg-gray-400 z-[60] h-4",children:r.jsxRuntimeExports.jsx("div",{className:"bg-chart-purple h-4 rounded-r-small animate-page-loader"})})}function u({className:e,...t}){return r.jsxRuntimeExports.jsx("aside",{className:n.cn("bg-white flex flex-col flex-shrink-0 border-r-1 border-gray-900-16 w-[238px] sticky h-screen",e),...t})}function l({className:e,...t}){return r.jsxRuntimeExports.jsx("div",{className:n.cn("flex-shrink-0",e),...t})}function x({className:e,...t}){return r.jsxRuntimeExports.jsx("div",{className:n.cn("flex-grow overflow-auto",e),...t})}function c({className:e,...t}){return r.jsxRuntimeExports.jsx("main",{className:n.cn("flex flex-col flex-grow justify-start bg-gray-50 sticky h-screen overflow-hidden",e),...t})}function d({className:e,...t}){return r.jsxRuntimeExports.jsx("div",{className:n.cn("flex-shrink-0 bg-white border-b-1 border-gray-900-16",e),...t})}exports.Layout=a;exports.LayoutContent=l;exports.LayoutMain=c;exports.LayoutScrollableContent=x;exports.LayoutSidebar=u;exports.LayoutTopbar=d;
|
|
2
2
|
//# sourceMappingURL=index.cjs17.js.map
|
package/dist/index.cjs17.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs17.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index.cjs17.js","sources":["../src/Layout/index.tsx"],"sourcesContent":["import React from 'react'\nimport { cn } from '../lib/utils'\n\ntype LayoutProps = React.HTMLAttributes<HTMLDivElement> & {\n children: React.ReactNode\n className?: string\n}\n\nexport function Layout({\n children,\n className,\n isLoading,\n ...props\n}: LayoutProps & {\n isLoading?: boolean\n}) {\n return (\n <div className={cn('flex h-full', className)} {...props}>\n {isLoading && <LayoutPageLoader />}\n {children}\n </div>\n )\n}\n\nfunction LayoutPageLoader() {\n return (\n <div className=\"fixed inset-0 bg-gray-400 z-[60] h-4\">\n <div className=\"bg-chart-purple h-4 rounded-r-small animate-page-loader\"></div>\n </div>\n )\n}\n\nexport function LayoutSidebar({ className, ...props }: LayoutProps) {\n return (\n <aside\n className={cn(\n 'bg-white flex flex-col flex-shrink-0 border-r-1 border-gray-900-16 w-[238px] sticky h-screen',\n className\n )}\n {...props}\n />\n )\n}\n\nexport function LayoutContent({ className, ...props }: LayoutProps) {\n return <div className={cn('flex-shrink-0', className)} {...props} />\n}\n\nexport function LayoutScrollableContent({ className, ...props }: LayoutProps) {\n return <div className={cn('flex-grow overflow-auto', className)} {...props} />\n}\n\nexport function LayoutMain({ className, ...props }: LayoutProps) {\n return (\n <main\n className={cn(\n 'flex flex-col flex-grow justify-start bg-gray-50 sticky h-screen overflow-hidden',\n className\n )}\n {...props}\n />\n )\n}\n\nexport function LayoutTopbar({ className, ...props }: LayoutProps) {\n return (\n <div\n className={cn(\n 'flex-shrink-0 bg-white border-b-1 border-gray-900-16',\n className\n )}\n {...props}\n />\n )\n}\n"],"names":["Layout","children","className","isLoading","props","jsxs","cn","LayoutPageLoader","jsx","LayoutSidebar","LayoutContent","LayoutScrollableContent","LayoutMain","LayoutTopbar"],"mappings":"kJAQO,SAASA,EAAO,CACrB,SAAAC,EACA,UAAAC,EACA,UAAAC,EACA,GAAGC,CACL,EAEG,CAEC,OAAAC,EAAA,kBAAA,KAAC,OAAI,UAAWC,EAAAA,GAAG,cAAeJ,CAAS,EAAI,GAAGE,EAC/C,SAAA,CAAAD,2BAAcI,EAAiB,EAAA,EAC/BN,CACH,CAAA,CAAA,CAEJ,CAEA,SAASM,GAAmB,CAExB,OAAAC,EAAA,kBAAA,IAAC,OAAI,UAAU,uCACb,iCAAC,MAAI,CAAA,UAAU,yDAA0D,CAAA,CAC3E,CAAA,CAEJ,CAEO,SAASC,EAAc,CAAE,UAAAP,EAAW,GAAGE,GAAsB,CAEhE,OAAAI,EAAA,kBAAA,IAAC,QAAA,CACC,UAAWF,EAAA,GACT,+FACAJ,CACF,EACC,GAAGE,CAAA,CAAA,CAGV,CAEO,SAASM,EAAc,CAAE,UAAAR,EAAW,GAAGE,GAAsB,CAC3D,OAAAI,EAAA,kBAAA,IAAC,OAAI,UAAWF,EAAAA,GAAG,gBAAiBJ,CAAS,EAAI,GAAGE,CAAO,CAAA,CACpE,CAEO,SAASO,EAAwB,CAAE,UAAAT,EAAW,GAAGE,GAAsB,CACrE,OAAAI,EAAA,kBAAA,IAAC,OAAI,UAAWF,EAAAA,GAAG,0BAA2BJ,CAAS,EAAI,GAAGE,CAAO,CAAA,CAC9E,CAEO,SAASQ,EAAW,CAAE,UAAAV,EAAW,GAAGE,GAAsB,CAE7D,OAAAI,EAAA,kBAAA,IAAC,OAAA,CACC,UAAWF,EAAA,GACT,mFACAJ,CACF,EACC,GAAGE,CAAA,CAAA,CAGV,CAEO,SAASS,EAAa,CAAE,UAAAX,EAAW,GAAGE,GAAsB,CAE/D,OAAAI,EAAA,kBAAA,IAAC,MAAA,CACC,UAAWF,EAAA,GACT,uDACAJ,CACF,EACC,GAAGE,CAAA,CAAA,CAGV"}
|
package/dist/index.cjs18.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs38.js"),i=require("./index.cjs39.js"),s=require("./index.cjs41.js");function l({className:t}){return e.jsxRuntimeExports.jsx("div",{role:"alert","aria-busy":!0,className:i.cn("flex items-center justify-center",t),children:e.jsxRuntimeExports.jsxs("div",{className:"inline-block relative w-[76px] h-[48px]",children:[e.jsxRuntimeExports.jsx(s.default,{className:"left-8 animate-loading-ellipsis1"}),e.jsxRuntimeExports.jsx(s.default,{className:"left-8 animate-loading-ellipsis2"}),e.jsxRuntimeExports.jsx(s.default,{className:"left-32 animate-loading-ellipsis2"}),e.jsxRuntimeExports.jsx(s.default,{className:"left-[56px] animate-loading-ellipsis3"})]})})}exports.Loading=l;
|
|
2
2
|
//# sourceMappingURL=index.cjs18.js.map
|
package/dist/index.cjs18.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs18.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index.cjs18.js","sources":["../src/Loading/index.tsx"],"sourcesContent":["import { cn } from '../lib/utils'\nimport LoadingDot from './LoadingDot'\n\ntype Props = {\n className?: string\n}\n\nexport function Loading({ className }: Props) {\n return (\n <div\n role=\"alert\"\n aria-busy={true}\n className={cn('flex items-center justify-center', className)}\n >\n <div className=\"inline-block relative w-[76px] h-[48px]\">\n <LoadingDot className=\"left-8 animate-loading-ellipsis1\" />\n <LoadingDot className=\"left-8 animate-loading-ellipsis2\" />\n <LoadingDot className=\"left-32 animate-loading-ellipsis2\" />\n <LoadingDot className=\"left-[56px] animate-loading-ellipsis3\" />\n </div>\n </div>\n )\n}\n"],"names":["Loading","className","jsx","cn","jsxs","LoadingDot"],"mappings":"gLAOgB,SAAAA,EAAQ,CAAE,UAAAC,GAAoB,CAE1C,OAAAC,EAAA,kBAAA,IAAC,MAAA,CACC,KAAK,QACL,YAAW,GACX,UAAWC,EAAAA,GAAG,mCAAoCF,CAAS,EAE3D,SAAAG,EAAA,kBAAA,KAAC,MAAI,CAAA,UAAU,0CACb,SAAA,CAACF,EAAAA,kBAAAA,IAAAG,EAAA,QAAA,CAAW,UAAU,kCAAmC,CAAA,EACzDH,EAAAA,kBAAAA,IAACG,EAAW,QAAA,CAAA,UAAU,kCAAmC,CAAA,EACzDH,EAAAA,kBAAAA,IAACG,EAAW,QAAA,CAAA,UAAU,mCAAoC,CAAA,EAC1DH,EAAAA,kBAAAA,IAACG,EAAW,QAAA,CAAA,UAAU,uCAAwC,CAAA,CAAA,EAChE,CAAA,CAAA,CAGN"}
|
package/dist/index.cjs19.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs38.js"),s=require("lucide-react"),j=require("react"),P=require("./index.cjs7.js"),i=require("./index.cjs39.js");function d(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const l=d(j),c=({className:e,...t})=>a.jsxRuntimeExports.jsx("nav",{role:"navigation","aria-label":"pagination",className:i.cn("mx-auto flex w-full justify-center",e),...t});c.displayName="Pagination";const u=l.forwardRef(({className:e,...t},n)=>a.jsxRuntimeExports.jsx("ul",{ref:n,className:i.cn("flex flex-row items-center gap-8",e),...t}));u.displayName="PaginationContent";const p=l.forwardRef(({className:e,...t},n)=>a.jsxRuntimeExports.jsx("li",{ref:n,className:i.cn(e),...t}));p.displayName="PaginationItem";const o=({className:e,isActive:t,...n})=>a.jsxRuntimeExports.jsx(P.Button,{"aria-current":t?"page":void 0,variant:"filled",intent:t?"primary":"secondary",size:"icon",className:i.cn({"bg-purple-600 hover:bg-purple-700 focus:bg-purple-700 active:bg-purple-800":t},e),...n});o.displayName="PaginationButton";const x=({className:e,...t})=>a.jsxRuntimeExports.jsx(o,{"aria-label":"Go to previous page",className:e,...t,children:a.jsxRuntimeExports.jsx(s.ChevronLeft,{className:"h-16 w-16"})});x.displayName="PaginationPrevious";const g=({className:e,...t})=>a.jsxRuntimeExports.jsx(o,{"aria-label":"Go to next page",className:e,...t,children:a.jsxRuntimeExports.jsx(s.ChevronRight,{className:"h-16 w-16"})});g.displayName="PaginationNext";const m=({className:e,...t})=>a.jsxRuntimeExports.jsx("span",{"aria-hidden":!0,className:i.cn("flex h-[36px] w-[36px] items-center justify-center",e),...t,children:a.jsxRuntimeExports.jsx(s.MoreHorizontal,{className:"h-16 w-16"})});m.displayName="PaginationEllipsis";exports.Pagination=c;exports.PaginationButton=o;exports.PaginationContent=u;exports.PaginationEllipsis=m;exports.PaginationItem=p;exports.PaginationNext=g;exports.PaginationPrevious=x;
|
|
2
2
|
//# sourceMappingURL=index.cjs19.js.map
|
package/dist/index.cjs19.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs19.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index.cjs19.js","sources":["../src/Pagination/index.tsx"],"sourcesContent":["import { ChevronLeft, ChevronRight, MoreHorizontal } from 'lucide-react'\nimport * as React from 'react'\nimport { Button, ButtonProps } from '../Button'\nimport { cn } from '../lib/utils'\n\nconst Pagination = ({ className, ...props }: React.ComponentProps<'nav'>) => (\n <nav\n role=\"navigation\"\n aria-label=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n {...props}\n />\n)\nPagination.displayName = 'Pagination'\n\nconst PaginationContent = React.forwardRef<\n HTMLUListElement,\n React.ComponentProps<'ul'>\n>(({ className, ...props }, ref) => (\n <ul\n ref={ref}\n className={cn('flex flex-row items-center gap-8', className)}\n {...props}\n />\n))\nPaginationContent.displayName = 'PaginationContent'\n\nconst PaginationItem = React.forwardRef<\n HTMLLIElement,\n React.ComponentProps<'li'>\n>(({ className, ...props }, ref) => (\n <li ref={ref} className={cn(className)} {...props} />\n))\nPaginationItem.displayName = 'PaginationItem'\n\ntype PaginationButtonProps = ButtonProps & {\n isActive?: boolean\n}\n\nconst PaginationButton = ({\n className,\n isActive,\n ...props\n}: PaginationButtonProps) => (\n <Button\n aria-current={isActive ? 'page' : undefined}\n variant=\"filled\"\n intent={isActive ? 'primary' : 'secondary'}\n size=\"icon\"\n className={cn(\n {\n 'bg-purple-600 hover:bg-purple-700 focus:bg-purple-700 active:bg-purple-800':\n isActive\n },\n className\n )}\n {...props}\n />\n)\nPaginationButton.displayName = 'PaginationButton'\n\nconst PaginationPrevious = ({\n className,\n ...props\n}: React.ComponentProps<typeof PaginationButton>) => (\n <PaginationButton\n aria-label=\"Go to previous page\"\n className={className}\n {...props}\n >\n <ChevronLeft className=\"h-16 w-16\" />\n </PaginationButton>\n)\nPaginationPrevious.displayName = 'PaginationPrevious'\n\nconst PaginationNext = ({\n className,\n ...props\n}: React.ComponentProps<typeof PaginationButton>) => (\n <PaginationButton\n aria-label=\"Go to next page\"\n className={className}\n {...props}\n >\n <ChevronRight className=\"h-16 w-16\" />\n </PaginationButton>\n)\nPaginationNext.displayName = 'PaginationNext'\n\nconst PaginationEllipsis = ({\n className,\n ...props\n}: React.ComponentProps<'span'>) => (\n <span\n aria-hidden\n className={cn(\n 'flex h-[36px] w-[36px] items-center justify-center',\n className\n )}\n {...props}\n >\n <MoreHorizontal className=\"h-16 w-16\" />\n </span>\n)\nPaginationEllipsis.displayName = 'PaginationEllipsis'\n\nexport {\n Pagination,\n PaginationContent,\n PaginationEllipsis,\n PaginationItem,\n PaginationButton,\n PaginationNext,\n PaginationPrevious\n}\n"],"names":["Pagination","className","props","jsx","cn","PaginationContent","React","ref","PaginationItem","PaginationButton","isActive","Button","PaginationPrevious","ChevronLeft","PaginationNext","ChevronRight","PaginationEllipsis","MoreHorizontal"],"mappings":"sfAKMA,EAAa,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAClC,IAAAC,EAAA,kBAAA,IAAC,MAAA,CACC,KAAK,aACL,aAAW,aACX,UAAWC,EAAAA,GAAG,qCAAsCH,CAAS,EAC5D,GAAGC,CAAA,CACN,EAEFF,EAAW,YAAc,aAEnB,MAAAK,EAAoBC,EAAM,WAG9B,CAAC,CAAE,UAAAL,EAAW,GAAGC,CAAM,EAAGK,IAC1BJ,EAAA,kBAAA,IAAC,KAAA,CACC,IAAAI,EACA,UAAWH,EAAAA,GAAG,mCAAoCH,CAAS,EAC1D,GAAGC,CAAA,CACN,CACD,EACDG,EAAkB,YAAc,oBAEhC,MAAMG,EAAiBF,EAAM,WAG3B,CAAC,CAAE,UAAAL,EAAW,GAAGC,CAAM,EAAGK,IACzBJ,EAAAA,kBAAAA,IAAA,KAAA,CAAG,IAAAI,EAAU,UAAWH,EAAAA,GAAGH,CAAS,EAAI,GAAGC,EAAO,CACpD,EACDM,EAAe,YAAc,iBAM7B,MAAMC,EAAmB,CAAC,CACxB,UAAAR,EACA,SAAAS,EACA,GAAGR,CACL,IACEC,EAAA,kBAAA,IAACQ,EAAA,OAAA,CACC,eAAcD,EAAW,OAAS,OAClC,QAAQ,SACR,OAAQA,EAAW,UAAY,YAC/B,KAAK,OACL,UAAWN,EAAA,GACT,CACE,6EACEM,CACJ,EACAT,CACF,EACC,GAAGC,CAAA,CACN,EAEFO,EAAiB,YAAc,mBAE/B,MAAMG,EAAqB,CAAC,CAC1B,UAAAX,EACA,GAAGC,CACL,IACEC,EAAA,kBAAA,IAACM,EAAA,CACC,aAAW,sBACX,UAAAR,EACC,GAAGC,EAEJ,SAAAC,EAAAA,kBAAAA,IAACU,EAAAA,YAAY,CAAA,UAAU,WAAY,CAAA,CAAA,CACrC,EAEFD,EAAmB,YAAc,qBAEjC,MAAME,EAAiB,CAAC,CACtB,UAAAb,EACA,GAAGC,CACL,IACEC,EAAA,kBAAA,IAACM,EAAA,CACC,aAAW,kBACX,UAAAR,EACC,GAAGC,EAEJ,SAAAC,EAAAA,kBAAAA,IAACY,EAAAA,aAAa,CAAA,UAAU,WAAY,CAAA,CAAA,CACtC,EAEFD,EAAe,YAAc,iBAE7B,MAAME,EAAqB,CAAC,CAC1B,UAAAf,EACA,GAAGC,CACL,IACEC,EAAA,kBAAA,IAAC,OAAA,CACC,cAAW,GACX,UAAWC,EAAA,GACT,qDACAH,CACF,EACC,GAAGC,EAEJ,SAAAC,EAAAA,kBAAAA,IAACc,EAAAA,eAAe,CAAA,UAAU,WAAY,CAAA,CAAA,CACxC,EAEFD,EAAmB,YAAc"}
|
package/dist/index.cjs20.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs38.js"),c=require("@radix-ui/react-popover"),p=require("react"),l=require("./index.cjs39.js");function i(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 o=i(c),u=i(p),m=o.Root,f=o.Trigger,g=o.Anchor,s=u.forwardRef(({className:e,align:r="center",sideOffset:t=4,...n},d)=>a.jsxRuntimeExports.jsx(o.Portal,{children:a.jsxRuntimeExports.jsx(o.Content,{ref:d,align:r,sideOffset:t,className:l.cn("z-50 w-[288px] rounded border border-gray-900-8 bg-white p-16 text-gray-800 shadow-200 outline-none 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n})}));s.displayName=o.Content.displayName;exports.Popover=m;exports.PopoverAnchor=g;exports.PopoverContent=s;exports.PopoverTrigger=f;
|
|
2
2
|
//# sourceMappingURL=index.cjs20.js.map
|
package/dist/index.cjs20.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs20.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index.cjs20.js","sources":["../src/Popover/index.tsx"],"sourcesContent":["'use client'\n\nimport * as PopoverPrimitive from '@radix-ui/react-popover'\nimport * as React from 'react'\nimport { cn } from '../lib/utils'\n\nconst Popover = PopoverPrimitive.Root\n\nconst PopoverTrigger = PopoverPrimitive.Trigger\n\nconst PopoverAnchor = PopoverPrimitive.Anchor\n\nconst PopoverContent = React.forwardRef<\n React.ElementRef<typeof PopoverPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>\n>(({ className, align = 'center', sideOffset = 4, ...props }, ref) => (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n ref={ref}\n align={align}\n sideOffset={sideOffset}\n className={cn(\n 'z-50 w-[288px] rounded border border-gray-900-8 bg-white p-16 text-gray-800 shadow-200 outline-none 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',\n className\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n))\nPopoverContent.displayName = PopoverPrimitive.Content.displayName\n\nexport { Popover, PopoverTrigger, PopoverContent, PopoverAnchor }\n"],"names":["Popover","PopoverPrimitive","PopoverTrigger","PopoverAnchor","PopoverContent","React","className","align","sideOffset","props","ref","jsx","cn"],"mappings":"2eAMMA,EAAUC,EAAiB,KAE3BC,EAAiBD,EAAiB,QAElCE,EAAgBF,EAAiB,OAEjCG,EAAiBC,EAAM,WAG3B,CAAC,CAAE,UAAAC,EAAW,MAAAC,EAAQ,SAAU,WAAAC,EAAa,EAAG,GAAGC,CAAM,EAAGC,IAC3DC,EAAAA,kBAAAA,IAAAV,EAAiB,OAAjB,CACC,SAAAU,EAAA,kBAAA,IAACV,EAAiB,QAAjB,CACC,IAAAS,EACA,MAAAH,EACA,WAAAC,EACA,UAAWI,EAAA,GACT,ubACAN,CACF,EACC,GAAGG,CAAA,CACN,CAAA,CACF,CACD,EACDL,EAAe,YAAcH,EAAiB,QAAQ"}
|
package/dist/index.cjs21.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs38.js"),d=require("@radix-ui/react-radio-group"),b=require("lucide-react"),p=require("react"),s=require("./index.cjs39.js");function c(e){const r=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(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const o=c(d),n=c(p),u=n.forwardRef(({className:e,...r},t)=>a.jsxRuntimeExports.jsx(o.Root,{className:s.cn("grid gap-2",e),...r,ref:t}));u.displayName=o.Root.displayName;const l=n.forwardRef(({className:e,...r},t)=>a.jsxRuntimeExports.jsx(o.Item,{ref:t,className:s.cn("aspect-square bg-white peer group h-16 w-16 rounded-full border border-gray-900-16 hover:bg-gray-900-8 active:bg-gray-900-16 disabled:cursor-not-allowed disabled:opacity-64 disabled:bg-white","data-[state=checked]:bg-white data-[state=checked]:border-robinblue-500 data-[state=checked]:hover:border-robinblue-600 data-[state=checked]:active:border-robinblue-700",e),...r,children:a.jsxRuntimeExports.jsx(o.Indicator,{className:"flex items-center justify-center",children:a.jsxRuntimeExports.jsx(b.Circle,{className:"h-[10px] w-[10px] fill-robinblue-500 text-robinblue-500 group-hover:fill-robinblue-600 group-hover:text-robinblue-600 group-active:fill-robinblue-700 group-active:text-robinblue-700"})})}));l.displayName=o.Item.displayName;exports.RadioGroup=u;exports.RadioGroupItem=l;
|
|
2
2
|
//# sourceMappingURL=index.cjs21.js.map
|
package/dist/index.cjs21.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs21.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index.cjs21.js","sources":["../src/RadioGroup/index.tsx"],"sourcesContent":["'use client'\n\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group'\nimport { Circle } from 'lucide-react'\nimport * as React from 'react'\nimport { cn } from '../lib/utils'\n\nconst RadioGroup = React.forwardRef<\n React.ElementRef<typeof RadioGroupPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>\n>(({ className, ...props }, ref) => {\n return (\n <RadioGroupPrimitive.Root\n className={cn('grid gap-2', className)}\n {...props}\n ref={ref}\n />\n )\n})\nRadioGroup.displayName = RadioGroupPrimitive.Root.displayName\n\nconst RadioGroupItem = React.forwardRef<\n React.ElementRef<typeof RadioGroupPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>\n>(({ className, ...props }, ref) => {\n return (\n <RadioGroupPrimitive.Item\n ref={ref}\n className={cn(\n 'aspect-square bg-white peer group h-16 w-16 rounded-full border border-gray-900-16 hover:bg-gray-900-8 active:bg-gray-900-16 disabled:cursor-not-allowed disabled:opacity-64 disabled:bg-white',\n 'data-[state=checked]:bg-white data-[state=checked]:border-robinblue-500 data-[state=checked]:hover:border-robinblue-600 data-[state=checked]:active:border-robinblue-700',\n className\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator className=\"flex items-center justify-center\">\n <Circle className=\"h-[10px] w-[10px] fill-robinblue-500 text-robinblue-500 group-hover:fill-robinblue-600 group-hover:text-robinblue-600 group-active:fill-robinblue-700 group-active:text-robinblue-700\" />\n </RadioGroupPrimitive.Indicator>\n </RadioGroupPrimitive.Item>\n )\n})\nRadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName\n\nexport { RadioGroup, RadioGroupItem }\n"],"names":["RadioGroup","React","className","props","ref","jsx","RadioGroupPrimitive","cn","RadioGroupItem","Circle"],"mappings":"ygBAOMA,EAAaC,EAAM,WAGvB,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAExBC,EAAA,kBAAA,IAACC,EAAoB,KAApB,CACC,UAAWC,EAAAA,GAAG,aAAcL,CAAS,EACpC,GAAGC,EACJ,IAAAC,CAAA,CAAA,CAGL,EACDJ,EAAW,YAAcM,EAAoB,KAAK,YAE5C,MAAAE,EAAiBP,EAAM,WAG3B,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAExBC,EAAA,kBAAA,IAACC,EAAoB,KAApB,CACC,IAAAF,EACA,UAAWG,EAAA,GACT,iMACA,2KACAL,CACF,EACC,GAAGC,EAEJ,SAAAE,EAAAA,kBAAAA,IAACC,EAAoB,UAApB,CAA8B,UAAU,mCACvC,SAACD,EAAAA,kBAAAA,IAAAI,EAAAA,OAAA,CAAO,UAAU,uLAAA,CAAwL,CAC5M,CAAA,CAAA,CAAA,CAGL,EACDD,EAAe,YAAcF,EAAoB,KAAK"}
|
package/dist/index.cjs22.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs38.js"),S=require("@radix-ui/react-select"),i=require("lucide-react"),w=require("react"),l=require("./index.cjs39.js");function p(a){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const t in a)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(a,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>a[t]})}}return o.default=a,Object.freeze(o)}const e=p(S),n=p(w),y=e.Root,b=e.Group,g=e.Value,m=n.forwardRef(({className:a,children:o,...t},r)=>s.jsxRuntimeExports.jsxs(e.Trigger,{ref:r,className:l.cn("flex h-[36px] w-full items-center justify-between rounded bg-white border border-gray-900-24 pl-16 pr-12 text-left","disabled:cursor-not-allowed disabled:opacity-64 disabled:shadow-none","[&>span]:line-clamp-1","hover:shadow-field-hover","focus-visible:outline-none focus:shadow-field-active","active:shadow-field-active","data-[state=open]:shadow-field-active","data-[placeholder]:text-gray-700",a),...t,children:[o,s.jsxRuntimeExports.jsx(e.Icon,{asChild:!0,children:s.jsxRuntimeExports.jsx(i.ChevronDown,{className:"h-16 w-16 opacity-64 ml-8"})})]}));m.displayName=e.Trigger.displayName;const c=n.forwardRef(({className:a,...o},t)=>s.jsxRuntimeExports.jsx(e.ScrollUpButton,{ref:t,className:l.cn("flex cursor-default items-center justify-center py-4",a),...o,children:s.jsxRuntimeExports.jsx(i.ChevronUp,{className:"h-16 w-16"})}));c.displayName=e.ScrollUpButton.displayName;const d=n.forwardRef(({className:a,...o},t)=>s.jsxRuntimeExports.jsx(e.ScrollDownButton,{ref:t,className:l.cn("flex cursor-default items-center justify-center py-4",a),...o,children:s.jsxRuntimeExports.jsx(i.ChevronDown,{className:"h-16 w-16"})}));d.displayName=e.ScrollDownButton.displayName;const u=n.forwardRef(({className:a,children:o,position:t="popper",...r},h)=>s.jsxRuntimeExports.jsx(e.Portal,{children:s.jsxRuntimeExports.jsxs(e.Content,{ref:h,className:l.cn("relative z-50 max-h-[300px] min-w-[8rem] overflow-hidden bg-white rounded border shadow-200","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 data-[side=bottom]:slide-in-from-top-2","data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t==="popper"&&"data-[side=bottom]:translate-y-4 data-[side=left]:-translate-x-4 data-[side=right]:translate-x-4 data-[side=top]:-translate-y-4",a),position:t,...r,children:[s.jsxRuntimeExports.jsx(c,{}),s.jsxRuntimeExports.jsx(e.Viewport,{className:l.cn(t==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:o}),s.jsxRuntimeExports.jsx(d,{})]})}));u.displayName=e.Content.displayName;const x=n.forwardRef(({className:a,...o},t)=>s.jsxRuntimeExports.jsx(e.Label,{ref:t,className:l.cn("py-8 px-16 pr-8 font-medium",a),...o}));x.displayName=e.Label.displayName;const f=n.forwardRef(({className:a,children:o,...t},r)=>s.jsxRuntimeExports.jsxs(e.Item,{ref:r,className:l.cn("relative flex w-full cursor-default select-none items-center justify-between py-8 px-16 outline-none","hover:bg-purple-100","data-[state=checked]:bg-purple-100 data-[state=checked]:font-medium","data-[disabled]:pointer-events-none data-[disabled]:opacity-64",a),...t,children:[s.jsxRuntimeExports.jsx(e.ItemText,{children:o}),s.jsxRuntimeExports.jsx(e.ItemIndicator,{children:s.jsxRuntimeExports.jsx(i.CheckIcon,{className:"h-16 w-16 ml-8"})})]}));f.displayName=e.Item.displayName;const j=n.forwardRef(({className:a,...o},t)=>s.jsxRuntimeExports.jsx(e.Separator,{ref:t,className:l.cn("-mx-4 my-4 h-[1px] bg-gray-900-24",a),...o}));j.displayName=e.Separator.displayName;exports.Select=y;exports.SelectContent=u;exports.SelectGroup=b;exports.SelectItem=f;exports.SelectLabel=x;exports.SelectScrollDownButton=d;exports.SelectScrollUpButton=c;exports.SelectSeparator=j;exports.SelectTrigger=m;exports.SelectValue=g;
|
|
2
2
|
//# sourceMappingURL=index.cjs22.js.map
|
package/dist/index.cjs22.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs22.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index.cjs22.js","sources":["../src/Select/index.tsx"],"sourcesContent":["'use client'\n\nimport * as SelectPrimitive from '@radix-ui/react-select'\nimport { CheckIcon, ChevronDown, ChevronUp } from 'lucide-react'\nimport * as React from 'react'\nimport { cn } from '../lib/utils'\n\nconst Select = SelectPrimitive.Root\n\nconst SelectGroup = SelectPrimitive.Group\n\nconst SelectValue = SelectPrimitive.Value\n\nconst SelectTrigger = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>\n>(({ className, children, ...props }, ref) => (\n <SelectPrimitive.Trigger\n ref={ref}\n className={cn(\n 'flex h-[36px] w-full items-center justify-between rounded bg-white border border-gray-900-24 pl-16 pr-12 text-left',\n 'disabled:cursor-not-allowed disabled:opacity-64 disabled:shadow-none',\n '[&>span]:line-clamp-1',\n 'hover:shadow-field-hover',\n 'focus-visible:outline-none focus:shadow-field-active',\n 'active:shadow-field-active',\n 'data-[state=open]:shadow-field-active',\n 'data-[placeholder]:text-gray-700',\n className\n )}\n {...props}\n >\n {children}\n <SelectPrimitive.Icon asChild>\n <ChevronDown className=\"h-16 w-16 opacity-64 ml-8\" />\n </SelectPrimitive.Icon>\n </SelectPrimitive.Trigger>\n))\nSelectTrigger.displayName = SelectPrimitive.Trigger.displayName\n\nconst SelectScrollUpButton = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.ScrollUpButton>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollUpButton>\n>(({ className, ...props }, ref) => (\n <SelectPrimitive.ScrollUpButton\n ref={ref}\n className={cn(\n 'flex cursor-default items-center justify-center py-4',\n className\n )}\n {...props}\n >\n <ChevronUp className=\"h-16 w-16\" />\n </SelectPrimitive.ScrollUpButton>\n))\nSelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName\n\nconst SelectScrollDownButton = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.ScrollDownButton>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollDownButton>\n>(({ className, ...props }, ref) => (\n <SelectPrimitive.ScrollDownButton\n ref={ref}\n className={cn(\n 'flex cursor-default items-center justify-center py-4',\n className\n )}\n {...props}\n >\n <ChevronDown className=\"h-16 w-16\" />\n </SelectPrimitive.ScrollDownButton>\n))\nSelectScrollDownButton.displayName =\n SelectPrimitive.ScrollDownButton.displayName\n\nconst SelectContent = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>\n>(({ className, children, position = 'popper', ...props }, ref) => (\n <SelectPrimitive.Portal>\n <SelectPrimitive.Content\n ref={ref}\n className={cn(\n 'relative z-50 max-h-[300px] min-w-[8rem] overflow-hidden bg-white rounded border shadow-200',\n 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',\n 'data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2',\n 'data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',\n position === 'popper' &&\n 'data-[side=bottom]:translate-y-4 data-[side=left]:-translate-x-4 data-[side=right]:translate-x-4 data-[side=top]:-translate-y-4',\n className\n )}\n position={position}\n {...props}\n >\n <SelectScrollUpButton />\n <SelectPrimitive.Viewport\n className={cn(\n position === 'popper' &&\n 'h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]'\n )}\n >\n {children}\n </SelectPrimitive.Viewport>\n <SelectScrollDownButton />\n </SelectPrimitive.Content>\n </SelectPrimitive.Portal>\n))\nSelectContent.displayName = SelectPrimitive.Content.displayName\n\nconst SelectLabel = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Label>\n>(({ className, ...props }, ref) => (\n <SelectPrimitive.Label\n ref={ref}\n className={cn('py-8 px-16 pr-8 font-medium', className)}\n {...props}\n />\n))\nSelectLabel.displayName = SelectPrimitive.Label.displayName\n\nconst SelectItem = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item>\n>(({ className, children, ...props }, ref) => (\n <SelectPrimitive.Item\n ref={ref}\n className={cn(\n 'relative flex w-full cursor-default select-none items-center justify-between py-8 px-16 outline-none',\n 'hover:bg-purple-100',\n 'data-[state=checked]:bg-purple-100 data-[state=checked]:font-medium',\n 'data-[disabled]:pointer-events-none data-[disabled]:opacity-64',\n className\n )}\n {...props}\n >\n <SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>\n <SelectPrimitive.ItemIndicator>\n <CheckIcon className=\"h-16 w-16 ml-8\" />\n </SelectPrimitive.ItemIndicator>\n </SelectPrimitive.Item>\n))\nSelectItem.displayName = SelectPrimitive.Item.displayName\n\nconst SelectSeparator = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <SelectPrimitive.Separator\n ref={ref}\n className={cn('-mx-4 my-4 h-[1px] bg-gray-900-24', className)}\n {...props}\n />\n))\nSelectSeparator.displayName = SelectPrimitive.Separator.displayName\n\nexport {\n Select,\n SelectGroup,\n SelectValue,\n SelectTrigger,\n SelectContent,\n SelectLabel,\n SelectItem,\n SelectSeparator,\n SelectScrollUpButton,\n SelectScrollDownButton\n}\n"],"names":["Select","SelectPrimitive","SelectGroup","SelectValue","SelectTrigger","React","className","children","props","ref","jsxs","cn","jsx","ChevronDown","SelectScrollUpButton","ChevronUp","SelectScrollDownButton","SelectContent","position","SelectLabel","SelectItem","CheckIcon","SelectSeparator"],"mappings":"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"}
|
package/dist/index.cjs23.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs38.js"),u=require("@radix-ui/react-separator"),l=require("react"),p=require("./index.cjs39.js");function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const n=a(u),f=a(l),i=f.forwardRef(({className:e,orientation:t="horizontal",decorative:r=!0,...o},s)=>c.jsxRuntimeExports.jsx(n.Root,{ref:s,decorative:r,orientation:t,className:p.cn("shrink-0 bg-gray-900-8",t==="horizontal"?"h-[1px] w-full":"w-[1px]",e),role:"separator",...o}));i.displayName=n.Root.displayName;exports.Separator=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs23.js.map
|
package/dist/index.cjs23.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs23.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index.cjs23.js","sources":["../src/Separator/index.tsx"],"sourcesContent":["'use client'\n\nimport * as SeparatorPrimitive from '@radix-ui/react-separator'\nimport * as React from 'react'\nimport { cn } from '../lib/utils'\n\nconst Separator = React.forwardRef<\n React.ElementRef<typeof SeparatorPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>\n>(\n (\n { className, orientation = 'horizontal', decorative = true, ...props },\n ref\n ) => (\n <SeparatorPrimitive.Root\n ref={ref}\n decorative={decorative}\n orientation={orientation}\n className={cn(\n 'shrink-0 bg-gray-900-8',\n orientation === 'horizontal' ? 'h-[1px] w-full' : 'w-[1px]',\n className\n )}\n role=\"separator\"\n {...props}\n />\n )\n)\nSeparator.displayName = SeparatorPrimitive.Root.displayName\n\nexport { Separator }\n"],"names":["Separator","React","className","orientation","decorative","props","ref","jsx","SeparatorPrimitive","cn"],"mappings":"6eAMMA,EAAYC,EAAM,WAItB,CACE,CAAE,UAAAC,EAAW,YAAAC,EAAc,aAAc,WAAAC,EAAa,GAAM,GAAGC,GAC/DC,IAEAC,EAAA,kBAAA,IAACC,EAAmB,KAAnB,CACC,IAAAF,EACA,WAAAF,EACA,YAAAD,EACA,UAAWM,EAAA,GACT,yBACAN,IAAgB,aAAe,iBAAmB,UAClDD,CACF,EACA,KAAK,YACJ,GAAGG,CAAA,CACN,CAEJ,EACAL,EAAU,YAAcQ,EAAmB,KAAK"}
|
package/dist/index.cjs24.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs38.js"),y=require("@radix-ui/react-dialog"),j=require("class-variance-authority"),g=require("lucide-react"),S=require("react"),i=require("./index.cjs39.js");function d(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const r=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,r.get?r:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const s=d(y),n=d(S),b=s.Root,N=s.Trigger,R=s.Close,c=s.Portal,l=n.forwardRef(({className:e,...t},a)=>o.jsxRuntimeExports.jsx(s.Overlay,{className:i.cn("fixed inset-0 z-50 bg-gray-900-24 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:a}));l.displayName=s.Overlay.displayName;const v=j.cva("fixed z-50 gap-16 bg-white border-gray-900-16 transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),m=n.forwardRef(({side:e="right",className:t,children:a,...r},h)=>o.jsxRuntimeExports.jsxs(c,{children:[o.jsxRuntimeExports.jsx(l,{}),o.jsxRuntimeExports.jsxs(s.Content,{ref:h,className:i.cn(v({side:e}),t),...r,children:[a,o.jsxRuntimeExports.jsxs(s.Close,{className:"absolute right-16 top-16 rounded-small opacity-64 transition-opacity hover:opacity-100 focus:outline-none disabled:pointer-events-none",children:[o.jsxRuntimeExports.jsx(g.X,{className:"h-16 w-16"}),o.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));m.displayName=s.Content.displayName;const p=({className:e,...t})=>o.jsxRuntimeExports.jsx("div",{className:i.cn("flex flex-col space-y-8 text-center sm:text-left",e),...t});p.displayName="SheetHeader";const u=({className:e,...t})=>o.jsxRuntimeExports.jsx("div",{className:i.cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-8",e),...t});u.displayName="SheetFooter";const x=n.forwardRef(({className:e,...t},a)=>o.jsxRuntimeExports.jsx(s.Title,{ref:a,className:i.cn("font-medium text-lg text-gray-800",e),...t}));x.displayName=s.Title.displayName;const f=n.forwardRef(({className:e,...t},a)=>o.jsxRuntimeExports.jsx(s.Description,{ref:a,className:i.cn("mt-8 text-base text-gray-900",e),...t}));f.displayName=s.Description.displayName;exports.Sheet=b;exports.SheetClose=R;exports.SheetContent=m;exports.SheetDescription=f;exports.SheetFooter=u;exports.SheetHeader=p;exports.SheetOverlay=l;exports.SheetPortal=c;exports.SheetTitle=x;exports.SheetTrigger=N;
|
|
2
2
|
//# sourceMappingURL=index.cjs24.js.map
|
package/dist/index.cjs24.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs24.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index.cjs24.js","sources":["../src/Sheet/index.tsx"],"sourcesContent":["'use client'\n\nimport * as SheetPrimitive from '@radix-ui/react-dialog'\nimport { cva, type VariantProps } from 'class-variance-authority'\nimport { X } from 'lucide-react'\nimport * as React from 'react'\nimport { cn } from '../lib/utils'\n\nconst Sheet = SheetPrimitive.Root\n\nconst SheetTrigger = SheetPrimitive.Trigger\n\nconst SheetClose = SheetPrimitive.Close\n\nconst SheetPortal = SheetPrimitive.Portal\n\nconst SheetOverlay = React.forwardRef<\n React.ElementRef<typeof SheetPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof SheetPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <SheetPrimitive.Overlay\n className={cn(\n 'fixed inset-0 z-50 bg-gray-900-24 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',\n className\n )}\n {...props}\n ref={ref}\n />\n))\nSheetOverlay.displayName = SheetPrimitive.Overlay.displayName\n\nconst sheetVariants = cva(\n 'fixed z-50 gap-16 bg-white border-gray-900-16 transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500',\n {\n variants: {\n side: {\n top: 'inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top',\n bottom:\n 'inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom',\n left: 'inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm',\n right:\n 'inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm'\n }\n },\n defaultVariants: {\n side: 'right'\n }\n }\n)\n\ninterface SheetContentProps\n extends React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>,\n VariantProps<typeof sheetVariants> {}\n\nconst SheetContent = React.forwardRef<\n React.ElementRef<typeof SheetPrimitive.Content>,\n SheetContentProps\n>(({ side = 'right', className, children, ...props }, ref) => (\n <SheetPortal>\n <SheetOverlay />\n <SheetPrimitive.Content\n ref={ref}\n className={cn(sheetVariants({ side }), className)}\n {...props}\n >\n {children}\n <SheetPrimitive.Close className=\"absolute right-16 top-16 rounded-small opacity-64 transition-opacity hover:opacity-100 focus:outline-none disabled:pointer-events-none\">\n <X className=\"h-16 w-16\" />\n <span className=\"sr-only\">Close</span>\n </SheetPrimitive.Close>\n </SheetPrimitive.Content>\n </SheetPortal>\n))\nSheetContent.displayName = SheetPrimitive.Content.displayName\n\nconst SheetHeader = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n 'flex flex-col space-y-8 text-center sm:text-left',\n className\n )}\n {...props}\n />\n)\nSheetHeader.displayName = 'SheetHeader'\n\nconst SheetFooter = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n 'flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-8',\n className\n )}\n {...props}\n />\n)\nSheetFooter.displayName = 'SheetFooter'\n\nconst SheetTitle = React.forwardRef<\n React.ElementRef<typeof SheetPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof SheetPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <SheetPrimitive.Title\n ref={ref}\n className={cn('font-medium text-lg text-gray-800', className)}\n {...props}\n />\n))\nSheetTitle.displayName = SheetPrimitive.Title.displayName\n\nconst SheetDescription = React.forwardRef<\n React.ElementRef<typeof SheetPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof SheetPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <SheetPrimitive.Description\n ref={ref}\n className={cn('mt-8 text-base text-gray-900', className)}\n {...props}\n />\n))\nSheetDescription.displayName = SheetPrimitive.Description.displayName\n\nexport {\n Sheet,\n SheetPortal,\n SheetOverlay,\n SheetTrigger,\n SheetClose,\n SheetContent,\n SheetHeader,\n SheetFooter,\n SheetTitle,\n SheetDescription\n}\n"],"names":["Sheet","SheetPrimitive","SheetTrigger","SheetClose","SheetPortal","SheetOverlay","React","className","props","ref","jsx","cn","sheetVariants","cva","SheetContent","side","children","jsxs","X","SheetHeader","SheetFooter","SheetTitle","SheetDescription"],"mappings":"0iBAQMA,EAAQC,EAAe,KAEvBC,EAAeD,EAAe,QAE9BE,EAAaF,EAAe,MAE5BG,EAAcH,EAAe,OAE7BI,EAAeC,EAAM,WAGzB,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAC1BC,EAAA,kBAAA,IAACT,EAAe,QAAf,CACC,UAAWU,EAAA,GACT,4JACAJ,CACF,EACC,GAAGC,EACJ,IAAAC,CAAA,CACF,CACD,EACDJ,EAAa,YAAcJ,EAAe,QAAQ,YAElD,MAAMW,EAAgBC,EAAA,IACpB,oMACA,CACE,SAAU,CACR,KAAM,CACJ,IAAK,oGACL,OACE,6GACF,KAAM,gIACN,MACE,mIACJ,CACF,EACA,gBAAiB,CACf,KAAM,OACR,CACF,CACF,EAMMC,EAAeR,EAAM,WAGzB,CAAC,CAAE,KAAAS,EAAO,QAAS,UAAAR,EAAW,SAAAS,EAAU,GAAGR,CAAS,EAAAC,6BACnDL,EACC,CAAA,SAAA,CAAAM,EAAA,kBAAA,IAACL,EAAa,EAAA,EACdY,EAAA,kBAAA,KAAChB,EAAe,QAAf,CACC,IAAAQ,EACA,UAAWE,EAAG,GAAAC,EAAc,CAAE,KAAAG,CAAM,CAAA,EAAGR,CAAS,EAC/C,GAAGC,EAEH,SAAA,CAAAQ,EACAC,EAAA,kBAAA,KAAAhB,EAAe,MAAf,CAAqB,UAAU,yIAC9B,SAAA,CAACS,EAAAA,kBAAAA,IAAAQ,EAAA,EAAA,CAAE,UAAU,WAAY,CAAA,EACxBR,EAAA,kBAAA,IAAA,OAAA,CAAK,UAAU,UAAU,SAAK,QAAA,CAAA,EACjC,CAAA,CAAA,CACF,CAAA,CAAA,CACF,CACD,EACDI,EAAa,YAAcb,EAAe,QAAQ,YAElD,MAAMkB,EAAc,CAAC,CACnB,UAAAZ,EACA,GAAGC,CACL,IACEE,EAAA,kBAAA,IAAC,MAAA,CACC,UAAWC,EAAA,GACT,mDACAJ,CACF,EACC,GAAGC,CAAA,CACN,EAEFW,EAAY,YAAc,cAE1B,MAAMC,EAAc,CAAC,CACnB,UAAAb,EACA,GAAGC,CACL,IACEE,EAAA,kBAAA,IAAC,MAAA,CACC,UAAWC,EAAA,GACT,gEACAJ,CACF,EACC,GAAGC,CAAA,CACN,EAEFY,EAAY,YAAc,cAEpB,MAAAC,EAAaf,EAAM,WAGvB,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAC1BC,EAAA,kBAAA,IAACT,EAAe,MAAf,CACC,IAAAQ,EACA,UAAWE,EAAAA,GAAG,oCAAqCJ,CAAS,EAC3D,GAAGC,CAAA,CACN,CACD,EACDa,EAAW,YAAcpB,EAAe,MAAM,YAExC,MAAAqB,EAAmBhB,EAAM,WAG7B,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAC1BC,EAAA,kBAAA,IAACT,EAAe,YAAf,CACC,IAAAQ,EACA,UAAWE,EAAAA,GAAG,+BAAgCJ,CAAS,EACtD,GAAGC,CAAA,CACN,CACD,EACDc,EAAiB,YAAcrB,EAAe,YAAY"}
|
package/dist/index.cjs25.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index.cjs38.js"),r=require("./index.cjs39.js");function u({className:e,...t}){return n.jsxRuntimeExports.jsx("div",{className:r.cn("animate-pulse rounded-full bg-gray-900-16",e),...t})}exports.Skeleton=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs25.js.map
|
package/dist/index.cjs25.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs25.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index.cjs25.js","sources":["../src/Skeleton/index.tsx"],"sourcesContent":["import { cn } from '../lib/utils'\n\nfunction Skeleton({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) {\n return (\n <div\n className={cn('animate-pulse rounded-full bg-gray-900-16', className)}\n {...props}\n />\n )\n}\n\nexport { Skeleton }\n"],"names":["Skeleton","className","props","jsx","cn"],"mappings":"kJAEA,SAASA,EAAS,CAChB,UAAAC,EACA,GAAGC,CACL,EAAyC,CAErC,OAAAC,EAAA,kBAAA,IAAC,MAAA,CACC,UAAWC,EAAAA,GAAG,4CAA6CH,CAAS,EACnE,GAAGC,CAAA,CAAA,CAGV"}
|
package/dist/index.cjs26.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs38.js"),d=require("@radix-ui/react-switch"),l=require("react"),s=require("./index.cjs39.js");function o(e){const a=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(a,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return a.default=e,Object.freeze(a)}const r=o(d),u=o(l),i=u.forwardRef(({className:e,...a},t)=>c.jsxRuntimeExports.jsx(r.Root,{className:s.cn("peer inline-flex h-[20px] w-[36px] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors disabled:cursor-not-allowed disabled:opacity-64","data-[state=checked]:bg-robinblue-500 data-[state=checked]:hover:bg-robinblue-600 data-[state=checked]:active:bg-robinblue-700","data-[state=unchecked]:bg-gray-900-16 data-[state=unchecked]:hover:bg-gray-900-24 data-[state=unchecked]:active:bg-gray-900-32",e),...a,ref:t,children:c.jsxRuntimeExports.jsx(r.Thumb,{className:s.cn("pointer-events-none block h-16 w-16 rounded-full bg-white shadow-lg transition-transform data-[state=checked]:translate-x-16 data-[state=unchecked]:translate-x-0")})}));i.displayName=r.Root.displayName;exports.Switch=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs26.js.map
|