@fkui/vue-labs 6.2.0 → 6.3.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.
@@ -0,0 +1,30 @@
1
+ declare interface BasePageObject {
2
+ /**
3
+ * The selector that is used.
4
+ */
5
+ selector: string;
6
+ /**
7
+ * The element.
8
+ */
9
+ el: () => DefaultCypressChainable;
10
+ }
11
+
12
+ declare type DefaultCypressChainable = Cypress.Chainable<JQuery<HTMLElement>>;
13
+
14
+ /**
15
+ * @public
16
+ */
17
+ export declare class XDummyPageObject implements BasePageObject {
18
+ selector: string;
19
+ el: () => DefaultCypressChainable;
20
+ /**
21
+ * @param selector - the root of the label, usually `<label class="label">...</label>`.
22
+ */
23
+ constructor(selector: string);
24
+ /**
25
+ * Heading
26
+ */
27
+ heading(): DefaultCypressChainable;
28
+ }
29
+
30
+ export { }
@@ -143,7 +143,7 @@ required: false;
143
143
  default: boolean;
144
144
  };
145
145
  modelValue: {
146
- type: (StringConstructor | NumberConstructor)[];
146
+ type: (StringConstructor | NumberConstructor | null)[];
147
147
  required: false;
148
148
  default: string;
149
149
  };
@@ -241,7 +241,7 @@ required: false;
241
241
  default: boolean;
242
242
  };
243
243
  modelValue: {
244
- type: (StringConstructor | NumberConstructor)[];
244
+ type: (StringConstructor | NumberConstructor | null)[];
245
245
  required: false;
246
246
  default: string;
247
247
  };
@@ -287,7 +287,7 @@ onChange?: ((...args: any[]) => any) | undefined;
287
287
  }>, {
288
288
  type: string;
289
289
  id: string;
290
- modelValue: string | number;
290
+ modelValue: string | number | null;
291
291
  inline: boolean;
292
292
  disabled: boolean;
293
293
  options: string[] | undefined;
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.50.1"
8
+ "packageVersion": "7.51.1"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@fkui/vue-labs",
3
- "version": "6.2.0",
3
+ "version": "6.3.0",
4
4
  "description": "Experimental and unstable FKUI components",
5
5
  "keywords": [
6
6
  "fkui",
7
7
  "designsystem",
8
8
  "vue"
9
9
  ],
10
- "homepage": "https://forsakringskassan.github.io/designsystem/",
10
+ "homepage": "https://designsystem.forsakringskassan.se/",
11
11
  "bugs": "https://github.com/Forsakringskassan/designsystem/issues",
12
12
  "repository": {
13
13
  "type": "git",
@@ -22,7 +22,11 @@
22
22
  "require": "./dist/cjs/index.cjs.js",
23
23
  "import": "./dist/esm/index.esm.js"
24
24
  },
25
- "./pageobject/*": "./pageobject/*",
25
+ "./cypress": {
26
+ "types": "./dist/types/cypress.d.ts",
27
+ "require": "./dist/cjs/cypress.cjs.js",
28
+ "import": "./dist/esm/cypress.esm.js"
29
+ },
26
30
  "./style.css": "./dummy.css"
27
31
  },
28
32
  "main": "./dist/cjs/index.cjs.js",
@@ -32,19 +36,18 @@
32
36
  "dist",
33
37
  "dummy.css",
34
38
  "htmlvalidate",
35
- "pageobject/**/*.{js,js.map,d.ts}",
36
39
  "!**/examples/**",
37
40
  "!**/*.spec.{js,ts,d.ts,d.ts.map}",
38
41
  "!**/.eslintrc.json"
39
42
  ],
40
43
  "scripts": {
41
44
  "prebuild": "run-s clean",
42
- "build": "run-s build:lib build:pageobject build:dts build:api",
45
+ "build": "run-s build:lib build:pageobjects build:dts build:api",
43
46
  "build:api": "fk-api-extractor --patch-augmentations api-extractor.*.json",
44
47
  "build:docs": "node generate-docs.mjs",
45
- "build:dts": "vue-tsc --emitDeclarationOnly",
48
+ "build:dts": "vue-tsc -b",
46
49
  "build:lib": "fk-build-vue-lib",
47
- "build:pageobject": "tsc --build pageobject/",
50
+ "build:pageobjects": "node build-pageobjects.mjs",
48
51
  "clean": "rimraf -g .jest-cache *.tsbuildinfo coverage dist public temp test-results",
49
52
  "prepack": "release-prepack --bundle --retain-scripts",
50
53
  "postpack": "release-postpack",
@@ -56,10 +59,10 @@
56
59
  "unit:watch": "jest --watch"
57
60
  },
58
61
  "peerDependencies": {
59
- "@fkui/date": "^6.2.0",
60
- "@fkui/design": "^6.2.0",
61
- "@fkui/logic": "^6.2.0",
62
- "@fkui/vue": "^6.2.0",
62
+ "@fkui/date": "^6.3.0",
63
+ "@fkui/design": "^6.3.0",
64
+ "@fkui/logic": "^6.3.0",
65
+ "@fkui/vue": "^6.3.0",
63
66
  "html-validate": ">= 7.9.0",
64
67
  "vue": "^3.5.0"
65
68
  },
@@ -72,5 +75,5 @@
72
75
  "node": ">= 20",
73
76
  "npm": ">= 7"
74
77
  },
75
- "gitHead": "b75730a2c2bee0c0fe8243d2de511b77c88dcbee"
78
+ "gitHead": "b971dc60326c5eb1c73318733f36c5f1776504b2"
76
79
  }