@bridge-ui/vue 0.21.0 → 0.22.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/dist/Components/Alert/Alert.vue_vue_type_script_setup_true_lang.js +24 -10
- package/dist/Components/Alert/alert.types.d.ts +5 -4
- package/dist/Components/Alert/composables/useAlert.d.ts +2 -2
- package/dist/Components/Alert/composables/useAlert.js +2 -2
- package/dist/Components/Autocomplete/Autocomplete.vue.d.ts +1 -0
- package/dist/Components/Autocomplete/Autocomplete.vue_vue_type_script_setup_true_lang.js +5 -1
- package/dist/Components/Autocomplete/autocomplete.types.d.ts +7 -0
- package/dist/Components/Autocomplete/composables/useAutocomplete.d.ts +2 -2
- package/dist/Components/Autocomplete/composables/useAutocomplete.js +3 -2
- package/dist/Components/Avatar/composables/useAvatar.js +2 -2
- package/dist/Components/Calendar/composables/useCalendar.js +132 -131
- package/dist/Components/CalendarDate/composables/useCalendarDate.js +116 -115
- package/dist/Components/CalendarRange/composables/useCalendarRange.js +132 -131
- package/dist/Components/Card/Card.vue_vue_type_script_setup_true_lang.js +24 -10
- package/dist/Components/Card/card.types.d.ts +5 -4
- package/dist/Components/Card/composables/useCard.d.ts +2 -2
- package/dist/Components/Card/composables/useCard.js +2 -2
- package/dist/Components/Carousel/composables/useCarousel.js +6 -6
- package/dist/Components/Chip/Chip.vue.d.ts +0 -1
- package/dist/Components/Chip/Chip.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/Components/ColorPicker/ColorPicker.vue_vue_type_script_setup_true_lang.js +48 -39
- package/dist/Components/DataTable/DataTable.vue_vue_type_script_setup_true_lang.js +33 -36
- package/dist/Components/DataTable/composables/useDataTable.d.ts +2 -0
- package/dist/Components/DataTable/composables/useDataTable.js +226 -216
- package/dist/Components/EmptyState/EmptyState.vue.d.ts +0 -3
- package/dist/Components/EmptyState/EmptyState.vue_vue_type_script_setup_true_lang.js +4 -4
- package/dist/Components/FileUpload/FileUpload.vue_vue_type_script_setup_true_lang.js +51 -57
- package/dist/Components/FileUpload/composables/useFileUpload.d.ts +2 -0
- package/dist/Components/FileUpload/composables/useFileUpload.js +6 -4
- package/dist/Components/Link/Link.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/Components/Link/link.types.d.ts +1 -1
- package/dist/Components/ListItem/composables/useListItem.js +4 -5
- package/dist/Components/Pagination/composables/usePagination.js +9 -9
- package/dist/Components/Select/Select.vue.d.ts +1 -0
- package/dist/Components/Select/Select.vue_vue_type_script_setup_true_lang.js +5 -1
- package/dist/Components/Select/composables/useSelect.d.ts +2 -2
- package/dist/Components/Select/composables/useSelect.js +3 -2
- package/dist/Components/Select/select.types.d.ts +7 -0
- package/dist/Components/Snackbar/Snackbar.vue_vue_type_script_setup_true_lang.js +97 -72
- package/dist/Components/Snackbar/composables/useSnackbar.d.ts +2 -2
- package/dist/Components/Snackbar/composables/useSnackbar.js +2 -2
- package/dist/Components/Snackbar/snackbar.types.d.ts +5 -4
- package/dist/Components/Table/composables/useTableRow.js +3 -3
- package/dist/Components/Text/Text.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/Components/Text/composables/useText.d.ts +1 -1
- package/dist/Components/Text/text.types.d.ts +1 -1
- package/dist/Components/TimePanel/composables/useTimePanel.js +113 -112
- package/dist/Utils/index.d.ts +6 -0
- package/dist/Utils/index.js +21 -17
- package/dist/index.js +157 -157
- package/docs/components/Autocomplete.md +23 -22
- package/docs/components/Link.md +1 -1
- package/docs/components/Select.md +22 -21
- package/docs/components/Text.md +6 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -16,162 +16,162 @@ import { useButton as y } from "./Components/Button/composables/useButton.js";
|
|
|
16
16
|
import b from "./Components/Button/Button.js";
|
|
17
17
|
import x from "./Components/ActionFooter/ActionFooter.js";
|
|
18
18
|
import { useAlert as S } from "./Components/Alert/composables/useAlert.js";
|
|
19
|
-
import C from "./Components/
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import {
|
|
23
|
-
import D from "./Components/
|
|
24
|
-
import {
|
|
25
|
-
import k from "./Components/
|
|
26
|
-
import A from "./Components/
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import {
|
|
30
|
-
import P from "./Components/
|
|
31
|
-
import {
|
|
32
|
-
import I from "./Components/
|
|
33
|
-
import {
|
|
34
|
-
import R from "./Components/
|
|
35
|
-
import z from "./Components/
|
|
36
|
-
import
|
|
37
|
-
import V from "./Components/
|
|
38
|
-
import H from "./Components/
|
|
39
|
-
import U from "./Components/
|
|
40
|
-
import
|
|
41
|
-
import G from "./Components/
|
|
42
|
-
import K from "./Components/
|
|
43
|
-
import q from "./Components/
|
|
44
|
-
import J from "./Components/
|
|
45
|
-
import Y from "./Components/
|
|
46
|
-
import
|
|
47
|
-
import Z from "./Components/
|
|
48
|
-
import Q from "./Components/
|
|
49
|
-
import
|
|
50
|
-
import
|
|
51
|
-
import {
|
|
52
|
-
import ne from "./Components/
|
|
53
|
-
import re from "./Components/
|
|
54
|
-
import
|
|
55
|
-
import ae from "./Components/
|
|
56
|
-
import {
|
|
57
|
-
import
|
|
58
|
-
import ce from "./Components/
|
|
59
|
-
import {
|
|
60
|
-
import ue from "./Components/
|
|
61
|
-
import {
|
|
62
|
-
import fe from "./Components/
|
|
63
|
-
import pe from "./Components/
|
|
64
|
-
import
|
|
65
|
-
import
|
|
66
|
-
import ge from "./Components/
|
|
67
|
-
import _e from "./Components/
|
|
68
|
-
import
|
|
69
|
-
import ye from "./Components/
|
|
70
|
-
import {
|
|
71
|
-
import xe from "./Components/
|
|
72
|
-
import {
|
|
73
|
-
import Ce from "./Components/
|
|
74
|
-
import {
|
|
75
|
-
import Te from "./Components/
|
|
76
|
-
import {
|
|
77
|
-
import De from "./Components/
|
|
78
|
-
import {
|
|
79
|
-
import
|
|
80
|
-
import Ae from "./Components/
|
|
81
|
-
import je from "./Components/
|
|
82
|
-
import
|
|
83
|
-
import
|
|
84
|
-
import Pe from "./Components/
|
|
85
|
-
import Fe from "./Components/
|
|
86
|
-
import
|
|
87
|
-
import
|
|
88
|
-
import Re from "./Components/
|
|
89
|
-
import ze from "./Components/
|
|
90
|
-
import
|
|
91
|
-
import
|
|
92
|
-
import {
|
|
93
|
-
import Ue from "./Components/
|
|
94
|
-
import We from "./Components/
|
|
95
|
-
import Ge from "./Components/
|
|
96
|
-
import
|
|
97
|
-
import
|
|
98
|
-
import Je from "./Components/
|
|
99
|
-
import Ye from "./Components/
|
|
100
|
-
import
|
|
101
|
-
import Ze from "./Components/
|
|
102
|
-
import {
|
|
103
|
-
import
|
|
104
|
-
import et from "./Components/
|
|
105
|
-
import tt from "./Components/
|
|
106
|
-
import
|
|
107
|
-
import rt from "./Components/
|
|
108
|
-
import {
|
|
109
|
-
import at from "./Components/
|
|
110
|
-
import {
|
|
111
|
-
import st from "./Components/
|
|
112
|
-
import {
|
|
113
|
-
import lt from "./Components/
|
|
114
|
-
import {
|
|
115
|
-
import dt from "./Components/
|
|
116
|
-
import {
|
|
117
|
-
import pt from "./Components/
|
|
118
|
-
import {
|
|
119
|
-
import ht from "./Components/
|
|
120
|
-
import gt from "./
|
|
121
|
-
import
|
|
122
|
-
import
|
|
123
|
-
import yt from "./
|
|
124
|
-
import {
|
|
125
|
-
import
|
|
126
|
-
import St from "./Components/Resizable/
|
|
127
|
-
import {
|
|
128
|
-
import wt from "./Components/
|
|
129
|
-
import {
|
|
130
|
-
import Et from "./Components/
|
|
131
|
-
import Dt from "./Components/
|
|
132
|
-
import Ot from "./Components/
|
|
133
|
-
import
|
|
134
|
-
import
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import {
|
|
138
|
-
import {
|
|
139
|
-
import {
|
|
140
|
-
import It from "./Components/Sidebar/
|
|
141
|
-
import Lt from "./Components/Sidebar/
|
|
142
|
-
import Rt from "./Components/Sidebar/
|
|
143
|
-
import
|
|
144
|
-
import Bt from "./Components/
|
|
145
|
-
import Vt from "./Components/
|
|
146
|
-
import Ht from "./Components/
|
|
147
|
-
import Ut from "./Components/Sidebar/
|
|
148
|
-
import
|
|
149
|
-
import Gt from "./Components/
|
|
150
|
-
import {
|
|
151
|
-
import qt from "./Components/
|
|
152
|
-
import {
|
|
153
|
-
import Yt from "./Components/
|
|
154
|
-
import {
|
|
155
|
-
import Zt from "./Components/
|
|
156
|
-
import {
|
|
157
|
-
import $t from "./Components/
|
|
158
|
-
import {
|
|
159
|
-
import tn from "./Components/
|
|
160
|
-
import {
|
|
161
|
-
import rn from "./Components/
|
|
162
|
-
import {
|
|
163
|
-
import
|
|
164
|
-
import sn from "./Components/
|
|
165
|
-
import {
|
|
166
|
-
import ln from "./Components/
|
|
167
|
-
import {
|
|
168
|
-
import dn from "./Components/
|
|
169
|
-
import {
|
|
170
|
-
import pn from "./Components/
|
|
171
|
-
import {
|
|
172
|
-
import hn from "./Components/
|
|
173
|
-
import {
|
|
174
|
-
import _n from "./Components/
|
|
19
|
+
import { useText as C } from "./Components/Text/composables/useText.js";
|
|
20
|
+
import w from "./Components/Text/Text.js";
|
|
21
|
+
import T from "./Components/Alert/Alert.js";
|
|
22
|
+
import { useFormField as E } from "./Components/FormField/composables/useFormField.js";
|
|
23
|
+
import { useListboxNavigation as D } from "./Components/Listbox/composables/useListboxNavigation.js";
|
|
24
|
+
import { useChip as O } from "./Components/Chip/composables/useChip.js";
|
|
25
|
+
import k from "./Components/Chip/Chip.js";
|
|
26
|
+
import { useLabel as A } from "./Components/Label/composables/useLabel.js";
|
|
27
|
+
import j from "./Components/Label/Label.js";
|
|
28
|
+
import M from "./Components/FormField/FormField.js";
|
|
29
|
+
import { useListbox as N } from "./Components/Listbox/composables/useListbox.js";
|
|
30
|
+
import { useFieldOverlay as P } from "./Components/FieldOverlay/composables/useFieldOverlay.js";
|
|
31
|
+
import { useDrawer as F } from "./Components/Drawer/composables/useDrawer.js";
|
|
32
|
+
import I from "./Components/Drawer/Drawer.js";
|
|
33
|
+
import { useMenu as L } from "./Components/Menu/composables/useMenu.js";
|
|
34
|
+
import R from "./Components/Menu/Menu.js";
|
|
35
|
+
import { useModal as z } from "./Components/Modal/composables/useModal.js";
|
|
36
|
+
import B from "./Components/Modal/Modal.js";
|
|
37
|
+
import V from "./Components/FieldOverlay/FieldOverlay.js";
|
|
38
|
+
import { useList as H } from "./Components/List/composables/useList.js";
|
|
39
|
+
import U from "./Components/List/List.js";
|
|
40
|
+
import W from "./Components/ListItem/ListItem.js";
|
|
41
|
+
import G from "./Components/ListSection/ListSection.js";
|
|
42
|
+
import { useProgress as K } from "./Components/Progress/composables/useProgress.js";
|
|
43
|
+
import q from "./Components/Progress/Progress.js";
|
|
44
|
+
import J from "./Components/Listbox/Listbox.js";
|
|
45
|
+
import Y from "./Components/Autocomplete/Autocomplete.js";
|
|
46
|
+
import X from "./Components/Autocomplete/AutocompleteOption.js";
|
|
47
|
+
import Z from "./Components/Avatar/Avatar.js";
|
|
48
|
+
import { useBadge as Q } from "./Components/Badge/composables/useBadge.js";
|
|
49
|
+
import $ from "./Components/Badge/Badge.js";
|
|
50
|
+
import ee from "./Components/BaseField/BaseField.js";
|
|
51
|
+
import { useBaseField as te } from "./Components/BaseField/composables/useBaseField.js";
|
|
52
|
+
import { useBreadcrumb as ne } from "./Components/Breadcrumb/composables/useBreadcrumb.js";
|
|
53
|
+
import { useBreadcrumbItem as re } from "./Components/BreadcrumbItem/composables/useBreadcrumbItem.js";
|
|
54
|
+
import ie from "./Components/BreadcrumbItem/BreadcrumbItem.js";
|
|
55
|
+
import ae from "./Components/Breadcrumb/Breadcrumb.js";
|
|
56
|
+
import { useButtonGroup as oe } from "./Components/ButtonGroup/composables/useButtonGroup.js";
|
|
57
|
+
import se from "./Components/ButtonGroup/ButtonGroup.js";
|
|
58
|
+
import { useCalendar as ce } from "./Components/Calendar/composables/useCalendar.js";
|
|
59
|
+
import { useCalendarDate as le } from "./Components/CalendarDate/composables/useCalendarDate.js";
|
|
60
|
+
import ue from "./Components/CalendarDate/CalendarDate.js";
|
|
61
|
+
import { useCalendarMonth as de } from "./Components/CalendarMonth/composables/useCalendarMonth.js";
|
|
62
|
+
import fe from "./Components/CalendarMonth/CalendarMonth.js";
|
|
63
|
+
import { useCalendarYear as pe } from "./Components/CalendarYear/composables/useCalendarYear.js";
|
|
64
|
+
import me from "./Components/CalendarYear/CalendarYear.js";
|
|
65
|
+
import he from "./Components/Calendar/Calendar.js";
|
|
66
|
+
import { useCalendarRange as ge } from "./Components/CalendarRange/composables/useCalendarRange.js";
|
|
67
|
+
import { useDivider as _e } from "./Components/Divider/composables/useDivider.js";
|
|
68
|
+
import ve from "./Components/Divider/Divider.js";
|
|
69
|
+
import ye from "./Components/CalendarRange/CalendarRange.js";
|
|
70
|
+
import { useCard as be } from "./Components/Card/composables/useCard.js";
|
|
71
|
+
import xe from "./Components/Card/Card.js";
|
|
72
|
+
import { useCarousel as Se } from "./Components/Carousel/composables/useCarousel.js";
|
|
73
|
+
import Ce from "./Components/Carousel/Carousel.js";
|
|
74
|
+
import { useCarouselSlide as we } from "./Components/CarouselSlide/composables/useCarouselSlide.js";
|
|
75
|
+
import Te from "./Components/CarouselSlide/CarouselSlide.js";
|
|
76
|
+
import { useFormControl as Ee } from "./Components/FormControl/composables/useFormControl.js";
|
|
77
|
+
import De from "./Components/FormControl/FormControl.js";
|
|
78
|
+
import { useCheckbox as Oe } from "./Components/Checkbox/composables/useCheckbox.js";
|
|
79
|
+
import ke from "./Components/Checkbox/Checkbox.js";
|
|
80
|
+
import { useColorField as Ae } from "./Components/ColorField/composables/useColorField.js";
|
|
81
|
+
import { useColorPicker as je } from "./Components/ColorPicker/composables/useColorPicker.js";
|
|
82
|
+
import Me from "./Components/ColorPicker/ColorPicker.js";
|
|
83
|
+
import Ne from "./Components/ColorField/ColorField.js";
|
|
84
|
+
import { useDateField as Pe } from "./Components/DateField/composables/useDateField.js";
|
|
85
|
+
import { useDatePicker as Fe } from "./Components/DatePicker/composables/useDatePicker.js";
|
|
86
|
+
import Ie from "./Components/DatePicker/DatePicker.js";
|
|
87
|
+
import Le from "./Components/DateField/DateField.js";
|
|
88
|
+
import { useDateRangeField as Re } from "./Components/DateRangeField/composables/useDateRangeField.js";
|
|
89
|
+
import { useDateRangePicker as ze } from "./Components/DateRangePicker/composables/useDateRangePicker.js";
|
|
90
|
+
import Be from "./Components/DateRangePicker/DateRangePicker.js";
|
|
91
|
+
import Ve from "./Components/DateRangeField/DateRangeField.js";
|
|
92
|
+
import { useDateTimeField as He } from "./Components/DateTimeField/composables/useDateTimeField.js";
|
|
93
|
+
import { useDateTimePicker as Ue } from "./Components/DateTimePicker/composables/useDateTimePicker.js";
|
|
94
|
+
import { useTimePanel as We } from "./Components/TimePanel/composables/useTimePanel.js";
|
|
95
|
+
import Ge from "./Components/TimePanel/TimePanel.js";
|
|
96
|
+
import Ke from "./Components/DateTimePicker/DateTimePicker.js";
|
|
97
|
+
import qe from "./Components/DateTimeField/DateTimeField.js";
|
|
98
|
+
import { useDateTimeRangeField as Je } from "./Components/DateTimeRangeField/composables/useDateTimeRangeField.js";
|
|
99
|
+
import { useDateTimeRangePicker as Ye } from "./Components/DateTimeRangePicker/composables/useDateTimeRangePicker.js";
|
|
100
|
+
import Xe from "./Components/DateTimeRangePicker/DateTimeRangePicker.js";
|
|
101
|
+
import Ze from "./Components/DateTimeRangeField/DateTimeRangeField.js";
|
|
102
|
+
import { useEmptyState as Qe } from "./Components/EmptyState/composables/useEmptyState.js";
|
|
103
|
+
import $e from "./Components/EmptyState/EmptyState.js";
|
|
104
|
+
import { useFileUpload as et } from "./Components/FileUpload/composables/useFileUpload.js";
|
|
105
|
+
import { useFileUploadItem as tt } from "./Components/FileUploadItem/composables/useFileUploadItem.js";
|
|
106
|
+
import nt from "./Components/FileUploadItem/FileUploadItem.js";
|
|
107
|
+
import rt from "./Components/FileUpload/FileUpload.js";
|
|
108
|
+
import { useHeading as it } from "./Components/Heading/composables/useHeading.js";
|
|
109
|
+
import at from "./Components/Heading/Heading.js";
|
|
110
|
+
import { useLink as ot } from "./Components/Link/composables/useLink.js";
|
|
111
|
+
import st from "./Components/Link/Link.js";
|
|
112
|
+
import { useNumberField as ct } from "./Components/NumberField/composables/useNumberField.js";
|
|
113
|
+
import lt from "./Components/NumberField/NumberField.js";
|
|
114
|
+
import { useOtpField as ut } from "./Components/OtpField/composables/useOtpField.js";
|
|
115
|
+
import dt from "./Components/OtpField/OtpField.js";
|
|
116
|
+
import { usePagination as ft } from "./Components/Pagination/composables/usePagination.js";
|
|
117
|
+
import pt from "./Components/Pagination/Pagination.js";
|
|
118
|
+
import { usePasswordField as mt } from "./Components/PasswordField/composables/usePasswordField.js";
|
|
119
|
+
import ht from "./Components/PasswordField/PasswordField.js";
|
|
120
|
+
import { useRadio as gt } from "./Components/Radio/composables/useRadio.js";
|
|
121
|
+
import _t from "./Components/Radio/Radio.js";
|
|
122
|
+
import vt from "./Provider/BridgeUIProvider.js";
|
|
123
|
+
import { createBridgeUI as yt } from "./Provider/createBridgeUI.js";
|
|
124
|
+
import { useRating as bt } from "./Components/Rating/composables/useRating.js";
|
|
125
|
+
import xt from "./Components/Rating/Rating.js";
|
|
126
|
+
import { RESIZABLE_INJECTION_KEY as St } from "./Components/Resizable/resizableInjectionKey.js";
|
|
127
|
+
import { useResizable as Ct } from "./Components/Resizable/composables/useResizable.js";
|
|
128
|
+
import wt from "./Components/Resizable/Resizable.js";
|
|
129
|
+
import { useResizableHandle as Tt } from "./Components/ResizableHandle/composables/useResizableHandle.js";
|
|
130
|
+
import Et from "./Components/ResizableHandle/ResizableHandle.js";
|
|
131
|
+
import { useResizablePanel as Dt } from "./Components/ResizablePanel/composables/useResizablePanel.js";
|
|
132
|
+
import Ot from "./Components/ResizablePanel/ResizablePanel.js";
|
|
133
|
+
import kt from "./Components/Select/Select.js";
|
|
134
|
+
import At from "./Components/Select/SelectOption.js";
|
|
135
|
+
import { useSidebar as jt } from "./Components/Sidebar/composables/useSidebar.js";
|
|
136
|
+
import { useSidebarInset as Mt } from "./Components/Sidebar/composables/useSidebarInset.js";
|
|
137
|
+
import { useSidebarList as Nt } from "./Components/Sidebar/composables/useSidebarList.js";
|
|
138
|
+
import { useSidebarListItem as Pt } from "./Components/Sidebar/composables/useSidebarListItem.js";
|
|
139
|
+
import { useSidebarProvider as Ft } from "./Components/Sidebar/composables/useSidebarProvider.js";
|
|
140
|
+
import { useSidebarShell as It } from "./Components/Sidebar/composables/useSidebarShell.js";
|
|
141
|
+
import { useSidebarTrigger as Lt } from "./Components/Sidebar/composables/useSidebarTrigger.js";
|
|
142
|
+
import Rt from "./Components/Sidebar/Sidebar.js";
|
|
143
|
+
import zt from "./Components/Sidebar/SidebarInset.js";
|
|
144
|
+
import Bt from "./Components/Sidebar/SidebarList.js";
|
|
145
|
+
import { useTooltip as Vt } from "./Components/Tooltip/composables/useTooltip.js";
|
|
146
|
+
import Ht from "./Components/Tooltip/Tooltip.js";
|
|
147
|
+
import Ut from "./Components/Sidebar/SidebarListItem.js";
|
|
148
|
+
import Wt from "./Components/Sidebar/SidebarProvider.js";
|
|
149
|
+
import Gt from "./Components/Sidebar/SidebarTrigger.js";
|
|
150
|
+
import { useSkeleton as Kt } from "./Components/Skeleton/composables/useSkeleton.js";
|
|
151
|
+
import qt from "./Components/Skeleton/Skeleton.js";
|
|
152
|
+
import { useSlider as Jt } from "./Components/Slider/composables/useSlider.js";
|
|
153
|
+
import Yt from "./Components/Slider/Slider.js";
|
|
154
|
+
import { useSnackbar as Xt } from "./Components/Snackbar/composables/useSnackbar.js";
|
|
155
|
+
import Zt from "./Components/Snackbar/Snackbar.js";
|
|
156
|
+
import { useSpinner as Qt } from "./Components/Spinner/composables/useSpinner.js";
|
|
157
|
+
import $t from "./Components/Spinner/Spinner.js";
|
|
158
|
+
import { useStep as en } from "./Components/Step/composables/useStep.js";
|
|
159
|
+
import tn from "./Components/Step/Step.js";
|
|
160
|
+
import { useStepper as nn } from "./Components/Stepper/composables/useStepper.js";
|
|
161
|
+
import rn from "./Components/Stepper/Stepper.js";
|
|
162
|
+
import { useSwitch as an } from "./Components/Switch/composables/useSwitch.js";
|
|
163
|
+
import on from "./Components/Switch/Switch.js";
|
|
164
|
+
import { TABS_INJECTION_KEY as sn } from "./Components/Tabs/tabsInjectionKey.js";
|
|
165
|
+
import { useTab as cn } from "./Components/Tab/composables/useTab.js";
|
|
166
|
+
import ln from "./Components/Tab/Tab.js";
|
|
167
|
+
import { useTabItem as un } from "./Components/TabItem/composables/useTabItem.js";
|
|
168
|
+
import dn from "./Components/TabItem/TabItem.js";
|
|
169
|
+
import { useTabList as fn } from "./Components/TabList/composables/useTabList.js";
|
|
170
|
+
import pn from "./Components/TabList/TabList.js";
|
|
171
|
+
import { useTabPanel as mn } from "./Components/TabPanel/composables/useTabPanel.js";
|
|
172
|
+
import hn from "./Components/TabPanel/TabPanel.js";
|
|
173
|
+
import { useTabs as gn } from "./Components/Tabs/composables/useTabs.js";
|
|
174
|
+
import _n from "./Components/Tabs/Tabs.js";
|
|
175
175
|
import { useTextarea as vn } from "./Components/Textarea/composables/useTextarea.js";
|
|
176
176
|
import yn from "./Components/Textarea/Textarea.js";
|
|
177
177
|
import { useTextField as bn } from "./Components/TextField/composables/useTextField.js";
|
|
@@ -192,4 +192,4 @@ import Pn from "./Components/ToggleItem/ToggleItem.js";
|
|
|
192
192
|
import { SEMANTIC_ICON_NAMES as Fn, interpolateMessage as In, resolveMessage as Ln, selectPluralMessage as Rn } from "@bridge-ui/core/Adapters";
|
|
193
193
|
import { cn as zn } from "@bridge-ui/core/Utils";
|
|
194
194
|
import { BRIDGE_UI_DEFAULT_GLOBAL as Bn, mergeBridgeUIComponents as Vn, mergeBridgeUIGlobal as Hn, resolveBridgeUIOptions as Un } from "@bridge-ui/core/Config";
|
|
195
|
-
export { c as ACCORDION_INJECTION_KEY, p as Accordion, g as AccordionItem, x as ActionFooter,
|
|
195
|
+
export { c as ACCORDION_INJECTION_KEY, p as Accordion, g as AccordionItem, x as ActionFooter, T as Alert, Y as Autocomplete, X as AutocompleteOption, Z as Avatar, Bn as BRIDGE_UI_DEFAULT_GLOBAL, v as BUTTON_GROUP_INJECTION_KEY, $ as Badge, ee as BaseField, ae as Breadcrumb, ie as BreadcrumbItem, vt as BridgeUIProvider, b as Button, se as ButtonGroup, he as Calendar, ue as CalendarDate, fe as CalendarMonth, ye as CalendarRange, me as CalendarYear, xe as Card, Ce as Carousel, Te as CarouselSlide, ke as Checkbox, k as Chip, Ne as ColorField, Me as ColorPicker, Le as DateField, Ie as DatePicker, Ve as DateRangeField, Be as DateRangePicker, qe as DateTimeField, Ke as DateTimePicker, Ze as DateTimeRangeField, Xe as DateTimeRangePicker, ve as Divider, I as Drawer, $e as EmptyState, V as FieldOverlay, rt as FileUpload, nt as FileUploadItem, De as FormControl, M as FormField, at as Heading, h as Icon, j as Label, st as Link, U as List, W as ListItem, G as ListSection, J as Listbox, R as Menu, B as Modal, lt as NumberField, dt as OtpField, pt as Pagination, ht as PasswordField, q as Progress, St as RESIZABLE_INJECTION_KEY, _t as Radio, xt as Rating, wt as Resizable, Et as ResizableHandle, Ot as ResizablePanel, Fn as SEMANTIC_ICON_NAMES, kt as Select, At as SelectOption, Rt as Sidebar, zt as SidebarInset, Bt as SidebarList, Ut as SidebarListItem, Wt as SidebarProvider, Gt as SidebarTrigger, qt as Skeleton, Yt as Slider, Zt as Snackbar, $t as Spinner, tn as Step, rn as Stepper, on as Switch, sn as TABS_INJECTION_KEY, An as TOGGLE_GROUP_INJECTION_KEY, ln as Tab, dn as TabItem, pn as TabList, hn as TabPanel, _n as Tabs, w as Text, xn as TextField, yn as Textarea, Tn as TimeField, Ge as TimePanel, wn as TimePicker, kn as TimeRangeField, On as TimeRangePicker, Mn as ToggleGroup, Pn as ToggleItem, Ht as Tooltip, zn as cn, yt as createBridgeUI, In as interpolateMessage, Vn as mergeBridgeUIComponents, Hn as mergeBridgeUIGlobal, Un as resolveBridgeUIOptions, Ln as resolveMessage, Rn as selectPluralMessage, t as setDateAdapterForTests, r as setI18nAdapterForTests, o as setIconAdapterForTests, f as useAccordion, m as useAccordionItem, _ as useActionFooter, S as useAlert, Q as useBadge, te as useBaseField, ne as useBreadcrumb, re as useBreadcrumbItem, l as useBreakpoint, e as useBridgeUI, u as useBridgeUIComponent, d as useBridgeUIMergedRegistryClasses, y as useButton, oe as useButtonGroup, ce as useCalendar, le as useCalendarDate, de as useCalendarMonth, ge as useCalendarRange, pe as useCalendarYear, be as useCard, Se as useCarousel, we as useCarouselSlide, Oe as useCheckbox, O as useChip, Ae as useColorField, je as useColorPicker, n as useDateAdapter, Pe as useDateField, Fe as useDatePicker, Re as useDateRangeField, ze as useDateRangePicker, He as useDateTimeField, Ue as useDateTimePicker, Je as useDateTimeRangeField, Ye as useDateTimeRangePicker, _e as useDivider, F as useDrawer, Qe as useEmptyState, P as useFieldOverlay, et as useFileUpload, tt as useFileUploadItem, Ee as useFormControl, E as useFormField, it as useHeading, i as useI18nAdapter, s as useIconAdapter, A as useLabel, ot as useLink, H as useList, N as useListbox, D as useListboxNavigation, L as useMenu, z as useModal, ct as useNumberField, ut as useOtpField, ft as usePagination, mt as usePasswordField, K as useProgress, gt as useRadio, bt as useRating, Ct as useResizable, Tt as useResizableHandle, Dt as useResizablePanel, a as useResolveMessage, jt as useSidebar, Mt as useSidebarInset, Nt as useSidebarList, Pt as useSidebarListItem, Ft as useSidebarProvider, It as useSidebarShell, Lt as useSidebarTrigger, Kt as useSkeleton, Jt as useSlider, Xt as useSnackbar, Qt as useSpinner, en as useStep, nn as useStepper, an as useSwitch, cn as useTab, un as useTabItem, fn as useTabList, mn as useTabPanel, gn as useTabs, C as useText, bn as useTextField, vn as useTextarea, Sn as useTimeField, We as useTimePanel, Cn as useTimePicker, En as useTimeRangeField, Dn as useTimeRangePicker, jn as useToggleGroup, Nn as useToggleItem, Vt as useTooltip };
|
|
@@ -171,28 +171,29 @@ Set `components.Listbox.defaultProps.matchWidth` on `createBridgeUI` to apply th
|
|
|
171
171
|
|
|
172
172
|
### Autocomplete-specific
|
|
173
173
|
|
|
174
|
-
| Prop
|
|
175
|
-
|
|
|
176
|
-
| `asyncData`
|
|
177
|
-
| `clearable`
|
|
178
|
-
| `defaultValue`
|
|
179
|
-
| `disableMaxHeight`
|
|
180
|
-
| `emptyMessage`
|
|
181
|
-
| `flipOptions`
|
|
182
|
-
| `freeSolo`
|
|
183
|
-
| `hideEmptyMessage`
|
|
184
|
-
| `loading`
|
|
185
|
-
| `maxHeight`
|
|
186
|
-
| `minItemsForSearch`
|
|
187
|
-
| `multiple`
|
|
188
|
-
| `optionDescription`
|
|
189
|
-
| `optionLabel`
|
|
190
|
-
| `options`
|
|
191
|
-
| `optionValue`
|
|
192
|
-
| `overlay`
|
|
193
|
-
| `
|
|
194
|
-
| `
|
|
195
|
-
| `
|
|
174
|
+
| Prop | Type | Default | Description |
|
|
175
|
+
| ----------------------- | --------------------- | -------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
|
|
176
|
+
| `asyncData` | `SelectAsyncData` | — | Remote data source. Implies `searchable`. |
|
|
177
|
+
| `clearable` | `boolean` | `false` | Whether the value can be cleared. |
|
|
178
|
+
| `defaultValue` | `SelectModel` | — | Initial value when uncontrolled. |
|
|
179
|
+
| `disableMaxHeight` | `boolean` | `false` | When true, the dropdown options list is not height-limited. Forwarded to the internal `Listbox`. |
|
|
180
|
+
| `emptyMessage` | `string` | "No options" | Message when the filtered list is empty. |
|
|
181
|
+
| `flipOptions` | `boolean` | `false` | Inverts the visual order of options. |
|
|
182
|
+
| `freeSolo` | `boolean` | `true` | Allows committing typed text that is not in `options` (Enter, Tab, or closing the menu). |
|
|
183
|
+
| `hideEmptyMessage` | `boolean` | `false` | Hides the empty-state message. |
|
|
184
|
+
| `loading` | `boolean` | — | External or async loading state. |
|
|
185
|
+
| `maxHeight` | `string` | "max-h-60" | Tailwind max-height class for the dropdown options area. Forwarded to the internal `Listbox`. |
|
|
186
|
+
| `minItemsForSearch` | `number` | 11 | Minimum option count before search UI is enabled. |
|
|
187
|
+
| `multiple` | `boolean` | `false` | Whether multiple values can be selected. |
|
|
188
|
+
| `optionDescription` | `string` | "description" | Key used to read the description from option objects. |
|
|
189
|
+
| `optionLabel` | `string` | "label" | Key used to read the label from option objects. |
|
|
190
|
+
| `options` | `ListboxOptionsInput` | — | Options to display. May include section groups (`{ title, options, sticky? }`) mixed with flat options. |
|
|
191
|
+
| `optionValue` | `string` | "value" | Key used to read the value from option objects. |
|
|
192
|
+
| `overlay` | `FieldOverlayMode` | `"auto"` | Overlay shell: `menu`, `modal`, `drawer`, or `auto`. |
|
|
193
|
+
| `persistentPlaceholder` | `boolean` | `false` | Keeps the placeholder visible next to the chips when `multiple` is set. |
|
|
194
|
+
| `placeholder` | `string` | — | Placeholder shown when no value is selected. |
|
|
195
|
+
| `searchable` | `boolean` | `true` | Whether options can be filtered via the trigger input. |
|
|
196
|
+
| `showFooter` | `boolean` | `false` (`true` for modal/drawer when unset) | Shows Cancel / Apply on the nested listbox. Selection stays draft until Apply. |
|
|
196
197
|
|
|
197
198
|
### v-model
|
|
198
199
|
|
package/docs/components/Link.md
CHANGED
|
@@ -79,7 +79,7 @@ import { Link } from "@bridge-ui/vue/Components/Link";
|
|
|
79
79
|
| `linkAs` | `string \| Component` | — | Component rendered in place of the navigating `<a>`. Receives `href`, `linkProps`, and the anchor attributes. Ignored while disabled. |
|
|
80
80
|
| `linkProps` | props of `linkAs` | — | Props forwarded to `linkAs`. Checked against that component. Ignored while `linkAs` is not rendered. |
|
|
81
81
|
| `rightIcon` | `LucideIcon` | — | The icon to display after the link text. |
|
|
82
|
-
| `size` | `LinkSize` | "
|
|
82
|
+
| `size` | `LinkSize` | "sm" | The size of the link. |
|
|
83
83
|
| `underline` | `LinkUnderline` | "hover" | The underline behavior of the link. |
|
|
84
84
|
|
|
85
85
|
## Related components
|
|
@@ -155,27 +155,28 @@ Set `components.Listbox.defaultProps.matchWidth` on `createBridgeUI` to apply th
|
|
|
155
155
|
|
|
156
156
|
### Select-specific
|
|
157
157
|
|
|
158
|
-
| Prop
|
|
159
|
-
|
|
|
160
|
-
| `asyncData`
|
|
161
|
-
| `clearable`
|
|
162
|
-
| `defaultValue`
|
|
163
|
-
| `disableMaxHeight`
|
|
164
|
-
| `emptyMessage`
|
|
165
|
-
| `flipOptions`
|
|
166
|
-
| `hideEmptyMessage`
|
|
167
|
-
| `loading`
|
|
168
|
-
| `maxHeight`
|
|
169
|
-
| `minItemsForSearch`
|
|
170
|
-
| `multiple`
|
|
171
|
-
| `optionDescription`
|
|
172
|
-
| `optionLabel`
|
|
173
|
-
| `options`
|
|
174
|
-
| `optionValue`
|
|
175
|
-
| `overlay`
|
|
176
|
-
| `
|
|
177
|
-
| `
|
|
178
|
-
| `
|
|
158
|
+
| Prop | Type | Default | Description |
|
|
159
|
+
| ----------------------- | --------------------- | -------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
|
|
160
|
+
| `asyncData` | `SelectAsyncData` | — | Remote data source. Implies `searchable`. |
|
|
161
|
+
| `clearable` | `boolean` | `false` | Whether the value can be cleared. |
|
|
162
|
+
| `defaultValue` | `SelectModel` | — | Initial value when uncontrolled. |
|
|
163
|
+
| `disableMaxHeight` | `boolean` | `false` | When true, the dropdown options list is not height-limited. Forwarded to the internal `Listbox`. |
|
|
164
|
+
| `emptyMessage` | `string` | "No options" | Message when the filtered list is empty. |
|
|
165
|
+
| `flipOptions` | `boolean` | `false` | Inverts the visual order of options. |
|
|
166
|
+
| `hideEmptyMessage` | `boolean` | `false` | Hides the empty-state message. |
|
|
167
|
+
| `loading` | `boolean` | — | External or async loading state. |
|
|
168
|
+
| `maxHeight` | `string` | "max-h-60" | Tailwind max-height class for the dropdown options area. Forwarded to the internal `Listbox`. |
|
|
169
|
+
| `minItemsForSearch` | `number` | 11 | Minimum option count before search UI is enabled. |
|
|
170
|
+
| `multiple` | `boolean` | `false` | Whether multiple values can be selected. |
|
|
171
|
+
| `optionDescription` | `string` | "description" | Key used to read the description from option objects. |
|
|
172
|
+
| `optionLabel` | `string` | "label" | Key used to read the label from option objects. |
|
|
173
|
+
| `options` | `ListboxOptionsInput` | — | Options to display. May include section groups (`{ title, options, sticky? }`) mixed with flat options. |
|
|
174
|
+
| `optionValue` | `string` | "value" | Key used to read the value from option objects. |
|
|
175
|
+
| `overlay` | `FieldOverlayMode` | `"auto"` | Overlay shell: `menu`, `modal`, `drawer`, or `auto`. |
|
|
176
|
+
| `persistentPlaceholder` | `boolean` | `false` | Keeps the placeholder visible next to the chips when `multiple` is set. |
|
|
177
|
+
| `placeholder` | `string` | — | Placeholder shown when no value is selected. |
|
|
178
|
+
| `searchable` | `boolean` | `false` | Whether options can be filtered via the trigger input. |
|
|
179
|
+
| `showFooter` | `boolean` | `false` (`true` for modal/drawer when unset) | Shows Cancel / Apply on the nested listbox. Selection stays draft until Apply. |
|
|
179
180
|
|
|
180
181
|
### v-model
|
|
181
182
|
|
package/docs/components/Text.md
CHANGED
|
@@ -38,7 +38,7 @@ Use `variant="muted"` for subtitles, captions, and metadata.
|
|
|
38
38
|
|
|
39
39
|
### Color
|
|
40
40
|
|
|
41
|
-
`color` works with both variants. `global.defaultColor` does not apply to `Text`; the default stays `dark`.
|
|
41
|
+
`color` works with both variants. `global.defaultColor` does not apply to `Text`; the default stays `dark`. Use `color="inherit"` to keep the color of the parent.
|
|
42
42
|
|
|
43
43
|
```vue
|
|
44
44
|
<Text numeric color="success" weight="semibold">
|
|
@@ -82,11 +82,13 @@ Use `variant="muted"` for subtitles, captions, and metadata.
|
|
|
82
82
|
|
|
83
83
|
Change the muted tone for the whole app in one place with `tokens`, or set defaults with `defaultProps`.
|
|
84
84
|
|
|
85
|
+
`defaultProps.size` also sizes the text of components without a `size` prop: the title and body of Alert and Card, the title and description of Snackbar, the ColorPicker value, and the days, header and times of the Calendar and TimePanel pickers. The Alert, Card, Snackbar and ColorPicker parts render `Text`, so `tokens` and `classes.root` reach them too, but they keep the color and weight of their component. Components with a `size` prop (DataTable, FileUpload, form fields, …) size their text from their own `size`.
|
|
86
|
+
|
|
85
87
|
```vue
|
|
86
88
|
<BridgeUIProvider
|
|
87
89
|
:components="{
|
|
88
90
|
Text: {
|
|
89
|
-
defaultProps: { size: '
|
|
91
|
+
defaultProps: { size: 'xs' },
|
|
90
92
|
tokens: {
|
|
91
93
|
variant: {
|
|
92
94
|
muted: { dark: 'text-dark-600 dark:text-dark-300' },
|
|
@@ -105,9 +107,9 @@ Change the muted tone for the whole app in one place with `tokens`, or set defau
|
|
|
105
107
|
| ----------- | ---------------------------------------------------------------------------------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------ |
|
|
106
108
|
| `as` | `"p" \| "dd" \| "dt" \| "em" \| "li" \| "div" \| "span" \| "label" \| "small" \| "strong" \| "figcaption"` | `"p"` | The element rendered as the root. |
|
|
107
109
|
| `classes` | `TextClasses` | — | The classes to apply to the text. |
|
|
108
|
-
| `color` | `TextColor` | `"dark"` | The color of the text. Ignores `global.defaultColor`.
|
|
110
|
+
| `color` | `TextColor` | `"dark"` | The color of the text (`inherit` keeps the parent color). Ignores `global.defaultColor`. |
|
|
109
111
|
| `numeric` | `boolean` | `false` | Whether digits use tabular figures and tight tracking (money, counts). |
|
|
110
|
-
| `size` | `TextSize` | `"
|
|
112
|
+
| `size` | `TextSize` | `"sm"` | The size of the text (`2xs` to `4xl`), 1:1 with Tailwind `text-*`. Next to form controls, `sm` matches Label `md`. |
|
|
111
113
|
| `truncate` | `boolean` | `false` | Whether the text is cut to one line with an ellipsis. |
|
|
112
114
|
| `uppercase` | `boolean` | `false` | Whether the text is uppercase with wide tracking (small labels). |
|
|
113
115
|
| `variant` | `TextVariant` | `"default"` | The tone of the text: `default` for main text, `muted` for secondary text. |
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.22.1",
|
|
5
5
|
"author": "BridgeUI",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"name": "@bridge-ui/vue",
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
}
|
|
114
114
|
},
|
|
115
115
|
"dependencies": {
|
|
116
|
-
"@bridge-ui/core": "^0.
|
|
116
|
+
"@bridge-ui/core": "^0.22.1",
|
|
117
117
|
"clsx": "^2.1.1",
|
|
118
118
|
"es-toolkit": "^1.52.0",
|
|
119
119
|
"tailwind-merge": "^3.7.0"
|