@codefast/ui 0.2.29 → 0.2.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -0
- package/README.md +9 -9
- package/dist/chunk-2IMNP5E3.js +2 -0
- package/dist/chunk-2IMNP5E3.js.map +1 -0
- package/dist/chunk-67WF7GP7.js +2 -0
- package/dist/chunk-67WF7GP7.js.map +1 -0
- package/dist/chunk-ASI3MMOG.cjs +2 -0
- package/dist/chunk-ASI3MMOG.cjs.map +1 -0
- package/dist/chunk-BWJ6X4FP.js +2 -0
- package/dist/chunk-BWJ6X4FP.js.map +1 -0
- package/dist/{chunk-HEK7QLFR.js → chunk-GIPFEUMD.js} +1 -1
- package/dist/{chunk-HEK7QLFR.js.map → chunk-GIPFEUMD.js.map} +1 -1
- package/dist/{chunk-K3WFUR2W.cjs → chunk-HH6A66HR.cjs} +2 -2
- package/dist/{chunk-K3WFUR2W.cjs.map → chunk-HH6A66HR.cjs.map} +1 -1
- package/dist/chunk-IJRHIFOZ.cjs +2 -0
- package/dist/{chunk-5NGAG7ZW.cjs.map → chunk-IJRHIFOZ.cjs.map} +1 -1
- package/dist/chunk-IU3UVNAL.js +2 -0
- package/dist/chunk-IU3UVNAL.js.map +1 -0
- package/dist/{chunk-HVGYQUXR.js → chunk-MX4VRXZV.js} +2 -2
- package/dist/{chunk-GXYHZRFH.cjs → chunk-NHKDM4JU.cjs} +1 -1
- package/dist/{chunk-GXYHZRFH.cjs.map → chunk-NHKDM4JU.cjs.map} +1 -1
- package/dist/chunk-PYHULPLG.cjs +2 -0
- package/dist/chunk-PYHULPLG.cjs.map +1 -0
- package/dist/chunk-SXYB6LLL.js +2 -0
- package/dist/chunk-SXYB6LLL.js.map +1 -0
- package/dist/chunk-US2PK6G5.cjs +2 -0
- package/dist/chunk-US2PK6G5.cjs.map +1 -0
- package/dist/chunk-Y3I5OCGY.cjs +2 -0
- package/dist/chunk-Y3I5OCGY.cjs.map +1 -0
- package/dist/components/command.cjs +1 -1
- package/dist/components/command.js +1 -1
- package/dist/components/dialog.cjs +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/sheet.cjs +1 -1
- package/dist/components/sheet.js +1 -1
- package/dist/components/sidebar.cjs +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/slider.cjs +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/table.cjs +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/tabs.cjs +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +10 -11
- package/dist/chunk-4TENCCRT.js +0 -2
- package/dist/chunk-4TENCCRT.js.map +0 -1
- package/dist/chunk-5NGAG7ZW.cjs +0 -2
- package/dist/chunk-EJJKYYHY.js +0 -2
- package/dist/chunk-EJJKYYHY.js.map +0 -1
- package/dist/chunk-JM2VJEQF.cjs +0 -2
- package/dist/chunk-JM2VJEQF.cjs.map +0 -1
- package/dist/chunk-KFORL4OH.js +0 -2
- package/dist/chunk-KFORL4OH.js.map +0 -1
- package/dist/chunk-MRIHA5JJ.js +0 -2
- package/dist/chunk-MRIHA5JJ.js.map +0 -1
- package/dist/chunk-PJWKQZHJ.cjs +0 -2
- package/dist/chunk-PJWKQZHJ.cjs.map +0 -1
- package/dist/chunk-YF2ZZY4W.js +0 -2
- package/dist/chunk-YF2ZZY4W.js.map +0 -1
- package/dist/chunk-ZNSIVYMA.cjs +0 -2
- package/dist/chunk-ZNSIVYMA.cjs.map +0 -1
- package/dist/chunk-ZVPN2HIY.cjs +0 -2
- package/dist/chunk-ZVPN2HIY.cjs.map +0 -1
- /package/dist/{chunk-HVGYQUXR.js.map → chunk-MX4VRXZV.js.map} +0 -0
package/dist/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/styles/index.css"],"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AK,IAAI,WAAW,EAAE,QAAQ,QAAQ,EAAE,GAAG,EACzE,4BAA4B,EAAE,KAAK,QAAQ,eAAe,CAAC,EAAE,KAAK,EAAE,CAAC,OAAQ,CAAE,OAAM,EACrF,4BAA4B,EAAE,KAAK,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAa,CAAE,IAAG,GAG1E,SAAS,wBAAyB,EAChC,4BAA4B,EAAE,IAAI,GAGpC,SAAS,oBAAoB,CAAE,EAC7B,4BAA4B,EAAE,KAAK,IAAI,WAAW,EAAE,QAAQ,QAAQ,EACpE,4BAA4B,EAAE,KAAK,QAAQ,eAAe,CAAC,EAAE,KAAK,EAAE,CAAC,OAAQ,CAAE,MAAK,EACpF,4BAA4B,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY","sourcesContent":["/**\n * Named Color Theme Definitions\n * -----------------------------------------------------------------------------\n * Defines color variables used throughout the application to ensure interface\n * consistency. Each color group serves a specific purpose\n * (e.g., background, border, highlights).\n */\n@theme inline {\n --color-input: var(--input);\n --color-border: var(--border);\n\n --color-ring: var(--ring);\n\n --color-background: var(--background);\n --color-foreground: var(--foreground);\n\n --color-primary: var(--primary);\n --color-primary-foreground: var(--primary-foreground);\n\n --color-secondary: var(--secondary);\n --color-secondary-foreground: var(--secondary-foreground);\n\n --color-destructive: var(--destructive);\n\n --color-accent: var(--accent);\n --color-accent-foreground: var(--accent-foreground);\n\n --color-muted: var(--muted);\n --color-muted-foreground: var(--muted-foreground);\n\n --color-popover: var(--popover);\n --color-popover-foreground: var(--popover-foreground);\n --color-popover-overlay: var(--popover-overlay);\n\n --color-card: var(--card);\n --color-card-foreground: var(--card-foreground);\n\n --color-sidebar: var(--sidebar);\n --color-sidebar-foreground: var(--sidebar-foreground);\n\n --color-sidebar-primary: var(--sidebar-primary);\n --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);\n\n --color-sidebar-accent: var(--sidebar-accent);\n --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);\n\n --color-sidebar-border: var(--sidebar-border);\n --color-sidebar-ring: var(--sidebar-ring);\n\n --color-chart-1: var(--chart-1);\n --color-chart-2: var(--chart-2);\n --color-chart-3: var(--chart-3);\n --color-chart-4: var(--chart-4);\n --color-chart-5: var(--chart-5);\n}\n\n/**\n * Base Styles\n * -----------------------------------------------------------------------------\n * Apply general settings for the entire interface, including background color,\n * text color, default border color, and customizations for input.\n */\n@layer base {\n *,\n ::after,\n ::before,\n ::backdrop,\n ::file-selector-button {\n border-color: var(--color-border);\n outline-color: color-mix(in oklab, var(--ring) 20%, transparent);\n }\n\n ::selection {\n background-color: var(--color-primary);\n color: var(--color-background);\n }\n\n html,\n body {\n background-color: var(--color-background);\n color: var(--color-foreground);\n }\n\n input {\n &::-webkit-search-cancel-button,\n &::-webkit-search-decoration {\n appearance: none;\n }\n\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n &[type='number'] {\n -moz-appearance: textfield;\n }\n }\n}\n\n/**\n * Keyframe Animations\n * -----------------------------------------------------------------------------\n * Defines basic animations such as cursor blinking effects,\n * expanding/collapsing content effects.\n */\n@theme inline {\n --animate-caret-blink: caret-blink 1250ms ease-out infinite;\n --animate-collapsible-up: collapsible-up 200ms ease-in;\n --animate-collapsible-down: collapsible-down 200ms ease-out;\n\n @keyframes caret-blink {\n 0%,\n 70%,\n 100% {\n opacity: 1;\n }\n\n 20%,\n 50% {\n opacity: 0;\n }\n }\n\n @keyframes collapsible-up {\n from {\n height: var(--radix-collapsible-content-height);\n }\n to {\n height: 0;\n }\n }\n\n @keyframes collapsible-down {\n from {\n height: 0;\n }\n to {\n height: var(--radix-collapsible-content-height);\n }\n }\n}\n\n/**\n * Animation Timing Functions\n * -----------------------------------------------------------------------------\n * Easing functions used to adjust the speed of animation transitions.\n */\n@theme inline {\n --animate-fade-in: fadeIn 250ms ease-out;\n --animate-fade-out: fadeOut 250ms ease-in;\n\n --animate-in: enter 300ms cubic-bezier(0.32, 0.72, 0, 1);\n --animate-out: exit 250ms cubic-bezier(0.32, 0.72, 0, 1);\n\n @keyframes fadeIn {\n from {\n opacity: var(--animation-enter-opacity, 0);\n }\n }\n\n @keyframes fadeOut {\n to {\n opacity: var(--animation-exit-opacity, 0);\n }\n }\n\n @keyframes enter {\n from {\n opacity: var(--animation-enter-opacity, 1);\n transform: translate3d(var(--animation-enter-translate-x, 0), var(--animation-enter-translate-y, 0), 0)\n scale3d(var(--animation-enter-scale, 1), var(--animation-enter-scale, 1), var(--animation-enter-scale, 1))\n rotate(var(--animation-enter-rotate, 0));\n }\n }\n\n @keyframes exit {\n to {\n opacity: var(--animation-exit-opacity, 1);\n transform: translate3d(var(--animation-exit-translate-x, 0), var(--animation-exit-translate-y, 0), 0)\n scale3d(var(--animation-exit-scale, 1), var(--animation-exit-scale, 1), var(--animation-exit-scale, 1))\n rotate(var(--animation-exit-rotate, 0));\n }\n }\n}\n\n/**\n * Animation Timing Functions\n * -----------------------------------------------------------------------------\n * Defines utilities to adjust animation speed.\n */\n@utility animation-ease-linear {\n animation-timing-function: linear;\n}\n\n@utility animation-ease-in {\n animation-timing-function: var(--ease-in);\n}\n\n@utility animation-ease-out {\n animation-timing-function: var(--ease-out);\n}\n\n@utility animation-ease-in-out {\n animation-timing-function: var(--ease-in-out);\n}\n\n@utility animation-ease-initial {\n animation-timing-function: initial;\n}\n\n@utility animation-ease-* {\n animation-timing-function: --value([*]);\n}\n\n/**\n * Animation Play State\n * -----------------------------------------------------------------------------\n * Adjust the playback state of the animation.\n */\n@utility animation-state-paused {\n animation-play-state: paused;\n}\n\n@utility animation-state-running {\n animation-play-state: running;\n}\n\n@utility animation-state-initial {\n animation-play-state: initial;\n}\n\n@utility animation-state-* {\n animation-play-state: --value([*]);\n}\n\n/**\n * Animation Repeat\n * -----------------------------------------------------------------------------\n * Controls the number of repetitions of the animation.\n */\n@utility animation-repeat-infinite {\n animation-iteration-count: infinite;\n}\n\n@utility animation-repeat-initial {\n animation-iteration-count: initial;\n}\n\n@utility animation-repeat-* {\n animation-iteration-count: --value(integer, [integer]);\n}\n\n/**\n * Animation Composition\n * -----------------------------------------------------------------------------\n * Defines how animations combine with each other.\n */\n@utility animation-composition-replace {\n animation-composition: replace;\n}\n\n@utility animation-composition-add {\n animation-composition: add;\n}\n\n@utility animation-composition-accumulate {\n animation-composition: accumulate;\n}\n\n@utility animation-composition-initial {\n animation-composition: initial;\n}\n\n@utility animation-composition-* {\n animation-composition: --value([*]);\n}\n\n/**\n * Animation Delay\n * -----------------------------------------------------------------------------\n * Adjust the delay time before the animation starts.\n */\n@utility animation-delay-initial {\n animation-delay: initial;\n}\n\n@utility animation-delay-* {\n animation-delay: calc(--value(integer) * 1ms);\n animation-delay: --value([*]);\n}\n\n/**\n * Animation Direction\n * -----------------------------------------------------------------------------\n * Determines the playback direction of the animation.\n */\n@utility animation-direction-normal {\n animation-direction: normal;\n}\n\n@utility animation-direction-reverse {\n animation-direction: reverse;\n}\n\n@utility animation-direction-alternate {\n animation-direction: alternate;\n}\n\n@utility animation-direction-alternate-reverse {\n animation-direction: alternate-reverse;\n}\n\n@utility animation-direction-initial {\n animation-direction: initial;\n}\n\n@utility animation-direction-* {\n animation-direction: --value([*]);\n}\n\n/**\n * Animation Duration\n * -----------------------------------------------------------------------------\n * Defines the duration of the animation execution.\n */\n@utility animation-duration-initial {\n animation-duration: initial;\n}\n\n@utility animation-duration-* {\n animation-duration: calc(--value(integer) * 1ms);\n animation-duration: --value([*]);\n}\n\n/**\n * Animation Fill Mode\n * -----------------------------------------------------------------------------\n * Defines the state of the element after the animation ends.\n */\n@utility animation-fill-none {\n animation-fill-mode: none;\n}\n\n@utility animation-fill-forwards {\n animation-fill-mode: forwards;\n}\n\n@utility animation-fill-backwards {\n animation-fill-mode: backwards;\n}\n\n@utility animation-fill-both {\n animation-fill-mode: both;\n}\n\n@utility animation-fill-* {\n animation-fill-mode: --value([*]);\n}\n\n/**\n * Fade Animations\n * -----------------------------------------------------------------------------\n * Create fade-in and fade-out effects.\n */\n@utility fade-in-* {\n --animation-enter-opacity: calc(--value(integer) * 1%);\n --animation-enter-opacity: --value(--opacity-*, [percentage]);\n}\n\n@utility fade-out-* {\n --animation-exit-opacity: calc(--value(integer) * 1%);\n --animation-exit-opacity: --value(--opacity-*, [percentage]);\n}\n\n/**\n * Rotate Animations\n * -----------------------------------------------------------------------------\n * Adjust the rotation angle of the element when it appears or disappears.\n */\n@utility spin-in-* {\n --animation-enter-rotate: calc(1deg * --value(integer));\n}\n\n@utility spin-out-* {\n --animation-exit-rotate: calc(1deg * --value(integer));\n}\n\n/**\n * Scale Animations\n * -----------------------------------------------------------------------------\n * Adjust the size of the element when it appears or disappears.\n */\n@utility zoom-in-* {\n --animation-enter-scale: --value([percentage]);\n --animation-enter-scale: calc(--value(integer) * 1%);\n}\n\n@utility zoom-out-* {\n --animation-exit-scale: --value([percentage]);\n --animation-exit-scale: calc(--value(integer) * 1%);\n}\n\n/**\n * Slide Animations - Enter\n * -----------------------------------------------------------------------------\n * Effects for sliding in from directions: left, right, top, bottom.\n */\n@utility slide-in-from-left-full {\n --animation-enter-translate-x: -100%;\n}\n\n@utility slide-in-from-left-* {\n --animation-enter-translate-x: calc(var(--spacing) * --value(number) * -1);\n --animation-enter-translate-x: calc(--value(--aspect-ratio-*, ratio, [ratio]) * -100%);\n --animation-enter-translate-x: calc(--value([length], [percentage]) * -1);\n}\n\n@utility slide-in-from-right-full {\n --animation-enter-translate-x: 100%;\n}\n\n@utility slide-in-from-right-* {\n --animation-enter-translate-x: calc(var(--spacing) * --value(number));\n --animation-enter-translate-x: calc(--value(--aspect-ratio-*, ratio, [ratio]) * 100%);\n --animation-enter-translate-x: --value([length], [percentage]);\n}\n\n@utility slide-in-from-top-full {\n --animation-enter-translate-y: -100%;\n}\n\n@utility slide-in-from-top-* {\n --animation-enter-translate-y: calc(var(--spacing) * --value(number) * -1);\n --animation-enter-translate-y: calc(--value(--aspect-ratio-*, ratio, [ratio]) * -100%);\n --animation-enter-translate-y: calc(--value([length], [percentage]) * -1);\n}\n\n@utility slide-in-from-bottom-full {\n --animation-enter-translate-y: 100%;\n}\n\n@utility slide-in-from-bottom-* {\n --animation-enter-translate-y: calc(var(--spacing) * --value(number));\n --animation-enter-translate-y: calc(--value(--aspect-ratio-*, ratio, [ratio]) * 100%);\n --animation-enter-translate-y: --value([length], [percentage]);\n}\n\n/**\n * Slide Animations - Exit\n * -----------------------------------------------------------------------------\n * Effects for sliding out of the screen in directions: left, right, top, bottom.\n */\n@utility slide-out-to-left-full {\n --animation-exit-translate-x: -100%;\n}\n\n@utility slide-out-to-left-* {\n --animation-exit-translate-x: calc(var(--spacing) * --value(number) * -1);\n --animation-exit-translate-x: calc(--value(--aspect-ratio-*, ratio, [ratio]) * -100%);\n --animation-exit-translate-x: calc(--value([length], [percentage]) * -1);\n}\n\n@utility slide-out-to-right-full {\n --animation-exit-translate-x: 100%;\n}\n\n@utility slide-out-to-right-* {\n --animation-exit-translate-x: calc(var(--spacing) * --value(number));\n --animation-exit-translate-x: calc(--value(--aspect-ratio-*, ratio, [ratio]) * 100%);\n --animation-exit-translate-x: --value([length], [percentage]);\n}\n\n@utility slide-out-to-top-full {\n --animation-exit-translate-y: -100%;\n}\n\n@utility slide-out-to-top-* {\n --animation-exit-translate-y: calc(var(--spacing) * --value(number) * -1);\n --animation-exit-translate-y: calc(--value(--aspect-ratio-*, ratio, [ratio]) * -100%);\n --animation-exit-translate-y: calc(--value([length], [percentage]) * -1);\n}\n\n@utility slide-out-to-bottom-full {\n --animation-exit-translate-y: 100%;\n}\n\n@utility slide-out-to-bottom-* {\n --animation-exit-translate-y: calc(var(--spacing) * --value(number));\n --animation-exit-translate-y: calc(--value(--aspect-ratio-*, ratio, [ratio]) * 100%);\n --animation-exit-translate-y: --value([length], [percentage]);\n}\n"]}
|
|
1
|
+
{"version":3,"sources":["../src/styles/index.css"],"names":[],"mappings":"AAOA,OAAO,MAAO,EACZ,aAAa,EAAE,IAAI,QAAQ,E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,qBAAqB,EAAE,KAAK,QAAQ,eAAe,CAAC,EAAE,KAAK,EAAE,CAAC,OAAQ,CAAE,MAAK,EAC7E,qBAAqB,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,GAGxD,SAAS,kBAAmB,EAC1B,qBAAqB,EAAE,IAAI,GAG7B,SAAS,mBAAmB,CAAE,EAC5B,qBAAqB,EAAE,KAAK,IAAI,WAAW,EAAE,QAAQ,QAAQ,EAC7D,qBAAqB,EAAE,KAAK,QAAQ,eAAe,CAAC,EAAE,KAAK,EAAE,CAAC,OAAQ,CAAE,MAAK,EAC7E,qBAAqB,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY","sourcesContent":["/**\n * Named Color Theme Definitions\n * -----------------------------------------------------------------------------\n * Defines color variables used throughout the application to ensure interface\n * consistency. Each color group serves a specific purpose\n * (e.g., background, border, highlights).\n */\n@theme inline {\n --color-input: var(--input);\n --color-border: var(--border);\n\n --color-ring: var(--ring);\n\n --color-background: var(--background);\n --color-foreground: var(--foreground);\n\n --color-primary: var(--primary);\n --color-primary-foreground: var(--primary-foreground);\n\n --color-secondary: var(--secondary);\n --color-secondary-foreground: var(--secondary-foreground);\n\n --color-destructive: var(--destructive);\n\n --color-accent: var(--accent);\n --color-accent-foreground: var(--accent-foreground);\n\n --color-muted: var(--muted);\n --color-muted-foreground: var(--muted-foreground);\n\n --color-popover: var(--popover);\n --color-popover-foreground: var(--popover-foreground);\n --color-popover-overlay: var(--popover-overlay);\n\n --color-card: var(--card);\n --color-card-foreground: var(--card-foreground);\n\n --color-sidebar: var(--sidebar);\n --color-sidebar-foreground: var(--sidebar-foreground);\n\n --color-sidebar-primary: var(--sidebar-primary);\n --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);\n\n --color-sidebar-accent: var(--sidebar-accent);\n --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);\n\n --color-sidebar-border: var(--sidebar-border);\n --color-sidebar-ring: var(--sidebar-ring);\n\n --color-chart-1: var(--chart-1);\n --color-chart-2: var(--chart-2);\n --color-chart-3: var(--chart-3);\n --color-chart-4: var(--chart-4);\n --color-chart-5: var(--chart-5);\n}\n\n/**\n * Base Styles\n * -----------------------------------------------------------------------------\n * Apply general settings for the entire interface, including background color,\n * text color, default border color, and customizations for input.\n */\n@layer base {\n *,\n ::after,\n ::before,\n ::backdrop,\n ::file-selector-button {\n border-color: var(--color-border);\n outline-color: color-mix(in oklab, var(--ring) 20%, transparent);\n }\n\n ::selection {\n background-color: var(--color-primary);\n color: var(--color-background);\n }\n\n html,\n body {\n background-color: var(--color-background);\n color: var(--color-foreground);\n }\n\n input {\n &::-webkit-search-cancel-button,\n &::-webkit-search-decoration {\n appearance: none;\n }\n\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n &[type='number'] {\n -moz-appearance: textfield;\n }\n }\n}\n\n/**\n * Keyframe Animations\n * -----------------------------------------------------------------------------\n * Defines basic animations such as cursor blinking effects,\n * expanding/collapsing content effects.\n */\n@theme inline {\n --animate-caret-blink: caret-blink 1250ms ease-out infinite;\n --animate-collapsible-up: collapsible-up 200ms ease-in;\n --animate-collapsible-down: collapsible-down 200ms ease-out;\n\n @keyframes caret-blink {\n 0%,\n 70%,\n 100% {\n opacity: 1;\n }\n\n 20%,\n 50% {\n opacity: 0;\n }\n }\n\n @keyframes collapsible-up {\n from {\n height: var(--radix-collapsible-content-height);\n }\n to {\n height: 0;\n }\n }\n\n @keyframes collapsible-down {\n from {\n height: 0;\n }\n to {\n height: var(--radix-collapsible-content-height);\n }\n }\n}\n\n/**\n * Animation Timing Functions\n * -----------------------------------------------------------------------------\n * Easing functions used to adjust the speed of animation transitions.\n */\n@theme inline {\n --animate-fade-in: fadeIn 250ms ease-out;\n --animate-fade-out: fadeOut 250ms ease-in;\n\n --animate-in: enter 300ms cubic-bezier(0.32, 0.72, 0, 1);\n --animate-out: exit 250ms cubic-bezier(0.32, 0.72, 0, 1);\n\n @keyframes fadeIn {\n from {\n opacity: var(--tw-enter-opacity, 0);\n }\n }\n\n @keyframes fadeOut {\n to {\n opacity: var(--tw-exit-opacity, 0);\n }\n }\n\n @keyframes enter {\n from {\n opacity: var(--tw-enter-opacity, 1);\n transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0)\n scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1))\n rotate(var(--tw-enter-rotate, 0));\n }\n }\n\n @keyframes exit {\n to {\n opacity: var(--tw-exit-opacity, 1);\n transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0)\n scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1))\n rotate(var(--tw-exit-rotate, 0));\n }\n }\n}\n\n/**\n * Animation Timing Functions\n * -----------------------------------------------------------------------------\n * Defines utilities to adjust animation speed.\n */\n@utility animation-ease-linear {\n animation-timing-function: linear;\n}\n\n@utility animation-ease-in {\n animation-timing-function: var(--ease-in);\n}\n\n@utility animation-ease-out {\n animation-timing-function: var(--ease-out);\n}\n\n@utility animation-ease-in-out {\n animation-timing-function: var(--ease-in-out);\n}\n\n@utility animation-ease-initial {\n animation-timing-function: initial;\n}\n\n@utility animation-ease-* {\n animation-timing-function: --value([*]);\n}\n\n/**\n * Animation Play State\n * -----------------------------------------------------------------------------\n * Adjust the playback state of the animation.\n */\n@utility animation-state-paused {\n animation-play-state: paused;\n}\n\n@utility animation-state-running {\n animation-play-state: running;\n}\n\n@utility animation-state-initial {\n animation-play-state: initial;\n}\n\n@utility animation-state-* {\n animation-play-state: --value([*]);\n}\n\n/**\n * Animation Repeat\n * -----------------------------------------------------------------------------\n * Controls the number of repetitions of the animation.\n */\n@utility animation-repeat-infinite {\n animation-iteration-count: infinite;\n}\n\n@utility animation-repeat-initial {\n animation-iteration-count: initial;\n}\n\n@utility animation-repeat-* {\n animation-iteration-count: --value(integer, [integer]);\n}\n\n/**\n * Animation Composition\n * -----------------------------------------------------------------------------\n * Defines how animations combine with each other.\n */\n@utility animation-composition-replace {\n animation-composition: replace;\n}\n\n@utility animation-composition-add {\n animation-composition: add;\n}\n\n@utility animation-composition-accumulate {\n animation-composition: accumulate;\n}\n\n@utility animation-composition-initial {\n animation-composition: initial;\n}\n\n@utility animation-composition-* {\n animation-composition: --value([*]);\n}\n\n/**\n * Animation Delay\n * -----------------------------------------------------------------------------\n * Adjust the delay time before the animation starts.\n */\n@utility animation-delay-initial {\n animation-delay: initial;\n}\n\n@utility animation-delay-* {\n animation-delay: calc(--value(integer) * 1ms);\n animation-delay: --value([*]);\n}\n\n/**\n * Animation Direction\n * -----------------------------------------------------------------------------\n * Determines the playback direction of the animation.\n */\n@utility animation-direction-normal {\n animation-direction: normal;\n}\n\n@utility animation-direction-reverse {\n animation-direction: reverse;\n}\n\n@utility animation-direction-alternate {\n animation-direction: alternate;\n}\n\n@utility animation-direction-alternate-reverse {\n animation-direction: alternate-reverse;\n}\n\n@utility animation-direction-initial {\n animation-direction: initial;\n}\n\n@utility animation-direction-* {\n animation-direction: --value([*]);\n}\n\n/**\n * Animation Duration\n * -----------------------------------------------------------------------------\n * Defines the duration of the animation execution.\n */\n@utility animation-duration-initial {\n animation-duration: initial;\n}\n\n@utility animation-duration-* {\n animation-duration: calc(--value(integer) * 1ms);\n animation-duration: --value([*]);\n}\n\n/**\n * Animation Fill Mode\n * -----------------------------------------------------------------------------\n * Defines the state of the element after the animation ends.\n */\n@utility animation-fill-none {\n animation-fill-mode: none;\n}\n\n@utility animation-fill-forwards {\n animation-fill-mode: forwards;\n}\n\n@utility animation-fill-backwards {\n animation-fill-mode: backwards;\n}\n\n@utility animation-fill-both {\n animation-fill-mode: both;\n}\n\n@utility animation-fill-* {\n animation-fill-mode: --value([*]);\n}\n\n/**\n * Fade Animations\n * -----------------------------------------------------------------------------\n * Create fade-in and fade-out effects.\n */\n@utility fade-in-* {\n --tw-enter-opacity: calc(--value(integer) * 1%);\n --tw-enter-opacity: --value(--opacity-*, [percentage]);\n}\n\n@utility fade-out-* {\n --tw-exit-opacity: calc(--value(integer) * 1%);\n --tw-exit-opacity: --value(--opacity-*, [percentage]);\n}\n\n/**\n * Rotate Animations\n * -----------------------------------------------------------------------------\n * Adjust the rotation angle of the element when it appears or disappears.\n */\n@utility spin-in-* {\n --tw-enter-rotate: calc(1deg * --value(integer));\n}\n\n@utility spin-out-* {\n --tw-exit-rotate: calc(1deg * --value(integer));\n}\n\n/**\n * Scale Animations\n * -----------------------------------------------------------------------------\n * Adjust the size of the element when it appears or disappears.\n */\n@utility zoom-in-* {\n --tw-enter-scale: --value([percentage]);\n --tw-enter-scale: calc(--value(integer) * 1%);\n}\n\n@utility zoom-out-* {\n --tw-exit-scale: --value([percentage]);\n --tw-exit-scale: calc(--value(integer) * 1%);\n}\n\n/**\n * Slide Animations - Enter\n * -----------------------------------------------------------------------------\n * Effects for sliding in from directions: left, right, top, bottom.\n */\n\n@utility slide-in-from-top {\n --tw-enter-translate-y: -100%;\n}\n\n@utility slide-in-from-top-* {\n --tw-enter-translate-y: calc(var(--spacing) * --value(number) * -1);\n --tw-enter-translate-y: calc(--value(--aspect-ratio-*, ratio, [ratio]) * -100%);\n --tw-enter-translate-y: calc(--value([length], [percentage]) * -1);\n}\n\n@utility slide-in-from-left {\n --tw-enter-translate-x: -100%;\n}\n\n@utility slide-in-from-left-* {\n --tw-enter-translate-x: calc(var(--spacing) * --value(number) * -1);\n --tw-enter-translate-x: calc(--value(--aspect-ratio-*, ratio, [ratio]) * -100%);\n --tw-enter-translate-x: calc(--value([length], [percentage]) * -1);\n}\n\n@utility slide-in-from-bottom {\n --tw-enter-translate-y: 100%;\n}\n\n@utility slide-in-from-bottom-* {\n --tw-enter-translate-y: calc(var(--spacing) * --value(number));\n --tw-enter-translate-y: calc(--value(--aspect-ratio-*, ratio, [ratio]) * 100%);\n --tw-enter-translate-y: --value([length], [percentage]);\n}\n\n@utility slide-in-from-right {\n --tw-enter-translate-x: 100%;\n}\n\n@utility slide-in-from-right-* {\n --tw-enter-translate-x: calc(var(--spacing) * --value(number));\n --tw-enter-translate-x: calc(--value(--aspect-ratio-*, ratio, [ratio]) * 100%);\n --tw-enter-translate-x: --value([length], [percentage]);\n}\n\n/**\n * Slide Animations - Exit\n * -----------------------------------------------------------------------------\n * Effects for sliding out of the screen in directions: left, right, top, bottom.\n */\n\n@utility slide-out-to-top {\n --tw-exit-translate-y: -100%;\n}\n\n@utility slide-out-to-top-* {\n --tw-exit-translate-y: calc(var(--spacing) * --value(number) * -1);\n --tw-exit-translate-y: calc(--value(--aspect-ratio-*, ratio, [ratio]) * -100%);\n --tw-exit-translate-y: calc(--value([length], [percentage]) * -1);\n}\n\n@utility slide-out-to-left {\n --tw-exit-translate-x: -100%;\n}\n\n@utility slide-out-to-left-* {\n --tw-exit-translate-x: calc(var(--spacing) * --value(number) * -1);\n --tw-exit-translate-x: calc(--value(--aspect-ratio-*, ratio, [ratio]) * -100%);\n --tw-exit-translate-x: calc(--value([length], [percentage]) * -1);\n}\n\n@utility slide-out-to-bottom {\n --tw-exit-translate-y: 100%;\n}\n\n@utility slide-out-to-bottom-* {\n --tw-exit-translate-y: calc(var(--spacing) * --value(number));\n --tw-exit-translate-y: calc(--value(--aspect-ratio-*, ratio, [ratio]) * 100%);\n --tw-exit-translate-y: --value([length], [percentage]);\n}\n\n@utility slide-out-to-right {\n --tw-exit-translate-x: 100%;\n}\n\n@utility slide-out-to-right-* {\n --tw-exit-translate-x: calc(var(--spacing) * --value(number));\n --tw-exit-translate-x: calc(--value(--aspect-ratio-*, ratio, [ratio]) * 100%);\n --tw-exit-translate-x: --value([length], [percentage]);\n}\n"]}
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as Ye,b as Ze,c as _e,d as $e,e as to,f as ao,g as io,h as eo}from"./chunk-EJJKYYHY.js";import{a as oo,b as no,c as ro,d as lo}from"./chunk-4TENCCRT.js";import{a as mo}from"./chunk-PKVGWDZR.js";import{a as co}from"./chunk-UQCCSFW6.js";import{a as po,b as fo}from"./chunk-UOBUAOYY.js";import{a as so,b as uo}from"./chunk-VR5WW6X6.js";import{a as yo,b as vo}from"./chunk-2AZ4MW4T.js";import{a as ke,b as Ae,c as we,d as De,e as ze,f as je,g as Ee,h as Se,i as Ce,j as Fe,k as Te,l as Ie,m as Oe,n as Re,o as Be,p as Ke,q as Me,r as Ne,s as Pe,t as qe,u as Ge,v as He,w as Je,x as Le}from"./chunk-YF2ZZY4W.js";import{a as xe,b as ge,c as be,d as he}from"./chunk-SSNF4WDW.js";import{a as le,b as me,c as ce,d as se,e as ue,f as pe,g as fe,h as de,i as ye}from"./chunk-KFORL4OH.js";import{a as ve}from"./chunk-HODP3L6K.js";import{a as Qe}from"./chunk-HEK7QLFR.js";import{a as Ue,b as Ve}from"./chunk-M7O3IU4I.js";import{a as We}from"./chunk-BXBCFO5B.js";import{a as Xe}from"./chunk-P7IDB2YN.js";import{a as Xi,b as Yi}from"./chunk-PRQOBYFW.js";import{a as Zi,b as _i}from"./chunk-HI5KN7UL.js";import{a as Wi}from"./chunk-3X3FY776.js";import{a as $i,b as te,c as ae}from"./chunk-QGFB3EOD.js";import{a as ie,b as ee}from"./chunk-RKNDEVL3.js";import{a as oe}from"./chunk-KZNN72X4.js";import{a as ne,b as re}from"./chunk-MKTUHVAW.js";import{a as si,b as ui,c as pi,d as fi,e as di,f as yi,g as vi,h as xi,i as gi,j as bi,k as hi,l as ki,m as Ai,n as wi,o as Di,p as zi}from"./chunk-5U6B5LAO.js";import{a as ji,b as Ei,c as Si,d as Ci,e as Fi,f as Ti,g as Ii}from"./chunk-NF7IJIGR.js";import{a as Oi,b as Ri,c as Bi,d as Ki,e as Mi,f as Ni,g as Pi}from"./chunk-KE6SQA2Z.js";import{a as qi,b as Gi,c as Hi,d as Ji,e as Li}from"./chunk-S7RX6JQY.js";import{a as Qi}from"./chunk-6LVC4RQY.js";import{a as Ui}from"./chunk-CWDAAKQY.js";import{a as Vi}from"./chunk-B4PQMLS2.js";import{a as Ya,b as Za}from"./chunk-TKFPSQNE.js";import{a as _a,b as $a,c as ti,d as ai,e as ii,f as ei,g as oi}from"./chunk-WJ52PDQT.js";import{a as ni,b as ri}from"./chunk-ZO2D5OMQ.js";import{a as li,b as mi}from"./chunk-OX5BQP42.js";import{a as Va,b as Wa,c as Xa}from"./chunk-B74UCONC.js";import{a as ci}from"./chunk-YNN7KJQN.js";import{a as wa,b as Da,c as za,d as ja,e as Ea,f as Sa,g as Ca,h as Fa,i as Ta}from"./chunk-62H6UZHH.js";import{a as Ia}from"./chunk-RLLAVOKV.js";import{a as Oa,b as Ra,c as Ba,d as Ka,e as Ma,f as Na,g as Pa,h as qa}from"./chunk-KNWGFYQN.js";import{a as Ga}from"./chunk-H4MAWWJN.js";import{a as Ha,b as Ja,c as La,d as Qa}from"./chunk-YCCLSFED.js";import{a as Ua}from"./chunk-TYU2VN3Y.js";import{a as mt,b as ct}from"./chunk-Q2PAHIDW.js";import{a as ot}from"./chunk-J6744AYH.js";import{a as st}from"./chunk-FVLQ2DUP.js";import{a as ut,b as pt,c as ft}from"./chunk-GQZLR4VV.js";import{a as wt,b as Dt,c as zt,d as jt,e as Et,f as St,g as Ct,h as Ft,i as Tt,j as It}from"./chunk-HVGYQUXR.js";import{a as dt,b as yt,c as vt,d as xt,e as gt,f as bt,g as ht,h as kt,i as At}from"./chunk-MRIHA5JJ.js";import{a as Ot}from"./chunk-ZQRHXFQO.js";import{a as Rt,b as Bt,c as Kt,d as Mt,e as Nt,f as Pt,g as qt,h as Gt,i as Ht,j as Jt,k as Lt,l as Qt,m as Ut,n as Vt,o as Wt}from"./chunk-GSIKFVMY.js";import{a as ha,b as ka,c as Aa}from"./chunk-XTJ46ZVA.js";import{a as sa,b as ua,c as pa,d as fa,e as da,f as ya,g as va,h as xa,i as ga,j as ba}from"./chunk-QL645745.js";import{a as Xt,b as Yt,c as Zt,d as _t,e as $t,f as ta,g as aa,h as ia,i as ea,j as oa,k as na,l as ra,m as la,n as ma,o as ca}from"./chunk-PZIWZBH2.js";import{a as C}from"./chunk-6XLKDRCN.js";import{a as F,b as T,c as I,d as O,e as R,f as B,g as K}from"./chunk-7TYGHN3F.js";import{a as M,b as N,c as P}from"./chunk-HFQ4PJLQ.js";import{a as q,b as G,c as H,d as J,e as L,f as Q}from"./chunk-AHHONQBW.js";import{a as U,b as V,c as W,d as X,e as Y,f as Z}from"./chunk-HF2JXACR.js";import{a as _,b as $,c as tt,d as at,e as it,f as et}from"./chunk-JFVNFELS.js";import{a as rt,b as lt}from"./chunk-MCGDQEI6.js";import{a as nt}from"./chunk-7KXMJMOL.js";import{a,b as i,c as e,d as o,e as n}from"./chunk-ZIIE5XVL.js";import{a as p,b as f,c as d,d as y,e as v,f as x,g,h as b,i as h,j as k}from"./chunk-UCRTI76K.js";import{a as s,b as u}from"./chunk-ZFCLI44C.js";import{a as c}from"./chunk-FR7P352M.js";import{a as r,b as l,c as m}from"./chunk-VSJCB3W5.js";import{a as A}from"./chunk-DSP3R77D.js";import{a as w,b as D,c as z}from"./chunk-CKTJRT3X.js";import{a as t}from"./chunk-OKUFCFYT.js";import{a as j,b as E}from"./chunk-5GIH633S.js";import{a as S}from"./chunk-LZSAF327.js";export{a as Accordion,n as AccordionContent,e as AccordionIcon,i as AccordionItem,o as AccordionTrigger,r as Alert,m as AlertDescription,p as AlertDialog,h as AlertDialogAction,v as AlertDialogBody,k as AlertDialogCancel,d as AlertDialogContent,b as AlertDialogDescription,x as AlertDialogFooter,y as AlertDialogHeader,g as AlertDialogTitle,f as AlertDialogTrigger,l as AlertTitle,A as AspectRatio,w as Avatar,z as AvatarFallback,D as AvatarImage,E as Badge,S as Blockquote,C as Box,F as Breadcrumb,K as BreadcrumbEllipsis,I as BreadcrumbItem,O as BreadcrumbLink,T as BreadcrumbList,R as BreadcrumbPage,B as BreadcrumbSeparator,u as Button,M as Calendar,P as CalendarLabel,N as CalendarRangeLabel,q as Card,L as CardContent,J as CardDescription,Q as CardFooter,G as CardHeader,H as CardTitle,V as Carousel,W as CarouselContent,X as CarouselItem,Z as CarouselNext,Y as CarouselPrevious,_ as ChartContainer,it as ChartLegend,et as ChartLegendContent,$ as ChartStyle,tt as ChartTooltip,at as ChartTooltipContent,ot as Checkbox,rt as CheckboxCards,lt as CheckboxCardsItem,mt as CheckboxGroup,ct as CheckboxGroupItem,st as Code,ut as Collapsible,ft as CollapsibleContent,pt as CollapsibleTrigger,wt as Command,Dt as CommandDialog,Et as CommandEmpty,St as CommandGroup,zt as CommandInput,Ft as CommandItem,jt as CommandList,Tt as CommandLoading,Ct as CommandSeparator,It as CommandShortcut,Ot as Container,Rt as ContextMenu,Wt as ContextMenuArrow,Jt as ContextMenuCheckboxItem,Gt as ContextMenuContent,Kt as ContextMenuGroup,Ht as ContextMenuItem,Qt as ContextMenuLabel,Nt as ContextMenuRadioGroup,Lt as ContextMenuRadioItem,Ut as ContextMenuSeparator,Vt as ContextMenuShortcut,Mt as ContextMenuSub,qt as ContextMenuSubContent,Pt as ContextMenuSubTrigger,Bt as ContextMenuTrigger,Aa as DataTableColumnHeader,ka as DataTablePagination,ha as DataTableViewOptions,dt as Dialog,gt as DialogBody,At as DialogClose,vt as DialogContent,kt as DialogDescription,bt as DialogFooter,xt as DialogHeader,ht as DialogTitle,yt as DialogTrigger,wa as Drawer,Ea as DrawerBody,Ta as DrawerClose,za as DrawerContent,Fa as DrawerDescription,Sa as DrawerFooter,ja as DrawerHeader,Ca as DrawerTitle,Da as DrawerTrigger,Xt as DropdownMenu,ca as DropdownMenuArrow,oa as DropdownMenuCheckboxItem,ia as DropdownMenuContent,Zt as DropdownMenuGroup,ea as DropdownMenuItem,ra as DropdownMenuLabel,$t as DropdownMenuRadioGroup,na as DropdownMenuRadioItem,la as DropdownMenuSeparator,ma as DropdownMenuShortcut,_t as DropdownMenuSub,aa as DropdownMenuSubContent,ta as DropdownMenuSubTrigger,Yt as DropdownMenuTrigger,Ia as Em,Oa as Form,Na as FormControl,Pa as FormDescription,Ba as FormField,Ka as FormItem,Ma as FormLabel,qa as FormMessage,Ga as Heading,Ha as HoverCard,Qa as HoverCardArrow,La as HoverCardContent,Ja as HoverCardTrigger,Ua as Inline,Wa as Input,Ya as InputNumber,_a as InputOTP,$a as InputOTPGroup,ai as InputOTPSeparator,ti as InputOTPSlot,ni as InputPassword,li as InputSearch,ci as Kbd,nt as Label,si as Menubar,zi as MenubarArrow,hi as MenubarCheckboxItem,gi as MenubarContent,pi as MenubarGroup,bi as MenubarItem,Ai as MenubarLabel,ui as MenubarMenu,di as MenubarRadioGroup,ki as MenubarRadioItem,wi as MenubarSeparator,Di as MenubarShortcut,fi as MenubarSub,xi as MenubarSubContent,vi as MenubarSubTrigger,yi as MenubarTrigger,ji as NavigationMenu,Ti as NavigationMenuContent,Si as NavigationMenuItem,Ii as NavigationMenuLink,Ei as NavigationMenuList,Fi as NavigationMenuTrigger,Za as NumberInput,Oi as Pagination,Ri as PaginationContent,Pi as PaginationEllipsis,Bi as PaginationItem,Ki as PaginationLink,Ni as PaginationNext,Mi as PaginationPrevious,ri as PasswordInput,qi as Popover,Hi as PopoverAnchor,Li as PopoverArrow,Ji as PopoverContent,Gi as PopoverTrigger,Qi as Pre,Ui as Progress,Vi as Quote,ii as REGEXP_ONLY_CHARS,ei as REGEXP_ONLY_DIGITS,oi as REGEXP_ONLY_DIGITS_AND_CHARS,Wi as Radio,Xi as RadioCards,Yi as RadioCardsItem,Zi as RadioGroup,_i as RadioGroupItem,ae as ResizableHandle,te as ResizablePanel,$i as ResizablePanelGroup,ie as ScrollArea,ee as ScrollAreaScrollbar,mi as SearchInput,oe as Section,sa as Select,va as SelectContent,ua as SelectGroup,ga as SelectItem,xa as SelectLabel,ya as SelectScrollDownButton,da as SelectScrollUpButton,ba as SelectSeparator,fa as SelectTrigger,pa as SelectValue,ne as Separator,re as SeparatorItem,le as Sheet,ue as SheetBody,ye as SheetClose,ce as SheetContent,de as SheetDescription,pe as SheetFooter,se as SheetHeader,fe as SheetTitle,me as SheetTrigger,we as Sidebar,Te as SidebarContent,Ce as SidebarFooter,Ie as SidebarGroup,Re as SidebarGroupAction,Be as SidebarGroupContent,Oe as SidebarGroupLabel,Se as SidebarHeader,Ee as SidebarInput,je as SidebarInset,Ke as SidebarMenu,Pe as SidebarMenuAction,qe as SidebarMenuBadge,Ne as SidebarMenuButton,Me as SidebarMenuItem,Ge as SidebarMenuSkeleton,He as SidebarMenuSub,Le as SidebarMenuSubButton,Je as SidebarMenuSubItem,Ae as SidebarProvider,ze as SidebarRail,Fe as SidebarSeparator,De as SidebarTrigger,ve as Skeleton,Qe as Slider,c as Spinner,We as Strong,Xe as Switch,Ye as Table,_e as TableBody,eo as TableCaption,io as TableCell,$e as TableFooter,ao as TableHead,Ze as TableHeader,to as TableRow,oo as Tabs,lo as TabsContent,no as TabsList,ro as TabsTrigger,mo as Text,Xa as TextInput,co as Textarea,Ue as Toaster,uo as Toggle,po as ToggleGroup,fo as ToggleGroupItem,ge as Tooltip,he as TooltipContent,xe as TooltipProvider,be as TooltipTrigger,j as badgeVariants,s as buttonVariants,t as cn,U as createCarouselScope,Ra as createFormFieldScope,Va as inputVariants,yo as logger,vo as loggerWithTag,Ci as navigationMenuTriggerStyle,Ve as toast,so as toggleVariants,ke as useSidebar};
|
|
1
|
+
import{a as Yi,b as Zi,c as _i,d as $i,e as to,f as eo,g as ao,h as io}from"./chunk-BWJ6X4FP.js";import{a as oo,b as ro,c as no,d as lo}from"./chunk-IU3UVNAL.js";import{a as co}from"./chunk-PKVGWDZR.js";import{a as mo}from"./chunk-UQCCSFW6.js";import{a as po,b as fo}from"./chunk-UOBUAOYY.js";import{a as so,b as uo}from"./chunk-VR5WW6X6.js";import{a as yo,b as vo}from"./chunk-2AZ4MW4T.js";import{a as wi,b as ki,c as Ai,d as Di,e as zi,f as ji,g as Ei,h as Si,i as Ci,j as Fi,k as Ti,l as Ii,m as Oi,n as Ri,o as Bi,p as Ki,q as Mi,r as Ni,s as Pi,t as qi,u as Gi,v as Hi,w as Ji,x as Li}from"./chunk-SXYB6LLL.js";import{a as xi,b as gi,c as bi,d as hi}from"./chunk-SSNF4WDW.js";import{a as li,b as ci,c as mi,d as si,e as ui,f as pi,g as fi,h as di,i as yi}from"./chunk-67WF7GP7.js";import{a as vi}from"./chunk-HODP3L6K.js";import{a as Qi}from"./chunk-GIPFEUMD.js";import{a as Ui,b as Vi}from"./chunk-M7O3IU4I.js";import{a as Wi}from"./chunk-BXBCFO5B.js";import{a as Xi}from"./chunk-P7IDB2YN.js";import{a as Xa,b as Ya}from"./chunk-PRQOBYFW.js";import{a as Za,b as _a}from"./chunk-HI5KN7UL.js";import{a as Wa}from"./chunk-3X3FY776.js";import{a as $a,b as ti,c as ei}from"./chunk-QGFB3EOD.js";import{a as ai,b as ii}from"./chunk-RKNDEVL3.js";import{a as oi}from"./chunk-KZNN72X4.js";import{a as ri,b as ni}from"./chunk-MKTUHVAW.js";import{a as sa,b as ua,c as pa,d as fa,e as da,f as ya,g as va,h as xa,i as ga,j as ba,k as ha,l as wa,m as ka,n as Aa,o as Da,p as za}from"./chunk-5U6B5LAO.js";import{a as ja,b as Ea,c as Sa,d as Ca,e as Fa,f as Ta,g as Ia}from"./chunk-NF7IJIGR.js";import{a as Oa,b as Ra,c as Ba,d as Ka,e as Ma,f as Na,g as Pa}from"./chunk-KE6SQA2Z.js";import{a as qa,b as Ga,c as Ha,d as Ja,e as La}from"./chunk-S7RX6JQY.js";import{a as Qa}from"./chunk-6LVC4RQY.js";import{a as Ua}from"./chunk-CWDAAKQY.js";import{a as Va}from"./chunk-B4PQMLS2.js";import{a as Ye,b as Ze}from"./chunk-TKFPSQNE.js";import{a as _e,b as $e,c as ta,d as ea,e as aa,f as ia,g as oa}from"./chunk-WJ52PDQT.js";import{a as ra,b as na}from"./chunk-ZO2D5OMQ.js";import{a as la,b as ca}from"./chunk-OX5BQP42.js";import{a as Ve,b as We,c as Xe}from"./chunk-B74UCONC.js";import{a as ma}from"./chunk-YNN7KJQN.js";import{a as Ae,b as De,c as ze,d as je,e as Ee,f as Se,g as Ce,h as Fe,i as Te}from"./chunk-62H6UZHH.js";import{a as Ie}from"./chunk-RLLAVOKV.js";import{a as Oe,b as Re,c as Be,d as Ke,e as Me,f as Ne,g as Pe,h as qe}from"./chunk-KNWGFYQN.js";import{a as Ge}from"./chunk-H4MAWWJN.js";import{a as He,b as Je,c as Le,d as Qe}from"./chunk-YCCLSFED.js";import{a as Ue}from"./chunk-TYU2VN3Y.js";import{a as ct,b as mt}from"./chunk-Q2PAHIDW.js";import{a as ot}from"./chunk-J6744AYH.js";import{a as st}from"./chunk-FVLQ2DUP.js";import{a as ut,b as pt,c as ft}from"./chunk-GQZLR4VV.js";import{a as At,b as Dt,c as zt,d as jt,e as Et,f as St,g as Ct,h as Ft,i as Tt,j as It}from"./chunk-MX4VRXZV.js";import{a as dt,b as yt,c as vt,d as xt,e as gt,f as bt,g as ht,h as wt,i as kt}from"./chunk-2IMNP5E3.js";import{a as Ot}from"./chunk-ZQRHXFQO.js";import{a as Rt,b as Bt,c as Kt,d as Mt,e as Nt,f as Pt,g as qt,h as Gt,i as Ht,j as Jt,k as Lt,l as Qt,m as Ut,n as Vt,o as Wt}from"./chunk-GSIKFVMY.js";import{a as he,b as we,c as ke}from"./chunk-XTJ46ZVA.js";import{a as se,b as ue,c as pe,d as fe,e as de,f as ye,g as ve,h as xe,i as ge,j as be}from"./chunk-QL645745.js";import{a as Xt,b as Yt,c as Zt,d as _t,e as $t,f as te,g as ee,h as ae,i as ie,j as oe,k as re,l as ne,m as le,n as ce,o as me}from"./chunk-PZIWZBH2.js";import{a as C}from"./chunk-6XLKDRCN.js";import{a as F,b as T,c as I,d as O,e as R,f as B,g as K}from"./chunk-7TYGHN3F.js";import{a as M,b as N,c as P}from"./chunk-HFQ4PJLQ.js";import{a as q,b as G,c as H,d as J,e as L,f as Q}from"./chunk-AHHONQBW.js";import{a as U,b as V,c as W,d as X,e as Y,f as Z}from"./chunk-HF2JXACR.js";import{a as _,b as $,c as tt,d as et,e as at,f as it}from"./chunk-JFVNFELS.js";import{a as nt,b as lt}from"./chunk-MCGDQEI6.js";import{a as rt}from"./chunk-7KXMJMOL.js";import{a as e,b as a,c as i,d as o,e as r}from"./chunk-ZIIE5XVL.js";import{a as p,b as f,c as d,d as y,e as v,f as x,g,h as b,i as h,j as w}from"./chunk-UCRTI76K.js";import{a as s,b as u}from"./chunk-ZFCLI44C.js";import{a as m}from"./chunk-FR7P352M.js";import{a as n,b as l,c}from"./chunk-VSJCB3W5.js";import{a as k}from"./chunk-DSP3R77D.js";import{a as A,b as D,c as z}from"./chunk-CKTJRT3X.js";import{a as t}from"./chunk-OKUFCFYT.js";import{a as j,b as E}from"./chunk-5GIH633S.js";import{a as S}from"./chunk-LZSAF327.js";export{e as Accordion,r as AccordionContent,i as AccordionIcon,a as AccordionItem,o as AccordionTrigger,n as Alert,c as AlertDescription,p as AlertDialog,h as AlertDialogAction,v as AlertDialogBody,w as AlertDialogCancel,d as AlertDialogContent,b as AlertDialogDescription,x as AlertDialogFooter,y as AlertDialogHeader,g as AlertDialogTitle,f as AlertDialogTrigger,l as AlertTitle,k as AspectRatio,A as Avatar,z as AvatarFallback,D as AvatarImage,E as Badge,S as Blockquote,C as Box,F as Breadcrumb,K as BreadcrumbEllipsis,I as BreadcrumbItem,O as BreadcrumbLink,T as BreadcrumbList,R as BreadcrumbPage,B as BreadcrumbSeparator,u as Button,M as Calendar,P as CalendarLabel,N as CalendarRangeLabel,q as Card,L as CardContent,J as CardDescription,Q as CardFooter,G as CardHeader,H as CardTitle,V as Carousel,W as CarouselContent,X as CarouselItem,Z as CarouselNext,Y as CarouselPrevious,_ as ChartContainer,at as ChartLegend,it as ChartLegendContent,$ as ChartStyle,tt as ChartTooltip,et as ChartTooltipContent,ot as Checkbox,nt as CheckboxCards,lt as CheckboxCardsItem,ct as CheckboxGroup,mt as CheckboxGroupItem,st as Code,ut as Collapsible,ft as CollapsibleContent,pt as CollapsibleTrigger,At as Command,Dt as CommandDialog,Et as CommandEmpty,St as CommandGroup,zt as CommandInput,Ft as CommandItem,jt as CommandList,Tt as CommandLoading,Ct as CommandSeparator,It as CommandShortcut,Ot as Container,Rt as ContextMenu,Wt as ContextMenuArrow,Jt as ContextMenuCheckboxItem,Gt as ContextMenuContent,Kt as ContextMenuGroup,Ht as ContextMenuItem,Qt as ContextMenuLabel,Nt as ContextMenuRadioGroup,Lt as ContextMenuRadioItem,Ut as ContextMenuSeparator,Vt as ContextMenuShortcut,Mt as ContextMenuSub,qt as ContextMenuSubContent,Pt as ContextMenuSubTrigger,Bt as ContextMenuTrigger,ke as DataTableColumnHeader,we as DataTablePagination,he as DataTableViewOptions,dt as Dialog,gt as DialogBody,kt as DialogClose,vt as DialogContent,wt as DialogDescription,bt as DialogFooter,xt as DialogHeader,ht as DialogTitle,yt as DialogTrigger,Ae as Drawer,Ee as DrawerBody,Te as DrawerClose,ze as DrawerContent,Fe as DrawerDescription,Se as DrawerFooter,je as DrawerHeader,Ce as DrawerTitle,De as DrawerTrigger,Xt as DropdownMenu,me as DropdownMenuArrow,oe as DropdownMenuCheckboxItem,ae as DropdownMenuContent,Zt as DropdownMenuGroup,ie as DropdownMenuItem,ne as DropdownMenuLabel,$t as DropdownMenuRadioGroup,re as DropdownMenuRadioItem,le as DropdownMenuSeparator,ce as DropdownMenuShortcut,_t as DropdownMenuSub,ee as DropdownMenuSubContent,te as DropdownMenuSubTrigger,Yt as DropdownMenuTrigger,Ie as Em,Oe as Form,Ne as FormControl,Pe as FormDescription,Be as FormField,Ke as FormItem,Me as FormLabel,qe as FormMessage,Ge as Heading,He as HoverCard,Qe as HoverCardArrow,Le as HoverCardContent,Je as HoverCardTrigger,Ue as Inline,We as Input,Ye as InputNumber,_e as InputOTP,$e as InputOTPGroup,ea as InputOTPSeparator,ta as InputOTPSlot,ra as InputPassword,la as InputSearch,ma as Kbd,rt as Label,sa as Menubar,za as MenubarArrow,ha as MenubarCheckboxItem,ga as MenubarContent,pa as MenubarGroup,ba as MenubarItem,ka as MenubarLabel,ua as MenubarMenu,da as MenubarRadioGroup,wa as MenubarRadioItem,Aa as MenubarSeparator,Da as MenubarShortcut,fa as MenubarSub,xa as MenubarSubContent,va as MenubarSubTrigger,ya as MenubarTrigger,ja as NavigationMenu,Ta as NavigationMenuContent,Sa as NavigationMenuItem,Ia as NavigationMenuLink,Ea as NavigationMenuList,Fa as NavigationMenuTrigger,Ze as NumberInput,Oa as Pagination,Ra as PaginationContent,Pa as PaginationEllipsis,Ba as PaginationItem,Ka as PaginationLink,Na as PaginationNext,Ma as PaginationPrevious,na as PasswordInput,qa as Popover,Ha as PopoverAnchor,La as PopoverArrow,Ja as PopoverContent,Ga as PopoverTrigger,Qa as Pre,Ua as Progress,Va as Quote,aa as REGEXP_ONLY_CHARS,ia as REGEXP_ONLY_DIGITS,oa as REGEXP_ONLY_DIGITS_AND_CHARS,Wa as Radio,Xa as RadioCards,Ya as RadioCardsItem,Za as RadioGroup,_a as RadioGroupItem,ei as ResizableHandle,ti as ResizablePanel,$a as ResizablePanelGroup,ai as ScrollArea,ii as ScrollAreaScrollbar,ca as SearchInput,oi as Section,se as Select,ve as SelectContent,ue as SelectGroup,ge as SelectItem,xe as SelectLabel,ye as SelectScrollDownButton,de as SelectScrollUpButton,be as SelectSeparator,fe as SelectTrigger,pe as SelectValue,ri as Separator,ni as SeparatorItem,li as Sheet,ui as SheetBody,yi as SheetClose,mi as SheetContent,di as SheetDescription,pi as SheetFooter,si as SheetHeader,fi as SheetTitle,ci as SheetTrigger,Ai as Sidebar,Ti as SidebarContent,Ci as SidebarFooter,Ii as SidebarGroup,Ri as SidebarGroupAction,Bi as SidebarGroupContent,Oi as SidebarGroupLabel,Si as SidebarHeader,Ei as SidebarInput,ji as SidebarInset,Ki as SidebarMenu,Pi as SidebarMenuAction,qi as SidebarMenuBadge,Ni as SidebarMenuButton,Mi as SidebarMenuItem,Gi as SidebarMenuSkeleton,Hi as SidebarMenuSub,Li as SidebarMenuSubButton,Ji as SidebarMenuSubItem,ki as SidebarProvider,zi as SidebarRail,Fi as SidebarSeparator,Di as SidebarTrigger,vi as Skeleton,Qi as Slider,m as Spinner,Wi as Strong,Xi as Switch,Yi as Table,_i as TableBody,io as TableCaption,ao as TableCell,$i as TableFooter,eo as TableHead,Zi as TableHeader,to as TableRow,oo as Tabs,lo as TabsContent,ro as TabsList,no as TabsTrigger,co as Text,Xe as TextInput,mo as Textarea,Ui as Toaster,uo as Toggle,po as ToggleGroup,fo as ToggleGroupItem,gi as Tooltip,hi as TooltipContent,xi as TooltipProvider,bi as TooltipTrigger,j as badgeVariants,s as buttonVariants,t as cn,U as createCarouselScope,Re as createFormFieldScope,Ve as inputVariants,yo as logger,vo as loggerWithTag,Ca as navigationMenuTriggerStyle,Vi as toast,so as toggleVariants,wi as useSidebar};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codefast/ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.31",
|
|
4
4
|
"bugs": {
|
|
5
5
|
"url": "https://github.com/codefastlabs/codefast/issues"
|
|
6
6
|
},
|
|
@@ -68,20 +68,20 @@
|
|
|
68
68
|
"@radix-ui/react-visually-hidden": "^1.1.2",
|
|
69
69
|
"chalk": "^5.4.1",
|
|
70
70
|
"clsx": "^2.1.1",
|
|
71
|
-
"cmdk": "^1.
|
|
71
|
+
"cmdk": "^1.1.1",
|
|
72
72
|
"embla-carousel-react": "^8.5.2",
|
|
73
73
|
"input-otp": "^1.4.2",
|
|
74
|
-
"lucide-react": "^0.
|
|
75
|
-
"react-day-picker": "^9.6.
|
|
74
|
+
"lucide-react": "^0.483.0",
|
|
75
|
+
"react-day-picker": "^9.6.3",
|
|
76
76
|
"react-resizable-panels": "^2.1.7",
|
|
77
77
|
"sonner": "^2.0.1",
|
|
78
78
|
"tailwind-merge": "^3.0.2",
|
|
79
79
|
"tailwind-variants": "^1.0.0",
|
|
80
80
|
"vaul": "^1.1.2",
|
|
81
|
-
"@codefast-ui/checkbox-group": "0.2.
|
|
82
|
-
"@codefast-ui/input": "0.2.
|
|
83
|
-
"@codefast-ui/input-number": "0.2.
|
|
84
|
-
"@codefast/hooks": "0.2.
|
|
81
|
+
"@codefast-ui/checkbox-group": "0.2.31",
|
|
82
|
+
"@codefast-ui/input": "0.2.31",
|
|
83
|
+
"@codefast-ui/input-number": "0.2.31",
|
|
84
|
+
"@codefast/hooks": "0.2.31"
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
87
|
"@tailwindcss/postcss": "^4.0.14",
|
|
@@ -91,8 +91,8 @@
|
|
|
91
91
|
"tailwindcss": "^4.0.14",
|
|
92
92
|
"tsup": "^8.4.0",
|
|
93
93
|
"typescript": "^5.8.2",
|
|
94
|
-
"@codefast/
|
|
95
|
-
"@codefast/
|
|
94
|
+
"@codefast/eslint-config": "0.2.31",
|
|
95
|
+
"@codefast/typescript-config": "0.2.31"
|
|
96
96
|
},
|
|
97
97
|
"peerDependencies": {
|
|
98
98
|
"@tanstack/react-table": ">=8",
|
|
@@ -120,7 +120,6 @@
|
|
|
120
120
|
"build": "tsup",
|
|
121
121
|
"clean": "rm -rf node_modules dist",
|
|
122
122
|
"dev": "tsup --watch",
|
|
123
|
-
"dev:docs": "tsup --watch",
|
|
124
123
|
"lint": "TIMING=1 eslint --max-warnings 0",
|
|
125
124
|
"lint:inspect": "npx @eslint/config-inspector@latest"
|
|
126
125
|
}
|
package/dist/chunk-4TENCCRT.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as n}from"./chunk-OKUFCFYT.js";import*as t from"@radix-ui/react-tabs";import{jsx as o}from"react/jsx-runtime";function s({...e}){return o(t.Root,{"data-slot":"tabs",...e})}function r({className:e,...i}){return o(t.List,{className:n("bg-muted text-muted-foreground inline-flex items-center justify-center gap-1 rounded-xl px-1 py-1",e),"data-slot":"tabs-list",...i})}function m({className:e,...i}){return o(t.Trigger,{className:n("data-[state=active]:bg-background dark:data-[state=active]:bg-input/50 data-[state=active]:text-foreground focus-visible:ring-ring/50 focus-visible:ring-3 dark:outline-ring not-dark:outline-hidden inline-flex items-center justify-center gap-1.5 whitespace-nowrap rounded-lg px-2 py-1.5 text-sm font-medium transition disabled:opacity-50 data-[state=active]:shadow-sm dark:-outline-offset-1 dark:data-[state=active]:outline-1 [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0",e),"data-slot":"tabs-trigger",...i})}function d({className:e,...i}){return o(t.Content,{className:n("outline-ring ring-ring/50 mt-2 rounded-xl focus-visible:outline-1 focus-visible:ring-4",e),"data-slot":"tabs-content",...i})}export{s as a,r as b,m as c,d};
|
|
2
|
-
//# sourceMappingURL=chunk-4TENCCRT.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/tabs.tsx"],"names":["TabsPrimitive","jsx","Tabs","props","TabsList","className","cn","TabsTrigger","TabsContent"],"mappings":"wCAEA,UAAYA,MAAmB,uBAStB,cAAAC,MAAA,oBADT,SAASC,EAAK,CAAE,GAAGC,CAAM,EAA2D,CAClF,OAAOF,EAAe,OAAd,CAAmB,YAAU,OAAQ,GAAGE,EAAO,CACzD,CAMA,SAASC,EAAS,CAAE,UAAAC,EAAW,GAAGF,CAAM,EAA2D,CACjG,OACEF,EAAe,OAAd,CACC,UAAWK,EACT,oGACAD,CACF,EACA,YAAU,YACT,GAAGF,EACN,CAEJ,CAMA,SAASI,EAAY,CAAE,UAAAF,EAAW,GAAGF,CAAM,EAA8D,CACvG,OACEF,EAAe,UAAd,CACC,UAAWK,EACT,ieACAD,CACF,EACA,YAAU,eACT,GAAGF,EACN,CAEJ,CAMA,SAASK,EAAY,CAAE,UAAAH,EAAW,GAAGF,CAAM,EAA8D,CACvG,OACEF,EAAe,UAAd,CACC,UAAWK,EACT,yFACAD,CACF,EACA,YAAU,eACT,GAAGF,EACN,CAEJ","sourcesContent":["import type { ComponentProps, JSX } from 'react';\n\nimport * as TabsPrimitive from '@radix-ui/react-tabs';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Tabs\n * -------------------------------------------------------------------------- */\n\nfunction Tabs({ ...props }: ComponentProps<typeof TabsPrimitive.Root>): JSX.Element {\n return <TabsPrimitive.Root data-slot=\"tabs\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: TabsList\n * -------------------------------------------------------------------------- */\n\nfunction TabsList({ className, ...props }: ComponentProps<typeof TabsPrimitive.List>): JSX.Element {\n return (\n <TabsPrimitive.List\n className={cn(\n 'bg-muted text-muted-foreground inline-flex items-center justify-center gap-1 rounded-xl px-1 py-1',\n className,\n )}\n data-slot=\"tabs-list\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: TabsTrigger\n * -------------------------------------------------------------------------- */\n\nfunction TabsTrigger({ className, ...props }: ComponentProps<typeof TabsPrimitive.Trigger>): JSX.Element {\n return (\n <TabsPrimitive.Trigger\n className={cn(\n \"data-[state=active]:bg-background dark:data-[state=active]:bg-input/50 data-[state=active]:text-foreground focus-visible:ring-ring/50 focus-visible:ring-3 dark:outline-ring not-dark:outline-hidden inline-flex items-center justify-center gap-1.5 whitespace-nowrap rounded-lg px-2 py-1.5 text-sm font-medium transition disabled:opacity-50 data-[state=active]:shadow-sm dark:-outline-offset-1 dark:data-[state=active]:outline-1 [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0\",\n className,\n )}\n data-slot=\"tabs-trigger\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: TabsContent\n * -------------------------------------------------------------------------- */\n\nfunction TabsContent({ className, ...props }: ComponentProps<typeof TabsPrimitive.Content>): JSX.Element {\n return (\n <TabsPrimitive.Content\n className={cn(\n 'outline-ring ring-ring/50 mt-2 rounded-xl focus-visible:outline-1 focus-visible:ring-4',\n className,\n )}\n data-slot=\"tabs-content\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Tabs, TabsContent, TabsList, TabsTrigger };\n"]}
|
package/dist/chunk-5NGAG7ZW.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkTNP6NVCRcjs = require('./chunk-TNP6NVCR.cjs');var _chunkSMJEDCFPcjs = require('./chunk-SMJEDCFP.cjs');var _reactdialog = require('@radix-ui/react-dialog'); var o = _interopRequireWildcard(_reactdialog);var _lucidereact = require('lucide-react');var _jsxruntime = require('react/jsx-runtime');function f({...t}){return _jsxruntime.jsx.call(void 0, o.Root,{"data-slot":"dialog",...t})}function c({...t}){return _jsxruntime.jsx.call(void 0, o.Trigger,{"data-slot":"dialog-trigger",...t})}function u({children:t,className:e,classNames:r,...n}){return _jsxruntime.jsxs.call(void 0, o.Portal,{children:[_jsxruntime.jsx.call(void 0, o.Overlay,{className:_chunkSMJEDCFPcjs.a.call(void 0, "bg-popover-overlay data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out fixed inset-0 z-50 backdrop-blur-sm",_optionalChain([r, 'optionalAccess', _ => _.overlay])),"data-slot":"dialog-overlay"}),_jsxruntime.jsx.call(void 0, o.Content,{className:_chunkSMJEDCFPcjs.a.call(void 0, "data-[state=open]:animate-in max-sm:data-[state=open]:animation-duration-500 max-sm:data-[state=open]:slide-in-from-bottom-full sm:data-[state=open]:fade-in-0 sm:data-[state=open]:zoom-in-95 data-[state=closed]:animate-out max-sm:data-[state=closed]:animation-duration-500 max-sm:data-[state=closed]:slide-out-to-bottom-full sm:data-[state=closed]:fade-out-0 sm:data-[state=closed]:zoom-out-95 fixed inset-0 z-50 grid grid-rows-[1fr_auto] justify-items-center overflow-auto sm:grid-rows-[1fr_auto_3fr] sm:p-4",_optionalChain([r, 'optionalAccess', _2 => _2.wrapper])),"data-slot":"dialog-content-wrapper",...n,children:_jsxruntime.jsxs.call(void 0, "div",{className:_chunkSMJEDCFPcjs.a.call(void 0, "bg-popover text-popover-foreground relative row-start-2 flex w-full flex-col rounded-t-2xl border shadow-lg sm:max-w-lg sm:rounded-2xl",_optionalChain([r, 'optionalAccess', _3 => _3.content]),e),"data-slot":"dialog-content",children:[t,_jsxruntime.jsxs.call(void 0, o.Close,{className:_chunkTNP6NVCRcjs.a.call(void 0, {className:["absolute right-2.5 top-2.5 size-7",_optionalChain([r, 'optionalAccess', _4 => _4.close])],size:"icon",variant:"ghost"}),"data-slot":"dialog-close",children:[_jsxruntime.jsx.call(void 0, _lucidereact.XIcon,{className:"size-4"}),_jsxruntime.jsx.call(void 0, "span",{className:"sr-only",children:"Close"})]})]})})]})}function v({className:t,...e}){return _jsxruntime.jsx.call(void 0, "header",{className:_chunkSMJEDCFPcjs.a.call(void 0, "flex shrink-0 flex-col gap-1.5 px-6 pb-2 pt-6 text-center sm:text-left",t),"data-slot":"dialog-header",...e})}function P({className:t,...e}){return _jsxruntime.jsx.call(void 0, "main",{className:_chunkSMJEDCFPcjs.a.call(void 0, "overflow-auto px-6 py-2",t),"data-slot":"dialog-body",...e})}function D({className:t,...e}){return _jsxruntime.jsx.call(void 0, "footer",{className:_chunkSMJEDCFPcjs.a.call(void 0, "flex shrink-0 flex-col-reverse gap-2 px-6 pb-6 pt-2 sm:flex-row sm:justify-end",t),"data-slot":"dialog-footer",...e})}function x({className:t,...e}){return _jsxruntime.jsx.call(void 0, o.Title,{className:_chunkSMJEDCFPcjs.a.call(void 0, "text-lg font-semibold leading-none tracking-tight",t),"data-slot":"dialog-title",...e})}function y({className:t,...e}){return _jsxruntime.jsx.call(void 0, o.Description,{className:_chunkSMJEDCFPcjs.a.call(void 0, "text-muted-foreground text-sm",t),"data-slot":"dialog-description",...e})}function C({className:t,size:e,variant:r="outline",...n}){return _jsxruntime.jsx.call(void 0, o.Close,{className:_chunkTNP6NVCRcjs.a.call(void 0, {className:t,size:e,variant:r}),"data-slot":"dialog-close",...n})}exports.a = f; exports.b = c; exports.c = u; exports.d = v; exports.e = P; exports.f = D; exports.g = x; exports.h = y; exports.i = C;
|
|
2
|
-
//# sourceMappingURL=chunk-5NGAG7ZW.cjs.map
|
package/dist/chunk-EJJKYYHY.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-OKUFCFYT.js";import{jsx as o}from"react/jsx-runtime";function n({className:t,...e}){return o("div",{className:"relative w-full overflow-auto","data-slot":"table-cotainer",children:o("table",{className:a("w-full caption-bottom text-sm",t),"data-slot":"table",...e})})}function l({className:t,...e}){return o("thead",{className:a("[&>tr]:has-aria-expanded:bg-transparent [&>tr]:border-b [&>tr]:hover:bg-transparent",t),"data-slot":"table-header",...e})}function d({className:t,...e}){return o("tbody",{className:a("[&>tr:last-child]:border-0",t),"data-slot":"table-body",...e})}function s({className:t,...e}){return o("tfoot",{className:a("[&>tr]:has-aria-expanded:bg-transparent [&>tr]:border-b-0 [&>tr]:border-t [&>tr]:hover:bg-transparent",t),"data-slot":"table-footer",...e})}function m({className:t,...e}){return o("tr",{className:a("hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",t),"data-slot":"table-row",...e})}function b({className:t,...e}){return o("th",{className:a("text-muted-foreground p-2 text-left align-middle font-medium",t),"data-slot":"table-head",...e})}function p({className:t,...e}){return o("td",{className:a("p-2 align-middle",t),"data-slot":"table-cell",...e})}function i({className:t,...e}){return o("caption",{className:a("text-muted-foreground mt-4 text-sm",t),"data-slot":"table-caption",...e})}export{n as a,l as b,d as c,s as d,m as e,b as f,p as g,i as h};
|
|
2
|
-
//# sourceMappingURL=chunk-EJJKYYHY.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/table.tsx"],"names":["jsx","Table","className","props","cn","TableHeader","TableBody","TableFooter","TableRow","TableHead","TableCell","TableCaption"],"mappings":"mCAWM,cAAAA,MAAA,oBAHN,SAASC,EAAM,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAyC,CAC5E,OACEH,EAAC,OAAI,UAAU,gCAAgC,YAAU,iBACvD,SAAAA,EAAC,SAAM,UAAWI,EAAG,gCAAiCF,CAAS,EAAG,YAAU,QAAS,GAAGC,EAAO,EACjG,CAEJ,CAMA,SAASE,EAAY,CAAE,UAAAH,EAAW,GAAGC,CAAM,EAAyC,CAClF,OACEH,EAAC,SACC,UAAWI,EAAG,sFAAuFF,CAAS,EAC9G,YAAU,eACT,GAAGC,EACN,CAEJ,CAMA,SAASG,EAAU,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAAyC,CAChF,OAAOH,EAAC,SAAM,UAAWI,EAAG,6BAA8BF,CAAS,EAAG,YAAU,aAAc,GAAGC,EAAO,CAC1G,CAMA,SAASI,EAAY,CAAE,UAAAL,EAAW,GAAGC,CAAM,EAAyC,CAClF,OACEH,EAAC,SACC,UAAWI,EACT,wGACAF,CACF,EACA,YAAU,eACT,GAAGC,EACN,CAEJ,CAMA,SAASK,EAAS,CAAE,UAAAN,EAAW,GAAGC,CAAM,EAAsC,CAC5E,OACEH,EAAC,MACC,UAAWI,EACT,4GACAF,CACF,EACA,YAAU,YACT,GAAGC,EACN,CAEJ,CAMA,SAASM,EAAU,CAAE,UAAAP,EAAW,GAAGC,CAAM,EAAsC,CAC7E,OACEH,EAAC,MACC,UAAWI,EAAG,+DAAgEF,CAAS,EACvF,YAAU,aACT,GAAGC,EACN,CAEJ,CAMA,SAASO,EAAU,CAAE,UAAAR,EAAW,GAAGC,CAAM,EAAsC,CAC7E,OAAOH,EAAC,MAAG,UAAWI,EAAG,mBAAoBF,CAAS,EAAG,YAAU,aAAc,GAAGC,EAAO,CAC7F,CAMA,SAASQ,EAAa,CAAE,UAAAT,EAAW,GAAGC,CAAM,EAA2C,CACrF,OACEH,EAAC,WAAQ,UAAWI,EAAG,qCAAsCF,CAAS,EAAG,YAAU,gBAAiB,GAAGC,EAAO,CAElH","sourcesContent":["import type { ComponentProps, JSX } from 'react';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Table\n * -------------------------------------------------------------------------- */\n\nfunction Table({ className, ...props }: ComponentProps<'table'>): JSX.Element {\n return (\n <div className=\"relative w-full overflow-auto\" data-slot=\"table-cotainer\">\n <table className={cn('w-full caption-bottom text-sm', className)} data-slot=\"table\" {...props} />\n </div>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: TableHeader\n * -------------------------------------------------------------------------- */\n\nfunction TableHeader({ className, ...props }: ComponentProps<'thead'>): JSX.Element {\n return (\n <thead\n className={cn('[&>tr]:has-aria-expanded:bg-transparent [&>tr]:border-b [&>tr]:hover:bg-transparent', className)}\n data-slot=\"table-header\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: TableBody\n * -------------------------------------------------------------------------- */\n\nfunction TableBody({ className, ...props }: ComponentProps<'tbody'>): JSX.Element {\n return <tbody className={cn('[&>tr:last-child]:border-0', className)} data-slot=\"table-body\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: TableFooter\n * -------------------------------------------------------------------------- */\n\nfunction TableFooter({ className, ...props }: ComponentProps<'tfoot'>): JSX.Element {\n return (\n <tfoot\n className={cn(\n '[&>tr]:has-aria-expanded:bg-transparent [&>tr]:border-b-0 [&>tr]:border-t [&>tr]:hover:bg-transparent',\n className,\n )}\n data-slot=\"table-footer\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: TableRow\n * -------------------------------------------------------------------------- */\n\nfunction TableRow({ className, ...props }: ComponentProps<'tr'>): JSX.Element {\n return (\n <tr\n className={cn(\n 'hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors',\n className,\n )}\n data-slot=\"table-row\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: TableHead\n * -------------------------------------------------------------------------- */\n\nfunction TableHead({ className, ...props }: ComponentProps<'th'>): JSX.Element {\n return (\n <th\n className={cn('text-muted-foreground p-2 text-left align-middle font-medium', className)}\n data-slot=\"table-head\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: TableCell\n * -------------------------------------------------------------------------- */\n\nfunction TableCell({ className, ...props }: ComponentProps<'td'>): JSX.Element {\n return <td className={cn('p-2 align-middle', className)} data-slot=\"table-cell\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: TableCaption\n * -------------------------------------------------------------------------- */\n\nfunction TableCaption({ className, ...props }: ComponentProps<'caption'>): JSX.Element {\n return (\n <caption className={cn('text-muted-foreground mt-4 text-sm', className)} data-slot=\"table-caption\" {...props} />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };\n"]}
|
package/dist/chunk-JM2VJEQF.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkTNP6NVCRcjs = require('./chunk-TNP6NVCR.cjs');var _chunkSMJEDCFPcjs = require('./chunk-SMJEDCFP.cjs');var _reactdialog = require('@radix-ui/react-dialog'); var e = _interopRequireWildcard(_reactdialog);var _lucidereact = require('lucide-react');var _tailwindvariants = require('tailwind-variants');var _jsxruntime = require('react/jsx-runtime');var f=_tailwindvariants.tv.call(void 0, {base:"bg-background animation-ease-in-out data-[state=open]:animate-in data-[state=open]:animation-duration-500 data-[state=closed]:animate-out data-[state=closed]:animation-duration-500 fixed z-50 flex flex-col overflow-auto shadow-lg",variants:{side:{bottom:"data-[state=open]:slide-in-from-bottom-full data-[state=closed]:slide-out-to-bottom-full inset-x-0 bottom-0 max-h-[80vh] border-t",left:"data-[state=open]:slide-in-from-left-full data-[state=closed]:slide-out-to-left-full inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",right:"data-[state=open]:slide-in-from-right-full data-[state=closed]:slide-out-to-right-full inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",top:"data-[state=open]:slide-in-from-top-full data-[state=closed]:slide-out-to-top-full inset-x-0 top-0 max-h-[80vh] border-b"}},defaultVariants:{side:"right"}});function S({children:t,...o}){return _jsxruntime.jsx.call(void 0, e.Root,{"data-slot":"sheet",...o,children:t})}function P({...t}){return _jsxruntime.jsx.call(void 0, e.Trigger,{"data-slot":"sheet-trigger",...t})}function g({children:t,className:o,classNames:n,side:s="right",...m}){return _jsxruntime.jsxs.call(void 0, e.Portal,{children:[_jsxruntime.jsx.call(void 0, e.Overlay,{className:_chunkSMJEDCFPcjs.a.call(void 0, "bg-popover-overlay data-[state=open]:animate-fade-in data-[state=open]:animation-duration-500 data-[state=closed]:animate-fade-out data-[state=closed]:animation-duration-500 fixed inset-0 z-50 backdrop-blur-sm",_optionalChain([n, 'optionalAccess', _ => _.overlay])),"data-slot":"sheet-overlay"}),_jsxruntime.jsxs.call(void 0, e.Content,{className:f({className:[_optionalChain([n, 'optionalAccess', _2 => _2.content]),o],side:s}),"data-slot":"sheet-content",...m,children:[t,_jsxruntime.jsxs.call(void 0, e.Close,{className:_chunkTNP6NVCRcjs.a.call(void 0, {className:["absolute right-4 top-4 size-7",_optionalChain([n, 'optionalAccess', _3 => _3.close])],size:"icon",variant:"ghost"}),"data-slot":"sheet-close",children:[_jsxruntime.jsx.call(void 0, _lucidereact.XIcon,{className:"size-4"}),_jsxruntime.jsx.call(void 0, "span",{className:"sr-only",children:"Close"})]})]})]})}function x({className:t,...o}){return _jsxruntime.jsx.call(void 0, "header",{className:_chunkSMJEDCFPcjs.a.call(void 0, "flex shrink-0 flex-col gap-1.5 px-6 pb-4 pt-6 text-center sm:text-left",t),"data-slot":"sheet-header",...o})}function b({className:t,...o}){return _jsxruntime.jsx.call(void 0, "main",{className:_chunkSMJEDCFPcjs.a.call(void 0, "px-6 py-2",t),"data-slot":"sheet-body",...o})}function y({className:t,...o}){return _jsxruntime.jsx.call(void 0, "footer",{className:_chunkSMJEDCFPcjs.a.call(void 0, "flex shrink-0 flex-col-reverse gap-2 px-6 pb-6 pt-4 sm:flex-row sm:justify-end",t),"data-slot":"sheet-footer",...o})}function C({className:t,...o}){return _jsxruntime.jsx.call(void 0, e.Title,{className:_chunkSMJEDCFPcjs.a.call(void 0, "text-foreground text-lg font-semibold",t),"data-slot":"sheet-title",...o})}function N({className:t,...o}){return _jsxruntime.jsx.call(void 0, e.Description,{className:_chunkSMJEDCFPcjs.a.call(void 0, "text-muted-foreground text-sm",t),"data-slot":"sheet-description",...o})}function X({className:t,size:o,variant:n="outline",...s}){return _jsxruntime.jsx.call(void 0, e.Close,{className:_chunkTNP6NVCRcjs.a.call(void 0, {className:t,size:o,variant:n}),"data-slot":"sheet-close",...s})}exports.a = S; exports.b = P; exports.c = g; exports.d = x; exports.e = b; exports.f = y; exports.g = C; exports.h = N; exports.i = X;
|
|
2
|
-
//# sourceMappingURL=chunk-JM2VJEQF.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-JM2VJEQF.cjs","../src/components/sheet.tsx"],"names":["sheetContentVariants","tv","Sheet","children","props","jsx","SheetTrigger","SheetContent","className","classNames","side","jsxs","cn","buttonVariants","XIcon","SheetHeader","SheetBody","SheetFooter","SheetTitle","SheetDescription","SheetClose","size","variant"],"mappings":"AAAA,u5BAAwC,wDAAyC,oGCGjD,2CACV,qDACH,+CAgCf,IAvBEA,CAAAA,CAAuBC,kCAAAA,CAC3B,IAAA,CAAM,uOAAA,CACN,QAAA,CAAU,CACR,IAAA,CAAM,CACJ,MAAA,CACE,mIAAA,CACF,IAAA,CAAM,yIAAA,CACN,KAAA,CACE,4IAAA,CACF,GAAA,CAAK,0HACP,CACF,CAAA,CACA,eAAA,CAAiB,CACf,IAAA,CAAM,OACR,CACF,CAAC,CAAA,CAMD,SAASC,CAAAA,CAAM,CAAE,QAAA,CAAAC,CAAAA,CAAU,GAAGC,CAAM,CAAA,CAA4D,CAC9F,OACEC,6BAAAA,CAAgB,CAAA,IAAA,CAAf,CAAoB,WAAA,CAAU,OAAA,CAAS,GAAGD,CAAAA,CACxC,QAAA,CAAAD,CAAAA,CACH,CAEJ,CAMA,SAASG,CAAAA,CAAa,CAAE,GAAGF,CAAM,CAAA,CAA+D,CAC9F,OAAOC,6BAAAA,CAAgB,CAAA,OAAA,CAAf,CAAuB,WAAA,CAAU,eAAA,CAAiB,GAAGD,CAAAA,CAAO,CACtE,CAMA,SAASG,CAAAA,CAAa,CACpB,QAAA,CAAAJ,CAAAA,CACA,SAAA,CAAA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A,CAAAC,CAAQ,CAAC,CAAA,CAAG,WAAA,CAAU,aAAA,CAAe,GAAGlB,CAAAA,CAAO,CAEtH,CAAA,sIAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-JM2VJEQF.cjs","sourcesContent":[null,"import type { ComponentProps, JSX } from 'react';\nimport type { VariantProps } from 'tailwind-variants';\n\nimport * as SheetPrimitive from '@radix-ui/react-dialog';\nimport { XIcon } from 'lucide-react';\nimport { tv } from 'tailwind-variants';\n\nimport { buttonVariants } from '@/components/button';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Variant: SheetContent\n * -------------------------------------------------------------------------- */\n\nconst sheetContentVariants = tv({\n base: 'bg-background animation-ease-in-out data-[state=open]:animate-in data-[state=open]:animation-duration-500 data-[state=closed]:animate-out data-[state=closed]:animation-duration-500 fixed z-50 flex flex-col overflow-auto shadow-lg',\n variants: {\n side: {\n bottom:\n 'data-[state=open]:slide-in-from-bottom-full data-[state=closed]:slide-out-to-bottom-full inset-x-0 bottom-0 max-h-[80vh] border-t',\n left: 'data-[state=open]:slide-in-from-left-full data-[state=closed]:slide-out-to-left-full inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm',\n right:\n 'data-[state=open]:slide-in-from-right-full data-[state=closed]:slide-out-to-right-full inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm',\n top: 'data-[state=open]:slide-in-from-top-full data-[state=closed]:slide-out-to-top-full inset-x-0 top-0 max-h-[80vh] border-b',\n },\n },\n defaultVariants: {\n side: 'right',\n },\n});\n\n/* -----------------------------------------------------------------------------\n * Component: Sheet\n * -------------------------------------------------------------------------- */\n\nfunction Sheet({ children, ...props }: ComponentProps<typeof SheetPrimitive.Root>): JSX.Element {\n return (\n <SheetPrimitive.Root data-slot=\"sheet\" {...props}>\n {children}\n </SheetPrimitive.Root>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetTrigger\n * -------------------------------------------------------------------------- */\n\nfunction SheetTrigger({ ...props }: ComponentProps<typeof SheetPrimitive.Trigger>): JSX.Element {\n return <SheetPrimitive.Trigger data-slot=\"sheet-trigger\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetContent\n * -------------------------------------------------------------------------- */\n\nfunction SheetContent({\n children,\n className,\n classNames,\n side = 'right',\n ...props\n}: ComponentProps<typeof SheetPrimitive.Content> &\n VariantProps<typeof sheetContentVariants> & {\n classNames?: {\n close?: string;\n content?: string;\n overlay?: string;\n };\n }): JSX.Element {\n return (\n <SheetPrimitive.Portal>\n <SheetPrimitive.Overlay\n className={cn(\n 'bg-popover-overlay data-[state=open]:animate-fade-in data-[state=open]:animation-duration-500 data-[state=closed]:animate-fade-out data-[state=closed]:animation-duration-500 fixed inset-0 z-50 backdrop-blur-sm',\n classNames?.overlay,\n )}\n data-slot=\"sheet-overlay\"\n />\n <SheetPrimitive.Content\n className={sheetContentVariants({ className: [classNames?.content, className], side })}\n data-slot=\"sheet-content\"\n {...props}\n >\n {children}\n <SheetPrimitive.Close\n className={buttonVariants({\n className: ['absolute right-4 top-4 size-7', classNames?.close],\n size: 'icon',\n variant: 'ghost',\n })}\n data-slot=\"sheet-close\"\n >\n <XIcon className=\"size-4\" />\n <span className=\"sr-only\">Close</span>\n </SheetPrimitive.Close>\n </SheetPrimitive.Content>\n </SheetPrimitive.Portal>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetHeader\n * -------------------------------------------------------------------------- */\n\nfunction SheetHeader({ className, ...props }: ComponentProps<'div'>): JSX.Element {\n return (\n <header\n className={cn('flex shrink-0 flex-col gap-1.5 px-6 pb-4 pt-6 text-center sm:text-left', className)}\n data-slot=\"sheet-header\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetBody\n * -------------------------------------------------------------------------- */\n\nfunction SheetBody({ className, ...props }: ComponentProps<'div'>): JSX.Element {\n return <main className={cn('px-6 py-2', className)} data-slot=\"sheet-body\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetFooter\n * -------------------------------------------------------------------------- */\n\nfunction SheetFooter({ className, ...props }: ComponentProps<'div'>): JSX.Element {\n return (\n <footer\n className={cn('flex shrink-0 flex-col-reverse gap-2 px-6 pb-6 pt-4 sm:flex-row sm:justify-end', className)}\n data-slot=\"sheet-footer\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetTitle\n * -------------------------------------------------------------------------- */\n\nfunction SheetTitle({ className, ...props }: ComponentProps<typeof SheetPrimitive.Title>): JSX.Element {\n return (\n <SheetPrimitive.Title\n className={cn('text-foreground text-lg font-semibold', className)}\n data-slot=\"sheet-title\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetDescription\n * -------------------------------------------------------------------------- */\n\nfunction SheetDescription({ className, ...props }: ComponentProps<typeof SheetPrimitive.Description>): JSX.Element {\n return (\n <SheetPrimitive.Description\n className={cn('text-muted-foreground text-sm', className)}\n data-slot=\"sheet-description\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetClose\n * -------------------------------------------------------------------------- */\n\nfunction SheetClose({\n className,\n size,\n variant = 'outline',\n ...props\n}: ComponentProps<typeof SheetPrimitive.Close> & {\n size?: VariantProps<typeof buttonVariants>['size'];\n variant?: VariantProps<typeof buttonVariants>['variant'];\n}): JSX.Element {\n return (\n <SheetPrimitive.Close className={buttonVariants({ className, size, variant })} data-slot=\"sheet-close\" {...props} />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Sheet,\n SheetBody,\n SheetClose,\n SheetContent,\n SheetDescription,\n SheetFooter,\n SheetHeader,\n SheetTitle,\n SheetTrigger,\n};\n"]}
|
package/dist/chunk-KFORL4OH.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as r}from"./chunk-ZFCLI44C.js";import{a as i}from"./chunk-OKUFCFYT.js";import*as e from"@radix-ui/react-dialog";import{XIcon as d}from"lucide-react";import{tv as p}from"tailwind-variants";import{jsx as a,jsxs as l}from"react/jsx-runtime";var f=p({base:"bg-background animation-ease-in-out data-[state=open]:animate-in data-[state=open]:animation-duration-500 data-[state=closed]:animate-out data-[state=closed]:animation-duration-500 fixed z-50 flex flex-col overflow-auto shadow-lg",variants:{side:{bottom:"data-[state=open]:slide-in-from-bottom-full data-[state=closed]:slide-out-to-bottom-full inset-x-0 bottom-0 max-h-[80vh] border-t",left:"data-[state=open]:slide-in-from-left-full data-[state=closed]:slide-out-to-left-full inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",right:"data-[state=open]:slide-in-from-right-full data-[state=closed]:slide-out-to-right-full inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",top:"data-[state=open]:slide-in-from-top-full data-[state=closed]:slide-out-to-top-full inset-x-0 top-0 max-h-[80vh] border-b"}},defaultVariants:{side:"right"}});function S({children:t,...o}){return a(e.Root,{"data-slot":"sheet",...o,children:t})}function P({...t}){return a(e.Trigger,{"data-slot":"sheet-trigger",...t})}function g({children:t,className:o,classNames:n,side:s="right",...m}){return l(e.Portal,{children:[a(e.Overlay,{className:i("bg-popover-overlay data-[state=open]:animate-fade-in data-[state=open]:animation-duration-500 data-[state=closed]:animate-fade-out data-[state=closed]:animation-duration-500 fixed inset-0 z-50 backdrop-blur-sm",n?.overlay),"data-slot":"sheet-overlay"}),l(e.Content,{className:f({className:[n?.content,o],side:s}),"data-slot":"sheet-content",...m,children:[t,l(e.Close,{className:r({className:["absolute right-4 top-4 size-7",n?.close],size:"icon",variant:"ghost"}),"data-slot":"sheet-close",children:[a(d,{className:"size-4"}),a("span",{className:"sr-only",children:"Close"})]})]})]})}function x({className:t,...o}){return a("header",{className:i("flex shrink-0 flex-col gap-1.5 px-6 pb-4 pt-6 text-center sm:text-left",t),"data-slot":"sheet-header",...o})}function b({className:t,...o}){return a("main",{className:i("px-6 py-2",t),"data-slot":"sheet-body",...o})}function y({className:t,...o}){return a("footer",{className:i("flex shrink-0 flex-col-reverse gap-2 px-6 pb-6 pt-4 sm:flex-row sm:justify-end",t),"data-slot":"sheet-footer",...o})}function C({className:t,...o}){return a(e.Title,{className:i("text-foreground text-lg font-semibold",t),"data-slot":"sheet-title",...o})}function N({className:t,...o}){return a(e.Description,{className:i("text-muted-foreground text-sm",t),"data-slot":"sheet-description",...o})}function X({className:t,size:o,variant:n="outline",...s}){return a(e.Close,{className:r({className:t,size:o,variant:n}),"data-slot":"sheet-close",...s})}export{S as a,P as b,g as c,x as d,b as e,y as f,C as g,N as h,X as i};
|
|
2
|
-
//# sourceMappingURL=chunk-KFORL4OH.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/sheet.tsx"],"names":["SheetPrimitive","XIcon","tv","jsx","jsxs","sheetContentVariants","Sheet","children","props","SheetTrigger","SheetContent","className","classNames","side","cn","buttonVariants","SheetHeader","SheetBody","SheetFooter","SheetTitle","SheetDescription","SheetClose","size","variant"],"mappings":"gFAGA,UAAYA,MAAoB,yBAChC,OAAS,SAAAC,MAAa,eACtB,OAAS,MAAAC,MAAU,oBAgCf,cAAAC,EA+CI,QAAAC,MA/CJ,oBAvBJ,IAAMC,EAAuBH,EAAG,CAC9B,KAAM,wOACN,SAAU,CACR,KAAM,CACJ,OACE,oIACF,KAAM,0IACN,MACE,6IACF,IAAK,0HACP,CACF,EACA,gBAAiB,CACf,KAAM,OACR,CACF,CAAC,EAMD,SAASI,EAAM,CAAE,SAAAC,EAAU,GAAGC,CAAM,EAA4D,CAC9F,OACEL,EAAgB,OAAf,CAAoB,YAAU,QAAS,GAAGK,EACxC,SAAAD,EACH,CAEJ,CAMA,SAASE,EAAa,CAAE,GAAGD,CAAM,EAA+D,CAC9F,OAAOL,EAAgB,UAAf,CAAuB,YAAU,gBAAiB,GAAGK,EAAO,CACtE,CAMA,SAASE,EAAa,CACpB,SAAAH,EACA,UAAAI,EACA,WAAAC,EACA,KAAAC,EAA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,EACN,CAEJ,CAMA,SAASa,EAAW,CAClB,UAAAV,EACA,KAAAW,EACA,QAAAC,EAAU,UACV,GAAGf,CACL,EAGgB,CACd,OACEL,EAAgB,QAAf,CAAqB,UAAWY,EAAe,CAAE,UAAAJ,EAAW,KAAAW,EAAM,QAAAC,CAAQ,CAAC,EAAG,YAAU,cAAe,GAAGf,EAAO,CAEtH","sourcesContent":["import type { ComponentProps, JSX } from 'react';\nimport type { VariantProps } from 'tailwind-variants';\n\nimport * as SheetPrimitive from '@radix-ui/react-dialog';\nimport { XIcon } from 'lucide-react';\nimport { tv } from 'tailwind-variants';\n\nimport { buttonVariants } from '@/components/button';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Variant: SheetContent\n * -------------------------------------------------------------------------- */\n\nconst sheetContentVariants = tv({\n base: 'bg-background animation-ease-in-out data-[state=open]:animate-in data-[state=open]:animation-duration-500 data-[state=closed]:animate-out data-[state=closed]:animation-duration-500 fixed z-50 flex flex-col overflow-auto shadow-lg',\n variants: {\n side: {\n bottom:\n 'data-[state=open]:slide-in-from-bottom-full data-[state=closed]:slide-out-to-bottom-full inset-x-0 bottom-0 max-h-[80vh] border-t',\n left: 'data-[state=open]:slide-in-from-left-full data-[state=closed]:slide-out-to-left-full inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm',\n right:\n 'data-[state=open]:slide-in-from-right-full data-[state=closed]:slide-out-to-right-full inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm',\n top: 'data-[state=open]:slide-in-from-top-full data-[state=closed]:slide-out-to-top-full inset-x-0 top-0 max-h-[80vh] border-b',\n },\n },\n defaultVariants: {\n side: 'right',\n },\n});\n\n/* -----------------------------------------------------------------------------\n * Component: Sheet\n * -------------------------------------------------------------------------- */\n\nfunction Sheet({ children, ...props }: ComponentProps<typeof SheetPrimitive.Root>): JSX.Element {\n return (\n <SheetPrimitive.Root data-slot=\"sheet\" {...props}>\n {children}\n </SheetPrimitive.Root>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetTrigger\n * -------------------------------------------------------------------------- */\n\nfunction SheetTrigger({ ...props }: ComponentProps<typeof SheetPrimitive.Trigger>): JSX.Element {\n return <SheetPrimitive.Trigger data-slot=\"sheet-trigger\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetContent\n * -------------------------------------------------------------------------- */\n\nfunction SheetContent({\n children,\n className,\n classNames,\n side = 'right',\n ...props\n}: ComponentProps<typeof SheetPrimitive.Content> &\n VariantProps<typeof sheetContentVariants> & {\n classNames?: {\n close?: string;\n content?: string;\n overlay?: string;\n };\n }): JSX.Element {\n return (\n <SheetPrimitive.Portal>\n <SheetPrimitive.Overlay\n className={cn(\n 'bg-popover-overlay data-[state=open]:animate-fade-in data-[state=open]:animation-duration-500 data-[state=closed]:animate-fade-out data-[state=closed]:animation-duration-500 fixed inset-0 z-50 backdrop-blur-sm',\n classNames?.overlay,\n )}\n data-slot=\"sheet-overlay\"\n />\n <SheetPrimitive.Content\n className={sheetContentVariants({ className: [classNames?.content, className], side })}\n data-slot=\"sheet-content\"\n {...props}\n >\n {children}\n <SheetPrimitive.Close\n className={buttonVariants({\n className: ['absolute right-4 top-4 size-7', classNames?.close],\n size: 'icon',\n variant: 'ghost',\n })}\n data-slot=\"sheet-close\"\n >\n <XIcon className=\"size-4\" />\n <span className=\"sr-only\">Close</span>\n </SheetPrimitive.Close>\n </SheetPrimitive.Content>\n </SheetPrimitive.Portal>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetHeader\n * -------------------------------------------------------------------------- */\n\nfunction SheetHeader({ className, ...props }: ComponentProps<'div'>): JSX.Element {\n return (\n <header\n className={cn('flex shrink-0 flex-col gap-1.5 px-6 pb-4 pt-6 text-center sm:text-left', className)}\n data-slot=\"sheet-header\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetBody\n * -------------------------------------------------------------------------- */\n\nfunction SheetBody({ className, ...props }: ComponentProps<'div'>): JSX.Element {\n return <main className={cn('px-6 py-2', className)} data-slot=\"sheet-body\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetFooter\n * -------------------------------------------------------------------------- */\n\nfunction SheetFooter({ className, ...props }: ComponentProps<'div'>): JSX.Element {\n return (\n <footer\n className={cn('flex shrink-0 flex-col-reverse gap-2 px-6 pb-6 pt-4 sm:flex-row sm:justify-end', className)}\n data-slot=\"sheet-footer\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetTitle\n * -------------------------------------------------------------------------- */\n\nfunction SheetTitle({ className, ...props }: ComponentProps<typeof SheetPrimitive.Title>): JSX.Element {\n return (\n <SheetPrimitive.Title\n className={cn('text-foreground text-lg font-semibold', className)}\n data-slot=\"sheet-title\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetDescription\n * -------------------------------------------------------------------------- */\n\nfunction SheetDescription({ className, ...props }: ComponentProps<typeof SheetPrimitive.Description>): JSX.Element {\n return (\n <SheetPrimitive.Description\n className={cn('text-muted-foreground text-sm', className)}\n data-slot=\"sheet-description\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetClose\n * -------------------------------------------------------------------------- */\n\nfunction SheetClose({\n className,\n size,\n variant = 'outline',\n ...props\n}: ComponentProps<typeof SheetPrimitive.Close> & {\n size?: VariantProps<typeof buttonVariants>['size'];\n variant?: VariantProps<typeof buttonVariants>['variant'];\n}): JSX.Element {\n return (\n <SheetPrimitive.Close className={buttonVariants({ className, size, variant })} data-slot=\"sheet-close\" {...props} />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Sheet,\n SheetBody,\n SheetClose,\n SheetContent,\n SheetDescription,\n SheetFooter,\n SheetHeader,\n SheetTitle,\n SheetTrigger,\n};\n"]}
|
package/dist/chunk-MRIHA5JJ.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as l}from"./chunk-ZFCLI44C.js";import{a as i}from"./chunk-OKUFCFYT.js";import*as o from"@radix-ui/react-dialog";import{XIcon as m}from"lucide-react";import{jsx as a,jsxs as s}from"react/jsx-runtime";function f({...t}){return a(o.Root,{"data-slot":"dialog",...t})}function c({...t}){return a(o.Trigger,{"data-slot":"dialog-trigger",...t})}function u({children:t,className:e,classNames:r,...n}){return s(o.Portal,{children:[a(o.Overlay,{className:i("bg-popover-overlay data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out fixed inset-0 z-50 backdrop-blur-sm",r?.overlay),"data-slot":"dialog-overlay"}),a(o.Content,{className:i("data-[state=open]:animate-in max-sm:data-[state=open]:animation-duration-500 max-sm:data-[state=open]:slide-in-from-bottom-full sm:data-[state=open]:fade-in-0 sm:data-[state=open]:zoom-in-95 data-[state=closed]:animate-out max-sm:data-[state=closed]:animation-duration-500 max-sm:data-[state=closed]:slide-out-to-bottom-full sm:data-[state=closed]:fade-out-0 sm:data-[state=closed]:zoom-out-95 fixed inset-0 z-50 grid grid-rows-[1fr_auto] justify-items-center overflow-auto sm:grid-rows-[1fr_auto_3fr] sm:p-4",r?.wrapper),"data-slot":"dialog-content-wrapper",...n,children:s("div",{className:i("bg-popover text-popover-foreground relative row-start-2 flex w-full flex-col rounded-t-2xl border shadow-lg sm:max-w-lg sm:rounded-2xl",r?.content,e),"data-slot":"dialog-content",children:[t,s(o.Close,{className:l({className:["absolute right-2.5 top-2.5 size-7",r?.close],size:"icon",variant:"ghost"}),"data-slot":"dialog-close",children:[a(m,{className:"size-4"}),a("span",{className:"sr-only",children:"Close"})]})]})})]})}function v({className:t,...e}){return a("header",{className:i("flex shrink-0 flex-col gap-1.5 px-6 pb-2 pt-6 text-center sm:text-left",t),"data-slot":"dialog-header",...e})}function P({className:t,...e}){return a("main",{className:i("overflow-auto px-6 py-2",t),"data-slot":"dialog-body",...e})}function D({className:t,...e}){return a("footer",{className:i("flex shrink-0 flex-col-reverse gap-2 px-6 pb-6 pt-2 sm:flex-row sm:justify-end",t),"data-slot":"dialog-footer",...e})}function x({className:t,...e}){return a(o.Title,{className:i("text-lg font-semibold leading-none tracking-tight",t),"data-slot":"dialog-title",...e})}function y({className:t,...e}){return a(o.Description,{className:i("text-muted-foreground text-sm",t),"data-slot":"dialog-description",...e})}function C({className:t,size:e,variant:r="outline",...n}){return a(o.Close,{className:l({className:t,size:e,variant:r}),"data-slot":"dialog-close",...n})}export{f as a,c as b,u as c,v as d,P as e,D as f,x as g,y as h,C as i};
|
|
2
|
-
//# sourceMappingURL=chunk-MRIHA5JJ.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/dialog.tsx"],"names":["DialogPrimitive","XIcon","jsx","jsxs","Dialog","props","DialogTrigger","DialogContent","children","className","classNames","cn","buttonVariants","DialogHeader","DialogBody","DialogFooter","DialogTitle","DialogDescription","DialogClose","size","variant"],"mappings":"gFAGA,UAAYA,MAAqB,yBACjC,OAAS,SAAAC,MAAa,eAUb,cAAAC,EAsDC,QAAAC,MAtDD,oBADT,SAASC,EAAO,CAAE,GAAGC,CAAM,EAA6D,CACtF,OAAOH,EAAiB,OAAhB,CAAqB,YAAU,SAAU,GAAGG,EAAO,CAC7D,CAMA,SAASC,EAAc,CAAE,GAAGD,CAAM,EAAgE,CAChG,OAAOH,EAAiB,UAAhB,CAAwB,YAAU,iBAAkB,GAAGG,EAAO,CACxE,CAMA,SAASE,EAAc,CACrB,SAAAC,EACA,UAAAC,EACA,WAAAC,EACA,GAAGL,CACL,EAOgB,CACd,OACEF,EAAiB,SAAhB,CACC,UAAAD,EAAiB,UAAhB,CACC,UAAWS,EACT,gIACAD,GAAY,OACd,EACA,YAAU,iBACZ,EACAR,EAAiB,UAAhB,CACC,UAAWS,EACT,+fACAD,GAAY,OACd,EACA,YAAU,yBACT,GAAGL,EAEJ,SAAAF,EAAC,OACC,UAAWQ,EACT,yIACAD,GAAY,QACZD,CACF,EACA,YAAU,iBAET,U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ent":["import type { ComponentProps, JSX } from 'react';\nimport type { VariantProps } from 'tailwind-variants';\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog';\nimport { XIcon } from 'lucide-react';\n\nimport { buttonVariants } from '@/components/button';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Dialog\n * -------------------------------------------------------------------------- */\n\nfunction Dialog({ ...props }: ComponentProps<typeof DialogPrimitive.Root>): JSX.Element {\n return <DialogPrimitive.Root data-slot=\"dialog\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DialogTrigger\n * -------------------------------------------------------------------------- */\n\nfunction DialogTrigger({ ...props }: ComponentProps<typeof DialogPrimitive.Trigger>): JSX.Element {\n return <DialogPrimitive.Trigger data-slot=\"dialog-trigger\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DialogContent\n * -------------------------------------------------------------------------- */\n\nfunction DialogContent({\n children,\n className,\n classNames,\n ...props\n}: ComponentProps<typeof DialogPrimitive.Content> & {\n classNames?: {\n close?: string;\n content?: string;\n overlay?: string;\n wrapper?: string;\n };\n}): JSX.Element {\n return (\n <DialogPrimitive.Portal>\n <DialogPrimitive.Overlay\n className={cn(\n 'bg-popover-overlay data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out fixed inset-0 z-50 backdrop-blur-sm',\n classNames?.overlay,\n )}\n data-slot=\"dialog-overlay\"\n />\n <DialogPrimitive.Content\n className={cn(\n 'data-[state=open]:animate-in max-sm:data-[state=open]:animation-duration-500 max-sm:data-[state=open]:slide-in-from-bottom-full sm:data-[state=open]:fade-in-0 sm:data-[state=open]:zoom-in-95 data-[state=closed]:animate-out max-sm:data-[state=closed]:animation-duration-500 max-sm:data-[state=closed]:slide-out-to-bottom-full sm:data-[state=closed]:fade-out-0 sm:data-[state=closed]:zoom-out-95 fixed inset-0 z-50 grid grid-rows-[1fr_auto] justify-items-center overflow-auto sm:grid-rows-[1fr_auto_3fr] sm:p-4',\n classNames?.wrapper,\n )}\n data-slot=\"dialog-content-wrapper\"\n {...props}\n >\n <div\n className={cn(\n 'bg-popover text-popover-foreground relative row-start-2 flex w-full flex-col rounded-t-2xl border shadow-lg sm:max-w-lg sm:rounded-2xl',\n classNames?.content,\n className,\n )}\n data-slot=\"dialog-content\"\n >\n {children}\n <DialogPrimitive.Close\n className={buttonVariants({\n className: ['absolute right-2.5 top-2.5 size-7', classNames?.close],\n size: 'icon',\n variant: 'ghost',\n })}\n data-slot=\"dialog-close\"\n >\n <XIcon className=\"size-4\" />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n </div>\n </DialogPrimitive.Content>\n </DialogPrimitive.Portal>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DialogHeader\n * -------------------------------------------------------------------------- */\n\nfunction DialogHeader({ className, ...props }: ComponentProps<'div'>): JSX.Element {\n return (\n <header\n className={cn('flex shrink-0 flex-col gap-1.5 px-6 pb-2 pt-6 text-center sm:text-left', className)}\n data-slot=\"dialog-header\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DialogBody\n * -------------------------------------------------------------------------- */\n\nfunction DialogBody({ className, ...props }: ComponentProps<'div'>): JSX.Element {\n return <main className={cn('overflow-auto px-6 py-2', className)} data-slot=\"dialog-body\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DialogFooter\n * -------------------------------------------------------------------------- */\n\nfunction DialogFooter({ className, ...props }: ComponentProps<'div'>): JSX.Element {\n return (\n <footer\n className={cn('flex shrink-0 flex-col-reverse gap-2 px-6 pb-6 pt-2 sm:flex-row sm:justify-end', className)}\n data-slot=\"dialog-footer\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DialogTitle\n * -------------------------------------------------------------------------- */\n\nfunction DialogTitle({ className, ...props }: ComponentProps<typeof DialogPrimitive.Title>): JSX.Element {\n return (\n <DialogPrimitive.Title\n className={cn('text-lg font-semibold leading-none tracking-tight', className)}\n data-slot=\"dialog-title\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DialogDescription\n * -------------------------------------------------------------------------- */\n\nfunction DialogDescription({ className, ...props }: ComponentProps<typeof DialogPrimitive.Description>): JSX.Element {\n return (\n <DialogPrimitive.Description\n className={cn('text-muted-foreground text-sm', className)}\n data-slot=\"dialog-description\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DialogClose\n * -------------------------------------------------------------------------- */\n\nfunction DialogClose({\n className,\n size,\n variant = 'outline',\n ...props\n}: Omit<ComponentProps<typeof DialogPrimitive.Close>, 'ref'> & {\n size?: VariantProps<typeof buttonVariants>['size'];\n variant?: VariantProps<typeof buttonVariants>['variant'];\n}): JSX.Element {\n return (\n <DialogPrimitive.Close\n className={buttonVariants({ className, size, variant })}\n data-slot=\"dialog-close\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Dialog,\n DialogBody,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogFooter,\n DialogHeader,\n DialogTitle,\n DialogTrigger,\n};\n"]}
|
package/dist/chunk-PJWKQZHJ.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkSMJEDCFPcjs = require('./chunk-SMJEDCFP.cjs');var _jsxruntime = require('react/jsx-runtime');function n({className:t,...e}){return _jsxruntime.jsx.call(void 0, "div",{className:"relative w-full overflow-auto","data-slot":"table-cotainer",children:_jsxruntime.jsx.call(void 0, "table",{className:_chunkSMJEDCFPcjs.a.call(void 0, "w-full caption-bottom text-sm",t),"data-slot":"table",...e})})}function l({className:t,...e}){return _jsxruntime.jsx.call(void 0, "thead",{className:_chunkSMJEDCFPcjs.a.call(void 0, "[&>tr]:has-aria-expanded:bg-transparent [&>tr]:border-b [&>tr]:hover:bg-transparent",t),"data-slot":"table-header",...e})}function d({className:t,...e}){return _jsxruntime.jsx.call(void 0, "tbody",{className:_chunkSMJEDCFPcjs.a.call(void 0, "[&>tr:last-child]:border-0",t),"data-slot":"table-body",...e})}function s({className:t,...e}){return _jsxruntime.jsx.call(void 0, "tfoot",{className:_chunkSMJEDCFPcjs.a.call(void 0, "[&>tr]:has-aria-expanded:bg-transparent [&>tr]:border-b-0 [&>tr]:border-t [&>tr]:hover:bg-transparent",t),"data-slot":"table-footer",...e})}function m({className:t,...e}){return _jsxruntime.jsx.call(void 0, "tr",{className:_chunkSMJEDCFPcjs.a.call(void 0, "hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",t),"data-slot":"table-row",...e})}function b({className:t,...e}){return _jsxruntime.jsx.call(void 0, "th",{className:_chunkSMJEDCFPcjs.a.call(void 0, "text-muted-foreground p-2 text-left align-middle font-medium",t),"data-slot":"table-head",...e})}function p({className:t,...e}){return _jsxruntime.jsx.call(void 0, "td",{className:_chunkSMJEDCFPcjs.a.call(void 0, "p-2 align-middle",t),"data-slot":"table-cell",...e})}function i({className:t,...e}){return _jsxruntime.jsx.call(void 0, "caption",{className:_chunkSMJEDCFPcjs.a.call(void 0, "text-muted-foreground mt-4 text-sm",t),"data-slot":"table-caption",...e})}exports.a = n; exports.b = l; exports.c = d; exports.d = s; exports.e = m; exports.f = b; exports.g = p; exports.h = i;
|
|
2
|
-
//# sourceMappingURL=chunk-PJWKQZHJ.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-PJWKQZHJ.cjs","../src/components/table.tsx"],"names":["Table","className","props","jsx","cn","TableHeader","TableBody","TableFooter","TableRow","TableHead","TableCell","TableCaption"],"mappings":"AAAA,iIAAmC,+CCW7B,SAHGA,CAAAA,CAAM,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAyC,CAC5E,OACEC,6BAAAA,KAAC,CAAA,CAAI,SAAA,CAAU,+BA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iCAAAA,8DAAG,CAAgEH,CAAS,CAAA,CACvF,WAAA,CAAU,YAAA,CACT,GAAGC,CAAAA,CACN,CAEJ,CAMA,SAASQ,CAAAA,CAAU,CAAE,SAAA,CAAAT,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAsC,CAC7E,OAAOC,6BAAAA,IAAC,CAAA,CAAG,SAAA,CAAWC,iCAAAA,kBAAG,CAAoBH,CAAS,CAAA,CAAG,WAAA,CAAU,YAAA,CAAc,GAAGC,CAAAA,CAAO,CAC7F,CAMA,SAASS,CAAAA,CAAa,CAAE,SAAA,CAAAV,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAA2C,CACrF,OACEC,6BAAAA,SAAC,CAAA,CAAQ,SAAA,CAAWC,iCAAAA,oCAAG,CAAsCH,CAAS,CAAA,CAAG,WAAA,CAAU,eAAA,CAAiB,GAAGC,CAAAA,CAAO,CAElH,CAAA,uHAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-PJWKQZHJ.cjs","sourcesContent":[null,"import type { ComponentProps, JSX } from 'react';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Table\n * -------------------------------------------------------------------------- */\n\nfunction Table({ className, ...props }: ComponentProps<'table'>): JSX.Element {\n return (\n <div className=\"relative w-full overflow-auto\" data-slot=\"table-cotainer\">\n <table className={cn('w-full caption-bottom text-sm', className)} data-slot=\"table\" {...props} />\n </div>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: TableHeader\n * -------------------------------------------------------------------------- */\n\nfunction TableHeader({ className, ...props }: ComponentProps<'thead'>): JSX.Element {\n return (\n <thead\n className={cn('[&>tr]:has-aria-expanded:bg-transparent [&>tr]:border-b [&>tr]:hover:bg-transparent', className)}\n data-slot=\"table-header\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: TableBody\n * -------------------------------------------------------------------------- */\n\nfunction TableBody({ className, ...props }: ComponentProps<'tbody'>): JSX.Element {\n return <tbody className={cn('[&>tr:last-child]:border-0', className)} data-slot=\"table-body\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: TableFooter\n * -------------------------------------------------------------------------- */\n\nfunction TableFooter({ className, ...props }: ComponentProps<'tfoot'>): JSX.Element {\n return (\n <tfoot\n className={cn(\n '[&>tr]:has-aria-expanded:bg-transparent [&>tr]:border-b-0 [&>tr]:border-t [&>tr]:hover:bg-transparent',\n className,\n )}\n data-slot=\"table-footer\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: TableRow\n * -------------------------------------------------------------------------- */\n\nfunction TableRow({ className, ...props }: ComponentProps<'tr'>): JSX.Element {\n return (\n <tr\n className={cn(\n 'hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors',\n className,\n )}\n data-slot=\"table-row\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: TableHead\n * -------------------------------------------------------------------------- */\n\nfunction TableHead({ className, ...props }: ComponentProps<'th'>): JSX.Element {\n return (\n <th\n className={cn('text-muted-foreground p-2 text-left align-middle font-medium', className)}\n data-slot=\"table-head\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: TableCell\n * -------------------------------------------------------------------------- */\n\nfunction TableCell({ className, ...props }: ComponentProps<'td'>): JSX.Element {\n return <td className={cn('p-2 align-middle', className)} data-slot=\"table-cell\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: TableCaption\n * -------------------------------------------------------------------------- */\n\nfunction TableCaption({ className, ...props }: ComponentProps<'caption'>): JSX.Element {\n return (\n <caption className={cn('text-muted-foreground mt-4 text-sm', className)} data-slot=\"table-caption\" {...props} />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };\n"]}
|
package/dist/chunk-YF2ZZY4W.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";import{a as J,b as z,c as I,d as T}from"./chunk-SSNF4WDW.js";import{a as N,c as M,d as k,g as X,h as _}from"./chunk-KFORL4OH.js";import{a as w}from"./chunk-HODP3L6K.js";import{a as P}from"./chunk-MKTUHVAW.js";import{b as E}from"./chunk-B74UCONC.js";import{b as y}from"./chunk-ZFCLI44C.js";import{a as o}from"./chunk-OKUFCFYT.js";import{useIsMobile as K}from"@codefast/hooks";import{Slot as g}from"@radix-ui/react-slot";import{PanelLeftIcon as V}from"lucide-react";import{createContext as G,useCallback as O,useContext as L,useEffect as $,useMemo as D,useState as B}from"react";import{tv as W}from"tailwind-variants";import{jsx as a,jsxs as p}from"react/jsx-runtime";var j="sidebar_state",q=60*60*24*7,F="16rem",U="18rem",Y="3rem",Q="b",A=G(null);function S(){let t=L(A);if(!t)throw new Error("useSidebar must be used within a SidebarProvider.");return t}function ce({defaultOpen:t=!0,open:e,onOpenChange:n,className:r,style:i,children:l,...m}){let d=K(),[c,b]=B(!1),[v,R]=B(t),f=e??v,h=O(s=>{let u=typeof s=="function"?s(f):s;n?n(u):R(u),document.cookie=`${j}=${u}; path=/; max-age=${q}`},[n,f]),x=O(()=>{d?b(s=>!s):h(s=>!s)},[d,h,b]);$(()=>{let s=u=>{u.key===Q&&(u.metaKey||u.ctrlKey)&&(u.preventDefault(),x())};return window.addEventListener("keydown",s),()=>{window.removeEventListener("keydown",s)}},[x]);let C=f?"expanded":"collapsed",H=D(()=>({state:C,open:f,setOpen:h,isMobile:d,openMobile:c,setOpenMobile:b,toggleSidebar:x}),[C,f,h,d,c,b,x]);return a(A.Provider,{value:H,children:a(J,{delayDuration:0,children:a("div",{className:o("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",r),"data-slot":"sidebar-wrapper",style:{"--sidebar-width":F,"--sidebar-width-icon":Y,...i},...m,children:l})})})}function pe({side:t="left",variant:e="sidebar",collapsible:n="offcanvas",className:r,children:i,...l}){let{isMobile:m,state:d,openMobile:c,setOpenMobile:b}=S();return n==="none"?a("div",{className:o("bg-sidebar text-sidebar-foreground w-(--sidebar-width) flex h-full flex-col",r),"data-slot":"sidebar",...l,children:i}):m?a(N,{open:c,onOpenChange:b,...l,children:p(M,{className:"bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden","data-mobile":"true","data-sidebar":"sidebar","data-slot":"sidebar",side:t,style:{"--sidebar-width":U},children:[p(k,{className:"sr-only",children:[a(X,{children:"Sidebar"}),a(_,{children:"Displays the mobile sidebar."})]}),a("div",{className:"flex h-full w-full flex-col",children:i})]})}):p("div",{className:o("text-sidebar-foreground group peer hidden md:block",r),"data-collapsible":d==="collapsed"?n:"","data-side":t,"data-slot":"sidebar","data-state":d,"data-variant":e,children:[a("div",{className:o("w-(--sidebar-width) relative bg-transparent transition-[width] duration-200 ease-linear group-data-[collapsible=offcanvas]:w-0 group-data-[side=right]:rotate-180",e==="floating"||e==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon)"),"data-slot":"sidebar-gap"}),a("div",{className:o("w-(--sidebar-width) fixed inset-y-0 z-10 hidden h-svh transition-[left,right,width] duration-200 ease-linear md:flex",t==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",e==="floating"||e==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",r),"data-slot":"sidebar-container",...l,children:a("div",{className:"bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm","data-sidebar":"sidebar","data-slot":"sidebar-inner",children:i})})]})}function me({className:t,onClick:e,...n}){let{toggleSidebar:r}=S();return p(y,{className:o("size-7",t),"data-sidebar":"trigger","data-slot":"sidebar-trigger",size:"icon",variant:"ghost",onClick:i=>{e?.(i),r()},...n,children:[a(V,{}),a("span",{className:"sr-only",children:"Toggle Sidebar"})]})}function fe({className:t,...e}){let{toggleSidebar:n}=S();return a("button",{className:o("hover:after:bg-sidebar-border in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize hover:group-data-[collapsible=offcanvas]:bg-sidebar absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] group-data-[side=left]:-right-4 group-data-[side=right]:left-0 group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full sm:flex [[data-side=left][data-collapsible=offcanvas]_&]:-right-2 [[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-collapsible=offcanvas]_&]:-left-2 [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",t),"data-sidebar":"rail","data-slot":"sidebar-rail",title:"Toggle Sidebar",type:"button",onClick:n,...e})}function ge({className:t,...e}){return a("main",{className:o("bg-background relative flex w-full flex-1 flex-col md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm",t),"data-slot":"sidebar-inset",...e})}function ve({className:t,...e}){return a(E,{className:o("bg-background h-8 w-full shadow-none",t),"data-sidebar":"input","data-slot":"sidebar-input",...e})}function he({className:t,...e}){return a("div",{className:o("flex flex-col gap-2 p-2",t),"data-sidebar":"header","data-slot":"sidebar-header",...e})}function xe({className:t,...e}){return a("div",{className:o("flex flex-col gap-2 p-2",t),"data-sidebar":"footer","data-slot":"sidebar-footer",...e})}function Se({className:t,...e}){return a(P,{className:o("bg-sidebar-border mx-2 w-auto",t),"data-sidebar":"separator","data-slot":"sidebar-separator",...e})}function we({className:t,...e}){return a("div",{className:o("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",t),"data-sidebar":"content","data-slot":"sidebar-content",...e})}function Ce({className:t,...e}){return a("div",{className:o("relative flex w-full min-w-0 flex-col p-2",t),"data-sidebar":"group","data-slot":"sidebar-group",...e})}function ye({className:t,asChild:e=!1,...n}){return a(e?g:"div",{className:o("text-sidebar-foreground/70 ring-sidebar-ring outline-hidden focus-visible:ring-3 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium transition-[margin,opacity] duration-200 ease-linear group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 [&>svg]:size-4 [&>svg]:shrink-0",t),"data-sidebar":"group-label","data-slot":"sidebar-group-label",...n})}function Ee({className:t,asChild:e=!1,...n}){return a(e?g:"button",{className:o("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground outline-hidden focus-visible:ring-3 absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 transition-transform after:absolute after:-inset-2 group-data-[collapsible=icon]:hidden md:after:hidden [&>svg]:size-4 [&>svg]:shrink-0",t),"data-sidebar":"group-action","data-slot":"sidebar-group-action",...n})}function Pe({className:t,...e}){return a("div",{className:o("w-full text-sm",t),"data-sidebar":"group-content","data-slot":"sidebar-group-content",...e})}function Ne({className:t,...e}){return a("ul",{className:o("flex w-full min-w-0 flex-col gap-1",t),"data-sidebar":"menu","data-slot":"sidebar-menu",...e})}function Me({className:t,...e}){return a("li",{className:o("group/menu-item relative",t),"data-sidebar":"menu-item","data-slot":"sidebar-menu-item",...e})}var Z=W({base:"peer/menu-button outline-hidden ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground group-has-data-[sidebar=menu-action]/menu-item:pr-8 data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! focus-visible:ring-3 flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm transition-[width,height,padding] disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:font-medium [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background hover:bg-sidebar-accent hover:text-sidebar-accent-foreground shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{sm:"h-7 text-xs",md:"h-8 text-sm",lg:"group-data-[collapsible=icon]:p-0! h-12 text-sm"}},defaultVariants:{variant:"default",size:"md"}});function ke({asChild:t=!1,isActive:e=!1,variant:n="default",size:r="md",tooltip:i,className:l,...m}){let d=t?g:"button",{isMobile:c,state:b}=S(),v=a(d,{className:o(Z({variant:n,size:r}),l),"data-active":e,"data-sidebar":"menu-button","data-size":r,"data-slot":"sidebar-menu-button",...m});return i?(typeof i=="string"&&(i={children:i}),p(z,{children:[a(I,{asChild:!0,children:v}),a(T,{align:"center",hidden:b!=="collapsed"||c,side:"right",...i})]})):v}function Xe({className:t,asChild:e=!1,showOnHover:n=!1,...r}){return a(e?g:"button",{className:o("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground outline-hidden focus-visible:ring-3 absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 transition-transform after:absolute after:-inset-2 group-data-[collapsible=icon]:hidden peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 md:after:hidden [&>svg]:size-4 [&>svg]:shrink-0",n&&"peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",t),"data-sidebar":"menu-action","data-slot":"sidebar-menu-action",...r})}function _e({className:t,...e}){return a("div",{className:o("text-sidebar-foreground peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums group-data-[collapsible=icon]:hidden peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1",t),"data-sidebar":"menu-badge","data-slot":"sidebar-menu-badge",...e})}function Je({className:t,showIcon:e=!1,...n}){let r=D(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return p("div",{className:o("flex h-8 items-center gap-2 rounded-md px-2",t),"data-sidebar":"menu-skeleton","data-slot":"sidebar-menu-skeleton",...n,children:[e?a(w,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}):null,a(w,{className:"max-w-(--skeleton-width) h-4 flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":r}})]})}function ze({className:t,...e}){return a("ul",{className:o("border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5 group-data-[collapsible=icon]:hidden",t),"data-sidebar":"menu-sub","data-slot":"sidebar-menu-sub",...e})}function Ie({className:t,...e}){return a("li",{className:o("group/menu-sub-item relative",t),"data-sidebar":"menu-sub-item","data-slot":"sidebar-menu-sub-item",...e})}function Te({asChild:t=!1,size:e="md",isActive:n=!1,className:r,...i}){return a(t?g:"a",{className:o("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground outline-hidden focus-visible:ring-3 data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",e==="sm"&&"text-xs",e==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",r),"data-active":n,"data-sidebar":"menu-sub-button","data-size":e,"data-slot":"sidebar-menu-sub-button",...i})}export{S as a,ce as b,pe as c,me as d,fe as e,ge as f,ve as g,he as h,xe as i,Se as j,we as k,Ce as l,ye as m,Ee as n,Pe as o,Ne as p,Me as q,ke as r,Xe as s,_e as t,Je as u,ze as v,Ie as w,Te as x};
|
|
2
|
-
//# sourceMappingURL=chunk-YF2ZZY4W.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/sidebar.tsx"],"names":["useIsMobile","Slot","PanelLeftIcon","createContext","useCallback","useContext","useEffect","useMemo","useState","tv","jsx","jsxs","SIDEBAR_COOKIE_NAME","SIDEBAR_COOKIE_MAX_AGE","SIDEBAR_WIDTH","SIDEBAR_WIDTH_MOBILE","SIDEBAR_WIDTH_ICON","SIDEBAR_KEYBOARD_SHORTCUT","SidebarContext","useSidebar","context","SidebarProvider","defaultOpen","openProp","setOpenProp","className","style","children","props","isMobile","openMobile","setOpenMobile","isOpen","setIsOpen","open","setOpen","value","openState","toggleSidebar","currentValue","handleKeyDown","event","state","contextValue","TooltipProvider","cn","Sidebar","side","variant","collapsible","Sheet","SheetContent","SheetHeader","SheetTitle","SheetDescription","SidebarTrigger","onClick","Button","SidebarRail","SidebarInset","SidebarInput","Input","SidebarHeader","SidebarFooter","SidebarSeparator","Separator","SidebarContent","SidebarGroup","SidebarGroupLabel","asChild","SidebarGroupAction","SidebarGroupContent","SidebarMenu","SidebarMenuItem","sidebarMenuButtonVariants","SidebarMenuButton","isActive","size","tooltip","Component","button","Tooltip","TooltipTrigger","TooltipContent","SidebarMenuAction","showOnHover","SidebarMenuBadge","SidebarMenuSkeleton","showIcon","width","Skeleton","SidebarMenuSub","SidebarMenuSubItem","SidebarMenuSubButton"],"mappings":"yUAKA,OAAS,eAAAA,MAAmB,kBAC5B,OAAS,QAAAC,MAAY,uBACrB,OAAS,iBAAAC,MAAqB,eAC9B,OAAS,iBAAAC,EAAe,eAAAC,EAAa,cAAAC,EAAY,aAAAC,EAAW,WAAAC,EAAS,YAAAC,MAAgB,QACrF,OAAS,MAAAC,MAAU,oBA4HX,cAAAC,EAgEE,QAAAC,MAhEF,oBAlHR,IAAMC,EAAsB,gBACtBC,EAAyB,GAAK,GAAK,GAAK,EACxCC,EAAgB,QAChBC,EAAuB,QACvBC,EAAqB,OACrBC,EAA4B,IAY5BC,EAAiBf,EAA0C,IAAI,EAErE,SAASgB,GAAkC,CACzC,IAAMC,EAAUf,EAAWa,CAAc,EAEzC,GAAI,CAACE,EACH,MAAM,IAAI,MAAM,mDAAmD,EAGrE,OAAOA,CACT,CAMA,SAASC,GAAgB,CACvB,YAAAC,EAAc,GACd,KAAMC,EACN,aAAcC,EACd,UAAAC,EACA,MAAAC,EACA,SAAAC,EACA,GAAGC,CACL,EAIgB,CACd,IAAMC,EAAW7B,EAAY,EACvB,CAAC8B,EAAYC,CAAa,EAAIvB,EAAS,EAAK,EAI5C,CAACwB,EAAQC,CAAS,EAAIzB,EAASc,CAAW,EAC1CY,EAAOX,GAAYS,EACnBG,EAAU/B,EACbgC,GAAmD,CAClD,IAAMC,EAAY,OAAOD,GAAU,WAAaA,EAAMF,CAAI,EAAIE,EAE1DZ,EACFA,EAAYa,CAAS,EAErBJ,EAAUI,CAAS,EAIrB,SAAS,OAAS,GAAGzB,CAAmB,IAAIyB,CAAS,qBAAqBxB,CAAsB,EAClG,EACA,CAACW,EAAaU,CAAI,CACpB,EAGMI,EAAgBlC,EAAY,IAAM,CAClCyB,EACFE,EAAeQ,GAAiB,CAACA,CAAY,EAE7CJ,EAASI,GAAiB,CAAC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EAAW9E,EAACgF,EAAA,CAAS,UAAU,oBAAoB,eAAa,qBAAqB,EAAK,KAC3FhF,EAACgF,EAAA,CACC,UAAU,sCACV,eAAa,qBACb,MACE,CACE,mBAAoBD,CACtB,EAEJ,GACF,CAEJ,CAMA,SAASE,GAAe,CAAE,UAAAlE,EAAW,GAAGG,CAAM,EAAsC,CAClF,OACElB,EAAC,MACC,UAAWmC,EACT,sIACApB,CACF,EACA,eAAa,WACb,YAAU,mBACT,GAAGG,EACN,CAEJ,CAMA,SAASgE,GAAmB,CAAE,UAAAnE,EAAW,GAAGG,CAAM,EAAsC,CACtF,OACElB,EAAC,MACC,UAAWmC,EAAG,+BAAgCpB,CAAS,EACvD,eAAa,gBACb,YAAU,wBACT,GAAGG,EACN,CAEJ,CAMA,SAASiE,GAAqB,CAC5B,QAAAxB,EAAU,GACV,KAAAQ,EAAO,KACP,SAAAD,EAAW,GACX,UAAAnD,EACA,GAAGG,CACL,EAIgB,CAGd,OACElB,EAHgB2D,EAAUpE,EAAO,IAGhC,CACC,UAAW4C,EACT,ukBACAgC,IAAS,MAAQ,UACjBA,IAAS,MAAQ,UACjB,uCACApD,CACF,EACA,cAAamD,EACb,eAAa,kBACb,YAAWC,EACX,YAAU,0BACT,GAAGjD,EACN,CAEJ","sourcesContent":["'use client';\n\nimport type { ComponentProps, CSSProperties, JSX } from 'react';\nimport type { VariantProps } from 'tailwind-variants';\n\nimport { useIsMobile } from '@codefast/hooks';\nimport { Slot } from '@radix-ui/react-slot';\nimport { PanelLeftIcon } from 'lucide-react';\nimport { createContext, useCallback, useContext, useEffect, useMemo, useState } from 'react';\nimport { tv } from 'tailwind-variants';\n\nimport { Button } from '@/components/button';\nimport { Input } from '@/components/input';\nimport { Separator } from '@/components/separator';\nimport { Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle } from '@/components/sheet';\nimport { Skeleton } from '@/components/skeleton';\nimport { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '@/components/tooltip';\nimport { cn } from '@/lib/utils';\n\nconst SIDEBAR_COOKIE_NAME = 'sidebar_state';\nconst SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;\nconst SIDEBAR_WIDTH = '16rem';\nconst SIDEBAR_WIDTH_MOBILE = '18rem';\nconst SIDEBAR_WIDTH_ICON = '3rem';\nconst SIDEBAR_KEYBOARD_SHORTCUT = 'b';\n\ninterface SidebarContextProps {\n isMobile: boolean;\n open: boolean;\n openMobile: boolean;\n setOpen: (open: boolean) => void;\n setOpenMobile: (open: boolean) => void;\n state: 'collapsed' | 'expanded';\n toggleSidebar: () => void;\n}\n\nconst SidebarContext = createContext<null | SidebarContextProps>(null);\n\nfunction useSidebar(): SidebarContextProps {\n const context = useContext(SidebarContext);\n\n if (!context) {\n throw new Error('useSidebar must be used within a SidebarProvider.');\n }\n\n return context;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SidebarProvider\n * -------------------------------------------------------------------------- */\n\nfunction SidebarProvider({\n defaultOpen = true,\n open: openProp,\n onOpenChange: setOpenProp,\n className,\n style,\n children,\n ...props\n}: ComponentProps<'div'> & {\n defaultOpen?: boolean;\n onOpenChange?: (open: boolean) => void;\n open?: boolean;\n}): JSX.Element {\n const isMobile = useIsMobile();\n const [openMobile, setOpenMobile] = useState(false);\n\n // This is the internal state of the sidebar.\n // We use openProp and setOpenProp for control from outside the component.\n const [isOpen, setIsOpen] = useState(defaultOpen);\n const open = openProp ?? isOpen;\n const setOpen = useCallback(\n (value: ((value: boolean) => boolean) | boolean) => {\n const openState = typeof value === 'function' ? value(open) : value;\n\n if (setOpenProp) {\n setOpenProp(openState);\n } else {\n setIsOpen(openState);\n }\n\n // eslint-disable-next-line unicorn/no-document-cookie -- This sets the cookie to keep the sidebar state.\n document.cookie = `${SIDEBAR_COOKIE_NAME}=${openState}; path=/; max-age=${SIDEBAR_COOKIE_MAX_AGE}`;\n },\n [setOpenProp, open],\n );\n\n // Helper to toggle the sidebar.\n const toggleSidebar = useCallback(() => {\n if (isMobile) {\n setOpenMobile((currentValue) => !currentValue);\n } else {\n setOpen((currentValue) => !currentValue);\n }\n }, [isMobile, setOpen, setOpenMobile]);\n\n // Adds a keyboard shortcut to toggle the sidebar.\n useEffect(() => {\n const handleKeyDown: (event: KeyboardEvent) => void = (event: KeyboardEvent) => {\n if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {\n event.preventDefault();\n toggleSidebar();\n }\n };\n\n window.addEventListener('keydown', handleKeyDown);\n\n return () => {\n window.removeEventListener('keydown', handleKeyDown);\n };\n }, [toggleSidebar]);\n\n // We add a state so that we can do data-state=\"expanded\" or \"collapsed\".\n // This makes it easier to style the sidebar with Tailwind classes.\n const state = open ? 'expanded' : 'collapsed';\n\n const contextValue = useMemo<SidebarContextProps>(\n () => ({\n state,\n open,\n setOpen,\n isMobile,\n openMobile,\n setOpenMobile,\n toggleSidebar,\n }),\n [state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar],\n );\n\n return (\n <SidebarContext.Provider value={contextValue}>\n <TooltipProvider delayDuration={0}>\n <div\n className={cn('group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full', className)}\n data-slot=\"sidebar-wrapper\"\n style={\n {\n '--sidebar-width': SIDEBAR_WIDTH,\n '--sidebar-width-icon': SIDEBAR_WIDTH_ICON,\n ...style,\n } as CSSProperties\n }\n {...props}\n >\n {children}\n </div>\n </TooltipProvider>\n </SidebarContext.Provider>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: Sidebar\n * -------------------------------------------------------------------------- */\n\nfunction Sidebar({\n side = 'left',\n variant = 'sidebar',\n collapsible = 'offcanvas',\n className,\n children,\n ...props\n}: ComponentProps<'div'> & {\n collapsible?: 'icon' | 'none' | 'offcanvas';\n side?: 'left' | 'right';\n variant?: 'floating' | 'inset' | 'sidebar';\n}): JSX.Element {\n const { isMobile, state, openMobile, setOpenMobile } = useSidebar();\n\n if (collapsible === 'none') {\n return (\n <div\n className={cn('bg-sidebar text-sidebar-foreground w-(--sidebar-width) flex h-full flex-col', className)}\n data-slot=\"sidebar\"\n {...props}\n >\n {children}\n </div>\n );\n }\n\n if (isMobile) {\n return (\n <Sheet open={openMobile} onOpenChange={setOpenMobile} {...props}>\n <SheetContent\n className=\"bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden\"\n data-mobile=\"true\"\n data-sidebar=\"sidebar\"\n data-slot=\"sidebar\"\n side={side}\n style={\n {\n '--sidebar-width': SIDEBAR_WIDTH_MOBILE,\n } as CSSProperties\n }\n >\n <SheetHeader className=\"sr-only\">\n <SheetTitle>Sidebar</SheetTitle>\n <SheetDescription>Displays the mobile sidebar.</SheetDescription>\n </SheetHeader>\n <div className=\"flex h-full w-full flex-col\">{children}</div>\n </SheetContent>\n </Sheet>\n );\n }\n\n return (\n <div\n className={cn('text-sidebar-foreground group peer hidden md:block', className)}\n data-collapsible={state === 'collapsed' ? collapsible : ''}\n data-side={side}\n data-slot=\"sidebar\"\n data-state={state}\n data-variant={variant}\n >\n {/* This is what handles the sidebar gap on desktop */}\n <div\n className={cn(\n 'w-(--sidebar-width) relative bg-transparent transition-[width] duration-200 ease-linear group-data-[collapsible=offcanvas]:w-0 group-data-[side=right]:rotate-180',\n variant === 'floating' || variant === 'inset'\n ? 'group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]'\n : 'group-data-[collapsible=icon]:w-(--sidebar-width-icon)',\n )}\n data-slot=\"sidebar-gap\"\n />\n <div\n className={cn(\n 'w-(--sidebar-width) fixed inset-y-0 z-10 hidden h-svh transition-[left,right,width] duration-200 ease-linear md:flex',\n side === 'left'\n ? 'left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]'\n : 'right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]',\n // Adjust the padding for floating and inset variants.\n variant === 'floating' || variant === 'inset'\n ? 'p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]'\n : 'group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l',\n className,\n )}\n data-slot=\"sidebar-container\"\n {...props}\n >\n <div\n className=\"bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm\"\n data-sidebar=\"sidebar\"\n data-slot=\"sidebar-inner\"\n >\n {children}\n </div>\n </div>\n </div>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SidebarTrigger\n * -------------------------------------------------------------------------- */\n\nfunction SidebarTrigger({ className, onClick, ...props }: ComponentProps<typeof Button>): JSX.Element {\n const { toggleSidebar } = useSidebar();\n\n return (\n <Button\n className={cn('size-7', className)}\n data-sidebar=\"trigger\"\n data-slot=\"sidebar-trigger\"\n size=\"icon\"\n variant=\"ghost\"\n onClick={(event) => {\n onClick?.(event);\n toggleSidebar();\n }}\n {...props}\n >\n <PanelLeftIcon />\n <span className=\"sr-only\">Toggle Sidebar</span>\n </Button>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SidebarRail\n * -------------------------------------------------------------------------- */\n\nfunction SidebarRail({ className, ...props }: ComponentProps<'button'>): JSX.Element {\n const { toggleSidebar } = useSidebar();\n\n return (\n <button\n className={cn(\n 'hover:after:bg-sidebar-border in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize hover:group-data-[collapsible=offcanvas]:bg-sidebar absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] group-data-[side=left]:-right-4 group-data-[side=right]:left-0 group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full sm:flex [[data-side=left][data-collapsible=offcanvas]_&]:-right-2 [[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-collapsible=offcanvas]_&]:-left-2 [[data-side=right][data-state=collapsed]_&]:cursor-w-resize',\n className,\n )}\n data-sidebar=\"rail\"\n data-slot=\"sidebar-rail\"\n title=\"Toggle Sidebar\"\n type=\"button\"\n onClick={toggleSidebar}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SidebarInset\n * -------------------------------------------------------------------------- */\n\nfunction SidebarInset({ className, ...props }: ComponentProps<'main'>): JSX.Element {\n return (\n <main\n className={cn(\n 'bg-background relative flex w-full flex-1 flex-col md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm',\n className,\n )}\n data-slot=\"sidebar-inset\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SidebarInput\n * -------------------------------------------------------------------------- */\n\nfunction SidebarInput({ className, ...props }: ComponentProps<typeof Input>): JSX.Element {\n return (\n <Input\n className={cn('bg-background h-8 w-full shadow-none', className)}\n data-sidebar=\"input\"\n data-slot=\"sidebar-input\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SidebarHeader\n * -------------------------------------------------------------------------- */\n\nfunction SidebarHeader({ className, ...props }: ComponentProps<'div'>): JSX.Element {\n return (\n <div\n className={cn('flex flex-col gap-2 p-2', className)}\n data-sidebar=\"header\"\n data-slot=\"sidebar-header\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SidebarFooter\n * -------------------------------------------------------------------------- */\n\nfunction SidebarFooter({ className, ...props }: ComponentProps<'div'>): JSX.Element {\n return (\n <div\n className={cn('flex flex-col gap-2 p-2', className)}\n data-sidebar=\"footer\"\n data-slot=\"sidebar-footer\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SidebarSeparator\n * -------------------------------------------------------------------------- */\n\nfunction SidebarSeparator({ className, ...props }: ComponentProps<typeof Separator>): JSX.Element {\n return (\n <Separator\n className={cn('bg-sidebar-border mx-2 w-auto', className)}\n data-sidebar=\"separator\"\n data-slot=\"sidebar-separator\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SidebarContent\n * -------------------------------------------------------------------------- */\n\nfunction SidebarContent({ className, ...props }: ComponentProps<'div'>): JSX.Element {\n return (\n <div\n className={cn(\n 'flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden',\n className,\n )}\n data-sidebar=\"content\"\n data-slot=\"sidebar-content\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SidebarGroup\n * -------------------------------------------------------------------------- */\n\nfunction SidebarGroup({ className, ...props }: ComponentProps<'div'>): JSX.Element {\n return (\n <div\n className={cn('relative flex w-full min-w-0 flex-col p-2', className)}\n data-sidebar=\"group\"\n data-slot=\"sidebar-group\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SidebarGroupLabel\n * -------------------------------------------------------------------------- */\n\nfunction SidebarGroupLabel({\n className,\n asChild = false,\n ...props\n}: ComponentProps<'div'> & {\n asChild?: boolean;\n}): JSX.Element {\n const Component = asChild ? Slot : 'div';\n\n return (\n <Component\n className={cn(\n 'text-sidebar-foreground/70 ring-sidebar-ring outline-hidden focus-visible:ring-3 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium transition-[margin,opacity] duration-200 ease-linear group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 [&>svg]:size-4 [&>svg]:shrink-0',\n className,\n )}\n data-sidebar=\"group-label\"\n data-slot=\"sidebar-group-label\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SidebarGroupAction\n * -------------------------------------------------------------------------- */\n\nfunction SidebarGroupAction({\n className,\n asChild = false,\n ...props\n}: ComponentProps<'button'> & {\n asChild?: boolean;\n}): JSX.Element {\n const Component = asChild ? Slot : 'button';\n\n return (\n <Component\n className={cn(\n 'text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground outline-hidden focus-visible:ring-3 absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 transition-transform after:absolute after:-inset-2 group-data-[collapsible=icon]:hidden md:after:hidden [&>svg]:size-4 [&>svg]:shrink-0',\n className,\n )}\n data-sidebar=\"group-action\"\n data-slot=\"sidebar-group-action\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SidebarGroupContent\n * -------------------------------------------------------------------------- */\n\nfunction SidebarGroupContent({ className, ...props }: ComponentProps<'div'>): JSX.Element {\n return (\n <div\n className={cn('w-full text-sm', className)}\n data-sidebar=\"group-content\"\n data-slot=\"sidebar-group-content\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SidebarMenu\n * -------------------------------------------------------------------------- */\n\nfunction SidebarMenu({ className, ...props }: ComponentProps<'ul'>): JSX.Element {\n return (\n <ul\n className={cn('flex w-full min-w-0 flex-col gap-1', className)}\n data-sidebar=\"menu\"\n data-slot=\"sidebar-menu\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SidebarMenuItem\n * -------------------------------------------------------------------------- */\n\nfunction SidebarMenuItem({ className, ...props }: ComponentProps<'li'>): JSX.Element {\n return (\n <li\n className={cn('group/menu-item relative', className)}\n data-sidebar=\"menu-item\"\n data-slot=\"sidebar-menu-item\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Variant: SidebarMenuButton\n * -------------------------------------------------------------------------- */\n\nconst sidebarMenuButtonVariants = tv({\n base: 'peer/menu-button outline-hidden ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground group-has-data-[sidebar=menu-action]/menu-item:pr-8 data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! focus-visible:ring-3 flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm transition-[width,height,padding] disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:font-medium [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0',\n variants: {\n variant: {\n default: 'hover:bg-sidebar-accent hover:text-sidebar-accent-foreground',\n outline:\n 'bg-background hover:bg-sidebar-accent hover:text-sidebar-accent-foreground shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]',\n },\n size: {\n sm: 'h-7 text-xs',\n md: 'h-8 text-sm',\n lg: 'group-data-[collapsible=icon]:p-0! h-12 text-sm',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'md',\n },\n});\n\n/* -----------------------------------------------------------------------------\n * Component: SidebarMenuButton\n * -------------------------------------------------------------------------- */\n\nfunction SidebarMenuButton({\n asChild = false,\n isActive = false,\n variant = 'default',\n size = 'md',\n tooltip,\n className,\n ...props\n}: ComponentProps<'button'> &\n VariantProps<typeof sidebarMenuButtonVariants> & {\n asChild?: boolean;\n isActive?: boolean;\n tooltip?: ComponentProps<typeof TooltipContent> | string;\n }): JSX.Element {\n const Component = asChild ? Slot : 'button';\n const { isMobile, state } = useSidebar();\n\n const button = (\n <Component\n className={cn(sidebarMenuButtonVariants({ variant, size }), className)}\n data-active={isActive}\n data-sidebar=\"menu-button\"\n data-size={size}\n data-slot=\"sidebar-menu-button\"\n {...props}\n />\n );\n\n if (!tooltip) {\n return button;\n }\n\n if (typeof tooltip === 'string') {\n // eslint-disable-next-line no-param-reassign -- convert it to an object with default properties\n tooltip = {\n children: tooltip,\n };\n }\n\n return (\n <Tooltip>\n <TooltipTrigger asChild>{button}</TooltipTrigger>\n <TooltipContent align=\"center\" hidden={state !== 'collapsed' || isMobile} side=\"right\" {...tooltip} />\n </Tooltip>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SidebarMenuAction\n * -------------------------------------------------------------------------- */\n\nfunction SidebarMenuAction({\n className,\n asChild = false,\n showOnHover = false,\n ...props\n}: ComponentProps<'button'> & {\n asChild?: boolean;\n showOnHover?: boolean;\n}): JSX.Element {\n const Component = asChild ? Slot : 'button';\n\n return (\n <Component\n className={cn(\n 'text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground outline-hidden focus-visible:ring-3 absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 transition-transform after:absolute after:-inset-2 group-data-[collapsible=icon]:hidden peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 md:after:hidden [&>svg]:size-4 [&>svg]:shrink-0',\n showOnHover &&\n 'peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0',\n className,\n )}\n data-sidebar=\"menu-action\"\n data-slot=\"sidebar-menu-action\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SidebarMenuBadge\n * -------------------------------------------------------------------------- */\n\nfunction SidebarMenuBadge({ className, ...props }: ComponentProps<'div'>): JSX.Element {\n return (\n <div\n className={cn(\n 'text-sidebar-foreground peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums group-data-[collapsible=icon]:hidden peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1',\n className,\n )}\n data-sidebar=\"menu-badge\"\n data-slot=\"sidebar-menu-badge\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SidebarMenuSkeleton\n * -------------------------------------------------------------------------- */\n\nfunction SidebarMenuSkeleton({\n className,\n showIcon = false,\n ...props\n}: ComponentProps<'div'> & {\n showIcon?: boolean;\n}): JSX.Element {\n // Random width between 50 to 90%.\n const width = useMemo(() => {\n return `${Math.floor(Math.random() * 40) + 50}%`;\n }, []);\n\n return (\n <div\n className={cn('flex h-8 items-center gap-2 rounded-md px-2', className)}\n data-sidebar=\"menu-skeleton\"\n data-slot=\"sidebar-menu-skeleton\"\n {...props}\n >\n {showIcon ? <Skeleton className=\"size-4 rounded-md\" data-sidebar=\"menu-skeleton-icon\" /> : null}\n <Skeleton\n className=\"max-w-(--skeleton-width) h-4 flex-1\"\n data-sidebar=\"menu-skeleton-text\"\n style={\n {\n '--skeleton-width': width,\n } as CSSProperties\n }\n />\n </div>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SidebarMenuSub\n * -------------------------------------------------------------------------- */\n\nfunction SidebarMenuSub({ className, ...props }: ComponentProps<'ul'>): JSX.Element {\n return (\n <ul\n className={cn(\n 'border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5 group-data-[collapsible=icon]:hidden',\n className,\n )}\n data-sidebar=\"menu-sub\"\n data-slot=\"sidebar-menu-sub\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SidebarMenuSubItem\n * -------------------------------------------------------------------------- */\n\nfunction SidebarMenuSubItem({ className, ...props }: ComponentProps<'li'>): JSX.Element {\n return (\n <li\n className={cn('group/menu-sub-item relative', className)}\n data-sidebar=\"menu-sub-item\"\n data-slot=\"sidebar-menu-sub-item\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SidebarMenuSubButton\n * -------------------------------------------------------------------------- */\n\nfunction SidebarMenuSubButton({\n asChild = false,\n size = 'md',\n isActive = false,\n className,\n ...props\n}: ComponentProps<'a'> & {\n asChild?: boolean;\n isActive?: boolean;\n size?: 'md' | 'sm';\n}): JSX.Element {\n const Component = asChild ? Slot : 'a';\n\n return (\n <Component\n className={cn(\n 'text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground outline-hidden focus-visible:ring-3 data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0',\n size === 'sm' && 'text-xs',\n size === 'md' && 'text-sm',\n 'group-data-[collapsible=icon]:hidden',\n className,\n )}\n data-active={isActive}\n data-sidebar=\"menu-sub-button\"\n data-size={size}\n data-slot=\"sidebar-menu-sub-button\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Sidebar,\n SidebarContent,\n SidebarFooter,\n SidebarGroup,\n SidebarGroupAction,\n SidebarGroupContent,\n SidebarGroupLabel,\n SidebarHeader,\n SidebarInput,\n SidebarInset,\n SidebarMenu,\n SidebarMenuAction,\n SidebarMenuBadge,\n SidebarMenuButton,\n SidebarMenuItem,\n SidebarMenuSkeleton,\n SidebarMenuSub,\n SidebarMenuSubButton,\n SidebarMenuSubItem,\n SidebarProvider,\n SidebarRail,\n SidebarSeparator,\n SidebarTrigger,\n useSidebar,\n};\n"]}
|