@genesislcap/foundation-zero 14.60.0 → 14.61.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.
- package/dist/custom-elements.json +290 -94
- 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": "*",
|
|
@@ -752,37 +760,6 @@
|
|
|
752
760
|
}
|
|
753
761
|
]
|
|
754
762
|
},
|
|
755
|
-
{
|
|
756
|
-
"kind": "javascript-module",
|
|
757
|
-
"path": "src/_config/index.ts",
|
|
758
|
-
"declarations": [],
|
|
759
|
-
"exports": [
|
|
760
|
-
{
|
|
761
|
-
"kind": "js",
|
|
762
|
-
"name": "*",
|
|
763
|
-
"declaration": {
|
|
764
|
-
"name": "*",
|
|
765
|
-
"package": "./styles"
|
|
766
|
-
}
|
|
767
|
-
},
|
|
768
|
-
{
|
|
769
|
-
"kind": "js",
|
|
770
|
-
"name": "*",
|
|
771
|
-
"declaration": {
|
|
772
|
-
"name": "*",
|
|
773
|
-
"package": "./tokens"
|
|
774
|
-
}
|
|
775
|
-
},
|
|
776
|
-
{
|
|
777
|
-
"kind": "js",
|
|
778
|
-
"name": "*",
|
|
779
|
-
"declaration": {
|
|
780
|
-
"name": "*",
|
|
781
|
-
"package": "./values"
|
|
782
|
-
}
|
|
783
|
-
}
|
|
784
|
-
]
|
|
785
|
-
},
|
|
786
763
|
{
|
|
787
764
|
"kind": "javascript-module",
|
|
788
765
|
"path": "src/accordion/accordion.stories.ts",
|
|
@@ -971,6 +948,37 @@
|
|
|
971
948
|
}
|
|
972
949
|
]
|
|
973
950
|
},
|
|
951
|
+
{
|
|
952
|
+
"kind": "javascript-module",
|
|
953
|
+
"path": "src/_config/index.ts",
|
|
954
|
+
"declarations": [],
|
|
955
|
+
"exports": [
|
|
956
|
+
{
|
|
957
|
+
"kind": "js",
|
|
958
|
+
"name": "*",
|
|
959
|
+
"declaration": {
|
|
960
|
+
"name": "*",
|
|
961
|
+
"package": "./styles"
|
|
962
|
+
}
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
"kind": "js",
|
|
966
|
+
"name": "*",
|
|
967
|
+
"declaration": {
|
|
968
|
+
"name": "*",
|
|
969
|
+
"package": "./tokens"
|
|
970
|
+
}
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"kind": "js",
|
|
974
|
+
"name": "*",
|
|
975
|
+
"declaration": {
|
|
976
|
+
"name": "*",
|
|
977
|
+
"package": "./values"
|
|
978
|
+
}
|
|
979
|
+
}
|
|
980
|
+
]
|
|
981
|
+
},
|
|
974
982
|
{
|
|
975
983
|
"kind": "javascript-module",
|
|
976
984
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -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",
|
|
@@ -10182,7 +10378,7 @@
|
|
|
10182
10378
|
},
|
|
10183
10379
|
{
|
|
10184
10380
|
"kind": "javascript-module",
|
|
10185
|
-
"path": "src/text-
|
|
10381
|
+
"path": "src/text-field/index.ts",
|
|
10186
10382
|
"declarations": [],
|
|
10187
10383
|
"exports": [
|
|
10188
10384
|
{
|
|
@@ -10190,7 +10386,7 @@
|
|
|
10190
10386
|
"name": "*",
|
|
10191
10387
|
"declaration": {
|
|
10192
10388
|
"name": "*",
|
|
10193
|
-
"package": "./text-
|
|
10389
|
+
"package": "./text-field"
|
|
10194
10390
|
}
|
|
10195
10391
|
},
|
|
10196
10392
|
{
|
|
@@ -10198,7 +10394,7 @@
|
|
|
10198
10394
|
"name": "*",
|
|
10199
10395
|
"declaration": {
|
|
10200
10396
|
"name": "*",
|
|
10201
|
-
"package": "./text-
|
|
10397
|
+
"package": "./text-field.styles"
|
|
10202
10398
|
}
|
|
10203
10399
|
},
|
|
10204
10400
|
{
|
|
@@ -10206,14 +10402,14 @@
|
|
|
10206
10402
|
"name": "*",
|
|
10207
10403
|
"declaration": {
|
|
10208
10404
|
"name": "*",
|
|
10209
|
-
"package": "./text-
|
|
10405
|
+
"package": "./text-field.template"
|
|
10210
10406
|
}
|
|
10211
10407
|
}
|
|
10212
10408
|
]
|
|
10213
10409
|
},
|
|
10214
10410
|
{
|
|
10215
10411
|
"kind": "javascript-module",
|
|
10216
|
-
"path": "src/text-
|
|
10412
|
+
"path": "src/text-field/text-field.stories.ts",
|
|
10217
10413
|
"declarations": [
|
|
10218
10414
|
{
|
|
10219
10415
|
"kind": "variable",
|
|
@@ -10221,7 +10417,7 @@
|
|
|
10221
10417
|
"type": {
|
|
10222
10418
|
"text": "Meta"
|
|
10223
10419
|
},
|
|
10224
|
-
"default": "{\n title: 'Text
|
|
10420
|
+
"default": "{\n title: 'Text Field',\n component: 'zero-text-field',\n}"
|
|
10225
10421
|
},
|
|
10226
10422
|
{
|
|
10227
10423
|
"kind": "variable",
|
|
@@ -10229,7 +10425,7 @@
|
|
|
10229
10425
|
"type": {
|
|
10230
10426
|
"text": "StoryObj"
|
|
10231
10427
|
},
|
|
10232
|
-
"default": "{\n render: () => html`\n <div style=\"
|
|
10428
|
+
"default": "{\n render: () => html`\n <div style=\"${wrapperStyle}\">\n <zero-text-field placeholder=\"Enter text...\">Text Field</zero-text-field>\n <zero-text-field value=\"some value\">Test label</zero-text-field>\n <zero-text-field value=\"disabled\" disabled>Test label 2</zero-text-field>\n <zero-text-field type=\"datetime-local\">Datetime local type</zero-text-field>\n <zero-text-field type=\"datetime-local\" step=\".001\">\n Datetime local with step attr\n </zero-text-field>\n </div>\n `,\n}"
|
|
10233
10429
|
}
|
|
10234
10430
|
],
|
|
10235
10431
|
"exports": [
|
|
@@ -10238,7 +10434,7 @@
|
|
|
10238
10434
|
"name": "default",
|
|
10239
10435
|
"declaration": {
|
|
10240
10436
|
"name": "meta",
|
|
10241
|
-
"module": "src/text-
|
|
10437
|
+
"module": "src/text-field/text-field.stories.ts"
|
|
10242
10438
|
}
|
|
10243
10439
|
},
|
|
10244
10440
|
{
|
|
@@ -10246,18 +10442,18 @@
|
|
|
10246
10442
|
"name": "Primary",
|
|
10247
10443
|
"declaration": {
|
|
10248
10444
|
"name": "Primary",
|
|
10249
|
-
"module": "src/text-
|
|
10445
|
+
"module": "src/text-field/text-field.stories.ts"
|
|
10250
10446
|
}
|
|
10251
10447
|
}
|
|
10252
10448
|
]
|
|
10253
10449
|
},
|
|
10254
10450
|
{
|
|
10255
10451
|
"kind": "javascript-module",
|
|
10256
|
-
"path": "src/text-
|
|
10452
|
+
"path": "src/text-field/text-field.styles.ts",
|
|
10257
10453
|
"declarations": [
|
|
10258
10454
|
{
|
|
10259
10455
|
"kind": "function",
|
|
10260
|
-
"name": "
|
|
10456
|
+
"name": "zeroTextFieldStyles",
|
|
10261
10457
|
"return": {
|
|
10262
10458
|
"type": {
|
|
10263
10459
|
"text": "ElementStyles"
|
|
@@ -10282,24 +10478,24 @@
|
|
|
10282
10478
|
"exports": [
|
|
10283
10479
|
{
|
|
10284
10480
|
"kind": "js",
|
|
10285
|
-
"name": "
|
|
10481
|
+
"name": "zeroTextFieldStyles",
|
|
10286
10482
|
"declaration": {
|
|
10287
|
-
"name": "
|
|
10288
|
-
"module": "src/text-
|
|
10483
|
+
"name": "zeroTextFieldStyles",
|
|
10484
|
+
"module": "src/text-field/text-field.styles.ts"
|
|
10289
10485
|
}
|
|
10290
10486
|
}
|
|
10291
10487
|
]
|
|
10292
10488
|
},
|
|
10293
10489
|
{
|
|
10294
10490
|
"kind": "javascript-module",
|
|
10295
|
-
"path": "src/text-
|
|
10491
|
+
"path": "src/text-field/text-field.template.ts",
|
|
10296
10492
|
"declarations": [
|
|
10297
10493
|
{
|
|
10298
10494
|
"kind": "function",
|
|
10299
|
-
"name": "
|
|
10495
|
+
"name": "zeroTextFieldTemplate",
|
|
10300
10496
|
"return": {
|
|
10301
10497
|
"type": {
|
|
10302
|
-
"text": "ViewTemplate<
|
|
10498
|
+
"text": "ViewTemplate<TextField>"
|
|
10303
10499
|
}
|
|
10304
10500
|
},
|
|
10305
10501
|
"parameters": [
|
|
@@ -10321,56 +10517,56 @@
|
|
|
10321
10517
|
"exports": [
|
|
10322
10518
|
{
|
|
10323
10519
|
"kind": "js",
|
|
10324
|
-
"name": "
|
|
10520
|
+
"name": "zeroTextFieldTemplate",
|
|
10325
10521
|
"declaration": {
|
|
10326
|
-
"name": "
|
|
10327
|
-
"module": "src/text-
|
|
10522
|
+
"name": "zeroTextFieldTemplate",
|
|
10523
|
+
"module": "src/text-field/text-field.template.ts"
|
|
10328
10524
|
}
|
|
10329
10525
|
}
|
|
10330
10526
|
]
|
|
10331
10527
|
},
|
|
10332
10528
|
{
|
|
10333
10529
|
"kind": "javascript-module",
|
|
10334
|
-
"path": "src/text-
|
|
10530
|
+
"path": "src/text-field/text-field.ts",
|
|
10335
10531
|
"declarations": [
|
|
10336
10532
|
{
|
|
10337
10533
|
"kind": "class",
|
|
10338
10534
|
"description": "",
|
|
10339
|
-
"name": "
|
|
10535
|
+
"name": "TextField",
|
|
10340
10536
|
"superclass": {
|
|
10341
|
-
"name": "
|
|
10537
|
+
"name": "FoundationTextField",
|
|
10342
10538
|
"package": "@genesislcap/foundation-ui"
|
|
10343
10539
|
},
|
|
10344
|
-
"tagName": "%%prefix%%-text-
|
|
10540
|
+
"tagName": "%%prefix%%-text-field",
|
|
10345
10541
|
"customElement": true
|
|
10346
10542
|
},
|
|
10347
10543
|
{
|
|
10348
10544
|
"kind": "variable",
|
|
10349
|
-
"name": "
|
|
10545
|
+
"name": "zeroTextField"
|
|
10350
10546
|
}
|
|
10351
10547
|
],
|
|
10352
10548
|
"exports": [
|
|
10353
10549
|
{
|
|
10354
10550
|
"kind": "js",
|
|
10355
|
-
"name": "
|
|
10551
|
+
"name": "TextField",
|
|
10356
10552
|
"declaration": {
|
|
10357
|
-
"name": "
|
|
10358
|
-
"module": "src/text-
|
|
10553
|
+
"name": "TextField",
|
|
10554
|
+
"module": "src/text-field/text-field.ts"
|
|
10359
10555
|
}
|
|
10360
10556
|
},
|
|
10361
10557
|
{
|
|
10362
10558
|
"kind": "js",
|
|
10363
|
-
"name": "
|
|
10559
|
+
"name": "zeroTextField",
|
|
10364
10560
|
"declaration": {
|
|
10365
|
-
"name": "
|
|
10366
|
-
"module": "src/text-
|
|
10561
|
+
"name": "zeroTextField",
|
|
10562
|
+
"module": "src/text-field/text-field.ts"
|
|
10367
10563
|
}
|
|
10368
10564
|
}
|
|
10369
10565
|
]
|
|
10370
10566
|
},
|
|
10371
10567
|
{
|
|
10372
10568
|
"kind": "javascript-module",
|
|
10373
|
-
"path": "src/text-
|
|
10569
|
+
"path": "src/text-area/index.ts",
|
|
10374
10570
|
"declarations": [],
|
|
10375
10571
|
"exports": [
|
|
10376
10572
|
{
|
|
@@ -10378,7 +10574,7 @@
|
|
|
10378
10574
|
"name": "*",
|
|
10379
10575
|
"declaration": {
|
|
10380
10576
|
"name": "*",
|
|
10381
|
-
"package": "./text-
|
|
10577
|
+
"package": "./text-area"
|
|
10382
10578
|
}
|
|
10383
10579
|
},
|
|
10384
10580
|
{
|
|
@@ -10386,7 +10582,7 @@
|
|
|
10386
10582
|
"name": "*",
|
|
10387
10583
|
"declaration": {
|
|
10388
10584
|
"name": "*",
|
|
10389
|
-
"package": "./text-
|
|
10585
|
+
"package": "./text-area.styles"
|
|
10390
10586
|
}
|
|
10391
10587
|
},
|
|
10392
10588
|
{
|
|
@@ -10394,14 +10590,14 @@
|
|
|
10394
10590
|
"name": "*",
|
|
10395
10591
|
"declaration": {
|
|
10396
10592
|
"name": "*",
|
|
10397
|
-
"package": "./text-
|
|
10593
|
+
"package": "./text-area.template"
|
|
10398
10594
|
}
|
|
10399
10595
|
}
|
|
10400
10596
|
]
|
|
10401
10597
|
},
|
|
10402
10598
|
{
|
|
10403
10599
|
"kind": "javascript-module",
|
|
10404
|
-
"path": "src/text-
|
|
10600
|
+
"path": "src/text-area/text-area.stories.ts",
|
|
10405
10601
|
"declarations": [
|
|
10406
10602
|
{
|
|
10407
10603
|
"kind": "variable",
|
|
@@ -10409,7 +10605,7 @@
|
|
|
10409
10605
|
"type": {
|
|
10410
10606
|
"text": "Meta"
|
|
10411
10607
|
},
|
|
10412
|
-
"default": "{\n title: 'Text
|
|
10608
|
+
"default": "{\n title: 'Text Area',\n component: 'zero-text-area',\n}"
|
|
10413
10609
|
},
|
|
10414
10610
|
{
|
|
10415
10611
|
"kind": "variable",
|
|
@@ -10417,7 +10613,7 @@
|
|
|
10417
10613
|
"type": {
|
|
10418
10614
|
"text": "StoryObj"
|
|
10419
10615
|
},
|
|
10420
|
-
"default": "{\n render: () => html`\n <div style=\"
|
|
10616
|
+
"default": "{\n render: () => html`\n <div style=\"height: 200px;\">\n <zero-text-area resize=\"both\" placeholder=\"Enter text...\">Text Area</zero-text-area>\n <zero-text-area value=\"some value\">Test label</zero-text-area>\n <zero-text-area value=\"disabled\" disabled>Test label 2</zero-text-area>\n </div>\n `,\n}"
|
|
10421
10617
|
}
|
|
10422
10618
|
],
|
|
10423
10619
|
"exports": [
|
|
@@ -10426,7 +10622,7 @@
|
|
|
10426
10622
|
"name": "default",
|
|
10427
10623
|
"declaration": {
|
|
10428
10624
|
"name": "meta",
|
|
10429
|
-
"module": "src/text-
|
|
10625
|
+
"module": "src/text-area/text-area.stories.ts"
|
|
10430
10626
|
}
|
|
10431
10627
|
},
|
|
10432
10628
|
{
|
|
@@ -10434,18 +10630,18 @@
|
|
|
10434
10630
|
"name": "Primary",
|
|
10435
10631
|
"declaration": {
|
|
10436
10632
|
"name": "Primary",
|
|
10437
|
-
"module": "src/text-
|
|
10633
|
+
"module": "src/text-area/text-area.stories.ts"
|
|
10438
10634
|
}
|
|
10439
10635
|
}
|
|
10440
10636
|
]
|
|
10441
10637
|
},
|
|
10442
10638
|
{
|
|
10443
10639
|
"kind": "javascript-module",
|
|
10444
|
-
"path": "src/text-
|
|
10640
|
+
"path": "src/text-area/text-area.styles.ts",
|
|
10445
10641
|
"declarations": [
|
|
10446
10642
|
{
|
|
10447
10643
|
"kind": "function",
|
|
10448
|
-
"name": "
|
|
10644
|
+
"name": "zeroTextAreaStyles",
|
|
10449
10645
|
"return": {
|
|
10450
10646
|
"type": {
|
|
10451
10647
|
"text": "ElementStyles"
|
|
@@ -10470,24 +10666,24 @@
|
|
|
10470
10666
|
"exports": [
|
|
10471
10667
|
{
|
|
10472
10668
|
"kind": "js",
|
|
10473
|
-
"name": "
|
|
10669
|
+
"name": "zeroTextAreaStyles",
|
|
10474
10670
|
"declaration": {
|
|
10475
|
-
"name": "
|
|
10476
|
-
"module": "src/text-
|
|
10671
|
+
"name": "zeroTextAreaStyles",
|
|
10672
|
+
"module": "src/text-area/text-area.styles.ts"
|
|
10477
10673
|
}
|
|
10478
10674
|
}
|
|
10479
10675
|
]
|
|
10480
10676
|
},
|
|
10481
10677
|
{
|
|
10482
10678
|
"kind": "javascript-module",
|
|
10483
|
-
"path": "src/text-
|
|
10679
|
+
"path": "src/text-area/text-area.template.ts",
|
|
10484
10680
|
"declarations": [
|
|
10485
10681
|
{
|
|
10486
10682
|
"kind": "function",
|
|
10487
|
-
"name": "
|
|
10683
|
+
"name": "zeroTextAreaTemplate",
|
|
10488
10684
|
"return": {
|
|
10489
10685
|
"type": {
|
|
10490
|
-
"text": "ViewTemplate<
|
|
10686
|
+
"text": "ViewTemplate<TextArea>"
|
|
10491
10687
|
}
|
|
10492
10688
|
},
|
|
10493
10689
|
"parameters": [
|
|
@@ -10509,49 +10705,49 @@
|
|
|
10509
10705
|
"exports": [
|
|
10510
10706
|
{
|
|
10511
10707
|
"kind": "js",
|
|
10512
|
-
"name": "
|
|
10708
|
+
"name": "zeroTextAreaTemplate",
|
|
10513
10709
|
"declaration": {
|
|
10514
|
-
"name": "
|
|
10515
|
-
"module": "src/text-
|
|
10710
|
+
"name": "zeroTextAreaTemplate",
|
|
10711
|
+
"module": "src/text-area/text-area.template.ts"
|
|
10516
10712
|
}
|
|
10517
10713
|
}
|
|
10518
10714
|
]
|
|
10519
10715
|
},
|
|
10520
10716
|
{
|
|
10521
10717
|
"kind": "javascript-module",
|
|
10522
|
-
"path": "src/text-
|
|
10718
|
+
"path": "src/text-area/text-area.ts",
|
|
10523
10719
|
"declarations": [
|
|
10524
10720
|
{
|
|
10525
10721
|
"kind": "class",
|
|
10526
10722
|
"description": "",
|
|
10527
|
-
"name": "
|
|
10723
|
+
"name": "TextArea",
|
|
10528
10724
|
"superclass": {
|
|
10529
|
-
"name": "
|
|
10725
|
+
"name": "FoundationTextArea",
|
|
10530
10726
|
"package": "@genesislcap/foundation-ui"
|
|
10531
10727
|
},
|
|
10532
|
-
"tagName": "%%prefix%%-text-
|
|
10728
|
+
"tagName": "%%prefix%%-text-area",
|
|
10533
10729
|
"customElement": true
|
|
10534
10730
|
},
|
|
10535
10731
|
{
|
|
10536
10732
|
"kind": "variable",
|
|
10537
|
-
"name": "
|
|
10733
|
+
"name": "zeroTextArea"
|
|
10538
10734
|
}
|
|
10539
10735
|
],
|
|
10540
10736
|
"exports": [
|
|
10541
10737
|
{
|
|
10542
10738
|
"kind": "js",
|
|
10543
|
-
"name": "
|
|
10739
|
+
"name": "TextArea",
|
|
10544
10740
|
"declaration": {
|
|
10545
|
-
"name": "
|
|
10546
|
-
"module": "src/text-
|
|
10741
|
+
"name": "TextArea",
|
|
10742
|
+
"module": "src/text-area/text-area.ts"
|
|
10547
10743
|
}
|
|
10548
10744
|
},
|
|
10549
10745
|
{
|
|
10550
10746
|
"kind": "js",
|
|
10551
|
-
"name": "
|
|
10747
|
+
"name": "zeroTextArea",
|
|
10552
10748
|
"declaration": {
|
|
10553
|
-
"name": "
|
|
10554
|
-
"module": "src/text-
|
|
10749
|
+
"name": "zeroTextArea",
|
|
10750
|
+
"module": "src/text-area/text-area.ts"
|
|
10555
10751
|
}
|
|
10556
10752
|
}
|
|
10557
10753
|
]
|
|
@@ -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,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,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"}
|
|
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,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,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.1",
|
|
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.1",
|
|
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.1",
|
|
79
|
+
"@genesislcap/foundation-ui": "14.61.1",
|
|
80
|
+
"@genesislcap/foundation-utils": "14.61.1",
|
|
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": "e6eb274148e662f0c463337f9e6b19a3954c33c1"
|
|
98
98
|
}
|