@kong/kongponents 9.14.1 → 9.14.2-pr.2490.2e127613e.0

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.
@@ -62,8 +62,8 @@ declare const __VLS_component: import("vue").DefineComponent<TableDataProps, {},
62
62
  resizeColumns: boolean;
63
63
  tablePreferences: TablePreferences;
64
64
  rowHover: boolean;
65
- rowAttrs: (row: Record<string, any>) => Record<string, string>;
66
- cellAttrs: (param: import("../../../types").CellAttrsParam) => Record<string, string>;
65
+ rowAttrs: (row: Record<string, any>) => Record<string, any>;
66
+ cellAttrs: (param: import("../../../types").CellAttrsParam) => Record<string, any>;
67
67
  rowLink: (row: Record<string, any>) => RowLink;
68
68
  rowBulkActionEnabled: (row: Record<string, any>) => import("../../../types").RowBulkAction;
69
69
  rowKey: string | ((row: Record<string, any>) => string);
@@ -57,8 +57,8 @@ declare const __VLS_component: import("vue").DefineComponent<TableViewProps, {},
57
57
  resizeColumns: boolean;
58
58
  tablePreferences: TablePreferences;
59
59
  rowHover: boolean;
60
- rowAttrs: (row: Record<string, any>) => Record<string, string>;
61
- cellAttrs: (param: import("../../../types").CellAttrsParam) => Record<string, string>;
60
+ rowAttrs: (row: Record<string, any>) => Record<string, any>;
61
+ cellAttrs: (param: import("../../../types").CellAttrsParam) => Record<string, any>;
62
62
  rowLink: (row: Record<string, any>) => RowLink;
63
63
  rowBulkActionEnabled: (row: Record<string, any>) => import("../../../types").RowBulkAction;
64
64
  rowKey: string | ((row: Record<string, any>) => string);
