@tb-dev/vue-components 5.0.0 → 5.0.2
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.
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { Option } from '@tb-dev/utils';
|
|
2
3
|
type __VLS_Props = {
|
|
3
|
-
defaultValue?: string | number
|
|
4
|
-
modelValue?: string | number
|
|
4
|
+
defaultValue?: Option<string | number>;
|
|
5
|
+
modelValue?: Option<string | number>;
|
|
5
6
|
class?: HTMLAttributes['class'];
|
|
6
7
|
};
|
|
7
8
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { Option } from '@tb-dev/utils';
|
|
2
3
|
type __VLS_Props = {
|
|
3
4
|
class?: HTMLAttributes['class'];
|
|
4
|
-
defaultValue?: string | number
|
|
5
|
-
modelValue?: string | number
|
|
5
|
+
defaultValue?: Option<string | number>;
|
|
6
|
+
modelValue?: Option<string | number>;
|
|
6
7
|
};
|
|
7
8
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
9
|
"update:modelValue": (payload: string | number) => any;
|
package/dist/index.js
CHANGED
|
@@ -1197,6 +1197,8 @@ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
|
|
|
1197
1197
|
defaultOpen: { type: Boolean },
|
|
1198
1198
|
resetSearchTermOnBlur: { type: Boolean },
|
|
1199
1199
|
resetSearchTermOnSelect: { type: Boolean },
|
|
1200
|
+
openOnFocus: { type: Boolean },
|
|
1201
|
+
openOnClick: { type: Boolean },
|
|
1200
1202
|
ignoreFilter: { type: Boolean },
|
|
1201
1203
|
modelValue: {},
|
|
1202
1204
|
defaultValue: {},
|
|
@@ -1433,8 +1435,10 @@ const _sfc_main$2V = /* @__PURE__ */ defineComponent({
|
|
|
1433
1435
|
bodyLock: { type: Boolean },
|
|
1434
1436
|
side: {},
|
|
1435
1437
|
sideOffset: { default: 4 },
|
|
1438
|
+
sideFlip: { type: Boolean },
|
|
1436
1439
|
align: { default: "center" },
|
|
1437
1440
|
alignOffset: {},
|
|
1441
|
+
alignFlip: { type: Boolean },
|
|
1438
1442
|
avoidCollisions: { type: Boolean },
|
|
1439
1443
|
collisionBoundary: {},
|
|
1440
1444
|
collisionPadding: {},
|
|
@@ -2288,7 +2292,9 @@ const _sfc_main$2x = /* @__PURE__ */ defineComponent({
|
|
|
2288
2292
|
props: {
|
|
2289
2293
|
forceMount: { type: Boolean },
|
|
2290
2294
|
loop: { type: Boolean },
|
|
2295
|
+
sideFlip: { type: Boolean },
|
|
2291
2296
|
alignOffset: {},
|
|
2297
|
+
alignFlip: { type: Boolean },
|
|
2292
2298
|
avoidCollisions: { type: Boolean },
|
|
2293
2299
|
collisionBoundary: {},
|
|
2294
2300
|
collisionPadding: {},
|
|
@@ -2555,7 +2561,9 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
|
|
|
2555
2561
|
forceMount: { type: Boolean },
|
|
2556
2562
|
loop: { type: Boolean },
|
|
2557
2563
|
sideOffset: {},
|
|
2564
|
+
sideFlip: { type: Boolean },
|
|
2558
2565
|
alignOffset: {},
|
|
2566
|
+
alignFlip: { type: Boolean },
|
|
2559
2567
|
avoidCollisions: { type: Boolean },
|
|
2560
2568
|
collisionBoundary: {},
|
|
2561
2569
|
collisionPadding: {},
|
|
@@ -2950,8 +2958,10 @@ const _sfc_main$2a = /* @__PURE__ */ defineComponent({
|
|
|
2950
2958
|
loop: { type: Boolean },
|
|
2951
2959
|
side: {},
|
|
2952
2960
|
sideOffset: { default: 4 },
|
|
2961
|
+
sideFlip: { type: Boolean },
|
|
2953
2962
|
align: {},
|
|
2954
2963
|
alignOffset: {},
|
|
2964
|
+
alignFlip: { type: Boolean },
|
|
2955
2965
|
avoidCollisions: { type: Boolean },
|
|
2956
2966
|
collisionBoundary: {},
|
|
2957
2967
|
collisionPadding: {},
|
|
@@ -3213,7 +3223,9 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
3213
3223
|
forceMount: { type: Boolean },
|
|
3214
3224
|
loop: { type: Boolean },
|
|
3215
3225
|
sideOffset: {},
|
|
3226
|
+
sideFlip: { type: Boolean },
|
|
3216
3227
|
alignOffset: {},
|
|
3228
|
+
alignFlip: { type: Boolean },
|
|
3217
3229
|
avoidCollisions: { type: Boolean },
|
|
3218
3230
|
collisionBoundary: {},
|
|
3219
3231
|
collisionPadding: {},
|
|
@@ -3336,8 +3348,10 @@ const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
|
|
|
3336
3348
|
forceMount: { type: Boolean },
|
|
3337
3349
|
side: {},
|
|
3338
3350
|
sideOffset: { default: 4 },
|
|
3351
|
+
sideFlip: { type: Boolean },
|
|
3339
3352
|
align: {},
|
|
3340
3353
|
alignOffset: {},
|
|
3354
|
+
alignFlip: { type: Boolean },
|
|
3341
3355
|
avoidCollisions: { type: Boolean },
|
|
3342
3356
|
collisionBoundary: {},
|
|
3343
3357
|
collisionPadding: {},
|
|
@@ -3578,8 +3592,10 @@ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
|
|
|
3578
3592
|
loop: { type: Boolean },
|
|
3579
3593
|
side: {},
|
|
3580
3594
|
sideOffset: { default: 8 },
|
|
3595
|
+
sideFlip: { type: Boolean },
|
|
3581
3596
|
align: { default: "start" },
|
|
3582
3597
|
alignOffset: { default: -4 },
|
|
3598
|
+
alignFlip: { type: Boolean },
|
|
3583
3599
|
avoidCollisions: { type: Boolean },
|
|
3584
3600
|
collisionBoundary: {},
|
|
3585
3601
|
collisionPadding: {},
|
|
@@ -3859,7 +3875,9 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
3859
3875
|
forceMount: { type: Boolean },
|
|
3860
3876
|
loop: { type: Boolean },
|
|
3861
3877
|
sideOffset: {},
|
|
3878
|
+
sideFlip: { type: Boolean },
|
|
3862
3879
|
alignOffset: {},
|
|
3880
|
+
alignFlip: { type: Boolean },
|
|
3863
3881
|
avoidCollisions: { type: Boolean },
|
|
3864
3882
|
collisionBoundary: {},
|
|
3865
3883
|
collisionPadding: {},
|
|
@@ -4225,6 +4243,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
4225
4243
|
formatOptions: {},
|
|
4226
4244
|
locale: {},
|
|
4227
4245
|
disabled: { type: Boolean },
|
|
4246
|
+
readonly: { type: Boolean },
|
|
4228
4247
|
disableWheelChange: { type: Boolean },
|
|
4229
4248
|
invertWheelChange: { type: Boolean },
|
|
4230
4249
|
id: {},
|
|
@@ -4653,8 +4672,10 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
4653
4672
|
forceMount: { type: Boolean },
|
|
4654
4673
|
side: {},
|
|
4655
4674
|
sideOffset: { default: 4 },
|
|
4675
|
+
sideFlip: { type: Boolean },
|
|
4656
4676
|
align: { default: "center" },
|
|
4657
4677
|
alignOffset: {},
|
|
4678
|
+
alignFlip: { type: Boolean },
|
|
4658
4679
|
avoidCollisions: { type: Boolean },
|
|
4659
4680
|
collisionBoundary: {},
|
|
4660
4681
|
collisionPadding: {},
|
|
@@ -4846,6 +4867,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
4846
4867
|
hitAreaMargins: {},
|
|
4847
4868
|
tabindex: {},
|
|
4848
4869
|
disabled: { type: Boolean },
|
|
4870
|
+
nonce: {},
|
|
4849
4871
|
asChild: { type: Boolean },
|
|
4850
4872
|
as: {},
|
|
4851
4873
|
class: {},
|
|
@@ -5055,8 +5077,10 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
5055
5077
|
bodyLock: { type: Boolean },
|
|
5056
5078
|
side: {},
|
|
5057
5079
|
sideOffset: {},
|
|
5080
|
+
sideFlip: { type: Boolean },
|
|
5058
5081
|
align: {},
|
|
5059
5082
|
alignOffset: {},
|
|
5083
|
+
alignFlip: { type: Boolean },
|
|
5060
5084
|
avoidCollisions: { type: Boolean },
|
|
5061
5085
|
collisionBoundary: {},
|
|
5062
5086
|
collisionPadding: {},
|
|
@@ -5677,14 +5701,14 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
5677
5701
|
default: withCtx(() => [
|
|
5678
5702
|
createVNode(_sfc_main$R, null, {
|
|
5679
5703
|
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
5680
|
-
createTextVNode("Sidebar")
|
|
5704
|
+
createTextVNode("Sidebar", -1)
|
|
5681
5705
|
])),
|
|
5682
5706
|
_: 1,
|
|
5683
5707
|
__: [0]
|
|
5684
5708
|
}),
|
|
5685
5709
|
createVNode(_sfc_main$U, null, {
|
|
5686
5710
|
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
5687
|
-
createTextVNode("Displays the mobile sidebar.")
|
|
5711
|
+
createTextVNode("Displays the mobile sidebar.", -1)
|
|
5688
5712
|
])),
|
|
5689
5713
|
_: 1,
|
|
5690
5714
|
__: [1]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tb-dev/vue-components",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.2",
|
|
4
4
|
"description": "Vue components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -24,24 +24,24 @@
|
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@tanstack/vue-table": "^8.21.3",
|
|
27
|
-
"@tb-dev/utils": "^7.0.
|
|
28
|
-
"@tb-dev/vue": "^2.0.
|
|
27
|
+
"@tb-dev/utils": "^7.0.8",
|
|
28
|
+
"@tb-dev/vue": "^2.0.13",
|
|
29
29
|
"@vueuse/core": "^13.5.0",
|
|
30
30
|
"class-variance-authority": "^0.7.1",
|
|
31
31
|
"clsx": "^2.1.1",
|
|
32
32
|
"lucide-vue-next": "^0.525.0",
|
|
33
|
-
"reka-ui": "^2.
|
|
33
|
+
"reka-ui": "^2.4.0",
|
|
34
34
|
"tailwind-merge": "^3.3.1",
|
|
35
35
|
"tw-animate-css": "^1.3.5",
|
|
36
36
|
"vaul-vue": "^0.4.1",
|
|
37
|
-
"vue": "^3.5.
|
|
37
|
+
"vue": "^3.5.18",
|
|
38
38
|
"vue-router": "^4.5.1",
|
|
39
|
-
"vue-sonner": "^2.0.
|
|
39
|
+
"vue-sonner": "^2.0.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@tailwindcss/vite": "^4.1.11",
|
|
43
|
-
"@tb-dev/eslint-config": "^8.0.
|
|
44
|
-
"@types/node": "^24.0
|
|
43
|
+
"@tb-dev/eslint-config": "^8.0.3",
|
|
44
|
+
"@types/node": "^24.1.0",
|
|
45
45
|
"@vitejs/plugin-vue": "^6.0.0",
|
|
46
46
|
"eslint": "^9.31.0",
|
|
47
47
|
"prettier": "^3.6.2",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"tailwindcss": "^4.1.11",
|
|
51
51
|
"tslib": "^2.8.1",
|
|
52
52
|
"typescript": "~5.8.3",
|
|
53
|
-
"vite": "^7.0.
|
|
53
|
+
"vite": "^7.0.6",
|
|
54
54
|
"vite-plugin-dts": "^4.5.4",
|
|
55
|
-
"vue-tsc": "~3.0.
|
|
55
|
+
"vue-tsc": "~3.0.3"
|
|
56
56
|
},
|
|
57
57
|
"files": [
|
|
58
58
|
"dist"
|