@stacksjs/components 0.2.21 → 0.2.24
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/README.md +36 -92
- package/dist/{Accordion-x2gjedap.stx → Accordion-sbfra0mz.stx} +2 -2
- package/dist/{Audio-0fk6p9tn.stx → Audio-vdmg1258.stx} +1 -1
- package/dist/{Avatar-5m0v0s4x.stx → Avatar-365cvrh4.stx} +1 -1
- package/dist/{Badge-ynes82vv.stx → Badge-8m3qete4.stx} +2 -2
- package/dist/{Breadcrumb-h9n427sk.stx → Breadcrumb-7f7s4d02.stx} +1 -1
- package/dist/{Button-7xtrzn14.stx → Button-3tt4vsqt.stx} +2 -2
- package/dist/{Calendar-egvx1pma.stx → Calendar-58nnkdh8.stx} +5 -5
- package/dist/{Card-r9w7vy1a.stx → Card-6wdbexqr.stx} +2 -2
- package/dist/{Checkbox-m8v46pmx.stx → Checkbox-p3q3e3nf.stx} +1 -1
- package/dist/{Checkout-vcnnr176.stx → Checkout-e4037tyy.stx} +1 -1
- package/dist/{Combobox-npb08vkp.stx → Combobox-th5ebw62.stx} +1 -1
- package/dist/{ComboboxButton-vcdyq4zw.stx → ComboboxButton-8gxwkhdx.stx} +1 -1
- package/dist/{ComboboxInput-c9d2p02m.stx → ComboboxInput-mk99z65n.stx} +1 -1
- package/dist/{ComboboxOption-7d0h9ash.stx → ComboboxOption-an9zyan6.stx} +1 -1
- package/dist/{ComboboxOptions-4dtqc0qa.stx → ComboboxOptions-6b5ywc5x.stx} +1 -1
- package/dist/{CommandPalette-ah00bf8v.stx → CommandPalette-kwmdf2np.stx} +1 -1
- package/dist/{CommandPaletteItem-2yx0gvtj.stx → CommandPaletteItem-zx2fbpts.stx} +1 -1
- package/dist/{DefaultPaymentMethod-emw5fg8s.stx → DefaultPaymentMethod-shhf6aap.stx} +1 -1
- package/dist/{Dialog-1w4rz7x0.stx → Dialog-rgmj8q2j.stx} +1 -1
- package/dist/{DialogBackdrop-qbm3y5ab.stx → DialogBackdrop-rxax3sec.stx} +1 -1
- package/dist/{DialogDescription-01w5j74b.stx → DialogDescription-76prd1m2.stx} +1 -1
- package/dist/{DialogPanel-brsszrrs.stx → DialogPanel-44d8jeqy.stx} +1 -1
- package/dist/{DialogTitle-3rxhwg21.stx → DialogTitle-x0r6k8x9.stx} +1 -1
- package/dist/{Drawer-yfaz8q7f.stx → Drawer-p7m351bn.stx} +3 -3
- package/dist/{Dropdown-ng7nx556.stx → Dropdown-jz4jy0n3.stx} +1 -1
- package/dist/{DropdownButton-vc4zpyrb.stx → DropdownButton-9w8zkfwj.stx} +1 -1
- package/dist/{DropdownItem-z491y23c.stx → DropdownItem-wagdspb8.stx} +1 -1
- package/dist/{DropdownItems-7ykf29sj.stx → DropdownItems-aygjpxkx.stx} +1 -1
- package/dist/{EmailInput-bfshpj92.stx → EmailInput-ajsp9vw6.stx} +1 -1
- package/dist/{Form-z4f7w6r1.stx → Form-1mdmx9b6.stx} +1 -1
- package/dist/{Image-ktk0451c.stx → Image-jhkm6w1f.stx} +1 -1
- package/dist/{Listbox-xcejcmyc.stx → Listbox-pqqh72g8.stx} +1 -1
- package/dist/{ListboxButton-nx5kmw19.stx → ListboxButton-spwx7513.stx} +1 -1
- package/dist/{RadioGroupLabel-aky8a73n.stx → ListboxLabel-7mymt1b8.stx} +1 -1
- package/dist/{ListboxOption-6h4hsdz5.stx → ListboxOption-7nxzaexq.stx} +1 -1
- package/dist/{ListboxOptions-2sacdtm5.stx → ListboxOptions-8kqvfp7z.stx} +1 -1
- package/dist/{Login-s2jkvd9y.stx → Login-rx9gyqhx.stx} +1 -1
- package/dist/{Navigator-tqqdgdkw.stx → Navigator-aay8bjab.stx} +3 -3
- package/dist/{Notification-sry8egea.stx → Notification-gk33gv7b.stx} +1 -1
- package/dist/{NumberInput-zm93ddfw.stx → NumberInput-nzpkx1ry.stx} +3 -3
- package/dist/{Pagination-yza9v4qw.stx → Pagination-h61eq390.stx} +6 -6
- package/dist/{PasswordInput-4xnndp5y.stx → PasswordInput-zv4hm43j.stx} +2 -2
- package/dist/{PaymentMethods-jxba6kek.stx → PaymentMethods-j42jsk5x.stx} +3 -3
- package/dist/{Popover-scbqatjq.stx → Popover-469gbt6r.stx} +1 -1
- package/dist/{PopoverButton-rbxhzj4k.stx → PopoverButton-fnaqc77g.stx} +1 -1
- package/dist/{PopoverPanel-9ng1rm6e.stx → PopoverPanel-y0vtf5w9.stx} +1 -1
- package/dist/{Portal-j111yvqp.stx → Portal-s2q37yp0.stx} +1 -1
- package/dist/{Progress-gbmw3akr.stx → Progress-vmdkm06p.stx} +1 -1
- package/dist/{Radio-1n9qamv1.stx → Radio-04bs3d21.stx} +1 -1
- package/dist/{RadioGroup-12dw2vhk.stx → RadioGroup-bvb1mrhd.stx} +1 -1
- package/dist/{RadioGroupDescription-bjm3mdht.stx → RadioGroupDescription-yej78fak.stx} +1 -1
- package/dist/{ListboxLabel-aky8a73n.stx → RadioGroupLabel-7mymt1b8.stx} +1 -1
- package/dist/{RadioGroupOption-9pcxgwmd.stx → RadioGroupOption-cpdwgnhw.stx} +1 -1
- package/dist/{SearchInput-g240e2nq.stx → SearchInput-2521m475.stx} +1 -1
- package/dist/{Select-p9f94b20.stx → Select-g4mmvfv8.stx} +1 -1
- package/dist/{Sidebar-gwxw8q38.stx → Sidebar-40ckbzh8.stx} +1 -1
- package/dist/{SidebarFooter-887kxret.stx → SidebarFooter-hnth56mg.stx} +1 -1
- package/dist/{SidebarHeader-qjeyx0hv.stx → SidebarHeader-3wrte2p2.stx} +1 -1
- package/dist/{SidebarItem-4dpwtmb4.stx → SidebarItem-zqtvvzpc.stx} +1 -1
- package/dist/{SidebarSection-kh92fk4m.stx → SidebarSection-3etwnbjr.stx} +1 -1
- package/dist/{Signup-3nxq5zag.stx → Signup-c4dyv6f3.stx} +1 -1
- package/dist/{Skeleton-g0nx1njm.stx → Skeleton-v1pwa8nr.stx} +1 -1
- package/dist/{Spinner-w4zj58xp.stx → Spinner-7dahavkd.stx} +1 -1
- package/dist/{Stepper-rwc5actp.stx → Stepper-rgbk76hd.stx} +1 -1
- package/dist/{StepperStep-h0k657nm.stx → StepperStep-en4r00zv.stx} +1 -1
- package/dist/{SubscriptionCheckout-4cbxdg7w.stx → SubscriptionCheckout-gawjzf3q.stx} +2 -2
- package/dist/{Switch-kjq8qd2p.stx → Switch-036j9vm1.stx} +1 -1
- package/dist/{Table-59j9qwp0.stx → Table-6cx8az9h.stx} +1 -1
- package/dist/{TableBody-reka2gwv.stx → TableBody-wf6t13j9.stx} +1 -1
- package/dist/{TableCell-j7nh4sgr.stx → TableCell-ntx0edbn.stx} +1 -1
- package/dist/{TableHead-ecbrwpqm.stx → TableHead-3k4hnm2k.stx} +1 -1
- package/dist/{TableHeader-jn2shwsv.stx → TableHeader-ydys9rzz.stx} +1 -1
- package/dist/{TableRow-xz8rrxhc.stx → TableRow-z09p2ebf.stx} +1 -1
- package/dist/{Tabs-kb6ex6m7.stx → Tabs-svh721m0.stx} +2 -2
- package/dist/{Teleport-819cg9zm.stx → Teleport-qfch3w0b.stx} +1 -1
- package/dist/{TextInput-zx9kgr79.stx → TextInput-k2kfkgy1.stx} +2 -2
- package/dist/{Textarea-5xvmrb0z.stx → Textarea-szad57dz.stx} +1 -1
- package/dist/{Tooltip-5ehqsy49.stx → Tooltip-em7t551n.stx} +1 -1
- package/dist/{Transition-2j39s044.stx → Transition-0hmr6zxb.stx} +1 -1
- package/dist/{TwoFactorChallenge-2q4gg89m.stx → TwoFactorChallenge-an9yvxvq.stx} +2 -2
- package/dist/{Video-6aq4shh4.stx → Video-crxva65p.stx} +1 -1
- package/dist/{VirtualList-weh5qtm1.stx → VirtualList-cndhjejh.stx} +1 -1
- package/dist/{VirtualTable-59a1eskc.stx → VirtualTable-ng0b48yp.stx} +1 -1
- package/dist/components/CodeBlock.stx +12 -0
- package/dist/components/Footer.stx +8 -0
- package/dist/components/Hero.stx +3 -0
- package/dist/components/Installation.stx +5 -0
- package/dist/index.js +9 -9
- package/dist/ui/accordion/Accordion.stx +10 -0
- package/dist/ui/audio/Audio.stx +11 -0
- package/dist/ui/auth/Login.stx +10 -0
- package/dist/ui/auth/Signup.stx +5 -0
- package/dist/ui/auth/TwoFactorChallenge.stx +9 -0
- package/dist/ui/avatar/Avatar.stx +15 -0
- package/dist/ui/badge/Badge.stx +9 -0
- package/dist/ui/breadcrumb/Breadcrumb.stx +9 -0
- package/dist/ui/button/Button.stx +14 -0
- package/dist/ui/button/index.d.ts +2 -2
- package/dist/ui/calendar/Calendar.stx +10 -0
- package/dist/ui/card/Card.stx +12 -0
- package/dist/ui/checkbox/Checkbox.stx +15 -0
- package/dist/ui/combobox/Combobox.stx +4 -0
- package/dist/ui/combobox/ComboboxButton.stx +2 -0
- package/dist/ui/combobox/ComboboxInput.stx +8 -0
- package/dist/ui/combobox/ComboboxOption.stx +13 -0
- package/dist/ui/combobox/ComboboxOptions.stx +3 -0
- package/dist/ui/command-palette/CommandPalette.stx +8 -0
- package/dist/ui/command-palette/CommandPaletteItem.stx +8 -0
- package/dist/ui/dialog/Dialog.stx +5 -0
- package/dist/ui/dialog/DialogBackdrop.stx +2 -0
- package/dist/ui/dialog/DialogDescription.stx +2 -0
- package/dist/ui/dialog/DialogPanel.stx +2 -0
- package/dist/ui/dialog/DialogTitle.stx +2 -0
- package/dist/ui/drawer/Drawer.stx +9 -0
- package/dist/ui/dropdown/Dropdown.stx +7 -0
- package/dist/ui/dropdown/DropdownButton.stx +6 -0
- package/dist/ui/dropdown/DropdownItem.stx +10 -0
- package/dist/ui/dropdown/DropdownItems.stx +3 -0
- package/dist/ui/form/Form.stx +11 -0
- package/dist/ui/form/index.d.ts +2 -2
- package/dist/ui/image/Image.stx +26 -0
- package/dist/ui/input/EmailInput.stx +11 -0
- package/dist/ui/input/NumberInput.stx +19 -0
- package/dist/ui/input/PasswordInput.stx +19 -0
- package/dist/ui/input/SearchInput.stx +12 -0
- package/dist/ui/input/TextInput.stx +22 -0
- package/dist/ui/input/index.d.ts +6 -6
- package/dist/ui/listbox/Listbox.stx +5 -0
- package/dist/ui/listbox/ListboxButton.stx +3 -0
- package/dist/ui/listbox/ListboxLabel.stx +2 -0
- package/dist/ui/listbox/ListboxOption.stx +13 -0
- package/dist/ui/listbox/ListboxOptions.stx +3 -0
- package/dist/ui/navigator/Navigator.stx +8 -0
- package/dist/ui/notification/Notification.stx +12 -0
- package/dist/ui/pagination/Pagination.stx +12 -0
- package/dist/ui/payment/Checkout.stx +13 -0
- package/dist/ui/payment/DefaultPaymentMethod.stx +4 -0
- package/dist/ui/payment/PaymentMethods.stx +6 -0
- package/dist/ui/payment/SubscriptionCheckout.stx +191 -0
- package/dist/ui/popover/Popover.stx +7 -0
- package/dist/ui/popover/PopoverButton.stx +6 -0
- package/dist/ui/popover/PopoverPanel.stx +4 -0
- package/dist/ui/portal/Portal.stx +2 -0
- package/dist/ui/progress/Progress.stx +14 -0
- package/dist/ui/radio/Radio.stx +14 -0
- package/dist/ui/radio-group/RadioGroup.stx +4 -0
- package/dist/ui/radio-group/RadioGroupDescription.stx +2 -0
- package/dist/ui/radio-group/RadioGroupLabel.stx +2 -0
- package/dist/ui/radio-group/RadioGroupOption.stx +13 -0
- package/dist/ui/select/Select.stx +14 -0
- package/dist/ui/sidebar/Sidebar.stx +33 -0
- package/dist/ui/sidebar/SidebarFooter.stx +27 -0
- package/dist/ui/sidebar/SidebarHeader.stx +26 -0
- package/dist/ui/sidebar/SidebarItem.stx +28 -0
- package/dist/ui/sidebar/SidebarSection.stx +25 -0
- package/dist/ui/skeleton/Skeleton.stx +9 -0
- package/dist/ui/spinner/Spinner.stx +9 -0
- package/dist/ui/stepper/Stepper.stx +4 -0
- package/dist/ui/stepper/StepperStep.stx +12 -0
- package/dist/ui/switch/Switch.stx +15 -0
- package/dist/ui/table/Table.stx +3 -0
- package/dist/ui/table/TableBody.stx +1 -0
- package/dist/ui/table/TableCell.stx +1 -0
- package/dist/ui/table/TableHead.stx +1 -0
- package/dist/ui/table/TableHeader.stx +3 -0
- package/dist/ui/table/TableRow.stx +2 -0
- package/dist/ui/tabs/Tabs.stx +9 -0
- package/dist/ui/teleport/Teleport.stx +3 -0
- package/dist/ui/textarea/Textarea.stx +18 -0
- package/dist/ui/tooltip/Tooltip.stx +9 -0
- package/dist/ui/transition/Transition.stx +27 -0
- package/dist/ui/video/Video.stx +15 -0
- package/dist/ui/virtual-list/VirtualList.stx +9 -0
- package/dist/ui/virtual-table/VirtualTable.stx +16 -0
- package/dist/utils/accessibility.d.ts +10 -25
- package/dist/utils/animation/easing.d.ts +75 -0
- package/dist/utils/error-handling.d.ts +8 -21
- package/dist/utils/i18n.d.ts +36 -86
- package/package.json +5 -3
- package/src/ui/accordion/Accordion.stx +2 -2
- package/src/ui/audio/Audio.stx +1 -1
- package/src/ui/audio/README.md +5 -6
- package/src/ui/auth/Login.stx +1 -1
- package/src/ui/auth/README.md +30 -33
- package/src/ui/auth/Signup.stx +1 -1
- package/src/ui/auth/TwoFactorChallenge.stx +2 -2
- package/src/ui/avatar/Avatar.stx +1 -1
- package/src/ui/badge/Badge.stx +2 -2
- package/src/ui/breadcrumb/Breadcrumb.stx +1 -1
- package/src/ui/button/Button.stx +2 -2
- package/src/ui/button/README.md +12 -32
- package/src/ui/calendar/Calendar.stx +5 -5
- package/src/ui/card/Card.stx +2 -2
- package/src/ui/checkbox/Checkbox.stx +1 -1
- package/src/ui/combobox/Combobox.stx +1 -1
- package/src/ui/combobox/ComboboxButton.stx +1 -1
- package/src/ui/combobox/ComboboxInput.stx +1 -1
- package/src/ui/combobox/ComboboxOption.stx +1 -1
- package/src/ui/combobox/ComboboxOptions.stx +1 -1
- package/src/ui/combobox/README.md +25 -29
- package/src/ui/command-palette/CommandPalette.stx +1 -1
- package/src/ui/command-palette/CommandPaletteItem.stx +1 -1
- package/src/ui/command-palette/README.md +8 -8
- package/src/ui/dialog/Dialog.stx +1 -1
- package/src/ui/dialog/DialogBackdrop.stx +1 -1
- package/src/ui/dialog/DialogDescription.stx +1 -1
- package/src/ui/dialog/DialogPanel.stx +1 -1
- package/src/ui/dialog/DialogTitle.stx +1 -1
- package/src/ui/dialog/README.md +26 -38
- package/src/ui/drawer/Drawer.stx +3 -3
- package/src/ui/drawer/README.md +13 -33
- package/src/ui/dropdown/Dropdown.stx +1 -1
- package/src/ui/dropdown/DropdownButton.stx +1 -1
- package/src/ui/dropdown/DropdownItem.stx +1 -1
- package/src/ui/dropdown/DropdownItems.stx +1 -1
- package/src/ui/dropdown/README.md +28 -56
- package/src/ui/form/Form.stx +1 -1
- package/src/ui/image/Image.stx +1 -1
- package/src/ui/image/README.md +45 -52
- package/src/ui/input/EmailInput.stx +1 -1
- package/src/ui/input/NumberInput.stx +3 -3
- package/src/ui/input/PasswordInput.stx +2 -2
- package/src/ui/input/SearchInput.stx +1 -1
- package/src/ui/input/TextInput.stx +2 -2
- package/src/ui/listbox/Listbox.stx +1 -1
- package/src/ui/listbox/ListboxButton.stx +1 -1
- package/src/ui/listbox/ListboxLabel.stx +1 -1
- package/src/ui/listbox/ListboxOption.stx +1 -1
- package/src/ui/listbox/ListboxOptions.stx +1 -1
- package/src/ui/listbox/README.md +21 -29
- package/src/ui/navigator/Navigator.stx +3 -3
- package/src/ui/notification/Notification.stx +1 -1
- package/src/ui/notification/README.md +28 -32
- package/src/ui/pagination/Pagination.stx +6 -6
- package/src/ui/payment/Checkout.stx +1 -1
- package/src/ui/payment/DefaultPaymentMethod.stx +1 -1
- package/src/ui/payment/PaymentMethods.stx +3 -3
- package/src/ui/payment/README.md +59 -141
- package/src/ui/payment/SubscriptionCheckout.stx +2 -2
- package/src/ui/popover/Popover.stx +1 -1
- package/src/ui/popover/PopoverButton.stx +1 -1
- package/src/ui/popover/PopoverPanel.stx +1 -1
- package/src/ui/popover/README.md +10 -14
- package/src/ui/portal/Portal.stx +1 -1
- package/src/ui/progress/Progress.stx +1 -1
- package/src/ui/radio/Radio.stx +1 -1
- package/src/ui/radio-group/README.md +29 -35
- package/src/ui/radio-group/RadioGroup.stx +1 -1
- package/src/ui/radio-group/RadioGroupDescription.stx +1 -1
- package/src/ui/radio-group/RadioGroupLabel.stx +1 -1
- package/src/ui/radio-group/RadioGroupOption.stx +1 -1
- package/src/ui/select/README.md +49 -73
- package/src/ui/select/Select.stx +1 -1
- package/src/ui/sidebar/Sidebar.stx +1 -1
- package/src/ui/sidebar/SidebarFooter.stx +1 -1
- package/src/ui/sidebar/SidebarHeader.stx +1 -1
- package/src/ui/sidebar/SidebarItem.stx +1 -1
- package/src/ui/sidebar/SidebarSection.stx +1 -1
- package/src/ui/skeleton/Skeleton.stx +1 -1
- package/src/ui/spinner/Spinner.stx +1 -1
- package/src/ui/stepper/README.md +8 -8
- package/src/ui/stepper/Stepper.stx +1 -1
- package/src/ui/stepper/StepperStep.stx +1 -1
- package/src/ui/switch/README.md +10 -29
- package/src/ui/switch/Switch.stx +1 -1
- package/src/ui/table/README.md +17 -17
- package/src/ui/table/Table.stx +1 -1
- package/src/ui/table/TableBody.stx +1 -1
- package/src/ui/table/TableCell.stx +1 -1
- package/src/ui/table/TableHead.stx +1 -1
- package/src/ui/table/TableHeader.stx +1 -1
- package/src/ui/table/TableRow.stx +1 -1
- package/src/ui/tabs/Tabs.stx +2 -2
- package/src/ui/teleport/Teleport.stx +1 -1
- package/src/ui/textarea/Textarea.stx +1 -1
- package/src/ui/tooltip/Tooltip.stx +1 -1
- package/src/ui/transition/README.md +4 -4
- package/src/ui/transition/Transition.stx +1 -1
- package/src/ui/video/README.md +7 -8
- package/src/ui/video/Video.stx +1 -1
- package/src/ui/virtual-list/VirtualList.stx +1 -1
- package/src/ui/virtual-table/VirtualTable.stx +1 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sidebar Component - macOS Native Style
|
|
3
|
+
*
|
|
4
|
+
* A native-feeling sidebar component that integrates with Craft for true native rendering
|
|
5
|
+
* when running in a Craft desktop environment, with beautiful macOS Tahoe-style fallback
|
|
6
|
+
* for web environments.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* <Sidebar
|
|
10
|
+
* :sections="sections"
|
|
11
|
+
* :collapsed="false"
|
|
12
|
+
* :width="240"
|
|
13
|
+
* variant="tahoe"
|
|
14
|
+
* >
|
|
15
|
+
* <template #header>
|
|
16
|
+
* <SidebarHeader title="My App" />
|
|
17
|
+
* </template>
|
|
18
|
+
* <template #footer>
|
|
19
|
+
* <SidebarFooter />
|
|
20
|
+
* </template>
|
|
21
|
+
* </Sidebar>
|
|
22
|
+
*/
|
|
23
|
+
// Props
|
|
24
|
+
export declare const sections: unknown;
|
|
25
|
+
export declare const collapsed: unknown;
|
|
26
|
+
export declare const collapsible: unknown;
|
|
27
|
+
export declare const width: unknown;
|
|
28
|
+
export declare const minWidth: unknown;
|
|
29
|
+
export declare const variant: unknown;
|
|
30
|
+
export declare const className: unknown;
|
|
31
|
+
export declare const onCollapse: unknown;
|
|
32
|
+
export declare const onSectionToggle: unknown;
|
|
33
|
+
export declare const onItemClick: unknown;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SidebarFooter Component
|
|
3
|
+
*
|
|
4
|
+
* A footer component for the sidebar with quick actions and settings.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* <SidebarFooter
|
|
8
|
+
* :showSettings="true"
|
|
9
|
+
* :showThemeToggle="true"
|
|
10
|
+
* settingsHref="/settings"
|
|
11
|
+
* />
|
|
12
|
+
*/
|
|
13
|
+
// Props
|
|
14
|
+
export declare const showSettings: unknown;
|
|
15
|
+
export declare const showThemeToggle: unknown;
|
|
16
|
+
export declare const settingsHref: unknown;
|
|
17
|
+
export declare const settingsLabel: unknown;
|
|
18
|
+
export declare const collapsed: unknown;
|
|
19
|
+
export declare const onThemeToggle: unknown;
|
|
20
|
+
// Quick action items
|
|
21
|
+
export declare const actions: unknown;
|
|
22
|
+
declare type = "button";
|
|
23
|
+
declare type = "button";
|
|
24
|
+
declare class AnonymousClass {}
|
|
25
|
+
declare class AnonymousClass {}
|
|
26
|
+
declare class AnonymousClass {}
|
|
27
|
+
declare class AnonymousClass {}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SidebarHeader Component
|
|
3
|
+
*
|
|
4
|
+
* A header component for the sidebar with logo, title, and optional search.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* <SidebarHeader
|
|
8
|
+
* title="My App"
|
|
9
|
+
* subtitle="Professional"
|
|
10
|
+
* :showSearch="true"
|
|
11
|
+
* />
|
|
12
|
+
*/
|
|
13
|
+
// Props
|
|
14
|
+
export declare const title: unknown;
|
|
15
|
+
export declare const subtitle: unknown;
|
|
16
|
+
export declare const logo: unknown;
|
|
17
|
+
export declare const logoIcon: unknown;
|
|
18
|
+
export declare const showSearch: unknown;
|
|
19
|
+
export declare const searchPlaceholder: unknown;
|
|
20
|
+
export declare const searchValue: unknown;
|
|
21
|
+
export declare const collapsed: unknown;
|
|
22
|
+
export declare const onSearch: unknown;
|
|
23
|
+
declare type = "text"
|
|
24
|
+
placeholder="{{ searchPlaceholder }}"
|
|
25
|
+
value="{{ searchValue }}";
|
|
26
|
+
declare class AnonymousClass {}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SidebarItem Component
|
|
3
|
+
*
|
|
4
|
+
* An individual navigation item within a sidebar section.
|
|
5
|
+
* Supports icons, badges, active states, and keyboard navigation.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* <SidebarItem
|
|
9
|
+
* id="home"
|
|
10
|
+
* label="Home"
|
|
11
|
+
* icon="i-hugeicons-home-02"
|
|
12
|
+
* href="/"
|
|
13
|
+
* :active="true"
|
|
14
|
+
* />
|
|
15
|
+
*/
|
|
16
|
+
// Props
|
|
17
|
+
export declare const id: unknown;
|
|
18
|
+
export declare const label: unknown;
|
|
19
|
+
export declare const icon: unknown;
|
|
20
|
+
export declare const href: unknown;
|
|
21
|
+
export declare const badge: unknown;
|
|
22
|
+
export declare const active: unknown;
|
|
23
|
+
export declare const disabled: unknown;
|
|
24
|
+
export declare const indent: unknown;
|
|
25
|
+
export declare const onClick: unknown;
|
|
26
|
+
declare type = "button";
|
|
27
|
+
declare class AnonymousClass {}
|
|
28
|
+
declare class AnonymousClass {}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SidebarSection Component
|
|
3
|
+
*
|
|
4
|
+
* A collapsible section within the sidebar containing navigation items.
|
|
5
|
+
* Follows macOS Finder sidebar conventions.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* <SidebarSection
|
|
9
|
+
* id="favorites"
|
|
10
|
+
* label="Favorites"
|
|
11
|
+
* icon="i-hugeicons-star"
|
|
12
|
+
* :items="favoriteItems"
|
|
13
|
+
* :expanded="true"
|
|
14
|
+
* />
|
|
15
|
+
*/
|
|
16
|
+
// Props
|
|
17
|
+
export declare const id: unknown;
|
|
18
|
+
export declare const label: unknown;
|
|
19
|
+
export declare const icon: unknown;
|
|
20
|
+
export declare const items: unknown;
|
|
21
|
+
export declare const expanded: unknown;
|
|
22
|
+
export declare const collapsible: unknown;
|
|
23
|
+
export declare const showLabel: unknown;
|
|
24
|
+
export declare const onToggle: unknown;
|
|
25
|
+
export declare const onItemClick: unknown;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const variant: unknown;
|
|
2
|
+
export declare const count: unknown;
|
|
3
|
+
export declare const width: unknown;
|
|
4
|
+
export declare const height: unknown;
|
|
5
|
+
export declare const circle: unknown;
|
|
6
|
+
export declare const className: unknown;
|
|
7
|
+
export declare const animate: unknown;
|
|
8
|
+
export declare const skeletonClasses: unknown;
|
|
9
|
+
export declare const containerClasses: unknown;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const variant: unknown;
|
|
2
|
+
export declare const size: unknown;
|
|
3
|
+
export declare const color: unknown;
|
|
4
|
+
export declare const label: unknown;
|
|
5
|
+
export declare const className: unknown;
|
|
6
|
+
export declare const containerClasses: unknown;
|
|
7
|
+
export declare const spinnerClasses: unknown;
|
|
8
|
+
export declare const labelClasses: unknown;
|
|
9
|
+
export declare const dotClasses: unknown;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare function handleClick(): void;
|
|
2
|
+
export declare const stepNumber: unknown;
|
|
3
|
+
export declare const currentStep: unknown;
|
|
4
|
+
export declare const label: unknown;
|
|
5
|
+
export declare const description: unknown;
|
|
6
|
+
export declare const className: unknown;
|
|
7
|
+
export declare const as: unknown;
|
|
8
|
+
export declare const onClick: unknown;
|
|
9
|
+
export declare const isComplete: unknown;
|
|
10
|
+
declare type = "button"
|
|
11
|
+
@click="handleClick";
|
|
12
|
+
declare class AnonymousClass {}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Toggle function
|
|
2
|
+
export declare function toggle(): void;
|
|
3
|
+
export declare const checked: unknown;
|
|
4
|
+
export declare const disabled: unknown;
|
|
5
|
+
export declare const size: unknown;
|
|
6
|
+
export declare const className: unknown;
|
|
7
|
+
export declare const onChange: unknown;
|
|
8
|
+
export declare const label: unknown;
|
|
9
|
+
export declare const trackClasses: unknown;
|
|
10
|
+
export declare const thumbClasses: unknown;
|
|
11
|
+
declare type = "button"
|
|
12
|
+
role="switch"
|
|
13
|
+
aria-checked="{{ checked ? 'true' : 'false' }}";
|
|
14
|
+
declare class AnonymousClass {}
|
|
15
|
+
declare class AnonymousClass {}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const className: unknown;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const className: unknown;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const className: unknown;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const tabs: unknown;
|
|
2
|
+
export declare const defaultTab: unknown;
|
|
3
|
+
export declare const orientation: unknown;
|
|
4
|
+
export declare const variant: unknown;
|
|
5
|
+
export declare const className: unknown;
|
|
6
|
+
export declare const onChange: unknown;
|
|
7
|
+
export declare const containerClasses: unknown;
|
|
8
|
+
export declare const tabListClasses: unknown;
|
|
9
|
+
export declare const tabPanelClasses: unknown;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const value: unknown;
|
|
2
|
+
export declare const onChange: () => unknown;
|
|
3
|
+
export declare const placeholder: unknown;
|
|
4
|
+
export declare const disabled: unknown;
|
|
5
|
+
export declare const readonly: unknown;
|
|
6
|
+
export declare const rows: unknown;
|
|
7
|
+
export declare const autoResize: unknown;
|
|
8
|
+
export declare const maxRows: unknown;
|
|
9
|
+
export declare const error: unknown;
|
|
10
|
+
export declare const label: unknown;
|
|
11
|
+
export declare const helperText: unknown;
|
|
12
|
+
export declare const required: unknown;
|
|
13
|
+
export declare const maxLength: unknown;
|
|
14
|
+
export declare const showCount: unknown;
|
|
15
|
+
export declare const resize: unknown;
|
|
16
|
+
export declare const textareaClasses: unknown;
|
|
17
|
+
export declare const labelClasses: unknown;
|
|
18
|
+
export declare const helperClasses: () => unknown;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const content: unknown;
|
|
2
|
+
export declare const position: unknown;
|
|
3
|
+
export declare const delay: unknown;
|
|
4
|
+
export declare const className: unknown;
|
|
5
|
+
export declare const show: unknown;
|
|
6
|
+
export declare const disabled: unknown;
|
|
7
|
+
export declare const tooltipClasses: unknown;
|
|
8
|
+
export declare const arrowClass: unknown;
|
|
9
|
+
declare class AnonymousClass {}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const show: unknown;
|
|
2
|
+
export declare const enter: unknown;
|
|
3
|
+
export declare const enterFrom: unknown;
|
|
4
|
+
export declare const enterTo: unknown;
|
|
5
|
+
export declare const leave: unknown;
|
|
6
|
+
export declare const leaveFrom: unknown;
|
|
7
|
+
export declare const leaveTo: unknown;
|
|
8
|
+
export declare const appear: unknown;
|
|
9
|
+
export declare const appearFrom: unknown;
|
|
10
|
+
export declare const appearTo: unknown;
|
|
11
|
+
export declare const mode: unknown;
|
|
12
|
+
export declare const delay: unknown;
|
|
13
|
+
export declare const preset: unknown;
|
|
14
|
+
export declare const onBeforeEnter: unknown;
|
|
15
|
+
export declare const onEnter: unknown;
|
|
16
|
+
export declare const onAfterEnter: unknown;
|
|
17
|
+
export declare const onBeforeLeave: unknown;
|
|
18
|
+
export declare const onLeave: unknown;
|
|
19
|
+
export declare const onAfterLeave: unknown;
|
|
20
|
+
export declare const className: unknown;
|
|
21
|
+
/** @defaultValue false */
|
|
22
|
+
export declare let isEntering: boolean;
|
|
23
|
+
/** @defaultValue false */
|
|
24
|
+
export declare let isLeaving: boolean;
|
|
25
|
+
export declare let shouldRender: unknown;
|
|
26
|
+
/** @defaultValue false */
|
|
27
|
+
export declare let hasAppeared: boolean;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const src: unknown;
|
|
2
|
+
export declare const poster: unknown;
|
|
3
|
+
export declare const autoplay: unknown;
|
|
4
|
+
export declare const loop: unknown;
|
|
5
|
+
export declare const muted: unknown;
|
|
6
|
+
export declare const controls: unknown;
|
|
7
|
+
export declare const preload: unknown;
|
|
8
|
+
export declare const width: unknown;
|
|
9
|
+
export declare const height: unknown;
|
|
10
|
+
export declare const aspectRatio: unknown;
|
|
11
|
+
export declare const className: unknown;
|
|
12
|
+
export declare const title: unknown;
|
|
13
|
+
export declare const containerClasses: unknown;
|
|
14
|
+
export declare const videoClasses: 'w-full h-full object-cover bg-gray-900 dark:bg-gray-950';
|
|
15
|
+
export declare const aspectRatioClass: unknown;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const items: unknown;
|
|
2
|
+
export declare const itemHeight: unknown;
|
|
3
|
+
export declare const height: unknown;
|
|
4
|
+
export declare const overscan: unknown;
|
|
5
|
+
export declare const renderItem: unknown;
|
|
6
|
+
export declare const className: unknown;
|
|
7
|
+
export declare const containerClasses: unknown;
|
|
8
|
+
export declare const innerClasses: unknown;
|
|
9
|
+
export declare const itemClasses: () => unknown;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const columns: unknown;
|
|
2
|
+
export declare const data: unknown;
|
|
3
|
+
export declare const rowHeight: unknown;
|
|
4
|
+
export declare const height: unknown;
|
|
5
|
+
export declare const headerHeight: unknown;
|
|
6
|
+
export declare const overscan: unknown;
|
|
7
|
+
export declare const striped: unknown;
|
|
8
|
+
export declare const hoverable: unknown;
|
|
9
|
+
export declare const className: unknown;
|
|
10
|
+
export declare const containerClasses: unknown;
|
|
11
|
+
export declare const headerClasses: unknown;
|
|
12
|
+
export declare const headerCellClasses: unknown;
|
|
13
|
+
export declare const bodyClasses: unknown;
|
|
14
|
+
export declare const innerClasses: unknown;
|
|
15
|
+
export declare const rowClasses: unknown;
|
|
16
|
+
export declare const cellClasses: () => unknown;
|
|
@@ -106,63 +106,48 @@ export declare const KeyboardKeys: {
|
|
|
106
106
|
};
|
|
107
107
|
/**
|
|
108
108
|
* ARIA attribute helpers
|
|
109
|
-
* @defaultValue
|
|
110
|
-
* ```ts
|
|
111
|
-
* {
|
|
112
|
-
* setExpanded: (element: HTMLElement, expanded: boolean) => unknown,
|
|
113
|
-
* setSelected: (element: HTMLElement, selected: boolean) => unknown,
|
|
114
|
-
* setChecked: (element: HTMLElement, checked: boolean | 'mixed') => unknown,
|
|
115
|
-
* setDisabled: (element: HTMLElement, disabled: boolean) => unknown,
|
|
116
|
-
* setHidden: (element: HTMLElement, hidden: boolean) => unknown,
|
|
117
|
-
* setPressed: (element: HTMLElement, pressed: boolean) => unknown,
|
|
118
|
-
* setInvalid: (element: HTMLElement, invalid: boolean) => unknown,
|
|
119
|
-
* setRequired: (element: HTMLElement, required: boolean) => unknown,
|
|
120
|
-
* setLive: (element: HTMLElement, live: AriaLive) => unknown,
|
|
121
|
-
* setBusy: (element: HTMLElement, busy: boolean) => unknown
|
|
122
|
-
* }
|
|
123
|
-
* ```
|
|
124
109
|
*/
|
|
125
110
|
export declare const aria: {
|
|
126
111
|
/**
|
|
127
112
|
* Set aria-expanded attribute
|
|
128
113
|
*/
|
|
129
|
-
setExpanded: (element: HTMLElement, expanded: boolean) =>
|
|
114
|
+
setExpanded: (element: HTMLElement, expanded: boolean) => void;
|
|
130
115
|
/**
|
|
131
116
|
* Set aria-selected attribute
|
|
132
117
|
*/
|
|
133
|
-
setSelected: (element: HTMLElement, selected: boolean) =>
|
|
118
|
+
setSelected: (element: HTMLElement, selected: boolean) => void;
|
|
134
119
|
/**
|
|
135
120
|
* Set aria-checked attribute
|
|
136
121
|
*/
|
|
137
|
-
setChecked: (element: HTMLElement, checked: boolean | 'mixed') =>
|
|
122
|
+
setChecked: (element: HTMLElement, checked: boolean | 'mixed') => void;
|
|
138
123
|
/**
|
|
139
124
|
* Set aria-disabled attribute
|
|
140
125
|
*/
|
|
141
|
-
setDisabled: (element: HTMLElement, disabled: boolean) =>
|
|
126
|
+
setDisabled: (element: HTMLElement, disabled: boolean) => void;
|
|
142
127
|
/**
|
|
143
128
|
* Set aria-hidden attribute
|
|
144
129
|
*/
|
|
145
|
-
setHidden: (element: HTMLElement, hidden: boolean) =>
|
|
130
|
+
setHidden: (element: HTMLElement, hidden: boolean) => void;
|
|
146
131
|
/**
|
|
147
132
|
* Set aria-pressed attribute (for toggle buttons)
|
|
148
133
|
*/
|
|
149
|
-
setPressed: (element: HTMLElement, pressed: boolean) =>
|
|
134
|
+
setPressed: (element: HTMLElement, pressed: boolean) => void;
|
|
150
135
|
/**
|
|
151
136
|
* Set aria-invalid attribute
|
|
152
137
|
*/
|
|
153
|
-
setInvalid: (element: HTMLElement, invalid: boolean) =>
|
|
138
|
+
setInvalid: (element: HTMLElement, invalid: boolean) => void;
|
|
154
139
|
/**
|
|
155
140
|
* Set aria-required attribute
|
|
156
141
|
*/
|
|
157
|
-
setRequired: (element: HTMLElement, required: boolean) =>
|
|
142
|
+
setRequired: (element: HTMLElement, required: boolean) => void;
|
|
158
143
|
/**
|
|
159
144
|
* Set aria-live region
|
|
160
145
|
*/
|
|
161
|
-
setLive: (element: HTMLElement, live: AriaLive) =>
|
|
146
|
+
setLive: (element: HTMLElement, live: AriaLive) => void;
|
|
162
147
|
/**
|
|
163
148
|
* Set aria-busy attribute
|
|
164
149
|
*/
|
|
165
|
-
setBusy: (element: HTMLElement, busy: boolean) =>
|
|
150
|
+
setBusy: (element: HTMLElement, busy: boolean) => void
|
|
166
151
|
};
|
|
167
152
|
/**
|
|
168
153
|
* Focus trap options
|
|
@@ -14,6 +14,81 @@ export declare const easeOutQuad: EasingFunction;
|
|
|
14
14
|
* Quadratic ease-in-out - acceleration until halfway, then deceleration
|
|
15
15
|
*/
|
|
16
16
|
export declare const easeInOutQuad: EasingFunction;
|
|
17
|
+
// Cubic
|
|
18
|
+
export declare const easeInCubic: EasingFunction;
|
|
19
|
+
export declare const easeOutCubic: EasingFunction;
|
|
20
|
+
export declare const easeInOutCubic: EasingFunction;
|
|
21
|
+
// Quartic
|
|
22
|
+
export declare const easeInQuart: EasingFunction;
|
|
23
|
+
export declare const easeOutQuart: EasingFunction;
|
|
24
|
+
export declare const easeInOutQuart: EasingFunction;
|
|
25
|
+
// Quintic
|
|
26
|
+
export declare const easeInQuint: EasingFunction;
|
|
27
|
+
export declare const easeOutQuint: EasingFunction;
|
|
28
|
+
export declare const easeInOutQuint: EasingFunction;
|
|
29
|
+
// Sinusoidal
|
|
30
|
+
export declare const easeInSine: EasingFunction;
|
|
31
|
+
export declare const easeOutSine: EasingFunction;
|
|
32
|
+
export declare const easeInOutSine: EasingFunction;
|
|
33
|
+
// Exponential
|
|
34
|
+
export declare const easeInExpo: EasingFunction;
|
|
35
|
+
export declare const easeOutExpo: EasingFunction;
|
|
36
|
+
export declare const easeInOutExpo: EasingFunction;
|
|
37
|
+
// Circular
|
|
38
|
+
export declare const easeInCirc: EasingFunction;
|
|
39
|
+
export declare const easeOutCirc: EasingFunction;
|
|
40
|
+
export declare const easeInOutCirc: EasingFunction;
|
|
41
|
+
// Elastic
|
|
42
|
+
export declare const easeInElastic: EasingFunction;
|
|
43
|
+
export declare const easeOutElastic: EasingFunction;
|
|
44
|
+
export declare const easeInOutElastic: EasingFunction;
|
|
45
|
+
// Back
|
|
46
|
+
export declare const easeInBack: EasingFunction;
|
|
47
|
+
export declare const easeOutBack: EasingFunction;
|
|
48
|
+
export declare const easeInOutBack: EasingFunction;
|
|
49
|
+
// Bounce
|
|
50
|
+
export declare const easeOutBounce: EasingFunction;
|
|
51
|
+
export declare const easeInBounce: EasingFunction;
|
|
52
|
+
export declare const easeInOutBounce: EasingFunction;
|
|
53
|
+
/**
|
|
54
|
+
* Object containing all easing functions
|
|
55
|
+
*
|
|
56
|
+
* Available easings: Linear, Quad, Cubic, Quart, Quint, Sine, Expo, Circ, Elastic, Back, Bounce
|
|
57
|
+
* Each with In, Out, InOut variants (except Linear)
|
|
58
|
+
*/
|
|
59
|
+
export declare const Easing: {
|
|
60
|
+
linear: EasingFunction
|
|
61
|
+
easeInQuad: EasingFunction
|
|
62
|
+
easeOutQuad: EasingFunction
|
|
63
|
+
easeInOutQuad: EasingFunction
|
|
64
|
+
easeInCubic: EasingFunction
|
|
65
|
+
easeOutCubic: EasingFunction
|
|
66
|
+
easeInOutCubic: EasingFunction
|
|
67
|
+
easeInQuart: EasingFunction
|
|
68
|
+
easeOutQuart: EasingFunction
|
|
69
|
+
easeInOutQuart: EasingFunction
|
|
70
|
+
easeInQuint: EasingFunction
|
|
71
|
+
easeOutQuint: EasingFunction
|
|
72
|
+
easeInOutQuint: EasingFunction
|
|
73
|
+
easeInSine: EasingFunction
|
|
74
|
+
easeOutSine: EasingFunction
|
|
75
|
+
easeInOutSine: EasingFunction
|
|
76
|
+
easeInExpo: EasingFunction
|
|
77
|
+
easeOutExpo: EasingFunction
|
|
78
|
+
easeInOutExpo: EasingFunction
|
|
79
|
+
easeInCirc: EasingFunction
|
|
80
|
+
easeOutCirc: EasingFunction
|
|
81
|
+
easeInOutCirc: EasingFunction
|
|
82
|
+
easeInElastic: EasingFunction
|
|
83
|
+
easeOutElastic: EasingFunction
|
|
84
|
+
easeInOutElastic: EasingFunction
|
|
85
|
+
easeInBack: EasingFunction
|
|
86
|
+
easeOutBack: EasingFunction
|
|
87
|
+
easeInOutBack: EasingFunction
|
|
88
|
+
easeInBounce: EasingFunction
|
|
89
|
+
easeOutBounce: EasingFunction
|
|
90
|
+
easeInOutBounce: EasingFunction
|
|
91
|
+
};
|
|
17
92
|
/**
|
|
18
93
|
* Easing functions for smooth animations
|
|
19
94
|
*
|
|
@@ -108,53 +108,40 @@ export declare function createDebugger(component: string): {
|
|
|
108
108
|
export declare function errorBoundary<T>(component: string, renderFn: () => T, fallback: T): T;
|
|
109
109
|
/**
|
|
110
110
|
* Error types for common scenarios
|
|
111
|
-
* @defaultValue
|
|
112
|
-
* ```ts
|
|
113
|
-
* {
|
|
114
|
-
* invalidProp: (component: string, prop: string, received: any, expected: any) => unknown,
|
|
115
|
-
* requiredProp: (component: string, prop: string) => unknown,
|
|
116
|
-
* invalidType: (component: string, prop: string, received: any, expected: string) => unknown,
|
|
117
|
-
* componentNotFound: (componentName: string) => unknown,
|
|
118
|
-
* invalidChildren: (component: string, received: any, expected: string) => unknown,
|
|
119
|
-
* stateUpdate: (component: string, stateName: string, error: Error) => unknown,
|
|
120
|
-
* eventHandler: (component: string, eventName: string, error: Error) => unknown,
|
|
121
|
-
* render: (component: string, error: Error) => unknown
|
|
122
|
-
* }
|
|
123
|
-
* ```
|
|
124
111
|
*/
|
|
125
112
|
export declare const ErrorTypes: {
|
|
126
113
|
/**
|
|
127
114
|
* Invalid prop value error
|
|
128
115
|
*/
|
|
129
|
-
invalidProp: (component: string, prop: string, received: any, expected: any) =>
|
|
116
|
+
invalidProp: (component: string, prop: string, received: any, expected: any) => ComponentError;
|
|
130
117
|
/**
|
|
131
118
|
* Required prop missing error
|
|
132
119
|
*/
|
|
133
|
-
requiredProp: (component: string, prop: string) =>
|
|
120
|
+
requiredProp: (component: string, prop: string) => ComponentError;
|
|
134
121
|
/**
|
|
135
122
|
* Invalid prop type error
|
|
136
123
|
*/
|
|
137
|
-
invalidType: (component: string, prop: string, received: any, expected: string) =>
|
|
124
|
+
invalidType: (component: string, prop: string, received: any, expected: string) => ComponentError;
|
|
138
125
|
/**
|
|
139
126
|
* Component not found error
|
|
140
127
|
*/
|
|
141
|
-
componentNotFound: (componentName: string) =>
|
|
128
|
+
componentNotFound: (componentName: string) => ComponentError;
|
|
142
129
|
/**
|
|
143
130
|
* Invalid children error
|
|
144
131
|
*/
|
|
145
|
-
invalidChildren: (component: string, received: any, expected: string) =>
|
|
132
|
+
invalidChildren: (component: string, received: any, expected: string) => ComponentError;
|
|
146
133
|
/**
|
|
147
134
|
* State update error
|
|
148
135
|
*/
|
|
149
|
-
stateUpdate: (component: string, stateName: string, error: Error) =>
|
|
136
|
+
stateUpdate: (component: string, stateName: string, error: Error) => ComponentError;
|
|
150
137
|
/**
|
|
151
138
|
* Event handler error
|
|
152
139
|
*/
|
|
153
|
-
eventHandler: (component: string, eventName: string, error: Error) =>
|
|
140
|
+
eventHandler: (component: string, eventName: string, error: Error) => ComponentError;
|
|
154
141
|
/**
|
|
155
142
|
* Render error
|
|
156
143
|
*/
|
|
157
|
-
render: (component: string, error: Error) =>
|
|
144
|
+
render: (component: string, error: Error) => ComponentError
|
|
158
145
|
};
|
|
159
146
|
/**
|
|
160
147
|
* Error context information
|