cleek 3.0.1 → 3.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.
Files changed (36) 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 +2441 -2431
  28. package/dist/types/components/ck-select.vue.d.ts +1 -23
  29. package/dist/types/components/ck-skeleton.vue.d.ts +11 -0
  30. package/dist/types/components/ck-table/ck-table.vue.d.ts +0 -1
  31. package/dist/types/components/ck-table/inner-components/ck-table__select-dropdown.vue.d.ts +0 -1
  32. package/dist/types/components/ck-table/{loading-and-no-results-text/LoadingAndNoResultsText.vue.d.ts → no-results-text/NoResultsText.vue.d.ts} +0 -3
  33. package/dist/types/components/ck-tile-picker.vue.d.ts +0 -1
  34. package/dist/types/components/index.d.ts +2 -0
  35. package/dist/types/composables/use-delayed-loading.composable.d.ts +3 -0
  36. package/package.json +80 -80
@@ -43,23 +43,7 @@ declare function blur(): void;
43
43
  type __VLS_PublicProps = {
44
44
  modelValue: OptionValue;
45
45
  } & __VLS_Props;
46
- declare function __VLS_template(): {
47
- attrs: Partial<{}>;
48
- slots: {
49
- prefix?(_: {}): any;
50
- option?(_: {
51
- option: any;
52
- isSelected: boolean;
53
- }): any;
54
- };
55
- refs: {
56
- inputRef: HTMLInputElement;
57
- dropdownRef: HTMLUListElement;
58
- };
59
- rootEl: HTMLDivElement;
60
- };
61
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
62
- declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
46
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
63
47
  focus: typeof focus;
64
48
  blur: typeof blur;
65
49
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -82,10 +66,4 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
82
66
  inputRef: HTMLInputElement;
83
67
  dropdownRef: HTMLUListElement;
84
68
  }, HTMLDivElement>;
85
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
86
69
  export default _default;
87
- type __VLS_WithTemplateSlots<T, S> = T & {
88
- new (): {
89
- $slots: S;
90
- };
91
- };
@@ -0,0 +1,11 @@
1
+ type __VLS_Props = {
2
+ width?: string;
3
+ height?: string;
4
+ radius?: string;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
+ width: string;
8
+ height: string;
9
+ radius: string;
10
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
11
+ export default _default;
@@ -17,7 +17,6 @@ type __VLS_Props = {
17
17
  listLength?: number;
18
18
  search?: string;
19
19
  searchPlaceholder?: string;
20
- loadingText?: string;
21
20
  isLoading?: boolean;
22
21
  hideHeaderActions?: boolean;
23
22
  hideRefreshBtn?: boolean;
@@ -5,7 +5,6 @@ type __VLS_Props = {
5
5
  listLength?: number;
6
6
  isSelectionFiltered?: boolean;
7
7
  itemsLabel?: string;
8
- variant?: 'checkbox' | 'pill';
9
8
  };
10
9
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
11
10
  selectPage: () => any;
@@ -1,7 +1,4 @@
1
1
  type __VLS_Props = {
2
- listLength?: number;
3
- isLoading?: boolean;
4
- loadingText?: string;
5
2
  noResultsText?: string;
6
3
  };
7
4
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -15,7 +15,6 @@ 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;
19
18
  columns?: number;
20
19
  changeLabel?: string;
21
20
  iconColor?: Color;
@@ -30,6 +30,7 @@ export { default as CkPopup } from './ck-popup.vue';
30
30
  export { default as CkRadio } from './ck-radio.vue';
31
31
  export { default as CkSelect } from './ck-select.vue';
32
32
  export { default as CkSidebar } from './ck-sidebar.vue';
33
+ export { default as CkSkeleton } from './ck-skeleton.vue';
33
34
  export { default as CkSwitch } from './ck-switch.vue';
34
35
  export { default as CkSwitchOptions } from './ck-switch-options.vue';
35
36
  export { default as CkTextarea } from './ck-textarea.vue';
@@ -44,6 +45,7 @@ export declare class TableData {
44
45
  itemsPerPage: number;
45
46
  isLoading: boolean;
46
47
  isEmpty: boolean;
48
+ hasLoadedOnce: boolean;
47
49
  sortBy: TableSort | null;
48
50
  constructor(itemsPerPage: number);
49
51
  }
@@ -0,0 +1,3 @@
1
+ export declare function useDelayedLoading(isLoading: () => boolean | undefined): {
2
+ isDisplayingLoading: import('vue').Ref<boolean, boolean>;
3
+ };
package/package.json CHANGED
@@ -1,80 +1,80 @@
1
- {
2
- "name": "cleek",
3
- "description": "Complete UX Vue library",
4
- "version": "3.0.1",
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
- "ajv": "^8",
63
- "eslint": "^9.39.0",
64
- "eslint-config-prettier": "^10.1.8",
65
- "eslint-plugin-vue": "^10.10.0",
66
- "prettier": "^3.6.2",
67
- "prettier-plugin-stylus": "^0.1.0",
68
- "pug": "^3.0.2",
69
- "pug-plain-loader": "^1.1.0",
70
- "rollup-plugin-visualizer": "^6.0.5",
71
- "stylelint": "^15.9.0",
72
- "stylelint-config-recommended": "^12.0.0",
73
- "stylelint-stylus": "^0.18.0",
74
- "stylus": "^0.59.0",
75
- "typescript": "^5.5.3",
76
- "vite": "^6.3.5",
77
- "vite-plugin-dts": "^4.5.4",
78
- "vue-tsc": "^2"
79
- }
80
- }
1
+ {
2
+ "name": "cleek",
3
+ "description": "Complete UX Vue library",
4
+ "version": "3.0.2",
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
+ "ajv": "^8",
63
+ "eslint": "^9.39.0",
64
+ "eslint-config-prettier": "^10.1.8",
65
+ "eslint-plugin-vue": "^10.10.0",
66
+ "prettier": "^3.6.2",
67
+ "prettier-plugin-stylus": "^0.1.0",
68
+ "pug": "^3.0.2",
69
+ "pug-plain-loader": "^1.1.0",
70
+ "rollup-plugin-visualizer": "^6.0.5",
71
+ "stylelint": "^15.9.0",
72
+ "stylelint-config-recommended": "^12.0.0",
73
+ "stylelint-stylus": "^0.18.0",
74
+ "stylus": "^0.59.0",
75
+ "typescript": "^5.5.3",
76
+ "vite": "^6.3.5",
77
+ "vite-plugin-dts": "^4.5.4",
78
+ "vue-tsc": "^2"
79
+ }
80
+ }