@@ -125,7 +125,7 @@ interface TablePropsShared {
125
125
  /**
126
126
  * A function that conditionally specifies row attributes on each row
127
127
  */
128
- rowAttrs?: (row: Record<string, any>) => Record<string, string>;
128
+ rowAttrs?: (row: Record<string, any>) => Record<string, any>;
129
129
  /**
130
130
  * A function that conditionally turns a row into a link
131
131
  */
@@ -141,7 +141,7 @@ interface TablePropsShared {
141
141
  /**
142
142
  * A function that conditionally specifies cell attributes
143
143
  */
144
- cellAttrs?: (param: CellAttrsParam) => Record<string, string>;
144
+ cellAttrs?: (param: CellAttrsParam) => Record<string, any>;
145
145
  /**
146
146
  * A prop that enables a loading skeleton
147
147
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong/kongponents",
3
- "version": "9.14.1",
3
+ "version": "9.14.2-pr.2490.2e127613e.0",
4
4
  "description": "Kong Component library",
5
5
  "type": "module",
6
6
  "repository": {
@@ -25,33 +25,6 @@
25
25
  "./package.json": "./package.json",
26
26
  "./dist/*": "./dist/*"
27
27
  },
28
- "scripts": {
29
- "build:cli": "rimraf ./bin && tsc --project ./cli/tsconfig.json && chmod u+x ./bin/index.js",
30
- "build:docs": "vitepress build docs",
31
- "build:kongponents": "pnpm typecheck && vite build && vue-tsc -p './tsconfig.build.json' --emitDeclarationOnly && tsc-alias -p './tsconfig.build.json'",
32
- "build:visualize": "cross-env-shell BUILD_VISUALIZER=true vite build -m production",
33
- "build": "pnpm build:cli && pnpm stylelint && pnpm lint && pnpm build:kongponents && pnpm build:docs",
34
- "build:ci": "pnpm build:kongponents && pnpm build:docs",
35
- "commit": "cz",
36
- "create-kongponent": "node ./bin/index.js",
37
- "sandbox:dev": "cross-env USE_SANDBOX=true vite",
38
- "sandbox:build": "cross-env USE_SANDBOX=true vite build && shx cp sandbox/dist/index.html sandbox/dist/404.html",
39
- "sandbox:build:netlify": "cross-env USE_SANDBOX=true USE_NETLIFY=true vite build && shx cp sandbox/dist/index.html sandbox/dist/404.html",
40
- "sandbox:preview": "cross-env USE_SANDBOX=true vite preview",
41
- "docs:build": "vitepress build docs",
42
- "docs:dev": "vitepress dev docs",
43
- "docs:serve": "vitepress serve docs",
44
- "docs:preview": "vitepress preview docs --port 8080",
45
- "typecheck": "vue-tsc -p './tsconfig.build.json' --noEmit",
46
- "lint": "eslint",
47
- "lint:fix": "eslint --fix",
48
- "stylelint": "stylelint './src/**/*.{css,scss,sass,vue}'",
49
- "stylelint:fix": "stylelint './src/**/*.{css,scss,sass,vue}' --fix",
50
- "test": "cypress run --component -b chrome",
51
- "test:open": "cypress open --component -b chrome",
52
- "test:spec": "cypress run --component -b chrome --spec",
53
- "semantic-release": "semantic-release"
54
- },
55
28
  "dependencies": {
56
29
  "@floating-ui/vue": "^1.1.5",
57
30
  "@kong/icons": "^1.18.1",
@@ -179,7 +152,6 @@
179
152
  "engines": {
180
153
  "node": ">=v16.20.2 || >=18.12.1 || >=20.14.0"
181
154
  },
182
- "packageManager": "pnpm@9.11.0",
183
155
  "volta": {
184
156
  "node": "20.17.0",
185
157
  "pnpm": "9.11.0"
@@ -193,5 +165,32 @@
193
165
  "jiraPrepend": "[",
194
166
  "jiraAppend": "]"
195
167
  }
168
+ },
169
+ "scripts": {
170
+ "build:cli": "rimraf ./bin && tsc --project ./cli/tsconfig.json && chmod u+x ./bin/index.js",
171
+ "build:docs": "vitepress build docs",
172
+ "build:kongponents": "pnpm typecheck && vite build && vue-tsc -p './tsconfig.build.json' --emitDeclarationOnly && tsc-alias -p './tsconfig.build.json'",
173
+ "build:visualize": "cross-env-shell BUILD_VISUALIZER=true vite build -m production",
174
+ "build": "pnpm build:cli && pnpm stylelint && pnpm lint && pnpm build:kongponents && pnpm build:docs",
175
+ "build:ci": "pnpm build:kongponents && pnpm build:docs",
176
+ "commit": "cz",
177
+ "create-kongponent": "node ./bin/index.js",
178
+ "sandbox:dev": "cross-env USE_SANDBOX=true vite",
179
+ "sandbox:build": "cross-env USE_SANDBOX=true vite build && shx cp sandbox/dist/index.html sandbox/dist/404.html",
180
+ "sandbox:build:netlify": "cross-env USE_SANDBOX=true USE_NETLIFY=true vite build && shx cp sandbox/dist/index.html sandbox/dist/404.html",
181
+ "sandbox:preview": "cross-env USE_SANDBOX=true vite preview",
182
+ "docs:build": "vitepress build docs",
183
+ "docs:dev": "vitepress dev docs",
184
+ "docs:serve": "vitepress serve docs",
185
+ "docs:preview": "vitepress preview docs --port 8080",
186
+ "typecheck": "vue-tsc -p './tsconfig.build.json' --noEmit",
187
+ "lint": "eslint",
188
+ "lint:fix": "eslint --fix",
189
+ "stylelint": "stylelint './src/**/*.{css,scss,sass,vue}'",
190
+ "stylelint:fix": "stylelint './src/**/*.{css,scss,sass,vue}' --fix",
191
+ "test": "cypress run --component -b chrome",
192
+ "test:open": "cypress open --component -b chrome",
193
+ "test:spec": "cypress run --component -b chrome --spec",
194
+ "semantic-release": "semantic-release"
196
195
  }
197
- }
196
+ }