@genesislcap/rapid-design-system 14.224.3 → 14.225.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.
|
@@ -18597,6 +18597,14 @@
|
|
|
18597
18597
|
"type": {
|
|
18598
18598
|
"text": "StoryObj"
|
|
18599
18599
|
}
|
|
18600
|
+
},
|
|
18601
|
+
{
|
|
18602
|
+
"kind": "variable",
|
|
18603
|
+
"name": "labelStyle",
|
|
18604
|
+
"type": {
|
|
18605
|
+
"text": "StoryObj"
|
|
18606
|
+
},
|
|
18607
|
+
"default": "{\n args: {\n disabled: false,\n autoPosition: true,\n position: 'below',\n search: false,\n all: false,\n },\n render: ({ autoPosition, position, search, all }) => html`\n <div style=\"min-height: 300px;\">\n <rapid-multiselect\n name=\"${name}\"\n .options=\"${notificationSeverities}\"\n auto-position=\"${autoPosition}\"\n position=\"${position}\"\n search=\"${search}\"\n all=\"${all}\"\n ></rapid-multiselect>\n </div>\n `,\n}"
|
|
18600
18608
|
}
|
|
18601
18609
|
],
|
|
18602
18610
|
"exports": [
|
|
@@ -18655,6 +18663,14 @@
|
|
|
18655
18663
|
"name": "ContainsSearch",
|
|
18656
18664
|
"module": "src/multiselect/multiselect.stories.ts"
|
|
18657
18665
|
}
|
|
18666
|
+
},
|
|
18667
|
+
{
|
|
18668
|
+
"kind": "js",
|
|
18669
|
+
"name": "labelStyle",
|
|
18670
|
+
"declaration": {
|
|
18671
|
+
"name": "labelStyle",
|
|
18672
|
+
"module": "src/multiselect/multiselect.stories.ts"
|
|
18673
|
+
}
|
|
18658
18674
|
}
|
|
18659
18675
|
]
|
|
18660
18676
|
},
|
|
@@ -7,4 +7,5 @@ export declare const DisabledOptions: StoryObj;
|
|
|
7
7
|
export declare const AutoPosition: StoryObj;
|
|
8
8
|
export declare const Creatable: StoryObj;
|
|
9
9
|
export declare const ContainsSearch: StoryObj;
|
|
10
|
+
export declare const labelStyle: StoryObj;
|
|
10
11
|
//# sourceMappingURL=multiselect.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multiselect.stories.d.ts","sourceRoot":"","sources":["../../../src/multiselect/multiselect.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAGhE,QAAA,MAAM,IAAI,EAAE,IAGX,CAAC;AACF,eAAe,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"multiselect.stories.d.ts","sourceRoot":"","sources":["../../../src/multiselect/multiselect.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAGhE,QAAA,MAAM,IAAI,EAAE,IAGX,CAAC;AACF,eAAe,IAAI,CAAC;AAmKpB,eAAO,MAAM,OAAO,EAAE,QAA6C,CAAC;AACpE,eAAO,MAAM,QAAQ,EAAE,QAA0D,CAAC;AAElF,eAAO,MAAM,eAAe,EAAE,QAG5B,CAAC;AAEH,eAAO,MAAM,YAAY,EAAE,QAKzB,CAAC;AAEH,eAAO,MAAM,SAAS,EAAE,QAMtB,CAAC;AAEH,eAAO,MAAM,cAAc,EAAE,QAG3B,CAAC;AAEH,eAAO,MAAM,UAAU,EAAE,QAoBxB,CAAC"}
|
|
@@ -4,6 +4,28 @@ const meta = {
|
|
|
4
4
|
component: 'rapid-multiselect',
|
|
5
5
|
};
|
|
6
6
|
export default meta;
|
|
7
|
+
const notificationSeverities = [
|
|
8
|
+
{
|
|
9
|
+
value: 'Information',
|
|
10
|
+
label: 'Information',
|
|
11
|
+
labelStyle: 'color: var(--info-color)',
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
value: 'Warning',
|
|
15
|
+
label: 'Warning',
|
|
16
|
+
labelStyle: 'color: var(--warning-color)',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
value: 'Serious',
|
|
20
|
+
label: 'Serious',
|
|
21
|
+
labelStyle: 'color: var(--serious-notify-color)',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
value: 'Critical',
|
|
25
|
+
label: 'Critical',
|
|
26
|
+
labelStyle: 'color: var(--error-color)',
|
|
27
|
+
},
|
|
28
|
+
];
|
|
7
29
|
const countriesList = [
|
|
8
30
|
'Afghanistan',
|
|
9
31
|
'Aland Islands',
|
|
@@ -143,3 +165,24 @@ export const ContainsSearch = makeStory({
|
|
|
143
165
|
text: 'Search By Contains',
|
|
144
166
|
filterByContains: true,
|
|
145
167
|
});
|
|
168
|
+
export const labelStyle = {
|
|
169
|
+
args: {
|
|
170
|
+
disabled: false,
|
|
171
|
+
autoPosition: true,
|
|
172
|
+
position: 'below',
|
|
173
|
+
search: false,
|
|
174
|
+
all: false,
|
|
175
|
+
},
|
|
176
|
+
render: ({ autoPosition, position, search, all }) => html `
|
|
177
|
+
<div style="min-height: 300px;">
|
|
178
|
+
<rapid-multiselect
|
|
179
|
+
name="${name}"
|
|
180
|
+
.options="${notificationSeverities}"
|
|
181
|
+
auto-position="${autoPosition}"
|
|
182
|
+
position="${position}"
|
|
183
|
+
search="${search}"
|
|
184
|
+
all="${all}"
|
|
185
|
+
></rapid-multiselect>
|
|
186
|
+
</div>
|
|
187
|
+
`,
|
|
188
|
+
};
|
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.225.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
|
|
40
|
-
"@genesislcap/genx": "14.
|
|
41
|
-
"@genesislcap/rollup-builder": "14.
|
|
42
|
-
"@genesislcap/ts-builder": "14.
|
|
43
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
44
|
-
"@genesislcap/vite-builder": "14.
|
|
45
|
-
"@genesislcap/webpack-builder": "14.
|
|
40
|
+
"@genesislcap/genx": "14.225.0",
|
|
41
|
+
"@genesislcap/rollup-builder": "14.225.0",
|
|
42
|
+
"@genesislcap/ts-builder": "14.225.0",
|
|
43
|
+
"@genesislcap/uvu-playwright-builder": "14.225.0",
|
|
44
|
+
"@genesislcap/vite-builder": "14.225.0",
|
|
45
|
+
"@genesislcap/webpack-builder": "14.225.0",
|
|
46
46
|
"@storybook/addon-coverage": "^1.0.1",
|
|
47
47
|
"@storybook/addon-essentials": "^8.0.0",
|
|
48
48
|
"@storybook/addon-links": "^8.0.0",
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"storybook": "^8.0.0"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@genesislcap/foundation-logger": "14.
|
|
64
|
-
"@genesislcap/foundation-ui": "14.
|
|
65
|
-
"@genesislcap/foundation-utils": "14.
|
|
63
|
+
"@genesislcap/foundation-logger": "14.225.0",
|
|
64
|
+
"@genesislcap/foundation-ui": "14.225.0",
|
|
65
|
+
"@genesislcap/foundation-utils": "14.225.0",
|
|
66
66
|
"@microsoft/fast-colors": "5.3.1",
|
|
67
67
|
"@microsoft/fast-components": "2.30.6",
|
|
68
68
|
"@microsoft/fast-element": "1.14.0",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"access": "public"
|
|
81
81
|
},
|
|
82
82
|
"customElements": "dist/custom-elements.json",
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "722fe99cebb2564d2b85b5d5d0de5f2d3a33e7aa"
|
|
84
84
|
}
|