@tb-dev/vue-components 0.2.1 → 0.2.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/index.css CHANGED
@@ -1,73 +1,73 @@
1
- /*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
2
2
  :root {
3
- --background: oklch(1 0 0);
4
- --foreground: oklch(.141 .005 285.823);
5
- --card: oklch(1 0 0);
6
- --card-foreground: oklch(.141 .005 285.823);
7
- --popover: oklch(1 0 0);
8
- --popover-foreground: oklch(.141 .005 285.823);
9
- --primary: oklch(.21 .006 285.885);
10
- --primary-foreground: oklch(.985 0 0);
11
- --secondary: oklch(.967 .001 286.375);
12
- --secondary-foreground: oklch(.21 .006 285.885);
13
- --muted: oklch(.967 .001 286.375);
14
- --muted-foreground: oklch(.552 .016 285.938);
15
- --accent: oklch(.967 .001 286.375);
16
- --accent-foreground: oklch(.21 .006 285.885);
17
- --destructive: oklch(.577 .245 27.325);
18
- --destructive-foreground: oklch(.577 .245 27.325);
19
- --border: oklch(.92 .004 286.32);
20
- --input: oklch(.92 .004 286.32);
21
- --ring: oklch(.705 .015 286.067);
22
- --chart-1: oklch(.646 .222 41.116);
23
- --chart-2: oklch(.6 .118 184.704);
24
- --chart-3: oklch(.398 .07 227.392);
25
- --chart-4: oklch(.828 .189 84.429);
26
- --chart-5: oklch(.769 .188 70.08);
27
- --sidebar: oklch(.985 0 0);
28
- --sidebar-foreground: oklch(.141 .005 285.823);
29
- --sidebar-primary: oklch(.21 .006 285.885);
30
- --sidebar-primary-foreground: oklch(.985 0 0);
31
- --sidebar-accent: oklch(.967 .001 286.375);
32
- --sidebar-accent-foreground: oklch(.21 .006 285.885);
33
- --sidebar-border: oklch(.92 .004 286.32);
34
- --sidebar-ring: oklch(.705 .015 286.067);
3
+ --background: oklch(100% 0 0);
4
+ --foreground: oklch(14.1% .005 285.823);
5
+ --card: oklch(100% 0 0);
6
+ --card-foreground: oklch(14.1% .005 285.823);
7
+ --popover: oklch(100% 0 0);
8
+ --popover-foreground: oklch(14.1% .005 285.823);
9
+ --primary: oklch(21% .006 285.885);
10
+ --primary-foreground: oklch(98.5% 0 0);
11
+ --secondary: oklch(96.7% .001 286.375);
12
+ --secondary-foreground: oklch(21% .006 285.885);
13
+ --muted: oklch(96.7% .001 286.375);
14
+ --muted-foreground: oklch(55.2% .016 285.938);
15
+ --accent: oklch(96.7% .001 286.375);
16
+ --accent-foreground: oklch(21% .006 285.885);
17
+ --destructive: oklch(57.7% .245 27.325);
18
+ --destructive-foreground: oklch(57.7% .245 27.325);
19
+ --border: oklch(92% .004 286.32);
20
+ --input: oklch(92% .004 286.32);
21
+ --ring: oklch(70.5% .015 286.067);
22
+ --chart-1: oklch(64.6% .222 41.116);
23
+ --chart-2: oklch(60% .118 184.704);
24
+ --chart-3: oklch(39.8% .07 227.392);
25
+ --chart-4: oklch(82.8% .189 84.429);
26
+ --chart-5: oklch(76.9% .188 70.08);
27
+ --sidebar: oklch(98.5% 0 0);
28
+ --sidebar-foreground: oklch(14.1% .005 285.823);
29
+ --sidebar-primary: oklch(21% .006 285.885);
30
+ --sidebar-primary-foreground: oklch(98.5% 0 0);
31
+ --sidebar-accent: oklch(96.7% .001 286.375);
32
+ --sidebar-accent-foreground: oklch(21% .006 285.885);
33
+ --sidebar-border: oklch(92% .004 286.32);
34
+ --sidebar-ring: oklch(70.5% .015 286.067);
35
35
  --radius: .625rem;
36
36
  }
37
37
 
38
38
  .dark {
39
- --background: oklch(.141 .005 285.823);
40
- --foreground: oklch(.985 0 0);
41
- --card: oklch(.141 .005 285.823);
42
- --card-foreground: oklch(.985 0 0);
43
- --popover: oklch(.141 .005 285.823);
44
- --popover-foreground: oklch(.985 0 0);
45
- --primary: oklch(.985 0 0);
46
- --primary-foreground: oklch(.21 .006 285.885);
47
- --secondary: oklch(.274 .006 286.033);
48
- --secondary-foreground: oklch(.985 0 0);
49
- --muted: oklch(.274 .006 286.033);
50
- --muted-foreground: oklch(.705 .015 286.067);
51
- --accent: oklch(.274 .006 286.033);
52
- --accent-foreground: oklch(.985 0 0);
53
- --destructive: oklch(.396 .141 25.723);
54
- --destructive-foreground: oklch(.637 .237 25.331);
55
- --border: oklch(.274 .006 286.033);
56
- --input: oklch(.274 .006 286.033);
57
- --ring: oklch(.442 .017 285.786);
58
- --chart-1: oklch(.488 .243 264.376);
59
- --chart-2: oklch(.696 .17 162.48);
60
- --chart-3: oklch(.769 .188 70.08);
61
- --chart-4: oklch(.627 .265 303.9);
62
- --chart-5: oklch(.645 .246 16.439);
63
- --sidebar: oklch(.21 .006 285.885);
64
- --sidebar-foreground: oklch(.985 0 0);
65
- --sidebar-primary: oklch(.488 .243 264.376);
66
- --sidebar-primary-foreground: oklch(.985 0 0);
67
- --sidebar-accent: oklch(.274 .006 286.033);
68
- --sidebar-accent-foreground: oklch(.985 0 0);
69
- --sidebar-border: oklch(.274 .006 286.033);
70
- --sidebar-ring: oklch(.442 .017 285.786);
39
+ --background: oklch(14.1% .005 285.823);
40
+ --foreground: oklch(98.5% 0 0);
41
+ --card: oklch(14.1% .005 285.823);
42
+ --card-foreground: oklch(98.5% 0 0);
43
+ --popover: oklch(14.1% .005 285.823);
44
+ --popover-foreground: oklch(98.5% 0 0);
45
+ --primary: oklch(98.5% 0 0);
46
+ --primary-foreground: oklch(21% .006 285.885);
47
+ --secondary: oklch(27.4% .006 286.033);
48
+ --secondary-foreground: oklch(98.5% 0 0);
49
+ --muted: oklch(27.4% .006 286.033);
50
+ --muted-foreground: oklch(70.5% .015 286.067);
51
+ --accent: oklch(27.4% .006 286.033);
52
+ --accent-foreground: oklch(98.5% 0 0);
53
+ --destructive: oklch(39.6% .141 25.723);
54
+ --destructive-foreground: oklch(63.7% .237 25.331);
55
+ --border: oklch(27.4% .006 286.033);
56
+ --input: oklch(27.4% .006 286.033);
57
+ --ring: oklch(44.2% .017 285.786);
58
+ --chart-1: oklch(48.8% .243 264.376);
59
+ --chart-2: oklch(69.6% .17 162.48);
60
+ --chart-3: oklch(76.9% .188 70.08);
61
+ --chart-4: oklch(62.7% .265 303.9);
62
+ --chart-5: oklch(64.5% .246 16.439);
63
+ --sidebar: oklch(21% .006 285.885);
64
+ --sidebar-foreground: oklch(98.5% 0 0);
65
+ --sidebar-primary: oklch(48.8% .243 264.376);
66
+ --sidebar-primary-foreground: oklch(98.5% 0 0);
67
+ --sidebar-accent: oklch(27.4% .006 286.033);
68
+ --sidebar-accent-foreground: oklch(98.5% 0 0);
69
+ --sidebar-border: oklch(27.4% .006 286.033);
70
+ --sidebar-ring: oklch(44.2% .017 285.786);
71
71
  }
72
72
 
73
73
  @layer base {
package/dist/index.js CHANGED
@@ -1473,7 +1473,8 @@ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
1473
1473
  createVNode(unref(X)),
1474
1474
  _cache[0] || (_cache[0] = createElementVNode("span", { class: "sr-only" }, "Close", -1))
1475
1475
  ]),
1476
- _: 1
1476
+ _: 1,
1477
+ __: [0]
1477
1478
  })
1478
1479
  ]),
1479
1480
  _: 3
@@ -1593,7 +1594,8 @@ const _sfc_main$2f = /* @__PURE__ */ defineComponent({
1593
1594
  createVNode(unref(X), { class: "h-4 w-4" }),
1594
1595
  _cache[1] || (_cache[1] = createElementVNode("span", { class: "sr-only" }, "Close", -1))
1595
1596
  ]),
