@lotte-innovate/ui-component-test 0.2.26 → 0.2.28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. package/dist/globals.css +3 -3
  2. package/dist/lib/components/Calendar/index.js +1 -1
  3. package/dist/lib/components/Datepicker/index.js +1 -1
  4. package/dist/lib/components/Dialog/DialogAction.js +3 -2
  5. package/dist/lib/components/Dialog/DialogCancel.js +2 -1
  6. package/dist/lib/components/Modal/ModalAction.d.ts +2 -0
  7. package/dist/lib/components/Modal/ModalAction.js +30 -0
  8. package/dist/lib/components/Modal/ModalCancel.d.ts +2 -0
  9. package/dist/lib/components/Modal/ModalCancel.js +30 -0
  10. package/dist/lib/components/Modal/ModalContent.d.ts +7 -0
  11. package/dist/lib/components/Modal/ModalContent.js +47 -0
  12. package/dist/lib/components/Modal/ModalDescription.d.ts +5 -0
  13. package/dist/lib/components/Modal/ModalDescription.js +46 -0
  14. package/dist/lib/components/Modal/ModalFooter.d.ts +2 -0
  15. package/dist/lib/components/Modal/ModalFooter.js +30 -0
  16. package/dist/lib/components/Modal/ModalRoot.d.ts +16 -0
  17. package/dist/lib/components/Modal/ModalRoot.js +34 -0
  18. package/dist/lib/components/Modal/ModalTitle.d.ts +5 -0
  19. package/dist/lib/components/Modal/ModalTitle.js +32 -0
  20. package/dist/lib/components/Modal/ModalTrigger.d.ts +2 -0
  21. package/dist/lib/components/Modal/ModalTrigger.js +30 -0
  22. package/dist/lib/components/Modal/index.d.ts +15 -0
  23. package/dist/lib/components/Modal/index.js +19 -0
  24. package/dist/lib/components/SideBar/index.js +31 -2
  25. package/dist/lib/components/Tabs/DynamicTabs.js +1 -0
  26. package/dist/lib/components/Tabs/index.d.ts +2 -2
  27. package/dist/lib/components/index.d.ts +1 -0
  28. package/dist/lib/components/index.js +1 -0
  29. package/dist/lib/dist/lib/color/alpha.mjs +1 -1
  30. package/dist/lib/dist/lib/color/alpha.mjs.map +1 -1
  31. package/dist/lib/dist/lib/components/Calendar/index.mjs +1 -1
  32. package/dist/lib/dist/lib/components/Datepicker/index.mjs +1 -1
  33. package/dist/lib/dist/lib/components/Dialog/DialogAction.mjs +1 -1
  34. package/dist/lib/dist/lib/components/Dialog/DialogCancel.mjs +1 -1
  35. package/dist/lib/dist/lib/components/Modal/ModalAction.mjs +2 -0
  36. package/dist/lib/dist/lib/components/Modal/ModalAction.mjs.map +1 -0
  37. package/dist/lib/dist/lib/components/Modal/ModalCancel.mjs +2 -0
  38. package/dist/lib/dist/lib/components/Modal/ModalCancel.mjs.map +1 -0
  39. package/dist/lib/dist/lib/components/Modal/ModalContent.mjs +2 -0
  40. package/dist/lib/dist/lib/components/Modal/ModalContent.mjs.map +1 -0
  41. package/dist/lib/dist/lib/components/Modal/ModalDescription.mjs +2 -0
  42. package/dist/lib/dist/lib/components/Modal/ModalDescription.mjs.map +1 -0
  43. package/dist/lib/dist/lib/components/Modal/ModalFooter.mjs +2 -0
  44. package/dist/lib/dist/lib/components/Modal/ModalFooter.mjs.map +1 -0
  45. package/dist/lib/dist/lib/components/Modal/ModalRoot.mjs +2 -0
  46. package/dist/lib/dist/lib/components/Modal/ModalRoot.mjs.map +1 -0
  47. package/dist/lib/dist/lib/components/Modal/ModalTitle.mjs +2 -0
  48. package/dist/lib/dist/lib/components/Modal/ModalTitle.mjs.map +1 -0
  49. package/dist/lib/dist/lib/components/Modal/ModalTrigger.mjs +2 -0
  50. package/dist/lib/dist/lib/components/Modal/ModalTrigger.mjs.map +1 -0
  51. package/dist/lib/dist/lib/components/Modal/index.mjs +2 -0
  52. package/dist/lib/dist/lib/components/Modal/index.mjs.map +1 -0
  53. package/dist/lib/dist/lib/components/SideBar/index.mjs +1 -1
  54. package/dist/lib/dist/lib/components/Tabs/DynamicTabs.mjs +1 -0
  55. package/dist/lib/dist/lib/components/Tabs/DynamicTabs.mjs.map +1 -1
  56. package/dist/lib/dist/lib/index.mjs +1 -1
  57. package/dist/lib/node_modules/date-fns/esm/locale/en-US/index.mjs.map +1 -1
  58. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  59. package/dist/tsconfig.tsbuildinfo +1 -1
  60. package/package.json +1 -1
  61. package/dist/lib/node_modules/date-fns/esm/addDays/index.mjs +0 -2
  62. package/dist/lib/node_modules/date-fns/esm/addDays/index.mjs.map +0 -1
  63. package/dist/lib/node_modules/date-fns/esm/addMonths/index.mjs +0 -2
  64. package/dist/lib/node_modules/date-fns/esm/addMonths/index.mjs.map +0 -1
  65. package/dist/lib/node_modules/date-fns/esm/addWeeks/index.mjs +0 -2
  66. package/dist/lib/node_modules/date-fns/esm/addWeeks/index.mjs.map +0 -1
  67. package/dist/lib/node_modules/date-fns/esm/addYears/index.mjs +0 -2
  68. package/dist/lib/node_modules/date-fns/esm/addYears/index.mjs.map +0 -1
  69. package/dist/lib/node_modules/date-fns/esm/differenceInCalendarDays/index.mjs +0 -2
  70. package/dist/lib/node_modules/date-fns/esm/differenceInCalendarDays/index.mjs.map +0 -1
  71. package/dist/lib/node_modules/date-fns/esm/differenceInCalendarMonths/index.mjs +0 -2
  72. package/dist/lib/node_modules/date-fns/esm/differenceInCalendarMonths/index.mjs.map +0 -1
  73. package/dist/lib/node_modules/date-fns/esm/differenceInCalendarWeeks/index.mjs +0 -2
  74. package/dist/lib/node_modules/date-fns/esm/differenceInCalendarWeeks/index.mjs.map +0 -1
  75. package/dist/lib/node_modules/date-fns/esm/endOfISOWeek/index.mjs +0 -2
  76. package/dist/lib/node_modules/date-fns/esm/endOfISOWeek/index.mjs.map +0 -1
  77. package/dist/lib/node_modules/date-fns/esm/endOfMonth/index.mjs +0 -2
  78. package/dist/lib/node_modules/date-fns/esm/endOfMonth/index.mjs.map +0 -1
  79. package/dist/lib/node_modules/date-fns/esm/endOfWeek/index.mjs +0 -2
  80. package/dist/lib/node_modules/date-fns/esm/endOfWeek/index.mjs.map +0 -1
  81. package/dist/lib/node_modules/date-fns/esm/getDaysInMonth/index.mjs +0 -2
  82. package/dist/lib/node_modules/date-fns/esm/getDaysInMonth/index.mjs.map +0 -1
  83. package/dist/lib/node_modules/date-fns/esm/getISOWeek/index.mjs +0 -2
  84. package/dist/lib/node_modules/date-fns/esm/getISOWeek/index.mjs.map +0 -1
  85. package/dist/lib/node_modules/date-fns/esm/getISOWeekYear/index.mjs +0 -2
  86. package/dist/lib/node_modules/date-fns/esm/getISOWeekYear/index.mjs.map +0 -1
  87. package/dist/lib/node_modules/date-fns/esm/getTime/index.mjs +0 -2
  88. package/dist/lib/node_modules/date-fns/esm/getTime/index.mjs.map +0 -1
  89. package/dist/lib/node_modules/date-fns/esm/getUnixTime/index.mjs +0 -2
  90. package/dist/lib/node_modules/date-fns/esm/getUnixTime/index.mjs.map +0 -1
  91. package/dist/lib/node_modules/date-fns/esm/getWeek/index.mjs +0 -2
  92. package/dist/lib/node_modules/date-fns/esm/getWeek/index.mjs.map +0 -1
  93. package/dist/lib/node_modules/date-fns/esm/getWeekYear/index.mjs +0 -2
  94. package/dist/lib/node_modules/date-fns/esm/getWeekYear/index.mjs.map +0 -1
  95. package/dist/lib/node_modules/date-fns/esm/getWeeksInMonth/index.mjs +0 -2
  96. package/dist/lib/node_modules/date-fns/esm/getWeeksInMonth/index.mjs.map +0 -1
  97. package/dist/lib/node_modules/date-fns/esm/isAfter/index.mjs +0 -2
  98. package/dist/lib/node_modules/date-fns/esm/isAfter/index.mjs.map +0 -1
  99. package/dist/lib/node_modules/date-fns/esm/isBefore/index.mjs +0 -2
  100. package/dist/lib/node_modules/date-fns/esm/isBefore/index.mjs.map +0 -1
  101. package/dist/lib/node_modules/date-fns/esm/isSameDay/index.mjs +0 -2
  102. package/dist/lib/node_modules/date-fns/esm/isSameDay/index.mjs.map +0 -1
  103. package/dist/lib/node_modules/date-fns/esm/isSameMonth/index.mjs +0 -2
  104. package/dist/lib/node_modules/date-fns/esm/isSameMonth/index.mjs.map +0 -1
  105. package/dist/lib/node_modules/date-fns/esm/isSameYear/index.mjs +0 -2
  106. package/dist/lib/node_modules/date-fns/esm/isSameYear/index.mjs.map +0 -1
  107. package/dist/lib/node_modules/date-fns/esm/lastDayOfMonth/index.mjs +0 -2
  108. package/dist/lib/node_modules/date-fns/esm/lastDayOfMonth/index.mjs.map +0 -1
  109. package/dist/lib/node_modules/date-fns/esm/max/index.mjs +0 -2
  110. package/dist/lib/node_modules/date-fns/esm/max/index.mjs.map +0 -1
  111. package/dist/lib/node_modules/date-fns/esm/min/index.mjs +0 -2
  112. package/dist/lib/node_modules/date-fns/esm/min/index.mjs.map +0 -1
  113. package/dist/lib/node_modules/date-fns/esm/setMonth/index.mjs +0 -2
  114. package/dist/lib/node_modules/date-fns/esm/setMonth/index.mjs.map +0 -1
  115. package/dist/lib/node_modules/date-fns/esm/setYear/index.mjs +0 -2
  116. package/dist/lib/node_modules/date-fns/esm/setYear/index.mjs.map +0 -1
  117. package/dist/lib/node_modules/date-fns/esm/startOfDay/index.mjs +0 -2
  118. package/dist/lib/node_modules/date-fns/esm/startOfDay/index.mjs.map +0 -1
  119. package/dist/lib/node_modules/date-fns/esm/startOfISOWeek/index.mjs +0 -2
  120. package/dist/lib/node_modules/date-fns/esm/startOfISOWeek/index.mjs.map +0 -1
  121. package/dist/lib/node_modules/date-fns/esm/startOfISOWeekYear/index.mjs +0 -2
  122. package/dist/lib/node_modules/date-fns/esm/startOfISOWeekYear/index.mjs.map +0 -1
  123. package/dist/lib/node_modules/date-fns/esm/startOfMonth/index.mjs +0 -2
  124. package/dist/lib/node_modules/date-fns/esm/startOfMonth/index.mjs.map +0 -1
  125. package/dist/lib/node_modules/date-fns/esm/startOfWeek/index.mjs +0 -2
  126. package/dist/lib/node_modules/date-fns/esm/startOfWeek/index.mjs.map +0 -1
  127. package/dist/lib/node_modules/date-fns/esm/startOfWeekYear/index.mjs +0 -2
  128. package/dist/lib/node_modules/date-fns/esm/startOfWeekYear/index.mjs.map +0 -1
  129. package/dist/lib/node_modules/date-fns/esm/startOfYear/index.mjs +0 -2
  130. package/dist/lib/node_modules/date-fns/esm/startOfYear/index.mjs.map +0 -1
  131. package/dist/lib/node_modules/date-fns/esm/subDays/index.mjs +0 -2
  132. package/dist/lib/node_modules/date-fns/esm/subDays/index.mjs.map +0 -1
  133. package/dist/lib/node_modules/react-day-picker/dist/index.esm.mjs +0 -2
  134. package/dist/lib/node_modules/react-day-picker/dist/index.esm.mjs.map +0 -1
