cleek 2.11.43 → 2.11.44

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.
Files changed (29) hide show
  1. package/dist/cleek-styles/tiny-tailwind/aspect-ratio.styl +6 -6
  2. package/dist/cleek-styles/tiny-tailwind/bg-color.styl +161 -161
  3. package/dist/cleek-styles/tiny-tailwind/border-color.styl +161 -161
  4. package/dist/cleek-styles/tiny-tailwind/border.styl +63 -63
  5. package/dist/cleek-styles/tiny-tailwind/flex-direction.styl +8 -8
  6. package/dist/cleek-styles/tiny-tailwind/flex-grow.styl +10 -10
  7. package/dist/cleek-styles/tiny-tailwind/font-size.styl +24 -24
  8. package/dist/cleek-styles/tiny-tailwind/grid.styl +87 -87
  9. package/dist/cleek-styles/tiny-tailwind/height.styl +96 -96
  10. package/dist/cleek-styles/tiny-tailwind/inset.styl +328 -328
  11. package/dist/cleek-styles/tiny-tailwind/leading.styl +28 -28
  12. package/dist/cleek-styles/tiny-tailwind/object-fit.styl +20 -20
  13. package/dist/cleek-styles/tiny-tailwind/opacity.styl +30 -30
  14. package/dist/cleek-styles/tiny-tailwind/pointer-events.styl +4 -4
  15. package/dist/cleek-styles/tiny-tailwind/shadow.styl +16 -16
  16. package/dist/cleek-styles/tiny-tailwind/size-constraints.styl +127 -127
  17. package/dist/cleek-styles/tiny-tailwind/text-color.styl +159 -159
  18. package/dist/cleek-styles/tiny-tailwind/text-decoration.styl +8 -8
  19. package/dist/cleek-styles/tiny-tailwind/text-overflow.styl +38 -38
  20. package/dist/cleek-styles/tiny-tailwind/text-transform.styl +8 -8
  21. package/dist/cleek-styles/tiny-tailwind/transition.styl +55 -55
  22. package/dist/cleek-styles/tiny-tailwind/user-select.styl +8 -8
  23. package/dist/cleek-styles/tiny-tailwind/visibility.styl +4 -4
  24. package/dist/cleek-styles/tiny-tailwind/z-index.styl +14 -14
  25. package/dist/main.cjs.js +1 -1
  26. package/dist/main.css +1 -1
  27. package/dist/main.es.js +10 -4
  28. package/dist/types/components/ck-tile-picker.vue.d.ts +1 -0
  29. package/package.json +80 -79
package/dist/main.es.js CHANGED
@@ -3518,7 +3518,7 @@ const Nn = /* @__PURE__ */ Ve(On, [["render", qn]]), Hn = ["id"], Un = {
3518
3518
  }, null, 8, ["icon", "icon-pack"])) : C("", !0)
3519
3519
  ], 14, ba));
3520
3520
  }