1596
- _: 1
1597
+ _: 1,
1598
+ __: [1]
1597
1599
  })
1598
1600
  ]),
1599
1601
  _: 3
@@ -4291,7 +4293,8 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
4291
4293
  createVNode(unref(X), { class: "size-4" }),
4292
4294
  _cache[0] || (_cache[0] = createElementVNode("span", { class: "sr-only" }, "Close", -1))
4293
4295
  ]),
4294
- _: 1
4296
+ _: 1,
4297
+ __: [0]
4295
4298
  })
4296
4299
  ]),
4297
4300
  _: 3
@@ -4468,13 +4471,15 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
4468
4471
  default: withCtx(() => _cache[0] || (_cache[0] = [
4469
4472
  createTextVNode("Sidebar")
4470
4473
  ])),
4471
- _: 1
4474
+ _: 1,
4475
+ __: [0]
4472
4476
  }),
4473
4477
  createVNode(_sfc_main$Y, null, {
4474
4478
  default: withCtx(() => _cache[1] || (_cache[1] = [
4475
4479
  createTextVNode("Displays the mobile sidebar.")
4476
4480
  ])),
4477
- _: 1
4481
+ _: 1,
4482
+ __: [1]
4478
4483
  })
4479
4484
  ]),
4480
4485
  _: 1
