@kong/kongponents 9.14.21 → 9.14.22-pr.2534.cc5eaf6ea.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.
@@ -2,8 +2,12 @@ import type { PropType } from 'vue';
2
2
  import type { AlertAppearance } from '../../../types';
3
3
  declare function __VLS_template(): {
4
4
  slots: {
5
- icon?(_: {}): any;
6
- default?(_: {}): any;
5
+ icon?(_: {
6
+ mdcUnwrap: string;
7
+ }): any;
8
+ default?(_: {
9
+ mdcUnwrap: string;
10
+ }): any;
7
11
  };
8
12
  refs: {};
9
13
  attrs: Partial<{}>;
@@ -199,7 +199,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
199
199
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
200
200
  $slots: {
201
201
  icon?(_: {}): any;
202
- default?(_: {}): any;
202
+ default?(_: {
203
+ mdcUnwrap: string;
204
+ }): any;
203
205
  };
204
206
  });
205
207
  KTooltip: {
@@ -318,16 +320,23 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
318
320
  tooltipId: string;
319
321
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
320
322
  $slots: {
321
- default?(_: {}): any;
323
+ default?(_: {
324
+ mdcUnwrap: string;
325
+ }): any;
322
326
  default?(_: {}): any;
323
327
  content?(_: {
324
328
  label: string;
329
+ mdcUnwrap: string;
325
330
  }): any;
326
331
  };
327
332
  });
328
333
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
329
- icon?(_: {}): any;
330
- default?(_: {}): any;
334
+ icon?(_: {
335
+ mdcUnwrap: string;
336
+ }): any;
337
+ default?(_: {
338
+ mdcUnwrap: string;
339
+ }): any;
331
340
  }>;
332
341
  export default _default;
333
342
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -87,7 +87,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
87
87
  to: string | Record<string, any>;
88
88
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
89
89
  icon?(_: {}): any;
90
- default?(_: {}): any;
90
+ default?(_: {
91
+ mdcUnwrap: string;
92
+ }): any;
91
93
  }>;
92
94
  export default _default;
93
95
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -60,9 +60,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
60
60
  error: boolean;
61
61
  labelAttributes: LabelAttributes;
62
62
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
63
- default?(_: {}): any;
63
+ default?(_: {
64
+ mdcUnwrap: string;
65
+ }): any;
64
66
  tooltip?(_: {}): any;
65
- description?(_: {}): any;
67
+ description?(_: {
68
+ mdcUnwrap: string;
69
+ }): any;
66
70
  }>;
67
71
  export default _default;
68
72
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -2,7 +2,9 @@ import type { PropType } from 'vue';
2
2
  import type { CodeBlockEventData, Theme } from '../../../types';
3
3
  declare function __VLS_template(): {
4
4
  slots: {
5
- "secondary-actions"?(_: {}): any;
5
+ "secondary-actions"?(_: {
6
+ mdcUnwrap: string;
7
+ }): any;
6
8
  };
7
9
  refs: {
8
10
  codeBlock: HTMLDivElement;
@@ -102,7 +102,9 @@ declare function __VLS_template(): {
102
102
  };
103
103
  }>> & Readonly<{}>, "required" | "info" | "tooltipAttributes" | "help"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
104
104
  $slots: {
105
- default?(_: {}): any;
105
+ default?(_: {
106
+ mdcUnwrap: string;
107
+ }): any;
106
108
  tooltip?(_: {}): any;
107
109
  };
108
110
  }) | null;
@@ -296,8 +298,12 @@ declare function __VLS_template(): {
296
298
  }>, "label" | "type" | "error" | "help" | "modelValue" | "labelAttributes" | "errorMessage" | "characterLimit" | "hasError" | "showPasswordMaskToggle"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
297
299
  $slots: {
298
300
  "label-tooltip"?(_: {}): any;
299
- before?(_: {}): any;
300
- after?(_: {}): any;
301
+ before?(_: {
302
+ mdcUnwrap: string;
303
+ }): any;
304
+ after?(_: {
305
+ mdcUnwrap: string;
306
+ }): any;
301
307
  };
302
308
  }) | null;
303
309
  };
@@ -117,8 +117,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
117
117
  showPasswordMaskToggle: boolean;
118
118
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
119
119
  "label-tooltip"?(_: {}): any;
120
- before?(_: {}): any;
121
- after?(_: {}): any;
120
+ before?(_: {
121
+ mdcUnwrap: string;
122
+ }): any;
123
+ after?(_: {
124
+ mdcUnwrap: string;
125
+ }): any;
122
126
  }>;
