@genesislcap/foundation-zero 14.125.1 → 14.126.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.
|
@@ -808,6 +808,37 @@
|
|
|
808
808
|
}
|
|
809
809
|
]
|
|
810
810
|
},
|
|
811
|
+
{
|
|
812
|
+
"kind": "javascript-module",
|
|
813
|
+
"path": "src/_config/index.ts",
|
|
814
|
+
"declarations": [],
|
|
815
|
+
"exports": [
|
|
816
|
+
{
|
|
817
|
+
"kind": "js",
|
|
818
|
+
"name": "*",
|
|
819
|
+
"declaration": {
|
|
820
|
+
"name": "*",
|
|
821
|
+
"package": "./styles"
|
|
822
|
+
}
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
"kind": "js",
|
|
826
|
+
"name": "*",
|
|
827
|
+
"declaration": {
|
|
828
|
+
"name": "*",
|
|
829
|
+
"package": "./tokens"
|
|
830
|
+
}
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
"kind": "js",
|
|
834
|
+
"name": "*",
|
|
835
|
+
"declaration": {
|
|
836
|
+
"name": "*",
|
|
837
|
+
"package": "./values"
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
]
|
|
841
|
+
},
|
|
811
842
|
{
|
|
812
843
|
"kind": "javascript-module",
|
|
813
844
|
"path": "src/accordion/accordion.stories.ts",
|
|
@@ -996,37 +1027,6 @@
|
|
|
996
1027
|
}
|
|
997
1028
|
]
|
|
998
1029
|
},
|
|
999
|
-
{
|
|
1000
|
-
"kind": "javascript-module",
|
|
1001
|
-
"path": "src/_config/index.ts",
|
|
1002
|
-
"declarations": [],
|
|
1003
|
-
"exports": [
|
|
1004
|
-
{
|
|
1005
|
-
"kind": "js",
|
|
1006
|
-
"name": "*",
|
|
1007
|
-
"declaration": {
|
|
1008
|
-
"name": "*",
|
|
1009
|
-
"package": "./styles"
|
|
1010
|
-
}
|
|
1011
|
-
},
|
|
1012
|
-
{
|
|
1013
|
-
"kind": "js",
|
|
1014
|
-
"name": "*",
|
|
1015
|
-
"declaration": {
|
|
1016
|
-
"name": "*",
|
|
1017
|
-
"package": "./tokens"
|
|
1018
|
-
}
|
|
1019
|
-
},
|
|
1020
|
-
{
|
|
1021
|
-
"kind": "js",
|
|
1022
|
-
"name": "*",
|
|
1023
|
-
"declaration": {
|
|
1024
|
-
"name": "*",
|
|
1025
|
-
"package": "./values"
|
|
1026
|
-
}
|
|
1027
|
-
}
|
|
1028
|
-
]
|
|
1029
|
-
},
|
|
1030
1030
|
{
|
|
1031
1031
|
"kind": "javascript-module",
|
|
1032
1032
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -18116,6 +18116,14 @@
|
|
|
18116
18116
|
}
|
|
18117
18117
|
]
|
|
18118
18118
|
},
|
|
18119
|
+
{
|
|
18120
|
+
"kind": "variable",
|
|
18121
|
+
"name": "defaultHorizontalScrollZeroConfig",
|
|
18122
|
+
"type": {
|
|
18123
|
+
"text": "object"
|
|
18124
|
+
},
|
|
18125
|
+
"default": "{\n nextFlipper: html`\n <zero-flipper\n @click=\"${(x) => x.scrollToNext()}\"\n aria-hidden=\"${(x) => x.flippersHiddenFromAT}\"\n ></zero-flipper>\n `,\n previousFlipper: html`\n <zero-flipper\n @click=\"${(x) => x.scrollToPrevious()}\"\n direction=\"previous\"\n aria-hidden=\"${(x) => x.flippersHiddenFromAT}\"\n ></zero-flipper>\n `,\n}"
|
|
18126
|
+
},
|
|
18119
18127
|
{
|
|
18120
18128
|
"kind": "variable",
|
|
18121
18129
|
"name": "zeroHorizontalScroll"
|
|
@@ -18130,6 +18138,14 @@
|
|
|
18130
18138
|
"module": "src/horizontal-scroll/horizontal-scroll.ts"
|
|
18131
18139
|
}
|
|
18132
18140
|
},
|
|
18141
|
+
{
|
|
18142
|
+
"kind": "js",
|
|
18143
|
+
"name": "defaultHorizontalScrollZeroConfig",
|
|
18144
|
+
"declaration": {
|
|
18145
|
+
"name": "defaultHorizontalScrollZeroConfig",
|
|
18146
|
+
"module": "src/horizontal-scroll/horizontal-scroll.ts"
|
|
18147
|
+
}
|
|
18148
|
+
},
|
|
18133
18149
|
{
|
|
18134
18150
|
"kind": "js",
|
|
18135
18151
|
"name": "zeroHorizontalScroll",
|
|
@@ -4,5 +4,9 @@ import { HorizontalScroll as FoundationHorizontalScroll } from '@genesislcap/fou
|
|
|
4
4
|
*/
|
|
5
5
|
export declare class HorizontalScroll extends FoundationHorizontalScroll {
|
|
6
6
|
}
|
|
7
|
+
export declare const defaultHorizontalScrollZeroConfig: {
|
|
8
|
+
nextFlipper: import("@microsoft/fast-element").ViewTemplate<any, any>;
|
|
9
|
+
previousFlipper: import("@microsoft/fast-element").ViewTemplate<any, any>;
|
|
10
|
+
};
|
|
7
11
|
export declare const zeroHorizontalScroll: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof HorizontalScroll>;
|
|
8
12
|
//# sourceMappingURL=horizontal-scroll.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"horizontal-scroll.d.ts","sourceRoot":"","sources":["../../../src/horizontal-scroll/horizontal-scroll.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,IAAI,0BAA0B,
|
|
1
|
+
{"version":3,"file":"horizontal-scroll.d.ts","sourceRoot":"","sources":["../../../src/horizontal-scroll/horizontal-scroll.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,IAAI,0BAA0B,EAE/C,MAAM,4BAA4B,CAAC;AAKpC;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,0BAA0B;CAAG;AAEnE,eAAO,MAAM,iCAAiC;;;CAc7C,CAAC;AAEF,eAAO,MAAM,oBAAoB,gUAM/B,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { HorizontalScroll as FoundationHorizontalScroll,
|
|
1
|
+
import { HorizontalScroll as FoundationHorizontalScroll, foundationHorizontalScrollShadowOptions, } from '@genesislcap/foundation-ui';
|
|
2
|
+
import { html } from '@microsoft/fast-element';
|
|
2
3
|
import { zeroHorizontalScrollStyles as styles } from './horizontal-scroll.styles';
|
|
3
4
|
import { zeroHorizontalScrollTemplate as template } from './horizontal-scroll.template';
|
|
4
5
|
/**
|
|
@@ -6,5 +7,20 @@ import { zeroHorizontalScrollTemplate as template } from './horizontal-scroll.te
|
|
|
6
7
|
*/
|
|
7
8
|
export class HorizontalScroll extends FoundationHorizontalScroll {
|
|
8
9
|
}
|
|
10
|
+
export const defaultHorizontalScrollZeroConfig = {
|
|
11
|
+
nextFlipper: html `
|
|
12
|
+
<zero-flipper
|
|
13
|
+
@click="${(x) => x.scrollToNext()}"
|
|
14
|
+
aria-hidden="${(x) => x.flippersHiddenFromAT}"
|
|
15
|
+
></zero-flipper>
|
|
16
|
+
`,
|
|
17
|
+
previousFlipper: html `
|
|
18
|
+
<zero-flipper
|
|
19
|
+
@click="${(x) => x.scrollToPrevious()}"
|
|
20
|
+
direction="previous"
|
|
21
|
+
aria-hidden="${(x) => x.flippersHiddenFromAT}"
|
|
22
|
+
></zero-flipper>
|
|
23
|
+
`,
|
|
24
|
+
};
|
|
9
25
|
export const zeroHorizontalScroll = HorizontalScroll.compose(Object.assign({ baseName: 'horizontal-scroll', template,
|
|
10
|
-
styles, shadowOptions: foundationHorizontalScrollShadowOptions },
|
|
26
|
+
styles, shadowOptions: foundationHorizontalScrollShadowOptions }, defaultHorizontalScrollZeroConfig));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-zero",
|
|
3
3
|
"description": "Genesis Foundation Zero Design System",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.126.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@genesiscommunitysuccess/analyzer-import-alias-plugin": "^4.0.0",
|
|
70
|
-
"@genesislcap/genx": "14.
|
|
70
|
+
"@genesislcap/genx": "14.126.0",
|
|
71
71
|
"@storybook/addon-coverage": "^1.0.0",
|
|
72
72
|
"@storybook/addon-essentials": "^7.5.3",
|
|
73
73
|
"@storybook/addon-links": "^7.5.3",
|
|
@@ -82,10 +82,10 @@
|
|
|
82
82
|
"storybook": "^7.5.3"
|
|
83
83
|
},
|
|
84
84
|
"dependencies": {
|
|
85
|
-
"@genesislcap/foundation-comms": "14.
|
|
86
|
-
"@genesislcap/foundation-logger": "14.
|
|
87
|
-
"@genesislcap/foundation-ui": "14.
|
|
88
|
-
"@genesislcap/foundation-utils": "14.
|
|
85
|
+
"@genesislcap/foundation-comms": "14.126.0",
|
|
86
|
+
"@genesislcap/foundation-logger": "14.126.0",
|
|
87
|
+
"@genesislcap/foundation-ui": "14.126.0",
|
|
88
|
+
"@genesislcap/foundation-utils": "14.126.0",
|
|
89
89
|
"@microsoft/fast-colors": "^5.1.4",
|
|
90
90
|
"@microsoft/fast-components": "^2.21.3",
|
|
91
91
|
"@microsoft/fast-element": "^1.7.0",
|
|
@@ -102,5 +102,5 @@
|
|
|
102
102
|
"access": "public"
|
|
103
103
|
},
|
|
104
104
|
"customElements": "dist/custom-elements.json",
|
|
105
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "726c78d9ec85c2d1b308d070eb090db8b68e421d"
|
|
106
106
|
}
|