@genesislcap/rapid-design-system 14.155.1 → 14.156.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.
- package/dist/dts/base-components.d.ts +1 -0
- package/dist/dts/base-components.d.ts.map +1 -1
- package/dist/dts/stacking-icons/index.d.ts +3 -0
- package/dist/dts/stacking-icons/index.d.ts.map +1 -0
- package/dist/dts/stacking-icons/stacking-icons.d.ts +8 -0
- package/dist/dts/stacking-icons/stacking-icons.d.ts.map +1 -0
- package/dist/dts/stacking-icons/stacking-icons.stories.d.ts +5 -0
- package/dist/dts/stacking-icons/stacking-icons.stories.d.ts.map +1 -0
- package/dist/dts/stacking-icons/stacking-icons.styles.d.ts +4 -0
- package/dist/dts/stacking-icons/stacking-icons.styles.d.ts.map +1 -0
- package/dist/esm/base-components.js +2 -0
- package/dist/esm/stacking-icons/index.js +2 -0
- package/dist/esm/stacking-icons/stacking-icons.js +12 -0
- package/dist/esm/stacking-icons/stacking-icons.stories.js +53 -0
- package/dist/esm/stacking-icons/stacking-icons.styles.js +5 -0
- package/package.json +10 -10
|
@@ -181,6 +181,7 @@ export declare const baseComponents: {
|
|
|
181
181
|
styles: import("@microsoft/fast-element").ElementStyles;
|
|
182
182
|
template: import("@microsoft/fast-element").ViewTemplate<import("./snackbar").Snackbar, any>;
|
|
183
183
|
}, typeof import("./snackbar").Snackbar>;
|
|
184
|
+
rapidStackingIcons: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./stacking-icons").StackingIcons>;
|
|
184
185
|
rapidStepper: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
|
|
185
186
|
baseName: string;
|
|
186
187
|
template: import("@microsoft/fast-element").ViewTemplate<import("./stepper").Stepper, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-components.d.ts","sourceRoot":"","sources":["../../src/base-components.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"base-components.d.ts","sourceRoot":"","sources":["../../src/base-components.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AA8E5D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA0EJ,SAAS,WAAW,GAAG,EAAE;CAe/C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/stacking-icons/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { StackingIcons as FoundationStackingIcons } from '@genesislcap/foundation-ui';
|
|
2
|
+
/**
|
|
3
|
+
* @tagname %%prefix%%-stacking-icons
|
|
4
|
+
*/
|
|
5
|
+
export declare class StackingIcons extends FoundationStackingIcons {
|
|
6
|
+
}
|
|
7
|
+
export declare const rapidStackingIcons: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof StackingIcons>;
|
|
8
|
+
//# sourceMappingURL=stacking-icons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stacking-icons.d.ts","sourceRoot":"","sources":["../../../src/stacking-icons/stacking-icons.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,IAAI,uBAAuB,EAEzC,MAAM,4BAA4B,CAAC;AAGpC;;GAEG;AACH,qBAAa,aAAc,SAAQ,uBAAuB;CAAG;AAE7D,eAAO,MAAM,kBAAkB,6TAI7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stacking-icons.stories.d.ts","sourceRoot":"","sources":["../../../src/stacking-icons/stacking-icons.stories.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAGhE,QAAA,MAAM,IAAI,EAAE,IAGX,CAAC;AACF,eAAe,IAAI,CAAC;AAcpB,eAAO,MAAM,OAAO,EAAE,QA2CrB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ElementStyles } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
export declare const rapidStackingIconsStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ElementStyles;
|
|
4
|
+
//# sourceMappingURL=stacking-icons.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stacking-icons.styles.d.ts","sourceRoot":"","sources":["../../../src/stacking-icons/stacking-icons.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,wBAAwB,YAC1B,wBAAwB,cACrB,2BAA2B,KACtC,aAEF,CAAC"}
|
|
@@ -56,6 +56,7 @@ import { rapidSkeleton } from './skeleton';
|
|
|
56
56
|
import { rapidSlider } from './slider';
|
|
57
57
|
import { rapidSliderLabel } from './slider-label';
|
|
58
58
|
import { rapidSnackbar } from './snackbar';
|
|
59
|
+
import { rapidStackingIcons } from './stacking-icons';
|
|
59
60
|
import { rapidStepper } from './stepper';
|
|
60
61
|
import { rapidStepperTab } from './stepper-tab';
|
|
61
62
|
import { rapidStepperTabPanel } from './stepper-tab-panel';
|
|
@@ -129,6 +130,7 @@ export const baseComponents = {
|
|
|
129
130
|
rapidSlider,
|
|
130
131
|
rapidSliderLabel,
|
|
131
132
|
rapidSnackbar,
|
|
133
|
+
rapidStackingIcons,
|
|
132
134
|
rapidStepper,
|
|
133
135
|
rapidStepperTab,
|
|
134
136
|
rapidStepperTabPanel,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { StackingIcons as FoundationStackingIcons, foundationStackingIconsTemplate as template, } from '@genesislcap/foundation-ui';
|
|
2
|
+
import { rapidStackingIconsStyles as styles } from './stacking-icons.styles';
|
|
3
|
+
/**
|
|
4
|
+
* @tagname %%prefix%%-stacking-icons
|
|
5
|
+
*/
|
|
6
|
+
export class StackingIcons extends FoundationStackingIcons {
|
|
7
|
+
}
|
|
8
|
+
export const rapidStackingIcons = StackingIcons.compose({
|
|
9
|
+
baseName: 'stacking-icons',
|
|
10
|
+
template,
|
|
11
|
+
styles,
|
|
12
|
+
});
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { faSizeValues } from '@genesislcap/foundation-ui';
|
|
2
|
+
import { html } from 'lit-html';
|
|
3
|
+
const meta = {
|
|
4
|
+
title: 'Stacking Icons',
|
|
5
|
+
component: 'rapid-stacking-icons',
|
|
6
|
+
};
|
|
7
|
+
export default meta;
|
|
8
|
+
const iconSizeArgTypes = {
|
|
9
|
+
control: 'select',
|
|
10
|
+
options: ['stack-1x', 'stack-2x'],
|
|
11
|
+
description: 'Select size for the icon',
|
|
12
|
+
};
|
|
13
|
+
const iconVariantArgTypes = {
|
|
14
|
+
control: 'select',
|
|
15
|
+
options: ['regular', 'solid', 'brand'],
|
|
16
|
+
description: 'Select variant for the icon',
|
|
17
|
+
};
|
|
18
|
+
export const Default = {
|
|
19
|
+
argTypes: {
|
|
20
|
+
size: {
|
|
21
|
+
control: 'select',
|
|
22
|
+
options: faSizeValues,
|
|
23
|
+
description: 'Select size for the stacking icons',
|
|
24
|
+
},
|
|
25
|
+
firstIconSize: iconSizeArgTypes,
|
|
26
|
+
firstIconVariant: iconVariantArgTypes,
|
|
27
|
+
secondIconSize: iconSizeArgTypes,
|
|
28
|
+
secondIconVariant: iconVariantArgTypes,
|
|
29
|
+
},
|
|
30
|
+
args: {
|
|
31
|
+
size: '1x',
|
|
32
|
+
firstIconName: 'circle',
|
|
33
|
+
firstIconSize: 'stack-2x',
|
|
34
|
+
firstIconVariant: 'regular',
|
|
35
|
+
secondIconName: 'flag',
|
|
36
|
+
secondIconSize: 'stack-1x',
|
|
37
|
+
secondIconVariant: 'solid',
|
|
38
|
+
},
|
|
39
|
+
render: ({ size, firstIconName, firstIconSize, firstIconVariant, secondIconName, secondIconSize, secondIconVariant, }) => html `
|
|
40
|
+
<rapid-stacking-icons size="${size}" style="color:#FFFFFF">
|
|
41
|
+
<rapid-icon
|
|
42
|
+
name="${firstIconName}"
|
|
43
|
+
size="${firstIconSize}"
|
|
44
|
+
variant="${firstIconVariant}"
|
|
45
|
+
></rapid-icon>
|
|
46
|
+
<rapid-icon
|
|
47
|
+
name="${secondIconName}"
|
|
48
|
+
size="${secondIconSize}"
|
|
49
|
+
variant="${secondIconVariant}"
|
|
50
|
+
></rapid-icon>
|
|
51
|
+
</rapid-stacking-icons>
|
|
52
|
+
`,
|
|
53
|
+
};
|
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.156.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"test-storybook": "test-storybook -- --coverage --passWithNoTests --testTimeout=30000"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@genesislcap/genx": "14.
|
|
32
|
-
"@genesislcap/rollup-builder": "14.
|
|
33
|
-
"@genesislcap/ts-builder": "14.
|
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
35
|
-
"@genesislcap/vite-builder": "14.
|
|
36
|
-
"@genesislcap/webpack-builder": "14.
|
|
31
|
+
"@genesislcap/genx": "14.156.0",
|
|
32
|
+
"@genesislcap/rollup-builder": "14.156.0",
|
|
33
|
+
"@genesislcap/ts-builder": "14.156.0",
|
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.156.0",
|
|
35
|
+
"@genesislcap/vite-builder": "14.156.0",
|
|
36
|
+
"@genesislcap/webpack-builder": "14.156.0",
|
|
37
37
|
"@storybook/addon-coverage": "^1.0.0",
|
|
38
38
|
"@storybook/addon-essentials": "^7.6.7",
|
|
39
39
|
"@storybook/addon-links": "^7.6.7",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"storybook": "^7.6.7"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@genesislcap/foundation-logger": "14.
|
|
54
|
-
"@genesislcap/foundation-ui": "14.
|
|
53
|
+
"@genesislcap/foundation-logger": "14.156.0",
|
|
54
|
+
"@genesislcap/foundation-ui": "14.156.0",
|
|
55
55
|
"@microsoft/fast-colors": "^5.3.1",
|
|
56
56
|
"@microsoft/fast-components": "^2.30.6",
|
|
57
57
|
"@microsoft/fast-element": "^1.12.0",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "248a54e595ec2ce241cb9ea5878092a5fec18fb1"
|
|
72
72
|
}
|