@bridge-ui/vue 0.0.1-beta.2 → 0.0.1-beta.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/Components/Alert/alert.types.d.ts +1 -1
- package/dist/Components/Alert/alertDefaultIcons.d.ts +1 -1
- package/dist/Components/Alert/alertDefaultIcons.js +1 -1
- package/dist/Components/Alert/composables/useAlert.d.ts +1 -1
- package/dist/Components/Avatar/avatar.types.d.ts +1 -1
- package/dist/Components/Avatar/composables/useAvatar.d.ts +1 -1
- package/dist/Components/Avatar/composables/useAvatar.js +1 -1
- package/dist/Components/Button/Button.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/Components/Button/button.types.d.ts +1 -1
- package/dist/Components/Checkbox/Checkbox.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/Components/Chip/Chip.js +5 -0
- package/dist/Components/Chip/Chip.vue.d.ts +20 -0
- package/dist/Components/Chip/Chip.vue_vue_type_script_setup_true_lang.js +35 -0
- package/dist/Components/Chip/chip.types.d.ts +93 -0
- package/dist/Components/Chip/composables/useChip.d.ts +22 -0
- package/dist/Components/Chip/composables/useChip.js +66 -0
- package/dist/Components/Chip/index.d.ts +3 -0
- package/dist/Components/Chip/index.js +3 -0
- package/dist/Components/FormField/composables/useFormField.d.ts +1 -1
- package/dist/Components/FormField/composables/useFormField.js +1 -1
- package/dist/Components/FormField/formField.types.d.ts +1 -1
- package/dist/Components/Icon/icon.types.d.ts +1 -1
- package/dist/Components/Link/link.types.d.ts +1 -1
- package/dist/Components/Listbox/Listbox.vue.d.ts +2 -0
- package/dist/Components/Listbox/Listbox.vue_vue_type_script_setup_true_lang.js +53 -49
- package/dist/Components/Listbox/composables/useListbox.d.ts +11 -2
- package/dist/Components/Listbox/composables/useListbox.js +44 -28
- package/dist/Components/Listbox/listbox.types.d.ts +28 -3
- package/dist/Components/NumberField/NumberField.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/Components/NumberField/composables/useNumberField.d.ts +2 -2
- package/dist/Components/PasswordField/PasswordField.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/Components/PasswordField/composables/usePasswordField.d.ts +2 -2
- package/dist/Components/Select/Select.vue_vue_type_script_setup_true_lang.js +69 -89
- package/dist/Components/Select/composables/useSelect.d.ts +27 -3
- package/dist/Components/Select/composables/useSelect.js +162 -140
- package/dist/Components/Select/select.types.d.ts +22 -1
- package/dist/Components/Snackbar/Snackbar.vue.d.ts +1 -1
- package/dist/Components/Snackbar/Snackbar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/Components/Snackbar/composables/useSnackbar.d.ts +1 -1
- package/dist/Components/Snackbar/snackbar.types.d.ts +1 -1
- package/dist/Components/Snackbar/snackbarDefaultIcons.d.ts +1 -1
- package/dist/Components/Snackbar/snackbarDefaultIcons.js +1 -1
- package/dist/Components/TextField/composables/useTextField.d.ts +2 -2
- package/dist/Components/Textarea/composables/useTextarea.d.ts +2 -2
- package/dist/augments.d.ts +5 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +39 -37
- package/dist/theme.css +14 -0
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -14,40 +14,42 @@ import { useFormControl as p } from "./Components/FormControl/composables/useFor
|
|
|
14
14
|
import m from "./Components/FormControl/FormControl.js";
|
|
15
15
|
import { useCheckbox as h } from "./Components/Checkbox/composables/useCheckbox.js";
|
|
16
16
|
import g from "./Components/Checkbox/Checkbox.js";
|
|
17
|
-
import {
|
|
18
|
-
import v from "./Components/
|
|
19
|
-
import {
|
|
20
|
-
import b from "./Components/
|
|
21
|
-
import {
|
|
22
|
-
import S from "./Components/
|
|
23
|
-
import {
|
|
24
|
-
import w from "./Components/
|
|
25
|
-
import {
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import {
|
|
29
|
-
import P from "./Components/
|
|
30
|
-
import F from "./Components/
|
|
31
|
-
import I from "./Components/
|
|
32
|
-
import
|
|
33
|
-
import R from "./Components/
|
|
34
|
-
import {
|
|
35
|
-
import B from "./Components/
|
|
36
|
-
import {
|
|
37
|
-
import H from "./Components/
|
|
38
|
-
import {
|
|
39
|
-
import W from "./Components/
|
|
40
|
-
import G from "./Components/
|
|
41
|
-
import K from "./Components/
|
|
42
|
-
import
|
|
43
|
-
import J from "./Components/
|
|
44
|
-
import {
|
|
45
|
-
import X from "./Components/
|
|
46
|
-
import {
|
|
47
|
-
import Q from "./Components/
|
|
48
|
-
import {
|
|
49
|
-
import ee from "./Components/
|
|
50
|
-
import te from "./
|
|
51
|
-
import
|
|
52
|
-
import
|
|
53
|
-
|
|
17
|
+
import { useChip as _ } from "./Components/Chip/composables/useChip.js";
|
|
18
|
+
import v from "./Components/Chip/Chip.js";
|
|
19
|
+
import { useFormField as y } from "./Components/FormField/composables/useFormField.js";
|
|
20
|
+
import b from "./Components/FormField/FormField.js";
|
|
21
|
+
import { useLabel as x } from "./Components/Label/composables/useLabel.js";
|
|
22
|
+
import S from "./Components/Label/Label.js";
|
|
23
|
+
import { useLink as C } from "./Components/Link/composables/useLink.js";
|
|
24
|
+
import w from "./Components/Link/Link.js";
|
|
25
|
+
import { useList as T } from "./Components/List/composables/useList.js";
|
|
26
|
+
import E from "./Components/List/List.js";
|
|
27
|
+
import { useListbox as D } from "./Components/Listbox/composables/useListbox.js";
|
|
28
|
+
import { findFirstEnabledOptionIndex as O, findLastEnabledOptionIndex as k, getListboxActiveDescendantId as A, getListboxOptionId as j, moveListboxHighlight as M, useListboxNavigation as N } from "./Components/Listbox/composables/useListboxNavigation.js";
|
|
29
|
+
import P from "./Components/ListItem/ListItem.js";
|
|
30
|
+
import { useMenu as F } from "./Components/Menu/composables/useMenu.js";
|
|
31
|
+
import I from "./Components/Menu/Menu.js";
|
|
32
|
+
import L from "./Components/Listbox/Listbox.js";
|
|
33
|
+
import R from "./Components/ListSection/ListSection.js";
|
|
34
|
+
import { useModal as z } from "./Components/Modal/composables/useModal.js";
|
|
35
|
+
import B from "./Components/Modal/Modal.js";
|
|
36
|
+
import { useNumberField as V } from "./Components/NumberField/composables/useNumberField.js";
|
|
37
|
+
import H from "./Components/NumberField/NumberField.js";
|
|
38
|
+
import { usePasswordField as U } from "./Components/PasswordField/composables/usePasswordField.js";
|
|
39
|
+
import W from "./Components/PasswordField/PasswordField.js";
|
|
40
|
+
import { useRadio as G } from "./Components/Radio/composables/useRadio.js";
|
|
41
|
+
import K from "./Components/Radio/Radio.js";
|
|
42
|
+
import q from "./Components/Select/Select.js";
|
|
43
|
+
import J from "./Components/Select/SelectOption.js";
|
|
44
|
+
import { useSnackbar as Y } from "./Components/Snackbar/composables/useSnackbar.js";
|
|
45
|
+
import X from "./Components/Snackbar/Snackbar.js";
|
|
46
|
+
import { useSwitch as Z } from "./Components/Switch/composables/useSwitch.js";
|
|
47
|
+
import Q from "./Components/Switch/Switch.js";
|
|
48
|
+
import { useTextarea as $ } from "./Components/Textarea/composables/useTextarea.js";
|
|
49
|
+
import ee from "./Components/Textarea/Textarea.js";
|
|
50
|
+
import { useTextField as te } from "./Components/TextField/composables/useTextField.js";
|
|
51
|
+
import ne from "./Components/TextField/TextField.js";
|
|
52
|
+
import re from "./Provider/BridgeUIProvider.js";
|
|
53
|
+
import { createBridgeUI as ie } from "./Provider/createBridgeUI.js";
|
|
54
|
+
import { BRIDGE_UI_DEFAULT_GLOBAL as ae, cn as oe, mergeBridgeUIComponents as se, mergeBridgeUIGlobal as ce, resolveBridgeUIOptions as le } from "@bridge-ui/core";
|
|
55
|
+
export { a as Alert, o as Avatar, ae as BRIDGE_UI_DEFAULT_GLOBAL, c as Badge, re as BridgeUIProvider, u as Button, f as Card, g as Checkbox, v as Chip, m as FormControl, b as FormField, i as Icon, S as Label, w as Link, E as List, P as ListItem, R as ListSection, L as Listbox, I as Menu, B as Modal, H as NumberField, W as PasswordField, K as Radio, q as Select, J as SelectOption, X as Snackbar, Q as Switch, ne as TextField, ee as Textarea, oe as cn, ie as createBridgeUI, O as findFirstEnabledOptionIndex, k as findLastEnabledOptionIndex, A as getListboxActiveDescendantId, j as getListboxOptionId, se as mergeBridgeUIComponents, ce as mergeBridgeUIGlobal, M as moveListboxHighlight, le as resolveBridgeUIOptions, r as useAlert, s as useBadge, e as useBridgeUI, t as useBridgeUIComponent, n as useBridgeUIMergedRegistryClasses, l as useButton, d as useCard, h as useCheckbox, _ as useChip, p as useFormControl, y as useFormField, x as useLabel, C as useLink, T as useList, D as useListbox, N as useListboxNavigation, F as useMenu, z as useModal, V as useNumberField, U as usePasswordField, G as useRadio, Y as useSnackbar, Z as useSwitch, te as useTextField, $ as useTextarea };
|
package/dist/theme.css
CHANGED
|
@@ -97,6 +97,20 @@
|
|
|
97
97
|
--color-info-800: var(--color-blue-800);
|
|
98
98
|
--color-info-900: var(--color-blue-900);
|
|
99
99
|
--color-info-950: var(--color-blue-950);
|
|
100
|
+
|
|
101
|
+
/* Listbox indeterminate loading bar */
|
|
102
|
+
--animate-bridge-listbox-indeterminate: bridge-listbox-indeterminate 1.4s
|
|
103
|
+
ease-in-out infinite;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@keyframes bridge-listbox-indeterminate {
|
|
107
|
+
0% {
|
|
108
|
+
transform: translateX(-100%);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
100% {
|
|
112
|
+
transform: translateX(400%);
|
|
113
|
+
}
|
|
100
114
|
}
|
|
101
115
|
|
|
102
116
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "0.0.1-beta.
|
|
4
|
+
"version": "0.0.1-beta.3",
|
|
5
5
|
"author": "BridgeUI",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"name": "@bridge-ui/vue",
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"dist"
|
|
61
61
|
],
|
|
62
62
|
"peerDependencies": {
|
|
63
|
-
"@bridge-ui/core": "^0.0.1-beta.
|
|
64
|
-
"lucide
|
|
63
|
+
"@bridge-ui/core": "^0.0.1-beta.3",
|
|
64
|
+
"@lucide/vue": ">=1.0.0",
|
|
65
65
|
"vue": "^3.4.0"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
@@ -80,12 +80,12 @@
|
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@bridge-ui/core": "*",
|
|
83
|
+
"@lucide/vue": "^1.24.0",
|
|
83
84
|
"@tailwindcss/cli": "^4.3.0",
|
|
84
85
|
"@tailwindcss/vite": "^4.3.0",
|
|
85
86
|
"@types/node": "^24.0.0",
|
|
86
87
|
"@vue/language-core": "^3.2.9",
|
|
87
88
|
"@vue/test-utils": "^2.4.10",
|
|
88
|
-
"lucide-vue-next": "^1.0.0",
|
|
89
89
|
"tailwindcss": "^4.3.0",
|
|
90
90
|
"typescript": "^6.0.3",
|
|
91
91
|
"vue": "^3.5.34",
|