123
127
  export default _default;
124
128
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -86,7 +86,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
86
86
  disabledTooltipText: string;
87
87
  labelBefore: boolean;
88
88
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
89
- label?(_: {}): any;
89
+ label?(_: {
90
+ mdcUnwrap: string;
91
+ }): any;
90
92
  }>;
91
93
  export default _default;
92
94
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -2,7 +2,9 @@ import type { PropType } from 'vue';
2
2
  import type { TooltipAttributes } from '../../../types';
3
3
  declare function __VLS_template(): {
4
4
  slots: {
5
- default?(_: {}): any;
5
+ default?(_: {
6
+ mdcUnwrap: string;
7
+ }): any;
6
8
  tooltip?(_: {}): any;
7
9
  };
8
10
  refs: {};
@@ -134,11 +134,19 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
134
134
  cardRadioVisible: boolean;
135
135
  cardOrientation: "horizontal" | "vertical";
136
136
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
137
- default?(_: {}): any;
138
- default?(_: {}): any;
137
+ default?(_: {
138
+ mdcUnwrap: string;
139
+ }): any;
140
+ default?(_: {
141
+ mdcUnwrap: string;
142
+ }): any;
139
143
  tooltip?(_: {}): any;
140
- description?(_: {}): any;
141
- description?(_: {}): any;
144
+ description?(_: {
145
+ mdcUnwrap: string;
146
+ }): any;
147
+ description?(_: {
148
+ mdcUnwrap: string;
149
+ }): any;
142
150
  }>;
143
151
  export default _default;
144
152
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -49,6 +49,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
49
49
  disabled: boolean;
50
50
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
51
51
  "option-label"?(_: {
52
+ mdcUnwrap: string;
52
53
  option: {
53
54
  label?: string | undefined;
54
55
  value: string | number;
@@ -134,7 +134,9 @@ declare function __VLS_template(): {
134
134
  };
135
135
  }>> & Readonly<{}>, "required" | "info" | "tooltipAttributes" | "help"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
136
136
  $slots: {
137
- default?(_: {}): any;
137
+ default?(_: {
138
+ mdcUnwrap: string;
139
+ }): any;
138
140
  tooltip?(_: {}): any;
139
141
  };
140
142
  }) | null;
@@ -586,8 +588,12 @@ declare function __VLS_template(): {
586
588
  }>, "label" | "type" | "error" | "help" | "modelValue" | "labelAttributes" | "errorMessage" | "characterLimit" | "hasError" | "showPasswordMaskToggle"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
587
589
  $slots: {
588
590
  "label-tooltip"?(_: {}): any;
589
- before?(_: {}): any;
590
- after?(_: {}): any;
591
+ before?(_: {
592
+ mdcUnwrap: string;
593
+ }): any;
594
+ after?(_: {
595
+ mdcUnwrap: string;
596
+ }): any;
591
597
  };
592
598
  }) | null;
593
599
  kSelectItems: ({
@@ -2,10 +2,13 @@ import type { PropType } from 'vue';
2
2
  import type { PopPlacements } from '../../../types';
3
3
  declare function __VLS_template(): {
4
4
  slots: {
5
- default?(_: {}): any;
5
+ default?(_: {
6
+ mdcUnwrap: string;
7
+ }): any;
6
8
  default?(_: {}): any;
7
9
  content?(_: {
8
10
  label: string;
11
+ mdcUnwrap: string;
9
12
  }): any;
10
13
  };
11
14
  refs: {};
@@ -2,17 +2,23 @@ declare function __VLS_template(): {
2
2
  slots: {
3
3
  "expand-trigger"?(_: {
4
4
  expand: () => Promise<void>;
5
+ mdcUnwrap: string;
5
6
  truncatedCount: number;
6
7
  }): any;
7
8
  "expand-trigger"?(_: {
8
9
  expand: () => Promise<void>;
10
+ mdcUnwrap: string;
11
+ }): any;
12
+ default?(_: {
13
+ mdcUnwrap: string;
9
14
  }): any;
10
- default?(_: {}): any;
11
15
  "collapse-trigger"?(_: {
12
16
  collapse: () => Promise<void>;
17
+ mdcUnwrap: string;
13
18
  }): any;
14
19
  "collapse-trigger"?(_: {
15
20
  collapse: () => Promise<void>;
21
+ mdcUnwrap: string;
16
22
  }): any;
17
23
  };
18
24
  refs: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong/kongponents",
3
- "version": "9.14.21",
3
+ "version": "9.14.22-pr.2534.cc5eaf6ea.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
+ }