@indielayer/ui 1.4.0 → 1.5.1
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/docs/components/common/CodePreview.vue +1 -1
- package/docs/components/common/CodeSnippet.vue +5 -7
- package/docs/components/common/DocumentPage.vue +89 -93
- package/docs/components/menu/DocsMenu.vue +75 -122
- package/docs/components/toolbar/PreToolbar.vue +10 -12
- package/docs/components/toolbar/Toolbar.vue +21 -8
- package/docs/layouts/default.vue +7 -3
- package/docs/pages/colors.vue +49 -54
- package/docs/pages/component/button/button-group.vue +6 -2
- package/docs/pages/component/button/size.vue +1 -1
- package/docs/pages/component/carousel/usage.vue +2 -2
- package/docs/pages/component/form/usage.vue +3 -3
- package/docs/pages/component/formGroup/usage.vue +1 -0
- package/docs/pages/component/input/usage.vue +8 -9
- package/docs/pages/component/modal/composed.vue +10 -2
- package/docs/pages/component/modal/usage.vue +11 -6
- package/docs/pages/component/popover/usage.vue +3 -3
- package/docs/pages/component/select/usage.vue +1 -0
- package/docs/pages/component/tabs/usage.vue +6 -1
- package/docs/pages/component/textarea/usage.vue +10 -13
- package/docs/pages/component/toggle/usage.vue +9 -11
- package/docs/pages/component/tooltip/index.vue +2 -2
- package/docs/pages/component/tooltip/usage.vue +4 -8
- package/docs/pages/icons.vue +54 -58
- package/docs/pages/index.vue +73 -77
- package/docs/pages/play.vue +2 -14
- package/docs/pages/typography.vue +26 -30
- package/docs/router/index.ts +2 -0
- package/exports/tailwind.preset.js +0 -1
- package/lib/components/accordion/theme/AccordionItem.base.theme.js +7 -7
- package/lib/components/badge/Badge.vue.js +7 -7
- package/lib/components/breadcrumbs/theme/Breadcrumbs.base.theme.js +1 -1
- package/lib/components/button/Button.vue.js +2 -2
- package/lib/components/button/Button.vue2.js +26 -26
- package/lib/components/button/theme/Button.base.theme.js +7 -7
- package/lib/components/card/theme/Card.base.theme.js +1 -1
- package/lib/components/checkbox/Checkbox.vue.d.ts +3 -0
- package/lib/components/checkbox/Checkbox.vue2.js +23 -23
- package/lib/components/checkbox/theme/Checkbox.base.theme.js +6 -6
- package/lib/components/checkbox/theme/Checkbox.carbon.theme.js +2 -2
- package/lib/components/container/theme/Container.base.theme.js +2 -2
- package/lib/components/divider/Divider.vue.js +14 -14
- package/lib/components/divider/theme/Divider.base.theme.js +2 -2
- package/lib/components/drawer/Drawer.vue.js +2 -2
- package/lib/components/drawer/theme/Drawer.base.theme.js +1 -1
- package/lib/components/form/Form.vue.js +1 -1
- package/lib/components/form/theme/Form.base.theme.js +4 -4
- package/lib/components/form/theme/Form.carbon.theme.js +4 -4
- package/lib/components/formGroup/FormGroup.vue.d.ts +3 -0
- package/lib/components/formGroup/FormGroup.vue.js +16 -15
- package/lib/components/formGroup/theme/FormGroup.base.theme.js +1 -1
- package/lib/components/icon/theme/Icon.base.theme.js +1 -1
- package/lib/components/index.js +108 -107
- package/lib/components/input/Input.vue.d.ts +3 -0
- package/lib/components/input/Input.vue.js +4 -3
- package/lib/components/input/theme/Input.base.theme.js +10 -10
- package/lib/components/input/theme/Input.carbon.theme.js +10 -10
- package/lib/components/inputFooter/theme/InputFooter.base.theme.js +3 -3
- package/lib/components/inputFooter/theme/InputFooter.carbon.theme.js +2 -2
- package/lib/components/label/Label.vue.d.ts +3 -0
- package/lib/components/label/Label.vue.js +26 -20
- package/lib/components/label/theme/Label.base.theme.js +1 -1
- package/lib/components/label/theme/Label.carbon.theme.js +3 -3
- package/lib/components/link/Link.vue.js +2 -2
- package/lib/components/link/Link.vue2.js +4 -4
- package/lib/components/loader/theme/Loader.base.theme.js +1 -1
- package/lib/components/loader/theme/Loader.carbon.theme.js +1 -1
- package/lib/components/menu/Menu.vue.js +19 -19
- package/lib/components/menu/theme/MenuItem.base.theme.js +21 -31
- package/lib/components/modal/Modal.vue.d.ts +4 -0
- package/lib/components/modal/Modal.vue.js +80 -74
- package/lib/components/modal/theme/Modal.base.theme.js +10 -10
- package/lib/components/modal/theme/Modal.carbon.theme.js +3 -3
- package/lib/components/notifications/Notifications.vue.js +1 -1
- package/lib/components/notifications/theme/Notifications.base.theme.js +1 -1
- package/lib/components/notifications/theme/Notifications.carbon.theme.js +3 -3
- package/lib/components/pagination/Pagination.vue.js +27 -27
- package/lib/components/popover/Popover.vue.d.ts +13 -0
- package/lib/components/popover/Popover.vue.js +13 -8
- package/lib/components/popover/Popover.vue2.js +3 -2
- package/lib/components/popover/Popover.vue3.js +2 -3
- package/lib/components/popover/theme/PopoverContainer.base.theme.js +4 -4
- package/lib/components/popover/theme/PopoverContainer.carbon.theme.js +4 -4
- package/lib/components/progress/Progress.vue.js +11 -11
- package/lib/components/progress/theme/Progress.base.theme.js +10 -10
- package/lib/components/radio/Radio.vue.d.ts +3 -0
- package/lib/components/radio/theme/Radio.base.theme.js +28 -28
- package/lib/components/radio/theme/Radio.carbon.theme.js +8 -8
- package/lib/components/select/Select.vue.d.ts +16 -0
- package/lib/components/select/Select.vue.js +95 -92
- package/lib/components/select/theme/Select.base.theme.js +11 -11
- package/lib/components/select/theme/Select.carbon.theme.js +10 -10
- package/lib/components/skeleton/theme/Skeleton.base.theme.js +1 -1
- package/lib/components/slider/Slider.vue.d.ts +3 -0
- package/lib/components/slider/Slider.vue.js +1 -1
- package/lib/components/slider/theme/Slider.carbon.theme.js +6 -6
- package/lib/components/stepper/Stepper.vue.js +14 -14
- package/lib/components/tab/Tab.vue.js +55 -54
- package/lib/components/tab/theme/TabGroup.base.theme.js +15 -15
- package/lib/components/tab/theme/TabGroup.carbon.theme.js +8 -8
- package/lib/components/table/Table.vue.js +192 -194
- package/lib/components/table/theme/Table.base.theme.js +3 -3
- package/lib/components/table/theme/Table.carbon.theme.js +7 -7
- package/lib/components/table/theme/TableHead.base.theme.js +1 -1
- package/lib/components/table/theme/TableHead.carbon.theme.js +1 -1
- package/lib/components/table/theme/TableHeader.base.theme.js +1 -1
- package/lib/components/table/theme/TableHeader.carbon.theme.js +2 -2
- package/lib/components/table/theme/TableRow.base.theme.js +3 -3
- package/lib/components/table/theme/TableRow.carbon.theme.js +3 -3
- package/lib/components/tag/Tag.vue.js +4 -4
- package/lib/components/textarea/Textarea.vue.d.ts +7 -0
- package/lib/components/textarea/Textarea.vue.js +23 -21
- package/lib/components/textarea/theme/Textarea.base.theme.js +6 -6
- package/lib/components/textarea/theme/Textarea.carbon.theme.js +6 -6
- package/lib/components/toggle/Toggle.vue.d.ts +3 -0
- package/lib/components/toggle/Toggle.vue.js +26 -26
- package/lib/components/toggle/theme/Toggle.base.theme.js +1 -1
- package/lib/components/tooltip/ToggleTip.vue.d.ts +14 -0
- package/lib/components/tooltip/ToggleTip.vue.js +29 -0
- package/lib/components/tooltip/ToggleTip.vue2.js +4 -0
- package/lib/components/tooltip/Tooltip.vue.d.ts +22 -3
- package/lib/components/tooltip/Tooltip.vue.js +26 -17
- package/lib/components/tooltip/__tests__/ToggleTip.spec.d.ts +1 -0
- package/lib/components/tooltip/index.d.ts +2 -0
- package/lib/composables/useColors.js +9 -9
- package/lib/composables/useInputtable.d.ts +1 -0
- package/lib/composables/useInputtable.js +20 -19
- package/lib/index.js +37 -35
- package/lib/index.umd.js +7 -3
- package/lib/tailwind.preset.js +0 -1
- package/lib/themes/base/index.js +3 -6
- package/lib/themes/base/styles.css.js +4 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +2 -1
- package/src/components/accordion/theme/AccordionItem.base.theme.ts +2 -2
- package/src/components/badge/Badge.vue +1 -1
- package/src/components/breadcrumbs/theme/Breadcrumbs.base.theme.ts +1 -1
- package/src/components/button/Button.vue +1 -1
- package/src/components/button/theme/Button.base.theme.ts +2 -2
- package/src/components/card/theme/Card.base.theme.ts +1 -1
- package/src/components/checkbox/Checkbox.vue +1 -1
- package/src/components/checkbox/theme/Checkbox.base.theme.ts +8 -8
- package/src/components/checkbox/theme/Checkbox.carbon.theme.ts +2 -2
- package/src/components/container/theme/Container.base.theme.ts +2 -2
- package/src/components/divider/Divider.vue +1 -1
- package/src/components/divider/theme/Divider.base.theme.ts +2 -2
- package/src/components/drawer/Drawer.vue +2 -2
- package/src/components/drawer/theme/Drawer.base.theme.ts +1 -1
- package/src/components/form/Form.vue +1 -1
- package/src/components/form/theme/Form.base.theme.ts +1 -1
- package/src/components/form/theme/Form.carbon.theme.ts +1 -1
- package/src/components/formGroup/FormGroup.vue +1 -0
- package/src/components/formGroup/theme/FormGroup.base.theme.ts +1 -1
- package/src/components/icon/theme/Icon.base.theme.ts +2 -2
- package/src/components/input/Input.vue +2 -1
- package/src/components/input/theme/Input.base.theme.ts +5 -5
- package/src/components/input/theme/Input.carbon.theme.ts +6 -6
- package/src/components/inputFooter/theme/InputFooter.base.theme.ts +3 -3
- package/src/components/inputFooter/theme/InputFooter.carbon.theme.ts +2 -2
- package/src/components/label/Label.vue +4 -1
- package/src/components/label/theme/Label.base.theme.ts +1 -1
- package/src/components/label/theme/Label.carbon.theme.ts +1 -1
- package/src/components/link/Link.vue +1 -1
- package/src/components/loader/theme/Loader.base.theme.ts +1 -1
- package/src/components/loader/theme/Loader.carbon.theme.ts +1 -1
- package/src/components/menu/Menu.vue +3 -3
- package/src/components/menu/theme/MenuItem.base.theme.ts +30 -34
- package/src/components/modal/Modal.vue +11 -4
- package/src/components/modal/theme/Modal.base.theme.ts +9 -6
- package/src/components/modal/theme/Modal.carbon.theme.ts +3 -3
- package/src/components/notifications/Notifications.vue +1 -1
- package/src/components/notifications/theme/Notifications.base.theme.ts +1 -1
- package/src/components/notifications/theme/Notifications.carbon.theme.ts +1 -1
- package/src/components/pagination/Pagination.vue +3 -3
- package/src/components/popover/Popover.vue +77 -2
- package/src/components/popover/theme/PopoverContainer.base.theme.ts +1 -1
- package/src/components/popover/theme/PopoverContainer.carbon.theme.ts +1 -1
- package/src/components/progress/Progress.vue +1 -1
- package/src/components/progress/theme/Progress.base.theme.ts +2 -2
- package/src/components/radio/theme/Radio.base.theme.ts +8 -8
- package/src/components/radio/theme/Radio.carbon.theme.ts +1 -1
- package/src/components/select/Select.vue +7 -4
- package/src/components/select/theme/Select.base.theme.ts +8 -8
- package/src/components/select/theme/Select.carbon.theme.ts +8 -8
- package/src/components/skeleton/theme/Skeleton.base.theme.ts +1 -1
- package/src/components/slider/Slider.vue +1 -1
- package/src/components/slider/theme/Slider.carbon.theme.ts +1 -1
- package/src/components/stepper/Stepper.vue +3 -3
- package/src/components/tab/Tab.vue +3 -3
- package/src/components/tab/theme/TabGroup.base.theme.ts +4 -4
- package/src/components/tab/theme/TabGroup.carbon.theme.ts +3 -3
- package/src/components/table/Table.vue +2 -0
- package/src/components/table/theme/Table.base.theme.ts +1 -1
- package/src/components/table/theme/Table.carbon.theme.ts +2 -2
- package/src/components/table/theme/TableHead.base.theme.ts +1 -1
- package/src/components/table/theme/TableHead.carbon.theme.ts +1 -1
- package/src/components/table/theme/TableHeader.base.theme.ts +1 -1
- package/src/components/table/theme/TableHeader.carbon.theme.ts +2 -2
- package/src/components/table/theme/TableRow.base.theme.ts +3 -3
- package/src/components/table/theme/TableRow.carbon.theme.ts +3 -3
- package/src/components/tag/Tag.vue +1 -1
- package/src/components/textarea/Textarea.vue +3 -1
- package/src/components/textarea/theme/Textarea.base.theme.ts +5 -4
- package/src/components/textarea/theme/Textarea.carbon.theme.ts +5 -5
- package/src/components/toggle/Toggle.vue +3 -3
- package/src/components/toggle/theme/Toggle.base.theme.ts +1 -1
- package/src/components/tooltip/ToggleTip.vue +31 -0
- package/src/components/tooltip/Tooltip.vue +14 -4
- package/src/components/tooltip/__tests__/ToggleTip.spec.ts +11 -0
- package/src/components/tooltip/index.ts +3 -0
- package/src/composables/useColors.ts +1 -1
- package/src/composables/useInputtable.ts +1 -0
- package/src/themes/base/index.ts +0 -3
- package/src/themes/base/styles.css +4 -0
- package/src/version.ts +1 -1
- package/volar.d.ts +1 -0
package/lib/components/index.js
CHANGED
|
@@ -1,111 +1,112 @@
|
|
|
1
1
|
import { default as a } from "./accordion/Accordion.vue.js";
|
|
2
|
-
import { default as
|
|
3
|
-
import { default as
|
|
4
|
-
import { default as
|
|
5
|
-
import { default as
|
|
6
|
-
import { default as
|
|
7
|
-
import { default as
|
|
8
|
-
import { default as
|
|
9
|
-
import { default as
|
|
10
|
-
import { default as
|
|
11
|
-
import { default as
|
|
12
|
-
import { default as
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as
|
|
19
|
-
import "./
|
|
20
|
-
import { default as
|
|
21
|
-
import { default as
|
|
22
|
-
import { default as
|
|
23
|
-
import { default as
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as
|
|
30
|
-
import { default as
|
|
31
|
-
import { default as
|
|
32
|
-
import { default as
|
|
33
|
-
import { default as
|
|
34
|
-
import { default as
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as
|
|
45
|
-
import { default as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
2
|
+
import { default as t } from "./accordion/AccordionItem.vue.js";
|
|
3
|
+
import { default as l } from "./badge/Badge.vue.js";
|
|
4
|
+
import { default as p } from "./breadcrumbs/Breadcrumbs.vue.js";
|
|
5
|
+
import { default as m } from "./card/Card.vue.js";
|
|
6
|
+
import { default as x } from "./carousel/Carousel.vue.js";
|
|
7
|
+
import { default as n } from "./container/Container.vue.js";
|
|
8
|
+
import { default as T } from "./divider/Divider.vue.js";
|
|
9
|
+
import { default as c } from "./drawer/Drawer.vue.js";
|
|
10
|
+
import { default as S } from "./form/Form.vue.js";
|
|
11
|
+
import { default as I } from "./formGroup/FormGroup.vue.js";
|
|
12
|
+
import { default as v } from "./image/Image.vue.js";
|
|
13
|
+
import { default as A } from "./input/Input.vue.js";
|
|
14
|
+
import { default as F } from "./menu/Menu.vue.js";
|
|
15
|
+
import { default as L } from "./modal/Modal.vue.js";
|
|
16
|
+
import { default as h } from "./notifications/Notifications.vue.js";
|
|
17
|
+
import { default as D } from "./pagination/Pagination.vue.js";
|
|
18
|
+
import { default as R } from "./progress/Progress.vue.js";
|
|
19
|
+
import { default as N } from "./select/Select.vue.js";
|
|
20
|
+
import { default as q } from "./skeleton/Skeleton.vue.js";
|
|
21
|
+
import { default as E } from "./slider/Slider.vue.js";
|
|
22
|
+
import { default as K } from "./stepper/Stepper.vue.js";
|
|
23
|
+
import { default as Q } from "./tab/Tab.vue.js";
|
|
24
|
+
import { default as V } from "./tab/TabGroup.vue.js";
|
|
25
|
+
import { default as Y } from "./table/Table.vue.js";
|
|
26
|
+
import { default as _ } from "./textarea/Textarea.vue.js";
|
|
27
|
+
import { default as ee } from "./themeProvider/ThemeProvider.vue.js";
|
|
28
|
+
import { default as ae } from "./toggle/Toggle.vue.js";
|
|
29
|
+
import { default as te } from "./alert/Alert.vue.js";
|
|
30
|
+
import { default as le } from "./avatar/Avatar.vue.js";
|
|
31
|
+
import { default as pe } from "./button/Button.vue.js";
|
|
32
|
+
import { default as me } from "./button/ButtonGroup.vue.js";
|
|
33
|
+
import { default as xe } from "./carousel/CarouselSlide.vue.js";
|
|
34
|
+
import { default as ne } from "./checkbox/Checkbox.vue.js";
|
|
35
|
+
import { default as Te } from "./icon/Icon.vue.js";
|
|
36
|
+
import { default as ce } from "./inputFooter/InputFooter.vue.js";
|
|
37
|
+
import { default as Se } from "./label/Label.vue.js";
|
|
38
|
+
import { default as Ie } from "./link/Link.vue.js";
|
|
39
|
+
import { default as ve } from "./loader/Loader.vue.js";
|
|
40
|
+
import { default as Ae } from "./menu/MenuItem.vue.js";
|
|
41
|
+
import { default as Fe } from "./pagination/PaginationItem.vue.js";
|
|
42
|
+
import { default as Le } from "./popover/Popover.vue.js";
|
|
43
|
+
import { default as he } from "./popover/PopoverContainer.vue.js";
|
|
44
|
+
import { default as De } from "./radio/Radio.vue.js";
|
|
45
|
+
import { default as Re } from "./scroll/Scroll.vue.js";
|
|
46
|
+
import { default as Ne } from "./spacer/Spacer.js";
|
|
47
|
+
import { default as qe } from "./spinner/Spinner.vue.js";
|
|
48
|
+
import { default as Ee } from "./table/TableBody.js";
|
|
49
|
+
import { default as Ke } from "./table/TableCell.vue.js";
|
|
50
|
+
import { default as Qe } from "./table/TableHead.vue.js";
|
|
51
|
+
import { default as Ve } from "./table/TableHeader.vue.js";
|
|
52
|
+
import { default as Ye } from "./table/TableRow.vue.js";
|
|
53
|
+
import { default as _e } from "./tag/Tag.vue.js";
|
|
54
|
+
import { default as eo } from "./tooltip/Tooltip.vue.js";
|
|
55
|
+
import { default as ao } from "./tooltip/ToggleTip.vue.js";
|
|
56
56
|
export {
|
|
57
57
|
a as XAccordion,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
58
|
+
t as XAccordionItem,
|
|
59
|
+
te as XAlert,
|
|
60
|
+
le as XAvatar,
|
|
61
|
+
l as XBadge,
|
|
62
|
+
p as XBreadcrumbs,
|
|
63
|
+
pe as XButton,
|
|
64
|
+
me as XButtonGroup,
|
|
65
|
+
m as XCard,
|
|
66
|
+
x as XCarousel,
|
|
67
|
+
xe as XCarouselSlide,
|
|
68
|
+
ne as XCheckbox,
|
|
69
|
+
n as XContainer,
|
|
70
|
+
T as XDivider,
|
|
71
|
+
c as XDrawer,
|
|
72
|
+
S as XForm,
|
|
73
|
+
I as XFormGroup,
|
|
74
|
+
Te as XIcon,
|
|
75
|
+
v as XImage,
|
|
76
|
+
A as XInput,
|
|
77
|
+
ce as XInputFooter,
|
|
78
|
+
Se as XLabel,
|
|
79
|
+
Ie as XLink,
|
|
80
|
+
ve as XLoader,
|
|
81
|
+
F as XMenu,
|
|
82
|
+
Ae as XMenuItem,
|
|
83
|
+
L as XModal,
|
|
84
|
+
h as XNotifications,
|
|
85
|
+
D as XPagination,
|
|
86
|
+
Fe as XPaginationItem,
|
|
87
|
+
Le as XPopover,
|
|
88
|
+
he as XPopoverContainer,
|
|
89
|
+
R as XProgress,
|
|
90
|
+
De as XRadio,
|
|
91
|
+
Re as XScroll,
|
|
92
|
+
N as XSelect,
|
|
93
|
+
q as XSkeleton,
|
|
94
|
+
E as XSlider,
|
|
95
|
+
Ne as XSpacer,
|
|
96
|
+
qe as XSpinner,
|
|
97
|
+
K as XStepper,
|
|
98
|
+
Q as XTab,
|
|
99
|
+
V as XTabGroup,
|
|
100
|
+
Y as XTable,
|
|
101
|
+
Ee as XTableBody,
|
|
102
|
+
Ke as XTableCell,
|
|
103
|
+
Qe as XTableHead,
|
|
104
|
+
Ve as XTableHeader,
|
|
105
|
+
Ye as XTableRow,
|
|
106
|
+
_e as XTag,
|
|
107
|
+
_ as XTextarea,
|
|
108
|
+
ee as XThemeProvider,
|
|
109
|
+
ae as XToggle,
|
|
110
|
+
ao as XToggleTip,
|
|
111
|
+
eo as XTooltip
|
|
111
112
|
};
|
|
@@ -39,6 +39,7 @@ declare const inputProps: {
|
|
|
39
39
|
readonly type: ArrayConstructor;
|
|
40
40
|
readonly default: () => never[];
|
|
41
41
|
};
|
|
42
|
+
tooltip: StringConstructor;
|
|
42
43
|
disabled: BooleanConstructor;
|
|
43
44
|
loading: BooleanConstructor;
|
|
44
45
|
loadingLabel: StringConstructor;
|
|
@@ -102,6 +103,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
102
103
|
readonly type: ArrayConstructor;
|
|
103
104
|
readonly default: () => never[];
|
|
104
105
|
};
|
|
106
|
+
tooltip: StringConstructor;
|
|
105
107
|
disabled: BooleanConstructor;
|
|
106
108
|
loading: BooleanConstructor;
|
|
107
109
|
loadingLabel: StringConstructor;
|
|
@@ -163,6 +165,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
163
165
|
readonly type: ArrayConstructor;
|
|
164
166
|
readonly default: () => never[];
|
|
165
167
|
};
|
|
168
|
+
tooltip: StringConstructor;
|
|
166
169
|
disabled: BooleanConstructor;
|
|
167
170
|
loading: BooleanConstructor;
|
|
168
171
|
loadingLabel: StringConstructor;
|
|
@@ -79,7 +79,8 @@ const U = { class: "relative" }, W = ["id", "disabled", "min", "max", "minlength
|
|
|
79
79
|
class: a([
|
|
80
80
|
r(E),
|
|
81
81
|
r(s).wrapper
|
|
82
|
-
])
|
|
82
|
+
]),
|
|
83
|
+
tooltip: e.tooltip
|
|
83
84
|
}, {
|
|
84
85
|
default: j(() => [
|
|
85
86
|
h("div", U, [
|
|
@@ -99,7 +100,7 @@ const U = { class: "relative" }, W = ["id", "disabled", "min", "max", "minlength
|
|
|
99
100
|
r(s).input,
|
|
100
101
|
e.type === "password" ? "pr-10" : "",
|
|
101
102
|
// error
|
|
102
|
-
r(m) ? "border-
|
|
103
|
+
r(m) ? "border-error-500 dark:border-error-400 focus:outline-error-500" : "focus:outline-[color:var(--x-input-border)]",
|
|
103
104
|
{
|
|
104
105
|
"!pl-10": e.iconLeft,
|
|
105
106
|
"!pr-10": e.iconRight
|
|
@@ -139,7 +140,7 @@ const U = { class: "relative" }, W = ["id", "disabled", "min", "max", "minlength
|
|
|
139
140
|
}, null, 8, ["error", "helper"]))
|
|
140
141
|
]),
|
|
141
142
|
_: 3
|
|
142
|
-
}, 8, ["style", "block", "disabled", "required", "is-inside-form", "label", "class"]));
|
|
143
|
+
}, 8, ["style", "block", "disabled", "required", "is-inside-form", "label", "class", "tooltip"]));
|
|
143
144
|
}
|
|
144
145
|
});
|
|
145
146
|
export {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
const
|
|
1
|
+
const o = {
|
|
2
2
|
classes: {
|
|
3
3
|
wrapper: "",
|
|
4
|
-
input: ({ props: r, data:
|
|
5
|
-
const e = ["appearance-none block w-full placeholder-
|
|
6
|
-
return !
|
|
4
|
+
input: ({ props: r, data: s }) => {
|
|
5
|
+
const e = ["appearance-none block w-full placeholder-secondary-400 dark:placeholder-secondary-500 outline-transparent outline outline-2 outline-offset-[-1px] transition-all duration-150 ease-in-out border-secondary-300 dark:border-secondary-700 border shadow-sm rounded-md"];
|
|
6
|
+
return !s.errorInternal && !r.disabled && e.push("hover:border-secondary-400 dark:hover:border-secondary-500"), r.size === "xs" ? e.push("px-2 py-1 text-xs") : r.size === "sm" ? e.push("px-2 py-2 text-sm") : r.size === "lg" ? e.push("px-4 py-3 text-lg") : r.size === "xl" ? e.push("px-5 py-4 text-xl") : e.push("px-3 py-2"), e.push(r.disabled ? "bg-secondary-100 dark:bg-secondary-700 text-secondary-400 dark:text-secondary-600 cursor-not-allowed" : "bg-white dark:bg-secondary-800 text-secondary-700 dark:text-secondary-200"), e;
|
|
7
7
|
},
|
|
8
|
-
icon: "text-
|
|
8
|
+
icon: "text-secondary-600 dark:text-secondary-300 absolute my-auto inset-y-0"
|
|
9
9
|
},
|
|
10
|
-
styles: ({ colors: r, props:
|
|
11
|
-
const
|
|
12
|
-
return e.get("border",
|
|
10
|
+
styles: ({ colors: r, props: s, css: e }) => {
|
|
11
|
+
const t = r.getPalette(s.color);
|
|
12
|
+
return e.get("border", t[400]);
|
|
13
13
|
}
|
|
14
|
-
},
|
|
14
|
+
}, a = o;
|
|
15
15
|
export {
|
|
16
|
-
|
|
16
|
+
a as default
|
|
17
17
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
const
|
|
1
|
+
const o = {
|
|
2
2
|
classes: {
|
|
3
3
|
wrapper: "",
|
|
4
|
-
input: ({ props: r, data:
|
|
5
|
-
const e = ["appearance-none block w-full placeholder-
|
|
6
|
-
return !
|
|
4
|
+
input: ({ props: r, data: s }) => {
|
|
5
|
+
const e = ["appearance-none block w-full placeholder-secondary-400 dark:placeholder-secondary-500 outline-transparent outline outline-2 outline-offset-[-1px] transition-all duration-150 ease-in-out border-secondary-300 dark:border-secondary-700 border-b text-sm px-4"];
|
|
6
|
+
return !s.errorInternal && !r.disabled && e.push("hover:border-secondary-400 dark:hover:border-secondary-500"), r.size === "xs" || r.size === "sm" ? e.push("py-1.5") : r.size === "lg" || r.size === "xl" ? e.push("py-3.5") : e.push("py-2.5"), r.disabled ? e.push("bg-secondary-100 dark:bg-secondary-900 text-secondary-300 cursor-not-allowed") : r.readonly ? e.push("bg-white dark:bg-secondary-900 text-secondary-700") : e.push("bg-secondary-50 dark:bg-secondary-800 text-secondary-700 dark:text-secondary-200"), e;
|
|
7
7
|
},
|
|
8
|
-
icon: "text-
|
|
8
|
+
icon: "text-secondary-600 dark:text-secondary-300 absolute my-auto inset-y-0"
|
|
9
9
|
},
|
|
10
|
-
styles: ({ colors: r, props:
|
|
11
|
-
const
|
|
12
|
-
return e.get("border",
|
|
10
|
+
styles: ({ colors: r, props: s, css: e }) => {
|
|
11
|
+
const a = r.getPalette(s.color);
|
|
12
|
+
return e.get("border", a[400]);
|
|
13
13
|
}
|
|
14
|
-
},
|
|
14
|
+
}, t = o;
|
|
15
15
|
export {
|
|
16
|
-
|
|
16
|
+
t as default
|
|
17
17
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const e = {
|
|
2
2
|
classes: {
|
|
3
|
-
wrapper: "min-h-[1.3rem] text-
|
|
4
|
-
helperText: "text-
|
|
5
|
-
errorText: "text-
|
|
3
|
+
wrapper: "min-h-[1.3rem] text-xs mt-1",
|
|
4
|
+
helperText: "text-secondary-500 dark:text-secondary-400",
|
|
5
|
+
errorText: "text-error-500 dark:text-error-400"
|
|
6
6
|
}
|
|
7
7
|
}, t = e;
|
|
8
8
|
export {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const e = {
|
|
2
2
|
classes: {
|
|
3
3
|
wrapper: "text-xs mt-1",
|
|
4
|
-
helperText: "text-
|
|
5
|
-
errorText: "text-
|
|
4
|
+
helperText: "text-secondary-500 dark:text-secondary-400",
|
|
5
|
+
errorText: "text-error-500 dark:text-error-400"
|
|
6
6
|
}
|
|
7
7
|
}, t = e;
|
|
8
8
|
export {
|
|
@@ -10,6 +10,7 @@ declare const labelProps: {
|
|
|
10
10
|
type: StringConstructor;
|
|
11
11
|
default: string;
|
|
12
12
|
};
|
|
13
|
+
tooltip: StringConstructor;
|
|
13
14
|
size: {
|
|
14
15
|
readonly type: import("vue").PropType<import("../../composables/useCommon").Size>;
|
|
15
16
|
readonly default: "md";
|
|
@@ -30,6 +31,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
30
31
|
type: StringConstructor;
|
|
31
32
|
default: string;
|
|
32
33
|
};
|
|
34
|
+
tooltip: StringConstructor;
|
|
33
35
|
size: {
|
|
34
36
|
readonly type: import("vue").PropType<import("../../composables/useCommon").Size>;
|
|
35
37
|
readonly default: "md";
|
|
@@ -45,6 +47,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
45
47
|
type: StringConstructor;
|
|
46
48
|
default: string;
|
|
47
49
|
};
|
|
50
|
+
tooltip: StringConstructor;
|
|
48
51
|
size: {
|
|
49
52
|
readonly type: import("vue").PropType<import("../../composables/useCommon").Size>;
|
|
50
53
|
readonly default: "md";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as f, openBlock as o, createBlock as t, resolveDynamicComponent as s, normalizeStyle as b, unref as l, normalizeClass as n, withCtx as r, createElementVNode as y, toDisplayString as g, createCommentVNode as i, renderSlot as B } from "vue";
|
|
2
2
|
import { useTheme as C } from "../../composables/useTheme.js";
|
|
3
|
-
import { useCommon as
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
import { useCommon as p } from "../../composables/useCommon.js";
|
|
4
|
+
import S from "../tooltip/ToggleTip.vue.js";
|
|
5
|
+
const k = {
|
|
6
|
+
...p.props(),
|
|
6
7
|
label: String,
|
|
7
8
|
disabled: Boolean,
|
|
8
9
|
required: Boolean,
|
|
@@ -11,32 +12,37 @@ const S = {
|
|
|
11
12
|
tag: {
|
|
12
13
|
type: String,
|
|
13
14
|
default: "label"
|
|
14
|
-
}
|
|
15
|
-
|
|
15
|
+
},
|
|
16
|
+
tooltip: String
|
|
17
|
+
}, _ = {
|
|
16
18
|
name: "XLabel",
|
|
17
19
|
validators: {
|
|
18
|
-
...
|
|
20
|
+
...p.validators()
|
|
19
21
|
}
|
|
20
|
-
},
|
|
21
|
-
...
|
|
22
|
-
props:
|
|
22
|
+
}, D = /* @__PURE__ */ f({
|
|
23
|
+
..._,
|
|
24
|
+
props: k,
|
|
23
25
|
setup(m) {
|
|
24
|
-
const
|
|
25
|
-
return (e,
|
|
26
|
-
style:
|
|
27
|
-
class:
|
|
26
|
+
const d = m, { styles: c, classes: a, className: u } = C("Label", {}, d);
|
|
27
|
+
return (e, h) => (o(), t(s(e.tag), {
|
|
28
|
+
style: b(l(c)),
|
|
29
|
+
class: n([l(u), l(a).wrapper])
|
|
28
30
|
}, {
|
|
29
|
-
default:
|
|
31
|
+
default: r(() => [
|
|
30
32
|
e.label ? (o(), t(s(e.tag === "fieldset" ? "legend" : "p"), {
|
|
31
33
|
key: 0,
|
|
32
34
|
title: e.label,
|
|
33
|
-
class:
|
|
35
|
+
class: n(l(a).label)
|
|
34
36
|
}, {
|
|
35
|
-
default:
|
|
36
|
-
|
|
37
|
+
default: r(() => [
|
|
38
|
+
y("span", null, g(e.label), 1),
|
|
39
|
+
e.tooltip ? (o(), t(S, {
|
|
40
|
+
key: 0,
|
|
41
|
+
content: e.tooltip
|
|
42
|
+
}, null, 8, ["content"])) : i("", !0)
|
|
37
43
|
]),
|
|
38
44
|
_: 1
|
|
39
|
-
}, 8, ["title", "class"])) :
|
|
45
|
+
}, 8, ["title", "class"])) : i("", !0),
|
|
40
46
|
B(e.$slots, "default")
|
|
41
47
|
]),
|
|
42
48
|
_: 3
|
|
@@ -44,5 +50,5 @@ const S = {
|
|
|
44
50
|
}
|
|
45
51
|
});
|
|
46
52
|
export {
|
|
47
|
-
|
|
53
|
+
D as default
|
|
48
54
|
};
|
|
@@ -5,7 +5,7 @@ const s = {
|
|
|
5
5
|
return t.isInsideForm && e.push("mb-3"), t.block && e.push("w-full"), e;
|
|
6
6
|
},
|
|
7
7
|
label: ({ props: t }) => {
|
|
8
|
-
const e = "font-medium text-
|
|
8
|
+
const e = "flex items-center gap-2 font-medium text-secondary-800 dark:text-secondary-200 mb-1";
|
|
9
9
|
return t.size === "xs" ? e + " text-xs" : t.size === "sm" ? e + " text-sm" : t.size === "lg" ? e + " text-lg" : t.size === "xl" ? e + " text-xl" : e;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -4,9 +4,9 @@ const s = {
|
|
|
4
4
|
const e = ["block relative align-bottom focus:outline-none"];
|
|
5
5
|
return t.isInsideForm && e.push("mb-8"), t.block && e.push("w-full"), e;
|
|
6
6
|
},
|
|
7
|
-
label: "text-xs text-
|
|
7
|
+
label: "text-xs text-secondary-500 dark:text-secondary-200 mb-2"
|
|
8
8
|
}
|
|
9
|
-
},
|
|
9
|
+
}, o = s;
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
o as default
|
|
12
12
|
};
|
|
@@ -3,7 +3,7 @@ import o from "./Link.vue3.js";
|
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const e = {
|
|
5
5
|
$style: o
|
|
6
|
-
},
|
|
6
|
+
}, m = /* @__PURE__ */ t(s, [["__cssModules", e], ["__scopeId", "data-v-81a39d2b"]]);
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
m as default
|
|
9
9
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m, openBlock as n, createBlock as p, resolveDynamicComponent as
|
|
1
|
+
import { defineComponent as m, openBlock as n, createBlock as p, resolveDynamicComponent as d, normalizeStyle as u, unref as o, normalizeClass as c, withCtx as f, createElementBlock as k, renderSlot as t, createVNode as y } from "vue";
|
|
2
2
|
import { useColors as h } from "../../composables/useColors.js";
|
|
3
3
|
import { useTheme as g } from "../../composables/useTheme.js";
|
|
4
4
|
import { externalIcon as B } from "../../common/icons.js";
|
|
@@ -7,7 +7,7 @@ const C = {
|
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "inline-flex items-center"
|
|
9
9
|
}, $ = {
|
|
10
|
-
...h.props("
|
|
10
|
+
...h.props("secondary"),
|
|
11
11
|
tag: {
|
|
12
12
|
type: String,
|
|
13
13
|
default: "a"
|
|
@@ -21,9 +21,9 @@ const C = {
|
|
|
21
21
|
props: $,
|
|
22
22
|
setup(s) {
|
|
23
23
|
const l = s, { styles: r, classes: a, className: i } = g("Link", {}, l);
|
|
24
|
-
return (e, v) => (n(), p(
|
|
24
|
+
return (e, v) => (n(), p(d(e.to ? e.tag !== "a" ? e.tag : "router-link" : e.tag), {
|
|
25
25
|
to: e.to,
|
|
26
|
-
style:
|
|
26
|
+
style: u(o(r)),
|
|
27
27
|
class: c([
|
|
28
28
|
o(i),
|
|
29
29
|
e.$style.link,
|