cleek 2.10.75 → 2.10.76

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.
@@ -29,6 +29,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
29
29
  switchSide: {
30
30
  type: import('vue').PropType<"left" | "right">;
31
31
  };
32
+ color: {
33
+ type: import('vue').PropType<"primary" | "secondary" | "success" | "warning" | "danger" | "envi-primary" | "envi-secondary">;
34
+ };
32
35
  icon: {
33
36
  type: import('vue').PropType<Icon>;
34
37
  };
@@ -63,6 +66,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
63
66
  switchSide: {
64
67
  type: import('vue').PropType<"left" | "right">;
65
68
  };
69
+ color: {
70
+ type: import('vue').PropType<"primary" | "secondary" | "success" | "warning" | "danger" | "envi-primary" | "envi-secondary">;
71
+ };
66
72
  icon: {
67
73
  type: import('vue').PropType<Icon>;
68
74
  };
@@ -3,9 +3,13 @@ declare function __VLS_template(): {
3
3
  };
4
4
  declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
5
  type?: "outlined" | "flat";
6
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ tabSelected: (index: number) => void;
8
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
9
  type?: "outlined" | "flat";
8
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
10
+ }>>> & Readonly<{
11
+ onTabSelected?: (index: number) => any;
12
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
9
13
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
10
14
  export default _default;
11
15
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,13 +1,18 @@
1
1
  import { Layout, Align } from '../../cleek-options/cleek-options.types';
2
2
 
3
- type Option = any;
3
+ type Option = {
4
+ id: any;
5
+ name: string | number;
6
+ icon?: string;
7
+ };
8
+ type OptionValue = Option['id'];
4
9
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
10
  modelValue: {
6
11
  required: true;
7
- type: import('vue').PropType<Option>;
12
+ type: import('vue').PropType<OptionValue | OptionValue[]>;
8
13
  };
9
14
  options: {
10
- type: import('vue').PropType<any[]>;
15
+ type: import('vue').PropType<Option[]>;
11
16
  required: true;
12
17
  };
13
18
  layout: {
@@ -22,15 +27,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
22
27
  gap: {
23
28
  type: import('vue').PropType<string>;
24
29
  };
30
+ multipleSelection: {
31
+ type: import('vue').PropType<boolean>;
32
+ };
25
33
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
34
  change: () => void;
27
35
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
28
36
  modelValue: {
29
37
  required: true;
30
- type: import('vue').PropType<Option>;
38
+ type: import('vue').PropType<OptionValue | OptionValue[]>;
31
39
  };
32
40
  options: {
33
- type: import('vue').PropType<any[]>;
41
+ type: import('vue').PropType<Option[]>;
34
42
  required: true;
35
43
  };
36
44
  layout: {
@@ -45,6 +53,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
45
53
  gap: {
46
54
  type: import('vue').PropType<string>;
47
55
  };
56
+ multipleSelection: {
57
+ type: import('vue').PropType<boolean>;
58
+ };
48
59
  }>> & Readonly<{
49
60
  onChange?: () => any;
50
61
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
package/package.json CHANGED
@@ -1,85 +1,85 @@
1
- {
2
- "name": "cleek",
3
- "description": "Complete UX Vue library",
4
- "version": "2.10.75",
5
- "author": "Quantic Onion",
6
- "license": "MIT",
7
- "repository": "",
8
- "type": "module",
9
- "files": [
10
- "dist"
11
- ],
12
- "main": "./dist/main.cjs.js",
13
- "module": "./dist/main.es.js",
14
- "exports": {
15
- ".": {
16
- "require": "./dist/main.cjs.js",
17
- "import": "./dist/main.es.js",
18
- "types": "./dist/types/main.d.ts"
19
- },
20
- "./main.css": "./dist/main.css",
21
- "./package.json": "./package.json"
22
- },
23
- "types": "./dist/types/main.d.ts",
24
- "scripts": {
25
- "dev": "vitepress dev docs",
26
- "typecheck": "vue-tsc --noEmit -p tsconfig.json --composite false",
27
- "build": "vite build",
28
- "build:full": "vite build && vue-tsc --declaration --emitDeclarationOnly",
29
- "build:docs": "vitepress build docs",
30
- "serve": "vitepress serve docs",
31
- "analyze": "vite build --config analyze.config.js",
32
- "patch-publish": "npm run build && npm version patch && npm publish",
33
- "lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src",
34
- "stylelint": "stylelint . --fix --ignore-path .stylelintignore",
35
- "format": "prettier . --write",
36
- "deploy": "node deploy.js"
37
- },
38
- "dependencies": {
39
- "@fortawesome/fontawesome-svg-core": "^6.1.1",
40
- "@fortawesome/free-brands-svg-icons": "^6.1.1",
41
- "@fortawesome/free-regular-svg-icons": "^6.1.1",
42
- "@fortawesome/free-solid-svg-icons": "^6.1.1",
43
- "@fortawesome/vue-fontawesome": "^3.0.0-5",
44
- "@vuepic/vue-datepicker": "^3.5.3",
45
- "click-outside-vue3": "^4.0.1",
46
- "floating-vue": "^5.2.2",
47
- "mitt": "^3.0.0",
48
- "pinia": "^3.0.2",
49
- "pinia-plugin-persistedstate": "^3.2.1",
50
- "quantic-methods": "1.6.70",
51
- "tabbable": "^5.2.0",
52
- "tippy.js": "^6.3.1",
53
- "vue": "^3.5.12",
54
- "vue-perfect-scrollbar": "^0.2.1",
55
- "vue3-datepicker": "^0.4.0"
56
- },
57
- "devDependencies": {
58
- "@prettier/plugin-pug": "^2.5.1",
59
- "@types/node": "^20.14.9",
60
- "@vitejs/plugin-vue": "^4.2.3",
61
- "@vue/compiler-sfc": "^3.1.5",
62
- "@vue/eslint-config-prettier": "^7.1.0",
63
- "@vue/eslint-config-typescript": "^11.0.3",
64
- "@vue/language-plugin-pug": "^1.8.15",
65
- "@vue/tsconfig": "^0.1.3",
66
- "eslint": "^7.31.0",
67
- "eslint-config-prettier": "^8.3.0",
68
- "eslint-plugin-vue": "^7.14.0",
69
- "prettier": "^2.3.2",
70
- "prettier-plugin-stylus": "^0.1.0",
71
- "pug": "^3.0.2",
72
- "pug-plain-loader": "^1.1.0",
73
- "rollup-plugin-visualizer": "^6.0.5",
74
- "stylelint": "^15.9.0",
75
- "stylelint-config-prettier": "^9.0.5",
76
- "stylelint-config-recommended": "^12.0.0",
77
- "stylelint-stylus": "^0.18.0",
78
- "stylus": "^0.59.0",
79
- "typescript": "^5.5.3",
80
- "vite": "^4.3.9",
81
- "vite-plugin-dts": "^3.9.1",
82
- "vitepress": "^0.21.4",
83
- "vue-tsc": "^0.38.2"
84
- }
85
- }
1
+ {
2
+ "name": "cleek",
3
+ "description": "Complete UX Vue library",
4
+ "version": "2.10.76",
5
+ "author": "Quantic Onion",
6
+ "license": "MIT",
7
+ "repository": "",
8
+ "type": "module",
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "main": "./dist/main.cjs.js",
13
+ "module": "./dist/main.es.js",
14
+ "exports": {
15
+ ".": {
16
+ "require": "./dist/main.cjs.js",
17
+ "import": "./dist/main.es.js",
18
+ "types": "./dist/types/main.d.ts"
19
+ },
20
+ "./main.css": "./dist/main.css",
21
+ "./package.json": "./package.json"
22
+ },
23
+ "types": "./dist/types/main.d.ts",
24
+ "scripts": {
25
+ "dev": "vitepress dev docs",
26
+ "typecheck": "vue-tsc --noEmit -p tsconfig.json --composite false",
27
+ "build": "vite build",
28
+ "build:full": "vite build && vue-tsc --declaration --emitDeclarationOnly",
29
+ "build:docs": "vitepress build docs",
30
+ "serve": "vitepress serve docs",
31
+ "analyze": "vite build --config analyze.config.js",
32
+ "patch-publish": "npm run build && npm version patch && npm publish",
33
+ "lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src",
34
+ "stylelint": "stylelint . --fix --ignore-path .stylelintignore",
35
+ "format": "prettier . --write",
36
+ "deploy": "node deploy.js"
37
+ },
38
+ "dependencies": {
39
+ "@fortawesome/fontawesome-svg-core": "^6.1.1",
40
+ "@fortawesome/free-brands-svg-icons": "^6.1.1",
41
+ "@fortawesome/free-regular-svg-icons": "^6.1.1",
42
+ "@fortawesome/free-solid-svg-icons": "^6.1.1",
43
+ "@fortawesome/vue-fontawesome": "^3.0.0-5",
44
+ "@vuepic/vue-datepicker": "^3.5.3",
45
+ "click-outside-vue3": "^4.0.1",
46
+ "floating-vue": "^5.2.2",
47
+ "mitt": "^3.0.0",
48
+ "pinia": "^3.0.2",
49
+ "pinia-plugin-persistedstate": "^3.2.1",
50
+ "quantic-methods": "1.6.70",
51
+ "tabbable": "^5.2.0",
52
+ "tippy.js": "^6.3.1",
53
+ "vue": "^3.5.12",
54
+ "vue-perfect-scrollbar": "^0.2.1",
55
+ "vue3-datepicker": "^0.4.0"
56
+ },
57
+ "devDependencies": {
58
+ "@prettier/plugin-pug": "^2.5.1",
59
+ "@types/node": "^20.14.9",
60
+ "@vitejs/plugin-vue": "^4.2.3",
61
+ "@vue/compiler-sfc": "^3.1.5",
62
+ "@vue/eslint-config-prettier": "^7.1.0",
63
+ "@vue/eslint-config-typescript": "^11.0.3",
64
+ "@vue/language-plugin-pug": "^1.8.15",
65
+ "@vue/tsconfig": "^0.1.3",
66
+ "eslint": "^7.31.0",
67
+ "eslint-config-prettier": "^8.3.0",
68
+ "eslint-plugin-vue": "^7.14.0",
69
+ "prettier": "^2.3.2",
70
+ "prettier-plugin-stylus": "^0.1.0",
71
+ "pug": "^3.0.2",
72
+ "pug-plain-loader": "^1.1.0",
73
+ "rollup-plugin-visualizer": "^6.0.5",
74
+ "stylelint": "^15.9.0",
75
+ "stylelint-config-prettier": "^9.0.5",
76
+ "stylelint-config-recommended": "^12.0.0",
77
+ "stylelint-stylus": "^0.18.0",
78
+ "stylus": "^0.59.0",
79
+ "typescript": "^5.5.3",
80
+ "vite": "^4.3.9",
81
+ "vite-plugin-dts": "^3.9.1",
82
+ "vitepress": "^0.21.4",
83
+ "vue-tsc": "^0.38.2"
84
+ }
85
+ }