@genesislcap/foundation-zero 14.60.0 → 14.61.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/custom-elements.json +197 -1
- package/dist/dts/base-components.d.ts +1 -0
- package/dist/dts/base-components.d.ts.map +1 -1
- package/dist/dts/horizontal-scroll/horizontal-scroll.d.ts +8 -0
- package/dist/dts/horizontal-scroll/horizontal-scroll.d.ts.map +1 -0
- package/dist/dts/horizontal-scroll/horizontal-scroll.stories.d.ts +5 -0
- package/dist/dts/horizontal-scroll/horizontal-scroll.stories.d.ts.map +1 -0
- package/dist/dts/horizontal-scroll/horizontal-scroll.styles.d.ts +4 -0
- package/dist/dts/horizontal-scroll/horizontal-scroll.styles.d.ts.map +1 -0
- package/dist/dts/horizontal-scroll/horizontal-scroll.template.d.ts +5 -0
- package/dist/dts/horizontal-scroll/horizontal-scroll.template.d.ts.map +1 -0
- package/dist/dts/horizontal-scroll/index.d.ts +4 -0
- package/dist/dts/horizontal-scroll/index.d.ts.map +1 -0
- package/dist/dts/index.d.ts +1 -0
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/esm/base-components.js +2 -0
- package/dist/esm/horizontal-scroll/horizontal-scroll.js +10 -0
- package/dist/esm/horizontal-scroll/horizontal-scroll.stories.js +22 -0
- package/dist/esm/horizontal-scroll/horizontal-scroll.styles.js +5 -0
- package/dist/esm/horizontal-scroll/horizontal-scroll.template.js +2 -0
- package/dist/esm/horizontal-scroll/index.js +3 -0
- package/dist/esm/index.js +1 -0
- package/package.json +6 -6
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"type": {
|
|
13
13
|
"text": "object"
|
|
14
14
|
},
|
|
15
|
-
"default": "{\n zeroAccordion,\n zeroAccordionItem,\n zeroActionsMenu,\n zeroAnchor,\n zeroAnchoredRegion,\n zeroBadge,\n zeroBanner,\n zeroBreadcrumbItem,\n zeroBreadcrumb,\n zeroButton,\n zeroCard,\n zeroCheckbox,\n zeroCombobox,\n zeroConnectionIndicator,\n zeroDataGrid,\n zeroDesignSystemProvider,\n zeroDialog,\n zeroDatePicker,\n zeroDisclosure,\n zeroDivider,\n zeroDropdownMenu,\n zeroErrorBoundary,\n zeroNotificationListener,\n zeroErrorBanner,\n zeroErrorDialog,\n zeroFileUpload,\n zeroFilter,\n zeroFilterBar,\n zeroFlexLayout,\n zeroFlipper,\n zeroFlyout,\n zeroGridLayout,\n zeroGridLayoutItem,\n zeroIcon,\n zeroListbox,\n zeroListboxOption,\n zeroMenu,\n zeroMenuItem,\n zeroModal,\n zeroMultiselect,\n zeroNumberField,\n zeroProgress,\n zeroProgressRing,\n zeroRadio,\n zeroRadioGroup,\n zeroSegmentedControl,\n zeroSegmentedItem,\n zeroSelect,\n zeroSkeleton,\n zeroSlider,\n zeroSnackbar,\n zeroSwitch,\n zeroTab,\n zeroTabPanel,\n zeroTabs,\n zeroTextArea,\n zeroTextField,\n zeroToast,\n zeroToolbar,\n zeroTooltip,\n zeroTreeItem,\n zeroTreeView,\n zeroUrlInput,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
|
|
15
|
+
"default": "{\n zeroAccordion,\n zeroAccordionItem,\n zeroActionsMenu,\n zeroAnchor,\n zeroAnchoredRegion,\n zeroBadge,\n zeroBanner,\n zeroBreadcrumbItem,\n zeroBreadcrumb,\n zeroButton,\n zeroCard,\n zeroCheckbox,\n zeroCombobox,\n zeroConnectionIndicator,\n zeroDataGrid,\n zeroDesignSystemProvider,\n zeroDialog,\n zeroDatePicker,\n zeroDisclosure,\n zeroDivider,\n zeroDropdownMenu,\n zeroErrorBoundary,\n zeroNotificationListener,\n zeroErrorBanner,\n zeroErrorDialog,\n zeroFileUpload,\n zeroFilter,\n zeroFilterBar,\n zeroFlexLayout,\n zeroFlipper,\n zeroFlyout,\n zeroGridLayout,\n zeroGridLayoutItem,\n zeroHorizontalScroll,\n zeroIcon,\n zeroListbox,\n zeroListboxOption,\n zeroMenu,\n zeroMenuItem,\n zeroModal,\n zeroMultiselect,\n zeroNumberField,\n zeroProgress,\n zeroProgressRing,\n zeroRadio,\n zeroRadioGroup,\n zeroSegmentedControl,\n zeroSegmentedItem,\n zeroSelect,\n zeroSkeleton,\n zeroSlider,\n zeroSnackbar,\n zeroSwitch,\n zeroTab,\n zeroTabPanel,\n zeroTabs,\n zeroTextArea,\n zeroTextField,\n zeroToast,\n zeroToolbar,\n zeroTooltip,\n zeroTreeItem,\n zeroTreeView,\n zeroUrlInput,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
18
|
"exports": [
|
|
@@ -330,6 +330,14 @@
|
|
|
330
330
|
"package": "./grid-layout-item"
|
|
331
331
|
}
|
|
332
332
|
},
|
|
333
|
+
{
|
|
334
|
+
"kind": "js",
|
|
335
|
+
"name": "*",
|
|
336
|
+
"declaration": {
|
|
337
|
+
"name": "*",
|
|
338
|
+
"package": "./horizontal-scroll"
|
|
339
|
+
}
|
|
340
|
+
},
|
|
333
341
|
{
|
|
334
342
|
"kind": "js",
|
|
335
343
|
"name": "*",
|
|
@@ -6206,6 +6214,194 @@
|
|
|
6206
6214
|
}
|
|
6207
6215
|
]
|
|
6208
6216
|
},
|
|
6217
|
+
{
|
|
6218
|
+
"kind": "javascript-module",
|
|
6219
|
+
"path": "src/horizontal-scroll/horizontal-scroll.stories.ts",
|
|
6220
|
+
"declarations": [
|
|
6221
|
+
{
|
|
6222
|
+
"kind": "variable",
|
|
6223
|
+
"name": "meta",
|
|
6224
|
+
"type": {
|
|
6225
|
+
"text": "Meta"
|
|
6226
|
+
},
|
|
6227
|
+
"default": "{\n title: 'Horizontal Scroll',\n component: 'zero-horizontal-scroll',\n}"
|
|
6228
|
+
},
|
|
6229
|
+
{
|
|
6230
|
+
"kind": "variable",
|
|
6231
|
+
"name": "Primary",
|
|
6232
|
+
"type": {
|
|
6233
|
+
"text": "StoryObj"
|
|
6234
|
+
},
|
|
6235
|
+
"default": "{\n render: () => html`\n <zero-horizontal-scroll style=${horizontalScrollStyle}>\n ${repeat(\n cards,\n (item) => item,\n (item) => html`\n <zero-card style=${cardStyle}>\n Card number ${item}\n <zero-button>A button</zero-button>\n </zero-card>\n `,\n )}\n </zero-horizontal-scroll>\n `,\n}"
|
|
6236
|
+
}
|
|
6237
|
+
],
|
|
6238
|
+
"exports": [
|
|
6239
|
+
{
|
|
6240
|
+
"kind": "js",
|
|
6241
|
+
"name": "default",
|
|
6242
|
+
"declaration": {
|
|
6243
|
+
"name": "meta",
|
|
6244
|
+
"module": "src/horizontal-scroll/horizontal-scroll.stories.ts"
|
|
6245
|
+
}
|
|
6246
|
+
},
|
|
6247
|
+
{
|
|
6248
|
+
"kind": "js",
|
|
6249
|
+
"name": "Primary",
|
|
6250
|
+
"declaration": {
|
|
6251
|
+
"name": "Primary",
|
|
6252
|
+
"module": "src/horizontal-scroll/horizontal-scroll.stories.ts"
|
|
6253
|
+
}
|
|
6254
|
+
}
|
|
6255
|
+
]
|
|
6256
|
+
},
|
|
6257
|
+
{
|
|
6258
|
+
"kind": "javascript-module",
|
|
6259
|
+
"path": "src/horizontal-scroll/horizontal-scroll.styles.ts",
|
|
6260
|
+
"declarations": [
|
|
6261
|
+
{
|
|
6262
|
+
"kind": "function",
|
|
6263
|
+
"name": "zeroHorizontalScrollStyles",
|
|
6264
|
+
"return": {
|
|
6265
|
+
"type": {
|
|
6266
|
+
"text": "ElementStyles"
|
|
6267
|
+
}
|
|
6268
|
+
},
|
|
6269
|
+
"parameters": [
|
|
6270
|
+
{
|
|
6271
|
+
"name": "context",
|
|
6272
|
+
"type": {
|
|
6273
|
+
"text": "ElementDefinitionContext"
|
|
6274
|
+
}
|
|
6275
|
+
},
|
|
6276
|
+
{
|
|
6277
|
+
"name": "definition",
|
|
6278
|
+
"type": {
|
|
6279
|
+
"text": "FoundationElementDefinition"
|
|
6280
|
+
}
|
|
6281
|
+
}
|
|
6282
|
+
]
|
|
6283
|
+
}
|
|
6284
|
+
],
|
|
6285
|
+
"exports": [
|
|
6286
|
+
{
|
|
6287
|
+
"kind": "js",
|
|
6288
|
+
"name": "zeroHorizontalScrollStyles",
|
|
6289
|
+
"declaration": {
|
|
6290
|
+
"name": "zeroHorizontalScrollStyles",
|
|
6291
|
+
"module": "src/horizontal-scroll/horizontal-scroll.styles.ts"
|
|
6292
|
+
}
|
|
6293
|
+
}
|
|
6294
|
+
]
|
|
6295
|
+
},
|
|
6296
|
+
{
|
|
6297
|
+
"kind": "javascript-module",
|
|
6298
|
+
"path": "src/horizontal-scroll/horizontal-scroll.template.ts",
|
|
6299
|
+
"declarations": [
|
|
6300
|
+
{
|
|
6301
|
+
"kind": "function",
|
|
6302
|
+
"name": "zeroHorizontalScrollTemplate",
|
|
6303
|
+
"return": {
|
|
6304
|
+
"type": {
|
|
6305
|
+
"text": "ViewTemplate<HorizontalScroll>"
|
|
6306
|
+
}
|
|
6307
|
+
},
|
|
6308
|
+
"parameters": [
|
|
6309
|
+
{
|
|
6310
|
+
"name": "context",
|
|
6311
|
+
"type": {
|
|
6312
|
+
"text": "ElementDefinitionContext"
|
|
6313
|
+
}
|
|
6314
|
+
},
|
|
6315
|
+
{
|
|
6316
|
+
"name": "definition",
|
|
6317
|
+
"type": {
|
|
6318
|
+
"text": "FoundationElementDefinition"
|
|
6319
|
+
}
|
|
6320
|
+
}
|
|
6321
|
+
]
|
|
6322
|
+
}
|
|
6323
|
+
],
|
|
6324
|
+
"exports": [
|
|
6325
|
+
{
|
|
6326
|
+
"kind": "js",
|
|
6327
|
+
"name": "zeroHorizontalScrollTemplate",
|
|
6328
|
+
"declaration": {
|
|
6329
|
+
"name": "zeroHorizontalScrollTemplate",
|
|
6330
|
+
"module": "src/horizontal-scroll/horizontal-scroll.template.ts"
|
|
6331
|
+
}
|
|
6332
|
+
}
|
|
6333
|
+
]
|
|
6334
|
+
},
|
|
6335
|
+
{
|
|
6336
|
+
"kind": "javascript-module",
|
|
6337
|
+
"path": "src/horizontal-scroll/horizontal-scroll.ts",
|
|
6338
|
+
"declarations": [
|
|
6339
|
+
{
|
|
6340
|
+
"kind": "class",
|
|
6341
|
+
"description": "",
|
|
6342
|
+
"name": "HorizontalScroll",
|
|
6343
|
+
"superclass": {
|
|
6344
|
+
"name": "FoundationHorizontalScroll",
|
|
6345
|
+
"package": "@genesislcap/foundation-ui"
|
|
6346
|
+
},
|
|
6347
|
+
"tagName": "%%prefix%%-horizontal-scroll",
|
|
6348
|
+
"customElement": true
|
|
6349
|
+
},
|
|
6350
|
+
{
|
|
6351
|
+
"kind": "variable",
|
|
6352
|
+
"name": "zeroHorizontalScroll"
|
|
6353
|
+
}
|
|
6354
|
+
],
|
|
6355
|
+
"exports": [
|
|
6356
|
+
{
|
|
6357
|
+
"kind": "js",
|
|
6358
|
+
"name": "HorizontalScroll",
|
|
6359
|
+
"declaration": {
|
|
6360
|
+
"name": "HorizontalScroll",
|
|
6361
|
+
"module": "src/horizontal-scroll/horizontal-scroll.ts"
|
|
6362
|
+
}
|
|
6363
|
+
},
|
|
6364
|
+
{
|
|
6365
|
+
"kind": "js",
|
|
6366
|
+
"name": "zeroHorizontalScroll",
|
|
6367
|
+
"declaration": {
|
|
6368
|
+
"name": "zeroHorizontalScroll",
|
|
6369
|
+
"module": "src/horizontal-scroll/horizontal-scroll.ts"
|
|
6370
|
+
}
|
|
6371
|
+
}
|
|
6372
|
+
]
|
|
6373
|
+
},
|
|
6374
|
+
{
|
|
6375
|
+
"kind": "javascript-module",
|
|
6376
|
+
"path": "src/horizontal-scroll/index.ts",
|
|
6377
|
+
"declarations": [],
|
|
6378
|
+
"exports": [
|
|
6379
|
+
{
|
|
6380
|
+
"kind": "js",
|
|
6381
|
+
"name": "*",
|
|
6382
|
+
"declaration": {
|
|
6383
|
+
"name": "*",
|
|
6384
|
+
"package": "./horizontal-scroll"
|
|
6385
|
+
}
|
|
6386
|
+
},
|
|
6387
|
+
{
|
|
6388
|
+
"kind": "js",
|
|
6389
|
+
"name": "*",
|
|
6390
|
+
"declaration": {
|
|
6391
|
+
"name": "*",
|
|
6392
|
+
"package": "./horizontal-scroll.styles"
|
|
6393
|
+
}
|
|
6394
|
+
},
|
|
6395
|
+
{
|
|
6396
|
+
"kind": "js",
|
|
6397
|
+
"name": "*",
|
|
6398
|
+
"declaration": {
|
|
6399
|
+
"name": "*",
|
|
6400
|
+
"package": "./horizontal-scroll.template"
|
|
6401
|
+
}
|
|
6402
|
+
}
|
|
6403
|
+
]
|
|
6404
|
+
},
|
|
6209
6405
|
{
|
|
6210
6406
|
"kind": "javascript-module",
|
|
6211
6407
|
"path": "src/icon/icon.stories.ts",
|
|
@@ -161,6 +161,7 @@ export declare const baseComponents: {
|
|
|
161
161
|
shadowOptions: ShadowRootInit;
|
|
162
162
|
template: import("@microsoft/fast-element").ViewTemplate<import("@genesislcap/foundation-ui").GridLayoutItem, any>;
|
|
163
163
|
}, typeof import("./grid-layout-item").GridLayoutItem>;
|
|
164
|
+
zeroHorizontalScroll: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./horizontal-scroll").HorizontalScroll>;
|
|
164
165
|
zeroIcon: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./icon").Icon>;
|
|
165
166
|
zeroListbox: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./listbox").Listbox>;
|
|
166
167
|
zeroListboxOption: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./listbox-option").ListboxOption>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-components.d.ts","sourceRoot":"","sources":["../../src/base-components.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"base-components.d.ts","sourceRoot":"","sources":["../../src/base-components.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAkE5D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAiEJ,SAAS,WAAW,GAAG,EAAE;CAe/C,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HorizontalScroll as FoundationHorizontalScroll } from '@genesislcap/foundation-ui';
|
|
2
|
+
/**
|
|
3
|
+
* @tagname %%prefix%%-horizontal-scroll
|
|
4
|
+
*/
|
|
5
|
+
export declare class HorizontalScroll extends FoundationHorizontalScroll {
|
|
6
|
+
}
|
|
7
|
+
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
|
+
//# sourceMappingURL=horizontal-scroll.d.ts.map
|
|
@@ -0,0 +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,EAG/C,MAAM,4BAA4B,CAAC;AAIpC;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,0BAA0B;CAAG;AAEnE,eAAO,MAAM,oBAAoB,gUAM/B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"horizontal-scroll.stories.d.ts","sourceRoot":"","sources":["../../../src/horizontal-scroll/horizontal-scroll.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;AAKpB,eAAO,MAAM,OAAO,EAAE,QAerB,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 zeroHorizontalScrollStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ElementStyles;
|
|
4
|
+
//# sourceMappingURL=horizontal-scroll.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"horizontal-scroll.styles.d.ts","sourceRoot":"","sources":["../../../src/horizontal-scroll/horizontal-scroll.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,0BAA0B,YAC5B,wBAAwB,cACrB,2BAA2B,KACtC,aAEF,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { HorizontalScroll } from './horizontal-scroll';
|
|
4
|
+
export declare const zeroHorizontalScrollTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<HorizontalScroll>;
|
|
5
|
+
//# sourceMappingURL=horizontal-scroll.template.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"horizontal-scroll.template.d.ts","sourceRoot":"","sources":["../../../src/horizontal-scroll/horizontal-scroll.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,eAAO,MAAM,4BAA4B,YAC9B,wBAAwB,cACrB,2BAA2B,KACtC,aAAa,gBAAgB,CAA4D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/horizontal-scroll/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC"}
|
package/dist/dts/index.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ export * from './flipper';
|
|
|
35
35
|
export * from './flyout';
|
|
36
36
|
export * from './grid-layout';
|
|
37
37
|
export * from './grid-layout-item';
|
|
38
|
+
export * from './horizontal-scroll';
|
|
38
39
|
export * from './icon';
|
|
39
40
|
export * from './listbox';
|
|
40
41
|
export * from './listbox-option';
|
package/dist/dts/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,CAAC;AAE/C,eAAO,MAAM,wBAAwB,yDAAuD,CAAC;AAE7F,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,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5B,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC"}
|
|
@@ -31,6 +31,7 @@ import { zeroFlipper } from './flipper';
|
|
|
31
31
|
import { zeroFlyout } from './flyout';
|
|
32
32
|
import { zeroGridLayout } from './grid-layout';
|
|
33
33
|
import { zeroGridLayoutItem } from './grid-layout-item';
|
|
34
|
+
import { zeroHorizontalScroll } from './horizontal-scroll';
|
|
34
35
|
import { zeroIcon } from './icon';
|
|
35
36
|
import { zeroListbox } from './listbox';
|
|
36
37
|
import { zeroListboxOption } from './listbox-option';
|
|
@@ -96,6 +97,7 @@ export const baseComponents = {
|
|
|
96
97
|
zeroFlyout,
|
|
97
98
|
zeroGridLayout,
|
|
98
99
|
zeroGridLayoutItem,
|
|
100
|
+
zeroHorizontalScroll,
|
|
99
101
|
zeroIcon,
|
|
100
102
|
zeroListbox,
|
|
101
103
|
zeroListboxOption,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HorizontalScroll as FoundationHorizontalScroll, defaultHorizontalScrollConfig, foundationHorizontalScrollShadowOptions, } from '@genesislcap/foundation-ui';
|
|
2
|
+
import { zeroHorizontalScrollStyles as styles } from './horizontal-scroll.styles';
|
|
3
|
+
import { zeroHorizontalScrollTemplate as template } from './horizontal-scroll.template';
|
|
4
|
+
/**
|
|
5
|
+
* @tagname %%prefix%%-horizontal-scroll
|
|
6
|
+
*/
|
|
7
|
+
export class HorizontalScroll extends FoundationHorizontalScroll {
|
|
8
|
+
}
|
|
9
|
+
export const zeroHorizontalScroll = HorizontalScroll.compose(Object.assign({ baseName: 'horizontal-scroll', template,
|
|
10
|
+
styles, shadowOptions: foundationHorizontalScrollShadowOptions }, defaultHorizontalScrollConfig));
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { html } from 'lit-html';
|
|
2
|
+
import { repeat } from 'lit-html/directives/repeat.js';
|
|
3
|
+
const meta = {
|
|
4
|
+
title: 'Horizontal Scroll',
|
|
5
|
+
component: 'zero-horizontal-scroll',
|
|
6
|
+
};
|
|
7
|
+
export default meta;
|
|
8
|
+
const horizontalScrollStyle = 'width: 400px;padding-left: 16px;';
|
|
9
|
+
const cardStyle = 'padding: 10px;';
|
|
10
|
+
const cards = Array.from({ length: 8 }, (_, i) => i + 1);
|
|
11
|
+
export const Primary = {
|
|
12
|
+
render: () => html `
|
|
13
|
+
<zero-horizontal-scroll style=${horizontalScrollStyle}>
|
|
14
|
+
${repeat(cards, (item) => item, (item) => html `
|
|
15
|
+
<zero-card style=${cardStyle}>
|
|
16
|
+
Card number ${item}
|
|
17
|
+
<zero-button>A button</zero-button>
|
|
18
|
+
</zero-card>
|
|
19
|
+
`)}
|
|
20
|
+
</zero-horizontal-scroll>
|
|
21
|
+
`,
|
|
22
|
+
};
|
package/dist/esm/index.js
CHANGED
|
@@ -35,6 +35,7 @@ export * from './flipper';
|
|
|
35
35
|
export * from './flyout';
|
|
36
36
|
export * from './grid-layout';
|
|
37
37
|
export * from './grid-layout-item';
|
|
38
|
+
export * from './horizontal-scroll';
|
|
38
39
|
export * from './icon';
|
|
39
40
|
export * from './listbox';
|
|
40
41
|
export * from './listbox-option';
|
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.61.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"storybook": "storybook dev -p 6006"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@genesislcap/genx": "14.
|
|
65
|
+
"@genesislcap/genx": "14.61.0",
|
|
66
66
|
"@storybook/addon-essentials": "^7.0.0",
|
|
67
67
|
"@storybook/addon-links": "^7.0.0",
|
|
68
68
|
"@storybook/addons": "^7.0.0",
|
|
@@ -75,9 +75,9 @@
|
|
|
75
75
|
"storybook": "^7.0.0"
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
|
-
"@genesislcap/foundation-comms": "14.
|
|
79
|
-
"@genesislcap/foundation-ui": "14.
|
|
80
|
-
"@genesislcap/foundation-utils": "14.
|
|
78
|
+
"@genesislcap/foundation-comms": "14.61.0",
|
|
79
|
+
"@genesislcap/foundation-ui": "14.61.0",
|
|
80
|
+
"@genesislcap/foundation-utils": "14.61.0",
|
|
81
81
|
"@microsoft/fast-colors": "^5.1.4",
|
|
82
82
|
"@microsoft/fast-components": "^2.21.3",
|
|
83
83
|
"@microsoft/fast-element": "^1.7.0",
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
"access": "public"
|
|
95
95
|
},
|
|
96
96
|
"customElements": "dist/custom-elements.json",
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "ce85a561be8b6df2896d826b0aff962a2460897f"
|
|
98
98
|
}
|