@genesislcap/rapid-design-system 14.182.3-alpha-75765564b4e.0 → 14.183.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.
|
@@ -25,26 +25,26 @@ const rapidPrimaryStyles = css `
|
|
|
25
25
|
border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
|
|
26
26
|
}
|
|
27
27
|
`;
|
|
28
|
-
const
|
|
29
|
-
:host([appearance='
|
|
28
|
+
const rapidDangerStyles = css `
|
|
29
|
+
:host([appearance='danger']) {
|
|
30
30
|
background: color-mix(in srgb, var(--error-color), transparent 50%);
|
|
31
31
|
border: calc(var(--stroke-width) * 1px) solid var(--error-color);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
:host([appearance='
|
|
34
|
+
:host([appearance='danger']:hover) {
|
|
35
35
|
background: var(--error-color);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
:host([appearance='
|
|
39
|
-
:host([appearance='
|
|
40
|
-
:host([appearance='
|
|
38
|
+
:host([appearance='danger'][disabled]),
|
|
39
|
+
:host([appearance='danger'][disabled]):hover,
|
|
40
|
+
:host([appearance='danger'][disabled]):active {
|
|
41
41
|
background: color-mix(in srgb, var(--error-color), transparent 70%);
|
|
42
42
|
border: calc(var(--stroke-width) * 1px) solid var(--error-color);
|
|
43
43
|
color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
|
|
44
44
|
opacity: 100%;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
:host([appearance='
|
|
47
|
+
:host([appearance='danger']:active) {
|
|
48
48
|
background: color-mix(in srgb, var(--error-color), transparent 70%);
|
|
49
49
|
border: calc(var(--stroke-width) * 1px) solid var(--error-color);
|
|
50
50
|
}
|
|
@@ -166,4 +166,4 @@ const baseStyles = (context, definition) => css `
|
|
|
166
166
|
export const rapidButtonStyles = (context, definition) => css `
|
|
167
167
|
${foundationButtonStyles(context, definition)}
|
|
168
168
|
${baseStyles(context, definition)}
|
|
169
|
-
`.withBehaviors(appearanceBehavior('primary', rapidPrimaryStyles), appearanceBehavior('
|
|
169
|
+
`.withBehaviors(appearanceBehavior('primary', rapidPrimaryStyles), appearanceBehavior('danger', rapidDangerStyles), appearanceBehavior('primary-outline', rapidPrimaryOutlineStyles), appearanceBehavior('neutral-outline', rapidNeutralOutlineStyles), appearanceBehavior('link', rapidLinkStyles));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/rapid-design-system",
|
|
3
3
|
"description": "Rapid Design System",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.183.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@genesiscommunitysuccess/analyzer-import-alias-plugin": "^4.0.0",
|
|
32
|
-
"@genesislcap/genx": "14.
|
|
33
|
-
"@genesislcap/rollup-builder": "14.
|
|
34
|
-
"@genesislcap/ts-builder": "14.
|
|
35
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
36
|
-
"@genesislcap/vite-builder": "14.
|
|
37
|
-
"@genesislcap/webpack-builder": "14.
|
|
32
|
+
"@genesislcap/genx": "14.183.0",
|
|
33
|
+
"@genesislcap/rollup-builder": "14.183.0",
|
|
34
|
+
"@genesislcap/ts-builder": "14.183.0",
|
|
35
|
+
"@genesislcap/uvu-playwright-builder": "14.183.0",
|
|
36
|
+
"@genesislcap/vite-builder": "14.183.0",
|
|
37
|
+
"@genesislcap/webpack-builder": "14.183.0",
|
|
38
38
|
"@storybook/addon-coverage": "^1.0.1",
|
|
39
39
|
"@storybook/addon-essentials": "^8.0.0",
|
|
40
40
|
"@storybook/addon-links": "^8.0.0",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"storybook": "^8.0.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@genesislcap/foundation-logger": "14.
|
|
55
|
-
"@genesislcap/foundation-ui": "14.
|
|
54
|
+
"@genesislcap/foundation-logger": "14.183.0",
|
|
55
|
+
"@genesislcap/foundation-ui": "14.183.0",
|
|
56
56
|
"@microsoft/fast-colors": "^5.3.1",
|
|
57
57
|
"@microsoft/fast-components": "^2.30.6",
|
|
58
58
|
"@microsoft/fast-element": "^1.12.0",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"access": "public"
|
|
71
71
|
},
|
|
72
72
|
"customElements": "dist/custom-elements.json",
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "deecb5a173b5b6bd7042a7699ddb7d24e32d1ce8"
|
|
74
74
|
}
|