@@ -5299,7 +5304,8 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
5299
5304
  createVNode(unref(PanelLeft)),
5300
5305
  _cache[0] || (_cache[0] = createElementVNode("span", { class: "sr-only" }, "Toggle Sidebar", -1))
5301
5306
  ]),
5302
- _: 1
5307
+ _: 1,
5308
+ __: [0]
5303
5309
  }, 8, ["class", "onClick"]);
5304
5310
  };
5305
5311
  }
@@ -5471,11 +5477,11 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
5471
5477
  class: {},
5472
5478
  style: {},
5473
5479
  offset: {},
5480
+ mobileOffset: {},
5474
5481
  dir: {},
5482
+ swipeDirections: {},
5475
5483
  icons: {},
5476
- containerAriaLabel: {},
5477
- pauseWhenPageIsHidden: { type: Boolean },
5478
- cn: { type: Function }
5484
+ containerAriaLabel: {}
5479
5485
  },
5480
5486
  setup(__props) {
5481
5487
  const props = __props;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tb-dev/vue-components",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "Vue components",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -24,33 +24,33 @@
24
24
  ],
25
25
  "dependencies": {
26
26
  "@tanstack/vue-table": "^8.21.3",
27
- "@tb-dev/utils": "^6.0.4",
28
- "@tb-dev/vue": "^2.0.0",
29
- "@vueuse/core": "^13.1.0",
27
+ "@tb-dev/utils": "^7.0.1",
28
+ "@tb-dev/vue": "^2.0.4",
29
+ "@vueuse/core": "^13.2.0",
30
30
  "class-variance-authority": "^0.7.1",
31
31
  "clsx": "^2.1.1",
32
- "lucide-vue-next": "^0.510.0",
32
+ "lucide-vue-next": "^0.511.0",
33
33
  "reka-ui": "^2.2.1",
34
34
  "tailwind-merge": "^3.3.0",
35
- "tw-animate-css": "^1.2.9",
36
- "vue": "^3.5.13",
35
+ "tw-animate-css": "^1.3.0",
36
+ "vue": "^3.5.14",
37
37
  "vue-router": "^4.5.1",
38
- "vue-sonner": "^1.3.2"
38
+ "vue-sonner": "^2.0.0"
39
39
  },
40
40
  "devDependencies": {
41
- "@tailwindcss/vite": "^4.1.6",
42
- "@tb-dev/eslint-config": "^7.1.3",
43
- "@types/node": "^22.15.17",
41
+ "@tailwindcss/vite": "^4.1.7",
42
+ "@tb-dev/eslint-config": "^7.1.5",
43
+ "@types/node": "^22.15.21",
44
44
  "@vitejs/plugin-vue": "^5.2.4",
45
- "eslint": "^9.26.0",
45
+ "eslint": "^9.27.0",
46
46
  "prettier": "^3.5.3",
47
47
  "prettier-plugin-css-order": "^2.1.2",
48
48
  "prettier-plugin-tailwindcss": "^0.6.11",
49
- "tailwindcss": "^4.1.6",
49
+ "tailwindcss": "^4.1.7",
50
50
  "tslib": "^2.8.1",
51
51
  "typescript": "~5.8.3",
52
52
  "vite": "^6.3.5",
53
- "vite-plugin-dts": "^4.5.3",
53
+ "vite-plugin-dts": "^4.5.4",
54
54
  "vue-tsc": "~2.2.10"
55
55
  },
56
56
  "files": [