cleek 3.0.6 → 3.0.7

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 (32) 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 +1422 -1426
  28. package/dist/types/components/ck-table/ck-table.vue.d.ts +3 -3
  29. package/dist/types/components/ck-table/ck-th.vue.d.ts +1 -1
  30. package/dist/types/components/index.d.ts +1 -1
  31. package/dist/types/types/table.d.ts +2 -2
  32. package/package.json +80 -80
@@ -39,7 +39,7 @@ type __VLS_Props = {
39
39
  type __VLS_PublicProps = {
40
40
  'selectedRows'?: SelectedRows;
41
41
  'expandedRows'?: TableRowId[];
42
- 'sortBy'?: TableSort | null;
42
+ 'sort'?: TableSort | null;
43
43
  'selectedColumnViewId'?: string | null;
44
44
  } & __VLS_Props;
45
45
  declare function __VLS_template(): {
@@ -73,7 +73,7 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
73
73
  declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
74
74
  "update:selectedRows": (value: SelectedRows) => any;
75
75
  "update:expandedRows": (value: TableRowId[]) => any;
76
- "update:sortBy": (value: TableSort) => any;
76
+ "update:sort": (value: TableSort) => any;
77
77
  "update:selectedColumnViewId": (value: string) => any;
78
78
  } & {
79
79
  refreshList: (pageChange: boolean) => any;
@@ -91,7 +91,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
91
91
  onColumnViewColumnsChanged?: (columnNames: string[]) => any;
92
92
  "onUpdate:selectedRows"?: (value: SelectedRows) => any;
93
93
  "onUpdate:expandedRows"?: (value: TableRowId[]) => any;
94
- "onUpdate:sortBy"?: (value: TableSort) => any;
94
+ "onUpdate:sort"?: (value: TableSort) => any;
95
95
  "onUpdate:selectedColumnViewId"?: (value: string) => any;
96
96
  }>, {
97
97
  darkMode: boolean;
@@ -5,7 +5,7 @@ type __VLS_Props = {
5
5
  minWidth: string;
6
6
  textColor?: Color;
7
7
  backgroundColor?: Color;
8
- sortable?: boolean;
8
+ isSortable?: boolean;
9
9
  sortDirection?: TableSortDirection | null;
10
10
  };
11
11
  declare function __VLS_template(): {
@@ -46,7 +46,7 @@ export declare class TableData {
46
46
  isLoading: boolean;
47
47
  isEmpty: boolean;
48
48
  hasLoadedOnce: boolean;
49
- sortBy: TableSort | null;
49
+ sort: TableSort | null;
50
50
  constructor(itemsPerPage: number);
51
51
  }
52
52
  type RowId = number;
@@ -6,7 +6,7 @@ export type ColumnItem = {
6
6
  unchangeable: boolean;
7
7
  isDisplayed: boolean;
8
8
  neverDisplay?: boolean;
9
- sortable?: boolean;
9
+ sortKey?: string;
10
10
  nowrap?: boolean;
11
11
  block?: boolean;
12
12
  overflowAuto?: boolean;
@@ -26,7 +26,7 @@ export type TableColumnView = {
26
26
  export type TableRowId = string | number;
27
27
  export type TableSortDirection = 'asc' | 'desc';
28
28
  export type TableSort = {
29
- column: string;
29
+ key: string;
30
30
  direction: TableSortDirection;
31
31
  };
32
32
  export type TableExpandMode = 'single' | 'multiple';
package/package.json CHANGED
@@ -1,80 +1,80 @@
1
- {
2
- "name": "cleek",
3
- "description": "Complete UX Vue library",
4
- "version": "3.0.6",
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.7",
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
+ }