brutx-ui-vue 0.11.0 → 0.11.2
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/chunks/{AccordionContent-B1se0x_F.js → AccordionContent-C9tW6PDy.js} +5 -5
- package/dist/chunks/{AlertDescription-e89Vdfr2.js → AlertDescription-BR_jCFgj.js} +2 -2
- package/dist/chunks/{AlertDialogCancel-BfC0XyWz.js → AlertDialogCancel-Bdt7YkND.js} +5 -5
- package/dist/chunks/{AuthCard-CleLuF6u.js → AuthCard-BcptCryR.js} +7 -7
- package/dist/chunks/{AvatarFallback-BN4lqh-M.js → AvatarFallback-Hxv0LRzl.js} +26 -14
- package/dist/chunks/{Backtop-H2U3agZw.js → Backtop-Cyb38H7B.js} +2 -2
- package/dist/chunks/{Badge-B9MaLVHg.js → Badge-uKEgezej.js} +1 -1
- package/dist/chunks/{BarsSpinner-C_D4I26T.js → BarsSpinner-5JsVaMwW.js} +10 -10
- package/dist/chunks/{BeforeAfter-Zdb2cxTu.js → BeforeAfter-Dx5ryAVA.js} +1 -1
- package/dist/chunks/{BreadcrumbEllipsis-DuXMZnXR.js → BreadcrumbEllipsis-cmtON2fM.js} +14 -5
- package/dist/chunks/BrutalShape-hc5O51hA.js +166 -0
- package/dist/chunks/BrutalistHero-9buAiF2v.js +96 -0
- package/dist/chunks/{Button-B8PYG-6t.js → Button-CGM96-hx.js} +6 -4
- package/dist/chunks/{Card-BAfbUusz.js → Card-BC4kGoYn.js} +19 -4
- package/dist/chunks/{Card3D-D435SmNb.js → Card3D-CRtEEg6z.js} +2 -2
- package/dist/chunks/{CardContent-0BhL1fWX.js → CardContent-CcVsOs9t.js} +1 -1
- package/dist/chunks/{CardFooter--OaW7mi2.js → CardFooter-kc_I65JQ.js} +1 -1
- package/dist/chunks/CardWindowHeader-BqgZ3ZVz.js +182 -0
- package/dist/chunks/{Cascader-CDJ_x0Ur.js → Cascader-VePT9EWU.js} +7 -7
- package/dist/chunks/{ChatContainer-0szl5Z5G.js → ChatContainer-BOh84Ft0.js} +1 -1
- package/dist/chunks/{Checkbox-CZA6OjLB.js → Checkbox-KXx3zXRc.js} +2 -2
- package/dist/chunks/{ColorModeSwitcher-CHCSZ7Bt.js → ColorModeSwitcher-dc0nrNxi.js} +2 -2
- package/dist/chunks/{ColorPicker-DbHnKXeh.js → ColorPicker-Jp52HQeO.js} +5 -5
- package/dist/chunks/{Combobox-DTgqSLOG.js → Combobox-DtmVCnSw.js} +5 -5
- package/dist/chunks/{CommandItem-Y_2LvXeN.js → CommandItem-M6J1Tng2.js} +2 -2
- package/dist/chunks/{CommandShortcut-B2fj6ptt.js → CommandShortcut-BUWloaqp.js} +4 -4
- package/dist/chunks/{CookieConsent-BI7PUK7F.js → CookieConsent-Bwur9wu4.js} +5 -5
- package/dist/chunks/{CopyToClipboard-CQ7nQgcO.js → CopyToClipboard-DKJD90yd.js} +5 -5
- package/dist/chunks/{Counter-W3Zdci8S.js → Counter-CeAVMT0k.js} +1 -1
- package/dist/chunks/{DashboardShell-DSZtFpg6.js → DashboardShell-CKfqrffC.js} +2 -2
- package/dist/chunks/{DataTable-Bd3hVs4L.js → DataTable-bO41P-M4.js} +13 -12
- package/dist/chunks/{DescriptionsItem-KG-wVeoD.js → DescriptionsItem-dURkccoS.js} +16 -13
- package/dist/chunks/{DialogContent-UUoTRwH9.js → DialogContent-3v71GFJQ.js} +7 -3
- package/dist/chunks/{DialogDescription-BTd6-NYK.js → DialogDescription-DC_jCY6m.js} +31 -15
- package/dist/chunks/{DropdownMenuSubContent-DexKyrIY.js → DropdownMenuSubContent-DbcwEhXv.js} +5 -5
- package/dist/chunks/{FeedbackForm-DvQ10REH.js → FeedbackForm-jI8rg5ah.js} +8 -8
- package/dist/chunks/{FooterSection-BKUH5Dr1.js → FooterSection-Bc7lcq66.js} +3 -3
- package/dist/chunks/{GlitchText-BQd-XuQ5.js → GlitchText-D4tukPjj.js} +3 -3
- package/dist/chunks/{HardcoreInput-B96a9pLo.js → HardcoreInput-BLi1ZXp4.js} +7 -7
- package/dist/chunks/{HeaderSection-DDDsCRSS.js → HeaderSection-C1NYtrQj.js} +4 -4
- package/dist/chunks/{Image-CzG1AClO.js → Image-B1rLR0Wi.js} +3 -3
- package/dist/chunks/ImageCard-Pl6ZXJBO.js +76 -0
- package/dist/chunks/Input-DkKWbZN4.js +228 -0
- package/dist/chunks/{KanbanBoard-CVx7Nkav.js → KanbanBoard-zGs5NE7e.js} +3 -3
- package/dist/chunks/{Kbd-DYK-QVFu.js → Kbd-CsPLexx2.js} +7 -2
- package/dist/chunks/{Label-D7NB9dUY.js → Label-C6vuSJRy.js} +1 -1
- package/dist/chunks/{Loading-lh3mGucN.js → Loading-BMVI7yd3.js} +6 -6
- package/dist/chunks/{Marquee-CbLd-FU7.js → Marquee-C5Pw3y7e.js} +1 -1
- package/dist/chunks/{NoiseBackground-qan57Ddz.js → NoiseBackground-DqQQUf0h.js} +1 -1
- package/dist/chunks/NumberInput-BkYc3IuR.js +201 -0
- package/dist/chunks/{Pagination-DxgkCSSW.js → Pagination-Dqg2iAd-.js} +7 -7
- package/dist/chunks/{Popconfirm-CZR5IkZi.js → Popconfirm-SEKjO4mr.js} +2 -2
- package/dist/chunks/{PopoverContent-CPP6Aeno.js → PopoverContent-vW2SlxyY.js} +4 -4
- package/dist/chunks/PricingSection-DRSPaJu6.js +251 -0
- package/dist/chunks/{Progress-C2e41eb7.js → Progress-C31ZG2Uq.js} +25 -11
- package/dist/chunks/{RadioGroupItem-C_Cues_X.js → RadioGroupItem-DdlZcIbk.js} +3 -3
- package/dist/chunks/Rate-Brs6Vwy4.js +117 -0
- package/dist/chunks/{Result-CHYvhGNR.js → Result-D8tVoGCq.js} +1 -1
- package/dist/chunks/{ScratchCard-OsWOKxjm.js → ScratchCard-nJDV3QKn.js} +1 -1
- package/dist/chunks/{ScrollArea-BD0l2rph.js → ScrollArea-BRrZB6yV.js} +6 -2
- package/dist/chunks/{SelectItem-BG13SayC.js → SelectItem-r5KZ8jb4.js} +5 -5
- package/dist/chunks/{SelectSeparator-BV3YNZS9.js → SelectSeparator-DUeCWwE6.js} +2 -2
- package/dist/chunks/{Separator-CYhw6IDd.js → Separator-BDHCGSRk.js} +1 -1
- package/dist/chunks/{SheetDescription-bhhOvEYk.js → SheetDescription-CSmdGydw.js} +3 -3
- package/dist/chunks/{SheetFooter-D84myv0O.js → SheetFooter-BEnZEh5K.js} +2 -2
- package/dist/chunks/Skeleton-B43AcnKW.js +78 -0
- package/dist/chunks/{SkeletonTable-Dm2WVFj0.js → SkeletonTable-Do9OtypF.js} +2 -2
- package/dist/chunks/{SketchyChart-Un3MpZ0w.js → SketchyChart-CQ17cIke.js} +1 -1
- package/dist/chunks/Slider-NYmgsLdA.js +310 -0
- package/dist/chunks/Spinner-DAY06T9Q.js +135 -0
- package/dist/chunks/{Stepper-CxWALwR5.js → Stepper-BiQH2d1R.js} +2 -2
- package/dist/chunks/{SubMenu-W1OCTqZL.js → SubMenu-BYyfr_E7.js} +2 -2
- package/dist/chunks/Switch-BmpGaWoV.js +142 -0
- package/dist/chunks/{TableCaption-Dw0OzXPq.js → TableCaption-BQpDsuFy.js} +20 -5
- package/dist/chunks/{Tabs-Cuw_JqdP.js → Tabs-CZLwmjqI.js} +19 -9
- package/dist/chunks/{TagsInputItemDelete-Cy50xVwK.js → TagsInputItemDelete-DFZeTg4c.js} +7 -3
- package/dist/chunks/{Textarea-DpFyyuuT.js → Textarea-hmOrSMjU.js} +1 -1
- package/dist/chunks/{TimelineContent-budWkL9k.js → TimelineContent-DPocg1uu.js} +7 -3
- package/dist/chunks/{ToastContainer-CNzHc-_U.js → ToastContainer-CaIQGtmK.js} +4 -4
- package/dist/chunks/{Toggle-CjHViQYi.js → Toggle-CUCgCJIP.js} +2 -2
- package/dist/chunks/{ToggleGroupItem-CNJX317q.js → ToggleGroupItem-BDkXSIIt.js} +2 -2
- package/dist/chunks/{TooltipContent-sCNJVfav.js → TooltipContent-Cy1f-kOl.js} +3 -3
- package/dist/chunks/{Tour--a-gSf5p.js → Tour-CzLR2kqC.js} +96 -91
- package/dist/chunks/{Transfer-BUgKrlKI.js → Transfer-Bp9Mgm7a.js} +5 -5
- package/dist/chunks/{TreeSelect-BF-m-muB.js → TreeSelect-K3vcg4_c.js} +5 -5
- package/dist/chunks/{TreeView-COIVJUPv.js → TreeView-B6m3fgKf.js} +4 -4
- package/dist/chunks/{TypewriterText-CBZ-nalq.js → TypewriterText-D4_d1Y9b.js} +1 -1
- package/dist/chunks/{UploadFileList-Bf_hN8E_.js → UploadFileList-CxQMFlhZ.js} +15 -10
- package/dist/chunks/{VirtualScroll-DCTsVhTE.js → VirtualScroll-CajvU5F_.js} +1 -1
- package/dist/chunks/{Watermark-Ct5tVnYX.js → Watermark-OmIUspf_.js} +64 -31
- package/dist/chunks/brutal-interaction-variants-V8gdaai1.js +4 -0
- package/dist/chunks/{button-variants-E49JLfSf.js → button-variants-6Q5uxqtu.js} +30 -18
- package/dist/chunks/calendar-Dv3jAbPm.js +180 -0
- package/dist/chunks/{carousel-DJOB8Mez.js → carousel-BL3sCkkc.js} +3 -3
- package/dist/chunks/{code-block-Csc5RciY.js → code-block-Df6z4cTJ.js} +3 -3
- package/dist/chunks/{date-picker-CL-zVV0W.js → date-picker-CR4aoLFK.js} +5 -5
- package/dist/chunks/defaults-kSu-7Pjp.js +10 -0
- package/dist/chunks/{floating-animation-classes-OJbzqUCJ.js → floating-animation-classes-BHymGEns.js} +1 -1
- package/dist/chunks/{floating-content-variants-Do0-Ltxm.js → floating-content-variants-ChGOQJEq.js} +1 -1
- package/dist/chunks/{form-BGDozAPe.js → form-B6H0hcva.js} +4 -4
- package/dist/chunks/{form-toggle-base-Bsns3-pF.js → form-toggle-base-BDOIpDqR.js} +2 -2
- package/dist/chunks/{functional-QZRTPDVg.js → functional-B7HxNtfn.js} +7 -7
- package/dist/chunks/{functional-06TfBHbB.js → functional-DhuTogui.js} +84 -69
- package/dist/chunks/{locales-BrMe4E0y.js → locales-B7zBvRHk.js} +8 -0
- package/dist/chunks/{modal-variants-BHsn3SLO.js → modal-variants-CaSmbJiU.js} +3 -3
- package/dist/chunks/render-imperative-BXsHokVt.js +119 -0
- package/dist/chunks/shared-input-variants-Dh1Jiqmh.js +38 -0
- package/dist/chunks/src-D13yJQCT.js +1091 -0
- package/dist/chunks/{toggle-variants-BT2qqJqY.js → toggle-variants-B6Mmnf_A.js} +7 -7
- package/dist/chunks/{tree-variants-C_ABk4-H.js → tree-variants-aqm6KyxO.js} +1 -1
- package/dist/chunks/{useInfiniteScroll-DdDWV7mk.js → useInfiniteScroll-BvAvMjMr.js} +1 -1
- package/dist/chunks/useMessage-BOQWIy8o.js +169 -0
- package/dist/chunks/utils-CLyG8Lfg.js +35 -0
- package/dist/chunks/z-index-CZgFfRb1.js +19 -0
- package/dist/chunks/{zh-CN-B7I-jgQH.js → zh-CN-DET4kTta.js} +8 -0
- package/dist/components/accordion/accordion-variants.d.ts.map +1 -1
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/alert/Alert.vue.d.ts.map +1 -1
- package/dist/components/alert/alert-variants.d.ts +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/alert-dialog/index.js +1 -1
- package/dist/components/auth-card/AuthCard.vue.d.ts.map +1 -1
- package/dist/components/auth-card/index.js +1 -1
- package/dist/components/avatar/Avatar.vue.d.ts +3 -0
- package/dist/components/avatar/Avatar.vue.d.ts.map +1 -1
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/backtop/Backtop.vue.d.ts.map +1 -1
- package/dist/components/backtop/index.js +1 -1
- package/dist/components/badge/index.js +1 -1
- package/dist/components/before-after/index.js +1 -1
- package/dist/components/breadcrumb/BreadcrumbList.vue.d.ts +3 -0
- package/dist/components/breadcrumb/BreadcrumbList.vue.d.ts.map +1 -1
- package/dist/components/breadcrumb/breadcrumb-variants.d.ts +3 -1
- package/dist/components/breadcrumb/breadcrumb-variants.d.ts.map +1 -1
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/brutal-shape/BrutalShape.vue.d.ts +27 -0
- package/dist/components/brutal-shape/BrutalShape.vue.d.ts.map +1 -0
- package/dist/components/brutal-shape/brutal-shape-variants.d.ts +3 -0
- package/dist/components/brutal-shape/brutal-shape-variants.d.ts.map +1 -0
- package/dist/components/brutal-shape/index.d.ts +10 -0
- package/dist/components/brutal-shape/index.d.ts.map +1 -0
- package/dist/components/brutal-shape/index.js +2 -0
- package/dist/components/brutal-shape/shapes.d.ts +18 -0
- package/dist/components/brutal-shape/shapes.d.ts.map +1 -0
- package/dist/components/brutalist-hero/BrutalistHero.vue.d.ts +2 -2
- package/dist/components/brutalist-hero/BrutalistHero.vue.d.ts.map +1 -1
- package/dist/components/brutalist-hero/index.js +1 -1
- package/dist/components/button/Button.vue.d.ts +6 -2
- package/dist/components/button/Button.vue.d.ts.map +1 -1
- package/dist/components/button/button-variants.d.ts +2 -1
- package/dist/components/button/button-variants.d.ts.map +1 -1
- package/dist/components/button/index.js +3 -3
- package/dist/components/button/shared-button-variants.d.ts +10 -0
- package/dist/components/button/shared-button-variants.d.ts.map +1 -1
- package/dist/components/calendar/Calendar.vue.d.ts +3 -0
- package/dist/components/calendar/Calendar.vue.d.ts.map +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/card/Card.vue.d.ts +6 -0
- package/dist/components/card/Card.vue.d.ts.map +1 -1
- package/dist/components/card/card-variants.d.ts +3 -1
- package/dist/components/card/card-variants.d.ts.map +1 -1
- package/dist/components/card/index.js +3 -3
- package/dist/components/card-3d/index.js +1 -1
- package/dist/components/card-window-header/CardWindowHeader.vue.d.ts +59 -0
- package/dist/components/card-window-header/CardWindowHeader.vue.d.ts.map +1 -0
- package/dist/components/card-window-header/card-window-header-variants.d.ts +12 -0
- package/dist/components/card-window-header/card-window-header-variants.d.ts.map +1 -0
- package/dist/components/card-window-header/index.d.ts +9 -0
- package/dist/components/card-window-header/index.d.ts.map +1 -0
- package/dist/components/card-window-header/index.js +2 -0
- package/dist/components/carousel/Carousel.vue.d.ts.map +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/cascader/Cascader.vue.d.ts +2 -2
- package/dist/components/cascader/Cascader.vue.d.ts.map +1 -1
- package/dist/components/cascader/index.js +1 -1
- package/dist/components/chat-bubble/index.js +1 -1
- package/dist/components/checkbox/Checkbox.vue.d.ts.map +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/code-block/CodeBlock.vue.d.ts.map +1 -1
- package/dist/components/code-block/index.js +1 -1
- package/dist/components/color-mode-switcher/ColorModeSwitcher.vue.d.ts.map +1 -1
- package/dist/components/color-mode-switcher/index.js +1 -1
- package/dist/components/color-picker/ColorPicker.vue.d.ts +1 -1
- package/dist/components/color-picker/ColorPicker.vue.d.ts.map +1 -1
- package/dist/components/color-picker/ColorPickerHistory.vue.d.ts.map +1 -1
- package/dist/components/color-picker/ColorPickerPanel.vue.d.ts.map +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/Combobox.vue.d.ts +2 -2
- package/dist/components/combobox/Combobox.vue.d.ts.map +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/command/CommandDialog.vue.d.ts.map +1 -1
- package/dist/components/command/CommandInput.vue.d.ts +1 -1
- package/dist/components/command/CommandInput.vue.d.ts.map +1 -1
- package/dist/components/command/CommandItem.vue.d.ts.map +1 -1
- package/dist/components/command/index.js +2 -2
- package/dist/components/cookie-consent/CookieConsent.vue.d.ts.map +1 -1
- package/dist/components/cookie-consent/index.js +1 -1
- package/dist/components/copy-to-clipboard/index.js +1 -1
- package/dist/components/counter/Counter.vue.d.ts +2 -2
- package/dist/components/counter/Counter.vue.d.ts.map +1 -1
- package/dist/components/counter/index.js +1 -1
- package/dist/components/dashboard-shell/DashboardShell.vue.d.ts.map +1 -1
- package/dist/components/dashboard-shell/index.js +1 -1
- package/dist/components/data-table/DataTable.vue.d.ts +1 -1
- package/dist/components/data-table/DataTable.vue.d.ts.map +1 -1
- package/dist/components/data-table/DataTableColumnFilter.vue.d.ts.map +1 -1
- package/dist/components/data-table/data-table-variants.d.ts.map +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/date-picker/DatePicker.vue.d.ts +1 -1
- package/dist/components/date-picker/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/date-picker/DatePickerPanel.vue.d.ts.map +1 -1
- package/dist/components/date-picker/DatePickerPanelFooter.vue.d.ts.map +1 -1
- package/dist/components/date-picker/DatePickerRange.vue.d.ts +1 -1
- package/dist/components/date-picker/DatePickerRange.vue.d.ts.map +1 -1
- package/dist/components/date-picker/DatePickerRangePanel.vue.d.ts.map +1 -1
- package/dist/components/date-picker/DateTimePicker.vue.d.ts +1 -1
- package/dist/components/date-picker/DateTimePicker.vue.d.ts.map +1 -1
- package/dist/components/date-picker/DateTimePickerPanel.vue.d.ts.map +1 -1
- package/dist/components/date-picker/MonthPicker.vue.d.ts +1 -1
- package/dist/components/date-picker/MonthPicker.vue.d.ts.map +1 -1
- package/dist/components/date-picker/MonthPickerPanel.vue.d.ts.map +1 -1
- package/dist/components/date-picker/TimePicker.vue.d.ts.map +1 -1
- package/dist/components/date-picker/WeekPicker.vue.d.ts +1 -1
- package/dist/components/date-picker/WeekPicker.vue.d.ts.map +1 -1
- package/dist/components/date-picker/WeekPickerPanel.vue.d.ts.map +1 -1
- package/dist/components/date-picker/YearPicker.vue.d.ts +1 -1
- package/dist/components/date-picker/YearPicker.vue.d.ts.map +1 -1
- package/dist/components/date-picker/YearPickerPanel.vue.d.ts.map +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/descriptions/Descriptions.vue.d.ts +4 -2
- package/dist/components/descriptions/Descriptions.vue.d.ts.map +1 -1
- package/dist/components/descriptions/DescriptionsItem.vue.d.ts.map +1 -1
- package/dist/components/descriptions/index.js +1 -1
- package/dist/components/dialog/DialogContent.vue.d.ts +3 -0
- package/dist/components/dialog/DialogContent.vue.d.ts.map +1 -1
- package/dist/components/dialog/DialogEnhanced.vue.d.ts +1 -1
- package/dist/components/dialog/DialogEnhanced.vue.d.ts.map +1 -1
- package/dist/components/dialog/DialogOverlay.vue.d.ts +3 -0
- package/dist/components/dialog/DialogOverlay.vue.d.ts.map +1 -1
- package/dist/components/dialog/dialog-variants.d.ts +1 -0
- package/dist/components/dialog/dialog-variants.d.ts.map +1 -1
- package/dist/components/dialog/index.js +3 -3
- package/dist/components/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts.map +1 -1
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/feedback-form/FeedbackForm.vue.d.ts +1 -1
- package/dist/components/feedback-form/FeedbackForm.vue.d.ts.map +1 -1
- package/dist/components/feedback-form/index.js +1 -1
- package/dist/components/footer-section/FooterSection.vue.d.ts.map +1 -1
- package/dist/components/footer-section/index.js +1 -1
- package/dist/components/form/FormWizard.vue.d.ts.map +1 -1
- package/dist/components/form/index.js +1 -1
- package/dist/components/glitch-text/index.js +1 -1
- package/dist/components/hardcore-input/HardcoreInput.vue.d.ts +2 -2
- package/dist/components/hardcore-input/HardcoreInput.vue.d.ts.map +1 -1
- package/dist/components/hardcore-input/hardcore-input-variants.d.ts +1 -1
- package/dist/components/hardcore-input/index.js +1 -1
- package/dist/components/header-section/HeaderSection.vue.d.ts.map +1 -1
- package/dist/components/header-section/index.js +1 -1
- package/dist/components/image/index.js +1 -1
- package/dist/components/image-card/ImageCard.vue.d.ts +40 -0
- package/dist/components/image-card/ImageCard.vue.d.ts.map +1 -0
- package/dist/components/image-card/image-card-variants.d.ts +11 -0
- package/dist/components/image-card/image-card-variants.d.ts.map +1 -0
- package/dist/components/image-card/index.d.ts +9 -0
- package/dist/components/image-card/index.d.ts.map +1 -0
- package/dist/components/image-card/index.js +2 -0
- package/dist/components/infinite-scroll/index.js +1 -1
- package/dist/components/input/Input.vue.d.ts +1 -1
- package/dist/components/input/Input.vue.d.ts.map +1 -1
- package/dist/components/input/index.js +2 -2
- package/dist/components/input/input-variants.d.ts +1 -1
- package/dist/components/input/input-variants.d.ts.map +1 -1
- package/dist/components/input/shared-input-variants.d.ts +1 -1
- package/dist/components/input/shared-input-variants.d.ts.map +1 -1
- package/dist/components/kanban/KanbanBoard.vue.d.ts.map +1 -1
- package/dist/components/kanban/index.js +1 -1
- package/dist/components/kbd/index.js +1 -1
- package/dist/components/kbd/kbd-variants.d.ts +1 -1
- package/dist/components/kbd/kbd-variants.d.ts.map +1 -1
- package/dist/components/label/index.js +1 -1
- package/dist/components/loading/Loading.vue.d.ts +1 -1
- package/dist/components/loading/Loading.vue.d.ts.map +1 -1
- package/dist/components/loading/index.js +1 -1
- package/dist/components/marquee/index.js +1 -1
- package/dist/components/menu/SubMenu.vue.d.ts.map +1 -1
- package/dist/components/menu/index.js +1 -1
- package/dist/components/message/MessageContainer.vue.d.ts.map +1 -1
- package/dist/components/message/index.js +1 -1
- package/dist/components/message-box/MessageBox.vue.d.ts +1 -1
- package/dist/components/message-box/MessageBox.vue.d.ts.map +1 -1
- package/dist/components/message-box/index.js +1 -1
- package/dist/components/message-box/message-box-variants.d.ts +1 -1
- package/dist/components/noise-background/index.js +1 -1
- package/dist/components/noise-background/noise-background-variants.d.ts +1 -1
- package/dist/components/number-input/NumberInput.vue.d.ts +4 -1
- package/dist/components/number-input/NumberInput.vue.d.ts.map +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/number-input/number-input-variants.d.ts.map +1 -1
- package/dist/components/pagination/Pagination.vue.d.ts +1 -1
- package/dist/components/pagination/Pagination.vue.d.ts.map +1 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/pagination/pagination-variants.d.ts.map +1 -1
- package/dist/components/popconfirm/Popconfirm.vue.d.ts.map +1 -1
- package/dist/components/popconfirm/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/pricing-section/PricingSection.vue.d.ts.map +1 -1
- package/dist/components/pricing-section/index.js +1 -1
- package/dist/components/progress/Progress.vue.d.ts +3 -0
- package/dist/components/progress/Progress.vue.d.ts.map +1 -1
- package/dist/components/progress/index.js +1 -1
- package/dist/components/progress/progress-variants.d.ts +1 -0
- package/dist/components/progress/progress-variants.d.ts.map +1 -1
- package/dist/components/radio-group/RadioGroup.vue.d.ts.map +1 -1
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/rate/Rate.vue.d.ts +3 -0
- package/dist/components/rate/Rate.vue.d.ts.map +1 -1
- package/dist/components/rate/index.js +1 -1
- package/dist/components/result/index.js +1 -1
- package/dist/components/scratch-card/index.js +1 -1
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/scroll-area/scroll-area-variants.d.ts.map +1 -1
- package/dist/components/select/Select.vue.d.ts.map +1 -1
- package/dist/components/select/SelectTrigger.vue.d.ts.map +1 -1
- package/dist/components/select/index.js +2 -2
- package/dist/components/separator/index.js +1 -1
- package/dist/components/sheet/index.js +2 -2
- package/dist/components/skeleton/Skeleton.vue.d.ts +3 -0
- package/dist/components/skeleton/Skeleton.vue.d.ts.map +1 -1
- package/dist/components/skeleton/index.js +2 -2
- package/dist/components/skeleton/skeleton-variants.d.ts +1 -0
- package/dist/components/skeleton/skeleton-variants.d.ts.map +1 -1
- package/dist/components/sketchy-chart/SketchyChart.vue.d.ts +1 -1
- package/dist/components/sketchy-chart/SketchyChart.vue.d.ts.map +1 -1
- package/dist/components/sketchy-chart/index.js +1 -1
- package/dist/components/slider/Slider.vue.d.ts.map +1 -1
- package/dist/components/slider/index.js +2 -2
- package/dist/components/slider/slider-variants.d.ts +6 -0
- package/dist/components/slider/slider-variants.d.ts.map +1 -1
- package/dist/components/spinner/Spinner.vue.d.ts +2 -2
- package/dist/components/spinner/Spinner.vue.d.ts.map +1 -1
- package/dist/components/spinner/index.js +3 -3
- package/dist/components/spinner/spinner-variants.d.ts +6 -0
- package/dist/components/spinner/spinner-variants.d.ts.map +1 -1
- package/dist/components/stepper/Stepper.vue.d.ts.map +1 -1
- package/dist/components/stepper/index.js +1 -1
- package/dist/components/switch/Switch.vue.d.ts +9 -1
- package/dist/components/switch/Switch.vue.d.ts.map +1 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/switch/switch-variants.d.ts +2 -0
- package/dist/components/switch/switch-variants.d.ts.map +1 -1
- package/dist/components/table/TableHeader.vue.d.ts +3 -0
- package/dist/components/table/TableHeader.vue.d.ts.map +1 -1
- package/dist/components/table/index.js +1 -1
- package/dist/components/table/table-variants.d.ts +1 -0
- package/dist/components/table/table-variants.d.ts.map +1 -1
- package/dist/components/tabs/Tabs.vue.d.ts +2 -0
- package/dist/components/tabs/Tabs.vue.d.ts.map +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/tabs-variants.d.ts +1 -1
- package/dist/components/tabs/tabs-variants.d.ts.map +1 -1
- package/dist/components/tags-input/index.js +1 -1
- package/dist/components/tags-input/tags-input-variants.d.ts.map +1 -1
- package/dist/components/textarea/Textarea.vue.d.ts +1 -1
- package/dist/components/textarea/Textarea.vue.d.ts.map +1 -1
- package/dist/components/textarea/index.js +1 -1
- package/dist/components/timeline/TimelineConnector.vue.d.ts.map +1 -1
- package/dist/components/timeline/TimelineDot.vue.d.ts +3 -0
- package/dist/components/timeline/TimelineDot.vue.d.ts.map +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/toast/Toast.vue.d.ts.map +1 -1
- package/dist/components/toast/ToastContainer.vue.d.ts.map +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/toast/toast-variants.d.ts +1 -1
- package/dist/components/toggle/Toggle.vue.d.ts +1 -1
- package/dist/components/toggle/Toggle.vue.d.ts.map +1 -1
- package/dist/components/toggle/index.js +2 -2
- package/dist/components/toggle-group/ToggleGroup.vue.d.ts.map +1 -1
- package/dist/components/toggle-group/index.js +1 -1
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tour/Tour.vue.d.ts.map +1 -1
- package/dist/components/tour/index.js +1 -1
- package/dist/components/transfer/Transfer.vue.d.ts.map +1 -1
- package/dist/components/transfer/index.js +1 -1
- package/dist/components/tree-select/TreeSelect.vue.d.ts +1 -1
- package/dist/components/tree-select/TreeSelect.vue.d.ts.map +1 -1
- package/dist/components/tree-select/TreeSelectNode.vue.d.ts +2 -2
- package/dist/components/tree-select/TreeSelectNode.vue.d.ts.map +1 -1
- package/dist/components/tree-select/index.js +1 -1
- package/dist/components/tree-select/tree-select-types.d.ts +1 -15
- package/dist/components/tree-select/tree-select-types.d.ts.map +1 -1
- package/dist/components/tree-view/TreeView.vue.d.ts.map +1 -1
- package/dist/components/tree-view/TreeViewNode.vue.d.ts.map +1 -1
- package/dist/components/tree-view/index.js +1 -1
- package/dist/components/tree-view/types.d.ts +1 -24
- package/dist/components/tree-view/types.d.ts.map +1 -1
- package/dist/components/typewriter-text/index.js +1 -1
- package/dist/components/typewriter-text/typewriter-text-variants.d.ts +1 -1
- package/dist/components/upload/UploadFileItem.vue.d.ts.map +1 -1
- package/dist/components/upload/UploadFileList.vue.d.ts.map +1 -1
- package/dist/components/upload/index.js +1 -1
- package/dist/components/virtual-scroll/VirtualScroll.vue.d.ts +1 -1
- package/dist/components/virtual-scroll/VirtualScroll.vue.d.ts.map +1 -1
- package/dist/components/virtual-scroll/index.js +1 -1
- package/dist/components/watermark/Watermark.vue.d.ts +4 -1
- package/dist/components/watermark/Watermark.vue.d.ts.map +1 -1
- package/dist/components/watermark/index.js +1 -1
- package/dist/composables/destroyFallbacks.js +1 -1
- package/dist/composables/index.d.ts +8 -2
- package/dist/composables/index.d.ts.map +1 -1
- package/dist/composables/useAudioEngine.d.ts +3 -1
- package/dist/composables/useAudioEngine.d.ts.map +1 -1
- package/dist/composables/useAudioEngine.js +44 -32
- package/dist/composables/useBrutalHaptics.d.ts +19 -0
- package/dist/composables/useBrutalHaptics.d.ts.map +1 -0
- package/dist/composables/useBrutalHaptics.js +19 -0
- package/dist/composables/useCarousel.js +1 -1
- package/dist/composables/useCarouselEnhanced.js +1 -1
- package/dist/composables/useDataTablePagination.js +1 -1
- package/dist/composables/useDialog.js +1 -1
- package/dist/composables/useDialogEnhanced.d.ts +8 -62
- package/dist/composables/useDialogEnhanced.d.ts.map +1 -1
- package/dist/composables/useDialogEnhanced.js +3 -291
- package/dist/composables/useDialogGeometry.d.ts +58 -0
- package/dist/composables/useDialogGeometry.d.ts.map +1 -0
- package/dist/composables/useDialogGeometry.js +261 -0
- package/dist/composables/useGlitchEffect.js +1 -1
- package/dist/composables/useLocale.d.ts +1 -2
- package/dist/composables/useLocale.d.ts.map +1 -1
- package/dist/composables/useLocale.js +1 -1
- package/dist/composables/useMessage.d.ts +7 -1
- package/dist/composables/useMessage.d.ts.map +1 -1
- package/dist/composables/useMessage.js +2 -2
- package/dist/composables/useMessageBox.js +1 -1
- package/dist/composables/useSelectableTrigger.js +1 -1
- package/dist/composables/useToast.js +1 -1
- package/dist/directives/loading.js +2 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +132 -129
- package/dist/lib/brutal-interaction-variants.d.ts +2 -1
- package/dist/lib/brutal-interaction-variants.d.ts.map +1 -1
- package/dist/lib/defaults.d.ts +25 -1
- package/dist/lib/defaults.d.ts.map +1 -1
- package/dist/lib/devtools-plugin.d.ts +2 -0
- package/dist/lib/devtools-plugin.d.ts.map +1 -1
- package/dist/lib/fallback-manager.d.ts.map +1 -1
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/render-imperative.d.ts +1 -1
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/z-index.d.ts +13 -19
- package/dist/lib/z-index.d.ts.map +1 -1
- package/dist/locales/en.d.ts.map +1 -1
- package/dist/locales/types.d.ts +9 -0
- package/dist/locales/types.d.ts.map +1 -1
- package/dist/locales/zh-CN.d.ts.map +1 -1
- package/dist/locales.js +2 -2
- package/dist/styles.css +1 -1
- package/dist/types/tree.d.ts +25 -0
- package/dist/types/tree.d.ts.map +1 -0
- package/dist/types.d.ts +1 -1
- package/package.json +32 -12
- package/dist/chunks/BrutalistHero-BSAa8w9I.js +0 -74
- package/dist/chunks/Input-BZyhzwcx.js +0 -231
- package/dist/chunks/NumberInput-DZGz-0-m.js +0 -173
- package/dist/chunks/PricingSection-6Hy60u7E.js +0 -250
- package/dist/chunks/Rate-CydqRALB.js +0 -84
- package/dist/chunks/Skeleton-R-ij-r0P.js +0 -66
- package/dist/chunks/Slider-BFZcbs_w.js +0 -251
- package/dist/chunks/Spinner-DmTpUiIL.js +0 -94
- package/dist/chunks/Switch-BrN_x0st.js +0 -91
- package/dist/chunks/brutal-interaction-variants-Cqho0qw6.js +0 -4
- package/dist/chunks/calendar-BYMq6s2a.js +0 -169
- package/dist/chunks/defaults-BK2-BapC.js +0 -9
- package/dist/chunks/render-imperative-Chvp8p1R.js +0 -119
- package/dist/chunks/shared-input-variants-Ct9rJ3Kb.js +0 -16
- package/dist/chunks/useMessage-BdY7dki9.js +0 -156
- package/dist/chunks/utils-DKpMz1Sg.js +0 -9
- package/dist/chunks/z-index-CFaWFKb5.js +0 -10
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./utils-
|
|
2
|
-
import { a as t, c as n } from "./brutal-interaction-variants-
|
|
1
|
+
import { n as e } from "./utils-CLyG8Lfg.js";
|
|
2
|
+
import { a as t, c as n } from "./brutal-interaction-variants-V8gdaai1.js";
|
|
3
3
|
import { t as r } from "./icon-size-variants-Cp9lYoRk.js";
|
|
4
4
|
import { Comment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createVNode as u, defineComponent as d, inject as f, mergeProps as p, normalizeClass as m, openBlock as h, provide as g, renderSlot as _, toRef as v, unref as y, useSlots as b, withCtx as x } from "vue";
|
|
5
5
|
import { ChevronDown as S } from "@lucide/vue";
|
|
@@ -64,12 +64,12 @@ var j = /* @__PURE__ */ d({
|
|
|
64
64
|
interactive: ""
|
|
65
65
|
} },
|
|
66
66
|
defaultVariants: { variant: "default" }
|
|
67
|
-
}), F = "shrink-0 transition-transform duration-200 border-3 border-brutal rounded-brutal bg-brutal-bg p-0.5 shadow-brutal-sm", I = A("border-t-3 p-6
|
|
67
|
+
}), F = "shrink-0 transition-transform duration-200 border-3 border-brutal rounded-brutal bg-brutal-bg p-0.5 shadow-brutal-sm", I = A("border-t-3 p-6 text-brutal-fg", {
|
|
68
68
|
variants: { variant: {
|
|
69
|
-
default: "border-brutal",
|
|
69
|
+
default: "border-brutal bg-brutal-muted",
|
|
70
70
|
flat: "border-brutal bg-brutal-muted/30",
|
|
71
71
|
ghost: "border-transparent",
|
|
72
|
-
interactive: "border-brutal hover:bg-brutal-muted/20"
|
|
72
|
+
interactive: "border-brutal bg-brutal-muted hover:bg-brutal-muted/20"
|
|
73
73
|
} },
|
|
74
74
|
defaultVariants: { variant: "default" }
|
|
75
75
|
}), L = Symbol("accordionItem"), R = /* @__PURE__ */ d({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as e } from "./utils-
|
|
1
|
+
import { n as e } from "./utils-CLyG8Lfg.js";
|
|
2
2
|
import { t } from "./icon-size-variants-Cp9lYoRk.js";
|
|
3
3
|
import { useLocale as n } from "../composables/useLocale.js";
|
|
4
|
-
import { t as r } from "./Button-
|
|
4
|
+
import { t as r } from "./Button-CGM96-hx.js";
|
|
5
5
|
import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createVNode as c, defineComponent as l, inject as u, normalizeClass as d, onBeforeUnmount as f, onMounted as p, openBlock as m, provide as h, ref as g, renderSlot as _, unref as v, useId as y, useSlots as b, withCtx as x, withModifiers as S } from "vue";
|
|
6
6
|
import { X as C } from "@lucide/vue";
|
|
7
7
|
import { Primitive as w } from "reka-ui";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as e } from "./utils-
|
|
2
|
-
import { t } from "./button-variants-
|
|
3
|
-
import { a as n, i as r, r as i, t as a } from "./modal-variants-
|
|
4
|
-
import { t as o } from "./floating-animation-classes-
|
|
1
|
+
import { n as e } from "./utils-CLyG8Lfg.js";
|
|
2
|
+
import { t } from "./button-variants-6Q5uxqtu.js";
|
|
3
|
+
import { a as n, i as r, r as i, t as a } from "./modal-variants-CaSmbJiU.js";
|
|
4
|
+
import { t as o } from "./floating-animation-classes-BHymGEns.js";
|
|
5
5
|
import { computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createTextVNode as d, createVNode as f, defineComponent as p, mergeProps as m, normalizeClass as h, openBlock as g, renderSlot as _, unref as v, withCtx as y } from "vue";
|
|
6
6
|
import { AlertDialogAction as b, AlertDialogCancel as x, AlertDialogContent as S, AlertDialogDescription as C, AlertDialogOverlay as w, AlertDialogPortal as T, AlertDialogTitle as E, useForwardProps as D } from "reka-ui";
|
|
7
7
|
import { cva as O } from "class-variance-authority";
|
|
8
8
|
//#region src/components/alert-dialog/alert-dialog-variants.ts
|
|
9
9
|
var k = O([
|
|
10
|
-
"fixed left-[50%] top-[50%] z-
|
|
10
|
+
"fixed left-[50%] top-[50%] z-dialog grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4",
|
|
11
11
|
"p-6 text-brutal-fg",
|
|
12
12
|
...a,
|
|
13
13
|
...o
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { n as e } from "./utils-
|
|
1
|
+
import { n as e } from "./utils-CLyG8Lfg.js";
|
|
2
2
|
import { t } from "./icon-size-variants-Cp9lYoRk.js";
|
|
3
3
|
import { useLocale as n } from "../composables/useLocale.js";
|
|
4
|
-
import { t as r } from "./Button-
|
|
5
|
-
import { t as i } from "./Label-
|
|
6
|
-
import { t as a } from "./Input-
|
|
7
|
-
import { t as o } from "./Card-
|
|
8
|
-
import { i as s, n as c, r as ee, t as l } from "./CardFooter
|
|
9
|
-
import { t as u } from "./CardContent-
|
|
4
|
+
import { t as r } from "./Button-CGM96-hx.js";
|
|
5
|
+
import { t as i } from "./Label-C6vuSJRy.js";
|
|
6
|
+
import { t as a } from "./Input-DkKWbZN4.js";
|
|
7
|
+
import { t as o } from "./Card-BC4kGoYn.js";
|
|
8
|
+
import { i as s, n as c, r as ee, t as l } from "./CardFooter-kc_I65JQ.js";
|
|
9
|
+
import { t as u } from "./CardContent-CcVsOs9t.js";
|
|
10
10
|
import { computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, createVNode as _, defineComponent as v, normalizeClass as y, openBlock as b, ref as x, toDisplayString as S, unref as C, useId as w, watch as T, withCtx as E, withModifiers as D } from "vue";
|
|
11
11
|
import { Lock as te, Mail as ne } from "@lucide/vue";
|
|
12
12
|
//#region src/lib/validation.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./utils-
|
|
1
|
+
import { n as e } from "./utils-CLyG8Lfg.js";
|
|
2
2
|
import { useLocale as t } from "../composables/useLocale.js";
|
|
3
3
|
import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, inject as l, normalizeClass as u, openBlock as d, provide as f, renderSlot as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
|
|
4
4
|
import { AvatarFallback as _, AvatarImage as v, AvatarRoot as y } from "reka-ui";
|
|
@@ -35,13 +35,21 @@ var x = b(["relative flex shrink-0 overflow-hidden", "border-3 border-brutal"],
|
|
|
35
35
|
accent: "bg-brutal-accent text-brutal-accent-foreground"
|
|
36
36
|
} },
|
|
37
37
|
defaultVariants: { variant: "default" }
|
|
38
|
-
}), C = Symbol("avatar"), w = { class: "relative inline-block" }, T = {
|
|
38
|
+
}), C = Symbol("avatar"), w = { class: "relative inline-block" }, T = {
|
|
39
|
+
key: 0,
|
|
40
|
+
"aria-hidden": "true",
|
|
41
|
+
class: "absolute left-1/2 -translate-x-1/2 top-1 z-10 block size-2.5 rounded-full border-3 border-brutal bg-brutal-bg"
|
|
42
|
+
}, E = { class: "sr-only" }, D = /* @__PURE__ */ c({
|
|
39
43
|
__name: "Avatar",
|
|
40
44
|
props: {
|
|
41
45
|
variant: { default: "default" },
|
|
42
46
|
size: { default: "default" },
|
|
43
47
|
shape: { default: "square" },
|
|
44
48
|
status: { default: "none" },
|
|
49
|
+
lanyard: {
|
|
50
|
+
type: Boolean,
|
|
51
|
+
default: !1
|
|
52
|
+
},
|
|
45
53
|
class: { default: void 0 }
|
|
46
54
|
},
|
|
47
55
|
setup(r) {
|
|
@@ -60,20 +68,24 @@ var x = b(["relative flex shrink-0 overflow-hidden", "border-3 border-brutal"],
|
|
|
60
68
|
variant: c.variant,
|
|
61
69
|
size: c.size,
|
|
62
70
|
shape: c.shape
|
|
63
|
-
}), c.class)),
|
|
71
|
+
}), c.class)), D = n(() => {
|
|
64
72
|
let t = c.status;
|
|
65
73
|
return t === "none" ? "" : e("absolute bottom-0 right-0 w-3 h-3 rounded-full border-3 border-brutal-bg", l[t]);
|
|
66
74
|
});
|
|
67
|
-
return f(C, { variant: n(() => c.variant) }), (e, t) => (d(), a("span", w, [
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
class
|
|
73
|
-
|
|
74
|
-
|
|
75
|
+
return f(C, { variant: n(() => c.variant) }), (e, t) => (d(), a("span", w, [
|
|
76
|
+
r.lanyard ? (d(), a("span", T)) : i("", !0),
|
|
77
|
+
s(h(y), { class: u(S.value) }, {
|
|
78
|
+
default: g(() => [p(e.$slots, "default")]),
|
|
79
|
+
_: 3
|
|
80
|
+
}, 8, ["class"]),
|
|
81
|
+
r.status === "none" ? i("", !0) : (d(), a("span", {
|
|
82
|
+
key: 1,
|
|
83
|
+
class: u(D.value),
|
|
84
|
+
role: "status"
|
|
85
|
+
}, [o("span", E, m(b.value), 1)], 2))
|
|
86
|
+
]));
|
|
75
87
|
}
|
|
76
|
-
}),
|
|
88
|
+
}), O = /* @__PURE__ */ c({
|
|
77
89
|
__name: "AvatarImage",
|
|
78
90
|
props: {
|
|
79
91
|
src: { default: void 0 },
|
|
@@ -92,7 +104,7 @@ var x = b(["relative flex shrink-0 overflow-hidden", "border-3 border-brutal"],
|
|
|
92
104
|
"class"
|
|
93
105
|
]));
|
|
94
106
|
}
|
|
95
|
-
}),
|
|
107
|
+
}), k = /* @__PURE__ */ c({
|
|
96
108
|
__name: "AvatarFallback",
|
|
97
109
|
props: {
|
|
98
110
|
delayMs: { default: void 0 },
|
|
@@ -122,4 +134,4 @@ var x = b(["relative flex shrink-0 overflow-hidden", "border-3 border-brutal"],
|
|
|
122
134
|
}
|
|
123
135
|
});
|
|
124
136
|
//#endregion
|
|
125
|
-
export { S as a, C as i,
|
|
137
|
+
export { S as a, C as i, O as n, x as o, D as r, k as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "./utils-
|
|
1
|
+
import { n as e } from "./utils-CLyG8Lfg.js";
|
|
2
2
|
import { c as t, m as n, u as r } from "./env-BWANtEHP.js";
|
|
3
|
-
import { t as i } from "./Button-
|
|
3
|
+
import { t as i } from "./Button-CGM96-hx.js";
|
|
4
4
|
import { useThrottle as a } from "../composables/useThrottle.js";
|
|
5
5
|
import { Transition as o, computed as s, createBlock as c, createCommentVNode as l, createVNode as u, defineComponent as d, normalizeClass as f, normalizeStyle as p, onBeforeUnmount as m, onMounted as h, openBlock as g, ref as _, renderSlot as v, unref as y, watch as b, withCtx as x } from "vue";
|
|
6
6
|
import { ArrowUp as S } from "@lucide/vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./utils-
|
|
1
|
+
import { n as e } from "./utils-CLyG8Lfg.js";
|
|
2
2
|
import { t } from "./icon-size-variants-Cp9lYoRk.js";
|
|
3
3
|
import { useLocale as n } from "../composables/useLocale.js";
|
|
4
4
|
import { n as r, t as i } from "./chip-variants-CvNrR5NL.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "./utils-
|
|
1
|
+
import { n as e } from "./utils-CLyG8Lfg.js";
|
|
2
2
|
import { useLocale as t } from "../composables/useLocale.js";
|
|
3
|
-
import { a as n, i as r,
|
|
3
|
+
import { a as n, i as r, o as i, r as a, s as o } from "./Spinner-DAY06T9Q.js";
|
|
4
4
|
import { Fragment as s, computed as c, createElementBlock as l, createElementVNode as u, defineComponent as d, normalizeClass as f, normalizeStyle as p, openBlock as m, renderList as h, toDisplayString as g } from "vue";
|
|
5
5
|
//#region src/components/spinner/BlockSpinner.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var _ = ["aria-label"], v = { class: "sr-only" }, y = 150, b = 600, x = 4, S = /* @__PURE__ */ d({
|
|
@@ -11,8 +11,8 @@ var _ = ["aria-label"], v = { class: "sr-only" }, y = 150, b = 600, x = 4, S = /
|
|
|
11
11
|
label: { default: void 0 },
|
|
12
12
|
class: { default: void 0 }
|
|
13
13
|
},
|
|
14
|
-
setup(
|
|
15
|
-
let i =
|
|
14
|
+
setup(r) {
|
|
15
|
+
let i = r, { t: a } = t(), d = c(() => i.label?.trim() || a("spinner.loading")), S = c(() => e(n({ size: i.size }), i.class)), C = c(() => o(i.color, x).map((t) => e("border-3 border-brutal", t, "animate-pulse")));
|
|
16
16
|
return (e, t) => (m(), l("div", {
|
|
17
17
|
class: f(S.value),
|
|
18
18
|
role: "status",
|
|
@@ -34,13 +34,13 @@ var _ = ["aria-label"], v = { class: "sr-only" }, y = 150, b = 600, x = 4, S = /
|
|
|
34
34
|
label: { default: void 0 },
|
|
35
35
|
class: { default: void 0 }
|
|
36
36
|
},
|
|
37
|
-
setup(
|
|
38
|
-
let
|
|
37
|
+
setup(n) {
|
|
38
|
+
let r = n, { t: o } = t(), d = c(() => r.label?.trim() || o("spinner.loading")), _ = {
|
|
39
39
|
sm: "h-1.5 w-1.5",
|
|
40
40
|
default: "h-2.5 w-2.5",
|
|
41
41
|
lg: "h-3.5 w-3.5",
|
|
42
42
|
xl: "h-5 w-5"
|
|
43
|
-
}, v = c(() => e(
|
|
43
|
+
}, v = c(() => e(i({ size: r.size }), r.class)), y = c(() => e(_[r.size ?? "default"], "border-3 border-brutal", a[r.color], "animate-bounce"));
|
|
44
44
|
return (e, t) => (m(), l("div", {
|
|
45
45
|
class: f(v.value),
|
|
46
46
|
role: "status",
|
|
@@ -63,18 +63,18 @@ var _ = ["aria-label"], v = { class: "sr-only" }, y = 150, b = 600, x = 4, S = /
|
|
|
63
63
|
class: { default: void 0 }
|
|
64
64
|
},
|
|
65
65
|
setup(n) {
|
|
66
|
-
let
|
|
66
|
+
let i = n, { t: a } = t(), d = c(() => i.label?.trim() || a("spinner.loading")), _ = [
|
|
67
67
|
.7,
|
|
68
68
|
.55,
|
|
69
69
|
.85,
|
|
70
70
|
.6,
|
|
71
71
|
.75
|
|
72
|
-
], v = _.length, y = c(() => e(
|
|
72
|
+
], v = _.length, y = c(() => e(r({ size: i.size }), i.class)), b = {
|
|
73
73
|
sm: "w-1",
|
|
74
74
|
default: "w-1.5",
|
|
75
75
|
lg: "w-2",
|
|
76
76
|
xl: "w-3"
|
|
77
|
-
}, x = c(() =>
|
|
77
|
+
}, x = c(() => o(i.color, v).map((t) => e(b[i.size ?? "default"], "border-3 border-brutal", t, "animate-pulse origin-bottom")));
|
|
78
78
|
return (e, t) => (m(), l("div", {
|
|
79
79
|
class: f(y.value),
|
|
80
80
|
role: "status",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./utils-
|
|
1
|
+
import { n as e } from "./utils-CLyG8Lfg.js";
|
|
2
2
|
import { t } from "./icon-size-variants-Cp9lYoRk.js";
|
|
3
3
|
import { useLocale as n } from "../composables/useLocale.js";
|
|
4
4
|
import { useReducedMotion as r } from "../composables/useReducedMotion.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./utils-
|
|
2
|
-
import { c as t } from "./brutal-interaction-variants-
|
|
1
|
+
import { n as e } from "./utils-CLyG8Lfg.js";
|
|
2
|
+
import { c as t } from "./brutal-interaction-variants-V8gdaai1.js";
|
|
3
3
|
import { t as n } from "./icon-size-variants-Cp9lYoRk.js";
|
|
4
4
|
import { useLocale as r } from "../composables/useLocale.js";
|
|
5
5
|
import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, openBlock as f, renderSlot as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
|
|
@@ -17,11 +17,20 @@ var b = ["aria-label"], x = /* @__PURE__ */ u({
|
|
|
17
17
|
class: d(o.value)
|
|
18
18
|
}, [p(e.$slots, "default")], 10, b));
|
|
19
19
|
}
|
|
20
|
-
}), S = y("list-none flex flex-wrap items-center gap-2.5 break-words text-sm font-medium text-brutal-fg sm:gap-4"
|
|
20
|
+
}), S = y("list-none flex flex-wrap items-center gap-2.5 break-words text-sm font-medium text-brutal-fg sm:gap-4", {
|
|
21
|
+
variants: { variant: {
|
|
22
|
+
default: "",
|
|
23
|
+
folder: "[&_a]:font-mono [&_a]:uppercase [&_a]:tracking-widest [&_a]:text-xs [&_a]:border-3 [&_a]:border-b-transparent [&_a]:border-brutal [&_a]:bg-brutal-muted [&_a]:rounded-none [&_a]:px-3 [&_a]:py-1"
|
|
24
|
+
} },
|
|
25
|
+
defaultVariants: { variant: "default" }
|
|
26
|
+
}), C = y("list-none inline-flex items-center gap-1.5"), w = y(["font-semibold transition-[transform,box-shadow,color] hover:text-brutal-primary hover:underline hover:shadow-brutal-sm hover:-translate-y-0.5 cursor-pointer", t]), T = y("font-black text-brutal-fg bg-brutal-accent px-2 py-0.5 border-3 border-brutal rounded-brutal shadow-brutal-sm select-none"), E = y("list-none [&>svg]:w-3.5 [&>svg]:h-3.5 font-bold text-brutal-fg/60"), D = y("flex h-7 w-7 items-center justify-center border-3 border-brutal bg-brutal-bg text-brutal-fg shadow-brutal-sm rounded-brutal select-none"), O = /* @__PURE__ */ u({
|
|
21
27
|
__name: "BreadcrumbList",
|
|
22
|
-
props: {
|
|
28
|
+
props: {
|
|
29
|
+
class: { default: void 0 },
|
|
30
|
+
variant: { default: "default" }
|
|
31
|
+
},
|
|
23
32
|
setup(t) {
|
|
24
|
-
let n = t, r = i(() => e(S(), n.class));
|
|
33
|
+
let n = t, r = i(() => e(S({ variant: n.variant }), n.class));
|
|
25
34
|
return (e, t) => (f(), s("ol", { class: d(["breadcrumb-list", r.value]) }, [p(e.$slots, "default")], 2));
|
|
26
35
|
}
|
|
27
36
|
}), k = /* @__PURE__ */ u({
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { n as e } from "./utils-CLyG8Lfg.js";
|
|
2
|
+
import { computed as t, createCommentVNode as n, createElementBlock as r, defineComponent as i, normalizeClass as a, openBlock as o } from "vue";
|
|
3
|
+
import { cva as s } from "class-variance-authority";
|
|
4
|
+
//#region src/components/brutal-shape/brutal-shape-variants.ts
|
|
5
|
+
var c = s(["shrink-0", "pointer-events-none"], {
|
|
6
|
+
variants: {},
|
|
7
|
+
defaultVariants: {}
|
|
8
|
+
}), l = 100 / 2, u = l - 2;
|
|
9
|
+
function d(e, t) {
|
|
10
|
+
let n = u * t, r = [];
|
|
11
|
+
for (let t = 0; t < e * 2; t++) {
|
|
12
|
+
let i = t % 2 == 0 ? u : n, a = Math.PI * t / e - Math.PI / 2;
|
|
13
|
+
r.push(`${(l + i * Math.cos(a)).toFixed(2)},${(l + i * Math.sin(a)).toFixed(2)}`);
|
|
14
|
+
}
|
|
15
|
+
return r.join(" ");
|
|
16
|
+
}
|
|
17
|
+
function f(e) {
|
|
18
|
+
let t = [`<circle cx="${l}" cy="${l}" r="30"/>`];
|
|
19
|
+
for (let n = 0; n < e; n++) {
|
|
20
|
+
let r = Math.PI * 2 * n / e - Math.PI / 2, i = (l + 36 * Math.cos(r)).toFixed(2), a = (l + 36 * Math.sin(r)).toFixed(2);
|
|
21
|
+
t.push(`<circle cx="${i}" cy="${a}" r="11"/>`);
|
|
22
|
+
}
|
|
23
|
+
return t.join("");
|
|
24
|
+
}
|
|
25
|
+
var p = {
|
|
26
|
+
"star-4": {
|
|
27
|
+
category: "burst",
|
|
28
|
+
svg: `<polygon points="${d(4, .32)}"/>`
|
|
29
|
+
},
|
|
30
|
+
"star-5": {
|
|
31
|
+
category: "burst",
|
|
32
|
+
svg: `<polygon points="${d(5, .42)}"/>`
|
|
33
|
+
},
|
|
34
|
+
"star-6": {
|
|
35
|
+
category: "burst",
|
|
36
|
+
svg: `<polygon points="${d(6, .55)}"/>`
|
|
37
|
+
},
|
|
38
|
+
"star-8": {
|
|
39
|
+
category: "burst",
|
|
40
|
+
svg: `<polygon points="${d(8, .62)}"/>`
|
|
41
|
+
},
|
|
42
|
+
"star-12": {
|
|
43
|
+
category: "burst",
|
|
44
|
+
svg: `<polygon points="${d(12, .72)}"/>`
|
|
45
|
+
},
|
|
46
|
+
"star-16": {
|
|
47
|
+
category: "burst",
|
|
48
|
+
svg: `<polygon points="${d(16, .8)}"/>`
|
|
49
|
+
},
|
|
50
|
+
"seal-saw-16": {
|
|
51
|
+
category: "seal",
|
|
52
|
+
svg: `<polygon points="${d(16, .86)}"/>`
|
|
53
|
+
},
|
|
54
|
+
"seal-cog-8": {
|
|
55
|
+
category: "seal",
|
|
56
|
+
svg: `<polygon points="${d(8, .74)}"/><circle cx="50" cy="50" r="14" fill="none"/>`
|
|
57
|
+
},
|
|
58
|
+
"seal-scallop-8": {
|
|
59
|
+
category: "seal",
|
|
60
|
+
svg: f(8)
|
|
61
|
+
},
|
|
62
|
+
"seal-badge": {
|
|
63
|
+
category: "seal",
|
|
64
|
+
svg: `<polygon points="${d(12, .78)}"/><circle cx="50" cy="50" r="24" fill="none"/>`
|
|
65
|
+
},
|
|
66
|
+
"crosshair-plus": {
|
|
67
|
+
category: "crosshair",
|
|
68
|
+
svg: "<path d=\"M50 2 V98 M2 50 H98\" fill=\"none\"/>"
|
|
69
|
+
},
|
|
70
|
+
"crosshair-target": {
|
|
71
|
+
category: "crosshair",
|
|
72
|
+
svg: "<circle cx=\"50\" cy=\"50\" r=\"28\" fill=\"none\"/><path d=\"M50 2 V22 M50 78 V98 M2 50 H22 M78 50 H98\" fill=\"none\"/>"
|
|
73
|
+
},
|
|
74
|
+
"crosshair-corner": {
|
|
75
|
+
category: "crosshair",
|
|
76
|
+
svg: "<path d=\"M4 32 V4 H32 M68 4 H96 V32 M96 68 V96 H68 M32 96 H4 V68\" fill=\"none\"/>"
|
|
77
|
+
},
|
|
78
|
+
"pixel-burst": {
|
|
79
|
+
category: "pixel",
|
|
80
|
+
svg: "<polygon points=\"40,10 60,10 60,30 80,30 80,20 90,20 90,40 70,40 70,50 90,50 90,60 80,60 80,80 60,80 60,90 40,90 40,80 20,80 20,60 10,60 10,50 30,50 30,40 10,40 10,20 20,20 20,30 40,30\"/>"
|
|
81
|
+
},
|
|
82
|
+
"pixel-heart": {
|
|
83
|
+
category: "pixel",
|
|
84
|
+
svg: "<polygon points=\"20,10 40,10 40,20 60,20 60,10 80,10 80,30 70,30 70,40 60,40 60,50 50,50 50,60 40,50 30,50 30,40 20,40 20,30\"/>"
|
|
85
|
+
},
|
|
86
|
+
"pixel-spark": {
|
|
87
|
+
category: "pixel",
|
|
88
|
+
svg: "<polygon points=\"40,10 60,10 60,40 90,40 90,60 60,60 60,90 40,90 40,60 10,60 10,40 40,40\"/>"
|
|
89
|
+
},
|
|
90
|
+
lightning: {
|
|
91
|
+
category: "glyph",
|
|
92
|
+
svg: "<polygon points=\"58,2 18,54 44,54 38,98 82,40 54,40 66,2\"/>"
|
|
93
|
+
},
|
|
94
|
+
heart: {
|
|
95
|
+
category: "glyph",
|
|
96
|
+
svg: "<path d=\"M50 90 C18 66 6 45 13 29 C18 16 36 13 46 25 L50 31 L54 25 C64 13 82 16 87 29 C94 45 82 66 50 90 Z\"/>"
|
|
97
|
+
},
|
|
98
|
+
skull: {
|
|
99
|
+
category: "glyph",
|
|
100
|
+
svg: "<path fill-rule=\"evenodd\" d=\"M50 6 C26 6 10 22 10 42 C10 56 18 66 30 71 L30 84 C30 90 34 94 40 94 L60 94 C66 94 70 90 70 84 L70 71 C82 66 90 56 90 42 C90 22 74 6 50 6 Z M27 42 a9 9 0 1 0 18 0 a9 9 0 1 0 -18 0 Z M55 42 a9 9 0 1 0 18 0 a9 9 0 1 0 -18 0 Z M50 52 L43 66 L57 66 Z\"/>"
|
|
101
|
+
},
|
|
102
|
+
thumb: {
|
|
103
|
+
category: "glyph",
|
|
104
|
+
svg: "<path d=\"M12 56 C12 50 17 46 23 46 H32 V92 H23 C17 92 12 88 12 82 Z M40 92 H72 C78 92 83 88 84 82 L90 54 C91 47 86 40 79 40 H58 L61 22 C62 14 57 8 50 8 C47 8 45 10 44 12 L40 46 Z\"/>"
|
|
105
|
+
},
|
|
106
|
+
diamond: {
|
|
107
|
+
category: "glyph",
|
|
108
|
+
svg: "<polygon points=\"50,5 95,50 50,95 5,50\"/>"
|
|
109
|
+
}
|
|
110
|
+
}, m = 20, h = Object.keys(p).sort(), g = h.length;
|
|
111
|
+
function _(e) {
|
|
112
|
+
return Object.hasOwn(p, e);
|
|
113
|
+
}
|
|
114
|
+
function v(e) {
|
|
115
|
+
return _(e) ? p[e].category : null;
|
|
116
|
+
}
|
|
117
|
+
function y(e) {
|
|
118
|
+
return _(e) ? p[e].svg : null;
|
|
119
|
+
}
|
|
120
|
+
//#endregion
|
|
121
|
+
//#region src/components/brutal-shape/BrutalShape.vue?vue&type=script&setup=true&lang.ts
|
|
122
|
+
var b = [
|
|
123
|
+
"width",
|
|
124
|
+
"height",
|
|
125
|
+
"fill",
|
|
126
|
+
"stroke",
|
|
127
|
+
"stroke-width",
|
|
128
|
+
"aria-hidden",
|
|
129
|
+
"innerHTML"
|
|
130
|
+
], x = /* @__PURE__ */ i({
|
|
131
|
+
__name: "BrutalShape",
|
|
132
|
+
props: {
|
|
133
|
+
name: {},
|
|
134
|
+
size: { default: 32 },
|
|
135
|
+
color: { default: "var(--brutal-accent, #FFE66D)" },
|
|
136
|
+
stroke: { default: "var(--brutal-fg, #000000)" },
|
|
137
|
+
strokeWidth: { default: 3 },
|
|
138
|
+
decorative: {
|
|
139
|
+
type: Boolean,
|
|
140
|
+
default: !0
|
|
141
|
+
},
|
|
142
|
+
class: { default: void 0 }
|
|
143
|
+
},
|
|
144
|
+
setup(i) {
|
|
145
|
+
let s = i, l = t(() => e(c(), s.class)), u = t(() => {
|
|
146
|
+
let e = y(s.name);
|
|
147
|
+
return e === null ? (console.warn(`[BrutalShape] 未知图腾名称 "${s.name}",已跳过渲染`), "") : e;
|
|
148
|
+
}), d = t(() => u.value !== "");
|
|
149
|
+
return (e, t) => d.value ? (o(), r("svg", {
|
|
150
|
+
key: 0,
|
|
151
|
+
class: a(l.value),
|
|
152
|
+
width: s.size,
|
|
153
|
+
height: s.size,
|
|
154
|
+
viewBox: "0 0 100 100",
|
|
155
|
+
fill: s.color,
|
|
156
|
+
stroke: s.stroke,
|
|
157
|
+
"stroke-width": s.strokeWidth,
|
|
158
|
+
"stroke-linejoin": "round",
|
|
159
|
+
"aria-hidden": s.decorative ? "true" : void 0,
|
|
160
|
+
focusable: "false",
|
|
161
|
+
innerHTML: u.value
|
|
162
|
+
}, null, 10, b)) : n("", !0);
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
//#endregion
|
|
166
|
+
export { v as a, c, h as i, g as n, _ as o, m as r, y as s, x as t };
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { n as e } from "./utils-CLyG8Lfg.js";
|
|
2
|
+
import { t } from "./icon-size-variants-Cp9lYoRk.js";
|
|
3
|
+
import { useLocale as n } from "../composables/useLocale.js";
|
|
4
|
+
import { t as r } from "./Button-CGM96-hx.js";
|
|
5
|
+
import { t as i } from "./Badge-uKEgezej.js";
|
|
6
|
+
import { t as a } from "./Card-BC4kGoYn.js";
|
|
7
|
+
import { t as o } from "./CardContent-CcVsOs9t.js";
|
|
8
|
+
import { t as s } from "./CardWindowHeader-BqgZ3ZVz.js";
|
|
9
|
+
import { t as c } from "./BrutalShape-hc5O51hA.js";
|
|
10
|
+
import { computed as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, normalizeClass as g, openBlock as _, renderSlot as v, toDisplayString as y, unref as b, withCtx as x } from "vue";
|
|
11
|
+
import { ArrowRight as S, Sparkles as C } from "@lucide/vue";
|
|
12
|
+
//#region src/components/brutalist-hero/BrutalistHero.vue?vue&type=script&setup=true&lang.ts
|
|
13
|
+
var w = { class: "grid grid-cols-1 lg:grid-cols-2 gap-12 items-center" }, T = { class: "text-4xl lg:text-5xl font-black tracking-tight leading-tight" }, E = {
|
|
14
|
+
key: 0,
|
|
15
|
+
class: "mt-4 text-lg text-brutal-muted-foreground font-medium"
|
|
16
|
+
}, D = { class: "mt-8 flex flex-wrap gap-4" }, O = { class: "relative" }, k = /* @__PURE__ */ h({
|
|
17
|
+
__name: "BrutalistHero",
|
|
18
|
+
props: {
|
|
19
|
+
title: { default: void 0 },
|
|
20
|
+
subtitle: { default: void 0 },
|
|
21
|
+
primaryCtaText: { default: void 0 },
|
|
22
|
+
secondaryCtaText: { default: void 0 },
|
|
23
|
+
class: { default: void 0 },
|
|
24
|
+
iconSize: { default: "lg" }
|
|
25
|
+
},
|
|
26
|
+
emits: ["primary-cta", "secondary-cta"],
|
|
27
|
+
setup(h, { emit: k }) {
|
|
28
|
+
let A = h, { t: j } = n(), M = l(() => A.title || j("brutalistHero.title")), N = l(() => A.subtitle || j("brutalistHero.defaultSubtitle")), P = l(() => A.primaryCtaText || j("brutalistHero.primaryCtaText")), F = l(() => A.secondaryCtaText || j("brutalistHero.secondaryCtaText")), I = k, L = l(() => e("w-full", A.class)), R = l(() => e(t({ size: A.iconSize }), "ml-2 stroke-[3]")), z = e(t({ size: "md" }), "stroke-[3]");
|
|
29
|
+
return (e, t) => (_(), d("div", { class: g(L.value) }, [f("div", w, [f("div", null, [
|
|
30
|
+
m(i, {
|
|
31
|
+
variant: "accent",
|
|
32
|
+
class: "mb-6 gap-2 rotate-[-1deg] font-black"
|
|
33
|
+
}, {
|
|
34
|
+
default: x(() => [m(b(C), { class: g(b(z)) }, null, 8, ["class"]), f("span", null, y(b(j)("brutalistHero.neoBrutalismUI")), 1)]),
|
|
35
|
+
_: 1
|
|
36
|
+
}),
|
|
37
|
+
f("h1", T, y(M.value), 1),
|
|
38
|
+
N.value ? (_(), d("p", E, y(N.value), 1)) : u("", !0),
|
|
39
|
+
f("div", D, [m(r, {
|
|
40
|
+
variant: "primary",
|
|
41
|
+
size: "lg",
|
|
42
|
+
flair: "stacked",
|
|
43
|
+
onClick: t[0] ||= (e) => I("primary-cta")
|
|
44
|
+
}, {
|
|
45
|
+
default: x(() => [p(y(P.value) + " ", 1), m(b(S), { class: g(R.value) }, null, 8, ["class"])]),
|
|
46
|
+
_: 1
|
|
47
|
+
}), m(r, {
|
|
48
|
+
variant: "outline",
|
|
49
|
+
size: "lg",
|
|
50
|
+
onClick: t[1] ||= (e) => I("secondary-cta")
|
|
51
|
+
}, {
|
|
52
|
+
default: x(() => [p(y(F.value), 1)]),
|
|
53
|
+
_: 1
|
|
54
|
+
})])
|
|
55
|
+
]), f("div", O, [
|
|
56
|
+
t[3] ||= f("span", {
|
|
57
|
+
"aria-hidden": "true",
|
|
58
|
+
class: "pointer-events-none select-none absolute -top-14 right-4 font-mono text-[120px] font-black leading-none text-brutal-fg opacity-5"
|
|
59
|
+
}, "</>", -1),
|
|
60
|
+
m(c, {
|
|
61
|
+
name: "star-8",
|
|
62
|
+
size: 40,
|
|
63
|
+
class: "absolute -left-3 -top-3 z-10 rotate-12"
|
|
64
|
+
}),
|
|
65
|
+
m(c, {
|
|
66
|
+
name: "star-12",
|
|
67
|
+
size: 26,
|
|
68
|
+
color: "var(--brutal-secondary, #4ECDC4)",
|
|
69
|
+
class: "absolute -bottom-2.5 -right-2 z-10 -rotate-6"
|
|
70
|
+
}),
|
|
71
|
+
t[4] ||= f("div", { class: "absolute inset-0 bg-brutal-primary border-3 border-brutal translate-x-3 translate-y-3" }, null, -1),
|
|
72
|
+
m(a, {
|
|
73
|
+
texture: "grid",
|
|
74
|
+
variant: "default",
|
|
75
|
+
padding: "none",
|
|
76
|
+
class: "relative bg-brutal-bg font-mono text-sm"
|
|
77
|
+
}, {
|
|
78
|
+
default: x(() => [m(s, { title: "terminal_shell // brutxui" }), m(o, { class: "p-5" }, {
|
|
79
|
+
default: x(() => [v(e.$slots, "terminal", {}, () => [t[2] ||= f("div", { class: "space-y-1" }, [
|
|
80
|
+
f("p", { class: "text-brutal-muted-foreground" }, " $ npx brutxui init "),
|
|
81
|
+
f("p", { class: "text-brutal-success font-bold" }, " ✓ Project initialized "),
|
|
82
|
+
f("p", { class: "text-brutal-muted-foreground" }, " $ npx brutxui add button "),
|
|
83
|
+
f("p", { class: "text-brutal-success font-bold" }, " ✓ Button component added "),
|
|
84
|
+
f("p", { class: "text-brutal-muted-foreground" }, " $ npx brutxui add card dialog "),
|
|
85
|
+
f("p", { class: "text-brutal-success font-bold" }, " ✓ 2 components added "),
|
|
86
|
+
f("p", { class: "text-brutal-accent font-bold motion-safe:animate-pulse" }, " █ ")
|
|
87
|
+
], -1)])]),
|
|
88
|
+
_: 3
|
|
89
|
+
})]),
|
|
90
|
+
_: 3
|
|
91
|
+
})
|
|
92
|
+
])])], 2));
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
//#endregion
|
|
96
|
+
export { k as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as e } from "./utils-
|
|
2
|
-
import { t } from "./button-variants-
|
|
1
|
+
import { n as e } from "./utils-CLyG8Lfg.js";
|
|
2
|
+
import { t } from "./button-variants-6Q5uxqtu.js";
|
|
3
3
|
import { t as n } from "./icon-size-variants-Cp9lYoRk.js";
|
|
4
4
|
import { useLocale as r } from "../composables/useLocale.js";
|
|
5
|
-
import {
|
|
5
|
+
import { C as i } from "./defaults-kSu-7Pjp.js";
|
|
6
6
|
import { useGlitchEffect as a } from "../composables/useGlitchEffect.js";
|
|
7
7
|
import { t as o } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
8
8
|
import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createTextVNode as f, defineComponent as p, normalizeClass as m, onMounted as h, onUpdated as g, openBlock as _, ref as v, renderSlot as y, toDisplayString as b, unref as x, withCtx as S } from "vue";
|
|
@@ -15,6 +15,7 @@ var T = /*#__PURE__*/ o(/* @__PURE__ */ p({
|
|
|
15
15
|
props: {
|
|
16
16
|
variant: { default: "default" },
|
|
17
17
|
size: { default: "default" },
|
|
18
|
+
flair: { default: "none" },
|
|
18
19
|
asChild: {
|
|
19
20
|
type: Boolean,
|
|
20
21
|
default: !1
|
|
@@ -52,6 +53,7 @@ var T = /*#__PURE__*/ o(/* @__PURE__ */ p({
|
|
|
52
53
|
}), N = c(() => e(t({
|
|
53
54
|
variant: p.variant,
|
|
54
55
|
size: p.size,
|
|
56
|
+
flair: p.flair,
|
|
55
57
|
effect: p.effect,
|
|
56
58
|
...p.effect === "glitch" ? {
|
|
57
59
|
glitchSpeed: p.glitchSpeed,
|
|
@@ -120,6 +122,6 @@ var T = /*#__PURE__*/ o(/* @__PURE__ */ p({
|
|
|
120
122
|
"aria-expanded"
|
|
121
123
|
]));
|
|
122
124
|
}
|
|
123
|
-
}), [["__scopeId", "data-v-
|
|
125
|
+
}), [["__scopeId", "data-v-11a2f70c"]]);
|
|
124
126
|
//#endregion
|
|
125
127
|
export { T as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./utils-
|
|
2
|
-
import { c as t, r as n } from "./brutal-interaction-variants-
|
|
1
|
+
import { n as e } from "./utils-CLyG8Lfg.js";
|
|
2
|
+
import { c as t, r as n } from "./brutal-interaction-variants-V8gdaai1.js";
|
|
3
3
|
import { x as r } from "./env-BWANtEHP.js";
|
|
4
4
|
import { computed as i, createElementBlock as a, defineComponent as o, normalizeClass as s, openBlock as c, renderSlot as l } from "vue";
|
|
5
5
|
import { cva as u } from "class-variance-authority";
|
|
@@ -35,11 +35,22 @@ var d = u([
|
|
|
35
35
|
sm: "p-3",
|
|
36
36
|
default: "p-5",
|
|
37
37
|
lg: "p-8"
|
|
38
|
+
},
|
|
39
|
+
texture: {
|
|
40
|
+
none: "",
|
|
41
|
+
grid: "bg-pattern-grid",
|
|
42
|
+
dots: "bg-pattern-dots"
|
|
43
|
+
},
|
|
44
|
+
deco: {
|
|
45
|
+
none: "",
|
|
46
|
+
hud: "hud-crosshairs"
|
|
38
47
|
}
|
|
39
48
|
},
|
|
40
49
|
defaultVariants: {
|
|
41
50
|
variant: "default",
|
|
42
|
-
padding: "default"
|
|
51
|
+
padding: "default",
|
|
52
|
+
texture: "none",
|
|
53
|
+
deco: "none"
|
|
43
54
|
}
|
|
44
55
|
}), f = [
|
|
45
56
|
"role",
|
|
@@ -50,6 +61,8 @@ var d = u([
|
|
|
50
61
|
props: {
|
|
51
62
|
variant: { default: "default" },
|
|
52
63
|
padding: { default: "default" },
|
|
64
|
+
texture: { default: void 0 },
|
|
65
|
+
deco: { default: void 0 },
|
|
53
66
|
interactive: {
|
|
54
67
|
type: Boolean,
|
|
55
68
|
default: !1
|
|
@@ -64,7 +77,9 @@ var d = u([
|
|
|
64
77
|
setup(t, { emit: n }) {
|
|
65
78
|
let o = t, u = n, p = i(() => o.interactive || o.variant === "interactive"), m = i(() => e(d({
|
|
66
79
|
variant: o.disabled && o.variant === "interactive" ? "default" : o.variant,
|
|
67
|
-
padding: o.padding
|
|
80
|
+
padding: o.padding,
|
|
81
|
+
texture: o.texture,
|
|
82
|
+
deco: o.deco
|
|
68
83
|
}), o.interactive && !o.disabled && o.variant !== "interactive" && "cursor-pointer hover:shadow-brutal-lg hover:-translate-y-0.5 transition-all", o.class)), h = !1;
|
|
69
84
|
function g(e, t) {
|
|
70
85
|
if (e === t || !(e instanceof Element)) return !1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "./utils-
|
|
1
|
+
import { n as e } from "./utils-CLyG8Lfg.js";
|
|
2
2
|
import { useLocale as t } from "../composables/useLocale.js";
|
|
3
|
-
import {
|
|
3
|
+
import { x as n } from "./defaults-kSu-7Pjp.js";
|
|
4
4
|
import { o as r } from "./env-BWANtEHP.js";
|
|
5
5
|
import { useReducedMotion as i } from "../composables/useReducedMotion.js";
|
|
6
6
|
import { computed as a, createElementBlock as o, createElementVNode as s, defineComponent as c, mergeProps as l, nextTick as u, normalizeClass as d, normalizeStyle as f, onMounted as p, openBlock as m, ref as h, renderSlot as g, unref as _, watch as v } from "vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./utils-
|
|
1
|
+
import { n as e } from "./utils-CLyG8Lfg.js";
|
|
2
2
|
import { computed as t, createElementBlock as n, defineComponent as r, normalizeClass as i, openBlock as a, renderSlot as o } from "vue";
|
|
3
3
|
//#endregion
|
|
4
4
|
//#region src/components/card/CardContent.vue
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./utils-
|
|
1
|
+
import { n as e } from "./utils-CLyG8Lfg.js";
|
|
2
2
|
import { y as t } from "./env-BWANtEHP.js";
|
|
3
3
|
import { computed as n, createBlock as r, createElementBlock as i, defineComponent as a, normalizeClass as o, openBlock as s, renderSlot as c, resolveDynamicComponent as l, withCtx as u } from "vue";
|
|
4
4
|
//#endregion
|