@sytechui/theme 3.0.2 → 3.0.3
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/animations/index.d.mts +132 -0
- package/dist/animations/index.d.ts +132 -0
- package/dist/{chunk-AGSAOCCR.mjs → chunk-4LAQM2VM.mjs} +1 -1
- package/dist/{chunk-MTBQ5EO5.mjs → chunk-AAPQ76Q7.mjs} +1 -1
- package/dist/{chunk-WH4ODSEM.mjs → chunk-APF6RSVD.mjs} +1 -1
- package/dist/{chunk-PY74IHS4.mjs → chunk-ATGLNP24.mjs} +1 -1
- package/dist/{chunk-47BB6GL3.mjs → chunk-D2TQCDY4.mjs} +1 -1
- package/dist/{chunk-ECD4ABCS.mjs → chunk-DFZLOLJU.mjs} +1 -1
- package/dist/{chunk-AL5UNXQI.mjs → chunk-EIZCYQZJ.mjs} +1 -1
- package/dist/{chunk-ZWG2GMCI.mjs → chunk-FPG5J5ZJ.mjs} +1 -1
- package/dist/{chunk-CV2E4DI2.mjs → chunk-FUQEL335.mjs} +4 -4
- package/dist/{chunk-EZ47UJPD.mjs → chunk-HF2LJVZX.mjs} +1 -1
- package/dist/{chunk-7ARJ2TQM.mjs → chunk-HFD73SWH.mjs} +1 -1
- package/dist/{chunk-USGOG5QI.mjs → chunk-IFDUGF3P.mjs} +1 -1
- package/dist/{chunk-KKEJLP4U.mjs → chunk-IURX3VEE.mjs} +1 -1
- package/dist/{chunk-BF4542X6.mjs → chunk-IVAVJ7ZU.mjs} +1 -1
- package/dist/{chunk-2QZDAFQ3.mjs → chunk-L26ZWPVZ.mjs} +1 -1
- package/dist/{chunk-OSP4OLTO.mjs → chunk-M4FWEMJZ.mjs} +1 -1
- package/dist/{chunk-4N2PLITL.mjs → chunk-OC45BUIA.mjs} +1 -1
- package/dist/{chunk-5DJU5KUL.mjs → chunk-QQZDCYMA.mjs} +1 -1
- package/dist/{chunk-P5HLCB43.mjs → chunk-U4D7XSGV.mjs} +1 -1
- package/dist/{chunk-I5YZBAB3.mjs → chunk-UL4VFH3Z.mjs} +1 -1
- package/dist/{chunk-W37Q6YFS.mjs → chunk-XV7LJG6E.mjs} +1 -1
- package/dist/{chunk-XBJNS5SU.mjs → chunk-XWHXIFLL.mjs} +1 -1
- package/dist/{chunk-2TFOWOJL.mjs → chunk-Z2UCLPEC.mjs} +4 -4
- package/dist/colors/blue.d.mts +14 -0
- package/dist/colors/blue.d.ts +14 -0
- package/dist/colors/common.d.mts +103 -0
- package/dist/colors/common.d.ts +103 -0
- package/dist/colors/cyan.d.mts +14 -0
- package/dist/colors/cyan.d.ts +14 -0
- package/dist/colors/green.d.mts +14 -0
- package/dist/colors/green.d.ts +14 -0
- package/dist/colors/index.d.mts +109 -0
- package/dist/colors/index.d.ts +109 -0
- package/dist/colors/pink.d.mts +14 -0
- package/dist/colors/pink.d.ts +14 -0
- package/dist/colors/purple.d.mts +14 -0
- package/dist/colors/purple.d.ts +14 -0
- package/dist/colors/red.d.mts +14 -0
- package/dist/colors/red.d.ts +14 -0
- package/dist/colors/semantic.d.mts +10 -0
- package/dist/colors/semantic.d.ts +10 -0
- package/dist/colors/types.d.mts +39 -0
- package/dist/colors/types.d.ts +39 -0
- package/dist/colors/yellow.d.mts +14 -0
- package/dist/colors/yellow.d.ts +14 -0
- package/dist/colors/zinc.d.mts +14 -0
- package/dist/colors/zinc.d.ts +14 -0
- package/dist/colors.d.mts +4 -0
- package/dist/colors.d.ts +4 -0
- package/dist/components/accordion.d.mts +228 -0
- package/dist/components/accordion.d.ts +228 -0
- package/dist/components/accordion.mjs +27 -27
- package/dist/components/alert.d.mts +316 -0
- package/dist/components/alert.d.ts +316 -0
- package/dist/components/alert.mjs +6 -6
- package/dist/components/autocomplete.d.mts +95 -0
- package/dist/components/autocomplete.d.ts +95 -0
- package/dist/components/autocomplete.mjs +6 -6
- package/dist/components/avatar.d.mts +300 -0
- package/dist/components/avatar.d.ts +300 -0
- package/dist/components/avatar.mjs +27 -27
- package/dist/components/badge.d.mts +223 -0
- package/dist/components/badge.d.ts +223 -0
- package/dist/components/badge.mjs +27 -27
- package/dist/components/bottom-bar.d.mts +263 -0
- package/dist/components/bottom-bar.d.ts +263 -0
- package/dist/components/bottom-bar.mjs +27 -27
- package/dist/components/breadcrumbs.d.mts +379 -0
- package/dist/components/breadcrumbs.d.ts +379 -0
- package/dist/components/breadcrumbs.mjs +27 -27
- package/dist/components/button.d.mts +188 -0
- package/dist/components/button.d.ts +188 -0
- package/dist/components/button.mjs +27 -27
- package/dist/components/calendar.d.mts +279 -0
- package/dist/components/calendar.d.ts +279 -0
- package/dist/components/calendar.mjs +27 -27
- package/dist/components/card.d.mts +257 -0
- package/dist/components/card.d.ts +257 -0
- package/dist/components/card.mjs +27 -27
- package/dist/components/checkbox.d.mts +375 -0
- package/dist/components/checkbox.d.ts +375 -0
- package/dist/components/checkbox.mjs +27 -27
- package/dist/components/chip.d.mts +340 -0
- package/dist/components/chip.d.ts +340 -0
- package/dist/components/chip.mjs +27 -27
- package/dist/components/code.d.mts +80 -0
- package/dist/components/code.d.ts +80 -0
- package/dist/components/code.mjs +27 -27
- package/dist/components/date-input.d.mts +392 -0
- package/dist/components/date-input.d.ts +392 -0
- package/dist/components/date-input.mjs +6 -6
- package/dist/components/date-picker.d.mts +220 -0
- package/dist/components/date-picker.d.ts +220 -0
- package/dist/components/date-picker.mjs +6 -6
- package/dist/components/divider.d.mts +85 -0
- package/dist/components/divider.d.ts +85 -0
- package/dist/components/divider.mjs +6 -6
- package/dist/components/drawer.d.mts +190 -0
- package/dist/components/drawer.d.ts +190 -0
- package/dist/components/drawer.mjs +6 -6
- package/dist/components/drip.d.mts +13 -0
- package/dist/components/drip.d.ts +13 -0
- package/dist/components/drip.mjs +6 -6
- package/dist/components/drop-zone.d.mts +434 -0
- package/dist/components/drop-zone.d.ts +434 -0
- package/dist/components/drop-zone.mjs +27 -27
- package/dist/components/dropdown.d.mts +247 -0
- package/dist/components/dropdown.d.ts +247 -0
- package/dist/components/dropdown.mjs +27 -27
- package/dist/components/form.d.mts +19 -0
- package/dist/components/form.d.ts +19 -0
- package/dist/components/form.mjs +6 -6
- package/dist/components/image.d.mts +174 -0
- package/dist/components/image.d.ts +174 -0
- package/dist/components/image.mjs +6 -6
- package/dist/components/index.d.mts +52 -0
- package/dist/components/index.d.ts +52 -0
- package/dist/components/index.mjs +38 -38
- package/dist/components/input-otp.d.mts +282 -0
- package/dist/components/input-otp.d.ts +282 -0
- package/dist/components/input-otp.mjs +27 -27
- package/dist/components/input.d.mts +458 -0
- package/dist/components/input.d.ts +458 -0
- package/dist/components/input.mjs +27 -27
- package/dist/components/kbd.d.mts +50 -0
- package/dist/components/kbd.d.ts +50 -0
- package/dist/components/kbd.mjs +6 -6
- package/dist/components/link.d.mts +107 -0
- package/dist/components/link.d.ts +107 -0
- package/dist/components/link.mjs +27 -27
- package/dist/components/listbox.d.mts +3 -0
- package/dist/components/listbox.d.ts +3 -0
- package/dist/components/listbox.mjs +27 -27
- package/dist/components/menu.d.mts +324 -0
- package/dist/components/menu.d.ts +324 -0
- package/dist/components/menu.mjs +27 -27
- package/dist/components/modal.d.mts +380 -0
- package/dist/components/modal.d.ts +380 -0
- package/dist/components/modal.mjs +27 -27
- package/dist/components/navbar.d.mts +246 -0
- package/dist/components/navbar.d.ts +246 -0
- package/dist/components/navbar.mjs +27 -27
- package/dist/components/number-input.d.mts +476 -0
- package/dist/components/number-input.d.ts +476 -0
- package/dist/components/number-input.mjs +27 -27
- package/dist/components/pagination.d.mts +288 -0
- package/dist/components/pagination.d.ts +288 -0
- package/dist/components/pagination.mjs +27 -27
- package/dist/components/popover.d.mts +339 -0
- package/dist/components/popover.d.ts +339 -0
- package/dist/components/popover.mjs +27 -27
- package/dist/components/progress.d.mts +498 -0
- package/dist/components/progress.d.ts +498 -0
- package/dist/components/progress.mjs +6 -6
- package/dist/components/radio.d.mts +354 -0
- package/dist/components/radio.d.ts +354 -0
- package/dist/components/radio.mjs +27 -27
- package/dist/components/scroll-area.d.mts +109 -0
- package/dist/components/scroll-area.d.ts +109 -0
- package/dist/components/scroll-area.mjs +6 -6
- package/dist/components/scroll-shadow.d.mts +48 -0
- package/dist/components/scroll-shadow.d.ts +48 -0
- package/dist/components/scroll-shadow.mjs +6 -6
- package/dist/components/select.d.mts +530 -0
- package/dist/components/select.d.ts +530 -0
- package/dist/components/select.mjs +27 -27
- package/dist/components/shimmer-text.d.mts +46 -0
- package/dist/components/shimmer-text.d.ts +46 -0
- package/dist/components/shimmer-text.mjs +6 -6
- package/dist/components/sidebar.d.mts +201 -0
- package/dist/components/sidebar.d.ts +201 -0
- package/dist/components/sidebar.mjs +6 -6
- package/dist/components/skeleton.d.mts +60 -0
- package/dist/components/skeleton.d.ts +60 -0
- package/dist/components/skeleton.mjs +6 -6
- package/dist/components/slider.d.mts +482 -0
- package/dist/components/slider.d.ts +482 -0
- package/dist/components/slider.mjs +27 -27
- package/dist/components/snippet.d.mts +206 -0
- package/dist/components/snippet.d.ts +206 -0
- package/dist/components/snippet.mjs +27 -27
- package/dist/components/spacer.d.mts +31 -0
- package/dist/components/spacer.d.ts +31 -0
- package/dist/components/spacer.mjs +6 -6
- package/dist/components/spinner.d.mts +398 -0
- package/dist/components/spinner.d.ts +398 -0
- package/dist/components/spinner.mjs +6 -6
- package/dist/components/stepper.d.mts +288 -0
- package/dist/components/stepper.d.ts +288 -0
- package/dist/components/stepper.mjs +27 -27
- package/dist/components/table.d.mts +509 -0
- package/dist/components/table.d.ts +509 -0
- package/dist/components/table.mjs +27 -27
- package/dist/components/tabs.d.mts +413 -0
- package/dist/components/tabs.d.ts +413 -0
- package/dist/components/tabs.mjs +27 -27
- package/dist/components/toast.d.mts +329 -0
- package/dist/components/toast.d.ts +329 -0
- package/dist/components/toast.mjs +27 -27
- package/dist/components/toggle.d.mts +243 -0
- package/dist/components/toggle.d.ts +243 -0
- package/dist/components/toggle.mjs +27 -27
- package/dist/components/user.d.mts +63 -0
- package/dist/components/user.d.ts +63 -0
- package/dist/components/user.mjs +27 -27
- package/dist/default-layout.d.mts +8 -0
- package/dist/default-layout.d.ts +8 -0
- package/dist/index.d.mts +67 -0
- package/dist/index.d.ts +67 -0
- package/dist/index.mjs +40 -40
- package/dist/plugin.d.mts +12 -0
- package/dist/plugin.d.ts +12 -0
- package/dist/plugin.mjs +5 -5
- package/dist/types.d.mts +138 -0
- package/dist/types.d.ts +138 -0
- package/dist/utilities/animation.d.mts +16 -0
- package/dist/utilities/animation.d.ts +16 -0
- package/dist/utilities/custom.d.mts +27 -0
- package/dist/utilities/custom.d.ts +27 -0
- package/dist/utilities/index.d.mts +171 -0
- package/dist/utilities/index.d.ts +171 -0
- package/dist/utilities/index.mjs +3 -3
- package/dist/utilities/scrollbar-hide.d.mts +59 -0
- package/dist/utilities/scrollbar-hide.d.ts +59 -0
- package/dist/utilities/shimmer-text.d.mts +42 -0
- package/dist/utilities/shimmer-text.d.ts +42 -0
- package/dist/utilities/text.d.mts +23 -0
- package/dist/utilities/text.d.ts +23 -0
- package/dist/utilities/transition.d.mts +58 -0
- package/dist/utilities/transition.d.ts +58 -0
- package/dist/utils/classes.d.mts +43 -0
- package/dist/utils/classes.d.ts +43 -0
- package/dist/utils/cn.d.mts +13 -0
- package/dist/utils/cn.d.ts +13 -0
- package/dist/utils/cn.mjs +5 -5
- package/dist/utils/index.d.mts +7 -0
- package/dist/utils/index.d.ts +7 -0
- package/dist/utils/index.mjs +27 -27
- package/dist/utils/merge-classes.d.mts +12 -0
- package/dist/utils/merge-classes.d.ts +12 -0
- package/dist/utils/merge-classes.mjs +27 -27
- package/dist/utils/object.d.mts +13 -0
- package/dist/utils/object.d.ts +13 -0
- package/dist/utils/theme.d.mts +9 -0
- package/dist/utils/theme.d.ts +9 -0
- package/dist/utils/tv.d.mts +5 -0
- package/dist/utils/tv.d.ts +5 -0
- package/dist/utils/tv.mjs +5 -5
- package/dist/utils/tw-merge-config.d.mts +25 -0
- package/dist/utils/tw-merge-config.d.ts +25 -0
- package/dist/utils/tw-merge-config.mjs +4 -4
- package/dist/utils/types.d.mts +10 -0
- package/dist/utils/types.d.ts +10 -0
- package/dist/utils/variants.d.mts +67 -0
- package/dist/utils/variants.d.ts +67 -0
- package/package.json +1 -1
- package/dist/{chunk-ROFEKAS6.mjs → chunk-3C7AZEID.mjs} +6 -6
package/dist/components/user.mjs
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
user
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-FUQEL335.mjs";
|
|
4
|
+
import "../chunk-XWHXIFLL.mjs";
|
|
5
|
+
import "../chunk-HF2LJVZX.mjs";
|
|
6
|
+
import "../chunk-XV7LJG6E.mjs";
|
|
7
|
+
import "../chunk-IVAVJ7ZU.mjs";
|
|
8
|
+
import "../chunk-D2TQCDY4.mjs";
|
|
9
|
+
import "../chunk-APF6RSVD.mjs";
|
|
10
|
+
import "../chunk-M4FWEMJZ.mjs";
|
|
11
|
+
import "../chunk-OC45BUIA.mjs";
|
|
12
|
+
import "../chunk-4LAQM2VM.mjs";
|
|
13
|
+
import "../chunk-QQZDCYMA.mjs";
|
|
14
|
+
import "../chunk-FPG5J5ZJ.mjs";
|
|
15
|
+
import "../chunk-U4D7XSGV.mjs";
|
|
16
|
+
import "../chunk-L26ZWPVZ.mjs";
|
|
17
|
+
import "../chunk-AAPQ76Q7.mjs";
|
|
18
|
+
import "../chunk-EIZCYQZJ.mjs";
|
|
19
|
+
import "../chunk-IFDUGF3P.mjs";
|
|
20
|
+
import "../chunk-ATGLNP24.mjs";
|
|
21
|
+
import "../chunk-UL4VFH3Z.mjs";
|
|
22
|
+
import "../chunk-IURX3VEE.mjs";
|
|
4
23
|
import "../chunk-GQT3YUX3.mjs";
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-47BB6GL3.mjs";
|
|
9
|
-
import "../chunk-WH4ODSEM.mjs";
|
|
10
|
-
import "../chunk-XBJNS5SU.mjs";
|
|
11
|
-
import "../chunk-OSP4OLTO.mjs";
|
|
12
|
-
import "../chunk-4N2PLITL.mjs";
|
|
13
|
-
import "../chunk-EZ47UJPD.mjs";
|
|
14
|
-
import "../chunk-5DJU5KUL.mjs";
|
|
15
|
-
import "../chunk-2QZDAFQ3.mjs";
|
|
16
|
-
import "../chunk-MTBQ5EO5.mjs";
|
|
17
|
-
import "../chunk-AL5UNXQI.mjs";
|
|
18
|
-
import "../chunk-USGOG5QI.mjs";
|
|
19
|
-
import "../chunk-AGSAOCCR.mjs";
|
|
20
|
-
import "../chunk-ZWG2GMCI.mjs";
|
|
21
|
-
import "../chunk-P5HLCB43.mjs";
|
|
22
|
-
import "../chunk-PY74IHS4.mjs";
|
|
23
|
-
import "../chunk-I5YZBAB3.mjs";
|
|
24
|
-
import "../chunk-KKEJLP4U.mjs";
|
|
25
|
-
import "../chunk-ECD4ABCS.mjs";
|
|
26
|
-
import "../chunk-2TFOWOJL.mjs";
|
|
27
|
-
import "../chunk-D2XMP2NC.mjs";
|
|
24
|
+
import "../chunk-HFD73SWH.mjs";
|
|
25
|
+
import "../chunk-DFZLOLJU.mjs";
|
|
26
|
+
import "../chunk-Z2UCLPEC.mjs";
|
|
28
27
|
import "../chunk-ZHIADCEL.mjs";
|
|
29
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-3C7AZEID.mjs";
|
|
29
|
+
import "../chunk-FJOYYPB2.mjs";
|
|
30
|
+
import "../chunk-RUIUXVZ4.mjs";
|
|
30
31
|
import "../chunk-GSRZWDGA.mjs";
|
|
31
32
|
import "../chunk-AWXUGVFR.mjs";
|
|
32
33
|
import "../chunk-MPVWW3DX.mjs";
|
|
33
34
|
import "../chunk-7FAFG773.mjs";
|
|
34
|
-
import "../chunk-
|
|
35
|
-
import "../chunk-RUIUXVZ4.mjs";
|
|
35
|
+
import "../chunk-D2XMP2NC.mjs";
|
|
36
36
|
import "../chunk-WQEDQHKX.mjs";
|
|
37
37
|
import "../chunk-CPSLANMP.mjs";
|
|
38
38
|
import "../chunk-FFKHVGFX.mjs";
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export { AvatarGroupSlots, AvatarGroupVariantProps, AvatarSlots, AvatarVariantProps, avatar, avatarGroup } from './components/avatar.mjs';
|
|
2
|
+
export { CardReturnType, CardSlots, CardVariantProps, card } from './components/card.mjs';
|
|
3
|
+
export { LinkVariantProps, link, linkAnchorClasses } from './components/link.mjs';
|
|
4
|
+
export { UserSlots, user } from './components/user.mjs';
|
|
5
|
+
export { ButtonGroupVariantProps, ButtonVariantProps, button, buttonGroup } from './components/button.mjs';
|
|
6
|
+
export { drip } from './components/drip.mjs';
|
|
7
|
+
export { SpinnerSlots, SpinnerVariantProps, spinner } from './components/spinner.mjs';
|
|
8
|
+
export { StepperReturnType, StepperSlots, StepperVariantProps, stepper } from './components/stepper.mjs';
|
|
9
|
+
export { CodeVariantProps, code } from './components/code.mjs';
|
|
10
|
+
export { PopoverSlots, PopoverVariantProps, popover } from './components/popover.mjs';
|
|
11
|
+
export { SnippetSlots, SnippetVariantProps, snippet } from './components/snippet.mjs';
|
|
12
|
+
export { ChipSlots, ChipVariantProps, chip } from './components/chip.mjs';
|
|
13
|
+
export { BadgeSlots, BadgeVariantProps, badge } from './components/badge.mjs';
|
|
14
|
+
export { BottomBarReturnType, BottomBarSlots, BottomBarVariantProps, bottomBar } from './components/bottom-bar.mjs';
|
|
15
|
+
export { CheckboxGroupSlots, CheckboxSlots, CheckboxVariantProps, checkbox, checkboxGroup } from './components/checkbox.mjs';
|
|
16
|
+
export { RadioGroupSlots, RadioSlots, RadioVariantProps, radio, radioGroup } from './components/radio.mjs';
|
|
17
|
+
export { PaginationSlots, PaginationVariantProps, pagination } from './components/pagination.mjs';
|
|
18
|
+
export { ToggleSlots, ToggleVariantProps, toggle } from './components/toggle.mjs';
|
|
19
|
+
export { AccordionGroupVariantProps, AccordionItemSlots, AccordionItemVariantProps, accordion, accordionItem } from './components/accordion.mjs';
|
|
20
|
+
export { CircularProgressSlots, CircularProgressVariantProps, ProgressSlots, ProgressVariantProps, circularProgress, progress } from './components/progress.mjs';
|
|
21
|
+
export { InputOtpReturnType, InputOtpSlots, InputOtpVariantProps, inputOtp } from './components/input-otp.mjs';
|
|
22
|
+
export { InputSlots, InputVariantProps, input } from './components/input.mjs';
|
|
23
|
+
export { DropdownItemSlots, DropdownItemVariantProps, DropdownSectionSlots, DropdownSectionVariantProps, dropdown, dropdownItem, dropdownMenu, dropdownSection } from './components/dropdown.mjs';
|
|
24
|
+
export { DropZoneSlots, DropZoneVariantProps, dropZone } from './components/drop-zone.mjs';
|
|
25
|
+
export { ImageSlots, ImageVariantProps, image } from './components/image.mjs';
|
|
26
|
+
export { ModalSlots, ModalVariantProps, modal } from './components/modal.mjs';
|
|
27
|
+
export { NavbarSlots, NavbarVariantProps, navbar } from './components/navbar.mjs';
|
|
28
|
+
export { TableReturnType, TableSlots, TableVariantProps, table } from './components/table.mjs';
|
|
29
|
+
export { SpacerVariantProps, spacer } from './components/spacer.mjs';
|
|
30
|
+
export { DividerVariantProps, LabeledDividerSlots, divider, labeledDivider } from './components/divider.mjs';
|
|
31
|
+
export { KbdSlots, KbdVariantProps, kbd } from './components/kbd.mjs';
|
|
32
|
+
export { TabsReturnType, TabsSlots, TabsVariantProps, tabs } from './components/tabs.mjs';
|
|
33
|
+
export { SkeletonSlots, SkeletonVariantProps, skeleton } from './components/skeleton.mjs';
|
|
34
|
+
export { ShimmerTextVariantProps, shimmerText } from './components/shimmer-text.mjs';
|
|
35
|
+
export { SelectSlots, SelectVariantProps, select } from './components/select.mjs';
|
|
36
|
+
export { MenuItemSlots as ListboxItemSlots, MenuItemVariantProps as ListboxItemVariantProps, MenuSectionSlots as ListboxSectionSlots, MenuSectionVariantProps as ListboxSectionVariantProps, MenuSlots as ListboxSlots, MenuVariantProps as ListboxVariantProps, MenuItemSlots, MenuItemVariantProps, MenuSectionSlots, MenuSectionVariantProps, MenuSlots, MenuVariantProps, menu as listbox, menuItem as listboxItem, menuSection as listboxSection, menu, menuItem, menuSection } from './components/menu.mjs';
|
|
37
|
+
export { ScrollShadowVariantProps, scrollShadow } from './components/scroll-shadow.mjs';
|
|
38
|
+
export { ScrollAreaReturnType, ScrollAreaSlots, ScrollAreaVariantProps, scrollArea } from './components/scroll-area.mjs';
|
|
39
|
+
export { SidebarReturnType, SidebarSlots, SidebarVariantProps, sidebar } from './components/sidebar.mjs';
|
|
40
|
+
export { SliderSlots, SliderVariantProps, slider } from './components/slider.mjs';
|
|
41
|
+
export { BreadcrumbItemSlots, BreadcrumbItemVariantProps, BreadcrumbsSlots, BreadcrumbsVariantProps, breadcrumbItem, breadcrumbs } from './components/breadcrumbs.mjs';
|
|
42
|
+
export { AutocompleteSlots, AutocompleteVariantProps, autocomplete } from './components/autocomplete.mjs';
|
|
43
|
+
export { CalendarReturnType, CalendarSlots, CalendarVariantProps, calendar } from './components/calendar.mjs';
|
|
44
|
+
export { DateInputReturnType, DateInputSlots, DateInputVariantProps, dateInput } from './components/date-input.mjs';
|
|
45
|
+
export { DatePickerReturnType, DatePickerSlots, DatePickerVariantProps, DateRangePickerReturnType, DateRangePickerSlots, DateRangePickerVariantProps, datePicker, dateRangePicker } from './components/date-picker.mjs';
|
|
46
|
+
export { AlertSlots, AlertVariantProps, AlertVariants, alert, alertVariants } from './components/alert.mjs';
|
|
47
|
+
export { DrawerVariants, drawer } from './components/drawer.mjs';
|
|
48
|
+
export { FormVariantProps, form } from './components/form.mjs';
|
|
49
|
+
export { NumberInputSlots, NumberInputVariantProps, numberInput } from './components/number-input.mjs';
|
|
50
|
+
export { ToastRegionSlots, ToastRegionVariantProps, ToastSlots, ToastVariantProps, toast, toastRegion } from './components/toast.mjs';
|
|
51
|
+
export { absoluteFullClasses, baseStyles, collapseAdjacentVariantBorders, dataFocusVisibleClasses, focusVisibleClasses, groupDataFocusVisibleClasses, hiddenInputClasses, ringClasses, translateCenterClasses } from './utils/classes.mjs';
|
|
52
|
+
export { SlotsToClasses } from './utils/types.mjs';
|
|
53
|
+
export { colorVariants } from './utils/variants.mjs';
|
|
54
|
+
export { COMMON_UNITS, twMergeConfig } from './utils/tw-merge-config.mjs';
|
|
55
|
+
export { mergeClasses } from './utils/merge-classes.mjs';
|
|
56
|
+
export { cn } from './utils/cn.mjs';
|
|
57
|
+
export { colors } from './colors/index.mjs';
|
|
58
|
+
export { heroui } from './plugin.mjs';
|
|
59
|
+
export { BaseThemeUnit, ConfigTheme, ConfigThemes, DefaultThemeType, FontThemeUnit, HeroUIPluginConfig, LayoutTheme } from './types.mjs';
|
|
60
|
+
export { darkLayout, defaultLayout, lightLayout } from './default-layout.mjs';
|
|
61
|
+
export { tv } from './utils/tv.mjs';
|
|
62
|
+
export { TV, VariantProps } from 'tailwind-variants';
|
|
63
|
+
export { BaseColors, ColorScale, SemanticBaseColors, ThemeColors } from './colors/types.mjs';
|
|
64
|
+
export { commonColors } from './colors/common.mjs';
|
|
65
|
+
export { semanticColors } from './colors/semantic.mjs';
|
|
66
|
+
import 'tailwind-merge';
|
|
67
|
+
import 'tailwindcss/plugin.js';
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export { AvatarGroupSlots, AvatarGroupVariantProps, AvatarSlots, AvatarVariantProps, avatar, avatarGroup } from './components/avatar.js';
|
|
2
|
+
export { CardReturnType, CardSlots, CardVariantProps, card } from './components/card.js';
|
|
3
|
+
export { LinkVariantProps, link, linkAnchorClasses } from './components/link.js';
|
|
4
|
+
export { UserSlots, user } from './components/user.js';
|
|
5
|
+
export { ButtonGroupVariantProps, ButtonVariantProps, button, buttonGroup } from './components/button.js';
|
|
6
|
+
export { drip } from './components/drip.js';
|
|
7
|
+
export { SpinnerSlots, SpinnerVariantProps, spinner } from './components/spinner.js';
|
|
8
|
+
export { StepperReturnType, StepperSlots, StepperVariantProps, stepper } from './components/stepper.js';
|
|
9
|
+
export { CodeVariantProps, code } from './components/code.js';
|
|
10
|
+
export { PopoverSlots, PopoverVariantProps, popover } from './components/popover.js';
|
|
11
|
+
export { SnippetSlots, SnippetVariantProps, snippet } from './components/snippet.js';
|
|
12
|
+
export { ChipSlots, ChipVariantProps, chip } from './components/chip.js';
|
|
13
|
+
export { BadgeSlots, BadgeVariantProps, badge } from './components/badge.js';
|
|
14
|
+
export { BottomBarReturnType, BottomBarSlots, BottomBarVariantProps, bottomBar } from './components/bottom-bar.js';
|
|
15
|
+
export { CheckboxGroupSlots, CheckboxSlots, CheckboxVariantProps, checkbox, checkboxGroup } from './components/checkbox.js';
|
|
16
|
+
export { RadioGroupSlots, RadioSlots, RadioVariantProps, radio, radioGroup } from './components/radio.js';
|
|
17
|
+
export { PaginationSlots, PaginationVariantProps, pagination } from './components/pagination.js';
|
|
18
|
+
export { ToggleSlots, ToggleVariantProps, toggle } from './components/toggle.js';
|
|
19
|
+
export { AccordionGroupVariantProps, AccordionItemSlots, AccordionItemVariantProps, accordion, accordionItem } from './components/accordion.js';
|
|
20
|
+
export { CircularProgressSlots, CircularProgressVariantProps, ProgressSlots, ProgressVariantProps, circularProgress, progress } from './components/progress.js';
|
|
21
|
+
export { InputOtpReturnType, InputOtpSlots, InputOtpVariantProps, inputOtp } from './components/input-otp.js';
|
|
22
|
+
export { InputSlots, InputVariantProps, input } from './components/input.js';
|
|
23
|
+
export { DropdownItemSlots, DropdownItemVariantProps, DropdownSectionSlots, DropdownSectionVariantProps, dropdown, dropdownItem, dropdownMenu, dropdownSection } from './components/dropdown.js';
|
|
24
|
+
export { DropZoneSlots, DropZoneVariantProps, dropZone } from './components/drop-zone.js';
|
|
25
|
+
export { ImageSlots, ImageVariantProps, image } from './components/image.js';
|
|
26
|
+
export { ModalSlots, ModalVariantProps, modal } from './components/modal.js';
|
|
27
|
+
export { NavbarSlots, NavbarVariantProps, navbar } from './components/navbar.js';
|
|
28
|
+
export { TableReturnType, TableSlots, TableVariantProps, table } from './components/table.js';
|
|
29
|
+
export { SpacerVariantProps, spacer } from './components/spacer.js';
|
|
30
|
+
export { DividerVariantProps, LabeledDividerSlots, divider, labeledDivider } from './components/divider.js';
|
|
31
|
+
export { KbdSlots, KbdVariantProps, kbd } from './components/kbd.js';
|
|
32
|
+
export { TabsReturnType, TabsSlots, TabsVariantProps, tabs } from './components/tabs.js';
|
|
33
|
+
export { SkeletonSlots, SkeletonVariantProps, skeleton } from './components/skeleton.js';
|
|
34
|
+
export { ShimmerTextVariantProps, shimmerText } from './components/shimmer-text.js';
|
|
35
|
+
export { SelectSlots, SelectVariantProps, select } from './components/select.js';
|
|
36
|
+
export { MenuItemSlots as ListboxItemSlots, MenuItemVariantProps as ListboxItemVariantProps, MenuSectionSlots as ListboxSectionSlots, MenuSectionVariantProps as ListboxSectionVariantProps, MenuSlots as ListboxSlots, MenuVariantProps as ListboxVariantProps, MenuItemSlots, MenuItemVariantProps, MenuSectionSlots, MenuSectionVariantProps, MenuSlots, MenuVariantProps, menu as listbox, menuItem as listboxItem, menuSection as listboxSection, menu, menuItem, menuSection } from './components/menu.js';
|
|
37
|
+
export { ScrollShadowVariantProps, scrollShadow } from './components/scroll-shadow.js';
|
|
38
|
+
export { ScrollAreaReturnType, ScrollAreaSlots, ScrollAreaVariantProps, scrollArea } from './components/scroll-area.js';
|
|
39
|
+
export { SidebarReturnType, SidebarSlots, SidebarVariantProps, sidebar } from './components/sidebar.js';
|
|
40
|
+
export { SliderSlots, SliderVariantProps, slider } from './components/slider.js';
|
|
41
|
+
export { BreadcrumbItemSlots, BreadcrumbItemVariantProps, BreadcrumbsSlots, BreadcrumbsVariantProps, breadcrumbItem, breadcrumbs } from './components/breadcrumbs.js';
|
|
42
|
+
export { AutocompleteSlots, AutocompleteVariantProps, autocomplete } from './components/autocomplete.js';
|
|
43
|
+
export { CalendarReturnType, CalendarSlots, CalendarVariantProps, calendar } from './components/calendar.js';
|
|
44
|
+
export { DateInputReturnType, DateInputSlots, DateInputVariantProps, dateInput } from './components/date-input.js';
|
|
45
|
+
export { DatePickerReturnType, DatePickerSlots, DatePickerVariantProps, DateRangePickerReturnType, DateRangePickerSlots, DateRangePickerVariantProps, datePicker, dateRangePicker } from './components/date-picker.js';
|
|
46
|
+
export { AlertSlots, AlertVariantProps, AlertVariants, alert, alertVariants } from './components/alert.js';
|
|
47
|
+
export { DrawerVariants, drawer } from './components/drawer.js';
|
|
48
|
+
export { FormVariantProps, form } from './components/form.js';
|
|
49
|
+
export { NumberInputSlots, NumberInputVariantProps, numberInput } from './components/number-input.js';
|
|
50
|
+
export { ToastRegionSlots, ToastRegionVariantProps, ToastSlots, ToastVariantProps, toast, toastRegion } from './components/toast.js';
|
|
51
|
+
export { absoluteFullClasses, baseStyles, collapseAdjacentVariantBorders, dataFocusVisibleClasses, focusVisibleClasses, groupDataFocusVisibleClasses, hiddenInputClasses, ringClasses, translateCenterClasses } from './utils/classes.js';
|
|
52
|
+
export { SlotsToClasses } from './utils/types.js';
|
|
53
|
+
export { colorVariants } from './utils/variants.js';
|
|
54
|
+
export { COMMON_UNITS, twMergeConfig } from './utils/tw-merge-config.js';
|
|
55
|
+
export { mergeClasses } from './utils/merge-classes.js';
|
|
56
|
+
export { cn } from './utils/cn.js';
|
|
57
|
+
export { colors } from './colors/index.js';
|
|
58
|
+
export { heroui } from './plugin.js';
|
|
59
|
+
export { BaseThemeUnit, ConfigTheme, ConfigThemes, DefaultThemeType, FontThemeUnit, HeroUIPluginConfig, LayoutTheme } from './types.js';
|
|
60
|
+
export { darkLayout, defaultLayout, lightLayout } from './default-layout.js';
|
|
61
|
+
export { tv } from './utils/tv.js';
|
|
62
|
+
export { TV, VariantProps } from 'tailwind-variants';
|
|
63
|
+
export { BaseColors, ColorScale, SemanticBaseColors, ThemeColors } from './colors/types.js';
|
|
64
|
+
export { commonColors } from './colors/common.js';
|
|
65
|
+
export { semanticColors } from './colors/semantic.js';
|
|
66
|
+
import 'tailwind-merge';
|
|
67
|
+
import 'tailwindcss/plugin.js';
|
package/dist/index.mjs
CHANGED
|
@@ -45,82 +45,81 @@ import {
|
|
|
45
45
|
toastRegion,
|
|
46
46
|
toggle,
|
|
47
47
|
user
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-FUQEL335.mjs";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./chunk-
|
|
50
|
+
spinner
|
|
51
|
+
} from "./chunk-XWHXIFLL.mjs";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
} from "./chunk-
|
|
53
|
+
scrollShadow
|
|
54
|
+
} from "./chunk-HF2LJVZX.mjs";
|
|
55
55
|
import {
|
|
56
56
|
shimmerText
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-XV7LJG6E.mjs";
|
|
58
58
|
import {
|
|
59
59
|
sidebar
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-IVAVJ7ZU.mjs";
|
|
61
61
|
import {
|
|
62
62
|
skeleton
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-D2TQCDY4.mjs";
|
|
64
64
|
import {
|
|
65
65
|
spacer
|
|
66
|
-
} from "./chunk-
|
|
67
|
-
import {
|
|
68
|
-
spinner
|
|
69
|
-
} from "./chunk-XBJNS5SU.mjs";
|
|
66
|
+
} from "./chunk-APF6RSVD.mjs";
|
|
70
67
|
import {
|
|
71
68
|
circularProgress,
|
|
72
69
|
progress
|
|
73
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-M4FWEMJZ.mjs";
|
|
74
71
|
import {
|
|
75
72
|
scrollArea
|
|
76
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-OC45BUIA.mjs";
|
|
77
74
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./chunk-
|
|
75
|
+
image
|
|
76
|
+
} from "./chunk-4LAQM2VM.mjs";
|
|
80
77
|
import {
|
|
81
78
|
kbd
|
|
82
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-QQZDCYMA.mjs";
|
|
80
|
+
import {
|
|
81
|
+
dateInput
|
|
82
|
+
} from "./chunk-FPG5J5ZJ.mjs";
|
|
83
|
+
import {
|
|
84
|
+
datePicker,
|
|
85
|
+
dateRangePicker
|
|
86
|
+
} from "./chunk-U4D7XSGV.mjs";
|
|
83
87
|
import {
|
|
84
88
|
divider,
|
|
85
89
|
labeledDivider
|
|
86
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-L26ZWPVZ.mjs";
|
|
87
91
|
import {
|
|
88
92
|
drawer
|
|
89
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-AAPQ76Q7.mjs";
|
|
90
94
|
import {
|
|
91
95
|
drip
|
|
92
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-EIZCYQZJ.mjs";
|
|
93
97
|
import {
|
|
94
98
|
form
|
|
95
|
-
} from "./chunk-
|
|
96
|
-
import {
|
|
97
|
-
image
|
|
98
|
-
} from "./chunk-AGSAOCCR.mjs";
|
|
99
|
-
import {
|
|
100
|
-
dateInput
|
|
101
|
-
} from "./chunk-ZWG2GMCI.mjs";
|
|
102
|
-
import {
|
|
103
|
-
datePicker,
|
|
104
|
-
dateRangePicker
|
|
105
|
-
} from "./chunk-P5HLCB43.mjs";
|
|
99
|
+
} from "./chunk-IFDUGF3P.mjs";
|
|
106
100
|
import {
|
|
107
101
|
alert,
|
|
108
102
|
alertVariants
|
|
109
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-ATGLNP24.mjs";
|
|
110
104
|
import {
|
|
111
105
|
autocomplete
|
|
112
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-UL4VFH3Z.mjs";
|
|
113
107
|
import {
|
|
114
108
|
tv
|
|
115
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-IURX3VEE.mjs";
|
|
110
|
+
import {
|
|
111
|
+
colorVariants
|
|
112
|
+
} from "./chunk-GQT3YUX3.mjs";
|
|
113
|
+
import {
|
|
114
|
+
cn
|
|
115
|
+
} from "./chunk-HFD73SWH.mjs";
|
|
116
116
|
import {
|
|
117
117
|
COMMON_UNITS,
|
|
118
118
|
twMergeConfig
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-DFZLOLJU.mjs";
|
|
120
120
|
import {
|
|
121
121
|
heroui
|
|
122
|
-
} from "./chunk-
|
|
123
|
-
import "./chunk-D2XMP2NC.mjs";
|
|
122
|
+
} from "./chunk-Z2UCLPEC.mjs";
|
|
124
123
|
import {
|
|
125
124
|
absoluteFullClasses,
|
|
126
125
|
baseStyles,
|
|
@@ -132,13 +131,14 @@ import {
|
|
|
132
131
|
ringClasses,
|
|
133
132
|
translateCenterClasses
|
|
134
133
|
} from "./chunk-ZHIADCEL.mjs";
|
|
135
|
-
import "./chunk-
|
|
134
|
+
import "./chunk-3C7AZEID.mjs";
|
|
135
|
+
import "./chunk-FJOYYPB2.mjs";
|
|
136
|
+
import "./chunk-RUIUXVZ4.mjs";
|
|
136
137
|
import "./chunk-GSRZWDGA.mjs";
|
|
137
138
|
import "./chunk-AWXUGVFR.mjs";
|
|
138
139
|
import "./chunk-MPVWW3DX.mjs";
|
|
139
140
|
import "./chunk-7FAFG773.mjs";
|
|
140
|
-
import "./chunk-
|
|
141
|
-
import "./chunk-RUIUXVZ4.mjs";
|
|
141
|
+
import "./chunk-D2XMP2NC.mjs";
|
|
142
142
|
import "./chunk-WQEDQHKX.mjs";
|
|
143
143
|
import {
|
|
144
144
|
colors
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HeroUIPluginConfig } from './types.mjs';
|
|
2
|
+
import plugin from 'tailwindcss/plugin.js';
|
|
3
|
+
import './colors/types.mjs';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Based on tw-colors by L-Blondy
|
|
7
|
+
* @see https://github.com/L-Blondy/tw-colors
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
declare const heroui: (config?: HeroUIPluginConfig) => ReturnType<typeof plugin>;
|
|
11
|
+
|
|
12
|
+
export { heroui };
|
package/dist/plugin.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HeroUIPluginConfig } from './types.js';
|
|
2
|
+
import plugin from 'tailwindcss/plugin.js';
|
|
3
|
+
import './colors/types.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Based on tw-colors by L-Blondy
|
|
7
|
+
* @see https://github.com/L-Blondy/tw-colors
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
declare const heroui: (config?: HeroUIPluginConfig) => ReturnType<typeof plugin>;
|
|
11
|
+
|
|
12
|
+
export { heroui };
|
package/dist/plugin.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
heroui
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-D2XMP2NC.mjs";
|
|
3
|
+
} from "./chunk-Z2UCLPEC.mjs";
|
|
5
4
|
import "./chunk-ZHIADCEL.mjs";
|
|
6
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-3C7AZEID.mjs";
|
|
6
|
+
import "./chunk-FJOYYPB2.mjs";
|
|
7
|
+
import "./chunk-RUIUXVZ4.mjs";
|
|
7
8
|
import "./chunk-GSRZWDGA.mjs";
|
|
8
9
|
import "./chunk-AWXUGVFR.mjs";
|
|
9
10
|
import "./chunk-MPVWW3DX.mjs";
|
|
10
11
|
import "./chunk-7FAFG773.mjs";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-RUIUXVZ4.mjs";
|
|
12
|
+
import "./chunk-D2XMP2NC.mjs";
|
|
13
13
|
import "./chunk-WQEDQHKX.mjs";
|
|
14
14
|
import "./chunk-CPSLANMP.mjs";
|
|
15
15
|
import "./chunk-FFKHVGFX.mjs";
|
package/dist/types.d.mts
ADDED
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { ThemeColors } from './colors/types.mjs';
|
|
2
|
+
|
|
3
|
+
type DefaultThemeType = "light" | "dark";
|
|
4
|
+
type BaseThemeUnit = {
|
|
5
|
+
small?: string;
|
|
6
|
+
medium?: string;
|
|
7
|
+
large?: string;
|
|
8
|
+
};
|
|
9
|
+
type FontThemeUnit = BaseThemeUnit & {
|
|
10
|
+
tiny?: string;
|
|
11
|
+
};
|
|
12
|
+
interface LayoutTheme {
|
|
13
|
+
/**
|
|
14
|
+
* The default font size applied across the components.
|
|
15
|
+
*
|
|
16
|
+
* @default
|
|
17
|
+
* {
|
|
18
|
+
* tiny: "0.75rem",
|
|
19
|
+
* small: "0.875rem",
|
|
20
|
+
* medium: "1rem",
|
|
21
|
+
* large: "1.125rem",
|
|
22
|
+
* DEFAULT: "1rem",
|
|
23
|
+
* }
|
|
24
|
+
*/
|
|
25
|
+
fontSize?: FontThemeUnit;
|
|
26
|
+
/**
|
|
27
|
+
* The default line height applied across the components.
|
|
28
|
+
*
|
|
29
|
+
* @default
|
|
30
|
+
* {
|
|
31
|
+
* tiny: "1rem",
|
|
32
|
+
* small: "1.25rem",
|
|
33
|
+
* medium: "1.5rem",
|
|
34
|
+
* large: "1.75rem",
|
|
35
|
+
* DEFAULT: "1.5rem",
|
|
36
|
+
* }
|
|
37
|
+
*/
|
|
38
|
+
lineHeight?: FontThemeUnit;
|
|
39
|
+
/**
|
|
40
|
+
* The default radius applied across the components.
|
|
41
|
+
* we recommend to use `rem` units.
|
|
42
|
+
*
|
|
43
|
+
* @default
|
|
44
|
+
* {
|
|
45
|
+
* small: "0.25rem",
|
|
46
|
+
* medium: "0.5rem",
|
|
47
|
+
* large: "0.75rem",
|
|
48
|
+
* }
|
|
49
|
+
*/
|
|
50
|
+
radius?: BaseThemeUnit;
|
|
51
|
+
/**
|
|
52
|
+
* A number between 0 and 1 that is applied as opacity-[value] when the component is disabled.
|
|
53
|
+
*
|
|
54
|
+
* format: ".[value]"
|
|
55
|
+
*
|
|
56
|
+
* @default .5
|
|
57
|
+
*/
|
|
58
|
+
disabledOpacity?: string | number;
|
|
59
|
+
/**
|
|
60
|
+
* A number between 0 and 1 that is applied as opacity-[value] when the component is hovered.
|
|
61
|
+
*
|
|
62
|
+
* format: ".[value]"
|
|
63
|
+
*
|
|
64
|
+
* @default .8
|
|
65
|
+
*/
|
|
66
|
+
hoverOpacity?: string | number;
|
|
67
|
+
/**
|
|
68
|
+
* The default height applied to the divider component.
|
|
69
|
+
* we recommend to use `px` units.
|
|
70
|
+
*
|
|
71
|
+
* @default 1px
|
|
72
|
+
*/
|
|
73
|
+
dividerWeight?: string;
|
|
74
|
+
/**
|
|
75
|
+
* The border width applied across the components.
|
|
76
|
+
* @default
|
|
77
|
+
* {
|
|
78
|
+
* small: "1px",
|
|
79
|
+
* medium: "2px",
|
|
80
|
+
* large: "3px",
|
|
81
|
+
* }
|
|
82
|
+
*
|
|
83
|
+
*/
|
|
84
|
+
borderWidth?: BaseThemeUnit;
|
|
85
|
+
/**
|
|
86
|
+
* The box shadow applied across the components.
|
|
87
|
+
*
|
|
88
|
+
* @default
|
|
89
|
+
* {
|
|
90
|
+
* small: 0px 0px 5px 0px rgb(0 0 0 / 0.01), 0px 2px 10px 0px rgb(0 0 0 / 0.06),
|
|
91
|
+
* medium: 0px 0px 15px 0px rgb(0 0 0 / 0.02), 0px 2px 30px 0px rgb(0 0 0 / 0.08),
|
|
92
|
+
* large: 0px 0px 30px 0px rgb(0 0 0 / 0.03), 0px 30px 60px 0px rgb(0 0 0 / 0.12),
|
|
93
|
+
* }
|
|
94
|
+
*/
|
|
95
|
+
boxShadow?: BaseThemeUnit;
|
|
96
|
+
}
|
|
97
|
+
type ConfigTheme = {
|
|
98
|
+
extend?: "light" | "dark";
|
|
99
|
+
layout?: LayoutTheme;
|
|
100
|
+
colors?: Partial<ThemeColors>;
|
|
101
|
+
};
|
|
102
|
+
type ConfigThemes = Record<string, ConfigTheme>;
|
|
103
|
+
/**
|
|
104
|
+
* The HeroUI config.
|
|
105
|
+
* @see https://heroui.com/docs/customization/customize-theme
|
|
106
|
+
*/
|
|
107
|
+
type HeroUIPluginConfig = {
|
|
108
|
+
/**
|
|
109
|
+
* The prefix for the css variables.
|
|
110
|
+
* @default "heroui"
|
|
111
|
+
*/
|
|
112
|
+
prefix?: string;
|
|
113
|
+
/**
|
|
114
|
+
* If true, the common heroui colors (e.g. "blue", "green", "purple") will not be extended on the theme.
|
|
115
|
+
* @default false
|
|
116
|
+
*/
|
|
117
|
+
addCommonColors?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Common layout definitions. These definitions are applied to all themes.
|
|
120
|
+
*/
|
|
121
|
+
layout?: LayoutTheme;
|
|
122
|
+
/**
|
|
123
|
+
* The theme definitions.
|
|
124
|
+
*/
|
|
125
|
+
themes?: ConfigThemes;
|
|
126
|
+
/**
|
|
127
|
+
* The default theme to use.
|
|
128
|
+
* @default "light"
|
|
129
|
+
*/
|
|
130
|
+
defaultTheme?: DefaultThemeType;
|
|
131
|
+
/**
|
|
132
|
+
* The default theme to extend.
|
|
133
|
+
* @default "light"
|
|
134
|
+
*/
|
|
135
|
+
defaultExtendTheme?: DefaultThemeType;
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
export type { BaseThemeUnit, ConfigTheme, ConfigThemes, DefaultThemeType, FontThemeUnit, HeroUIPluginConfig, LayoutTheme };
|