@customafk/lunas-ui 0.2.8 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{alert-DIC1_ymv.cjs → alert-BqJVf4wD.cjs} +1 -1
- package/dist/{alert-DIC1_ymv.cjs.map → alert-BqJVf4wD.cjs.map} +1 -1
- package/dist/{alert-CA1RS1CG.d.cts → alert-D3OOxNtK.d.mts} +6 -6
- package/dist/{alert-VP3giy31.mjs → alert-DQHE-pdI.mjs} +1 -1
- package/dist/{alert-VP3giy31.mjs.map → alert-DQHE-pdI.mjs.map} +1 -1
- package/dist/{alert-DDL82_U3.d.mts → alert-W_Q1Gsld.d.cts} +7 -7
- package/dist/{badge-BFTGDsBm.d.cts → badge-Dm1IEgtT.d.cts} +5 -5
- package/dist/{badge-Cg0e-djv.d.mts → badge-YFen8D8o.d.mts} +5 -5
- package/dist/{button-C76drZpd.d.mts → button-BnbtzQAN.d.mts} +5 -5
- package/dist/{button-Bn54lPVz.d.cts → button-Ckjev2AT.d.cts} +3 -3
- package/dist/{calendar-CyAPpT2m.cjs → calendar-B2V4Lv0T.cjs} +1 -1
- package/dist/{calendar-CyAPpT2m.cjs.map → calendar-B2V4Lv0T.cjs.map} +1 -1
- package/dist/{calendar-JKxWM6AF.mjs → calendar-Cw1G0sVL.mjs} +1 -1
- package/dist/{calendar-JKxWM6AF.mjs.map → calendar-Cw1G0sVL.mjs.map} +1 -1
- package/dist/{checkbox-RZrRNYP2.cjs → checkbox-Di7ACavC.cjs} +1 -1
- package/dist/{checkbox-RZrRNYP2.cjs.map → checkbox-Di7ACavC.cjs.map} +1 -1
- package/dist/{checkbox-DJEdYOjA.mjs → checkbox-Dzo6oI4y.mjs} +1 -1
- package/dist/{checkbox-DJEdYOjA.mjs.map → checkbox-Dzo6oI4y.mjs.map} +1 -1
- package/dist/{cms-layout-HfnOQS16.mjs → cms-layout-Bp6rU_of.mjs} +2 -2
- package/dist/{cms-layout-HfnOQS16.mjs.map → cms-layout-Bp6rU_of.mjs.map} +1 -1
- package/dist/{cms-layout-Dc4moos1.cjs → cms-layout-r9TmK6hi.cjs} +2 -2
- package/dist/{cms-layout-Dc4moos1.cjs.map → cms-layout-r9TmK6hi.cjs.map} +1 -1
- package/dist/data-display/country.d.mts +1 -1
- package/dist/data-display/role-badge.d.mts +1 -1
- package/dist/data-display/statistic.d.cts +2 -2
- package/dist/data-display/statistic.d.mts +4 -4
- package/dist/{dialog-D6ygAOSV.d.mts → dialog-DTtlGouy.d.mts} +12 -12
- package/dist/{dialog-CNhwBcEl.d.cts → dialog-DW1Axqio.d.cts} +12 -12
- package/dist/dialogs/detail-dialog/components/sidebar.d.cts +1 -1
- package/dist/dialogs/detail-dialog/components/sidebar.d.mts +26 -26
- package/dist/features/descriptions/index.d.cts +1 -1
- package/dist/features/descriptions/index.d.mts +1 -1
- package/dist/features/search-modal/index.d.cts +2 -2
- package/dist/features/search-modal/index.d.mts +2 -2
- package/dist/features/tables/index.cjs +1 -1
- package/dist/features/tables/index.d.cts +156 -6
- package/dist/features/tables/index.d.mts +157 -7
- package/dist/features/tables/index.mjs +1 -1
- package/dist/features/tanstack-form/index.cjs +1 -1
- package/dist/features/tanstack-form/index.d.cts +1 -1
- package/dist/features/tanstack-form/index.d.mts +1 -1
- package/dist/features/tanstack-form/index.mjs +1 -1
- package/dist/{field-CppNvoxV.cjs → field-C51eJ6QN.cjs} +2 -2
- package/dist/{field-CppNvoxV.cjs.map → field-C51eJ6QN.cjs.map} +1 -1
- package/dist/{field-CXVnw75a.mjs → field-DfsTE4Ie.mjs} +2 -2
- package/dist/{field-CXVnw75a.mjs.map → field-DfsTE4Ie.mjs.map} +1 -1
- package/dist/{index-75nSAiSe.d.mts → index-BIT9bkka.d.mts} +106 -106
- package/dist/{index-aTMCQQms.d.cts → index-CO4_ENw7.d.cts} +291 -291
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +8 -8
- package/dist/index.d.mts +8 -8
- package/dist/index.mjs +1 -1
- package/dist/{input-Cd0G5y-9.mjs → input-6f9JTc79.mjs} +1 -1
- package/dist/{input-Cd0G5y-9.mjs.map → input-6f9JTc79.mjs.map} +1 -1
- package/dist/{input-Cl5VkKQh.cjs → input-BMOYFJYM.cjs} +1 -1
- package/dist/{input-Cl5VkKQh.cjs.map → input-BMOYFJYM.cjs.map} +1 -1
- package/dist/{input-D5dtkW6g.d.mts → input-BrM6EExy.d.mts} +6 -6
- package/dist/{input-t2hpPP2K.d.cts → input-CigimPoX.d.cts} +4 -4
- package/dist/{label-OmlGaZ5h.mjs → label-3vAlNtF9.mjs} +1 -1
- package/dist/{label-OmlGaZ5h.mjs.map → label-3vAlNtF9.mjs.map} +1 -1
- package/dist/{label-DkMTQ3Ch.cjs → label-zyBJYydC.cjs} +1 -1
- package/dist/{label-DkMTQ3Ch.cjs.map → label-zyBJYydC.cjs.map} +1 -1
- package/dist/layouts/cms-layout/index.cjs +1 -1
- package/dist/layouts/cms-layout/index.mjs +1 -1
- package/dist/layouts/flex.d.cts +4 -4
- package/dist/layouts/flex.d.mts +4 -4
- package/dist/layouts/payment-layout/index.cjs +1 -1
- package/dist/layouts/payment-layout/index.mjs +1 -1
- package/dist/pages/FeatureDeveloping.d.cts +2 -2
- package/dist/pages/FeatureDeveloping.d.mts +2 -2
- package/dist/pages/FeatureFixing.d.cts +2 -2
- package/dist/pages/FeatureFixing.d.mts +2 -2
- package/dist/pages/NotAuthorized.d.cts +2 -2
- package/dist/pages/NotAuthorized.d.mts +2 -2
- package/dist/pages/NotFound.d.cts +2 -2
- package/dist/pages/NotFound.d.mts +2 -2
- package/dist/{payment-layout-Da29dHJe.cjs → payment-layout-C9pP5HdT.cjs} +1 -1
- package/dist/{payment-layout-Da29dHJe.cjs.map → payment-layout-C9pP5HdT.cjs.map} +1 -1
- package/dist/{payment-layout-wN5c7MCM.mjs → payment-layout-D-69gOPJ.mjs} +1 -1
- package/dist/{payment-layout-wN5c7MCM.mjs.map → payment-layout-D-69gOPJ.mjs.map} +1 -1
- package/dist/{popover-OJXFbqJi.mjs → popover-BFJhuzW3.mjs} +1 -1
- package/dist/{popover-OJXFbqJi.mjs.map → popover-BFJhuzW3.mjs.map} +1 -1
- package/dist/{popover-AEt-aSy3.cjs → popover-CmoqhK17.cjs} +1 -1
- package/dist/{popover-AEt-aSy3.cjs.map → popover-CmoqhK17.cjs.map} +1 -1
- package/dist/progress-0cpDwgAJ.mjs +2 -0
- package/dist/progress-0cpDwgAJ.mjs.map +1 -0
- package/dist/progress-DE1FdQ1J.cjs +2 -0
- package/dist/progress-DE1FdQ1J.cjs.map +1 -0
- package/dist/{radio-group-CAgfOr7-.mjs → radio-group-D5OurBIG.mjs} +1 -1
- package/dist/{radio-group-CAgfOr7-.mjs.map → radio-group-D5OurBIG.mjs.map} +1 -1
- package/dist/{radio-group-BWLdQw7M.cjs → radio-group-DAv2EU3F.cjs} +1 -1
- package/dist/{radio-group-BWLdQw7M.cjs.map → radio-group-DAv2EU3F.cjs.map} +1 -1
- package/dist/{resizable-DWh_mp5P.mjs → resizable-C2Zl-iLF.mjs} +1 -1
- package/dist/{resizable-DWh_mp5P.mjs.map → resizable-C2Zl-iLF.mjs.map} +1 -1
- package/dist/{resizable-D6UKwvFa.cjs → resizable-DDPMwd28.cjs} +1 -1
- package/dist/{resizable-D6UKwvFa.cjs.map → resizable-DDPMwd28.cjs.map} +1 -1
- package/dist/{select-Ze8Fq88G.mjs → select-DRCKwnTV.mjs} +1 -1
- package/dist/{select-Ze8Fq88G.mjs.map → select-DRCKwnTV.mjs.map} +1 -1
- package/dist/{select-Py_t2nX1.cjs → select-DfvSMRUq.cjs} +1 -1
- package/dist/{select-Py_t2nX1.cjs.map → select-DfvSMRUq.cjs.map} +1 -1
- package/dist/{spinner-EgMJOaQi.mjs → spinner-B3F9W53l.mjs} +1 -1
- package/dist/{spinner-EgMJOaQi.mjs.map → spinner-B3F9W53l.mjs.map} +1 -1
- package/dist/{spinner-MKXqwF9G.cjs → spinner-rA8pMY6v.cjs} +1 -1
- package/dist/{spinner-MKXqwF9G.cjs.map → spinner-rA8pMY6v.cjs.map} +1 -1
- package/dist/tables-D1JyNmcV.cjs +2 -0
- package/dist/tables-D1JyNmcV.cjs.map +1 -0
- package/dist/tables-DTazQIyy.mjs +2 -0
- package/dist/tables-DTazQIyy.mjs.map +1 -0
- package/dist/{tanstack-form-BmV2BXDz.cjs → tanstack-form-Bb9JXuEq.cjs} +2 -2
- package/dist/{tanstack-form-BmV2BXDz.cjs.map → tanstack-form-Bb9JXuEq.cjs.map} +1 -1
- package/dist/{tanstack-form-CJ43hVb_.mjs → tanstack-form-BwyHENeF.mjs} +2 -2
- package/dist/{tanstack-form-CJ43hVb_.mjs.map → tanstack-form-BwyHENeF.mjs.map} +1 -1
- package/dist/{textarea-CdGSEkZB.mjs → textarea-5RD9ToTV.mjs} +1 -1
- package/dist/{textarea-CdGSEkZB.mjs.map → textarea-5RD9ToTV.mjs.map} +1 -1
- package/dist/{textarea-BsgmN4jy.cjs → textarea-CvoBIPlJ.cjs} +1 -1
- package/dist/{textarea-BsgmN4jy.cjs.map → textarea-CvoBIPlJ.cjs.map} +1 -1
- package/dist/{types-B_32Ieia.d.mts → types-CkRjAQZ2.d.mts} +1 -1
- package/dist/typography/paragraph.d.cts +4 -4
- package/dist/typography/paragraph.d.mts +4 -4
- package/dist/typography/title.d.cts +2 -2
- package/dist/typography/title.d.mts +2 -2
- package/dist/ui/alert-dialog.d.cts +12 -12
- package/dist/ui/alert-dialog.d.mts +12 -12
- package/dist/ui/alert.cjs +1 -1
- package/dist/ui/alert.d.cts +1 -1
- package/dist/ui/alert.d.mts +1 -1
- package/dist/ui/alert.mjs +1 -1
- package/dist/ui/aspect-ratio.d.cts +2 -2
- package/dist/ui/aspect-ratio.d.mts +2 -2
- package/dist/ui/avatar.d.cts +4 -4
- package/dist/ui/avatar.d.mts +4 -4
- package/dist/ui/badge.d.cts +1 -1
- package/dist/ui/badge.d.mts +1 -1
- package/dist/ui/breadcrumb.d.cts +8 -8
- package/dist/ui/breadcrumb.d.mts +8 -8
- package/dist/ui/button-group.d.cts +6 -6
- package/dist/ui/button-group.d.mts +6 -6
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.mts +1 -1
- package/dist/ui/calendar.cjs +1 -1
- package/dist/ui/calendar.d.cts +4 -4
- package/dist/ui/calendar.d.mts +4 -4
- package/dist/ui/calendar.mjs +1 -1
- package/dist/ui/card.d.cts +8 -8
- package/dist/ui/card.d.mts +8 -8
- package/dist/ui/carousel.d.cts +7 -7
- package/dist/ui/carousel.d.mts +7 -7
- package/dist/ui/checkbox.cjs +1 -1
- package/dist/ui/checkbox.d.cts +2 -2
- package/dist/ui/checkbox.d.mts +2 -2
- package/dist/ui/checkbox.mjs +1 -1
- package/dist/ui/collapsible.d.cts +4 -4
- package/dist/ui/collapsible.d.mts +4 -4
- package/dist/ui/command.d.cts +11 -11
- package/dist/ui/command.d.mts +11 -11
- package/dist/ui/context-menu.d.cts +16 -16
- package/dist/ui/context-menu.d.mts +16 -16
- package/dist/ui/dialog.d.cts +1 -1
- package/dist/ui/dialog.d.mts +1 -1
- package/dist/ui/drawer.d.cts +11 -11
- package/dist/ui/drawer.d.mts +11 -11
- package/dist/ui/dropdown-menu.d.cts +16 -16
- package/dist/ui/dropdown-menu.d.mts +16 -16
- package/dist/ui/empty.d.cts +7 -7
- package/dist/ui/empty.d.mts +9 -9
- package/dist/ui/field.cjs +1 -1
- package/dist/ui/field.d.cts +24 -24
- package/dist/ui/field.d.mts +24 -24
- package/dist/ui/field.mjs +1 -1
- package/dist/ui/file-uploader.cjs +2 -2
- package/dist/ui/file-uploader.cjs.map +1 -1
- package/dist/ui/file-uploader.d.cts +2 -2
- package/dist/ui/file-uploader.d.mts +2 -2
- package/dist/ui/file-uploader.mjs +1 -1
- package/dist/ui/file-uploader.mjs.map +1 -1
- package/dist/ui/form.cjs +1 -1
- package/dist/ui/form.d.cts +11 -11
- package/dist/ui/form.d.mts +11 -11
- package/dist/ui/form.mjs +1 -1
- package/dist/ui/hover-card.d.cts +4 -4
- package/dist/ui/hover-card.d.mts +4 -4
- package/dist/ui/input-otp.d.cts +5 -5
- package/dist/ui/input-otp.d.mts +5 -5
- package/dist/ui/input.cjs +1 -1
- package/dist/ui/input.d.cts +1 -1
- package/dist/ui/input.d.mts +1 -1
- package/dist/ui/input.mjs +1 -1
- package/dist/ui/inputs/search-input.cjs +1 -1
- package/dist/ui/inputs/search-input.d.cts +3 -3
- package/dist/ui/inputs/search-input.d.mts +3 -3
- package/dist/ui/inputs/search-input.mjs +1 -1
- package/dist/ui/item.d.cts +14 -14
- package/dist/ui/item.d.mts +11 -11
- package/dist/ui/label.cjs +1 -1
- package/dist/ui/label.d.cts +2 -2
- package/dist/ui/label.d.mts +2 -2
- package/dist/ui/label.mjs +1 -1
- package/dist/ui/menubar.d.cts +17 -17
- package/dist/ui/multi-select.d.cts +2 -2
- package/dist/ui/multi-select.d.mts +3 -3
- package/dist/ui/navigation-menu.d.cts +11 -11
- package/dist/ui/navigation-menu.d.mts +9 -9
- package/dist/ui/pagination.d.cts +9 -9
- package/dist/ui/pagination.d.mts +9 -9
- package/dist/ui/popover.cjs +1 -1
- package/dist/ui/popover.d.cts +6 -6
- package/dist/ui/popover.d.mts +6 -6
- package/dist/ui/popover.mjs +1 -1
- package/dist/ui/progress.cjs +1 -2
- package/dist/ui/progress.d.cts +2 -2
- package/dist/ui/progress.d.mts +2 -2
- package/dist/ui/progress.mjs +1 -2
- package/dist/ui/radio-group.cjs +1 -1
- package/dist/ui/radio-group.d.cts +3 -3
- package/dist/ui/radio-group.d.mts +3 -3
- package/dist/ui/radio-group.mjs +1 -1
- package/dist/ui/resizable.cjs +1 -1
- package/dist/ui/resizable.d.cts +9 -9
- package/dist/ui/resizable.d.mts +9 -9
- package/dist/ui/resizable.mjs +1 -1
- package/dist/ui/scroll-area.d.cts +6 -6
- package/dist/ui/scroll-area.d.mts +6 -6
- package/dist/ui/select.cjs +1 -1
- package/dist/ui/select.d.cts +9 -9
- package/dist/ui/select.d.mts +9 -9
- package/dist/ui/select.mjs +1 -1
- package/dist/ui/separator.d.cts +2 -2
- package/dist/ui/separator.d.mts +2 -2
- package/dist/ui/sheet.d.cts +9 -9
- package/dist/ui/sheet.d.mts +9 -9
- package/dist/ui/sidebar.cjs +1 -1
- package/dist/ui/sidebar.d.cts +28 -28
- package/dist/ui/sidebar.d.mts +26 -26
- package/dist/ui/sidebar.mjs +1 -1
- package/dist/ui/skeleton.d.cts +2 -2
- package/dist/ui/skeleton.d.mts +2 -2
- package/dist/ui/slider.d.cts +2 -2
- package/dist/ui/slider.d.mts +2 -2
- package/dist/ui/sonner.d.cts +2 -2
- package/dist/ui/sonner.d.mts +2 -2
- package/dist/ui/spinner.cjs +1 -1
- package/dist/ui/spinner.d.cts +2 -2
- package/dist/ui/spinner.d.mts +2 -2
- package/dist/ui/spinner.mjs +1 -1
- package/dist/ui/switch.d.cts +2 -2
- package/dist/ui/switch.d.mts +2 -2
- package/dist/ui/table.d.cts +18 -18
- package/dist/ui/table.d.mts +9 -9
- package/dist/ui/tabs.d.cts +5 -5
- package/dist/ui/tabs.d.mts +5 -5
- package/dist/ui/textarea.cjs +1 -1
- package/dist/ui/textarea.d.cts +2 -2
- package/dist/ui/textarea.d.mts +2 -2
- package/dist/ui/textarea.mjs +1 -1
- package/dist/ui/toggle-group.d.cts +3 -3
- package/dist/ui/toggle-group.d.mts +3 -3
- package/dist/ui/toggle.d.cts +4 -4
- package/dist/ui/toggle.d.mts +2 -2
- package/dist/ui/tooltip.d.cts +5 -5
- package/dist/ui/tooltip.d.mts +5 -5
- package/package.json +1 -1
- package/dist/tables-Cc3Wik4i.cjs +0 -2
- package/dist/tables-Cc3Wik4i.cjs.map +0 -1
- package/dist/tables-DrJKQPsT.mjs +0 -2
- package/dist/tables-DrJKQPsT.mjs.map +0 -1
- package/dist/ui/progress.cjs.map +0 -1
- package/dist/ui/progress.mjs.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import{useCallback as e}from"react";import{jsx as t}from"react/jsx-runtime";import{cn as n}from"@customafk/react-toolkit/utils";function r({className:r,onChange:i,onValueChange:a,...o}){let s=e(e=>{i?.(e),a?.(e.target.value)},[i,a]);return t(`textarea`,{"data-slot":`textarea`,className:n(`flex min-h-24 w-full bg-transparent px-3 py-2`,`rounded shadow-input transition-[color,box-shadow] duration-200`,`resize-y text-sm text-text-positive-weak tabular-nums caret-primary`,`-outline-offset-1 outline-1 outline-border`,`placeholder:text-text-positive-muted`,`focus:text-text-positive focus:outline-primary-strong focus:ring-4 focus:ring-primary-weak`,`read-only:pointer-events-none read-only:bg-muted-muted read-only:placeholder:text-text-positive-weak`,`aria-invalid:bg-danger-bg-subtle`,`aria-invalid:outline-danger`,`aria-invalid:ring-danger-weak`,`aria-invalid:focus:outline-danger-strong`,`aria-invalid:focus:ring-4`,`aria-invalid:placeholder:text-text-positive-weak`,`disabled:cursor-not-allowed disabled:opacity-50`,`disabled:pointer-events-none`,`disabled:border-border-weak/50 disabled:bg-secondary-muted/10`,r),...o,onChange:s})}export{r as t};
|
|
2
|
-
//# sourceMappingURL=textarea-
|
|
2
|
+
//# sourceMappingURL=textarea-5RD9ToTV.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textarea-
|
|
1
|
+
{"version":3,"file":"textarea-5RD9ToTV.mjs","names":[],"sources":["../packages/components/ui/textarea.tsx"],"sourcesContent":["'use client';\nimport { useCallback } from 'react';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\n/**\n * Styled multi-line text area built on the native `<textarea>` element with resize, focus, and validation state styles.\n *\n * @example\n * ```tsx\n * import { Textarea } from '@customafk/lunas-ui/ui/textarea';\n *\n * <Textarea\n * placeholder=\"Write a description…\"\n * rows={4}\n * onValueChange={(value) => console.log(value)}\n * />\n * ```\n */\nfunction Textarea({\n className,\n onChange,\n onValueChange,\n ...props\n}: React.ComponentProps<'textarea'> & {\n /** Convenience callback that receives the raw string value on every change, bypassing the synthetic event. */\n onValueChange?: (value: string) => void;\n}) {\n const handleChange = useCallback(\n (e: React.ChangeEvent<HTMLTextAreaElement>) => {\n onChange?.(e);\n onValueChange?.(e.target.value);\n },\n [onChange, onValueChange]\n );\n return (\n <textarea\n data-slot=\"textarea\"\n className={cn(\n // Base styles\n 'flex min-h-24 w-full bg-transparent px-3 py-2',\n 'rounded shadow-input transition-[color,box-shadow] duration-200',\n 'resize-y text-sm text-text-positive-weak tabular-nums caret-primary',\n\n // Border and shadow styles\n '-outline-offset-1 outline-1 outline-border',\n\n // Placeholder styling\n 'placeholder:text-text-positive-muted',\n\n // State styles\n 'focus:text-text-positive focus:outline-primary-strong focus:ring-4 focus:ring-primary-weak',\n\n // Read-only state\n 'read-only:pointer-events-none read-only:bg-muted-muted read-only:placeholder:text-text-positive-weak',\n\n // Invalid state\n 'aria-invalid:bg-danger-bg-subtle',\n 'aria-invalid:outline-danger',\n 'aria-invalid:ring-danger-weak',\n 'aria-invalid:focus:outline-danger-strong',\n 'aria-invalid:focus:ring-4',\n 'aria-invalid:placeholder:text-text-positive-weak',\n\n // Disabled state\n 'disabled:cursor-not-allowed disabled:opacity-50',\n 'disabled:pointer-events-none',\n 'disabled:border-border-weak/50 disabled:bg-secondary-muted/10',\n\n // Additional custom styling\n className\n )}\n {...props}\n onChange={handleChange}\n />\n );\n}\n\nexport { Textarea };\n"],"mappings":"gIAmBA,SAAS,EAAS,CAChB,YACA,WACA,gBACA,GAAG,GAIF,CACD,IAAM,EAAe,EAClB,GAA8C,CAC7C,IAAW,EAAE,CACb,IAAgB,EAAE,OAAO,MAAM,EAEjC,CAAC,EAAU,EAAc,CAC1B,CACD,OACE,EAAC,WAAA,CACC,YAAU,WACV,UAAW,EAET,gDACA,kEACA,sEAGA,6CAGA,uCAGA,6FAGA,uGAGA,mCACA,8BACA,gCACA,2CACA,4BACA,mDAGA,kDACA,+BACA,gEAGA,EACD,CACD,GAAI,EACJ,SAAU,GACV"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
const e=require(`./chunk-Bmb41Sf3.cjs`);let t=require(`react`),n=require(`react/jsx-runtime`),r=require(`@customafk/react-toolkit/utils`);function i({className:e,onChange:i,onValueChange:a,...o}){let s=(0,t.useCallback)(e=>{i?.(e),a?.(e.target.value)},[i,a]);return(0,n.jsx)(`textarea`,{"data-slot":`textarea`,className:(0,r.cn)(`flex min-h-24 w-full bg-transparent px-3 py-2`,`rounded shadow-input transition-[color,box-shadow] duration-200`,`resize-y text-sm text-text-positive-weak tabular-nums caret-primary`,`-outline-offset-1 outline-1 outline-border`,`placeholder:text-text-positive-muted`,`focus:text-text-positive focus:outline-primary-strong focus:ring-4 focus:ring-primary-weak`,`read-only:pointer-events-none read-only:bg-muted-muted read-only:placeholder:text-text-positive-weak`,`aria-invalid:bg-danger-bg-subtle`,`aria-invalid:outline-danger`,`aria-invalid:ring-danger-weak`,`aria-invalid:focus:outline-danger-strong`,`aria-invalid:focus:ring-4`,`aria-invalid:placeholder:text-text-positive-weak`,`disabled:cursor-not-allowed disabled:opacity-50`,`disabled:pointer-events-none`,`disabled:border-border-weak/50 disabled:bg-secondary-muted/10`,e),...o,onChange:s})}Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return i}});
|
|
2
|
-
//# sourceMappingURL=textarea-
|
|
2
|
+
//# sourceMappingURL=textarea-CvoBIPlJ.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textarea-
|
|
1
|
+
{"version":3,"file":"textarea-CvoBIPlJ.cjs","names":[],"sources":["../packages/components/ui/textarea.tsx"],"sourcesContent":["'use client';\nimport { useCallback } from 'react';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\n/**\n * Styled multi-line text area built on the native `<textarea>` element with resize, focus, and validation state styles.\n *\n * @example\n * ```tsx\n * import { Textarea } from '@customafk/lunas-ui/ui/textarea';\n *\n * <Textarea\n * placeholder=\"Write a description…\"\n * rows={4}\n * onValueChange={(value) => console.log(value)}\n * />\n * ```\n */\nfunction Textarea({\n className,\n onChange,\n onValueChange,\n ...props\n}: React.ComponentProps<'textarea'> & {\n /** Convenience callback that receives the raw string value on every change, bypassing the synthetic event. */\n onValueChange?: (value: string) => void;\n}) {\n const handleChange = useCallback(\n (e: React.ChangeEvent<HTMLTextAreaElement>) => {\n onChange?.(e);\n onValueChange?.(e.target.value);\n },\n [onChange, onValueChange]\n );\n return (\n <textarea\n data-slot=\"textarea\"\n className={cn(\n // Base styles\n 'flex min-h-24 w-full bg-transparent px-3 py-2',\n 'rounded shadow-input transition-[color,box-shadow] duration-200',\n 'resize-y text-sm text-text-positive-weak tabular-nums caret-primary',\n\n // Border and shadow styles\n '-outline-offset-1 outline-1 outline-border',\n\n // Placeholder styling\n 'placeholder:text-text-positive-muted',\n\n // State styles\n 'focus:text-text-positive focus:outline-primary-strong focus:ring-4 focus:ring-primary-weak',\n\n // Read-only state\n 'read-only:pointer-events-none read-only:bg-muted-muted read-only:placeholder:text-text-positive-weak',\n\n // Invalid state\n 'aria-invalid:bg-danger-bg-subtle',\n 'aria-invalid:outline-danger',\n 'aria-invalid:ring-danger-weak',\n 'aria-invalid:focus:outline-danger-strong',\n 'aria-invalid:focus:ring-4',\n 'aria-invalid:placeholder:text-text-positive-weak',\n\n // Disabled state\n 'disabled:cursor-not-allowed disabled:opacity-50',\n 'disabled:pointer-events-none',\n 'disabled:border-border-weak/50 disabled:bg-secondary-muted/10',\n\n // Additional custom styling\n className\n )}\n {...props}\n onChange={handleChange}\n />\n );\n}\n\nexport { Textarea };\n"],"mappings":"0IAmBA,SAAS,EAAS,CAChB,YACA,WACA,gBACA,GAAG,GAIF,CACD,IAAM,GAAA,EAAA,EAAA,aACH,GAA8C,CAC7C,IAAW,EAAE,CACb,IAAgB,EAAE,OAAO,MAAM,EAEjC,CAAC,EAAU,EAAc,CAC1B,CACD,OACE,EAAA,EAAA,KAAC,WAAA,CACC,YAAU,WACV,WAAA,EAAA,EAAA,IAEE,gDACA,kEACA,sEAGA,6CAGA,uCAGA,6FAGA,uGAGA,mCACA,8BACA,gCACA,2CACA,4BACA,mDAGA,kDACA,+BACA,gEAGA,EACD,CACD,GAAI,EACJ,SAAU,GACV"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime124 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types5 from "class-variance-authority/types";
|
|
3
3
|
import { ComponentPropsWithoutRef } from "react";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
|
|
6
6
|
//#region packages/components/typography/paragraph.d.ts
|
|
7
7
|
declare const paragraphVariants: (props?: ({
|
|
8
8
|
variant?: "xs" | "sm" | "lg" | "lead" | "p" | "muted" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
10
10
|
/**
|
|
11
11
|
* Props for the {@link Paragraph} component.
|
|
12
12
|
*
|
|
@@ -42,7 +42,7 @@ declare const Paragraph: ({
|
|
|
42
42
|
variant,
|
|
43
43
|
className,
|
|
44
44
|
...props
|
|
45
|
-
}: ParagraphProps) =>
|
|
45
|
+
}: ParagraphProps) => react_jsx_runtime124.JSX.Element;
|
|
46
46
|
//#endregion
|
|
47
47
|
export { Paragraph, ParagraphProps, paragraphVariants };
|
|
48
48
|
//# sourceMappingURL=paragraph.d.cts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region packages/components/typography/paragraph.d.ts
|
|
7
7
|
declare const paragraphVariants: (props?: ({
|
|
8
8
|
variant?: "xs" | "sm" | "lg" | "lead" | "p" | "muted" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
10
10
|
/**
|
|
11
11
|
* Props for the {@link Paragraph} component.
|
|
12
12
|
*
|
|
@@ -42,7 +42,7 @@ declare const Paragraph: ({
|
|
|
42
42
|
variant,
|
|
43
43
|
className,
|
|
44
44
|
...props
|
|
45
|
-
}: ParagraphProps) =>
|
|
45
|
+
}: ParagraphProps) => react_jsx_runtime4.JSX.Element;
|
|
46
46
|
//#endregion
|
|
47
47
|
export { Paragraph, ParagraphProps, paragraphVariants };
|
|
48
48
|
//# sourceMappingURL=paragraph.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime197 from "react/jsx-runtime";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/typography/title.d.ts
|
|
@@ -38,7 +38,7 @@ declare const Title: ({
|
|
|
38
38
|
level,
|
|
39
39
|
className,
|
|
40
40
|
children
|
|
41
|
-
}: TitleProps) =>
|
|
41
|
+
}: TitleProps) => react_jsx_runtime197.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { Title, TitleProps };
|
|
44
44
|
//# sourceMappingURL=title.d.cts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime33 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/typography/title.d.ts
|
|
5
5
|
type TitleProps = {
|
|
@@ -38,7 +38,7 @@ declare const Title: ({
|
|
|
38
38
|
level,
|
|
39
39
|
className,
|
|
40
40
|
children
|
|
41
|
-
}: TitleProps) =>
|
|
41
|
+
}: TitleProps) => react_jsx_runtime33.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { Title, TitleProps };
|
|
44
44
|
//# sourceMappingURL=title.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime69 from "react/jsx-runtime";
|
|
2
2
|
import { AlertDialog as AlertDialog$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/alert-dialog.d.ts
|
|
@@ -36,55 +36,55 @@ import { AlertDialog as AlertDialog$1 } from "radix-ui";
|
|
|
36
36
|
*/
|
|
37
37
|
declare function AlertDialog({
|
|
38
38
|
...props
|
|
39
|
-
}: React.ComponentProps<typeof AlertDialog$1.Root>):
|
|
39
|
+
}: React.ComponentProps<typeof AlertDialog$1.Root>): react_jsx_runtime69.JSX.Element;
|
|
40
40
|
/** Element that opens the alert dialog when clicked; typically wrapped with `asChild` around a `Button`. */
|
|
41
41
|
declare function AlertDialogTrigger({
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<typeof AlertDialog$1.Trigger>):
|
|
43
|
+
}: React.ComponentProps<typeof AlertDialog$1.Trigger>): react_jsx_runtime69.JSX.Element;
|
|
44
44
|
/** Renders alert dialog overlay and content into a portal outside the normal React tree. */
|
|
45
45
|
declare function AlertDialogPortal({
|
|
46
46
|
...props
|
|
47
|
-
}: React.ComponentProps<typeof AlertDialog$1.Portal>):
|
|
47
|
+
}: React.ComponentProps<typeof AlertDialog$1.Portal>): react_jsx_runtime69.JSX.Element;
|
|
48
48
|
/** Semi-transparent backdrop rendered behind the alert dialog panel; pointer events are disabled to prevent accidental dismissal. */
|
|
49
49
|
declare function AlertDialogOverlay({
|
|
50
50
|
className,
|
|
51
51
|
...props
|
|
52
|
-
}: React.ComponentProps<typeof AlertDialog$1.Overlay>):
|
|
52
|
+
}: React.ComponentProps<typeof AlertDialog$1.Overlay>): react_jsx_runtime69.JSX.Element;
|
|
53
53
|
/** Animated panel that contains the alert dialog body; renders via `AlertDialogPortal` over `AlertDialogOverlay`. */
|
|
54
54
|
declare function AlertDialogContent({
|
|
55
55
|
className,
|
|
56
56
|
...props
|
|
57
|
-
}: React.ComponentProps<typeof AlertDialog$1.Content>):
|
|
57
|
+
}: React.ComponentProps<typeof AlertDialog$1.Content>): react_jsx_runtime69.JSX.Element;
|
|
58
58
|
/** Layout wrapper for the alert dialog title and description. */
|
|
59
59
|
declare function AlertDialogHeader({
|
|
60
60
|
className,
|
|
61
61
|
...props
|
|
62
|
-
}: React.ComponentProps<'div'>):
|
|
62
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime69.JSX.Element;
|
|
63
63
|
/** Layout wrapper for the cancel and action buttons at the bottom of the alert dialog. */
|
|
64
64
|
declare function AlertDialogFooter({
|
|
65
65
|
className,
|
|
66
66
|
...props
|
|
67
|
-
}: React.ComponentProps<'div'>):
|
|
67
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime69.JSX.Element;
|
|
68
68
|
/** Accessible heading for the alert dialog, styled with the h3 heading variant. */
|
|
69
69
|
declare function AlertDialogTitle({
|
|
70
70
|
className,
|
|
71
71
|
...props
|
|
72
|
-
}: React.ComponentProps<typeof AlertDialog$1.Title>):
|
|
72
|
+
}: React.ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime69.JSX.Element;
|
|
73
73
|
/** Muted supporting text that explains the consequences of the destructive action. */
|
|
74
74
|
declare function AlertDialogDescription({
|
|
75
75
|
className,
|
|
76
76
|
...props
|
|
77
|
-
}: React.ComponentProps<typeof AlertDialog$1.Description>):
|
|
77
|
+
}: React.ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime69.JSX.Element;
|
|
78
78
|
/** Confirm button that closes the dialog and proceeds with the action; auto-focused and styled as the primary action. */
|
|
79
79
|
declare function AlertDialogAction({
|
|
80
80
|
className,
|
|
81
81
|
...props
|
|
82
|
-
}: React.ComponentProps<typeof AlertDialog$1.Action>):
|
|
82
|
+
}: React.ComponentProps<typeof AlertDialog$1.Action>): react_jsx_runtime69.JSX.Element;
|
|
83
83
|
/** Cancel button that closes the alert dialog without performing the destructive action. */
|
|
84
84
|
declare function AlertDialogCancel({
|
|
85
85
|
className,
|
|
86
86
|
...props
|
|
87
|
-
}: React.ComponentProps<typeof AlertDialog$1.Cancel>):
|
|
87
|
+
}: React.ComponentProps<typeof AlertDialog$1.Cancel>): react_jsx_runtime69.JSX.Element;
|
|
88
88
|
//#endregion
|
|
89
89
|
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
|
90
90
|
//# sourceMappingURL=alert-dialog.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime46 from "react/jsx-runtime";
|
|
2
2
|
import { AlertDialog as AlertDialog$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/alert-dialog.d.ts
|
|
@@ -36,55 +36,55 @@ import { AlertDialog as AlertDialog$1 } from "radix-ui";
|
|
|
36
36
|
*/
|
|
37
37
|
declare function AlertDialog({
|
|
38
38
|
...props
|
|
39
|
-
}: React.ComponentProps<typeof AlertDialog$1.Root>):
|
|
39
|
+
}: React.ComponentProps<typeof AlertDialog$1.Root>): react_jsx_runtime46.JSX.Element;
|
|
40
40
|
/** Element that opens the alert dialog when clicked; typically wrapped with `asChild` around a `Button`. */
|
|
41
41
|
declare function AlertDialogTrigger({
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<typeof AlertDialog$1.Trigger>):
|
|
43
|
+
}: React.ComponentProps<typeof AlertDialog$1.Trigger>): react_jsx_runtime46.JSX.Element;
|
|
44
44
|
/** Renders alert dialog overlay and content into a portal outside the normal React tree. */
|
|
45
45
|
declare function AlertDialogPortal({
|
|
46
46
|
...props
|
|
47
|
-
}: React.ComponentProps<typeof AlertDialog$1.Portal>):
|
|
47
|
+
}: React.ComponentProps<typeof AlertDialog$1.Portal>): react_jsx_runtime46.JSX.Element;
|
|
48
48
|
/** Semi-transparent backdrop rendered behind the alert dialog panel; pointer events are disabled to prevent accidental dismissal. */
|
|
49
49
|
declare function AlertDialogOverlay({
|
|
50
50
|
className,
|
|
51
51
|
...props
|
|
52
|
-
}: React.ComponentProps<typeof AlertDialog$1.Overlay>):
|
|
52
|
+
}: React.ComponentProps<typeof AlertDialog$1.Overlay>): react_jsx_runtime46.JSX.Element;
|
|
53
53
|
/** Animated panel that contains the alert dialog body; renders via `AlertDialogPortal` over `AlertDialogOverlay`. */
|
|
54
54
|
declare function AlertDialogContent({
|
|
55
55
|
className,
|
|
56
56
|
...props
|
|
57
|
-
}: React.ComponentProps<typeof AlertDialog$1.Content>):
|
|
57
|
+
}: React.ComponentProps<typeof AlertDialog$1.Content>): react_jsx_runtime46.JSX.Element;
|
|
58
58
|
/** Layout wrapper for the alert dialog title and description. */
|
|
59
59
|
declare function AlertDialogHeader({
|
|
60
60
|
className,
|
|
61
61
|
...props
|
|
62
|
-
}: React.ComponentProps<'div'>):
|
|
62
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime46.JSX.Element;
|
|
63
63
|
/** Layout wrapper for the cancel and action buttons at the bottom of the alert dialog. */
|
|
64
64
|
declare function AlertDialogFooter({
|
|
65
65
|
className,
|
|
66
66
|
...props
|
|
67
|
-
}: React.ComponentProps<'div'>):
|
|
67
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime46.JSX.Element;
|
|
68
68
|
/** Accessible heading for the alert dialog, styled with the h3 heading variant. */
|
|
69
69
|
declare function AlertDialogTitle({
|
|
70
70
|
className,
|
|
71
71
|
...props
|
|
72
|
-
}: React.ComponentProps<typeof AlertDialog$1.Title>):
|
|
72
|
+
}: React.ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime46.JSX.Element;
|
|
73
73
|
/** Muted supporting text that explains the consequences of the destructive action. */
|
|
74
74
|
declare function AlertDialogDescription({
|
|
75
75
|
className,
|
|
76
76
|
...props
|
|
77
|
-
}: React.ComponentProps<typeof AlertDialog$1.Description>):
|
|
77
|
+
}: React.ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime46.JSX.Element;
|
|
78
78
|
/** Confirm button that closes the dialog and proceeds with the action; auto-focused and styled as the primary action. */
|
|
79
79
|
declare function AlertDialogAction({
|
|
80
80
|
className,
|
|
81
81
|
...props
|
|
82
|
-
}: React.ComponentProps<typeof AlertDialog$1.Action>):
|
|
82
|
+
}: React.ComponentProps<typeof AlertDialog$1.Action>): react_jsx_runtime46.JSX.Element;
|
|
83
83
|
/** Cancel button that closes the alert dialog without performing the destructive action. */
|
|
84
84
|
declare function AlertDialogCancel({
|
|
85
85
|
className,
|
|
86
86
|
...props
|
|
87
|
-
}: React.ComponentProps<typeof AlertDialog$1.Cancel>):
|
|
87
|
+
}: React.ComponentProps<typeof AlertDialog$1.Cancel>): react_jsx_runtime46.JSX.Element;
|
|
88
88
|
//#endregion
|
|
89
89
|
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
|
90
90
|
//# sourceMappingURL=alert-dialog.d.mts.map
|
package/dist/ui/alert.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";const e=require(`../alert-
|
|
1
|
+
"use client";const e=require(`../alert-BqJVf4wD.cjs`);exports.Alert=e.t,exports.AlertDescription=e.n,exports.AlertTitle=e.r;
|
package/dist/ui/alert.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as AlertTitle, i as AlertProps, n as AlertDescription, o as AlertTitleProps, r as AlertDescriptionProps, t as Alert } from "../alert-
|
|
1
|
+
import { a as AlertTitle, i as AlertProps, n as AlertDescription, o as AlertTitleProps, r as AlertDescriptionProps, t as Alert } from "../alert-W_Q1Gsld.cjs";
|
|
2
2
|
export { Alert, AlertDescription, AlertDescriptionProps, AlertProps, AlertTitle, AlertTitleProps };
|
package/dist/ui/alert.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as AlertTitle, i as AlertProps, n as AlertDescription, o as AlertTitleProps, r as AlertDescriptionProps, t as Alert } from "../alert-
|
|
1
|
+
import { a as AlertTitle, i as AlertProps, n as AlertDescription, o as AlertTitleProps, r as AlertDescriptionProps, t as Alert } from "../alert-D3OOxNtK.mjs";
|
|
2
2
|
export { Alert, AlertDescription, AlertDescriptionProps, AlertProps, AlertTitle, AlertTitleProps };
|
package/dist/ui/alert.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{n as e,r as t,t as n}from"../alert-
|
|
1
|
+
"use client";import{n as e,r as t,t as n}from"../alert-DQHE-pdI.mjs";export{n as Alert,e as AlertDescription,t as AlertTitle};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime49 from "react/jsx-runtime";
|
|
2
2
|
import { AspectRatio as AspectRatio$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/aspect-ratio.d.ts
|
|
@@ -18,7 +18,7 @@ import { AspectRatio as AspectRatio$1 } from "radix-ui";
|
|
|
18
18
|
declare function AspectRatio({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof AspectRatio$1.Root>):
|
|
21
|
+
}: React.ComponentProps<typeof AspectRatio$1.Root>): react_jsx_runtime49.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { AspectRatio };
|
|
24
24
|
//# sourceMappingURL=aspect-ratio.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
2
2
|
import { AspectRatio as AspectRatio$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/aspect-ratio.d.ts
|
|
@@ -18,7 +18,7 @@ import { AspectRatio as AspectRatio$1 } from "radix-ui";
|
|
|
18
18
|
declare function AspectRatio({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof AspectRatio$1.Root>):
|
|
21
|
+
}: React.ComponentProps<typeof AspectRatio$1.Root>): react_jsx_runtime7.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { AspectRatio };
|
|
24
24
|
//# sourceMappingURL=aspect-ratio.d.mts.map
|
package/dist/ui/avatar.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
2
2
|
import { Avatar as Avatar$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/avatar.d.ts
|
|
@@ -19,17 +19,17 @@ import { Avatar as Avatar$1 } from "radix-ui";
|
|
|
19
19
|
declare function Avatar({
|
|
20
20
|
className,
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<typeof Avatar$1.Root>):
|
|
22
|
+
}: React.ComponentProps<typeof Avatar$1.Root>): react_jsx_runtime24.JSX.Element;
|
|
23
23
|
/** The avatar photo; hidden automatically by Radix UI when the image fails to load, revealing `AvatarFallback`. */
|
|
24
24
|
declare function AvatarImage({
|
|
25
25
|
className,
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof Avatar$1.Image>):
|
|
27
|
+
}: React.ComponentProps<typeof Avatar$1.Image>): react_jsx_runtime24.JSX.Element;
|
|
28
28
|
/** Fallback content (e.g. initials) displayed inside the avatar when the image is unavailable or still loading. */
|
|
29
29
|
declare function AvatarFallback({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<typeof Avatar$1.Fallback>):
|
|
32
|
+
}: React.ComponentProps<typeof Avatar$1.Fallback>): react_jsx_runtime24.JSX.Element;
|
|
33
33
|
//#endregion
|
|
34
34
|
export { Avatar, AvatarFallback, AvatarImage };
|
|
35
35
|
//# sourceMappingURL=avatar.d.cts.map
|
package/dist/ui/avatar.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime34 from "react/jsx-runtime";
|
|
2
2
|
import { Avatar as Avatar$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/avatar.d.ts
|
|
@@ -19,17 +19,17 @@ import { Avatar as Avatar$1 } from "radix-ui";
|
|
|
19
19
|
declare function Avatar({
|
|
20
20
|
className,
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<typeof Avatar$1.Root>):
|
|
22
|
+
}: React.ComponentProps<typeof Avatar$1.Root>): react_jsx_runtime34.JSX.Element;
|
|
23
23
|
/** The avatar photo; hidden automatically by Radix UI when the image fails to load, revealing `AvatarFallback`. */
|
|
24
24
|
declare function AvatarImage({
|
|
25
25
|
className,
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof Avatar$1.Image>):
|
|
27
|
+
}: React.ComponentProps<typeof Avatar$1.Image>): react_jsx_runtime34.JSX.Element;
|
|
28
28
|
/** Fallback content (e.g. initials) displayed inside the avatar when the image is unavailable or still loading. */
|
|
29
29
|
declare function AvatarFallback({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<typeof Avatar$1.Fallback>):
|
|
32
|
+
}: React.ComponentProps<typeof Avatar$1.Fallback>): react_jsx_runtime34.JSX.Element;
|
|
33
33
|
//#endregion
|
|
34
34
|
export { Avatar, AvatarFallback, AvatarImage };
|
|
35
35
|
//# sourceMappingURL=avatar.d.mts.map
|
package/dist/ui/badge.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as BadgeProps, r as badgeVariants, t as Badge } from "../badge-
|
|
1
|
+
import { n as BadgeProps, r as badgeVariants, t as Badge } from "../badge-Dm1IEgtT.cjs";
|
|
2
2
|
export { Badge, BadgeProps, badgeVariants };
|
package/dist/ui/badge.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as BadgeProps, r as badgeVariants, t as Badge } from "../badge-
|
|
1
|
+
import { n as BadgeProps, r as badgeVariants, t as Badge } from "../badge-YFen8D8o.mjs";
|
|
2
2
|
export { Badge, BadgeProps, badgeVariants };
|
package/dist/ui/breadcrumb.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime42 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/ui/breadcrumb.d.ts
|
|
4
4
|
|
|
@@ -28,17 +28,17 @@ import * as react_jsx_runtime55 from "react/jsx-runtime";
|
|
|
28
28
|
declare function Breadcrumb({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<'nav'>):
|
|
31
|
+
}: React.ComponentProps<'nav'>): react_jsx_runtime42.JSX.Element;
|
|
32
32
|
/** Ordered list `<ol>` container that lays out breadcrumb items horizontally with wrapping. */
|
|
33
33
|
declare function BreadcrumbList({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<'ol'>):
|
|
36
|
+
}: React.ComponentProps<'ol'>): react_jsx_runtime42.JSX.Element;
|
|
37
37
|
/** Individual `<li>` item wrapper inside a BreadcrumbList. */
|
|
38
38
|
declare function BreadcrumbItem({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<'li'>):
|
|
41
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime42.JSX.Element;
|
|
42
42
|
/**
|
|
43
43
|
* Interactive anchor link for non-current breadcrumb segments; supports `asChild` for custom routing.
|
|
44
44
|
*
|
|
@@ -50,23 +50,23 @@ declare function BreadcrumbLink({
|
|
|
50
50
|
...props
|
|
51
51
|
}: React.ComponentProps<'a'> & {
|
|
52
52
|
asChild?: boolean;
|
|
53
|
-
}):
|
|
53
|
+
}): react_jsx_runtime42.JSX.Element;
|
|
54
54
|
/** Non-interactive span representing the current page; sets `aria-current="page"`. */
|
|
55
55
|
declare function BreadcrumbPage({
|
|
56
56
|
className,
|
|
57
57
|
...props
|
|
58
|
-
}: React.ComponentProps<'span'>):
|
|
58
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime42.JSX.Element;
|
|
59
59
|
/** Visual separator `<li>` rendered between breadcrumb items; defaults to a right chevron icon. */
|
|
60
60
|
declare function BreadcrumbSeparator({
|
|
61
61
|
children,
|
|
62
62
|
className,
|
|
63
63
|
...props
|
|
64
|
-
}: React.ComponentProps<'li'>):
|
|
64
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime42.JSX.Element;
|
|
65
65
|
/** Button that represents collapsed breadcrumb segments with an ellipsis icon. */
|
|
66
66
|
declare function BreadcrumbEllipsis({
|
|
67
67
|
className,
|
|
68
68
|
...props
|
|
69
|
-
}: React.ComponentProps<'button'>):
|
|
69
|
+
}: React.ComponentProps<'button'>): react_jsx_runtime42.JSX.Element;
|
|
70
70
|
//#endregion
|
|
71
71
|
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
72
72
|
//# sourceMappingURL=breadcrumb.d.cts.map
|
package/dist/ui/breadcrumb.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime38 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/ui/breadcrumb.d.ts
|
|
4
4
|
|
|
@@ -28,17 +28,17 @@ import * as react_jsx_runtime55 from "react/jsx-runtime";
|
|
|
28
28
|
declare function Breadcrumb({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<'nav'>):
|
|
31
|
+
}: React.ComponentProps<'nav'>): react_jsx_runtime38.JSX.Element;
|
|
32
32
|
/** Ordered list `<ol>` container that lays out breadcrumb items horizontally with wrapping. */
|
|
33
33
|
declare function BreadcrumbList({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<'ol'>):
|
|
36
|
+
}: React.ComponentProps<'ol'>): react_jsx_runtime38.JSX.Element;
|
|
37
37
|
/** Individual `<li>` item wrapper inside a BreadcrumbList. */
|
|
38
38
|
declare function BreadcrumbItem({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<'li'>):
|
|
41
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime38.JSX.Element;
|
|
42
42
|
/**
|
|
43
43
|
* Interactive anchor link for non-current breadcrumb segments; supports `asChild` for custom routing.
|
|
44
44
|
*
|
|
@@ -50,23 +50,23 @@ declare function BreadcrumbLink({
|
|
|
50
50
|
...props
|
|
51
51
|
}: React.ComponentProps<'a'> & {
|
|
52
52
|
asChild?: boolean;
|
|
53
|
-
}):
|
|
53
|
+
}): react_jsx_runtime38.JSX.Element;
|
|
54
54
|
/** Non-interactive span representing the current page; sets `aria-current="page"`. */
|
|
55
55
|
declare function BreadcrumbPage({
|
|
56
56
|
className,
|
|
57
57
|
...props
|
|
58
|
-
}: React.ComponentProps<'span'>):
|
|
58
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime38.JSX.Element;
|
|
59
59
|
/** Visual separator `<li>` rendered between breadcrumb items; defaults to a right chevron icon. */
|
|
60
60
|
declare function BreadcrumbSeparator({
|
|
61
61
|
children,
|
|
62
62
|
className,
|
|
63
63
|
...props
|
|
64
|
-
}: React.ComponentProps<'li'>):
|
|
64
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime38.JSX.Element;
|
|
65
65
|
/** Button that represents collapsed breadcrumb segments with an ellipsis icon. */
|
|
66
66
|
declare function BreadcrumbEllipsis({
|
|
67
67
|
className,
|
|
68
68
|
...props
|
|
69
|
-
}: React.ComponentProps<'button'>):
|
|
69
|
+
}: React.ComponentProps<'button'>): react_jsx_runtime38.JSX.Element;
|
|
70
70
|
//#endregion
|
|
71
71
|
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
72
72
|
//# sourceMappingURL=breadcrumb.d.mts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Separator } from "./separator.cjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime28 from "react/jsx-runtime";
|
|
3
|
+
import * as class_variance_authority_types2 from "class-variance-authority/types";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
|
|
6
6
|
//#region packages/components/ui/button-group.d.ts
|
|
7
7
|
declare const buttonGroupVariants: (props?: ({
|
|
8
8
|
orientation?: "vertical" | "horizontal" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
10
10
|
/**
|
|
11
11
|
* Groups buttons (or inputs) into a visually connected row or column by removing the border radii on adjacent sides.
|
|
12
12
|
*
|
|
@@ -26,7 +26,7 @@ declare function ButtonGroup({
|
|
|
26
26
|
className,
|
|
27
27
|
orientation,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>):
|
|
29
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime28.JSX.Element;
|
|
30
30
|
/**
|
|
31
31
|
* A static text or icon addon rendered inside a ButtonGroup with muted background styling.
|
|
32
32
|
*
|
|
@@ -38,13 +38,13 @@ declare function ButtonGroupText({
|
|
|
38
38
|
...props
|
|
39
39
|
}: React.ComponentProps<'div'> & {
|
|
40
40
|
asChild?: boolean;
|
|
41
|
-
}):
|
|
41
|
+
}): react_jsx_runtime28.JSX.Element;
|
|
42
42
|
/** A visual Separator rendered between items inside a ButtonGroup. */
|
|
43
43
|
declare function ButtonGroupSeparator({
|
|
44
44
|
className,
|
|
45
45
|
orientation,
|
|
46
46
|
...props
|
|
47
|
-
}: React.ComponentProps<typeof Separator>):
|
|
47
|
+
}: React.ComponentProps<typeof Separator>): react_jsx_runtime28.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants };
|
|
50
50
|
//# sourceMappingURL=button-group.d.cts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Separator } from "./separator.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime109 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types2 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region packages/components/ui/button-group.d.ts
|
|
7
7
|
declare const buttonGroupVariants: (props?: ({
|
|
8
8
|
orientation?: "vertical" | "horizontal" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
10
10
|
/**
|
|
11
11
|
* Groups buttons (or inputs) into a visually connected row or column by removing the border radii on adjacent sides.
|
|
12
12
|
*
|
|
@@ -26,7 +26,7 @@ declare function ButtonGroup({
|
|
|
26
26
|
className,
|
|
27
27
|
orientation,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>):
|
|
29
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime109.JSX.Element;
|
|
30
30
|
/**
|
|
31
31
|
* A static text or icon addon rendered inside a ButtonGroup with muted background styling.
|
|
32
32
|
*
|
|
@@ -38,13 +38,13 @@ declare function ButtonGroupText({
|
|
|
38
38
|
...props
|
|
39
39
|
}: React.ComponentProps<'div'> & {
|
|
40
40
|
asChild?: boolean;
|
|
41
|
-
}):
|
|
41
|
+
}): react_jsx_runtime109.JSX.Element;
|
|
42
42
|
/** A visual Separator rendered between items inside a ButtonGroup. */
|
|
43
43
|
declare function ButtonGroupSeparator({
|
|
44
44
|
className,
|
|
45
45
|
orientation,
|
|
46
46
|
...props
|
|
47
|
-
}: React.ComponentProps<typeof Separator>):
|
|
47
|
+
}: React.ComponentProps<typeof Separator>): react_jsx_runtime109.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants };
|
|
50
50
|
//# sourceMappingURL=button-group.d.mts.map
|
package/dist/ui/button.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ButtonProps, t as Button } from "../button-
|
|
1
|
+
import { n as ButtonProps, t as Button } from "../button-Ckjev2AT.cjs";
|
|
2
2
|
export { Button, ButtonProps };
|
package/dist/ui/button.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ButtonProps, t as Button } from "../button-
|
|
1
|
+
import { n as ButtonProps, t as Button } from "../button-BnbtzQAN.mjs";
|
|
2
2
|
export { Button, ButtonProps };
|
package/dist/ui/calendar.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";require(`../button.variants-tnhb123u.cjs`),require(`../button-CwDT3m4m.cjs`);const e=require(`../calendar-
|
|
1
|
+
"use client";require(`../button.variants-tnhb123u.cjs`),require(`../button-CwDT3m4m.cjs`);const e=require(`../calendar-B2V4Lv0T.cjs`);exports.Calendar=e.t,exports.CalendarDayButton=e.n;
|