@lotte-innovate/ui-component-test 0.1.83 → 0.1.84
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/lib/Typography/Header/index.mjs +1 -1
- package/dist/lib/Typography/Text/index.mjs +1 -1
- package/dist/lib/components/Accordion/index.mjs +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogAction.mjs +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogCancel.mjs +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogContent.mjs +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +1 -1
- package/dist/lib/components/AspectRatio/index.mjs +1 -1
- package/dist/lib/components/Avatar/index.mjs +1 -1
- package/dist/lib/components/Badge/index.mjs +1 -1
- package/dist/lib/components/BarChart/index.mjs +1 -1
- package/dist/lib/components/BubbleChart/index.mjs +1 -1
- package/dist/lib/components/Button/index.mjs +1 -1
- package/dist/lib/components/Callout/CalloutIcon.mjs +1 -1
- package/dist/lib/components/Callout/CalloutRoot.mjs +1 -1
- package/dist/lib/components/Callout/CalloutText.mjs +1 -1
- package/dist/lib/components/Card/index.mjs +1 -1
- package/dist/lib/components/Checkbox/index.mjs +1 -1
- package/dist/lib/components/CheckboxCard/index.mjs +1 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs +1 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuContent.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuGroup.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuItem.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs +1 -1
- package/dist/lib/components/DataList/DataListItem.mjs +1 -1
- package/dist/lib/components/DataList/DataListLabel.mjs +1 -1
- package/dist/lib/components/DataList/DataListRoot.mjs +1 -1
- package/dist/lib/components/DataList/DataListValue.mjs +1 -1
- package/dist/lib/components/Dialog/DialogAction.mjs +1 -1
- package/dist/lib/components/Dialog/DialogCancel.mjs +1 -1
- package/dist/lib/components/Dialog/DialogContent.mjs +1 -1
- package/dist/lib/components/Dialog/DialogDescription.mjs +1 -1
- package/dist/lib/components/Dialog/DialogRoot.mjs +1 -1
- package/dist/lib/components/Dialog/DialogSlot.mjs +1 -1
- package/dist/lib/components/Dialog/DialogTitle.mjs +1 -1
- package/dist/lib/components/Dialog/DialogTrigger.mjs +1 -1
- package/dist/lib/components/DoughnutChart/index.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs +1 -1
- package/dist/lib/components/HoverCard/HoverCardContent.mjs +1 -1
- package/dist/lib/components/HoverCard/HoverCardRoot.mjs +1 -1
- package/dist/lib/components/HoverCard/HoverCardTrigger.mjs +1 -1
- package/dist/lib/components/IconButton/index.mjs +1 -1
- package/dist/lib/components/Inset/index.mjs +1 -1
- package/dist/lib/components/Label/index.mjs +1 -1
- package/dist/lib/components/LineChart/index.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarCheckboxItem.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarContent.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarItem.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarItemIndicator.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarMenu.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarRadioGroup.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarRadioItem.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarRoot.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarSeparator.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarSub.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarSubContent.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarSubTrigger.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarTrigger.mjs +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs +1 -1
- package/dist/lib/components/PieChart/index.mjs +1 -1
- package/dist/lib/components/Popover/PopoverClose.mjs +1 -1
- package/dist/lib/components/Popover/PopoverContent.mjs +1 -1
- package/dist/lib/components/Popover/PopoverRoot.mjs +1 -1
- package/dist/lib/components/Popover/PopoverTrigger.mjs +1 -1
- package/dist/lib/components/Progress/index.mjs +1 -1
- package/dist/lib/components/RadarChart/index.mjs +1 -1
- package/dist/lib/components/Radio/index.mjs +1 -1
- package/dist/lib/components/RadioCards/RadioCardsItem.mjs +1 -1
- package/dist/lib/components/RadioCards/RadioCardsRoot.mjs +1 -1
- package/dist/lib/components/RadioGroup/RadioGroupItem.mjs +1 -1
- package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +1 -1
- package/dist/lib/components/ScrollArea/index.mjs +1 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs +1 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs +1 -1
- package/dist/lib/components/Select/index.mjs +1 -1
- package/dist/lib/components/Separator/index.mjs +1 -1
- package/dist/lib/components/Skeleton/index.mjs +1 -1
- package/dist/lib/components/Slider/index.mjs +1 -1
- package/dist/lib/components/Spinner/index.mjs +1 -1
- package/dist/lib/components/TabNav/index.mjs +1 -1
- package/dist/lib/components/Table/index.mjs +1 -1
- package/dist/lib/components/Tabs/index.mjs +1 -1
- package/dist/lib/components/TextArea/index.mjs +1 -1
- package/dist/lib/components/TextField/index.mjs +1 -1
- package/dist/lib/components/Toast/ToastActionButton.mjs +1 -1
- package/dist/lib/components/Toast/ToastDescription.mjs +1 -1
- package/dist/lib/components/Toast/ToastRoot.mjs +1 -1
- package/dist/lib/components/Toast/ToastTitle.mjs +1 -1
- package/dist/lib/components/Toggle/ToggleWithText.mjs +1 -1
- package/dist/lib/components/Toggle/index.mjs +1 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +1 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +1 -1
- package/dist/lib/components/ToggleSwitch/index.mjs +1 -1
- package/dist/lib/components/Tooltip/index.mjs +1 -1
- package/dist/lib/utils/utils.mjs +1 -1
- package/package.json +1 -1
@@ -1,2 +1,2 @@
|
|
1
|
-
import{j as e}from"
|
1
|
+
import{j as e}from"../../_virtual/jsx-runtime.mjs";import r,{forwardRef as t,Children as a}from"react";import{cva as i}from"../../node_modules/class-variance-authority/dist/index.mjs";import{Root as o}from"../../node_modules/@radix-ui/react-toggle/dist/index.mjs";import{radiusVariants as s,scalingVariants as n,toggleAppearanceStyle as l}from"../../constants.mjs";import{cn as m}from"../../utils/utils.mjs";export{ToggleWithText}from"./ToggleWithText.mjs";var c=function(){return c=Object.assign||function(e){for(var r,t=1,a=arguments.length;t<a;t++)for(var i in r=arguments[t])Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);return e},c.apply(this,arguments)},p=function(e,r){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&r.indexOf(a)<0&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(a=Object.getOwnPropertySymbols(e);i<a.length;i++)r.indexOf(a[i])<0&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(t[a[i]]=e[a[i]])}return t},u=i('grid place-content-center items-center justify-center box-border"',{variants:{radius:c({},s.base),size:{small:"w-6 h-6 p-[6px]",medium:"w-8 h-8 p-2",large:"w-10 h-10 p-[11px]"},scaling:c({},n)},defaultVariants:{radius:"medium",size:"medium",scaling:"100%"}}),d={small:"w-[14px]",medium:"w-4",large:"w-[18px]"},f=t((function(t,i){var s=t.className,n=t.children,f=t.radius,g=t.size,j=void 0===g?"medium":g,x=t.scaling,y=t.color,h=void 0===y?"red":y,v=t.appearance,b=void 0===v?"surface":v,O=p(t,["className","children","radius","size","scaling","color","appearance"]);return e.jsx(o,c({ref:i,className:m(u({radius:f,size:j,scaling:x}),l(b,h,!0,"data-[state=on]:"),s)},O,{children:a.map(n,(function(e){return r.cloneElement(e,{className:d[j]})}))}))}));f.displayName="Toggle";export{d as IconScaling,f as Toggle,f as default};
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import{j as e}from"
|
1
|
+
import{j as e}from"../../_virtual/jsx-runtime.mjs";import r,{forwardRef as t,useContext as o,Children as a}from"react";import{Item as n}from"../../node_modules/@radix-ui/react-toggle-group/dist/index.mjs";import{cva as i}from"../../node_modules/class-variance-authority/dist/index.mjs";import{toggleAppearanceStyle as l}from"../../constants.mjs";import{ToggleGroupContext as s}from"./ToggleGroupRoot.mjs";import{cn as m}from"../../utils/utils.mjs";var p=function(){return p=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++)for(var a in r=arguments[t])Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a]);return e},p.apply(this,arguments)},u=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(o=Object.getOwnPropertySymbols(e);a<o.length;a++)r.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(t[o[a]]=e[o[a]])}return t},c=i("grid place-content-center mr-[-1px] first:rounded-l last:rounded-r",{variants:{size:{small:"w-6 h-6 p-[6px]",medium:"w-8 h-8 p-2",large:"w-10 h-10 p-[11px]"}},defaultVariants:{size:"medium"}}),d={small:"w-[14px]",medium:"w-4",large:"w-[18px]"},f=t((function(t,i){var f=t.className,g=t.children,j=t.value,v=u(t,["className","children","value"]),y=o(s),x=y.size,h=y.color,O=void 0===h?"red":h,w=y.appearance,b=void 0===w?"surface":w;return e.jsx(n,p({ref:i,value:j,className:m(c({size:x}),l(b,O,!0,"data-[state=on]:"),f)},v,{children:a.map(g,(function(e){return r.cloneElement(e,{className:d[null!=x?x:"medium"]})}))}))}));f.displayName="ToggleGroup.Item";export{d as IconScaling,f as ToggleGroupItem,c as toggleGroupItemVariants};
|
2
2
|
//# sourceMappingURL=ToggleGroupItem.mjs.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import{j as r}from"
|
1
|
+
import{j as r}from"../../_virtual/jsx-runtime.mjs";import{createContext as e,forwardRef as o}from"react";import{Root as a}from"../../node_modules/@radix-ui/react-toggle-group/dist/index.mjs";import{cva as t}from"../../node_modules/class-variance-authority/dist/index.mjs";import{scalingVariants as n}from"../../constants.mjs";import{cn as i}from"../../utils/utils.mjs";var s=function(){return s=Object.assign||function(r){for(var e,o=1,a=arguments.length;o<a;o++)for(var t in e=arguments[o])Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r},s.apply(this,arguments)},l=function(r,e){var o={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&e.indexOf(a)<0&&(o[a]=r[a]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var t=0;for(a=Object.getOwnPropertySymbols(r);t<a.length;t++)e.indexOf(a[t])<0&&Object.prototype.propertyIsEnumerable.call(r,a[t])&&(o[a[t]]=r[a[t]])}return o},c=t("inline-flex",{variants:{scaling:s({},n)},defaultVariants:{scaling:"100%"}}),p=e({size:"medium",color:"red",appearance:"surface"}),m=o((function(e,o){var t=e.className,n=e.children,m=e.scaling,u=e.size,f=e.color,d=e.appearance,g=l(e,["className","children","scaling","size","color","appearance"]),j=(s({},g).type,{size:u,color:f,appearance:d});return r.jsx(p.Provider,{value:j,children:r.jsx(a,s({className:i(c({scaling:m}),t)},g,{ref:o,children:n}))})}));m.displayName="ToggleGroup.Root";export{p as ToggleGroupContext,m as ToggleGroupRoot};
|
2
2
|
//# sourceMappingURL=ToggleGroupRoot.mjs.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import{j as e}from"
|
1
|
+
import{j as e}from"../../_virtual/jsx-runtime.mjs";import a from"react";import{cva as r}from"../../node_modules/class-variance-authority/dist/index.mjs";import{cn as s}from"../../utils/utils.mjs";import{scalingVariants as t,radiusVariants as i}from"../../constants.mjs";import{Text as l}from"../../Typography/Text/index.mjs";import{Switch as o}from"../../node_modules/@radix-ui/themes/dist/esm/components/switch.mjs";import{Theme as n}from"../../node_modules/@radix-ui/themes/dist/esm/components/theme.mjs";var m=function(){return m=Object.assign||function(e){for(var a,r=1,s=arguments.length;r<s;r++)for(var t in a=arguments[r])Object.prototype.hasOwnProperty.call(a,t)&&(e[t]=a[t]);return e},m.apply(this,arguments)},c=function(e,a){var r={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&a.indexOf(s)<0&&(r[s]=e[s]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var t=0;for(s=Object.getOwnPropertySymbols(e);t<s.length;t++)a.indexOf(s[t])<0&&Object.prototype.propertyIsEnumerable.call(e,s[t])&&(r[s[t]]=e[s[t]])}return r},d=r("",{variants:{scaling:m({},t),radius:m({},i.base),size:{small:"w-[28px] h-[16px]",medium:"w-[35px] h-[20px]",large:"w-[42px] h-[24px]"}},defaultVariants:{radius:"full",size:"medium"}}),p=r("flex items-center justify-start text-slate-12 font-normal dark:text-white",{variants:{size:{small:"text-xs gap-2",medium:"text-sm gap-2",large:"text-base gap-3"},scaling:m({},t)},defaultVariants:{size:"medium",scaling:"100%"}}),u=a.forwardRef((function(a,r){var t=a.className,i=a.color,u=void 0===i?"red":i,f=a.scaling,x=a.size,h=a.appearance,g=void 0===h?"surface":h,j=a.radius;a.tabIndex;var y=a.children,v=c(a,["className","color","scaling","size","appearance","radius","tabIndex","children"]);"medium"!==j&&"large"!==j||(j="full");var b="2";return"small"===x&&(b="1"),"large"===x&&(b="3"),e.jsx(n,{className:"flex",accentColor:u,hasBackground:!1,children:e.jsxs(l,{as:"label",className:s("flex items-center",p({size:x,scaling:f})),children:[e.jsx(o,m({ref:r},v,{variant:g,radius:j,size:b,color:u,className:s(d({scaling:f,radius:j,size:x}),t),"aria-label":"Switch"})),y]})})}));u.displayName="ToggleSwitch";export{u as ToggleSwitch,u as default};
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import{j as e}from"
|
1
|
+
import{j as e}from"../../_virtual/jsx-runtime.mjs";import t from"react";import{Provider as a,Root as r,Trigger as n,Content as o,Arrow as s}from"../../node_modules/@radix-ui/react-tooltip/dist/index.mjs";import{cva as l}from"../../node_modules/class-variance-authority/dist/index.mjs";import{cn as i}from"../../utils/utils.mjs";import{weightVariants as d,radiusVariants as p,primaryColorStyle as c}from"../../constants.mjs";var m=function(){return m=Object.assign||function(e){for(var t,a=1,r=arguments.length;a<r;a++)for(var n in t=arguments[a])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},m.apply(this,arguments)},f=function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(a[r[n]]=e[r[n]])}return a},x=l("bg-slate-12 text-slate-1 dark:bg-slateDark-12 dark:text-slateDark-1 data-[state=delayed-open]:data-[side=top]:animate-slideDownAndFade data-[state=delayed-open]:data-[side=right]:animate-slideLeftAndFade data-[state=delayed-open]:data-[side=left]:animate-slideRightAndFade data-[state=delayed-open]:data-[side=bottom]:animate-slideUpAndFade select-none rounded-[4px] px-[9px] py-[6px] text-[12px] leading-none shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px] will-change-[transform,opacity]",{variants:{weight:m({},d),radius:m({},p["extra-large"]),color:c()}}),u=t.forwardRef((function(t,l){var d=t.content,p=t.weight,c=t.color,u=t.radius,h=t.children,g=t.defaultOpen,y=t.open,_=t.className,O=t.side,j=t.onOpenChange,w=f(t,["content","weight","color","radius","children","defaultOpen","open","className","side","onOpenChange"]);O||(O="top"),"full"===u&&(u="large");var b=c?"fill-".concat(c,"-9 dark:fill-").concat(c,"Dark-9"):"fill-slate-12 dark:fill-slateDark-12";return e.jsx(a,{children:e.jsxs(r,{open:y,defaultOpen:g,onOpenChange:j,children:[e.jsx(n,{className:"cursor-pointer text-slate-12 dark:text-slateDark-12",asChild:!0,children:h}),e.jsxs(o,m({align:"center"},w,{side:O,className:i("mr-2",x({weight:p,radius:u,color:c}),_),sideOffset:5,children:[d,e.jsx(s,{width:11,height:5,className:b})]}))]})})}));u.displayName="Tooltip";export{u as default};
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/lib/utils/utils.mjs
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import{clsx as o}from"
|
1
|
+
import{clsx as o}from"../../node_modules/clsx/dist/clsx.mjs";import{twMerge as e}from"../../node_modules/tailwind-merge/dist/bundle-mjs.mjs";function m(){for(var m=[],r=0;r<arguments.length;r++)m[r]=arguments[r];return e(o(m))}export{m as cn};
|
2
2
|
//# sourceMappingURL=utils.mjs.map
|