@db-ux/v-core-components 4.2.6 → 4.2.7-consolidation2-66e78e5

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.
@@ -86,3 +86,5 @@ export declare const TESTING_VIEWPORTS: {
86
86
  height: number;
87
87
  name: string;
88
88
  }[];
89
+ export declare const DB_UX_LOCAL_STORAGE_FRAMEWORK = "db-ux-framework";
90
+ export declare const DB_UX_LOCAL_STORAGE_MODE = "db-ux-mode";
@@ -0,0 +1,4 @@
1
+ /**
2
+ * A mock function for examples
3
+ */
4
+ export declare const fn: () => void;
@@ -403,8 +403,13 @@ export type LinkProps = {
403
403
  role?: string;
404
404
  /**
405
405
  * How much of the referrer to send when following the link.
406
+ * @deprecated use `referrerPolicy` instead
406
407
  */
407
408
  referrerpolicy?: LinkReferrerPolicyType;
409
+ /**
410
+ * How much of the referrer to send when following the link.
411
+ */
412
+ referrerPolicy?: LinkReferrerPolicyType;
408
413
  };
409
414
  export type TextProps = {
410
415
  /**
@@ -420,6 +425,7 @@ export type ClickEventProps<T> = {
420
425
  * React specific onClick to pass to forward ref.
421
426
  */
422
427
  onClick?: (event: ClickEvent<T>) => void;
428
+ click?: (event: ClickEvent<T>) => void;
423
429
  };
424
430
  export type ClickEventState<T> = {
425
431
  handleClick: (event: ClickEvent<T> | any) => void;
@@ -526,3 +532,9 @@ export type PopoverState = {
526
532
  handleEnter: (parent?: HTMLElement) => void;
527
533
  handleLeave: (event?: any) => void;
528
534
  } & DocumentScrollState;
535
+ export interface PatternhubProps {
536
+ /**
537
+ * Used for Patternhub
538
+ */
539
+ isPatternhub?: boolean;
540
+ }
@@ -29,6 +29,16 @@ export declare const delay: (fn: () => void, ms: number) => Promise<unknown>;
29
29
  export declare const getBooleanAsString: (originBool?: boolean | string) => any;
30
30
  export declare const getBoolean: (originBool?: boolean | string, propertyName?: string) => boolean | undefined;
31
31
  export declare const getNumber: (originNumber?: number | string, alternativeNumber?: number | string) => number | undefined;
32
+ /**
33
+ * Retrieves the step value for an input element.
34
+ *
35
+ * The step attribute can be a number or the special string "any".
36
+ * https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step
37
+ *
38
+ * @param step - The step value, which can be a number, string, or undefined.
39
+ * @returns The step value as a number or the string "any", or undefined.
40
+ */
41
+ export declare const getStep: (step?: number | string) => number | "any" | undefined;
32
42
  /**
33
43
  * Retrieves the input value based on the provided value and input type.
34
44
  *
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@db-ux/v-core-components",
3
- "version": "4.2.6",
3
+ "version": "4.2.7-consolidation2-66e78e5",
4
4
  "type": "module",
5
5
  "description": "Vue components for @db-ux/core-components",
6
6
  "repository": {
@@ -28,7 +28,7 @@
28
28
  "CHANGELOG.md"
29
29
  ],
30
30
  "scripts": {
31
- "build": "npm-run-all build:*",
31
+ "build": "npm-run-all --parallel build:* --parallel mv:*",
32
32
  "build:01_vite": "vite build",
33
33
  "build:02_types": "vue-tsc --declaration --emitDeclarationOnly",
34
34
  "mv:dist": "cpr dist ../../build-outputs/vue/dist --overwrite",
@@ -36,19 +36,18 @@
36
36
  "mv:changelog": "cpr CHANGELOG.md ../../build-outputs/vue/CHANGELOG.md --overwrite",
37
37
  "mv:package.json": "cpr package.json ../../build-outputs/vue/package.json --overwrite",
38
38
  "mv:readme": "cpr README.md ../../build-outputs/vue/README.md --overwrite",
39
- "postbuild": "npm-run-all --parallel mv:*",
40
39
  "test:components": "playwright test --config playwright.config.ts",
41
40
  "test:components:ui": "playwright test --config playwright.config.ts --ui"
42
41
  },
43
42
  "devDependencies": {
44
- "@playwright/experimental-ct-vue": "1.56.1",
43
+ "@playwright/experimental-ct-vue": "1.57.0",
45
44
  "@vitejs/plugin-vue": "6.0.3",
46
- "replace-in-file": "8.3.0",
45
+ "replace-in-file": "8.4.0",
47
46
  "tsx": "4.21.0",
48
47
  "typescript": "5.9.3",
49
- "vite": "7.3.0",
50
- "vue": "3.5.25",
51
- "vue-tsc": "3.1.8"
48
+ "vite": "7.3.1",
49
+ "vue": "3.5.26",
50
+ "vue-tsc": "3.2.2"
52
51
  },
53
52
  "publishConfig": {
54
53
  "registry": "https://registry.npmjs.org/",
@@ -57,7 +56,7 @@
57
56
  "sideEffects": false,
58
57
  "source": "src/index.ts",
59
58
  "dependencies": {
60
- "@db-ux/core-components": "4.2.6",
61
- "@db-ux/core-foundations": "4.2.6"
59
+ "@db-ux/core-components": "4.2.7-consolidation2-66e78e5",
60
+ "@db-ux/core-foundations": "4.2.7-consolidation2-66e78e5"
62
61
  }
63
62
  }