3521
- }), _a = /* @__PURE__ */ j(xa, [["__scopeId", "data-v-2ad8cd7f"]]), Ba = "primary", Ta = "m", Va = "white", Da = /* @__PURE__ */ z({
3521
+ }), _a = /* @__PURE__ */ j(xa, [["__scopeId", "data-v-16974fd3"]]), Ba = "primary", Ta = "m", Va = "white", Da = /* @__PURE__ */ z({
3522
3522
  __name: "ck-circle",
3523
3523
  props: {
3524
3524
  size: {},
@@ -4392,6 +4392,7 @@ const qa = {
4392
4392
  disabled: { type: Boolean },
4393
4393
  disabledTooltip: {},
4394
4394
  size: {},
4395
+ isAlwaysExpanded: { type: Boolean },
4395
4396
  columns: {},
4396
4397
  changeLabel: {},
4397
4398
  iconColor: {},
@@ -4404,12 +4405,12 @@ const qa = {
4404
4405
  }),
4405
4406
  emits: /* @__PURE__ */ te(["change"], ["update:modelValue"]),
4406
4407
  setup(e, { emit: o }) {
4407
- const t = me(e, "modelValue"), n = e, l = o, i = A(!t.value), a = c(() => n.options.find((v) => v.id === t.value) ?? null), p = c(() => i.value || !a.value ? n.options : [a.value]), u = c(() => {
4408
+ const t = me(e, "modelValue"), n = e, l = o, i = A(n.isAlwaysExpanded || !t.value), a = c(() => n.options.find((v) => v.id === t.value) ?? null), p = c(() => i.value || !a.value ? n.options : [a.value]), u = c(() => {
4408
4409
  if (i.value)
4409
4410
  return n.size === "l" && !n.columns ? { "grid-template-columns": "repeat(auto-fit, minmax(220px, 1fr))" } : { "grid-template-columns": `repeat(${n.columns || wi}, 1fr)` };
4410
4411
  });
4411
4412
  de(t, (v) => {
4412
- i.value = !v;
4413
+ n.isAlwaysExpanded || (i.value = !v);
4413
4414
  });
4414
4415
  function f(v) {
4415
4416
  if (n.disabled) return n.disabledTooltip;
@@ -4418,6 +4419,11 @@ const qa = {
4418
4419
  }
4419
4420
  function r(v) {
4420
4421
  if (!n.disabled) {
4422
+ if (n.isAlwaysExpanded) {
4423
+ if (v.id === t.value) return;
4424
+ t.value = v.id, l("change", v.id);
4425
+ return;
4426
+ }
4421
4427
  if (!i.value) {
4422
4428
  i.value = !0;
4423
4429
  return;
@@ -4481,7 +4487,7 @@ const qa = {
4481
4487
  ], 2);
4482
4488
  };
4483
4489
  }
4484
- }), xi = /* @__PURE__ */ j($i, [["__scopeId", "data-v-5d7559c8"]]), _i = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2027.7.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Capa_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20100%20100'%20style='enable-background:new%200%200%20100%20100;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23EA4B4B;}%20%3c/style%3e%3cg%3e%3cg%3e%3cg%3e%3crect%20x='45'%20y='64.9'%20class='st0'%20width='10'%20height='10.2'/%3e%3c/g%3e%3c/g%3e%3cg%3e%3cg%3e%3crect%20x='45'%20y='24.9'%20class='st0'%20width='10'%20height='30.2'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cpath%20class='st0'%20d='M69.2,16.7L88.5,50L69.2,83.3H30.8L11.5,50l19.2-33.3H69.2%20M75,6.7H25L0,50l25,43.3h50L100,50L75,6.7L75,6.7z'%20/%3e%3c/svg%3e", Bi = { class: "ck-confirm--background" }, Ti = { class: "ck-confirm" }, Vi = { class: "ck-confirm__title" }, Di = { class: "ck-confirm__message" }, Si = { class: "ck-confirm__buttons-container" }, Li = /* @__PURE__ */ z({
4490
+ }), xi = /* @__PURE__ */ j($i, [["__scopeId", "data-v-870579cf"]]), _i = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2027.7.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Capa_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20100%20100'%20style='enable-background:new%200%200%20100%20100;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23EA4B4B;}%20%3c/style%3e%3cg%3e%3cg%3e%3cg%3e%3crect%20x='45'%20y='64.9'%20class='st0'%20width='10'%20height='10.2'/%3e%3c/g%3e%3c/g%3e%3cg%3e%3cg%3e%3crect%20x='45'%20y='24.9'%20class='st0'%20width='10'%20height='30.2'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cpath%20class='st0'%20d='M69.2,16.7L88.5,50L69.2,83.3H30.8L11.5,50l19.2-33.3H69.2%20M75,6.7H25L0,50l25,43.3h50L100,50L75,6.7L75,6.7z'%20/%3e%3c/svg%3e", Bi = { class: "ck-confirm--background" }, Ti = { class: "ck-confirm" }, Vi = { class: "ck-confirm__title" }, Di = { class: "ck-confirm__message" }, Si = { class: "ck-confirm__buttons-container" }, Li = /* @__PURE__ */ z({
4485
4491
  __name: "CkConfirm",
4486
4492
  setup(e, { expose: o }) {
4487
4493
  const t = A(""), n = A(""), l = A(""), i = A(""), a = A(() => {
@@ -15,6 +15,7 @@ declare const _default: <T extends string | number>(__VLS_props: NonNullable<Awa
15
15
  disabled?: boolean;
16
16
  disabledTooltip?: string;
17
17
  size?: "m" | "l";
18
+ isAlwaysExpanded?: boolean;
18
19
  columns?: number;
19
20
  changeLabel?: string;
20
21
  iconColor?: Color;
package/package.json CHANGED
@@ -1,79 +1,80 @@
1
- {
2
- "name": "cleek",
3
- "description": "Complete UX Vue library",
4
- "version": "2.11.43",
5
- "author": "Quantic Onion",
6
- "license": "MIT",
7
- "repository": "github:quantic-core/cleek",
8
- "type": "module",
9
- "files": [
10
- "dist"
11
- ],
12
- "main": "./dist/main.cjs.js",
13
- "module": "./dist/main.es.js",
14
- "exports": {
15
- ".": {
16
- "types": "./dist/types/main.d.ts",
17
- "import": "./dist/main.es.js",
18
- "require": "./dist/main.cjs.js"
19
- },
20
- "./main.css": "./dist/main.css",
21
- "./package.json": "./package.json"
22
- },
23
- "types": "./dist/types/main.d.ts",
24
- "scripts": {
25
- "typecheck": "vue-tsc --noEmit -p tsconfig.json --composite false",
26
- "build": "vite build",
27
- "build:full": "vite build && vue-tsc --declaration --emitDeclarationOnly",
28
- "analyze": "vite build --config analyze.config.js",
29
- "patch-publish": "npm run build && npm version patch && npm publish",
30
- "lint": "eslint --fix src",
31
- "stylelint": "stylelint . --fix --ignore-path .stylelintignore",
32
- "format": "prettier . --write",
33
- "deploy": "node deploy.js"
34
- },
35
- "dependencies": {
36
- "@fortawesome/fontawesome-svg-core": "^6.1.1",
37
- "@fortawesome/free-brands-svg-icons": "^6.1.1",
38
- "@fortawesome/free-regular-svg-icons": "^6.1.1",
39
- "@fortawesome/free-solid-svg-icons": "^6.1.1",
40
- "@fortawesome/vue-fontawesome": "^3.0.0-5",
41
- "@vuepic/vue-datepicker": "^3.5.3",
42
- "click-outside-vue3": "^4.0.1",
43
- "date-fns": "^2.30.0",
44
- "floating-vue": "^5.2.2",
45
- "mitt": "^3.0.0",
46
- "pinia": "^3.0.2",
47
- "tabbable": "^5.2.0",
48
- "tippy.js": "^6.3.1",
49
- "vue": "^3.5.12",
50
- "vue-perfect-scrollbar": "^0.2.1",
51
- "vue3-datepicker": "^0.4.0"
52
- },
53
- "devDependencies": {
54
- "@eslint/js": "^9.39.0",
55
- "@prettier/plugin-pug": "^3.4.2",
56
- "@types/node": "^20.14.9",
57
- "@vitejs/plugin-vue": "^5.2.4",
58
- "@vue/compiler-sfc": "^3.1.5",
59
- "@vue/eslint-config-typescript": "^14.9.0",
60
- "@vue/language-plugin-pug": "^1.8.15",
61
- "@vue/tsconfig": "^0.1.3",
62
- "eslint": "^9.39.0",
63
- "eslint-config-prettier": "^10.1.8",
64
- "eslint-plugin-vue": "^10.10.0",
65
- "prettier": "^3.6.2",
66
- "prettier-plugin-stylus": "^0.1.0",
67
- "pug": "^3.0.2",
68
- "pug-plain-loader": "^1.1.0",
69
- "rollup-plugin-visualizer": "^6.0.5",
70
- "stylelint": "^15.9.0",
71
- "stylelint-config-recommended": "^12.0.0",
72
- "stylelint-stylus": "^0.18.0",
73
- "stylus": "^0.59.0",
74
- "typescript": "^5.5.3",
75
- "vite": "^6.3.5",
76
- "vite-plugin-dts": "^4.5.4",
77
- "vue-tsc": "^2"
78
- }
79
- }
1
+ {
2
+ "name": "cleek",
3
+ "description": "Complete UX Vue library",
4
+ "version": "2.11.44",
5
+ "author": "Quantic Onion",
6
+ "license": "MIT",
7
+ "repository": "github:quantic-core/cleek",
8
+ "type": "module",
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "main": "./dist/main.cjs.js",
13
+ "module": "./dist/main.es.js",
14
+ "exports": {
15
+ ".": {
16
+ "types": "./dist/types/main.d.ts",
17
+ "import": "./dist/main.es.js",
18
+ "require": "./dist/main.cjs.js"
19
+ },
20
+ "./main.css": "./dist/main.css",
21
+ "./package.json": "./package.json"
22
+ },
23
+ "types": "./dist/types/main.d.ts",
24
+ "scripts": {
25
+ "typecheck": "vue-tsc --noEmit -p tsconfig.json --composite false",
26
+ "build": "vite build",
27
+ "build:full": "vite build && vue-tsc --declaration --emitDeclarationOnly",
28
+ "analyze": "vite build --config analyze.config.js",
29
+ "patch-publish": "npm run build && npm version patch && npm publish",
30
+ "lint": "eslint --fix src",
31
+ "stylelint": "stylelint . --fix --ignore-path .stylelintignore",
32
+ "format": "prettier . --write",
33
+ "deploy": "node deploy.js"
34
+ },
35
+ "dependencies": {
36
+ "@fortawesome/fontawesome-svg-core": "^6.1.1",
37
+ "@fortawesome/free-brands-svg-icons": "^6.1.1",
38
+ "@fortawesome/free-regular-svg-icons": "^6.1.1",
39
+ "@fortawesome/free-solid-svg-icons": "^6.1.1",
40
+ "@fortawesome/vue-fontawesome": "^3.0.0-5",
41
+ "@vuepic/vue-datepicker": "^3.5.3",
42
+ "click-outside-vue3": "^4.0.1",
43
+ "date-fns": "^2.30.0",
44
+ "floating-vue": "^5.2.2",
45
+ "mitt": "^3.0.0",
46
+ "pinia": "^3.0.2",
47
+ "tabbable": "^5.2.0",
48
+ "tippy.js": "^6.3.1",
49
+ "vue": "^3.5.12",
50
+ "vue-perfect-scrollbar": "^0.2.1",
51
+ "vue3-datepicker": "^0.4.0"
52
+ },
53
+ "devDependencies": {
54
+ "@eslint/js": "^9.39.0",
55
+ "@prettier/plugin-pug": "^3.4.2",
56
+ "@types/node": "^20.14.9",
57
+ "@vitejs/plugin-vue": "^5.2.4",
58
+ "@vue/compiler-sfc": "^3.1.5",
59
+ "@vue/eslint-config-typescript": "^14.9.0",
60
+ "@vue/language-plugin-pug": "^1.8.15",
61
+ "@vue/tsconfig": "^0.1.3",
62
+ "eslint": "^9.39.0",
63
+ "eslint-config-prettier": "^10.1.8",
64
+ "eslint-plugin-vue": "^10.10.0",
65
+ "prettier": "^3.6.2",
66
+ "prettier-plugin-stylus": "^0.1.0",
67
+ "pug": "^3.0.2",
68
+ "pug-plain-loader": "^1.1.0",
69
+ "rollup-plugin-visualizer": "^6.0.5",
70
+ "stylelint": "^15.9.0",
71
+ "stylelint-config-recommended": "^12.0.0",
72
+ "stylelint-stylus": "^0.18.0",
73
+ "stylus": "^0.59.0",
74
+ "typescript": "^5.5.3",
75
+ "ajv": "^8",
76
+ "vite": "^6.3.5",
77
+ "vite-plugin-dts": "^4.5.4",
78
+ "vue-tsc": "^2"
79
+ }
80
+ }