@db-ux/v-core-components 4.13.1-angular-signal-forms6-a1510bb → 4.13.1-angular-signal-forms9-42cbbed
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.
- package/dist/components/table/table.vue.d.ts +1 -0
- package/dist/components/table-body/table-body.vue.d.ts +1 -0
- package/dist/components/table-caption/table-caption.vue.d.ts +1 -0
- package/dist/components/table-data-cell/table-data-cell.vue.d.ts +1 -0
- package/dist/components/table-footer/table-footer.vue.d.ts +1 -0
- package/dist/components/table-head/table-head.vue.d.ts +1 -0
- package/dist/components/table-header-cell/table-header-cell.vue.d.ts +1 -0
- package/dist/components/table-row/table-row.vue.d.ts +1 -0
- package/dist/db-ux.es.js +450 -444
- package/dist/db-ux.umd.js +1 -1
- package/dist/shared/constants.d.ts +38 -38
- package/dist/shared/figma.d.ts +11 -4
- package/dist/utils/index.d.ts +1 -0
- package/package.json +6 -6
|
@@ -21,53 +21,53 @@ export declare const DEFAULT_CLOSE_BUTTON: string;
|
|
|
21
21
|
export declare const DENSITY_CONST: string;
|
|
22
22
|
export declare const COLOR_CONST: string;
|
|
23
23
|
export declare enum DENSITY {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
FUNCTIONAL = "functional",
|
|
25
|
+
REGULAR = "regular",
|
|
26
|
+
EXPRESSIVE = "expressive"
|
|
27
27
|
}
|
|
28
28
|
export declare const DENSITIES: DENSITY[];
|
|
29
29
|
export declare enum COLOR_SIMPLE {
|
|
30
|
-
|
|
30
|
+
PRIMARY = "primary"
|
|
31
31
|
}
|
|
32
32
|
export declare enum COLOR {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
33
|
+
NEUTRAL_BG_LEVEL_1 = "neutral-bg-basic-level-1",
|
|
34
|
+
NEUTRAL_BG_LEVEL_2 = "neutral-bg-basic-level-2",
|
|
35
|
+
NEUTRAL_BG_LEVEL_3 = "neutral-bg-basic-level-3",
|
|
36
|
+
NEUTRAL_BG_TRANSPARENT_SEMI = "neutral-bg-basic-transparent-semi",
|
|
37
|
+
NEUTRAL_BG_TRANSPARENT_FULL = "neutral-bg-basic-transparent-full",
|
|
38
|
+
BRAND_BG_LEVEL_1 = "brand-bg-basic-level-1",
|
|
39
|
+
BRAND_BG_LEVEL_2 = "brand-bg-basic-level-2",
|
|
40
|
+
BRAND_BG_LEVEL_3 = "brand-bg-basic-level-3",
|
|
41
|
+
BRAND_BG_TRANSPARENT_SEMI = "brand-bg-basic-transparent-semi",
|
|
42
|
+
BRAND_BG_TRANSPARENT_FULL = "brand-bg-basic-transparent-full",
|
|
43
|
+
SUCCESSFUL_BG_LEVEL_1 = "successful-bg-basic-level-1",
|
|
44
|
+
SUCCESSFUL_BG_LEVEL_2 = "successful-bg-basic-level-2",
|
|
45
|
+
SUCCESSFUL_BG_LEVEL_3 = "successful-bg-basic-level-3",
|
|
46
|
+
SUCCESSFUL_BG_TRANSPARENT_SEMI = "successful-bg-basic-transparent-semi",
|
|
47
|
+
SUCCESSFUL_BG_TRANSPARENT_FULL = "successful-bg-basic-transparent-full",
|
|
48
|
+
CRITICAL_BG_LEVEL_1 = "critical-bg-basic-level-1",
|
|
49
|
+
CRITICAL_BG_LEVEL_2 = "critical-bg-basic-level-2",
|
|
50
|
+
CRITICAL_BG_LEVEL_3 = "critical-bg-basic-level-3",
|
|
51
|
+
CRITICAL_BG_TRANSPARENT_SEMI = "critical-bg-basic-transparent-semi",
|
|
52
|
+
CRITICAL_BG_TRANSPARENT_Full = "critical-bg-basic-transparent-full",
|
|
53
|
+
WARNING_BG_LEVEL_1 = "warning-bg-basic-level-1",
|
|
54
|
+
WARNING_BG_LEVEL_2 = "warning-bg-basic-level-2",
|
|
55
|
+
WARNING_BG_LEVEL_3 = "warning-bg-basic-level-3",
|
|
56
|
+
WARNING_BG_TRANSPARENT_SEMI = "warning-bg-basic-transparent-semi",
|
|
57
|
+
WARNING_BG_TRANSPARENT_FULL = "warning-bg-basic-transparent-full",
|
|
58
|
+
INFORMATIONAL_BG_LEVEL_1 = "informational-bg-basic-level-1",
|
|
59
|
+
INFORMATIONAL_BG_LEVEL_2 = "informational-bg-basic-level-2",
|
|
60
|
+
INFORMATIONAL_BG_LEVEL_3 = "informational-bg-basic-level-3",
|
|
61
|
+
INFORMATIONAL_BG_TRANSPARENT_SEMI = "informational-bg-basic-transparent-semi",
|
|
62
|
+
INFORMATIONAL_BG_TRANSPARENT_FULL = "informational-bg-basic-transparent-full"
|
|
63
63
|
}
|
|
64
64
|
export declare const COLORS: COLOR[];
|
|
65
65
|
export declare const COLORS_SIMPLE: COLOR_SIMPLE[];
|
|
66
66
|
export declare enum SEMANTIC {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
67
|
+
CRITICAL = "critical",
|
|
68
|
+
INFORMATIONAL = "informational",
|
|
69
|
+
WARNING = "warning",
|
|
70
|
+
SUCCESSFUL = "successful"
|
|
71
71
|
}
|
|
72
72
|
export declare const SEMANTICS: SEMANTIC[];
|
|
73
73
|
export declare const DEFAULT_VIEWPORT: {
|
package/dist/shared/figma.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Base for all Figma prop definitions. */
|
|
1
|
+
/** @public Base for all Figma prop definitions. */
|
|
2
2
|
export type FigmaBaseProp = {
|
|
3
3
|
/** The prop type discriminator. */
|
|
4
4
|
type: string;
|
|
@@ -10,14 +10,14 @@ export type FigmaBaseProp = {
|
|
|
10
10
|
*/
|
|
11
11
|
layer?: string;
|
|
12
12
|
};
|
|
13
|
-
/** A nested Figma instance swap prop (e.g. icon components). */
|
|
13
|
+
/** @public A nested Figma instance swap prop (e.g. icon components). */
|
|
14
14
|
export type FigmaInstanceProp = FigmaBaseProp & {
|
|
15
15
|
/** Use 'instance' for generic instance swaps, 'iconSwap' for icon instances that resolve to a string name. */
|
|
16
16
|
type: 'instance' | 'iconSwap';
|
|
17
17
|
/** The Figma property key of the instance swap (e.g. '🔄 Icon Small'). */
|
|
18
18
|
key: string;
|
|
19
19
|
};
|
|
20
|
-
/** An enum prop mapping Figma variant values to code values. */
|
|
20
|
+
/** @public An enum prop mapping Figma variant values to code values. */
|
|
21
21
|
export type FigmaEnumProp = FigmaBaseProp & {
|
|
22
22
|
type: 'enum';
|
|
23
23
|
/** The Figma property key (e.g. 'Size', '💻 Variant'). */
|
|
@@ -31,7 +31,7 @@ export type FigmaEnumProp = FigmaBaseProp & {
|
|
|
31
31
|
*/
|
|
32
32
|
guardKey?: string;
|
|
33
33
|
};
|
|
34
|
-
/** A simple scalar prop. */
|
|
34
|
+
/** @public A simple scalar prop. */
|
|
35
35
|
export type FigmaSimpleProp = FigmaBaseProp & {
|
|
36
36
|
/**
|
|
37
37
|
* - 'string': maps to instance.getString()
|
|
@@ -50,6 +50,7 @@ export type FigmaSimpleProp = FigmaBaseProp & {
|
|
|
50
50
|
guardKeys?: string[];
|
|
51
51
|
};
|
|
52
52
|
/**
|
|
53
|
+
* @public
|
|
53
54
|
* Reads a text property from the first code-connected child instance.
|
|
54
55
|
* Generates: instance.findConnectedInstances((node) => node.hasCodeConnect())
|
|
55
56
|
* .filter((node) => node.type === 'INSTANCE')
|
|
@@ -64,6 +65,7 @@ export type FigmaConnectedTextProp = FigmaBaseProp & {
|
|
|
64
65
|
index?: number;
|
|
65
66
|
};
|
|
66
67
|
/**
|
|
68
|
+
* @public
|
|
67
69
|
* Generates a single message variable from a connected instance's text,
|
|
68
70
|
* then maps it to different attribute names based on another prop's value.
|
|
69
71
|
*
|
|
@@ -80,6 +82,7 @@ export type FigmaValidationMessageProp = FigmaBaseProp & {
|
|
|
80
82
|
map: Record<string, string>;
|
|
81
83
|
};
|
|
82
84
|
/**
|
|
85
|
+
* @public
|
|
83
86
|
* Renders all direct code-connected child instances as children.
|
|
84
87
|
* Generates: instance.findConnectedInstances((node) => node.hasCodeConnect())
|
|
85
88
|
* .flatMap((child) => child.executeTemplate().example)
|
|
@@ -94,6 +97,7 @@ export type FigmaConnectedInstancesProp = FigmaBaseProp & {
|
|
|
94
97
|
filter?: string;
|
|
95
98
|
};
|
|
96
99
|
/**
|
|
100
|
+
* @public
|
|
97
101
|
* Renders code-connected child instances recursively, filtered by a nestedImports string.
|
|
98
102
|
* Uses traverseInstances: true to find all descendants, then filters by checking whether
|
|
99
103
|
* the instance's template nestedImports contains the given filter string.
|
|
@@ -112,6 +116,7 @@ export type FigmaNestedConnectedInstancesProp = FigmaBaseProp & {
|
|
|
112
116
|
filter?: string;
|
|
113
117
|
};
|
|
114
118
|
/**
|
|
119
|
+
* @public
|
|
115
120
|
* Maps multiple boolean Figma properties to a single enum code value.
|
|
116
121
|
* The first property whose value is `true` wins; if none match, the prop is omitted.
|
|
117
122
|
*
|
|
@@ -127,6 +132,7 @@ export type FigmaBooleanToEnumProp = FigmaBaseProp & {
|
|
|
127
132
|
}>;
|
|
128
133
|
};
|
|
129
134
|
/**
|
|
135
|
+
* @public
|
|
130
136
|
* Finds all nested instances matching a filter and maps their properties to an array.
|
|
131
137
|
* Each matched instance produces one object in the array, with keys defined by `props`.
|
|
132
138
|
*
|
|
@@ -141,6 +147,7 @@ export type FigmaNestedInstancesToArrayProp = FigmaBaseProp & {
|
|
|
141
147
|
props: Record<string, FigmaProp>;
|
|
142
148
|
};
|
|
143
149
|
/**
|
|
150
|
+
* @public
|
|
144
151
|
* Wraps an iconSwap prop so it is only rendered when a boolean Figma property is enabled.
|
|
145
152
|
* Generates: let icon = ''; if (getPropertyValue(guardKey) === true || getPropertyValue(guardKey) === 'True') { icon = `\n\t\ticon="${iconLeading}"` }
|
|
146
153
|
*/
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -60,6 +60,7 @@ export declare const stringPropVisible: (givenString?: string, showString?: bool
|
|
|
60
60
|
export declare const getSearchInput: (element: HTMLElement) => HTMLInputElement | null;
|
|
61
61
|
export declare const getOptionKey: (option: {
|
|
62
62
|
id?: string;
|
|
63
|
+
label?: string;
|
|
63
64
|
value?: string | number | string[] | undefined;
|
|
64
65
|
}, prefix: string) => string;
|
|
65
66
|
export declare const isKeyboardEvent: <T>(event?: ClickEvent<T> | GeneralKeyboardEvent<T>) => event is GeneralKeyboardEvent<T>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@db-ux/v-core-components",
|
|
3
|
-
"version": "4.13.1-angular-signal-
|
|
3
|
+
"version": "4.13.1-angular-signal-forms9-42cbbed",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Vue components for @db-ux/core-components",
|
|
6
6
|
"repository": {
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"dist/"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@db-ux/core-components": "4.13.1-angular-signal-
|
|
32
|
-
"@db-ux/core-foundations": "4.13.1-angular-signal-
|
|
31
|
+
"@db-ux/core-components": "4.13.1-angular-signal-forms9-42cbbed",
|
|
32
|
+
"@db-ux/core-foundations": "4.13.1-angular-signal-forms9-42cbbed"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@playwright/experimental-ct-vue": "1.60.0",
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"cpr": "3.0.1",
|
|
39
39
|
"npm-run-all2": "9.0.2",
|
|
40
40
|
"replace-in-file": "8.4.0",
|
|
41
|
-
"tsx": "4.
|
|
41
|
+
"tsx": "4.23.0",
|
|
42
42
|
"typescript": "5.9.3",
|
|
43
|
-
"vite": "8.1.
|
|
43
|
+
"vite": "8.1.3",
|
|
44
44
|
"vue": "3.5.39",
|
|
45
|
-
"vue-tsc": "3.3.
|
|
45
|
+
"vue-tsc": "3.3.6"
|
|
46
46
|
},
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"registry": "https://registry.npmjs.org/",
|