@genesislcap/rapid-design-system 14.168.0 → 14.170.0-genxgit.1
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.stories.d.ts","sourceRoot":"","sources":["../../../src/dialog/dialog.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAIhE,QAAA,MAAM,IAAI,EAAE,IAGX,CAAC;AACF,eAAe,IAAI,CAAC;AAYpB,eAAO,MAAM,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"dialog.stories.d.ts","sourceRoot":"","sources":["../../../src/dialog/dialog.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAIhE,QAAA,MAAM,IAAI,EAAE,IAGX,CAAC;AACF,eAAe,IAAI,CAAC;AAYpB,eAAO,MAAM,OAAO,EAAE,QAmCrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.styles.d.ts","sourceRoot":"","sources":["../../../src/dialog/dialog.styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dialog.styles.d.ts","sourceRoot":"","sources":["../../../src/dialog/dialog.styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,iBAAiB,iDA+E7B,CAAC"}
|
|
@@ -13,6 +13,12 @@ const closeDialog = (e) => {
|
|
|
13
13
|
dialog.close();
|
|
14
14
|
};
|
|
15
15
|
export const Primary = {
|
|
16
|
+
argTypes: {
|
|
17
|
+
dialogType: {
|
|
18
|
+
control: 'select',
|
|
19
|
+
options: ['default', 'error', 'success'],
|
|
20
|
+
},
|
|
21
|
+
},
|
|
16
22
|
args: {
|
|
17
23
|
dialogMaxWidth: '557px',
|
|
18
24
|
dialogTitle: 'Dialog Title',
|
|
@@ -23,10 +29,11 @@ export const Primary = {
|
|
|
23
29
|
temporibus aperiam dolor consequatur perferendis aspernatur fugit repellendus asperiores,
|
|
24
30
|
voluptas illo? Voluptatum, atque quidem?`,
|
|
25
31
|
dialogCloseButtonText: 'Close this dialog',
|
|
32
|
+
dialogType: 'default',
|
|
26
33
|
},
|
|
27
|
-
render: ({ dialogMaxWidth, dialogTitle, dialogInitialText, dialogMainText, dialogCloseButtonText, }) => html `
|
|
34
|
+
render: ({ dialogMaxWidth, dialogTitle, dialogInitialText, dialogMainText, dialogCloseButtonText, dialogType, }) => html `
|
|
28
35
|
<rapid-button @click="${showDialog}">Show Rapid Dialog</rapid-button>
|
|
29
|
-
<rapid-dialog style="--dialog-max-width: ${dialogMaxWidth};">
|
|
36
|
+
<rapid-dialog style="--dialog-max-width: ${dialogMaxWidth};" type=${dialogType}>
|
|
30
37
|
<div slot="top">${dialogTitle}</div>
|
|
31
38
|
<p>${dialogInitialText}</p>
|
|
32
39
|
<p>${dialogMainText}</p>
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { foundationDialogStyles } from '@genesislcap/foundation-ui';
|
|
2
2
|
import { neutralForegroundRest, neutralLayer2 } from '@microsoft/fast-components';
|
|
3
3
|
import { css } from '@microsoft/fast-element';
|
|
4
|
+
import { ColorHEX } from '../_common';
|
|
4
5
|
export const rapidDialogStyles = css `
|
|
5
6
|
${foundationDialogStyles}
|
|
6
7
|
:host {
|
|
8
|
+
--color-error: ${ColorHEX.error};
|
|
9
|
+
--color-success: ${ColorHEX.success};
|
|
7
10
|
--dialog-background: ${neutralLayer2};
|
|
8
11
|
|
|
9
12
|
font-family: var(--body-font);
|
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.170.0-genxgit.1",
|
|
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.170.0-genxgit.1",
|
|
33
|
+
"@genesislcap/rollup-builder": "14.170.0-genxgit.1",
|
|
34
|
+
"@genesislcap/ts-builder": "14.170.0-genxgit.1",
|
|
35
|
+
"@genesislcap/uvu-playwright-builder": "14.170.0-genxgit.1",
|
|
36
|
+
"@genesislcap/vite-builder": "14.170.0-genxgit.1",
|
|
37
|
+
"@genesislcap/webpack-builder": "14.170.0-genxgit.1",
|
|
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.170.0-genxgit.1",
|
|
55
|
+
"@genesislcap/foundation-ui": "14.170.0-genxgit.1",
|
|
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": "63c42feb1ea6f7bc16d8bd50ae4d90af80b7a9e5"
|
|
74
74
|
}
|