@@ -30,7 +30,7 @@ import { cn } from '../../../lib/utils/utils';
30
30
  import { ko } from 'date-fns/locale';
31
31
  export var Calendar = forwardRef(function (_a, ref) {
32
32
  var className = _a.className, classNames = _a.classNames, _b = _a.showOutsideDays, showOutsideDays = _b === void 0 ? true : _b, _c = _a.color, color = _c === void 0 ? MAIN_COLOR : _c, props = __rest(_a, ["className", "classNames", "showOutsideDays", "color"]);
33
- return (_jsx(DayPicker, __assign({ locale: ko, showOutsideDays: showOutsideDays, className: cn('rounded-md border p-3 text-slate-12', className), classNames: __assign({ months: 'flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0 place-content-center', month: 'space-y-4', caption: 'flex justify-center pt-1 relative items-center', caption_label: 'text-sm font-semibold', nav: 'space-x-1 flex items-center', nav_button: 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 border border-input bg-background h-10 px-4 py-2 h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100', nav_button_previous: 'absolute left-1 hover:bg-slateA-3', nav_button_next: 'absolute right-1 hover:bg-slateA-3', table: 'w-full border-collapse space-y-1', head_row: 'flex', head_cell: 'text-slateA-10 rounded-md w-9 font-normal text-[0.8rem]', row: 'flex w-full mt-2', cell: 'h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20', day: "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover:bg-".concat(color, "A-3 h-10 px-4 py-2 h-9 w-9 p-0 font-medium aria-selected:opacity-100 aria-selected:bg-").concat(color, "-9 aria-selected:hover:bg-").concat(color, "-9"), day_range_end: 'day-range-end', day_selected: "bg-".concat(color, "-9 text-white"), day_today: "bg-".concat(color, "A-3"), day_outside: "cursor-default text-slateA-10 hover:bg-transparent", day_disabled: 'text-slateA-10 opacity-50', day_hidden: 'invisible' }, classNames), components: {
33
+ return (_jsx(DayPicker, __assign({ locale: ko, showOutsideDays: showOutsideDays, className: cn('w-[280px] rounded-md border p-3 text-slate-12', className), classNames: __assign({ months: 'flex flex-row space-y-4 sm:space-x-4 sm:space-y-0 place-content-center', month: 'space-y-4', caption: 'flex justify-center pt-1 relative items-center', caption_label: 'text-sm font-semibold', nav: 'space-x-1 flex items-center', nav_button: 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 border border-input bg-background h-10 px-4 py-2 h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100', nav_button_previous: 'absolute left-1 hover:bg-slateA-3', nav_button_next: 'absolute right-1 hover:bg-slateA-3', table: 'w-full border-collapse space-y-1', head_row: 'flex', head_cell: 'text-slateA-10 rounded-md w-9 font-normal text-[0.8rem]', row: 'flex w-full mt-2', cell: 'h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20', day: "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover:bg-".concat(color, "A-3 h-10 px-4 py-2 h-9 w-9 p-0 font-medium aria-selected:opacity-100 aria-selected:bg-").concat(color, "-9 aria-selected:hover:bg-").concat(color, "-9"), day_range_end: 'day-range-end', day_selected: "bg-".concat(color, "-9 text-white"), day_today: "bg-".concat(color, "A-3"), day_outside: "cursor-default text-slateA-10 hover:bg-transparent", day_disabled: 'text-slateA-10 opacity-50', day_hidden: 'invisible' }, classNames), components: {
34
34
  IconLeft: function (_a) {
35
35
  var props = __rest(_a, []);
36
36
  return _jsx(ChevronLeftIcon, { className: "h-4 w-4" });
@@ -29,7 +29,7 @@ import { format } from 'date-fns';
29
29
  import { cn } from '../../../lib/utils/utils';
30
30
  export var Datepicker = forwardRef(function (_a, ref) {
31
31
  var className = _a.className, classNames = _a.classNames, isOpen = _a.isOpen, setIsOpen = _a.setIsOpen, selected = _a.selected, onSelect = _a.onSelect, _b = _a.showOutsideDays, showOutsideDays = _b === void 0 ? true : _b, scaling = _a.scaling, color = _a.color, mode = _a.mode, props = __rest(_a, ["className", "classNames", "isOpen", "setIsOpen", "selected", "onSelect", "showOutsideDays", "scaling", "color", "mode"]);
32
- return mode === 'range' ? (_jsxs(Popover.Root, { open: isOpen, onOpenChange: setIsOpen, scaling: scaling, children: [_jsx(Popover.Trigger, { children: _jsxs(Button, { color: color, scaling: scaling, appearance: 'outline', className: cn('w-[280px] justify-start gap-2 text-left font-normal', !selected && 'text-muted-foreground'), children: [_jsx(CalendarIcon, {}), (selected === null || selected === void 0 ? void 0 : selected.from) ? (selected.to ? (_jsxs(_Fragment, { children: [format(selected.from, 'yyyy-MM-dd'), " - ", format(selected.to, 'yyyy-MM-dd')] })) : (format(selected.from, 'yyyy-MM-dd'))) : (_jsx(Text, { children: "\uB0A0\uC9DC\uB97C \uC120\uD0DD\uD574\uC8FC\uC138\uC694" }))] }) }), _jsx(Popover.Content, { className: "w-auto max-w-xl p-0", align: "start", children: _jsx(Calendar, __assign({ mode: "range", defaultMonth: selected === null || selected === void 0 ? void 0 : selected.from, selected: selected, onSelect: onSelect, numberOfMonths: 2, className: cn('w-full', className) }, props)) })] })) : (_jsxs(Popover.Root, { open: isOpen, onOpenChange: setIsOpen, scaling: scaling, children: [_jsx(Popover.Trigger, { children: _jsxs(Button, { color: color, scaling: scaling, appearance: 'outline', className: cn('w-[280px] justify-start gap-2 text-left font-normal', !selected && 'text-muted-foreground'), children: [_jsx(CalendarIcon, {}), selected ? format(selected, 'yyyy-MM-dd') : _jsx(Text, { children: "\uB0A0\uC9DC\uB97C \uC120\uD0DD\uD574\uC8FC\uC138\uC694" })] }) }), _jsx(Popover.Content, { className: "w-auto p-0", children: _jsx(Calendar, __assign({ mode: mode, color: color, selected: selected, onSelect: onSelect, defaultMonth: selected, showOutsideDays: showOutsideDays, className: cn('w-full', className) }, props)) })] }));
32
+ return mode === 'range' ? (_jsxs(Popover.Root, { open: isOpen, onOpenChange: setIsOpen, scaling: scaling, children: [_jsx(Popover.Trigger, { children: _jsxs(Button, { color: color, scaling: scaling, appearance: 'outline', className: cn('w-[280px] justify-start gap-2 text-left font-normal', !selected && 'text-muted-foreground'), children: [_jsx(CalendarIcon, {}), (selected === null || selected === void 0 ? void 0 : selected.from) ? (selected.to ? (_jsxs(_Fragment, { children: [format(selected.from, 'yyyy-MM-dd'), " - ", format(selected.to, 'yyyy-MM-dd')] })) : (format(selected.from, 'yyyy-MM-dd'))) : (_jsx(Text, { children: "\uB0A0\uC9DC\uB97C \uC120\uD0DD\uD574\uC8FC\uC138\uC694" }))] }) }), _jsx(Popover.Content, { className: "w-auto max-w-[600px] p-0", align: "start", children: _jsx(Calendar, __assign({ mode: "range", defaultMonth: selected === null || selected === void 0 ? void 0 : selected.from, selected: selected, onSelect: onSelect, numberOfMonths: 2, className: cn('w-full', className) }, props)) })] })) : (_jsxs(Popover.Root, { open: isOpen, onOpenChange: setIsOpen, scaling: scaling, children: [_jsx(Popover.Trigger, { children: _jsxs(Button, { color: color, scaling: scaling, appearance: 'outline', className: cn('w-[280px] justify-start gap-2 text-left font-normal', !selected && 'text-muted-foreground'), children: [_jsx(CalendarIcon, {}), selected ? format(selected, 'yyyy-MM-dd') : _jsx(Text, { children: "\uB0A0\uC9DC\uB97C \uC120\uD0DD\uD574\uC8FC\uC138\uC694" })] }) }), _jsx(Popover.Content, { className: "w-auto p-0", children: _jsx(Calendar, __assign({ mode: mode, color: color, selected: selected, onSelect: onSelect, defaultMonth: selected, showOutsideDays: showOutsideDays, className: cn('w-full', className) }, props)) })] }));
33
33
  });
34
34
  Datepicker.displayName = 'Datepicker';
35
35
  export default Datepicker;
@@ -26,9 +26,10 @@ import { forwardRef, useContext } from 'react';
26
26
  import { Dialog as DialogTheme } from '@radix-ui/themes';
27
27
  import { cva } from 'class-variance-authority';
28
28
  import { primaryColorStyle } from '../../../lib/constants';
29
+ import { MAIN_COLOR } from '../../../lib/color/constants';
29
30
  import { DialogContext } from './DialogRoot';
30
31
  import { cn } from '../../../lib/utils/utils';
31
- import { MAIN_COLOR } from '../../../lib/color/constants';
32
+ import { Text } from '../../../lib';
32
33
  export var dialogActionVariants = cva('rounded-md inline-flex font-medium items-center justify-center px-[15px] hover:cursor-pointer', {
33
34
  variants: {
34
35
  radius: {
@@ -56,6 +57,6 @@ export var DialogAction = forwardRef(function (_a, ref) {
56
57
  var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
57
58
  var _b = useContext(DialogContext), radius = _b.radius, size = _b.size, color = _b.color;
58
59
  var buttonClassName = cn(dialogActionVariants({ radius: radius, size: size, color: color }), className);
59
- return (_jsx(DialogTheme.Close, __assign({ ref: ref, className: buttonClassName }, props, { children: children })));
60
+ return (_jsx(DialogTheme.Close, __assign({ ref: ref, className: buttonClassName }, props, { children: typeof children === 'string' ? _jsx(Text, { children: children }) : children })));
60
61
  });
61
62
  DialogAction.displayName = 'Dialog.Action';
@@ -27,6 +27,7 @@ import { Dialog as DialogTheme } from '@radix-ui/themes';
27
27
  import { cva } from 'class-variance-authority';
28
28
  import { DialogContext } from './DialogRoot';
29
29
  import { cn } from '../../../lib/utils/utils';
30
+ import { Text } from '../../../lib';
30
31
  export var dialogCancelVariants = cva("rounded-md font-medium inline-flex justify-center items-center text-slate-11 bg-slate-3 outline-none border-none\n dark:text-slateDark-11 dark:bg-slateDark-3 dark:hover:bg-slateDarkA-4\n active:border-none hover:cursor-pointer hover:bg-slateA-4", {
31
32
  variants: {
32
33
  radius: {
@@ -51,6 +52,6 @@ export var dialogCancelVariants = cva("rounded-md font-medium inline-flex justif
51
52
  export var DialogCancel = forwardRef(function (_a, ref) {
52
53
  var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
53
54
  var _b = useContext(DialogContext), radius = _b.radius, size = _b.size;
54
- return (_jsx(DialogTheme.Close, __assign({ ref: ref, className: cn(dialogCancelVariants({ radius: radius, size: size }), className) }, props, { children: children })));
55
+ return (_jsx(DialogTheme.Close, __assign({ ref: ref, className: cn(dialogCancelVariants({ radius: radius, size: size }), className) }, props, { children: typeof children === 'string' ? _jsx(Text, { children: children }) : children })));
55
56
  });
56
57
  DialogCancel.displayName = 'Dialog.Cancel';
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const ModalAction: React.ForwardRefExoticComponent<Omit<Omit<import("@radix-ui/themes/dist/cjs/components/dialog").CloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & import("../../../lib/components/Dialog/DialogAction").DialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,30 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
+ import { forwardRef } from 'react';
25
+ import { Dialog } from '../../../lib';
26
+ export var ModalAction = forwardRef(function (_a, ref) {
27
+ var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
28
+ return (_jsx(Dialog.Action, __assign({ ref: ref, className: className }, props, { children: children })));
29
+ });
30
+ ModalAction.displayName = 'Modal.Action';
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const ModalCancel: React.ForwardRefExoticComponent<Omit<Omit<import("@radix-ui/themes/dist/cjs/components/dialog").CloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & import("../../../lib/components/Dialog/DialogCancel").DialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,30 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
+ import { forwardRef } from 'react';
25
+ import { Dialog } from '../../../lib';
26
+ export var ModalCancel = forwardRef(function (_a, ref) {
27
+ var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
28
+ return (_jsx(Dialog.Cancel, __assign({ ref: ref, className: className }, props, { children: children })));
29
+ });
30
+ ModalCancel.displayName = 'Modal.Cancel';
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ export interface ModalContentProps {
3
+ }
4
+ export declare const ModalContentVariants: (props?: ({
5
+ size?: "small" | "medium" | "large" | "x-large" | null | undefined;
6
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
7
+ export declare const ModalContent: React.ForwardRefExoticComponent<Omit<Omit<import("@radix-ui/themes/dist/cjs/components/dialog").ContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & import("../../../lib/components/Dialog/DialogContent").DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & ModalContentProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,47 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
+ import { forwardRef, useContext } from 'react';
25
+ import { cva } from 'class-variance-authority';
26
+ import { ModalContext } from './ModalRoot';
27
+ import { cn } from '../../../lib/utils/utils';
28
+ import { Dialog } from '../../../lib';
29
+ export var ModalContentVariants = cva("max-w-[1200px] p-0", {
30
+ variants: {
31
+ size: {
32
+ small: 'w-[600px]',
33
+ medium: 'w-[800px]',
34
+ large: 'w-[1000px]',
35
+ 'x-large': 'w-[1200px]',
36
+ },
37
+ },
38
+ defaultVariants: {
39
+ size: 'medium',
40
+ },
41
+ });
42
+ export var ModalContent = forwardRef(function (_a, ref) {
43
+ var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
44
+ var size = useContext(ModalContext).size;
45
+ return (_jsx(Dialog.Content, __assign({ ref: ref, className: cn(ModalContentVariants({ size: size }), className) }, props, { children: children })));
46
+ });
47
+ ModalContent.displayName = 'Modal.Content';
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare const modalDescriptionVariants: (props?: ({
3
+ size?: "small" | "medium" | "large" | "x-large" | null | undefined;
4
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
5
+ export declare const ModalDescription: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,46 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
+ import { forwardRef, useContext } from 'react';
25
+ import { cva } from 'class-variance-authority';
26
+ import { ModalContext } from './ModalRoot';
27
+ import { cn } from '../../../lib/utils/utils';
28
+ export var modalDescriptionVariants = cva('p-6 overflow-y-auto max-h-64 md:max-h-96 lg:max-h-[75vh]', {
29
+ variants: {
30
+ size: {
31
+ small: 'text-xs',
32
+ medium: 'text-sm',
33
+ large: 'text-base',
34
+ 'x-large': 'text-lg',
35
+ },
36
+ },
37
+ defaultVariants: {
38
+ size: 'medium',
39
+ },
40
+ });
41
+ export var ModalDescription = forwardRef(function (_a, ref) {
42
+ var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
43
+ var size = useContext(ModalContext).size;
44
+ return (_jsx("div", __assign({ ref: ref, className: cn(modalDescriptionVariants({ size: size }), className) }, props, { children: children })));
45
+ });
46
+ ModalDescription.displayName = 'Modal.Description';
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const ModalFooter: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,30 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
+ import { forwardRef } from 'react';
25
+ import { cn } from '../../../lib/utils/utils';
26
+ export var ModalFooter = forwardRef(function (_a, ref) {
27
+ var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
28
+ return (_jsx("div", __assign({ ref: ref, className: cn('flex justify-end border-t border-slate-5 p-4 dark:border-slateDark-5', className) }, props, { children: children })));
29
+ });
30
+ ModalFooter.displayName = 'Modal.Footer';
@@ -0,0 +1,16 @@
1
+ import React, { ComponentPropsWithoutRef } from 'react';
2
+ import { VariantProps } from 'class-variance-authority';
3
+ import { ModalContentVariants } from './ModalContent';
4
+ import { Dialog } from '../../../lib';
5
+ import { IRadius, IScaling, ISize } from '../../../lib/types';
6
+ export interface ModalRootProps extends VariantProps<typeof ModalContentVariants> {
7
+ color?: any;
8
+ size?: Exclude<ISize, 'x-small'>;
9
+ scaling?: IScaling;
10
+ radius?: IRadius;
11
+ }
12
+ export declare const ModalContext: React.Context<ModalRootProps>;
13
+ export declare const ModalRoot: {
14
+ ({ children, radius, size, scaling, color, ...props }: ComponentPropsWithoutRef<typeof Dialog.Root> & ModalRootProps): import("react/jsx-runtime").JSX.Element;
15
+ displayName: string;
16
+ };
@@ -0,0 +1,34 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
+ import { createContext } from 'react';
25
+ import { Dialog } from '../../../lib';
26
+ export var ModalContext = createContext({
27
+ size: 'medium',
28
+ });
29
+ export var ModalRoot = function (_a) {
30
+ var children = _a.children, radius = _a.radius, size = _a.size, scaling = _a.scaling, color = _a.color, props = __rest(_a, ["children", "radius", "size", "scaling", "color"]);
31
+ var contextValue = { size: size };
32
+ return (_jsx(ModalContext.Provider, { value: contextValue, children: _jsx(Dialog.Root, __assign({ color: color, radius: radius, scaling: scaling, size: size }, props, { children: children })) }));
33
+ };
34
+ ModalRoot.displayName = 'Modal.Root';
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export interface ModalTitleProps {
3
+ showCloseButton?: boolean;
4
+ }
5
+ export declare const ModalTitle: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & ModalTitleProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,32 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
+ import { forwardRef } from 'react';
25
+ import { Cross2Icon } from '@radix-ui/react-icons';
26
+ import { Dialog, IconButton } from '../../../lib';
27
+ import { cn } from '../../../lib/utils/utils';
28
+ export var ModalTitle = forwardRef(function (_a, ref) {
29
+ var children = _a.children, className = _a.className, _b = _a.showCloseButton, showCloseButton = _b === void 0 ? true : _b, props = __rest(_a, ["children", "className", "showCloseButton"]);
30
+ return (_jsxs("div", __assign({ ref: ref, className: cn('flex items-center justify-between border-b border-slate-5 p-4 font-bold text-slate-12 dark:border-slateDark-5 dark:text-slateDark-12', className) }, props, { children: [_jsx(Dialog.Title, { className: "m-0 before:content-none", children: children }), showCloseButton && (_jsx(Dialog.Cancel, { className: "m-0 w-10 bg-transparent hover:bg-transparent active:bg-transparent", children: _jsx(IconButton, { "aria-label": "Close", className: "p-0 hover:text-slate-12", size: 'large', children: _jsx(Cross2Icon, { width: 20, height: 20 }) }) }))] })));
31
+ });
32
+ ModalTitle.displayName = 'Modal.Title';
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const ModalTrigger: React.ForwardRefExoticComponent<Omit<Omit<import("@radix-ui/themes/dist/cjs/components/dialog").TriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,30 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
+ import { forwardRef } from 'react';
25
+ import { Dialog } from '../../../lib';
26
+ export var ModalTrigger = forwardRef(function (_a, ref) {
27
+ var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
28
+ return (_jsx(Dialog.Trigger, __assign({ ref: ref, className: className }, props, { children: children })));
29
+ });
30
+ ModalTrigger.displayName = 'Modal.Trigger';
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ declare const Modal: {
3
+ Root: {
4
+ ({ children, radius, size, scaling, color, ...props }: import("@radix-ui/themes/dist/cjs/components/dialog").RootProps & import("../../../lib/components/Dialog/DialogRoot").DialogProps & import("./ModalRoot").ModalRootProps): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
7
+ Trigger: import("react").ForwardRefExoticComponent<Omit<Omit<import("@radix-ui/themes/dist/cjs/components/dialog").TriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
8
+ Content: import("react").ForwardRefExoticComponent<Omit<Omit<import("@radix-ui/themes/dist/cjs/components/dialog").ContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("../../../lib/components/Dialog/DialogContent").DialogContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./ModalContent").ModalContentProps & import("react").RefAttributes<HTMLDivElement>>;
9
+ Title: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("./ModalTitle").ModalTitleProps & import("react").RefAttributes<HTMLDivElement>>;
10
+ Description: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
11
+ Footer: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
12
+ Cancel: import("react").ForwardRefExoticComponent<Omit<Omit<import("@radix-ui/themes/dist/cjs/components/dialog").CloseProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("../../../lib/components/Dialog/DialogCancel").DialogCancelProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
13
+ Action: import("react").ForwardRefExoticComponent<Omit<Omit<import("@radix-ui/themes/dist/cjs/components/dialog").CloseProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("../../../lib/components/Dialog/DialogAction").DialogActionProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
14
+ };
15
+ export default Modal;
@@ -0,0 +1,19 @@
1
+ import { ModalRoot as Root } from './ModalRoot';
2
+ import { ModalTrigger as Trigger } from './ModalTrigger';
3
+ import { ModalContent as Content } from './ModalContent';
4
+ import { ModalTitle as Title } from './ModalTitle';
5
+ import { ModalDescription as Description } from './ModalDescription';
6
+ import { ModalFooter as Footer } from './ModalFooter';
7
+ import { ModalCancel as Cancel } from './ModalCancel';
8
+ import { ModalAction as Action } from './ModalAction';
9
+ var Modal = {
10
+ Root: Root,
11
+ Trigger: Trigger,
12
+ Content: Content,
13
+ Title: Title,
14
+ Description: Description,
15
+ Footer: Footer,
16
+ Cancel: Cancel,
17
+ Action: Action,
18
+ };
19
+ export default Modal;
@@ -29,6 +29,7 @@ import { bgColorStyle, scalingVariants } from '../../../lib/constants';
29
29
  import { useTheme } from '../../../lib/theme';
30
30
  import * as ReactProSidebar from 'react-pro-sidebar';
31
31
  import { useWindowSize } from '../../../lib/utils/useWindowSize';
32
+ import * as alphaColors from '../../../lib/color/alpha';
32
33
  var sidebarVariants = cva('', {
33
34
  variants: {
34
35
  scaling: __assign({}, scalingVariants),
@@ -48,8 +49,36 @@ export var Root = React.forwardRef(function (_a, forwardedRef) {
48
49
  });
49
50
  Root.displayName = 'Sidebar.Root';
50
51
  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 }));
52
+ var _b;
53
+ var scaling = _a.scaling, size = _a.size, color = _a.color, className = _a.className, menuItemStyles = _a.menuItemStyles, children = _a.children, props = __rest(_a, ["scaling", "size", "color", "className", "menuItemStyles", "children"]);
54
+ var heigthSize = '50px';
55
+ var fontSize = '16px';
56
+ if (size == 'small') {
57
+ heigthSize = '40px';
58
+ fontSize = '14px';
59
+ }
60
+ if (size == 'large') {
61
+ heigthSize = '60px';
62
+ fontSize = '18px';
63
+ }
64
+ var theme = useTheme().theme;
65
+ var sidebarStyle = {
66
+ scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
67
+ color: (_b = color !== null && color !== void 0 ? color : theme.themeColor) !== null && _b !== void 0 ? _b : 'slate',
68
+ };
69
+ var colorKey = "".concat(sidebarStyle.color, "A");
70
+ var colorValue = alphaColors[colorKey];
71
+ return (_jsx(ReactProSidebar.Menu, __assign({ menuItemStyles: __assign({ button: function (_a) {
72
+ var level = _a.level, active = _a.active, disabled = _a.disabled, open = _a.open;
73
+ return {
74
+ height: heigthSize,
75
+ fontSize: fontSize,
76
+ backgroundColor: active ? colorValue[5] : '',
77
+ '&:hover': {
78
+ backgroundColor: colorValue[3],
79
+ },
80
+ };
81
+ } }, menuItemStyles) }, props, { children: children })));
53
82
  });
54
83
  Menu.displayName = 'Sidebar.Menu';
55
84
  export var Item = React.forwardRef(function (_a, forwardedRef) {
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __assign = (this && this.__assign) || function () {
2
3
  __assign = Object.assign || function(t) {
3
4
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -11,12 +11,12 @@ declare const tabsVariants: (props?: ({
11
11
  weight?: "medium" | "regular" | "semibold" | "bold" | null | undefined;
12
12
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
13
13
  export declare const Root: React.ForwardRefExoticComponent<Omit<Omit<TabsTheme.RootProps & React.RefAttributes<HTMLDivElement>, "ref">, "size"> & TabsProps & React.RefAttributes<HTMLDivElement>>;
14
- export declare const List: React.ForwardRefExoticComponent<Omit<TabsTheme.ListProps & React.RefAttributes<HTMLDivElement>, "ref"> & TabsProps & React.RefAttributes<HTMLDivElement>>;
14
+ export declare const List: React.ForwardRefExoticComponent<Omit<Omit<TabsTheme.ListProps & React.RefAttributes<HTMLDivElement>, "ref">, "size"> & TabsProps & React.RefAttributes<HTMLDivElement>>;
15
15
  export declare const Trigger: React.ForwardRefExoticComponent<Omit<TabsTheme.TriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & TabsProps & React.RefAttributes<HTMLButtonElement>>;
16
16
  export declare const Content: React.ForwardRefExoticComponent<Omit<TabsTheme.ContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & TabsProps & React.RefAttributes<HTMLDivElement>>;
17
17
  declare const Tabs: {
18
18
  Root: React.ForwardRefExoticComponent<Omit<Omit<TabsTheme.RootProps & React.RefAttributes<HTMLDivElement>, "ref">, "size"> & TabsProps & React.RefAttributes<HTMLDivElement>>;
19
- List: React.ForwardRefExoticComponent<Omit<TabsTheme.ListProps & React.RefAttributes<HTMLDivElement>, "ref"> & TabsProps & React.RefAttributes<HTMLDivElement>>;
19
+ List: React.ForwardRefExoticComponent<Omit<Omit<TabsTheme.ListProps & React.RefAttributes<HTMLDivElement>, "ref">, "size"> & TabsProps & React.RefAttributes<HTMLDivElement>>;
20
20
  Trigger: React.ForwardRefExoticComponent<Omit<TabsTheme.TriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & TabsProps & React.RefAttributes<HTMLButtonElement>>;
21
21
  Content: React.ForwardRefExoticComponent<Omit<TabsTheme.ContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & TabsProps & React.RefAttributes<HTMLDivElement>>;
22
22
  };
@@ -25,6 +25,7 @@ export { default as IconButton } from './IconButton';
25
25
  export { default as Inset } from './Inset';
26
26
  export { default as Label } from './Label';
27
27
  export { default as Menubar } from './Menubar';
28
+ export { default as Modal } from './Modal';
28
29
  export { default as NavigationMenu } from './NavigationMenu';
29
30
  export { default as Popover } from './Popover';
30
31
  export { default as Progress } from './Progress';
@@ -26,6 +26,7 @@ export { default as IconButton } from './IconButton';
26
26
  export { default as Inset } from './Inset';
27
27
  export { default as Label } from './Label';
28
28
  export { default as Menubar } from './Menubar';
29
+ export { default as Modal } from './Modal';
29
30
  export { default as NavigationMenu } from './NavigationMenu';
30
31
  export { default as Popover } from './Popover';
31
32
  export { default as Progress } from './Progress';
@@ -1,2 +1,2 @@
1
- var f={1:"#00005503",2:"#00005506",3:"#0000330f",4:"#00002d17",5:"#0009321f",6:"#00002f26",7:"#00062e32",8:"#00083046",9:"#00051d74",10:"#00071b7f",11:"#0007149f",12:"#000509e3"},c={1:"#ff000003",2:"#ff000008",3:"#f3000d14",4:"#ff000824",5:"#ff000632",6:"#f8000442",7:"#df000356",8:"#d2000571",9:"#db0007b7",10:"#d10005c1",11:"#c40006d3",12:"#55000de8"},F={1:"#ff005503",2:"#e0004008",3:"#ff005216",4:"#f8005123",5:"#e5004f31",6:"#d0004b41",7:"#bf004753",8:"#b6004a6c",9:"#e2005bc2",10:"#d70056cb",11:"#c4004fe2",12:"#530026e9"},e={1:"#aa00ff03",2:"#c000c008",3:"#cc00cc14",4:"#c200c921",5:"#b700bd2e",6:"#a400b03d",7:"#9900a852",8:"#9000a56e",9:"#89009eb5",10:"#7f0092bb",11:"#730086c1",12:"#40004be6"},a={1:"#aa00aa03",2:"#8000e008",3:"#8e00f112",4:"#8d00e51d",5:"#8000db2a",6:"#7a01d03b",7:"#6d00c350",8:"#6600c06c",9:"#5c00adb1",10:"#53009eb8",11:"#52009aba",12:"#250049df"},d={1:"#00008002",2:"#0040ff08",3:"#0047f112",4:"#0044ff1e",5:"#0044ff2d",6:"#003eff3e",7:"#0037ed54",8:"#0034dc72",9:"#0031d2c1",10:"#002ec9cc",11:"#002bb7c5",12:"#001046e0"},b={1:"#0080ff04",2:"#008cff0b",3:"#008ff519",4:"#009eff2a",5:"#0093ff3d",6:"#0088f653",7:"#0083eb71",8:"#0084e6a1",9:"#0090ff",10:"#0086f0fa",11:"#006dcbf2",12:"#002359ee"},r={1:"#0099cc05",2:"#009db10d",3:"#00c2d121",4:"#00bcd435",5:"#01b4cc4a",6:"#00a7c162",7:"#009fbb82",8:"#00a3c0c2",9:"#00a2c7",10:"#0094b7f8",11:"#007491ef",12:"#00323ef2"},C={1:"#00cc9905",2:"#00aa800c",3:"#00c69d1f",4:"#00c39633",5:"#00b49047",6:"#00a6855e",7:"#0099807c",8:"#009783ac",9:"#009e8ced",10:"#009684f2",11:"#008573",12:"#00332df2"},D={1:"#00c00004",2:"#0099000a",3:"#00970016",4:"#009f0725",5:"#00930536",6:"#008f0a4d",7:"#018b0f6b",8:"#008d199a",9:"#008619b9",10:"#007b17c1",11:"#006514d5",12:"#002006df"},o={1:"#aa550003",2:"#aa550009",3:"#a04b0018",4:"#9b4a0026",5:"#9f4d0035",6:"#a04e0048",7:"#a34e0060",8:"#9f4a0081",9:"#823c00a7",10:"#723300ac",11:"#522100b9",12:"#140600d1"},p={1:"#00d5ff06",2:"#00a4db0e",3:"#00b3ee1e",4:"#00ace42e",5:"#00a1d841",6:"#0092ca56",7:"#0089c172",8:"#0085bf9f",9:"#00c7fe83",10:"#00bcf38b",11:"#00749e",12:"#002540e2"},t={1:"#66990005",2:"#6b95000c",3:"#96c80029",4:"#8fc60042",5:"#81bb0059",6:"#72aa006e",7:"#61990087",8:"#559200ab",9:"#93e4009c",10:"#8fdc00b3",11:"#375f00d0",12:"#1e2900e3"},v={1:"#aaaa0006",2:"#f4dd0016",3:"#ffee0047",4:"#ffe3016b",5:"#ffd5008f",6:"#ebbc0097",7:"#d2a10098",8:"#c99700c6",9:"#ffe100d6",10:"#ffdc00",11:"#9e6c00",12:"#2e2000e0"},x={1:"#c0800004",2:"#f4d10016",3:"#ffde003d",4:"#ffd40063",5:"#f8cf0088",6:"#eab5008c",7:"#dc9b009d",8:"#da8a00c9",9:"#ffb300c2",10:"#ffb300e7",11:"#ab6400",12:"#341500dd"},A={1:"#c0400004",2:"#ff8e0012",3:"#ff9c0029",4:"#ff91014a",5:"#ff8b0065",6:"#ff81007d",7:"#ed6c008c",8:"#e35f00aa",9:"#f65e00ea",10:"#ef5f00",11:"#cc4e00",12:"#431200e2"},B={1:"#FFFFFF0D",2:"#FFFFFF1A",3:"#FFFFFF26",4:"#FFFFFF33",5:"#FFFFFF4D",6:"#FFFFFF66",7:"#FFFFFF80",8:"#FFFFFF99",9:"#FFFFFFB2",10:"#FFFFFFCC",11:"#FFFFFFE5",12:"#FFFFFFF2"};export{x as amberA,b as blueA,o as brownA,F as crimsonA,r as cyanA,D as grassA,d as indigoA,t as limeA,A as orangeA,e as plumA,a as purpleA,c as redA,p as skyA,f as slateA,B as slateDarkA,C as tealA,v as yellowA};
1
+ var F={1:"#00005503",2:"#00005506",3:"#0000330f",4:"#00002d17",5:"#0009321f",6:"#00002f26",7:"#00062e32",8:"#00083046",9:"#00051d74",10:"#00071b7f",11:"#0007149f",12:"#000509e3"},E={1:"#00550003",2:"#00490007",3:"#00200010",4:"#00160018",5:"#00180020",6:"#00140028",7:"#000f0033",8:"#040f0047",9:"#050f0078",10:"#040e0082",11:"#020a00a0",12:"#010600e3"},D={1:"#55550003",2:"#25250007",3:"#20100010",4:"#1f150019",5:"#1f180021",6:"#19130029",7:"#19140035",8:"#1915014a",9:"#0f0f0079",10:"#0c0c0083",11:"#080800a1",12:"#060500e3"},f={1:"#ff000003",2:"#ff200008",3:"#f52b0018",4:"#ff35002c",5:"#ff2e003d",6:"#f92d0050",7:"#e7280067",8:"#db250084",9:"#df2600d1",10:"#d72400da",11:"#cd2200ea",12:"#460900e0"},B={1:"#ff000003",2:"#ff000008",3:"#f3000d14",4:"#ff000824",5:"#ff000632",6:"#f8000442",7:"#df000356",8:"#d2000571",9:"#db0007b7",10:"#d10005c1",11:"#c40006d3",12:"#55000de8"},C={1:"#ff005503",2:"#ff002008",3:"#f3002515",4:"#ff002523",5:"#ff002a31",6:"#e4002440",7:"#ce002553",8:"#c300286d",9:"#db002cb9",10:"#d2002cc4",11:"#c10030db",12:"#550016e8"},c={1:"#ff005503",2:"#e0004008",3:"#ff005216",4:"#f8005123",5:"#e5004f31",6:"#d0004b41",7:"#bf004753",8:"#b6004a6c",9:"#e2005bc2",10:"#d70056cb",11:"#c4004fe2",12:"#530026e9"},a={1:"#ff00aa03",2:"#e0008008",3:"#f4008c16",4:"#e2008b23",5:"#d1008331",6:"#c0007840",7:"#b6006f53",8:"#af006f6c",9:"#c8007fbf",10:"#c2007ac7",11:"#b60074d6",12:"#59003bed"},A={1:"#aa00ff03",2:"#c000c008",3:"#cc00cc14",4:"#c200c921",5:"#b700bd2e",6:"#a400b03d",7:"#9900a852",8:"#9000a56e",9:"#89009eb5",10:"#7f0092bb",11:"#730086c1",12:"#40004be6"},d={1:"#aa00aa03",2:"#8000e008",3:"#8e00f112",4:"#8d00e51d",5:"#8000db2a",6:"#7a01d03b",7:"#6d00c350",8:"#6600c06c",9:"#5c00adb1",10:"#53009eb8",11:"#52009aba",12:"#250049df"},e={1:"#5500aa03",2:"#4900ff07",3:"#4400ee0f",4:"#4300ff1b",5:"#3600ff26",6:"#3100fb35",7:"#2d01dd4a",8:"#2b00d066",9:"#2400b7a9",10:"#2300abb2",11:"#1f0099af",12:"#0b0043d9"},b={1:"#0000ff02",2:"#0000ff07",3:"#0011ee0f",4:"#000bff19",5:"#000eff25",6:"#000aff34",7:"#0008e647",8:"#0008d964",9:"#0000c0a4",10:"#0000b6ae",11:"#0600abac",12:"#000246d8"},r={1:"#00008002",2:"#0040ff08",3:"#0047f112",4:"#0044ff1e",5:"#0044ff2d",6:"#003eff3e",7:"#0037ed54",8:"#0034dc72",9:"#0031d2c1",10:"#002ec9cc",11:"#002bb7c5",12:"#001046e0"},o={1:"#0080ff04",2:"#008cff0b",3:"#008ff519",4:"#009eff2a",5:"#0093ff3d",6:"#0088f653",7:"#0083eb71",8:"#0084e6a1",9:"#0090ff",10:"#0086f0fa",11:"#006dcbf2",12:"#002359ee"},p={1:"#0099cc05",2:"#009db10d",3:"#00c2d121",4:"#00bcd435",5:"#01b4cc4a",6:"#00a7c162",7:"#009fbb82",8:"#00a3c0c2",9:"#00a2c7",10:"#0094b7f8",11:"#007491ef",12:"#00323ef2"},t={1:"#00cc9905",2:"#00aa800c",3:"#00c69d1f",4:"#00c39633",5:"#00b49047",6:"#00a6855e",7:"#0099807c",8:"#009783ac",9:"#009e8ced",10:"#009684f2",11:"#008573",12:"#00332df2"},v={1:"#00c08004",2:"#00a3460b",3:"#00ae4819",4:"#00a85129",5:"#00a2553c",6:"#009a5753",7:"#00945f74",8:"#00976ea9",9:"#00916bd6",10:"#008764d9",11:"#007152df",12:"#002217e2"},x={1:"#00c04004",2:"#00a32f0b",3:"#00a43319",4:"#00a83829",5:"#019c393b",6:"#00963c52",7:"#00914071",8:"#00924ba4",9:"#008f4acf",10:"#008647d4",11:"#00713fde",12:"#002616e6"},g={1:"#00c00004",2:"#0099000a",3:"#00970016",4:"#009f0725",5:"#00930536",6:"#008f0a4d",7:"#018b0f6b",8:"#008d199a",9:"#008619b9",10:"#007b17c1",11:"#006514d5",12:"#002006df"},h={1:"#aa550003",2:"#aa550009",3:"#a04b0018",4:"#9b4a0026",5:"#9f4d0035",6:"#a04e0048",7:"#a34e0060",8:"#9f4a0081",9:"#823c00a7",10:"#723300ac",11:"#522100b9",12:"#140600d1"},i={1:"#55000003",2:"#cc33000a",3:"#92250015",4:"#80280020",5:"#7423002c",6:"#7324003a",7:"#6c1f004c",8:"#671c0066",9:"#551a008d",10:"#4c150097",11:"#3d0f00ab",12:"#1d0600d4"},j={1:"#55550003",2:"#9d8a000d",3:"#75600018",4:"#6b4e0024",5:"#60460030",6:"#64440040",7:"#63420055",8:"#633d0072",9:"#5332009a",10:"#492d00a1",11:"#362100b4",12:"#130c00d4"},k={1:"#00d5ff06",2:"#00a4db0e",3:"#00b3ee1e",4:"#00ace42e",5:"#00a1d841",6:"#0092ca56",7:"#0089c172",8:"#0085bf9f",9:"#00c7fe83",10:"#00bcf38b",11:"#00749e",12:"#002540e2"},l={1:"#00d5aa06",2:"#00b18a0d",3:"#00d29e22",4:"#00cc9937",5:"#00c0914c",6:"#00b08663",7:"#00a17d81",8:"#009e7fb3",9:"#00d3a579",10:"#00c39982",11:"#007763fd",12:"#00312ae9"},m={1:"#66990005",2:"#6b95000c",3:"#96c80029",4:"#8fc60042",5:"#81bb0059",6:"#72aa006e",7:"#61990087",8:"#559200ab",9:"#93e4009c",10:"#8fdc00b3",11:"#375f00d0",12:"#1e2900e3"},n={1:"#aaaa0006",2:"#f4dd0016",3:"#ffee0047",4:"#ffe3016b",5:"#ffd5008f",6:"#ebbc0097",7:"#d2a10098",8:"#c99700c6",9:"#ffe100d6",10:"#ffdc00",11:"#9e6c00",12:"#2e2000e0"},q={1:"#c0800004",2:"#f4d10016",3:"#ffde003d",4:"#ffd40063",5:"#f8cf0088",6:"#eab5008c",7:"#dc9b009d",8:"#da8a00c9",9:"#ffb300c2",10:"#ffb300e7",11:"#ab6400",12:"#341500dd"},s={1:"#c0400004",2:"#ff8e0012",3:"#ff9c0029",4:"#ff91014a",5:"#ff8b0065",6:"#ff81007d",7:"#ed6c008c",8:"#e35f00aa",9:"#f65e00ea",10:"#ef5f00",11:"#cc4e00",12:"#431200e2"},u={1:"#FFFFFF0D",2:"#FFFFFF1A",3:"#FFFFFF26",4:"#FFFFFF33",5:"#FFFFFF4D",6:"#FFFFFF66",7:"#FFFFFF80",8:"#FFFFFF99",9:"#FFFFFFB2",10:"#FFFFFFCC",11:"#FFFFFFE5",12:"#FFFFFFF2"},w={1:"#00000000",2:"#F1F2F008",3:"#F4F5F312",4:"#F3FEF21A",5:"#F2FBF122",6:"#F4FAED2C",7:"#F2FCED3B",8:"#EDFDEB57",9:"#EBFDE766",10:"#F0FDEC74",11:"#F6FEF4B0",12:"#FDFFFDED"},y={1:"#00000000",2:"#F4F4F309",3:"#F6F6F513",4:"#FEFEF31B",5:"#FBFBEB23",6:"#FFFAED2D",7:"#FFFBED3C",8:"#FFF9EB57",9:"#FFFAE965",10:"#FFFDEE73",11:"#FFFCF4B0",12:"#FFFFFDED"},z={1:"#F1121208",2:"#FF55330F",3:"#FF35232B",4:"#FD201142",5:"#FE332153",6:"#FF4F3864",7:"#FD644A7D",8:"#FE6D4EA7",9:"#FF5F3DDA",10:"#FF876EE1",11:"#FF977D",12:"#FFD6CEFB"},G={1:"#F4121209",2:"#F22F3E11",3:"#FF173F2D",4:"#FE0A3B44",5:"#FF204756",6:"#FF3E5668",7:"#FF536184",8:"#FF5D61B0",9:"#FF5C61D2",10:"#FF8789DD",11:"#FF9592",12:"#FFD1D9"},H={1:"#F4124A09",2:"#FE5A7F0E",3:"#FF235D2C",4:"#FD195E42",5:"#FE2D6B53",6:"#FF447665",7:"#FF577D80",8:"#FF5C7CAE",9:"#FF5F80CD",10:"#FE88A2D8",11:"#FF949D",12:"#FFD3E2FE"},I={1:"#F4126709",2:"#F22F7A11",3:"#FE2A8B2A",4:"#FD158741",5:"#FD278F51",6:"#FE459763",7:"#FD559B7F",8:"#FE5B9BAB",9:"#FF428DDD",10:"#FE6FA8E5",11:"#FF92AD",12:"#FFD5EAFD"},J={1:"#F412BC09",2:"#F420BB12",3:"#FE37CC29",4:"#FC1EC43F",5:"#FD35C24E",6:"#FD51C75F",7:"#FD62C87B",8:"#FF68C8A2",9:"#FE5CC3D9",10:"#FE5CC3D9",11:"#FF8DCC",12:"#FFD3ECFD"},K={1:"#F112F108",2:"#F22FF211",3:"#FD4CFD27",4:"#F646FF3A",5:"#F455FF48",6:"#F66DFF56",7:"#F07CFD70",8:"#EE84FF95",9:"#EC73FFBB",10:"#EE87FFC3",11:"#F19CFEF3",12:"#FEDDFEF4"},L={1:"#B412F90B",2:"#B744F714",3:"#C150FF2D",4:"#BB53FD42",5:"#BE5CFD51",6:"#C16DFD61",7:"#C378FD7A",8:"#C47EFFA4",9:"#C787FFC3",10:"#D8ABFFD2",11:"#D19DFF",12:"#F1DDFFFA"},M={1:"#4422FF0F",2:"#853FF916",3:"#8354FE36",4:"#7D51FD50",5:"#845FFD5F",6:"#8F6CFD6D",7:"#9879FF83",8:"#977DFEA8",9:"#9C83FED0",10:"#BBAAFEDD",11:"#BAA7FF",12:"#E3DEFFFE"},N={1:"#3636FE0E",2:"#564BF916",3:"#525BFF3B",4:"#4D58FF5A",5:"#5B62FD6B",6:"#6D6FFD7A",7:"#7777FE8E",8:"#7B7AFEAC",9:"#8F98FEBF",10:"#B2B9FECF",11:"#B1A9FF",12:"#E1E0FFFE"},O={1:"#1133FF0F",2:"#3354FA17",3:"#2F62FF3C",4:"#3566FF57",5:"#4171FD6B",6:"#5178FD7C",7:"#5A7FFF90",8:"#5B81FEAC",9:"#5279FEF5",10:"#6889FEF6",11:"#9EB1FF",12:"#D6E1FF"},P={1:"#004DF211",2:"#1166FB18",3:"#0077FF3A",4:"#0075FF57",5:"#0081FD6B",6:"#0F89FD7F",7:"#2A91FE98",8:"#3094FEB9",9:"#48A1FEDB",10:"#60AEFFDF",11:"#70B8FF",12:"#C2E6FF"},Q={1:"#0091F70A",2:"#02A7F211",3:"#00BEFD28",4:"#00BAFF3B",5:"#00BEFD4D",6:"#00C7FD5E",7:"#14CDFF75",8:"#11CFFF95",9:"#16D4FFAD",10:"#19D4FECB",11:"#52E1FEE5",12:"#BBF3FEF7"},R={1:"#00DEAB05",2:"#12FBE60C",3:"#00FFE61E",4:"#00FFE92D",5:"#00FFEA3B",6:"#1CFFE84B",7:"#2EFDE85F",8:"#32FFE775",9:"#57FEFD8D",10:"#5BFEFEAC",11:"#0AFED5D6",12:"#B8FFEBEF"},S={1:"#00DE4505",2:"#27FBA60C",3:"#02F99920",4:"#00FFAA2D",5:"#11FFB63B",6:"#34FFC24B",7:"#45FDC75E",8:"#48FFCF75",9:"#42FECB98",10:"#45FECCBA",11:"#21FEC0D6",12:"#B8FFE1EF"},T={1:"#00DE4505",2:"#29F99D0B",3:"#22FF991E",4:"#11FF992D",5:"#2BFFA23C",6:"#44FFAA4B",7:"#50FDAC5E",8:"#54FFAD73",9:"#4DFFA892",10:"#4EFEA8A7",11:"#46FEA5D4",12:"#BBFFD7F0"},U={1:"#00DE1205",2:"#5EF7780A",3:"#70FE8C1B",4:"#57FF802C",5:"#68FF8B3B",6:"#71FF8F4B",7:"#77FD925D",8:"#77FD9070",9:"#4DFFA892",10:"#4EFEA8A7",11:"#89FF9FCD",12:"#CEFFCEEF"},V={1:"#91110002",2:"#FBA67C0C",3:"#FCB58C19",4:"#FBBB8A24",5:"#FCB88931",6:"#FDBA8741",7:"#FFBB8856",8:"#FFBE8773",9:"#FFA34BAE",10:"#FEB168C6",11:"#FED1AAD9",12:"#FEECD4F2"},W={1:"#D1110004",2:"#FBBC910C",3:"#FACEB817",4:"#FACDB622",5:"#FFD2C12D",6:"#FFD1C03C",7:"#FDD0C04F",8:"#FFD6C565",9:"#FECCB58C",10:"#FFDDCCA3",11:"#FFD7C6D1",12:"#FFF1E9EC"},X={1:"#91911102",2:"#F9E29D0B",3:"#F8ECBB15",4:"#FFEEC41E",5:"#FEECC22A",6:"#FEEBCB37",7:"#FFEDCD48",8:"#FDEACA5F",9:"#FFDBA590",10:"#FFECC7A2",11:"#FEE7C6C8",12:"#FEF7EDE7"},Y={1:"#0044FF0F",2:"#1171FB18",3:"#1184FC33",4:"#128FFF49",5:"#1C9DFD5D",6:"#28A5FF72",7:"#2BADFE8B",8:"#1DB2FEA9",9:"#97E9FFDE",10:"#AAEDFFE3",11:"#7CD3FFEF",12:"#C2F3FF"},Z={1:"#00DEDE05",2:"#00F9F90B",3:"#00FFF61D",4:"#00FFF42C",5:"#00FFF23A",6:"#0EFFEB4A",7:"#34FDE55E",8:"#41FFDF76",9:"#91FFE6BE",10:"#A2FEEBC6",11:"#67FFDED2",12:"#CBFEE9F5"},$={1:"#11BB0003",2:"#78F7000A",3:"#9BFD4C1A",4:"#A7FE5C29",5:"#AFFE6537",6:"#B2FE6D46",7:"#B6FF6F57",8:"#B6FD6D6C",9:"#B6FE4CD5",10:"#C0FE63D9",11:"#D1FE77E4",12:"#E9FEBFF7"},_={1:"#D1510004",2:"#F9B4000B",3:"#FFAA001E",4:"#FDB70028",5:"#FEBB0036",6:"#FEC40046",7:"#FDCB225C",8:"#FDCA327B",9:"#FED81BE4",10:"#FFE14DE9",11:"#FEE949F5",12:"#FEF6BAF6"},FF={1:"#E63C0006",2:"#FD9B000D",3:"#FA820022",4:"#FC820032",5:"#FD8B0041",6:"#FD9B0051",7:"#FFAB2567",8:"#FFAE3587",9:"#FEC024E6",10:"#FFCF56EB",11:"#FFCA16",12:"#FFE7B3"},EF={1:"#EC360007",2:"#FE6D000E",3:"#FB6A0025",4:"#FF590039",5:"#FF61004A",6:"#FD75045C",7:"#FF832C75",8:"#FE84389D",9:"#FF7A45EF",10:"#FE9C75F4",11:"#FFA057",12:"#FFE0C2"};export{q as amberA,FF as amberDarkA,o as blueA,P as blueDarkA,i as bronzeA,W as bronzeDarkA,h as brownA,V as brownDarkA,c as crimsonA,I as crimsonDarkA,p as cyanA,Q as cyanDarkA,j as goldA,X as goldDarkA,g as grassA,U as grassDarkA,x as greenA,T as greenDarkA,r as indigoA,O as indigoDarkA,b as irisA,N as irisDarkA,v as jadeA,S as jadeDarkA,m as limeA,$ as limeDarkA,l as mintA,Z as mintDarkA,E as oliveA,w as oliveDarkA,s as orangeA,EF as orangeDarkA,a as pinkA,J as pinkDarkA,A as plumA,K as plumDarkA,d as purpleA,L as purpleDarkA,B as redA,G as redDarkA,C as rubyA,H as rubyDarkA,D as sandA,y as sandDarkA,k as skyA,Y as skyDarkA,F as slateA,u as slateDarkA,t as tealA,R as tealDarkA,f as tomatoA,z as tomatoDarkA,e as violetA,M as violetDarkA,n as yellowA,_ as yellowDarkA};
2
2
  //# sourceMappingURL=alpha.mjs.map