@lotte-innovate/ui-component-test 0.1.125 → 0.1.126

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. package/dist/globals.css +1 -1
  2. package/dist/lib/color/alpha.mjs.map +1 -1
  3. package/dist/lib/color/constants.mjs.map +1 -1
  4. package/dist/lib/color/light.mjs.map +1 -1
  5. package/dist/lib/components/AlertDialog/index.mjs.map +1 -1
  6. package/dist/lib/components/BarChart/index.mjs.map +1 -1
  7. package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs.map +1 -1
  8. package/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs.map +1 -1
  9. package/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs.map +1 -1
  10. package/dist/lib/components/Breadcrumb/BreadcrumbList.mjs.map +1 -1
  11. package/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs.map +1 -1
  12. package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs.map +1 -1
  13. package/dist/lib/components/Breadcrumb/index.mjs.map +1 -1
  14. package/dist/lib/components/BubbleChart/index.mjs.map +1 -1
  15. package/dist/lib/components/Callout/index.mjs.map +1 -1
  16. package/dist/lib/components/CheckboxGroup/index.mjs.map +1 -1
  17. package/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +1 -1
  18. package/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +1 -1
  19. package/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +1 -1
  20. package/dist/lib/components/ContextMenu/index.mjs.map +1 -1
  21. package/dist/lib/components/DataList/index.mjs.map +1 -1
  22. package/dist/lib/components/Dialog/DialogTrigger.mjs.map +1 -1
  23. package/dist/lib/components/Dialog/index.mjs.map +1 -1
  24. package/dist/lib/components/DoughnutChart/index.mjs.map +1 -1
  25. package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +1 -1
  26. package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +1 -1
  27. package/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +1 -1
  28. package/dist/lib/components/DropdownMenu/index.mjs.map +1 -1
  29. package/dist/lib/components/Editor/index.d.ts +14 -14
  30. package/dist/lib/components/Editor/index.js +15 -15
  31. package/dist/lib/components/Gnb/GnbLogo.js +0 -1
  32. package/dist/lib/components/Gnb/GnbLogo.mjs +0 -1
  33. package/dist/lib/components/Gnb/GnbLogo.mjs.map +1 -1
  34. package/dist/lib/components/Gnb/index.mjs.map +1 -1
  35. package/dist/lib/components/Grid/Pagination.mjs.map +1 -1
  36. package/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +1 -1
  37. package/dist/lib/components/HoverCard/index.mjs.map +1 -1
  38. package/dist/lib/components/Label/index.d.ts +2 -0
  39. package/dist/lib/components/Label/index.js +3 -3
  40. package/dist/lib/components/Label/index.mjs +1 -1
  41. package/dist/lib/components/LineChart/index.mjs.map +1 -1
  42. package/dist/lib/components/Menubar/MenubarMenu.mjs.map +1 -1
  43. package/dist/lib/components/Menubar/MenubarSeparator.mjs.map +1 -1
  44. package/dist/lib/components/Menubar/MenubarSub.mjs.map +1 -1
  45. package/dist/lib/components/Menubar/index.mjs.map +1 -1
  46. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +1 -1
  47. package/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +1 -1
  48. package/dist/lib/components/NavigationMenu/index.mjs.map +1 -1
  49. package/dist/lib/components/PieChart/index.mjs.map +1 -1
  50. package/dist/lib/components/Popover/PopoverTrigger.mjs.map +1 -1
  51. package/dist/lib/components/Popover/index.mjs.map +1 -1
  52. package/dist/lib/components/RadarChart/index.mjs.map +1 -1
  53. package/dist/lib/components/RadioCards/index.mjs.map +1 -1
  54. package/dist/lib/components/RadioGroup/index.mjs.map +1 -1
  55. package/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +1 -1
  56. package/dist/lib/components/SegmentedControl/index.mjs.map +1 -1
  57. package/dist/lib/components/SideBar/index.d.ts +21 -0
  58. package/dist/lib/components/SideBar/index.js +71 -0
  59. package/dist/lib/components/Toast/index.mjs.map +1 -1
  60. package/dist/lib/components/ToggleGroup/index.mjs.map +1 -1
  61. package/dist/lib/components/index.d.ts +0 -1
  62. package/dist/lib/components/index.js +0 -1
  63. package/dist/lib/constants.mjs.map +1 -1
  64. package/dist/lib/index.mjs +1 -1
  65. package/dist/lib/tailwind.config.d.ts +3 -0
  66. package/dist/lib/tsconfig.tsbuildinfo +1 -0
  67. package/dist/lib/utils/useWindowSize.d.ts +1 -0
  68. package/dist/lib/utils/useWindowSize.js +17 -0
  69. package/dist/lib/utils/utils.mjs.map +1 -1
  70. package/dist/tsconfig.tsbuildinfo +1 -1
  71. package/package.json +3 -3
  72. package/dist/lib/components/Editor/index copy.d.ts +0 -26
  73. package/dist/lib/components/Editor/index copy.js +0 -120
  74. package/dist/lib/components/Editor/index.mjs +0 -3
  75. package/dist/lib/components/Editor/index.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../lib/components/RadarChart/index.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { cva } from 'class-variance-authority';\nimport { scalingVariants } from '../../../lib/constants';\nimport { Radar } from 'react-chartjs-2';\nimport { cn } from '../../../lib/utils/utils';\nimport { Chart as ChartJS, registerables } from 'chart.js';\nimport { chartColorList, chartAlphaColorList } from '../../../lib/color/constants';\nimport { useDarkMode } from '../../../lib/utils/useDarkMode';\nimport ChartDataLabels from 'chartjs-plugin-datalabels';\nChartJS.register.apply(ChartJS, __spreadArray(__spreadArray([], registerables, false), [ChartDataLabels], false));\nChartJS.defaults.set('plugins.datalabels', {\n display: false,\n});\nvar radarChartVariants = cva('', {\n variants: {\n scaling: __assign({}, scalingVariants),\n },\n defaultVariants: {\n scaling: '100%',\n },\n});\nexport var RadarChart = function (_a) {\n var className = _a.className, title = _a.title, legend = _a.legend, datalabels = _a.datalabels, datasets = _a.datasets, labels = _a.labels, width = _a.width, height = _a.height, scaling = _a.scaling, _b = _a.appearance, appearance = _b === void 0 ? 'solid' : _b, _c = _a.isColorMixed, isColorMixed = _c === void 0 ? true : _c, props = __rest(_a, [\"className\", \"title\", \"legend\", \"datalabels\", \"datasets\", \"labels\", \"width\", \"height\", \"scaling\", \"appearance\", \"isColorMixed\"]);\n var _d = useDarkMode(true), defaultScales = _d[1];\n var getChartColor = function (isColorMixed, appearance) {\n if (appearance === 'solid') {\n return isColorMixed ? chartColorList.mixed : chartColorList.sorting;\n }\n if (appearance === 'soft') {\n return isColorMixed ? chartAlphaColorList.mixed : chartAlphaColorList.sorting;\n }\n };\n datasets.forEach(function (dataset, index) {\n var ChartColor = getChartColor(isColorMixed, appearance);\n var BorderColor = getChartColor(isColorMixed, 'solid');\n if (!ChartColor || !BorderColor)\n return;\n dataset.backgroundColor = ChartColor[index];\n dataset.borderColor = BorderColor[index];\n });\n return (_jsx(Radar, __assign({ data: { labels: labels, datasets: datasets }, options: {\n plugins: {\n title: title,\n legend: legend,\n datalabels: datalabels,\n },\n scales: __assign({ r: {\n suggestedMin: 50,\n suggestedMax: 100,\n } }, defaultScales.linescale),\n }, className: cn(radarChartVariants({ scaling: scaling }), className), width: width, height: height }, props)));\n};\nRadarChart.displayName = 'RadarChart';\nexport default RadarChart;\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","__spreadArray","to","from","pack","ar","l","Array","slice","concat","ChartJS","register","registerables","ChartDataLabels","defaults","set","display","radarChartVariants","cva","variants","scaling","scalingVariants","defaultVariants","RadarChart","_a","className","title","legend","datalabels","datasets","labels","width","height","_b","appearance","_c","isColorMixed","props","defaultScales","useDarkMode","getChartColor","chartColorList","mixed","sorting","chartAlphaColorList","forEach","dataset","index","ChartColor","BorderColor","backgroundColor","borderColor","_jsx","Radar","data","options","plugins","scales","r","suggestedMin","suggestedMax","linescale","cn","displayName"],"mappings":"2cAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAA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GAAY,GAA0B,GAC3CC,EAAgB,SAAUJ,EAAcF,GACxC,MAAmB,UAAfA,EACOE,EAAeK,EAAeC,MAAQD,EAAeE,QAE7C,SAAfT,EACOE,EAAeQ,EAAoBF,MAAQE,EAAoBD,aAD1E,CAGR,EASI,OARAd,EAASgB,SAAQ,SAAUC,EAASC,GAChC,IAAIC,EAAaR,EAAcJ,EAAcF,GACzCe,EAAcT,EAAcJ,EAAc,SACzCY,GAAeC,IAEpBH,EAAQI,gBAAkBF,EAAWD,GACrCD,EAAQK,YAAcF,EAAYF,GAC1C,IACYK,EAAKC,EAAOxE,EAAS,CAAEyE,KAAM,CAAExB,OAAQA,EAAQD,SAAUA,GAAY0B,QAAS,CAC9EC,QAAS,CACL9B,MAAOA,EACPC,OAAQA,EACRC,WAAYA,GAEhB6B,OAAQ5E,EAAS,CAAE6E,EAAG,CACdC,aAAc,GACdC,aAAc,MACbtB,EAAcuB,YACxBpC,UAAWqC,EAAG7C,EAAmB,CAAEG,QAASA,IAAYK,GAAYM,MAAOA,EAAOC,OAAQA,GAAUK,GAC/G,EACAd,EAAWwC,YAAc"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../lib/components/RadarChart/index.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { cva } from 'class-variance-authority';\nimport { scalingVariants } from '../../../lib/constants';\nimport { Radar } from 'react-chartjs-2';\nimport { cn } from '../../../lib/utils/utils';\nimport { Chart as ChartJS, registerables } from 'chart.js';\nimport { chartColorList, chartAlphaColorList } from '../../../lib/color/constants';\nimport { useDarkMode } from '../../../lib/utils/useDarkMode';\nimport ChartDataLabels from 'chartjs-plugin-datalabels';\nChartJS.register.apply(ChartJS, __spreadArray(__spreadArray([], registerables, false), [ChartDataLabels], false));\nChartJS.defaults.set('plugins.datalabels', {\n display: false,\n});\nvar radarChartVariants = cva('', {\n variants: {\n scaling: __assign({}, scalingVariants),\n },\n defaultVariants: {\n scaling: '100%',\n },\n});\nexport var RadarChart = function (_a) {\n var className = _a.className, title = _a.title, legend = _a.legend, datalabels = _a.datalabels, datasets = _a.datasets, labels = _a.labels, width = _a.width, height = _a.height, scaling = _a.scaling, _b = _a.appearance, appearance = _b === void 0 ? 'solid' : _b, _c = _a.isColorMixed, isColorMixed = _c === void 0 ? true : _c, props = __rest(_a, [\"className\", \"title\", \"legend\", \"datalabels\", \"datasets\", \"labels\", \"width\", \"height\", \"scaling\", \"appearance\", \"isColorMixed\"]);\n var _d = useDarkMode(true), defaultScales = _d[1];\n var getChartColor = function (isColorMixed, appearance) {\n if (appearance === 'solid') {\n return isColorMixed ? chartColorList.mixed : chartColorList.sorting;\n }\n if (appearance === 'soft') {\n return isColorMixed ? chartAlphaColorList.mixed : chartAlphaColorList.sorting;\n }\n };\n datasets.forEach(function (dataset, index) {\n var ChartColor = getChartColor(isColorMixed, appearance);\n var BorderColor = getChartColor(isColorMixed, 'solid');\n if (!ChartColor || !BorderColor)\n return;\n dataset.backgroundColor = ChartColor[index];\n dataset.borderColor = BorderColor[index];\n });\n return (_jsx(Radar, __assign({ data: { labels: labels, datasets: datasets }, options: {\n plugins: {\n title: title,\n legend: legend,\n datalabels: datalabels,\n },\n scales: __assign({ r: {\n suggestedMin: 50,\n suggestedMax: 100,\n } }, defaultScales.linescale),\n }, className: cn(radarChartVariants({ scaling: scaling }), className), width: width, height: height }, props)));\n};\nRadarChart.displayName = 'RadarChart';\nexport default RadarChart;\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","__spreadArray","to","from","pack","ar","l","Array","slice","concat","ChartJS","register","registerables","ChartDataLabels","defaults","set","display","radarChartVariants","cva","variants","scaling","scalingVariants","defaultVariants","RadarChart","_a","className","title","legend","datalabels","datasets","labels","width","height","_b","appearance","_c","isColorMixed","props","defaultScales","useDarkMode","getChartColor","chartColorList","mixed","sorting","chartAlphaColorList","forEach","dataset","index","ChartColor","BorderColor","backgroundColor","borderColor","_jsx","Radar","data","options","plugins","scales","r","suggestedMin","suggestedMax","linescale","cn","displayName"],"mappings":"2cAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GA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EAAO4B,EAAI,CAAC,YAAa,QAAS,SAAU,aAAc,WAAY,SAAU,QAAS,SAAU,UAAW,aAAc,iBAC/ac,EAAnBC,GAAY,GAA0B,GAC3CC,EAAgB,SAAUJ,EAAcF,GACxC,MAAmB,UAAfA,EACOE,EAAeK,EAAeC,MAAQD,EAAeE,QAE7C,SAAfT,EACOE,EAAeQ,EAAoBF,MAAQE,EAAoBD,aAD1E,CAGR,EASI,OARAd,EAASgB,SAAQ,SAAUC,EAASC,GAChC,IAAIC,EAAaR,EAAcJ,EAAcF,GACzCe,EAAcT,EAAcJ,EAAc,SACzCY,GAAeC,IAEpBH,EAAQI,gBAAkBF,EAAWD,GACrCD,EAAQK,YAAcF,EAAYF,GAC1C,IACYK,EAAKC,EAAOxE,EAAS,CAAEyE,KAAM,CAAExB,OAAQA,EAAQD,SAAUA,GAAY0B,QAAS,CAC9EC,QAAS,CACL9B,MAAOA,EACPC,OAAQA,EACRC,WAAYA,GAEhB6B,OAAQ5E,EAAS,CAAE6E,EAAG,CACdC,aAAc,GACdC,aAAc,MACbtB,EAAcuB,YACxBpC,UAAWqC,EAAG7C,EAAmB,CAAEG,QAASA,IAAYK,GAAYM,MAAOA,EAAOC,OAAQA,GAAUK,GAC/G,EACAd,EAAWwC,YAAc"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../lib/components/RadioCards/index.js"],"sourcesContent":["import { RadioCardsRoot } from './RadioCardsRoot';\nimport { RadioCardsItem } from './RadioCardsItem';\nvar RadioCards = {\n Root: RadioCardsRoot,\n Item: RadioCardsItem,\n};\nexport default RadioCards;\n"],"names":["RadioCards","Root","RadioCardsRoot","Item","RadioCardsItem"],"mappings":"4GAEG,IAACA,EAAa,CACbC,KAAMC,EACNC,KAAMC"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../lib/components/RadioCards/index.js"],"sourcesContent":["import { RadioCardsRoot } from './RadioCardsRoot';\nimport { RadioCardsItem } from './RadioCardsItem';\nvar RadioCards = {\n Root: RadioCardsRoot,\n Item: RadioCardsItem,\n};\nexport default RadioCards;\n"],"names":["RadioCards","Root","RadioCardsRoot","Item","RadioCardsItem"],"mappings":"4GAEG,IAACA,EAAa,CACbC,KAAMC,EACNC,KAAMC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../lib/components/RadioGroup/index.js"],"sourcesContent":["import { RadioGroupRoot } from './RadioGroupRoot';\nimport { RadioGroupItem } from './RadioGroupItem';\nvar RadioGroup = {\n Root: RadioGroupRoot,\n Item: RadioGroupItem,\n};\nexport default RadioGroup;\n"],"names":["RadioGroup","Root","RadioGroupRoot","Item","RadioGroupItem"],"mappings":"4GAEG,IAACA,EAAa,CACbC,KAAMC,EACNC,KAAMC"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../lib/components/RadioGroup/index.js"],"sourcesContent":["import { RadioGroupRoot } from './RadioGroupRoot';\nimport { RadioGroupItem } from './RadioGroupItem';\nvar RadioGroup = {\n Root: RadioGroupRoot,\n Item: RadioGroupItem,\n};\nexport default RadioGroup;\n"],"names":["RadioGroup","Root","RadioGroupRoot","Item","RadioGroupItem"],"mappings":"4GAEG,IAACA,EAAa,CACbC,KAAMC,EACNC,KAAMC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SegmentedControlItem.mjs","sources":["../../../../../lib/components/SegmentedControl/SegmentedControlItem.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport { SegmentedControl as SegmentedControlTheme } from '@radix-ui/themes';\nimport { cn } from '../../../lib/utils/utils';\nexport var SegmentedControlItem = forwardRef(function (_a, ref) {\n var children = _a.children, className = _a.className, appearance = _a.appearance, props = __rest(_a, [\"children\", \"className\", \"appearance\"]);\n var appearanceClassName = '';\n if (appearance === 'classic') {\n appearanceClassName = 'dark:data-[state=on]:shadow-segmented-control-dark-classic';\n }\n return (_jsx(SegmentedControlTheme.Item, __assign({ ref: ref, className: cn(appearanceClassName, className) }, props, { children: children })));\n});\nSegmentedControlItem.displayName = 'SegmentedControl.Item';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","SegmentedControlItem","forwardRef","_a","ref","children","className","appearance","props","appearanceClassName","_jsx","SegmentedControlTheme","Item","cn","displayName"],"mappings":"0KAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAKWiB,EAAuBC,GAAW,SAAUC,EAAIC,GACvD,IAAIC,EAAWF,EAAGE,SAAUC,EAAYH,EAAGG,UAAWC,EAAaJ,EAAGI,WAAYC,EAAQZ,EAAOO,EAAI,CAAC,WAAY,YAAa,eAC3HM,EAAsB,GAI1B,MAHmB,YAAfF,IACAE,EAAsB,8DAElBC,EAAKC,EAAsBC,KAAM/B,EAAS,CAAEuB,IAAKA,EAAKE,UAAWO,EAAGJ,EAAqBH,IAAcE,EAAO,CAAEH,SAAUA,IACtI,IACAJ,EAAqBa,YAAc"}
1
+ {"version":3,"file":"SegmentedControlItem.mjs","sources":["../../../lib/components/SegmentedControl/SegmentedControlItem.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport { SegmentedControl as SegmentedControlTheme } from '@radix-ui/themes';\nimport { cn } from '../../../lib/utils/utils';\nexport var SegmentedControlItem = forwardRef(function (_a, ref) {\n var children = _a.children, className = _a.className, appearance = _a.appearance, props = __rest(_a, [\"children\", \"className\", \"appearance\"]);\n var appearanceClassName = '';\n if (appearance === 'classic') {\n appearanceClassName = 'dark:data-[state=on]:shadow-segmented-control-dark-classic';\n }\n return (_jsx(SegmentedControlTheme.Item, __assign({ ref: ref, className: cn(appearanceClassName, className) }, props, { children: children })));\n});\nSegmentedControlItem.displayName = 'SegmentedControl.Item';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","SegmentedControlItem","forwardRef","_a","ref","children","className","appearance","props","appearanceClassName","_jsx","SegmentedControlTheme","Item","cn","displayName"],"mappings":"0KAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAKWiB,EAAuBC,GAAW,SAAUC,EAAIC,GACvD,IAAIC,EAAWF,EAAGE,SAAUC,EAAYH,EAAGG,UAAWC,EAAaJ,EAAGI,WAAYC,EAAQZ,EAAOO,EAAI,CAAC,WAAY,YAAa,eAC3HM,EAAsB,GAI1B,MAHmB,YAAfF,IACAE,EAAsB,8DAElBC,EAAKC,EAAsBC,KAAM/B,EAAS,CAAEuB,IAAKA,EAAKE,UAAWO,EAAGJ,EAAqBH,IAAcE,EAAO,CAAEH,SAAUA,IACtI,IACAJ,EAAqBa,YAAc"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../lib/components/SegmentedControl/index.js"],"sourcesContent":["import { SegmentedControlRoot } from './SegmentedControlRoot';\nimport { SegmentedControlItem } from './SegmentedControlItem';\nvar SegmentedControl = {\n Root: SegmentedControlRoot,\n Item: SegmentedControlItem,\n};\nexport default SegmentedControl;\n"],"names":["SegmentedControl","Root","SegmentedControlRoot","Item","SegmentedControlItem"],"mappings":"oIAEG,IAACA,EAAmB,CACnBC,KAAMC,EACNC,KAAMC"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../lib/components/SegmentedControl/index.js"],"sourcesContent":["import { SegmentedControlRoot } from './SegmentedControlRoot';\nimport { SegmentedControlItem } from './SegmentedControlItem';\nvar SegmentedControl = {\n Root: SegmentedControlRoot,\n Item: SegmentedControlItem,\n};\nexport default SegmentedControl;\n"],"names":["SegmentedControl","Root","SegmentedControlRoot","Item","SegmentedControlItem"],"mappings":"oIAEG,IAACA,EAAmB,CACnBC,KAAMC,EACNC,KAAMC"}
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import { VariantProps } from 'class-variance-authority';
3
+ import * as ReactProSidebar from 'react-pro-sidebar';
4
+ export interface SidebarProps extends VariantProps<typeof sidebarVariants> {
5
+ size?: 'small' | 'medium' | 'large' | 'fill-large';
6
+ }
7
+ declare const sidebarVariants: (props?: ({
8
+ scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
9
+ color?: string | null | undefined;
10
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
11
+ export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<ReactProSidebar.SidebarProps & React.RefAttributes<HTMLHtmlElement>, "ref">, "size"> & SidebarProps & React.RefAttributes<HTMLHtmlElement>>;
12
+ export declare const Menu: React.ForwardRefExoticComponent<Omit<Omit<ReactProSidebar.MenuProps & React.RefAttributes<HTMLMenuElement>, "ref">, "size"> & SidebarProps & React.RefAttributes<HTMLMenuElement>>;
13
+ export declare const Item: React.ForwardRefExoticComponent<Omit<Omit<ReactProSidebar.MenuItemProps & React.RefAttributes<HTMLLIElement>, "ref">, "size"> & SidebarProps & React.RefAttributes<HTMLLIElement>>;
14
+ export declare const SubMenu: React.ForwardRefExoticComponent<Omit<Omit<ReactProSidebar.SubMenuProps & React.RefAttributes<HTMLLIElement>, "ref">, "size"> & SidebarProps & React.RefAttributes<HTMLLIElement>>;
15
+ declare const Sidebar: {
16
+ Root: React.ForwardRefExoticComponent<Omit<Omit<ReactProSidebar.SidebarProps & React.RefAttributes<HTMLHtmlElement>, "ref">, "size"> & SidebarProps & React.RefAttributes<HTMLHtmlElement>>;
17
+ Menu: React.ForwardRefExoticComponent<Omit<Omit<ReactProSidebar.MenuProps & React.RefAttributes<HTMLMenuElement>, "ref">, "size"> & SidebarProps & React.RefAttributes<HTMLMenuElement>>;
18
+ Item: React.ForwardRefExoticComponent<Omit<Omit<ReactProSidebar.MenuItemProps & React.RefAttributes<HTMLLIElement>, "ref">, "size"> & SidebarProps & React.RefAttributes<HTMLLIElement>>;
19
+ SubMenu: React.ForwardRefExoticComponent<Omit<Omit<ReactProSidebar.SubMenuProps & React.RefAttributes<HTMLLIElement>, "ref">, "size"> & SidebarProps & React.RefAttributes<HTMLLIElement>>;
20
+ };
21
+ export default Sidebar;
@@ -0,0 +1,71 @@
1
+ 'use client';
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __rest = (this && this.__rest) || function (s, e) {
14
+ var t = {};
15
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
16
+ t[p] = s[p];
17
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
18
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
19
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
20
+ t[p[i]] = s[p[i]];
21
+ }
22
+ return t;
23
+ };
24
+ import { jsx as _jsx } from "react/jsx-runtime";
25
+ import React from 'react';
26
+ import { cva } from 'class-variance-authority';
27
+ import { cn } from '../../../lib/utils/utils';
28
+ import { bgColorStyle, scalingVariants } from '../../../lib/constants';
29
+ import { useTheme } from '../../../lib/theme';
30
+ import * as ReactProSidebar from 'react-pro-sidebar';
31
+ import { useWindowSize } from '../../../lib/utils/useWindowSize';
32
+ var sidebarVariants = cva('', {
33
+ variants: {
34
+ scaling: __assign({}, scalingVariants),
35
+ color: bgColorStyle(),
36
+ },
37
+ });
38
+ export var Root = React.forwardRef(function (_a, forwardedRef) {
39
+ var _b;
40
+ var scaling = _a.scaling, size = _a.size, color = _a.color, className = _a.className, children = _a.children, props = __rest(_a, ["scaling", "size", "color", "className", "children"]);
41
+ var theme = useTheme().theme;
42
+ var windowSize = useWindowSize();
43
+ var sidebarStyle = {
44
+ scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
45
+ color: (_b = color !== null && color !== void 0 ? color : theme.themeColor) !== null && _b !== void 0 ? _b : 'slate',
46
+ };
47
+ return (_jsx(ReactProSidebar.Sidebar, __assign({ className: cn("bg-".concat(sidebarStyle.color, "A-6 dark:bg-").concat(sidebarStyle.color, "DarkA-6"), sidebarVariants({ scaling: sidebarStyle.scaling }), className) }, props, { collapsed: props.collapsed === undefined ? windowSize <= 250 : props.collapsed, children: children })));
48
+ });
49
+ Root.displayName = 'Sidebar.Root';
50
+ export var Menu = React.forwardRef(function (_a, forwardedRef) {
51
+ var scaling = _a.scaling, size = _a.size, color = _a.color, className = _a.className, children = _a.children, props = __rest(_a, ["scaling", "size", "color", "className", "children"]);
52
+ return _jsx(ReactProSidebar.Menu, __assign({}, props, { children: children }));
53
+ });
54
+ Menu.displayName = 'Sidebar.Menu';
55
+ export var Item = React.forwardRef(function (_a, forwardedRef) {
56
+ var scaling = _a.scaling, size = _a.size, color = _a.color, className = _a.className, children = _a.children, props = __rest(_a, ["scaling", "size", "color", "className", "children"]);
57
+ return _jsx(ReactProSidebar.MenuItem, __assign({}, props, { children: children }));
58
+ });
59
+ Item.displayName = 'Sidebar.Item';
60
+ export var SubMenu = React.forwardRef(function (_a, forwardedRef) {
61
+ var scaling = _a.scaling, size = _a.size, color = _a.color, className = _a.className, children = _a.children, props = __rest(_a, ["scaling", "size", "color", "className", "children"]);
62
+ return _jsx(ReactProSidebar.SubMenu, __assign({}, props, { children: children }));
63
+ });
64
+ SubMenu.displayName = 'Sidebar.SubMenu';
65
+ var Sidebar = {
66
+ Root: Root,
67
+ Menu: Menu,
68
+ Item: Item,
69
+ SubMenu: SubMenu,
70
+ };
71
+ export default Sidebar;
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../lib/components/Toast/index.js"],"sourcesContent":["import { ToastRoot as Root } from './ToastRoot';\nimport { ToastTitle as Title } from './ToastTitle';\nimport { ToastDescription as Description } from './ToastDescription';\nimport { ToastActionButton as ActionButton } from './ToastActionButton';\nvar Toast = {\n Root: Root,\n Title: Title,\n Description: Description,\n ActionButton: ActionButton,\n};\nexport default Toast;\n"],"names":["Toast","Root","Title","Description","ActionButton"],"mappings":"gNAIG,IAACA,EAAQ,CACRC,KAAMA,EACNC,MAAOA,EACPC,YAAaA,EACbC,aAAcA"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../lib/components/Toast/index.js"],"sourcesContent":["import { ToastRoot as Root } from './ToastRoot';\nimport { ToastTitle as Title } from './ToastTitle';\nimport { ToastDescription as Description } from './ToastDescription';\nimport { ToastActionButton as ActionButton } from './ToastActionButton';\nvar Toast = {\n Root: Root,\n Title: Title,\n Description: Description,\n ActionButton: ActionButton,\n};\nexport default Toast;\n"],"names":["Toast","Root","Title","Description","ActionButton"],"mappings":"gNAIG,IAACA,EAAQ,CACRC,KAAMA,EACNC,MAAOA,EACPC,YAAaA,EACbC,aAAcA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../lib/components/ToggleGroup/index.js"],"sourcesContent":["import { ToggleGroupRoot } from './ToggleGroupRoot';\nimport { ToggleGroupItem } from './ToggleGroupItem';\nvar ToggleGroup = {\n Root: ToggleGroupRoot,\n Item: ToggleGroupItem,\n};\nexport default ToggleGroup;\n"],"names":["ToggleGroup","Root","ToggleGroupRoot","Item","ToggleGroupItem"],"mappings":"gHAEG,IAACA,EAAc,CACdC,KAAMC,EACNC,KAAMC"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../lib/components/ToggleGroup/index.js"],"sourcesContent":["import { ToggleGroupRoot } from './ToggleGroupRoot';\nimport { ToggleGroupItem } from './ToggleGroupItem';\nvar ToggleGroup = {\n Root: ToggleGroupRoot,\n Item: ToggleGroupItem,\n};\nexport default ToggleGroup;\n"],"names":["ToggleGroup","Root","ToggleGroupRoot","Item","ToggleGroupItem"],"mappings":"gHAEG,IAACA,EAAc,CACdC,KAAMC,EACNC,KAAMC"}
@@ -15,7 +15,6 @@ export { default as Collapsible } from './Collapsible';
15
15
  export { default as DataList } from './DataList';
16
16
  export { default as Dialog } from './Dialog';
17
17
  export { default as DropdownMenu } from './DropdownMenu';
18
- export { default as Editor } from './Editor';
19
18
  export { default as Footer } from './Footer';
20
19
  export { default as Gnb } from './Gnb';
21
20
  export { default as HoverCard } from './HoverCard';
@@ -16,7 +16,6 @@ export { default as Collapsible } from './Collapsible';
16
16
  export { default as DataList } from './DataList';
17
17
  export { default as Dialog } from './Dialog';
18
18
  export { default as DropdownMenu } from './DropdownMenu';
19
- export { default as Editor } from './Editor';
20
19
  export { default as Footer } from './Footer';
21
20
  export { default as Gnb } from './Gnb';
22
21
  export { default as HoverCard } from './HoverCard';
@@ -1 +1 @@
1
- {"version":3,"file":"constants.mjs","sources":["../../../lib/constants.js"],"sourcesContent":["import { ColorStyle, DarkColorStyle, MAIN_COLOR, colorOptions } from '../lib/color/constants';\nexport var radiusOptions = ['none', 'small', 'medium', 'large', 'full'];\nexport var typoSizeOptions = ['1', '2', '3', '4', '5', '6', '7', '8', '9'];\nexport var scalingOptions = ['90%', '95%', '100%', '105%', '110%'];\nexport var sizeOptions = ['x-small', 'small', 'medium', 'large', 'x-large'];\nexport var weightOptions = ['regular', 'medium', 'semibold', 'bold'];\nexport var themeOptions = ['light', 'dark'];\nexport var appearanceOptions = [\n 'classic',\n 'ghost',\n 'outline',\n 'soft',\n 'solid',\n 'surface',\n];\n//차트\nexport var labelPositionList = ['top', 'bottom', 'left', 'right'];\nexport var pointStyleList = [\n 'circle',\n 'cross',\n 'crossRot',\n 'dash',\n 'line',\n 'rect',\n 'rectRounded',\n 'rectRot',\n 'star',\n 'triangle',\n false,\n];\nexport var radiusVariants = {\n // 체크박스\n small: {\n none: 'rounded-none',\n small: 'rounded-[3px]',\n medium: 'rounded',\n large: 'rounded',\n full: 'rounded',\n },\n // 라디오버튼, 스위치, 태그, 배지, 버튼, 텍스트인풋, 텍스트영역, 페이지네이션\n base: {\n none: 'rounded-none',\n small: 'rounded-[3px]',\n medium: 'rounded', // 4px\n large: 'rounded-md', // 6px\n full: 'rounded-full',\n },\n // 배너\n large: {\n none: 'rounded-none',\n small: 'rounded',\n medium: 'rounded-lg', // 8px\n large: 'rounded-xl', // 12px\n full: 'rounded-2xl', // 16px\n },\n // 다이얼로그, 바텀시트, 그리드, 카드\n 'extra-large': {\n none: 'rounded-none',\n small: 'rounded',\n medium: 'rounded-lg',\n large: 'rounded-xl',\n full: 'rounded-xl',\n },\n // Dropdown, Context Menu 아이템\n 'menu-item': {\n none: 'rounded-none',\n small: 'rounded-[1px]',\n medium: 'rounded-sm',\n large: 'rounded',\n full: 'rounded',\n },\n};\nexport var weightVariants = {\n regular: 'font-normal', // 400\n medium: 'font-medium', // 500\n semibold: 'font-semibold', // 600\n bold: 'font-bold', // 700\n};\nexport var scalingVariants = {\n '90%': 'scale-90',\n '95%': 'scale-95',\n '100%': 'scale-100',\n '105%': 'scale-105',\n '110%': 'scale-110',\n};\n// 스토리북 공통 argTypes 설정\nexport var commonArgTypes = {\n typoSize: {\n table: {\n category: 'Theme Props',\n type: { summary: '1 ~ 9' },\n },\n control: { type: 'select' },\n options: typoSizeOptions,\n defaultValue: { summary: '3' },\n },\n scaling: {\n table: {\n category: 'Theme Props',\n type: { summary: scalingOptions.join(' | ') },\n },\n control: { type: 'select' },\n options: scalingOptions,\n defaultValue: { summary: '100%' },\n },\n weight: {\n table: {\n category: 'Theme Props',\n type: { summary: weightOptions.join(' | ') },\n },\n options: weightOptions,\n control: { type: 'select' },\n defaultValue: { summary: 'medium' },\n },\n radius: {\n table: {\n category: 'Theme Props',\n type: { summary: radiusOptions.join(' | ') },\n },\n options: radiusOptions,\n control: { type: 'select' },\n defaultValue: { summary: 'medium' },\n },\n color: {\n table: {\n category: 'Theme Props',\n type: { summary: 'colorVariants' },\n },\n options: colorOptions,\n control: { type: 'select' },\n defaultValue: { summary: 'red' },\n },\n basicText: {\n table: {\n category: 'Props',\n type: { summary: 'string' },\n },\n control: 'text',\n },\n appearance: {\n table: {\n category: 'Props',\n type: { summary: appearanceOptions.join(' | ') },\n },\n options: appearanceOptions,\n control: { type: 'select' },\n defaultValue: { summary: 'solid' },\n },\n size: {\n table: {\n category: 'Props',\n type: { summary: sizeOptions.join(' | ') },\n },\n control: { type: 'select' },\n options: sizeOptions,\n defaultValue: { summary: 'medium' },\n },\n isColorMixed: {\n table: {\n category: 'Props',\n type: { summary: 'boolean' },\n },\n description: \"- \\uCC28\\uD2B8 \\uAE30\\uBCF8 \\uC0C9\\uC0C1 \\uC2A4\\uD0C0\\uC77C \\n - true\\uC778 \\uACBD\\uC6B0 \\uC0C9\\uC0C1\\uC774 \\uAD50\\uCC28\\uB428, false\\uC778 \\uACBD\\uC6B0 \\uC0C9\\uC0C1 \\uC21C\\uCC28\\uC801\\uC73C\\uB85C \\uC0AC\\uC6A9\",\n control: 'readonly',\n defaultValue: { summary: 'true' },\n },\n chartAppearance: {\n table: {\n category: 'Props',\n type: { summary: 'solid | soft' },\n },\n options: ['solid', 'soft'],\n control: 'readonly',\n defaultValue: { summary: 'solid' },\n description: \"- \\uCC28\\uD2B8 \\uAE30\\uBCF8 \\uC0C9\\uC0C1 \\uC2A4\\uD0C0\\uC77C \\n - \\uBC30\\uACBD\\uC0C9\\uACFC \\uD14C\\uB450\\uB9AC\\uC0C9 \\uAE30\\uBCF8 \\uC2A4\\uD0C0\\uC77C\\uC744 \\uC9C0\\uC815\\uD574\\uC900\\uB2E4\",\n },\n datasets: {\n name: 'datasets',\n description: '차트에 사용할 데이터셋',\n table: {\n category: 'Props',\n type: { summary: 'object' },\n },\n },\n labels: {\n description: '차트 위에 표시될 라벨들',\n table: {\n category: 'Props',\n type: { summary: 'object' },\n },\n },\n};\nexport var chartTitleArgTypes = {\n title: {\n description: '차트 타이틀',\n table: {\n category: 'Props',\n type: { summary: 'object' },\n },\n },\n 'title.display': {\n description: '타이틀 표시 여부',\n table: {\n category: 'Title Props',\n type: { summary: 'boolean' },\n },\n control: { type: 'boolean', defaultValue: false },\n defaultValue: { summary: false },\n },\n 'title.text': {\n description: '타이틀 내용',\n table: {\n category: 'Title Props',\n type: { summary: 'string | string[]' },\n },\n control: { type: 'text' },\n defaultValue: { summary: '' },\n },\n 'title.position': {\n description: '타이틀 위치',\n table: {\n category: 'Title Props',\n type: { summary: 'top | right | bottom | left' },\n },\n control: { type: 'select' },\n options: ['top', 'right', 'bottom', 'left'],\n defaultValue: { summary: 'top' },\n },\n 'title.align': {\n description: '타이틀 정렬',\n table: {\n category: 'Title Props',\n type: { summary: 'start | center | end' },\n },\n control: { type: 'select' },\n options: ['start', 'center', 'end'],\n defaultValue: { summary: 'top' },\n },\n 'title.font.size': {\n description: '타이틀 폰트 크기',\n table: {\n category: 'Title Props',\n type: { summary: 'number' },\n },\n control: { type: 'text' },\n defaultValue: { summary: 12 },\n },\n};\nexport var chartLegendArgTypes = {\n legend: {\n description: '차트 범례',\n table: {\n category: 'Props',\n type: { summary: 'object' },\n },\n },\n 'legend.display': {\n description: '범례 표시 여부',\n table: {\n category: 'Legend Props',\n type: { summary: 'boolean' },\n },\n control: { type: 'boolean' },\n defaultValue: { summary: true },\n },\n 'legend.align': {\n description: '범례 정렬',\n table: {\n category: 'Legend Props',\n type: { summary: 'start | center | end' },\n },\n control: { type: 'select' },\n options: ['start', 'center', 'end'],\n defaultValue: { summary: 'center' },\n },\n 'legend.position': {\n description: '범례 위치',\n table: {\n category: 'Legend Props',\n type: { summary: 'top | right | bottom | left' },\n },\n control: { type: 'select' },\n options: ['top', 'right', 'bottom', 'left'],\n defaultValue: { summary: 'top' },\n },\n 'legend.maxHeight': {\n description: '범례 최대 높이(픽셀)',\n table: {\n category: 'Legend Props',\n type: { summary: 'number' },\n },\n control: { type: 'text' },\n defaultValue: { summary: 12 },\n },\n 'legend.maxWidth': {\n description: '범례 최대 길이(픽셀)',\n table: {\n category: 'Legend Props',\n type: { summary: 'number' },\n },\n control: { type: 'text' },\n defaultValue: { summary: 12 },\n },\n 'legend.title.display': {\n description: '범례 타이틀 표시 여부',\n table: {\n category: 'Legend Props',\n type: { summary: 'boolean' },\n },\n control: { type: 'boolean' },\n defaultValue: { summary: false },\n },\n 'legend.title.text': {\n description: '범례 타이틀 문구',\n table: {\n category: 'Legend Props',\n type: { summary: 'string' },\n },\n control: { type: 'text' },\n defaultValue: { summary: '' },\n },\n 'legend.labels.usePointStyle': {\n description: '범례 스타일 사용여부',\n table: {\n category: 'Legend Props',\n type: { summary: 'boolean' },\n },\n control: { type: 'boolean' },\n defaultValue: { summary: 'false' },\n },\n 'legend.labels.pointStyle': {\n description: \"- \\uB77C\\uBCA8 \\uD3EC\\uC778\\uD2B8 \\uC2A4\\uD0C0\\uC77C\\n - usePointStyle\\uAC00 true\\uC778 \\uACBD\\uC6B0 \\uC801\\uC6A9\",\n table: {\n category: 'Legend Props',\n type: { summary: pointStyleList.join(' | ') },\n },\n control: { type: 'select' },\n options: pointStyleList,\n defaultValue: { summary: 'false' },\n },\n};\nexport var chartDatasetsArgsTypes = {\n 'datasets[n].data': {\n description: '데이터셋 데이터',\n table: {\n category: 'Dataset Props',\n type: { summary: 'object | object[] | number[] | string[]' },\n },\n },\n 'datasets[n].label': {\n description: '데이터셋 라벨',\n table: {\n category: 'Dataset Props',\n type: { summary: 'string' },\n },\n },\n 'datasets[n].backgroundColor': {\n description: '데이터셋 배경 색상',\n table: {\n category: 'Dataset Props',\n type: { summary: 'object' },\n },\n },\n 'datasets[n].borderColor': {\n description: '데이터셋 테두리 색상',\n table: {\n category: 'Dataset Props',\n type: { summary: 'object' },\n },\n },\n 'datasets[n].borderWidth': {\n description: '데이터셋 테두리 두꼐',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].borderRadius': {\n description: '데이터셋 둥글기',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].hoverBackgroundColor': {\n description: '데이터셋 마우스 호버 시 배경 색상',\n table: {\n category: 'Dataset Props',\n type: { summary: 'object' },\n },\n },\n 'datasets[n].hoverBorderColor': {\n description: '데이터셋 마우스 호버 시 테두리 색상',\n table: {\n category: 'Dataset Props',\n type: { summary: 'object' },\n },\n },\n 'datasets[n].hoverBorderWidth': {\n description: '데이터셋 호버 시 테두리 두께',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].hoverBorderRadius': {\n description: '데이터셋 호버 시 둥글기',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].order': {\n description: '데이터셋 순서',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].hidden': {\n description: '데이터셋 표시 여부',\n table: {\n category: 'Dataset Props',\n type: { summary: 'boolean' },\n },\n },\n 'datasets[n].borderDash': {\n description: \"- \\uCC28\\uD2B8\\uC758 \\uAC01 \\uC139\\uC158\\uC758 \\uD14C\\uB450\\uB9AC\\uB97C \\uC810\\uC120\\uC73C\\uB85C \\uB9CC\\uB4EC\\n - ex)[5,5]: 5\\uD53D\\uC140 \\uAE38\\uC774\\uC758 \\uC120\\uACFC 5\\uD53D\\uC140 \\uAE38\\uC774\\uC758 \\uAC04\\uACA9\",\n table: {\n category: 'Dataset Props',\n type: { summary: 'number[]' },\n },\n },\n 'datasets[n].borderDashOffset': {\n description: \"- \\uC810\\uC120\\uC758 \\uC2DC\\uC791 \\uC704\\uCE58 \\uC870\\uC815\\n - ex) 2: \\uC810\\uC120\\uC758 \\uC2DC\\uC791 \\uC9C0\\uC810\\uC744 2\\uD53D\\uC140 \\uC774\\uB3D9\",\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].offset': {\n description: '각 섹션 사이의 간격 조정',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].weight': {\n description: '각 섹션의 상대적인 두께를 설정, 섹션이 차지하는 공간의 비율을 조정',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n};\nexport var chartDatalabelsArgsTypes = {\n datalabels: {\n table: {\n disable: true,\n },\n },\n 'datalabels.display': {\n description: '차트 데이터 라벨 표시 여부',\n table: {\n category: 'Datalabels Props',\n type: { summary: 'boolean' },\n },\n control: { type: 'boolean' },\n defaultValue: { summary: false },\n },\n 'datalabels.color': {\n description: '차트 데이터 라벨 색상',\n table: {\n category: 'Datalabels Props',\n type: { summary: 'string' },\n },\n control: { type: 'select' },\n options: ['white', 'gray', 'black'],\n defaultValue: { summary: 'gray' },\n },\n};\nexport var blackText = ['sky', 'mint', 'lime', 'yellow', 'amber', 'orange', 'white'];\nexport var primaryColorStyle = function () {\n var color = {};\n for (var i in ColorStyle) {\n var darkColor = \"\".concat(i, \"Dark\");\n color[i] = blackText.includes(i)\n ? \"bg-\".concat(ColorStyle[i], \" text-slate-12 dark:bg-\").concat(DarkColorStyle[darkColor], \" dark:text-slateDark-12\")\n : \"bg-\".concat(ColorStyle[i], \" text-white dark:bg-\").concat(DarkColorStyle[darkColor], \" dark:text-slateDark-1\");\n }\n return color;\n};\nexport var bgColorStyle = function () {\n var color = {};\n for (var i in ColorStyle) {\n var darkColor = \"\".concat(i, \"Dark\");\n color[i] = \"bg-\".concat(ColorStyle[i], \" dark:bg-\").concat(DarkColorStyle[darkColor]);\n }\n return color;\n};\nexport var textColorStyle = function () {\n var color = {};\n for (var i in ColorStyle) {\n var darkColor = \"\".concat(i, \"Dark\");\n color[i] = \"text-\".concat(ColorStyle[i], \" dark:text-\").concat(DarkColorStyle[darkColor]);\n }\n return color;\n};\nexport var borderColorStyle = function () {\n var color = {};\n for (var i in ColorStyle) {\n var darkColor = \"\".concat(i, \"Dark\");\n color[i] = \"border-\".concat(ColorStyle[i], \" dark:border-\").concat(DarkColorStyle[darkColor]);\n }\n return color;\n};\nvar makeClassName = function (type, isClickable) {\n var className = '';\n className += \"\".concat(type.light.default, \" \").concat(type.dark.default);\n if (isClickable) {\n className += \" \".concat(type.light.hover, \" \").concat(type.light.active, \" \").concat(type.light.disable, \" \").concat(type.dark.hover, \" \").concat(type.dark.active, \" \").concat(type.dark.disable);\n }\n return className;\n};\nexport var appearanceStyle = function (type, color, isClickable) {\n if (color === void 0) { color = MAIN_COLOR; }\n if (isClickable === void 0) { isClickable = true; }\n var darkColor = \"\".concat(color, \"Dark\");\n var classic = {\n light: {\n default: \"bg-\".concat(color, \"-9 border border-solid border-\").concat(color, \"-9 shadow-button-classic\"),\n hover: \"hover:bg-\".concat(color, \"-10 hover:border-\").concat(color, \"-9\"),\n active: \"active:bg-\".concat(color, \"-9 active:border-\").concat(color, \"-9\"),\n disable: \"disabled:bg-slateA-3 disabled:border-slate-4 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"-9 dark:border-\").concat(darkColor, \"-9 dark:shadow-button-dark-classic\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"-10 dark:hover:border-\").concat(darkColor, \"-9\"),\n active: \"dark:active:bg-\".concat(darkColor, \"-9 dark:active:border-\").concat(darkColor, \"-9\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:border-slateDark-4 dark:disabled:text-slateDarkA-8\",\n },\n };\n var solid = {\n light: {\n default: \"bg-\".concat(color, \"-9 border-none\"),\n hover: \"hover:bg-\".concat(color, \"-10 hover:border-none\"),\n active: \"active:bg-\".concat(color, \"-10 active:border-none active:opacity-[.92]\"),\n disable: \"disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"-9\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"-10\"),\n active: \"dark:active:bg-\".concat(darkColor, \"-10 dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:text-slateDarkA-8\",\n },\n };\n var soft = {\n light: {\n default: \"bg-\".concat(color, \"A-3 border-none text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-4 hover:border-none hover:text-\").concat(color, \"A-11\"),\n active: \"active:bg-\".concat(color, \"A-5 active:border-none active:text-\").concat(color, \"A-11 active:opacity-[.92]\"),\n disable: \"disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"A-3 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-4 dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-5 dark:active:text-\").concat(darkColor, \"A-11 dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:text-slateDarkA-8\",\n },\n };\n var surface = {\n light: {\n default: \"bg-\".concat(color, \"A-2 border border-solid border-\").concat(color, \"A-7 text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-2 hover:border-\").concat(color, \"A-8 hover:text-\").concat(color, \"A-11\"),\n active: \"active:bg-\".concat(color, \"A-3 active:border-\").concat(color, \"A-8 active:text-\").concat(color, \"A-11 active:opacity-[.92]\"),\n disable: \"disabled:bg-slateA-2 disabled:border-slateA-6 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"A-2 dark:border-\").concat(darkColor, \"A-7 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-2 dark:hover:border-\").concat(darkColor, \"A-8 dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-3 dark:active:border-\").concat(darkColor, \"A-8 dark:active:text-\").concat(darkColor, \"A-11 dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-2 dark:disabled:border-slateDarkA-6 dark:disabled:text-slateDarkA-8\",\n },\n };\n var outline = {\n light: {\n default: \"bg-transparent border border-solid border-\".concat(color, \"A-8 text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-2 hover:border-\").concat(color, \"A-8 hover:text-\").concat(color, \"A-11\"),\n active: \"active:bg-\".concat(color, \"A-3 active:border-\").concat(color, \"A-8 active:text-\").concat(color, \"A-11\"),\n disable: \"disabled:bg-transparent disabled:border-slateA-7 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:border-\".concat(darkColor, \"A-8 dark:bg-transparent dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-2 dark:hover:border-\").concat(darkColor, \"A-8 dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-3 dark:active:border-\").concat(darkColor, \"A-8 dark:active:text-\").concat(darkColor, \"A-11 dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:border-slateDarkA-7 dark:disabled:bg-transparent dark:disabled:text-slateDarkA-8 \",\n },\n };\n var ghost = {\n light: {\n default: \"bg-transparent border-none text-\".concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-3 hover:border-none hover:text-\").concat(color, \"A-11\"),\n active: \"active:bg-\".concat(color, \"A-4 active:border-none active:text-\").concat(color, \"A-11 active:opacity-[.92]\"),\n disable: \"disabled:bg-transparent disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-transparent dark:text-\".concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-3 dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-4 dark:active:text-\").concat(darkColor, \"A-11 dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:text-slateDarkA-8\",\n },\n };\n switch (type) {\n case 'classic':\n return makeClassName(classic, isClickable);\n case 'solid':\n return makeClassName(solid, isClickable);\n case 'soft':\n return makeClassName(soft, isClickable);\n case 'surface':\n return makeClassName(surface, isClickable);\n case 'outline':\n return makeClassName(outline, isClickable);\n case 'ghost':\n return makeClassName(ghost, isClickable);\n default:\n return '';\n }\n};\nexport var toggleAppearanceStyle = function (type, color, isClickable, stateOn) {\n if (color === void 0) { color = MAIN_COLOR; }\n if (isClickable === void 0) { isClickable = true; }\n if (stateOn === void 0) { stateOn = ''; }\n var darkColor = \"\".concat(color, \"Dark\");\n var classic = {\n light: {\n default: \"bg-\".concat(color, \"-9 border border-solid border-\").concat(color, \"-9 text-white shadow-button-classic\"),\n hover: \"hover:bg-\".concat(color, \"-10 hover:border-\").concat(color, \"-9 hover:text-white \").concat(stateOn, \"hover:bg-\").concat(color, \"-10 \").concat(stateOn, \"hover:border-\").concat(color, \"-9 \").concat(stateOn, \"hover:text-white\"),\n active: \"\".concat(stateOn, \"bg-\").concat(color, \"-9 \").concat(stateOn, \"border-\").concat(color, \"-9 \").concat(stateOn, \"text-white\"),\n disable: \"disabled:bg-slateA-3 disabled:border-slate-4 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"-9 dark:border-\").concat(darkColor, \"-9 dark:text-slateDark-1\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"-10 dark:hover:border-\").concat(darkColor, \"-9 dark:hover:text-slateDark-1 dark:\").concat(stateOn, \"hover:bg-\").concat(darkColor, \"-10 dark:\").concat(stateOn, \"hover:border-\").concat(darkColor, \"-9 dark:\").concat(stateOn, \"hover:text-slateDark-1\"),\n active: \"dark:\".concat(stateOn, \"bg-\").concat(darkColor, \"-9 dark:\").concat(stateOn, \"border-\").concat(darkColor, \"-9 dark:\").concat(stateOn, \"text-slateDark-1\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:border-slateDark-4 dark:disabled:text-slateDarkA-8\",\n },\n };\n var solid = {\n light: {\n default: \"bg-\".concat(color, \"-9 border-none text-white\"),\n hover: \"hover:bg-\".concat(color, \"-10 hover:border-none hover:text-white \").concat(stateOn, \"hover:bg-\").concat(color, \"-10 \").concat(stateOn, \"hover:border-none \").concat(stateOn, \"hover:text-white\"),\n active: \"\".concat(stateOn, \"bg-\").concat(color, \"-10 \").concat(stateOn, \"border-none \").concat(stateOn, \"text-white \").concat(stateOn, \"opacity-[.92]\"),\n disable: \"disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"-9 dark:text-slateDark-1\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"-10 dark:hover:text-slateDark-1 dark:\").concat(stateOn, \"hover:bg-\").concat(darkColor, \"-10 dark:\").concat(stateOn, \"hover:text-slateDark-1\"),\n active: \"dark:\".concat(stateOn, \"bg-\").concat(darkColor, \"-10 dark:\").concat(stateOn, \"text-slateDark-1 dark:\").concat(stateOn, \"opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-3 disabled:text-slateDarkA-8\",\n },\n };\n var soft = {\n light: {\n default: \"bg-\".concat(color, \"A-3 border-none text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-4 hover:border-none hover:text-\").concat(color, \"A-11 \").concat(stateOn, \"hover:bg-\").concat(color, \"A-4 \").concat(stateOn, \"hover:border-none \").concat(stateOn, \"hover:text-\").concat(color, \"A-11\"),\n active: \"\".concat(stateOn, \"bg-\").concat(color, \"A-5 \").concat(stateOn, \"border-none \").concat(stateOn, \"text-\").concat(color, \"A-11 \").concat(stateOn, \"opacity-[.92]\"),\n disable: \"disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"A-3 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-4 dark:hover:text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"hover:bg-\").concat(darkColor, \"A-4 dark:\").concat(stateOn, \"hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:\".concat(stateOn, \"bg-\").concat(darkColor, \"A-5 dark:\").concat(stateOn, \"text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:text-slateDarkA-8\",\n },\n };\n var surface = {\n light: {\n default: \"bg-\".concat(color, \"A-2 border border-solid border-\").concat(color, \"A-7 text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-2 hover:border-\").concat(color, \"A-8 hover:text-\").concat(color, \"A-11 \").concat(stateOn, \"hover:bg-\").concat(color, \"A-2 \").concat(stateOn, \"hover:border-\").concat(color, \"A-8 \").concat(stateOn, \"hover:text-\").concat(color, \"A-11\"),\n active: \"\".concat(stateOn, \"bg-\").concat(color, \"A-3 \").concat(stateOn, \"border-\").concat(color, \"A-8 \").concat(stateOn, \"text-\").concat(color, \"A-11 \").concat(stateOn, \"opacity-[.92]\"),\n disable: \"disabled:bg-slatDarkeA-2 disabled:border-slateDarkA-6 disabled:text-slateDarkA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"A-2 dark:border-\").concat(darkColor, \"A-7 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-2 dark:hover:border-\").concat(darkColor, \"A-8 dark:hover:text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"hover:bg-\").concat(darkColor, \"A-2 dark:\").concat(stateOn, \"hover:border-\").concat(darkColor, \"A-8 dark:\").concat(stateOn, \"hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:\".concat(stateOn, \"bg-\").concat(darkColor, \"A-3 dark:\").concat(stateOn, \"border-\").concat(darkColor, \"A-8 dark:\").concat(stateOn, \"text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-2 dark:disabled:border-slateDarkA-6 dark:disabled:text-slateDarkA-8\",\n },\n };\n var outline = {\n light: {\n default: \"bg-transparent border border-solid border-\".concat(color, \"A-8 text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-2 hover:border-\").concat(color, \"A-8 hover:text-\").concat(color, \"A-11 \").concat(stateOn, \"hover:bg-\").concat(color, \"A-2 \").concat(stateOn, \"hover:border-\").concat(color, \"A-8 \").concat(stateOn, \"hover:text-\").concat(color, \"A-11\"),\n active: \"\".concat(stateOn, \"bg-\").concat(color, \"A-3 \").concat(stateOn, \"border-\").concat(color, \"A-8 \").concat(stateOn, \"text-\").concat(color, \"A-11\"),\n disable: \"disabled:bg-transparent disabled:border-slateA-7 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:border-\".concat(darkColor, \"A-8 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-2 dark:hover:border-\").concat(darkColor, \"A-8 dark:hover:text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"hover:bg-\").concat(darkColor, \"A-2 dark:\").concat(stateOn, \"hover:border-\").concat(darkColor, \"A-8 dark:\").concat(stateOn, \"hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:\".concat(stateOn, \"bg-\").concat(darkColor, \"A-3 dark:\").concat(stateOn, \"border-\").concat(darkColor, \"A-8 dark:\").concat(stateOn, \"text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"opacity-[.92]\"),\n disable: \"dark:disabled:border-slateDarkA-7 dark:disabled:text-slateDarkA-8\",\n },\n };\n var ghost = {\n light: {\n default: \"bg-transparent border-none text-\".concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-3 hover:border-none hover:text-\").concat(color, \"A-11 \").concat(stateOn, \"hover:bg-\").concat(color, \"A-3 \").concat(stateOn, \"hover:border-none \").concat(stateOn, \"hover:text-\").concat(color, \"A-11\"),\n active: \"\".concat(stateOn, \"bg-\").concat(color, \"A-4 \").concat(stateOn, \"border-none \").concat(stateOn, \"text-\").concat(color, \"A-11 \").concat(stateOn, \"opacity-[.92]\"),\n disable: \"disabled:bg-transparent disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-transparent dark:text-\".concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-3 dark:hover:text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"hover:bg-\").concat(darkColor, \"A-3 dark:\").concat(stateOn, \"hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:\".concat(stateOn, \"bg-\").concat(darkColor, \"A-4 dark:\").concat(stateOn, \"text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"opacity-[.92]\"),\n disable: \"dark:disabled:text-slateDarkA-8\",\n },\n };\n switch (type) {\n case 'classic':\n return makeClassName(classic, isClickable);\n case 'solid':\n return makeClassName(solid, isClickable);\n case 'soft':\n return makeClassName(soft, isClickable);\n case 'surface':\n return makeClassName(surface, isClickable);\n case 'outline':\n return makeClassName(outline, isClickable);\n case 'ghost':\n return makeClassName(ghost, isClickable);\n default:\n return '';\n }\n};\nexport var menuItemAppearanceStyle = function (type, color) {\n if (color === void 0) { color = MAIN_COLOR; }\n var appearanceStyle = '';\n if (type === 'solid') {\n appearanceStyle = \"hover:bg-\".concat(color, \"-9 dark:hover:bg-\").concat(color, \"Dark-9 \");\n appearanceStyle += blackText.includes(color)\n ? \"hover:text-slateA-11 dark:hover:text-white\"\n : \"hover:text-white dark:hover:text-white\";\n }\n if (type === 'soft') {\n appearanceStyle = \"hover:bg-\".concat(color, \"A-4 dark:hover-bg-\").concat(color, \"DarkA-4\");\n }\n if (type === 'ghost') {\n appearanceStyle = \"hover:bg-\".concat(color, \"-3 dark:hover:bg-\").concat(color, \"Dark-3\");\n }\n return appearanceStyle;\n};\nexport var checkboxAppearanceStyle = function (type, color, indeterminate) {\n if (color === void 0) { color = MAIN_COLOR; }\n var darkColor = \"\".concat(color, \"Dark\");\n var surface = {\n light: {\n default: \"border data-[state=unchecked]:bg-transparent data-[state=unchecked]:border-slateA-7\\n data-[state=checked]:bg-\".concat(color, \"-9 data-[state=checked]:border-none data-[state=checked]:text-slate-1\"),\n hover: \"hover:data-[state=unchecked]:bg-transparent hover:data-[state=unchecked]:border-slateA-8\\n hover:data-[state=checked]:bg-\".concat(color, \"-10 hover:data-[state=checked]:border-none hover:data-[state=checked]:text-white\"),\n active: \"active:data-[state=unchecked]:bg-transparent active:data-[state=unchecked]:border-slateA-9\\n active:data-[state=checked]:bg-\".concat(color, \"-10 active:data-[state=checked]:border-none active:data-[state=checked]:text-white\"),\n disable: \"disabled:data-[state=unchecked]:bg-slateA-3 disabled:data-[state=unchecked]:border-slateA-6\\n disabled:data-[state=checked]:bg-slateA-3 disabled:data-[state=checked]:border-slateA-6 disabled:data-[state=checked]:text-slateA-8\",\n },\n dark: {\n default: \"dark:data-[state=unchecked]:border-slateDarkA-7\\n dark:data-[state=checked]:bg-\".concat(darkColor, \"-9 dark:data-[state=checked]:text-#111113\"),\n hover: \"dark:hover:data-[state=unchecked]:border-slateDarkA-8\\n dark:hover:data-[state=checked]:bg-\".concat(darkColor, \"-10 dark:hover:data-[state=checked]:text-#111113\"),\n active: \"dark:active:data-[state=unchecked]:border-slateDarkA-9\\n dark:active:data-[state=checked]:bg-\".concat(darkColor, \"-10 dark:active:data-[state=checked]:text-#111113\"),\n disable: \"dark:disabled:data-[state=unchecked]:bg-slateDarkA-3 dark:disabled:data-[state=unchecked]:border-slateDarkA-6\\n dark:disabled:data-[state=checked]:bg-slateDarkA-3 dark:disabled:data-[state=checked]:border-slateDarkA-6 dark:disabled:data-[state=checked]:text-slateDarkA-8\",\n },\n };\n var soft = {\n light: {\n default: \"data-[state=unchecked]:bg-\".concat(color, \"A-5 data-[state=unchecked]:border-none\\n data-[state=checked]:bg-\").concat(color, \"A-5 data-[state=checked]:border-none data-[state=checked]:text-\").concat(color, \"-11\"),\n hover: \"hover:data-[state=unchecked]:bg-\".concat(color, \"A-6 hover:data-[state=unchecked]:border-none\\n hover:data-[state=checked]:bg-\").concat(color, \"A-6 hover:data-[state=checked]:border-none hover:data-[state=checked]:text-\").concat(color, \"-11\"),\n active: \"active:data-[state=unchecked]:bg-\".concat(color, \"A-7 active:data-[state=unchecked]:border-none\\n active:data-[state=checked]:bg-\").concat(color, \"A-7 active:data-[state=checked]:border-none active:data-[state=checked]:text-\").concat(color, \"-11\"),\n disable: \"disabled:data-[state=unchecked]:bg-slateA-3 disabled:data-[state=unchecked]:border-none\\n disabled:data-[state=checked]:bg-slateA-3 disabled:data-[state=checked]:border-none disabled:data-[state=checked]:text-slateA-8\",\n },\n dark: {\n default: \"dark:data-[state=unchecked]:bg-\".concat(darkColor, \"A-5\\n dark:data-[state=checked]:bg-\").concat(darkColor, \"A-5 dark:data-[state=checked]:text-\").concat(darkColor, \"-11\"),\n hover: \"dark:hover:data-[state=unchecked]:bg-\".concat(darkColor, \"A-6\\n dark:hover:data-[state=checked]:bg-\").concat(darkColor, \"A-6 dark:hover:data-[state=checked]:text-\").concat(darkColor, \"-11\"),\n active: \"dark:active:data-[state=unchecked]:bg-\".concat(darkColor, \"A-7\\n dark:active:data-[state=checked]:bg-\").concat(darkColor, \"A-7 dark:active:data-[state=checked]:text-\").concat(darkColor, \"-11\"),\n disable: \"dark:disabled:data-[state=unchecked]:bg-slateDarkA-3\\n dark:disabled:data-[state=checked]:bg-slateDarkA-3 dark:disabled:data-[state=checked]:text-slateDarkA-8\",\n },\n };\n var indeterminateSurface = {\n light: {\n default: \"border bg-\".concat(color, \"A-2 border-\").concat(color, \"A-7 text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-2 hover:border-\").concat(color, \"A-8 hover:text-\").concat(color, \"A-11\"),\n active: \"active:bg-\".concat(color, \"A-3 active:border-\").concat(color, \"A-8 active:text-\").concat(color, \"A-11\"),\n disable: \"disabled:bg-slateA-3 disabled:border-slateA-6 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"A-2 dark:border-\").concat(darkColor, \"A-7 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-2 dark:hover:border-\").concat(darkColor, \"A-8 dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-3 dark:active:border-\").concat(darkColor, \"A-8 dark:active:text-\").concat(darkColor, \"A-11\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:border-slateDarkA-6 dark:disabled:text-slateDarkA-8\",\n },\n };\n var indeterminateSoft = {\n light: {\n default: \"border bg-transparent border-\".concat(color, \"A-6 text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-transparent hover:border-\".concat(color, \"A-6 hover:text-\").concat(color, \"A-11\"),\n active: \"active:bg-transparent active:border-\".concat(color, \"A-6 active:text-\").concat(color, \"A-11\"),\n disable: \"disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:border-\".concat(darkColor, \"A-6 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:border-\".concat(darkColor, \"A-6 dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:active:border-\".concat(darkColor, \"A-6 dark:active:text-\").concat(darkColor, \"A-11\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:text-slateDarkA-8\",\n },\n };\n switch (type) {\n case 'classic':\n return indeterminate\n ? makeClassName(indeterminateSurface, true)\n : \"\".concat(makeClassName(surface, true), \" data-[state=checked]:shadow-checkbox-classic data-[state=unchecked]:shadow-checkbox-classic\\n dark:data-[state=checked]:shadow-checkbox-classic dark:data-[state=unchecked]:shadow-checkbox-classic\");\n case 'soft':\n return indeterminate ? makeClassName(indeterminateSoft, true) : makeClassName(soft, true);\n case 'surface':\n return indeterminate\n ? makeClassName(indeterminateSurface, true)\n : makeClassName(surface, true);\n default:\n return makeClassName(surface, true);\n }\n};\nexport var selectAppearanceStyle = function (type, color) {\n var darkColor = \"\".concat(color, \"Dark\");\n var surface = {\n light: {\n default: \"bg-[#FFFFFF] border border-slateA-7 data-placeholder:text-slateA-10 text-slateA-12\",\n hover: \"hover:bg-[#FFFFFF] hover:border hover:border-slateA-8 hover:text-slateA-10\",\n active: \"active:bg-\".concat(color, \"A-3 active:border-\").concat(color, \"A-8 active:text-slateA-10 active:opacity-[.92]\"),\n disable: \"disabled:bg-slateA-2 disabled:border-slateA-6 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-[#111113] dark:border dark:data-placeholder:border-slateDarkA-7 dark:data-placeholder:text-slateDarkA-9 dark:border-slateDarkA-7 dark:text-slateDarkA-12\",\n hover: \"dark:hover:bg-[#111113] dark:hover:border dark:hover:border-slateDarkA-8 dark:hover:text-slateDarkA-10\",\n active: \"dark:active:bg-\".concat(darkColor, \"A-3 dark:active:border dark:active:border-\").concat(darkColor, \"A-8 dark:active:text-slateDarkA-10 dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-2 dark:disabled:border dark:disabled:border-slateDarkA-6 dark:disabled:text-slateDarkA-8\",\n },\n };\n var classic = {\n light: {\n default: \"bg-slateA-2 border border-slate-4 data-placeholder:text-slateA-10 text-slateA-12\",\n hover: \"hover:bg-slateA-3 hover:border hover:border-slate-4 hover:text-slateA-10\",\n active: \"active:bg-slateA-4 active:border active:border-slate-6 active:text-slateA-10\",\n disable: \"disabled:bg-slateA-3 disabled:border disabled:border-slate-4 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-slateDarkA-2 dark:border-slateDark-4 dark:data-placeholder:text-slateDarkA-10 dark:text-slateDarkA-12\",\n hover: \"dark:hover:bg-slateDarkA-3 dark:hover:border-slateDark-4 dark:hover:text-slateDarkA-10\",\n active: \"dark:active:bg-slateDarkA-4 dark:active:border-slateDark-6 dark:active:text-slateDarkA-10\",\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:border-slateDark-4 dark:disabled:text-slateDarkA-8\",\n },\n };\n var soft = {\n light: {\n default: \"bg-\".concat(color, \"A-3 border-none data-placeholder:text-\").concat(color, \"A-12/[.5] text-\").concat(color, \"A-12\"),\n hover: \"hover:bg-\".concat(color, \"A-4 hover:border-none hover:text-\").concat(color, \"A-12/[.5]\"),\n active: \"active:bg-\".concat(color, \"A-5 active:border-none active:text-\").concat(color, \"A-12/[.5] active:opacity-[.92]\"),\n disable: \"disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"A-3 dark:border-none dark:data-placeholder:text-\").concat(darkColor, \"A-12/[.5] dark:text-\").concat(darkColor, \"A-12 \"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-4 dark:hover:border-none dark:hover:text-\").concat(darkColor, \"A-12/[.5]\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-5 dark:active:border-none dark:active:text-\").concat(darkColor, \"A-12/[.5] dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:border-none dark:disabled:text-slateDarkA-8\",\n },\n };\n var ghost = {\n light: {\n default: \"bg-transparent border-none data-placeholder:text-\".concat(color, \"A-12/[.5] text-\").concat(color, \"A-12\"),\n hover: \"hover:bg-\".concat(color, \"A-3 hover:border-none hover:text-\").concat(color, \"A-1/[.5]\"),\n active: \"active:bg-\".concat(color, \"A-4 active:border-none active:text-\").concat(color, \"A-12/[.5] active:opacity-[.92]\"),\n disable: \"disabled:bg-transparent disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-transparent dark:border-none dark:data-placeholder:text-\".concat(darkColor, \"A-12/[.5] dark:text-\").concat(darkColor, \"A-12\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-3 dark:hover:border-none dark:hover:text-\").concat(darkColor, \"A-12/[.5]\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-4 dark:active:border-none dark:active:text-\").concat(darkColor, \"A-12/[.5] dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:text-slateDarkA-8 dark:disabled:border-none\",\n },\n };\n var makeClassName = function (type) {\n var className = '';\n className += \"\".concat(type.light.default, \" \").concat(type.dark.default, \" \").concat(type.light.hover, \" \").concat(type.light.active, \" \").concat(type.light.disable, \" \").concat(type.dark.hover, \" \").concat(type.dark.active, \" \").concat(type.dark.disable);\n return className;\n };\n switch (type) {\n case 'classic':\n return makeClassName(classic);\n case 'soft':\n return makeClassName(soft);\n case 'surface':\n return makeClassName(surface);\n case 'ghost':\n return makeClassName(ghost);\n default:\n return '';\n }\n};\n"],"names":["radiusVariants","small","none","medium","large","full","base","weightVariants","regular","semibold","bold","scalingVariants","blackText","primaryColorStyle","color","i","ColorStyle","darkColor","concat","includes","DarkColorStyle","bgColorStyle","textColorStyle","makeClassName","type","isClickable","className","light","default","dark","hover","active","disable","appearanceStyle","MAIN_COLOR","classic","solid","soft","surface","outline","ghost","toggleAppearanceStyle","stateOn","menuItemAppearanceStyle","checkboxAppearanceStyle","indeterminate","indeterminateSurface","indeterminateSoft","selectAppearanceStyle"],"mappings":"uFA8BU,IAACA,EAAiB,CAExBC,MAAO,CACHC,KAAM,eACND,MAAO,gBACPE,OAAQ,UACRC,MAAO,UACPC,KAAM,WAGVC,KAAM,CACFJ,KAAM,eACND,MAAO,gBACPE,OAAQ,UACRC,MAAO,aACPC,KAAM,gBAGVD,MAAO,CACHF,KAAM,eACND,MAAO,UACPE,OAAQ,aACRC,MAAO,aACPC,KAAM,eAGV,cAAe,CACXH,KAAM,eACND,MAAO,UACPE,OAAQ,aACRC,MAAO,aACPC,KAAM,cAGV,YAAa,CACTH,KAAM,eACND,MAAO,gBACPE,OAAQ,aACRC,MAAO,UACPC,KAAM,YAGHE,EAAiB,CACxBC,QAAS,cACTL,OAAQ,cACRM,SAAU,gBACVC,KAAM,aAECC,EAAkB,CACzB,MAAO,WACP,MAAO,WACP,OAAQ,YACR,OAAQ,YACR,OAAQ,aA8YDC,EAAY,CAAC,MAAO,OAAQ,OAAQ,SAAU,QAAS,SAAU,SACjEC,EAAoB,WAC3B,IAAIC,EAAQ,CAAA,EACZ,IAAK,IAAIC,KAAKC,EAAY,CACtB,IAAIC,EAAY,GAAGC,OAAOH,EAAG,QAC7BD,EAAMC,GAAKH,EAAUO,SAASJ,GACxB,MAAMG,OAAOF,EAAWD,GAAI,2BAA2BG,OAAOE,EAAeH,GAAY,2BACzF,MAAMC,OAAOF,EAAWD,GAAI,wBAAwBG,OAAOE,EAAeH,GAAY,yBAC/F,CACD,OAAOH,CAC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,GACzB,IAAK,QACD,OAAOf,EAAciB,GACzB,QACI,MAAO,GAEnB"}
1
+ {"version":3,"file":"constants.mjs","sources":["../lib/constants.js"],"sourcesContent":["import { ColorStyle, DarkColorStyle, MAIN_COLOR, colorOptions } from '../lib/color/constants';\nexport var radiusOptions = ['none', 'small', 'medium', 'large', 'full'];\nexport var typoSizeOptions = ['1', '2', '3', '4', '5', '6', '7', '8', '9'];\nexport var scalingOptions = ['90%', '95%', '100%', '105%', '110%'];\nexport var sizeOptions = ['x-small', 'small', 'medium', 'large', 'x-large'];\nexport var weightOptions = ['regular', 'medium', 'semibold', 'bold'];\nexport var themeOptions = ['light', 'dark'];\nexport var appearanceOptions = [\n 'classic',\n 'ghost',\n 'outline',\n 'soft',\n 'solid',\n 'surface',\n];\n//차트\nexport var labelPositionList = ['top', 'bottom', 'left', 'right'];\nexport var pointStyleList = [\n 'circle',\n 'cross',\n 'crossRot',\n 'dash',\n 'line',\n 'rect',\n 'rectRounded',\n 'rectRot',\n 'star',\n 'triangle',\n false,\n];\nexport var radiusVariants = {\n // 체크박스\n small: {\n none: 'rounded-none',\n small: 'rounded-[3px]',\n medium: 'rounded',\n large: 'rounded',\n full: 'rounded',\n },\n // 라디오버튼, 스위치, 태그, 배지, 버튼, 텍스트인풋, 텍스트영역, 페이지네이션\n base: {\n none: 'rounded-none',\n small: 'rounded-[3px]',\n medium: 'rounded', // 4px\n large: 'rounded-md', // 6px\n full: 'rounded-full',\n },\n // 배너\n large: {\n none: 'rounded-none',\n small: 'rounded',\n medium: 'rounded-lg', // 8px\n large: 'rounded-xl', // 12px\n full: 'rounded-2xl', // 16px\n },\n // 다이얼로그, 바텀시트, 그리드, 카드\n 'extra-large': {\n none: 'rounded-none',\n small: 'rounded',\n medium: 'rounded-lg',\n large: 'rounded-xl',\n full: 'rounded-xl',\n },\n // Dropdown, Context Menu 아이템\n 'menu-item': {\n none: 'rounded-none',\n small: 'rounded-[1px]',\n medium: 'rounded-sm',\n large: 'rounded',\n full: 'rounded',\n },\n};\nexport var weightVariants = {\n regular: 'font-normal', // 400\n medium: 'font-medium', // 500\n semibold: 'font-semibold', // 600\n bold: 'font-bold', // 700\n};\nexport var scalingVariants = {\n '90%': 'scale-90',\n '95%': 'scale-95',\n '100%': 'scale-100',\n '105%': 'scale-105',\n '110%': 'scale-110',\n};\n// 스토리북 공통 argTypes 설정\nexport var commonArgTypes = {\n typoSize: {\n table: {\n category: 'Theme Props',\n type: { summary: '1 ~ 9' },\n },\n control: { type: 'select' },\n options: typoSizeOptions,\n defaultValue: { summary: '3' },\n },\n scaling: {\n table: {\n category: 'Theme Props',\n type: { summary: scalingOptions.join(' | ') },\n },\n control: { type: 'select' },\n options: scalingOptions,\n defaultValue: { summary: '100%' },\n },\n weight: {\n table: {\n category: 'Theme Props',\n type: { summary: weightOptions.join(' | ') },\n },\n options: weightOptions,\n control: { type: 'select' },\n defaultValue: { summary: 'medium' },\n },\n radius: {\n table: {\n category: 'Theme Props',\n type: { summary: radiusOptions.join(' | ') },\n },\n options: radiusOptions,\n control: { type: 'select' },\n defaultValue: { summary: 'medium' },\n },\n color: {\n table: {\n category: 'Theme Props',\n type: { summary: 'colorVariants' },\n },\n options: colorOptions,\n control: { type: 'select' },\n defaultValue: { summary: 'red' },\n },\n basicText: {\n table: {\n category: 'Props',\n type: { summary: 'string' },\n },\n control: 'text',\n },\n appearance: {\n table: {\n category: 'Props',\n type: { summary: appearanceOptions.join(' | ') },\n },\n options: appearanceOptions,\n control: { type: 'select' },\n defaultValue: { summary: 'solid' },\n },\n size: {\n table: {\n category: 'Props',\n type: { summary: sizeOptions.join(' | ') },\n },\n control: { type: 'select' },\n options: sizeOptions,\n defaultValue: { summary: 'medium' },\n },\n isColorMixed: {\n table: {\n category: 'Props',\n type: { summary: 'boolean' },\n },\n description: \"- \\uCC28\\uD2B8 \\uAE30\\uBCF8 \\uC0C9\\uC0C1 \\uC2A4\\uD0C0\\uC77C \\n - true\\uC778 \\uACBD\\uC6B0 \\uC0C9\\uC0C1\\uC774 \\uAD50\\uCC28\\uB428, false\\uC778 \\uACBD\\uC6B0 \\uC0C9\\uC0C1 \\uC21C\\uCC28\\uC801\\uC73C\\uB85C \\uC0AC\\uC6A9\",\n control: 'readonly',\n defaultValue: { summary: 'true' },\n },\n chartAppearance: {\n table: {\n category: 'Props',\n type: { summary: 'solid | soft' },\n },\n options: ['solid', 'soft'],\n control: 'readonly',\n defaultValue: { summary: 'solid' },\n description: \"- \\uCC28\\uD2B8 \\uAE30\\uBCF8 \\uC0C9\\uC0C1 \\uC2A4\\uD0C0\\uC77C \\n - \\uBC30\\uACBD\\uC0C9\\uACFC \\uD14C\\uB450\\uB9AC\\uC0C9 \\uAE30\\uBCF8 \\uC2A4\\uD0C0\\uC77C\\uC744 \\uC9C0\\uC815\\uD574\\uC900\\uB2E4\",\n },\n datasets: {\n name: 'datasets',\n description: '차트에 사용할 데이터셋',\n table: {\n category: 'Props',\n type: { summary: 'object' },\n },\n },\n labels: {\n description: '차트 위에 표시될 라벨들',\n table: {\n category: 'Props',\n type: { summary: 'object' },\n },\n },\n};\nexport var chartTitleArgTypes = {\n title: {\n description: '차트 타이틀',\n table: {\n category: 'Props',\n type: { summary: 'object' },\n },\n },\n 'title.display': {\n description: '타이틀 표시 여부',\n table: {\n category: 'Title Props',\n type: { summary: 'boolean' },\n },\n control: { type: 'boolean', defaultValue: false },\n defaultValue: { summary: false },\n },\n 'title.text': {\n description: '타이틀 내용',\n table: {\n category: 'Title Props',\n type: { summary: 'string | string[]' },\n },\n control: { type: 'text' },\n defaultValue: { summary: '' },\n },\n 'title.position': {\n description: '타이틀 위치',\n table: {\n category: 'Title Props',\n type: { summary: 'top | right | bottom | left' },\n },\n control: { type: 'select' },\n options: ['top', 'right', 'bottom', 'left'],\n defaultValue: { summary: 'top' },\n },\n 'title.align': {\n description: '타이틀 정렬',\n table: {\n category: 'Title Props',\n type: { summary: 'start | center | end' },\n },\n control: { type: 'select' },\n options: ['start', 'center', 'end'],\n defaultValue: { summary: 'top' },\n },\n 'title.font.size': {\n description: '타이틀 폰트 크기',\n table: {\n category: 'Title Props',\n type: { summary: 'number' },\n },\n control: { type: 'text' },\n defaultValue: { summary: 12 },\n },\n};\nexport var chartLegendArgTypes = {\n legend: {\n description: '차트 범례',\n table: {\n category: 'Props',\n type: { summary: 'object' },\n },\n },\n 'legend.display': {\n description: '범례 표시 여부',\n table: {\n category: 'Legend Props',\n type: { summary: 'boolean' },\n },\n control: { type: 'boolean' },\n defaultValue: { summary: true },\n },\n 'legend.align': {\n description: '범례 정렬',\n table: {\n category: 'Legend Props',\n type: { summary: 'start | center | end' },\n },\n control: { type: 'select' },\n options: ['start', 'center', 'end'],\n defaultValue: { summary: 'center' },\n },\n 'legend.position': {\n description: '범례 위치',\n table: {\n category: 'Legend Props',\n type: { summary: 'top | right | bottom | left' },\n },\n control: { type: 'select' },\n options: ['top', 'right', 'bottom', 'left'],\n defaultValue: { summary: 'top' },\n },\n 'legend.maxHeight': {\n description: '범례 최대 높이(픽셀)',\n table: {\n category: 'Legend Props',\n type: { summary: 'number' },\n },\n control: { type: 'text' },\n defaultValue: { summary: 12 },\n },\n 'legend.maxWidth': {\n description: '범례 최대 길이(픽셀)',\n table: {\n category: 'Legend Props',\n type: { summary: 'number' },\n },\n control: { type: 'text' },\n defaultValue: { summary: 12 },\n },\n 'legend.title.display': {\n description: '범례 타이틀 표시 여부',\n table: {\n category: 'Legend Props',\n type: { summary: 'boolean' },\n },\n control: { type: 'boolean' },\n defaultValue: { summary: false },\n },\n 'legend.title.text': {\n description: '범례 타이틀 문구',\n table: {\n category: 'Legend Props',\n type: { summary: 'string' },\n },\n control: { type: 'text' },\n defaultValue: { summary: '' },\n },\n 'legend.labels.usePointStyle': {\n description: '범례 스타일 사용여부',\n table: {\n category: 'Legend Props',\n type: { summary: 'boolean' },\n },\n control: { type: 'boolean' },\n defaultValue: { summary: 'false' },\n },\n 'legend.labels.pointStyle': {\n description: \"- \\uB77C\\uBCA8 \\uD3EC\\uC778\\uD2B8 \\uC2A4\\uD0C0\\uC77C\\n - usePointStyle\\uAC00 true\\uC778 \\uACBD\\uC6B0 \\uC801\\uC6A9\",\n table: {\n category: 'Legend Props',\n type: { summary: pointStyleList.join(' | ') },\n },\n control: { type: 'select' },\n options: pointStyleList,\n defaultValue: { summary: 'false' },\n },\n};\nexport var chartDatasetsArgsTypes = {\n 'datasets[n].data': {\n description: '데이터셋 데이터',\n table: {\n category: 'Dataset Props',\n type: { summary: 'object | object[] | number[] | string[]' },\n },\n },\n 'datasets[n].label': {\n description: '데이터셋 라벨',\n table: {\n category: 'Dataset Props',\n type: { summary: 'string' },\n },\n },\n 'datasets[n].backgroundColor': {\n description: '데이터셋 배경 색상',\n table: {\n category: 'Dataset Props',\n type: { summary: 'object' },\n },\n },\n 'datasets[n].borderColor': {\n description: '데이터셋 테두리 색상',\n table: {\n category: 'Dataset Props',\n type: { summary: 'object' },\n },\n },\n 'datasets[n].borderWidth': {\n description: '데이터셋 테두리 두꼐',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].borderRadius': {\n description: '데이터셋 둥글기',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].hoverBackgroundColor': {\n description: '데이터셋 마우스 호버 시 배경 색상',\n table: {\n category: 'Dataset Props',\n type: { summary: 'object' },\n },\n },\n 'datasets[n].hoverBorderColor': {\n description: '데이터셋 마우스 호버 시 테두리 색상',\n table: {\n category: 'Dataset Props',\n type: { summary: 'object' },\n },\n },\n 'datasets[n].hoverBorderWidth': {\n description: '데이터셋 호버 시 테두리 두께',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].hoverBorderRadius': {\n description: '데이터셋 호버 시 둥글기',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].order': {\n description: '데이터셋 순서',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].hidden': {\n description: '데이터셋 표시 여부',\n table: {\n category: 'Dataset Props',\n type: { summary: 'boolean' },\n },\n },\n 'datasets[n].borderDash': {\n description: \"- \\uCC28\\uD2B8\\uC758 \\uAC01 \\uC139\\uC158\\uC758 \\uD14C\\uB450\\uB9AC\\uB97C \\uC810\\uC120\\uC73C\\uB85C \\uB9CC\\uB4EC\\n - ex)[5,5]: 5\\uD53D\\uC140 \\uAE38\\uC774\\uC758 \\uC120\\uACFC 5\\uD53D\\uC140 \\uAE38\\uC774\\uC758 \\uAC04\\uACA9\",\n table: {\n category: 'Dataset Props',\n type: { summary: 'number[]' },\n },\n },\n 'datasets[n].borderDashOffset': {\n description: \"- \\uC810\\uC120\\uC758 \\uC2DC\\uC791 \\uC704\\uCE58 \\uC870\\uC815\\n - ex) 2: \\uC810\\uC120\\uC758 \\uC2DC\\uC791 \\uC9C0\\uC810\\uC744 2\\uD53D\\uC140 \\uC774\\uB3D9\",\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].offset': {\n description: '각 섹션 사이의 간격 조정',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].weight': {\n description: '각 섹션의 상대적인 두께를 설정, 섹션이 차지하는 공간의 비율을 조정',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n};\nexport var chartDatalabelsArgsTypes = {\n datalabels: {\n table: {\n disable: true,\n },\n },\n 'datalabels.display': {\n description: '차트 데이터 라벨 표시 여부',\n table: {\n category: 'Datalabels Props',\n type: { summary: 'boolean' },\n },\n control: { type: 'boolean' },\n defaultValue: { summary: false },\n },\n 'datalabels.color': {\n description: '차트 데이터 라벨 색상',\n table: {\n category: 'Datalabels Props',\n type: { summary: 'string' },\n },\n control: { type: 'select' },\n options: ['white', 'gray', 'black'],\n defaultValue: { summary: 'gray' },\n },\n};\nexport var blackText = ['sky', 'mint', 'lime', 'yellow', 'amber', 'orange', 'white'];\nexport var primaryColorStyle = function () {\n var color = {};\n for (var i in ColorStyle) {\n var darkColor = \"\".concat(i, \"Dark\");\n color[i] = blackText.includes(i)\n ? \"bg-\".concat(ColorStyle[i], \" text-slate-12 dark:bg-\").concat(DarkColorStyle[darkColor], \" dark:text-slateDark-12\")\n : \"bg-\".concat(ColorStyle[i], \" text-white dark:bg-\").concat(DarkColorStyle[darkColor], \" dark:text-slateDark-1\");\n }\n return color;\n};\nexport var bgColorStyle = function () {\n var color = {};\n for (var i in ColorStyle) {\n var darkColor = \"\".concat(i, \"Dark\");\n color[i] = \"bg-\".concat(ColorStyle[i], \" dark:bg-\").concat(DarkColorStyle[darkColor]);\n }\n return color;\n};\nexport var textColorStyle = function () {\n var color = {};\n for (var i in ColorStyle) {\n var darkColor = \"\".concat(i, \"Dark\");\n color[i] = \"text-\".concat(ColorStyle[i], \" dark:text-\").concat(DarkColorStyle[darkColor]);\n }\n return color;\n};\nexport var borderColorStyle = function () {\n var color = {};\n for (var i in ColorStyle) {\n var darkColor = \"\".concat(i, \"Dark\");\n color[i] = \"border-\".concat(ColorStyle[i], \" dark:border-\").concat(DarkColorStyle[darkColor]);\n }\n return color;\n};\nvar makeClassName = function (type, isClickable) {\n var className = '';\n className += \"\".concat(type.light.default, \" \").concat(type.dark.default);\n if (isClickable) {\n className += \" \".concat(type.light.hover, \" \").concat(type.light.active, \" \").concat(type.light.disable, \" \").concat(type.dark.hover, \" \").concat(type.dark.active, \" \").concat(type.dark.disable);\n }\n return className;\n};\nexport var appearanceStyle = function (type, color, isClickable) {\n if (color === void 0) { color = MAIN_COLOR; }\n if (isClickable === void 0) { isClickable = true; }\n var darkColor = \"\".concat(color, \"Dark\");\n var classic = {\n light: {\n default: \"bg-\".concat(color, \"-9 border border-solid border-\").concat(color, \"-9 shadow-button-classic\"),\n hover: \"hover:bg-\".concat(color, \"-10 hover:border-\").concat(color, \"-9\"),\n active: \"active:bg-\".concat(color, \"-9 active:border-\").concat(color, \"-9\"),\n disable: \"disabled:bg-slateA-3 disabled:border-slate-4 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"-9 dark:border-\").concat(darkColor, \"-9 dark:shadow-button-dark-classic\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"-10 dark:hover:border-\").concat(darkColor, \"-9\"),\n active: \"dark:active:bg-\".concat(darkColor, \"-9 dark:active:border-\").concat(darkColor, \"-9\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:border-slateDark-4 dark:disabled:text-slateDarkA-8\",\n },\n };\n var solid = {\n light: {\n default: \"bg-\".concat(color, \"-9 border-none\"),\n hover: \"hover:bg-\".concat(color, \"-10 hover:border-none\"),\n active: \"active:bg-\".concat(color, \"-10 active:border-none active:opacity-[.92]\"),\n disable: \"disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"-9\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"-10\"),\n active: \"dark:active:bg-\".concat(darkColor, \"-10 dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:text-slateDarkA-8\",\n },\n };\n var soft = {\n light: {\n default: \"bg-\".concat(color, \"A-3 border-none text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-4 hover:border-none hover:text-\").concat(color, \"A-11\"),\n active: \"active:bg-\".concat(color, \"A-5 active:border-none active:text-\").concat(color, \"A-11 active:opacity-[.92]\"),\n disable: \"disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"A-3 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-4 dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-5 dark:active:text-\").concat(darkColor, \"A-11 dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:text-slateDarkA-8\",\n },\n };\n var surface = {\n light: {\n default: \"bg-\".concat(color, \"A-2 border border-solid border-\").concat(color, \"A-7 text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-2 hover:border-\").concat(color, \"A-8 hover:text-\").concat(color, \"A-11\"),\n active: \"active:bg-\".concat(color, \"A-3 active:border-\").concat(color, \"A-8 active:text-\").concat(color, \"A-11 active:opacity-[.92]\"),\n disable: \"disabled:bg-slateA-2 disabled:border-slateA-6 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"A-2 dark:border-\").concat(darkColor, \"A-7 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-2 dark:hover:border-\").concat(darkColor, \"A-8 dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-3 dark:active:border-\").concat(darkColor, \"A-8 dark:active:text-\").concat(darkColor, \"A-11 dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-2 dark:disabled:border-slateDarkA-6 dark:disabled:text-slateDarkA-8\",\n },\n };\n var outline = {\n light: {\n default: \"bg-transparent border border-solid border-\".concat(color, \"A-8 text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-2 hover:border-\").concat(color, \"A-8 hover:text-\").concat(color, \"A-11\"),\n active: \"active:bg-\".concat(color, \"A-3 active:border-\").concat(color, \"A-8 active:text-\").concat(color, \"A-11\"),\n disable: \"disabled:bg-transparent disabled:border-slateA-7 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:border-\".concat(darkColor, \"A-8 dark:bg-transparent dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-2 dark:hover:border-\").concat(darkColor, \"A-8 dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-3 dark:active:border-\").concat(darkColor, \"A-8 dark:active:text-\").concat(darkColor, \"A-11 dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:border-slateDarkA-7 dark:disabled:bg-transparent dark:disabled:text-slateDarkA-8 \",\n },\n };\n var ghost = {\n light: {\n default: \"bg-transparent border-none text-\".concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-3 hover:border-none hover:text-\").concat(color, \"A-11\"),\n active: \"active:bg-\".concat(color, \"A-4 active:border-none active:text-\").concat(color, \"A-11 active:opacity-[.92]\"),\n disable: \"disabled:bg-transparent disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-transparent dark:text-\".concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-3 dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-4 dark:active:text-\").concat(darkColor, \"A-11 dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:text-slateDarkA-8\",\n },\n };\n switch (type) {\n case 'classic':\n return makeClassName(classic, isClickable);\n case 'solid':\n return makeClassName(solid, isClickable);\n case 'soft':\n return makeClassName(soft, isClickable);\n case 'surface':\n return makeClassName(surface, isClickable);\n case 'outline':\n return makeClassName(outline, isClickable);\n case 'ghost':\n return makeClassName(ghost, isClickable);\n default:\n return '';\n }\n};\nexport var toggleAppearanceStyle = function (type, color, isClickable, stateOn) {\n if (color === void 0) { color = MAIN_COLOR; }\n if (isClickable === void 0) { isClickable = true; }\n if (stateOn === void 0) { stateOn = ''; }\n var darkColor = \"\".concat(color, \"Dark\");\n var classic = {\n light: {\n default: \"bg-\".concat(color, \"-9 border border-solid border-\").concat(color, \"-9 text-white shadow-button-classic\"),\n hover: \"hover:bg-\".concat(color, \"-10 hover:border-\").concat(color, \"-9 hover:text-white \").concat(stateOn, \"hover:bg-\").concat(color, \"-10 \").concat(stateOn, \"hover:border-\").concat(color, \"-9 \").concat(stateOn, \"hover:text-white\"),\n active: \"\".concat(stateOn, \"bg-\").concat(color, \"-9 \").concat(stateOn, \"border-\").concat(color, \"-9 \").concat(stateOn, \"text-white\"),\n disable: \"disabled:bg-slateA-3 disabled:border-slate-4 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"-9 dark:border-\").concat(darkColor, \"-9 dark:text-slateDark-1\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"-10 dark:hover:border-\").concat(darkColor, \"-9 dark:hover:text-slateDark-1 dark:\").concat(stateOn, \"hover:bg-\").concat(darkColor, \"-10 dark:\").concat(stateOn, \"hover:border-\").concat(darkColor, \"-9 dark:\").concat(stateOn, \"hover:text-slateDark-1\"),\n active: \"dark:\".concat(stateOn, \"bg-\").concat(darkColor, \"-9 dark:\").concat(stateOn, \"border-\").concat(darkColor, \"-9 dark:\").concat(stateOn, \"text-slateDark-1\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:border-slateDark-4 dark:disabled:text-slateDarkA-8\",\n },\n };\n var solid = {\n light: {\n default: \"bg-\".concat(color, \"-9 border-none text-white\"),\n hover: \"hover:bg-\".concat(color, \"-10 hover:border-none hover:text-white \").concat(stateOn, \"hover:bg-\").concat(color, \"-10 \").concat(stateOn, \"hover:border-none \").concat(stateOn, \"hover:text-white\"),\n active: \"\".concat(stateOn, \"bg-\").concat(color, \"-10 \").concat(stateOn, \"border-none \").concat(stateOn, \"text-white \").concat(stateOn, \"opacity-[.92]\"),\n disable: \"disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"-9 dark:text-slateDark-1\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"-10 dark:hover:text-slateDark-1 dark:\").concat(stateOn, \"hover:bg-\").concat(darkColor, \"-10 dark:\").concat(stateOn, \"hover:text-slateDark-1\"),\n active: \"dark:\".concat(stateOn, \"bg-\").concat(darkColor, \"-10 dark:\").concat(stateOn, \"text-slateDark-1 dark:\").concat(stateOn, \"opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-3 disabled:text-slateDarkA-8\",\n },\n };\n var soft = {\n light: {\n default: \"bg-\".concat(color, \"A-3 border-none text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-4 hover:border-none hover:text-\").concat(color, \"A-11 \").concat(stateOn, \"hover:bg-\").concat(color, \"A-4 \").concat(stateOn, \"hover:border-none \").concat(stateOn, \"hover:text-\").concat(color, \"A-11\"),\n active: \"\".concat(stateOn, \"bg-\").concat(color, \"A-5 \").concat(stateOn, \"border-none \").concat(stateOn, \"text-\").concat(color, \"A-11 \").concat(stateOn, \"opacity-[.92]\"),\n disable: \"disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"A-3 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-4 dark:hover:text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"hover:bg-\").concat(darkColor, \"A-4 dark:\").concat(stateOn, \"hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:\".concat(stateOn, \"bg-\").concat(darkColor, \"A-5 dark:\").concat(stateOn, \"text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:text-slateDarkA-8\",\n },\n };\n var surface = {\n light: {\n default: \"bg-\".concat(color, \"A-2 border border-solid border-\").concat(color, \"A-7 text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-2 hover:border-\").concat(color, \"A-8 hover:text-\").concat(color, \"A-11 \").concat(stateOn, \"hover:bg-\").concat(color, \"A-2 \").concat(stateOn, \"hover:border-\").concat(color, \"A-8 \").concat(stateOn, \"hover:text-\").concat(color, \"A-11\"),\n active: \"\".concat(stateOn, \"bg-\").concat(color, \"A-3 \").concat(stateOn, \"border-\").concat(color, \"A-8 \").concat(stateOn, \"text-\").concat(color, \"A-11 \").concat(stateOn, \"opacity-[.92]\"),\n disable: \"disabled:bg-slatDarkeA-2 disabled:border-slateDarkA-6 disabled:text-slateDarkA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"A-2 dark:border-\").concat(darkColor, \"A-7 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-2 dark:hover:border-\").concat(darkColor, \"A-8 dark:hover:text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"hover:bg-\").concat(darkColor, \"A-2 dark:\").concat(stateOn, \"hover:border-\").concat(darkColor, \"A-8 dark:\").concat(stateOn, \"hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:\".concat(stateOn, \"bg-\").concat(darkColor, \"A-3 dark:\").concat(stateOn, \"border-\").concat(darkColor, \"A-8 dark:\").concat(stateOn, \"text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-2 dark:disabled:border-slateDarkA-6 dark:disabled:text-slateDarkA-8\",\n },\n };\n var outline = {\n light: {\n default: \"bg-transparent border border-solid border-\".concat(color, \"A-8 text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-2 hover:border-\").concat(color, \"A-8 hover:text-\").concat(color, \"A-11 \").concat(stateOn, \"hover:bg-\").concat(color, \"A-2 \").concat(stateOn, \"hover:border-\").concat(color, \"A-8 \").concat(stateOn, \"hover:text-\").concat(color, \"A-11\"),\n active: \"\".concat(stateOn, \"bg-\").concat(color, \"A-3 \").concat(stateOn, \"border-\").concat(color, \"A-8 \").concat(stateOn, \"text-\").concat(color, \"A-11\"),\n disable: \"disabled:bg-transparent disabled:border-slateA-7 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:border-\".concat(darkColor, \"A-8 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-2 dark:hover:border-\").concat(darkColor, \"A-8 dark:hover:text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"hover:bg-\").concat(darkColor, \"A-2 dark:\").concat(stateOn, \"hover:border-\").concat(darkColor, \"A-8 dark:\").concat(stateOn, \"hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:\".concat(stateOn, \"bg-\").concat(darkColor, \"A-3 dark:\").concat(stateOn, \"border-\").concat(darkColor, \"A-8 dark:\").concat(stateOn, \"text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"opacity-[.92]\"),\n disable: \"dark:disabled:border-slateDarkA-7 dark:disabled:text-slateDarkA-8\",\n },\n };\n var ghost = {\n light: {\n default: \"bg-transparent border-none text-\".concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-3 hover:border-none hover:text-\").concat(color, \"A-11 \").concat(stateOn, \"hover:bg-\").concat(color, \"A-3 \").concat(stateOn, \"hover:border-none \").concat(stateOn, \"hover:text-\").concat(color, \"A-11\"),\n active: \"\".concat(stateOn, \"bg-\").concat(color, \"A-4 \").concat(stateOn, \"border-none \").concat(stateOn, \"text-\").concat(color, \"A-11 \").concat(stateOn, \"opacity-[.92]\"),\n disable: \"disabled:bg-transparent disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-transparent dark:text-\".concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-3 dark:hover:text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"hover:bg-\").concat(darkColor, \"A-3 dark:\").concat(stateOn, \"hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:\".concat(stateOn, \"bg-\").concat(darkColor, \"A-4 dark:\").concat(stateOn, \"text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"opacity-[.92]\"),\n disable: \"dark:disabled:text-slateDarkA-8\",\n },\n };\n switch (type) {\n case 'classic':\n return makeClassName(classic, isClickable);\n case 'solid':\n return makeClassName(solid, isClickable);\n case 'soft':\n return makeClassName(soft, isClickable);\n case 'surface':\n return makeClassName(surface, isClickable);\n case 'outline':\n return makeClassName(outline, isClickable);\n case 'ghost':\n return makeClassName(ghost, isClickable);\n default:\n return '';\n }\n};\nexport var menuItemAppearanceStyle = function (type, color) {\n if (color === void 0) { color = MAIN_COLOR; }\n var appearanceStyle = '';\n if (type === 'solid') {\n appearanceStyle = \"hover:bg-\".concat(color, \"-9 dark:hover:bg-\").concat(color, \"Dark-9 \");\n appearanceStyle += blackText.includes(color)\n ? \"hover:text-slateA-11 dark:hover:text-white\"\n : \"hover:text-white dark:hover:text-white\";\n }\n if (type === 'soft') {\n appearanceStyle = \"hover:bg-\".concat(color, \"A-4 dark:hover-bg-\").concat(color, \"DarkA-4\");\n }\n if (type === 'ghost') {\n appearanceStyle = \"hover:bg-\".concat(color, \"-3 dark:hover:bg-\").concat(color, \"Dark-3\");\n }\n return appearanceStyle;\n};\nexport var checkboxAppearanceStyle = function (type, color, indeterminate) {\n if (color === void 0) { color = MAIN_COLOR; }\n var darkColor = \"\".concat(color, \"Dark\");\n var surface = {\n light: {\n default: \"border data-[state=unchecked]:bg-transparent data-[state=unchecked]:border-slateA-7\\n data-[state=checked]:bg-\".concat(color, \"-9 data-[state=checked]:border-none data-[state=checked]:text-slate-1\"),\n hover: \"hover:data-[state=unchecked]:bg-transparent hover:data-[state=unchecked]:border-slateA-8\\n hover:data-[state=checked]:bg-\".concat(color, \"-10 hover:data-[state=checked]:border-none hover:data-[state=checked]:text-white\"),\n active: \"active:data-[state=unchecked]:bg-transparent active:data-[state=unchecked]:border-slateA-9\\n active:data-[state=checked]:bg-\".concat(color, \"-10 active:data-[state=checked]:border-none active:data-[state=checked]:text-white\"),\n disable: \"disabled:data-[state=unchecked]:bg-slateA-3 disabled:data-[state=unchecked]:border-slateA-6\\n disabled:data-[state=checked]:bg-slateA-3 disabled:data-[state=checked]:border-slateA-6 disabled:data-[state=checked]:text-slateA-8\",\n },\n dark: {\n default: \"dark:data-[state=unchecked]:border-slateDarkA-7\\n dark:data-[state=checked]:bg-\".concat(darkColor, \"-9 dark:data-[state=checked]:text-#111113\"),\n hover: \"dark:hover:data-[state=unchecked]:border-slateDarkA-8\\n dark:hover:data-[state=checked]:bg-\".concat(darkColor, \"-10 dark:hover:data-[state=checked]:text-#111113\"),\n active: \"dark:active:data-[state=unchecked]:border-slateDarkA-9\\n dark:active:data-[state=checked]:bg-\".concat(darkColor, \"-10 dark:active:data-[state=checked]:text-#111113\"),\n disable: \"dark:disabled:data-[state=unchecked]:bg-slateDarkA-3 dark:disabled:data-[state=unchecked]:border-slateDarkA-6\\n dark:disabled:data-[state=checked]:bg-slateDarkA-3 dark:disabled:data-[state=checked]:border-slateDarkA-6 dark:disabled:data-[state=checked]:text-slateDarkA-8\",\n },\n };\n var soft = {\n light: {\n default: \"data-[state=unchecked]:bg-\".concat(color, \"A-5 data-[state=unchecked]:border-none\\n data-[state=checked]:bg-\").concat(color, \"A-5 data-[state=checked]:border-none data-[state=checked]:text-\").concat(color, \"-11\"),\n hover: \"hover:data-[state=unchecked]:bg-\".concat(color, \"A-6 hover:data-[state=unchecked]:border-none\\n hover:data-[state=checked]:bg-\").concat(color, \"A-6 hover:data-[state=checked]:border-none hover:data-[state=checked]:text-\").concat(color, \"-11\"),\n active: \"active:data-[state=unchecked]:bg-\".concat(color, \"A-7 active:data-[state=unchecked]:border-none\\n active:data-[state=checked]:bg-\").concat(color, \"A-7 active:data-[state=checked]:border-none active:data-[state=checked]:text-\").concat(color, \"-11\"),\n disable: \"disabled:data-[state=unchecked]:bg-slateA-3 disabled:data-[state=unchecked]:border-none\\n disabled:data-[state=checked]:bg-slateA-3 disabled:data-[state=checked]:border-none disabled:data-[state=checked]:text-slateA-8\",\n },\n dark: {\n default: \"dark:data-[state=unchecked]:bg-\".concat(darkColor, \"A-5\\n dark:data-[state=checked]:bg-\").concat(darkColor, \"A-5 dark:data-[state=checked]:text-\").concat(darkColor, \"-11\"),\n hover: \"dark:hover:data-[state=unchecked]:bg-\".concat(darkColor, \"A-6\\n dark:hover:data-[state=checked]:bg-\").concat(darkColor, \"A-6 dark:hover:data-[state=checked]:text-\").concat(darkColor, \"-11\"),\n active: \"dark:active:data-[state=unchecked]:bg-\".concat(darkColor, \"A-7\\n dark:active:data-[state=checked]:bg-\").concat(darkColor, \"A-7 dark:active:data-[state=checked]:text-\").concat(darkColor, \"-11\"),\n disable: \"dark:disabled:data-[state=unchecked]:bg-slateDarkA-3\\n dark:disabled:data-[state=checked]:bg-slateDarkA-3 dark:disabled:data-[state=checked]:text-slateDarkA-8\",\n },\n };\n var indeterminateSurface = {\n light: {\n default: \"border bg-\".concat(color, \"A-2 border-\").concat(color, \"A-7 text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-2 hover:border-\").concat(color, \"A-8 hover:text-\").concat(color, \"A-11\"),\n active: \"active:bg-\".concat(color, \"A-3 active:border-\").concat(color, \"A-8 active:text-\").concat(color, \"A-11\"),\n disable: \"disabled:bg-slateA-3 disabled:border-slateA-6 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"A-2 dark:border-\").concat(darkColor, \"A-7 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-2 dark:hover:border-\").concat(darkColor, \"A-8 dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-3 dark:active:border-\").concat(darkColor, \"A-8 dark:active:text-\").concat(darkColor, \"A-11\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:border-slateDarkA-6 dark:disabled:text-slateDarkA-8\",\n },\n };\n var indeterminateSoft = {\n light: {\n default: \"border bg-transparent border-\".concat(color, \"A-6 text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-transparent hover:border-\".concat(color, \"A-6 hover:text-\").concat(color, \"A-11\"),\n active: \"active:bg-transparent active:border-\".concat(color, \"A-6 active:text-\").concat(color, \"A-11\"),\n disable: \"disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:border-\".concat(darkColor, \"A-6 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:border-\".concat(darkColor, \"A-6 dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:active:border-\".concat(darkColor, \"A-6 dark:active:text-\").concat(darkColor, \"A-11\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:text-slateDarkA-8\",\n },\n };\n switch (type) {\n case 'classic':\n return indeterminate\n ? makeClassName(indeterminateSurface, true)\n : \"\".concat(makeClassName(surface, true), \" data-[state=checked]:shadow-checkbox-classic data-[state=unchecked]:shadow-checkbox-classic\\n dark:data-[state=checked]:shadow-checkbox-classic dark:data-[state=unchecked]:shadow-checkbox-classic\");\n case 'soft':\n return indeterminate ? makeClassName(indeterminateSoft, true) : makeClassName(soft, true);\n case 'surface':\n return indeterminate\n ? makeClassName(indeterminateSurface, true)\n : makeClassName(surface, true);\n default:\n return makeClassName(surface, true);\n }\n};\nexport var selectAppearanceStyle = function (type, color) {\n var darkColor = \"\".concat(color, \"Dark\");\n var surface = {\n light: {\n default: \"bg-[#FFFFFF] border border-slateA-7 data-placeholder:text-slateA-10 text-slateA-12\",\n hover: \"hover:bg-[#FFFFFF] hover:border hover:border-slateA-8 hover:text-slateA-10\",\n active: \"active:bg-\".concat(color, \"A-3 active:border-\").concat(color, \"A-8 active:text-slateA-10 active:opacity-[.92]\"),\n disable: \"disabled:bg-slateA-2 disabled:border-slateA-6 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-[#111113] dark:border dark:data-placeholder:border-slateDarkA-7 dark:data-placeholder:text-slateDarkA-9 dark:border-slateDarkA-7 dark:text-slateDarkA-12\",\n hover: \"dark:hover:bg-[#111113] dark:hover:border dark:hover:border-slateDarkA-8 dark:hover:text-slateDarkA-10\",\n active: \"dark:active:bg-\".concat(darkColor, \"A-3 dark:active:border dark:active:border-\").concat(darkColor, \"A-8 dark:active:text-slateDarkA-10 dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-2 dark:disabled:border dark:disabled:border-slateDarkA-6 dark:disabled:text-slateDarkA-8\",\n },\n };\n var classic = {\n light: {\n default: \"bg-slateA-2 border border-slate-4 data-placeholder:text-slateA-10 text-slateA-12\",\n hover: \"hover:bg-slateA-3 hover:border hover:border-slate-4 hover:text-slateA-10\",\n active: \"active:bg-slateA-4 active:border active:border-slate-6 active:text-slateA-10\",\n disable: \"disabled:bg-slateA-3 disabled:border disabled:border-slate-4 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-slateDarkA-2 dark:border-slateDark-4 dark:data-placeholder:text-slateDarkA-10 dark:text-slateDarkA-12\",\n hover: \"dark:hover:bg-slateDarkA-3 dark:hover:border-slateDark-4 dark:hover:text-slateDarkA-10\",\n active: \"dark:active:bg-slateDarkA-4 dark:active:border-slateDark-6 dark:active:text-slateDarkA-10\",\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:border-slateDark-4 dark:disabled:text-slateDarkA-8\",\n },\n };\n var soft = {\n light: {\n default: \"bg-\".concat(color, \"A-3 border-none data-placeholder:text-\").concat(color, \"A-12/[.5] text-\").concat(color, \"A-12\"),\n hover: \"hover:bg-\".concat(color, \"A-4 hover:border-none hover:text-\").concat(color, \"A-12/[.5]\"),\n active: \"active:bg-\".concat(color, \"A-5 active:border-none active:text-\").concat(color, \"A-12/[.5] active:opacity-[.92]\"),\n disable: \"disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"A-3 dark:border-none dark:data-placeholder:text-\").concat(darkColor, \"A-12/[.5] dark:text-\").concat(darkColor, \"A-12 \"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-4 dark:hover:border-none dark:hover:text-\").concat(darkColor, \"A-12/[.5]\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-5 dark:active:border-none dark:active:text-\").concat(darkColor, \"A-12/[.5] dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:border-none dark:disabled:text-slateDarkA-8\",\n },\n };\n var ghost = {\n light: {\n default: \"bg-transparent border-none data-placeholder:text-\".concat(color, \"A-12/[.5] text-\").concat(color, \"A-12\"),\n hover: \"hover:bg-\".concat(color, \"A-3 hover:border-none hover:text-\").concat(color, \"A-1/[.5]\"),\n active: \"active:bg-\".concat(color, \"A-4 active:border-none active:text-\").concat(color, \"A-12/[.5] active:opacity-[.92]\"),\n disable: \"disabled:bg-transparent disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-transparent dark:border-none dark:data-placeholder:text-\".concat(darkColor, \"A-12/[.5] dark:text-\").concat(darkColor, \"A-12\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-3 dark:hover:border-none dark:hover:text-\").concat(darkColor, \"A-12/[.5]\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-4 dark:active:border-none dark:active:text-\").concat(darkColor, \"A-12/[.5] dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:text-slateDarkA-8 dark:disabled:border-none\",\n },\n };\n var makeClassName = function (type) {\n var className = '';\n className += \"\".concat(type.light.default, \" \").concat(type.dark.default, \" \").concat(type.light.hover, \" \").concat(type.light.active, \" \").concat(type.light.disable, \" \").concat(type.dark.hover, \" \").concat(type.dark.active, \" \").concat(type.dark.disable);\n return className;\n };\n switch (type) {\n case 'classic':\n return makeClassName(classic);\n case 'soft':\n return makeClassName(soft);\n case 'surface':\n return makeClassName(surface);\n case 'ghost':\n return makeClassName(ghost);\n default:\n return '';\n }\n};\n"],"names":["radiusVariants","small","none","medium","large","full","base","weightVariants","regular","semibold","bold","scalingVariants","blackText","primaryColorStyle","color","i","ColorStyle","darkColor","concat","includes","DarkColorStyle","bgColorStyle","textColorStyle","makeClassName","type","isClickable","className","light","default","dark","hover","active","disable","appearanceStyle","MAIN_COLOR","classic","solid","soft","surface","outline","ghost","toggleAppearanceStyle","stateOn","menuItemAppearanceStyle","checkbo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BI,OAAOJ,EAAO,QAC5GgB,MAAO,YAAYZ,OAAOJ,EAAO,qCAAqCI,OAAOJ,EAAO,YACpFiB,OAAQ,aAAab,OAAOJ,EAAO,uCAAuCI,OAAOJ,EAAO,kCACxFkB,QAAS,uEAEbH,KAAM,CACFD,QAAS,mEAAmEV,OAAOD,EAAW,wBAAwBC,OAAOD,EAAW,QACxIa,MAAO,iBAAiBZ,OAAOD,EAAW,+CAA+CC,OAAOD,EAAW,aAC3Gc,OAAQ,kBAAkBb,OAAOD,EAAW,iDAAiDC,OAAOD,EAAW,uCAC/Ge,QAAS,8DAGbT,EAAgB,SAAUC,GAC1B,IAAIE,EAAY,GAEhB,OADAA,GAAa,GAAGR,OAAOM,EAAKG,MAAMC,QAAS,KAAKV,OAAOM,EAAKK,KAAKD,QAAS,MAAMV,OAAOM,EAAKG,MAAMG,MAAO,KAAKZ,OAAOM,EAAKG,MAAMI,OAAQ,KAAKb,OAAOM,EAAKG,MAAMK,QAAS,KAAKd,OAAOM,EAAKK,KAAKC,MAAO,KAAKZ,OAAOM,EAAKK,KAAKE,OAAQ,KAAKb,OAAOM,EAAKK,KAAKG,QAEjQ,EACI,OAAQR,GACJ,IAAK,UACD,OAAOD,EAjDD,CACVI,MAAO,CACHC,QAAS,mFACTE,MAAO,2EACPC,OAAQ,+EACRC,QAAS,uFAEbH,KAAM,CACFD,QAAS,gHACTE,MAAO,yFACPC,OAAQ,4FACRC,QAAS,oGAuCb,IAAK,OACD,OAAOT,EAAcc,GACzB,IAAK,UACD,OAAOd,EAAce,GACzB,IAAK,QACD,OAAOf,EAAciB,GACzB,QACI,MAAO,GAEnB"}
@@ -1,2 +1,2 @@
1
- export{default as Accordion}from"./components/Accordion/index.mjs";export{default as AlertDialog}from"./components/AlertDialog/index.mjs";export{default as AspectRatio}from"./components/AspectRatio/index.mjs";export{default as Avatar}from"./components/Avatar/index.mjs";export{default as Badge}from"./components/Badge/index.mjs";export{default as Breadcrumb}from"./components/Breadcrumb/index.mjs";export{Button}from"./components/Button/index.mjs";export{default as Callout}from"./components/Callout/index.mjs";export{default as Card}from"./components/Card/index.mjs";export{Checkbox}from"./components/Checkbox/index.mjs";export{default as CheckboxCard}from"./components/CheckboxCard/index.mjs";export{default as CheckboxGroup}from"./components/CheckboxGroup/index.mjs";export{default as ContextMenu}from"./components/ContextMenu/index.mjs";export{default as Collapsible}from"./components/Collapsible/index.mjs";export{default as DataList}from"./components/DataList/index.mjs";export{default as Dialog}from"./components/Dialog/index.mjs";export{default as DropdownMenu}from"./components/DropdownMenu/index.mjs";export{Editor}from"./components/Editor/index.mjs";export{Footer}from"./components/Footer/index.mjs";export{default as Gnb}from"./components/Gnb/index.mjs";export{default as HoverCard}from"./components/HoverCard/index.mjs";export{IconButton}from"./components/IconButton/index.mjs";export{Inset}from"./components/Inset/index.mjs";export{Label}from"./components/Label/index.mjs";export{default as Menubar}from"./components/Menubar/index.mjs";export{default as NavigationMenu}from"./components/NavigationMenu/index.mjs";export{default as Popover}from"./components/Popover/index.mjs";export{Progress}from"./components/Progress/index.mjs";export{Radio}from"./components/Radio/index.mjs";export{default as RadioCards}from"./components/RadioCards/index.mjs";export{default as RadioGroup}from"./components/RadioGroup/index.mjs";export{ScrollArea}from"./components/ScrollArea/index.mjs";export{default as SegmentedControl}from"./components/SegmentedControl/index.mjs";export{default as Select}from"./components/Select/index.mjs";export{Separator}from"./components/Separator/index.mjs";export{Skeleton}from"./components/Skeleton/index.mjs";export{Slider}from"./components/Slider/index.mjs";export{Spinner}from"./components/Spinner/index.mjs";export{default as Table}from"./components/Table/index.mjs";export{default as TabNav}from"./components/TabNav/index.mjs";export{default as Tabs}from"./components/Tabs/index.mjs";export{TextArea}from"./components/TextArea/index.mjs";export{default as TextField}from"./components/TextField/index.mjs";export{default as Toast}from"./components/Toast/index.mjs";export{Toggle}from"./components/Toggle/index.mjs";export{ToggleWithText}from"./components/Toggle/ToggleWithText.mjs";export{default as ToggleGroup}from"./components/ToggleGroup/index.mjs";export{ToggleSwitch}from"./components/ToggleSwitch/index.mjs";export{default as Tooltip}from"./components/Tooltip/index.mjs";export{default as BarChart}from"./components/BarChart/index.mjs";export{BubbleChart}from"./components/BubbleChart/index.mjs";export{RadarChart}from"./components/RadarChart/index.mjs";export{default as LineChart}from"./components/LineChart/index.mjs";export{default as PieChart}from"./components/PieChart/index.mjs";export{default as DoughnutChart}from"./components/DoughnutChart/index.mjs";export{default as Grid}from"./components/Grid/index.mjs";export{useGrid}from"./components/Grid/useGrid.mjs";export{Header}from"./Typography/Header/index.mjs";export{Text}from"./Typography/Text/index.mjs";export{default as LuiThemeProvider,useTheme}from"./theme/ThemeProvider.mjs";
1
+ export{default as Accordion}from"./components/Accordion/index.mjs";export{default as AlertDialog}from"./components/AlertDialog/index.mjs";export{default as AspectRatio}from"./components/AspectRatio/index.mjs";export{default as Avatar}from"./components/Avatar/index.mjs";export{default as Badge}from"./components/Badge/index.mjs";export{default as Breadcrumb}from"./components/Breadcrumb/index.mjs";export{Button}from"./components/Button/index.mjs";export{default as Callout}from"./components/Callout/index.mjs";export{default as Card}from"./components/Card/index.mjs";export{Checkbox}from"./components/Checkbox/index.mjs";export{default as CheckboxCard}from"./components/CheckboxCard/index.mjs";export{default as CheckboxGroup}from"./components/CheckboxGroup/index.mjs";export{default as ContextMenu}from"./components/ContextMenu/index.mjs";export{default as Collapsible}from"./components/Collapsible/index.mjs";export{default as DataList}from"./components/DataList/index.mjs";export{default as Dialog}from"./components/Dialog/index.mjs";export{default as DropdownMenu}from"./components/DropdownMenu/index.mjs";export{Footer}from"./components/Footer/index.mjs";export{default as Gnb}from"./components/Gnb/index.mjs";export{default as HoverCard}from"./components/HoverCard/index.mjs";export{IconButton}from"./components/IconButton/index.mjs";export{Inset}from"./components/Inset/index.mjs";export{Label}from"./components/Label/index.mjs";export{default as Menubar}from"./components/Menubar/index.mjs";export{default as NavigationMenu}from"./components/NavigationMenu/index.mjs";export{default as Popover}from"./components/Popover/index.mjs";export{Progress}from"./components/Progress/index.mjs";export{Radio}from"./components/Radio/index.mjs";export{default as RadioCards}from"./components/RadioCards/index.mjs";export{default as RadioGroup}from"./components/RadioGroup/index.mjs";export{ScrollArea}from"./components/ScrollArea/index.mjs";export{default as SegmentedControl}from"./components/SegmentedControl/index.mjs";export{default as Select}from"./components/Select/index.mjs";export{Separator}from"./components/Separator/index.mjs";export{Skeleton}from"./components/Skeleton/index.mjs";export{Slider}from"./components/Slider/index.mjs";export{Spinner}from"./components/Spinner/index.mjs";export{default as Table}from"./components/Table/index.mjs";export{default as TabNav}from"./components/TabNav/index.mjs";export{default as Tabs}from"./components/Tabs/index.mjs";export{TextArea}from"./components/TextArea/index.mjs";export{default as TextField}from"./components/TextField/index.mjs";export{default as Toast}from"./components/Toast/index.mjs";export{Toggle}from"./components/Toggle/index.mjs";export{ToggleWithText}from"./components/Toggle/ToggleWithText.mjs";export{default as ToggleGroup}from"./components/ToggleGroup/index.mjs";export{ToggleSwitch}from"./components/ToggleSwitch/index.mjs";export{default as Tooltip}from"./components/Tooltip/index.mjs";export{default as BarChart}from"./components/BarChart/index.mjs";export{BubbleChart}from"./components/BubbleChart/index.mjs";export{RadarChart}from"./components/RadarChart/index.mjs";export{default as LineChart}from"./components/LineChart/index.mjs";export{default as PieChart}from"./components/PieChart/index.mjs";export{default as DoughnutChart}from"./components/DoughnutChart/index.mjs";export{default as Grid}from"./components/Grid/index.mjs";export{useGrid}from"./components/Grid/useGrid.mjs";export{Header}from"./Typography/Header/index.mjs";export{Text}from"./Typography/Text/index.mjs";export{default as LuiThemeProvider,useTheme}from"./theme/ThemeProvider.mjs";
2
2
  //# sourceMappingURL=index.mjs.map
@@ -0,0 +1,3 @@
1
+ import type { Config } from 'tailwindcss';
2
+ declare const config: Config;
3
+ export default config;