@equal-experts/kuat-vue 0.9.1 → 0.9.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.
package/dist/textarea.js CHANGED
@@ -1,5 +1,4 @@
1
1
  import { c as e } from "./utils-DLUjLwnh.js";
2
- /* empty css */
3
2
  import { T as E, _ as T } from "./constants-CpIWAssv.js";
4
3
  export {
5
4
  E as TEXTAREA_RESIZE,
@@ -1,10 +1,9 @@
1
1
  import { c as p } from "./utils-DLUjLwnh.js";
2
- /* empty css */
3
- import { defineComponent as n, createBlock as i, openBlock as u, unref as e, mergeProps as g, withCtx as c, renderSlot as d } from "vue";
2
+ import { defineComponent as n, createBlock as i, openBlock as u, unref as o, mergeProps as g, withCtx as c, renderSlot as d } from "vue";
4
3
  import { useForwardPropsEmits as m, ToggleGroupRoot as f, useForwardProps as _, ToggleGroupItem as G } from "reka-ui";
5
- import { T as w, a as v } from "./constants-CXAkjttx.js";
4
+ import { T as $, a as w } from "./constants-CXAkjttx.js";
6
5
  import { r as T } from "./index-A7umpmtg.js";
7
- const z = /* @__PURE__ */ n({
6
+ const k = /* @__PURE__ */ n({
8
7
  __name: "ToggleGroup",
9
8
  props: {
10
9
  rovingFocus: { type: Boolean },
@@ -22,10 +21,10 @@ const z = /* @__PURE__ */ n({
22
21
  class: {}
23
22
  },
24
23
  emits: ["update:modelValue"],
25
- setup(s, { emit: o }) {
26
- const t = s, r = m(t, o);
27
- return (l, B) => (u(), i(e(f), g({ "data-slot": "toggle-group" }, e(r), {
28
- class: e(p)("toggle-group", `toggle-group--${t.orientation}`, t.class)
24
+ setup(s, { emit: e }) {
25
+ const t = s, r = m(t, e);
26
+ return (l, B) => (u(), i(o(f), g({ "data-slot": "toggle-group" }, o(r), {
27
+ class: o(p)("toggle-group", `toggle-group--${t.orientation}`, t.class)
29
28
  }), {
30
29
  default: c(() => [
31
30
  d(l.$slots, "default")
@@ -33,7 +32,7 @@ const z = /* @__PURE__ */ n({
33
32
  _: 3
34
33
  }, 16, ["class"]));
35
34
  }
36
- }), E = /* @__PURE__ */ n({
35
+ }), z = /* @__PURE__ */ n({
37
36
  __name: "ToggleGroupItem",
38
37
  props: {
39
38
  value: {},
@@ -45,13 +44,13 @@ const z = /* @__PURE__ */ n({
45
44
  skin: { default: "outlined" }
46
45
  },
47
46
  setup(s) {
48
- const o = s, t = T(o, "class", "size", "skin"), a = _(t);
49
- return (r, l) => (u(), i(e(G), g({ "data-slot": "toggle-group-item" }, e(a), {
50
- class: e(p)(
47
+ const e = s, t = T(e, "class", "size", "skin"), a = _(t);
48
+ return (r, l) => (u(), i(o(G), g({ "data-slot": "toggle-group-item" }, o(a), {
49
+ class: o(p)(
51
50
  "toggle-group-item",
52
- `toggle-group-item--size-${o.size}`,
53
- `toggle-group-item--skin-${o.skin}`,
54
- o.class
51
+ `toggle-group-item--size-${e.size}`,
52
+ `toggle-group-item--skin-${e.skin}`,
53
+ e.class
55
54
  )
56
55
  }), {
57
56
  default: c(() => [
@@ -60,12 +59,12 @@ const z = /* @__PURE__ */ n({
60
59
  _: 3
61
60
  }, 16, ["class"]));
62
61
  }
63
- }), P = ["horizontal", "vertical"];
62
+ }), E = ["horizontal", "vertical"];
64
63
  export {
65
- P as TOGGLE_GROUP_ORIENTATIONS,
66
- w as TOGGLE_SIZES,
67
- v as TOGGLE_SKINS,
68
- z as ToggleGroup,
69
- E as ToggleGroupItem,
64
+ E as TOGGLE_GROUP_ORIENTATIONS,
65
+ $ as TOGGLE_SIZES,
66
+ w as TOGGLE_SKINS,
67
+ k as ToggleGroup,
68
+ z as ToggleGroupItem,
70
69
  p as cn
71
70
  };
package/dist/toggle.js CHANGED
@@ -1,10 +1,9 @@
1
- import { c as e } from "./utils-DLUjLwnh.js";
2
- /* empty css */
3
- import { _ as p } from "./Toggle.vue_vue_type_script_setup_true_lang-CZM1GrLQ.js";
4
- import { T as t, a as G } from "./constants-CXAkjttx.js";
1
+ import { c as a } from "./utils-DLUjLwnh.js";
2
+ import { _ as s } from "./Toggle.vue_vue_type_script_setup_true_lang-CZM1GrLQ.js";
3
+ import { T as S, a as T } from "./constants-CXAkjttx.js";
5
4
  export {
6
- t as TOGGLE_SIZES,
7
- G as TOGGLE_SKINS,
8
- p as Toggle,
9
- e as cn
5
+ S as TOGGLE_SIZES,
6
+ T as TOGGLE_SKINS,
7
+ s as Toggle,
8
+ a as cn
10
9
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equal-experts/kuat-vue",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -70,6 +70,14 @@
70
70
  "import": "./dist/toggle-group.js",
71
71
  "types": "./dist/toggle-group.d.ts"
72
72
  },
73
+ "./carousel": {
74
+ "import": "./dist/carousel.js",
75
+ "types": "./dist/carousel.d.ts"
76
+ },
77
+ "./kuat-carousel": {
78
+ "import": "./dist/kuat-carousel.js",
79
+ "types": "./dist/kuat-carousel.d.ts"
80
+ },
73
81
  "./styles": {
74
82
  "types": "./dist/style.css.d.ts",
75
83
  "default": "./dist/style.css"
@@ -95,10 +103,11 @@
95
103
  "directory": "packages/kuat-vue"
96
104
  },
97
105
  "scripts": {
98
- "build": "vite build && node -e \"const fs=require('node:fs');fs.writeFileSync('dist/style.css.d.ts','declare const stylesheet: string;\\\\nexport default stylesheet;\\\\n');\"",
99
- "dev": "vite build --watch",
106
+ "build": "node scripts/concat-component-styles.mjs && NODE_OPTIONS=--max-old-space-size=12288 vite build && node -e \"const fs=require('node:fs');fs.writeFileSync('dist/style.css.d.ts','declare const stylesheet: string;\\\\nexport default stylesheet;\\\\n');\"",
107
+ "dev": "node scripts/concat-component-styles.mjs && NODE_OPTIONS=--max-old-space-size=12288 vite build --watch",
100
108
  "lint": "eslint . --max-warnings 0",
101
- "test": "vitest",
109
+ "test": "vitest run",
110
+ "test:watch": "vitest",
102
111
  "test:run": "vitest run"
103
112
  },
104
113
  "dependencies": {