@kong/kongponents 9.9.2-pr.2427.dcfed96f2.0 → 9.10.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.
@@ -197,6 +197,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
197
197
  type: BooleanConstructor;
198
198
  default: boolean;
199
199
  };
200
+ /**
201
+ * Boolean prop to enable offset-based pagination
202
+ */
203
+ paginationOffset: {
204
+ type: BooleanConstructor;
205
+ default: boolean;
206
+ };
200
207
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
201
208
  "card-click": (item: CatalogItem) => any;
202
209
  "error-action-click": () => any;
@@ -377,6 +384,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
377
384
  type: BooleanConstructor;
378
385
  default: boolean;
379
386
  };
387
+ /**
388
+ * Boolean prop to enable offset-based pagination
389
+ */
390
+ paginationOffset: {
391
+ type: BooleanConstructor;
392
+ default: boolean;
393
+ };
380
394
  }>> & Readonly<{
381
395
  "onCard-click"?: ((item: CatalogItem) => any) | undefined;
382
396
  "onError-action-click"?: (() => any) | undefined;
@@ -412,6 +426,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
412
426
  disablePaginationPageJump: boolean;
413
427
  disablePagination: boolean;
414
428
  hidePaginationWhenOptional: boolean;
429
+ paginationOffset: boolean;
415
430
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
416
431
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
417
432
  export default _default;
@@ -508,6 +508,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
508
508
  disablePaginationPageJump: boolean;
509
509
  disablePagination: boolean;
510
510
  hidePaginationWhenOptional: boolean;
511
+ paginationOffset: boolean;
511
512
  resizeColumns: boolean;
512
513
  tablePreferences: TablePreferences;
513
514
  clientSort: boolean;
@@ -515,7 +516,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
515
516
  sortHandlerFunction: Function;
516
517
  rowAttrs: Function;
517
518
  cellAttrs: Function;
518
- paginationOffset: boolean;
519
519
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
520
520
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
521
521
  export default _default;
@@ -177,13 +177,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
177
177
  type: PropType<TableViewData>;
178
178
  default: () => never[];
179
179
  };
180
- /**
181
- * A prop to pass row object key to be used as a unique identifier
182
- */
183
- rowKey: {
184
- type: PropType<string | ((row: Record<string, any>) => string)>;
185
- default: string;
186
- };
187
180
  maxHeight: {
188
181
  type: StringConstructor;
189
182
  default: string;
@@ -361,13 +354,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
361
354
  type: PropType<TableViewData>;
362
355
  default: () => never[];
363
356
  };
364
- /**
365
- * A prop to pass row object key to be used as a unique identifier
366
- */
367
- rowKey: {
368
- type: PropType<string | ((row: Record<string, any>) => string)>;
369
- default: string;
370
- };
371
357
  maxHeight: {
372
358
  type: StringConstructor;
373
359
  default: string;
@@ -426,7 +412,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
426
412
  rowLink: (row: Record<string, any>) => RowLink;
427
413
  rowBulkActionEnabled: (row: Record<string, any>) => RowBulkAction;
428
414
  emptyStateButtonAppearance: ButtonAppearance;
429
- rowKey: string | ((row: Record<string, any>) => string);
430
415
  hidePagination: boolean;
431
416
  paginationAttributes: TablePaginationAttributes;
432
417
  rowExpandable: (row: Record<string, any>) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong/kongponents",
3
- "version": "9.9.2-pr.2427.dcfed96f2.0",
3
+ "version": "9.10.0",
4
4
  "description": "Kong Component library",
5
5
  "type": "module",
6
6
  "repository": {
@@ -25,6 +25,33 @@
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
+ },
28
55
  "dependencies": {
29
56
  "@floating-ui/vue": "^1.1.5",
30
57
  "@kong/icons": "^1.18.1",
@@ -152,6 +179,7 @@
152
179
  "engines": {
153
180
  "node": ">=v16.20.2 || >=18.12.1 || >=20.14.0"
154
181
  },
182
+ "packageManager": "pnpm@9.10.0",
155
183
  "volta": {
156
184
  "node": "20.17.0",
157
185
  "pnpm": "9.10.0"
@@ -165,32 +193,5 @@
165
193
  "jiraPrepend": "[",
166
194
  "jiraAppend": "]"
167
195
  }
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"
195
196
  }
196
- }
197
+ }