@3squared/forge-ui-3 0.7.1 → 0.8.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.
|
@@ -145,6 +145,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
145
145
|
};
|
|
146
146
|
showOnFocus: {
|
|
147
147
|
type: import('vue').PropType<boolean>;
|
|
148
|
+
default: boolean;
|
|
148
149
|
};
|
|
149
150
|
autoZIndex: {
|
|
150
151
|
type: import('vue').PropType<boolean>;
|
|
@@ -348,6 +349,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
348
349
|
};
|
|
349
350
|
showOnFocus: {
|
|
350
351
|
type: import('vue').PropType<boolean>;
|
|
352
|
+
default: boolean;
|
|
351
353
|
};
|
|
352
354
|
autoZIndex: {
|
|
353
355
|
type: import('vue').PropType<boolean>;
|
|
@@ -422,6 +424,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
422
424
|
showOtherMonths: boolean;
|
|
423
425
|
showIcon: boolean;
|
|
424
426
|
numberOfMonths: number;
|
|
427
|
+
showOnFocus: boolean;
|
|
425
428
|
autoZIndex: boolean;
|
|
426
429
|
baseZIndex: number;
|
|
427
430
|
showButtonBar: boolean;
|
|
@@ -4,6 +4,7 @@ export interface ForgeTileProps {
|
|
|
4
4
|
severity: Severity;
|
|
5
5
|
barPosition: BarPosition;
|
|
6
6
|
clickable: boolean;
|
|
7
|
+
selected?: boolean;
|
|
7
8
|
}
|
|
8
9
|
declare function __VLS_template(): {
|
|
9
10
|
default?(_: {}): any;
|
|
@@ -12,12 +13,15 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
12
13
|
severity: string;
|
|
13
14
|
barPosition: string;
|
|
14
15
|
clickable: boolean;
|
|
16
|
+
selected: boolean;
|
|
15
17
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ForgeTileProps>, {
|
|
16
18
|
severity: string;
|
|
17
19
|
barPosition: string;
|
|
18
20
|
clickable: boolean;
|
|
21
|
+
selected: boolean;
|
|
19
22
|
}>>>, {
|
|
20
23
|
severity: Severity;
|
|
24
|
+
selected: boolean;
|
|
21
25
|
barPosition: BarPosition;
|
|
22
26
|
clickable: boolean;
|
|
23
27
|
}, {}>;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@3squared/forge-ui-3",
|
|
3
3
|
"repository": "https://github.com/3Squared/ForgeUI-3",
|
|
4
4
|
"description": "ForgeUI 3 is Vue 3 UI Library which combines a variety of popular packages to create a consistent UI for your application.",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.8.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"contributors": [
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
"yup": "^1.4.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@cypress/code-coverage": "3.12.
|
|
44
|
+
"@cypress/code-coverage": "3.12.44",
|
|
45
45
|
"@vitejs/plugin-vue": "5.0.5",
|
|
46
46
|
"@vitest/coverage-v8": "1.6.0",
|
|
47
47
|
"@vitest/ui": "1.6.0",
|
|
48
48
|
"cypress": "13.13.1",
|
|
49
49
|
"cypress-real-events": "1.13.0",
|
|
50
50
|
"sass": "1.77.8",
|
|
51
|
-
"typescript": "5.5.
|
|
51
|
+
"typescript": "5.5.4",
|
|
52
52
|
"unplugin-vue-components": "0.27.3",
|
|
53
53
|
"rollup-plugin-visualizer": "5.12.0",
|
|
54
54
|
"vite": "5.3.4",
|
|
@@ -8,55 +8,54 @@
|
|
|
8
8
|
} @else if $color == secondary {
|
|
9
9
|
@return #E5E5E5;
|
|
10
10
|
} @else if $color == brand {
|
|
11
|
-
@return map-get($subtle-colors, "brand-shade-2")
|
|
11
|
+
@return map-get($subtle-colors, "brand-shade-2")
|
|
12
12
|
} @else {
|
|
13
13
|
@return #B9D5E7;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
@each $color, $value in $base-colors {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
18
|
+
.tile-#{$color} {
|
|
19
|
+
@if $color == brand {
|
|
20
|
+
background-color: map-get($subtle-colors, $color + "-shade-1") !important;
|
|
21
|
+
} @else {
|
|
22
|
+
background-color: map-get($subtle-colors, $color + "-subtle") !important;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
color: $black !important;
|
|
26
|
+
text-align: start !important;
|
|
27
|
+
border: none;
|
|
28
|
+
|
|
29
|
+
&.tile-bar-top {
|
|
30
|
+
@extend .rounded-top;
|
|
31
|
+
border: none;
|
|
32
|
+
border-top: 8px solid map-get($base-colors, $color) !important;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&.tile-bar-left {
|
|
36
|
+
@extend .rounded-start;
|
|
37
|
+
border: none;
|
|
38
|
+
border-left: 8px solid map-get($base-colors, $color) !important;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.selected {
|
|
42
|
+
border: 2px solid;
|
|
43
|
+
border-color: map-get($base-colors, $color) !important;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
32
46
|
|
|
33
47
|
.btn.btn-#{$color}.tile-#{$color} {
|
|
48
|
+
border-color: map-get($subtle-colors, $color + "-subtle");
|
|
34
49
|
&:hover {
|
|
35
50
|
background-color: getHoverColour($color) !important;
|
|
36
51
|
}
|
|
37
|
-
|
|
52
|
+
|
|
38
53
|
&:active {
|
|
39
54
|
background-color: map-get($subtle-colors, $color + "-subtle") !important;
|
|
40
55
|
}
|
|
41
|
-
|
|
42
|
-
&.tile-bar-left, &.tile-bar-top {
|
|
43
|
-
border-color: map-get($base-colors, $color) !important
|
|
44
|
-
}
|
|
45
|
-
|
|
56
|
+
|
|
46
57
|
&:focus {
|
|
47
58
|
background-color: map-get($subtle-colors, $color + "-subtle") !important;
|
|
48
59
|
}
|
|
49
60
|
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.tile-bar-top {
|
|
53
|
-
@extend .rounded-top;
|
|
54
|
-
border: none !important;
|
|
55
|
-
border-top: 8px solid !important;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.tile-bar-left {
|
|
59
|
-
@extend .rounded-start;
|
|
60
|
-
border: none !important;
|
|
61
|
-
border-left: 8px solid !important;
|
|
62
61
|
}
|