@genesislcap/foundation-zero 14.53.1-alpha-d3bad6f.0 → 14.54.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/index.d.ts +1 -0
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/listbox/index.d.ts +4 -0
- package/dist/dts/listbox/index.d.ts.map +1 -0
- package/dist/dts/listbox/listbox.d.ts +8 -0
- package/dist/dts/listbox/listbox.d.ts.map +1 -0
- package/dist/dts/listbox/listbox.stories.d.ts +5 -0
- package/dist/dts/listbox/listbox.stories.d.ts.map +1 -0
- package/dist/dts/listbox/listbox.styles.d.ts +4 -0
- package/dist/dts/listbox/listbox.styles.d.ts.map +1 -0
- package/dist/dts/listbox/listbox.template.d.ts +5 -0
- package/dist/dts/listbox/listbox.template.d.ts.map +1 -0
- package/dist/esm/base-components.js +2 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/listbox/index.js +3 -0
- package/dist/esm/listbox/listbox.js +10 -0
- package/dist/esm/listbox/listbox.stories.js +15 -0
- package/dist/esm/listbox/listbox.styles.js +9 -0
- package/dist/esm/listbox/listbox.template.js +2 -0
- package/package.json +6 -6
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"type": {
|
|
13
13
|
"text": "object"
|
|
14
14
|
},
|
|
15
|
-
"default": "{\n zeroActionsMenu,\n zeroAnchor,\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 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 zeroActionsMenu,\n zeroAnchor,\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}"
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
18
|
"exports": [
|
|
@@ -314,6 +314,14 @@
|
|
|
314
314
|
"package": "./icon"
|
|
315
315
|
}
|
|
316
316
|
},
|
|
317
|
+
{
|
|
318
|
+
"kind": "js",
|
|
319
|
+
"name": "*",
|
|
320
|
+
"declaration": {
|
|
321
|
+
"name": "*",
|
|
322
|
+
"package": "./listbox"
|
|
323
|
+
}
|
|
324
|
+
},
|
|
317
325
|
{
|
|
318
326
|
"kind": "js",
|
|
319
327
|
"name": "*",
|
|
@@ -5833,6 +5841,194 @@
|
|
|
5833
5841
|
}
|
|
5834
5842
|
]
|
|
5835
5843
|
},
|
|
5844
|
+
{
|
|
5845
|
+
"kind": "javascript-module",
|
|
5846
|
+
"path": "src/listbox/index.ts",
|
|
5847
|
+
"declarations": [],
|
|
5848
|
+
"exports": [
|
|
5849
|
+
{
|
|
5850
|
+
"kind": "js",
|
|
5851
|
+
"name": "*",
|
|
5852
|
+
"declaration": {
|
|
5853
|
+
"name": "*",
|
|
5854
|
+
"package": "./listbox.template"
|
|
5855
|
+
}
|
|
5856
|
+
},
|
|
5857
|
+
{
|
|
5858
|
+
"kind": "js",
|
|
5859
|
+
"name": "*",
|
|
5860
|
+
"declaration": {
|
|
5861
|
+
"name": "*",
|
|
5862
|
+
"package": "./listbox.styles"
|
|
5863
|
+
}
|
|
5864
|
+
},
|
|
5865
|
+
{
|
|
5866
|
+
"kind": "js",
|
|
5867
|
+
"name": "*",
|
|
5868
|
+
"declaration": {
|
|
5869
|
+
"name": "*",
|
|
5870
|
+
"package": "./listbox"
|
|
5871
|
+
}
|
|
5872
|
+
}
|
|
5873
|
+
]
|
|
5874
|
+
},
|
|
5875
|
+
{
|
|
5876
|
+
"kind": "javascript-module",
|
|
5877
|
+
"path": "src/listbox/listbox.stories.ts",
|
|
5878
|
+
"declarations": [
|
|
5879
|
+
{
|
|
5880
|
+
"kind": "variable",
|
|
5881
|
+
"name": "meta",
|
|
5882
|
+
"type": {
|
|
5883
|
+
"text": "Meta"
|
|
5884
|
+
},
|
|
5885
|
+
"default": "{\n title: 'Listbox',\n component: 'zero-listbox',\n}"
|
|
5886
|
+
},
|
|
5887
|
+
{
|
|
5888
|
+
"kind": "variable",
|
|
5889
|
+
"name": "Primary",
|
|
5890
|
+
"type": {
|
|
5891
|
+
"text": "StoryObj"
|
|
5892
|
+
},
|
|
5893
|
+
"default": "{\n render: () => html`\n <zero-listbox style=\"width: 200px;\">\n <zero-option>Option 1</zero-option>\n <zero-option>Option 2</zero-option>\n <zero-option>Option 3</zero-option>\n </zero-listbox>\n `,\n}"
|
|
5894
|
+
}
|
|
5895
|
+
],
|
|
5896
|
+
"exports": [
|
|
5897
|
+
{
|
|
5898
|
+
"kind": "js",
|
|
5899
|
+
"name": "default",
|
|
5900
|
+
"declaration": {
|
|
5901
|
+
"name": "meta",
|
|
5902
|
+
"module": "src/listbox/listbox.stories.ts"
|
|
5903
|
+
}
|
|
5904
|
+
},
|
|
5905
|
+
{
|
|
5906
|
+
"kind": "js",
|
|
5907
|
+
"name": "Primary",
|
|
5908
|
+
"declaration": {
|
|
5909
|
+
"name": "Primary",
|
|
5910
|
+
"module": "src/listbox/listbox.stories.ts"
|
|
5911
|
+
}
|
|
5912
|
+
}
|
|
5913
|
+
]
|
|
5914
|
+
},
|
|
5915
|
+
{
|
|
5916
|
+
"kind": "javascript-module",
|
|
5917
|
+
"path": "src/listbox/listbox.styles.ts",
|
|
5918
|
+
"declarations": [
|
|
5919
|
+
{
|
|
5920
|
+
"kind": "function",
|
|
5921
|
+
"name": "zeroListboxStyles",
|
|
5922
|
+
"return": {
|
|
5923
|
+
"type": {
|
|
5924
|
+
"text": "ElementStyles"
|
|
5925
|
+
}
|
|
5926
|
+
},
|
|
5927
|
+
"parameters": [
|
|
5928
|
+
{
|
|
5929
|
+
"name": "context",
|
|
5930
|
+
"type": {
|
|
5931
|
+
"text": "ElementDefinitionContext"
|
|
5932
|
+
}
|
|
5933
|
+
},
|
|
5934
|
+
{
|
|
5935
|
+
"name": "definition",
|
|
5936
|
+
"type": {
|
|
5937
|
+
"text": "FoundationElementDefinition"
|
|
5938
|
+
}
|
|
5939
|
+
}
|
|
5940
|
+
]
|
|
5941
|
+
}
|
|
5942
|
+
],
|
|
5943
|
+
"exports": [
|
|
5944
|
+
{
|
|
5945
|
+
"kind": "js",
|
|
5946
|
+
"name": "zeroListboxStyles",
|
|
5947
|
+
"declaration": {
|
|
5948
|
+
"name": "zeroListboxStyles",
|
|
5949
|
+
"module": "src/listbox/listbox.styles.ts"
|
|
5950
|
+
}
|
|
5951
|
+
}
|
|
5952
|
+
]
|
|
5953
|
+
},
|
|
5954
|
+
{
|
|
5955
|
+
"kind": "javascript-module",
|
|
5956
|
+
"path": "src/listbox/listbox.template.ts",
|
|
5957
|
+
"declarations": [
|
|
5958
|
+
{
|
|
5959
|
+
"kind": "function",
|
|
5960
|
+
"name": "zeroListboxTemplate",
|
|
5961
|
+
"return": {
|
|
5962
|
+
"type": {
|
|
5963
|
+
"text": "ViewTemplate<Listbox>"
|
|
5964
|
+
}
|
|
5965
|
+
},
|
|
5966
|
+
"parameters": [
|
|
5967
|
+
{
|
|
5968
|
+
"name": "context",
|
|
5969
|
+
"type": {
|
|
5970
|
+
"text": "ElementDefinitionContext"
|
|
5971
|
+
}
|
|
5972
|
+
},
|
|
5973
|
+
{
|
|
5974
|
+
"name": "definition",
|
|
5975
|
+
"type": {
|
|
5976
|
+
"text": "FoundationElementDefinition"
|
|
5977
|
+
}
|
|
5978
|
+
}
|
|
5979
|
+
]
|
|
5980
|
+
}
|
|
5981
|
+
],
|
|
5982
|
+
"exports": [
|
|
5983
|
+
{
|
|
5984
|
+
"kind": "js",
|
|
5985
|
+
"name": "zeroListboxTemplate",
|
|
5986
|
+
"declaration": {
|
|
5987
|
+
"name": "zeroListboxTemplate",
|
|
5988
|
+
"module": "src/listbox/listbox.template.ts"
|
|
5989
|
+
}
|
|
5990
|
+
}
|
|
5991
|
+
]
|
|
5992
|
+
},
|
|
5993
|
+
{
|
|
5994
|
+
"kind": "javascript-module",
|
|
5995
|
+
"path": "src/listbox/listbox.ts",
|
|
5996
|
+
"declarations": [
|
|
5997
|
+
{
|
|
5998
|
+
"kind": "class",
|
|
5999
|
+
"description": "",
|
|
6000
|
+
"name": "Listbox",
|
|
6001
|
+
"superclass": {
|
|
6002
|
+
"name": "FoundationListbox",
|
|
6003
|
+
"package": "@genesislcap/foundation-ui"
|
|
6004
|
+
},
|
|
6005
|
+
"tagName": "%%prefix%%-listbox",
|
|
6006
|
+
"customElement": true
|
|
6007
|
+
},
|
|
6008
|
+
{
|
|
6009
|
+
"kind": "variable",
|
|
6010
|
+
"name": "zeroListbox"
|
|
6011
|
+
}
|
|
6012
|
+
],
|
|
6013
|
+
"exports": [
|
|
6014
|
+
{
|
|
6015
|
+
"kind": "js",
|
|
6016
|
+
"name": "Listbox",
|
|
6017
|
+
"declaration": {
|
|
6018
|
+
"name": "Listbox",
|
|
6019
|
+
"module": "src/listbox/listbox.ts"
|
|
6020
|
+
}
|
|
6021
|
+
},
|
|
6022
|
+
{
|
|
6023
|
+
"kind": "js",
|
|
6024
|
+
"name": "zeroListbox",
|
|
6025
|
+
"declaration": {
|
|
6026
|
+
"name": "zeroListbox",
|
|
6027
|
+
"module": "src/listbox/listbox.ts"
|
|
6028
|
+
}
|
|
6029
|
+
}
|
|
6030
|
+
]
|
|
6031
|
+
},
|
|
5836
6032
|
{
|
|
5837
6033
|
"kind": "javascript-module",
|
|
5838
6034
|
"path": "src/listbox-option/index.ts",
|
|
@@ -159,6 +159,7 @@ export declare const baseComponents: {
|
|
|
159
159
|
template: import("@microsoft/fast-element").ViewTemplate<import("@genesislcap/foundation-ui").GridLayoutItem, any>;
|
|
160
160
|
}, typeof import("./grid-layout-item").GridLayoutItem>;
|
|
161
161
|
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>;
|
|
162
|
+
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>;
|
|
162
163
|
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>;
|
|
163
164
|
zeroMenu: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./menu").Menu>;
|
|
164
165
|
zeroMenuItem: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").MenuItemOptions>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").MenuItemOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
@@ -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;AA8D5D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA6DJ,SAAS,WAAW,GAAG,EAAE;CAe/C,CAAC"}
|
package/dist/dts/index.d.ts
CHANGED
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,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,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,cA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AAiB,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/listbox/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Listbox as FoundationListbox } from '@genesislcap/foundation-ui';
|
|
2
|
+
/**
|
|
3
|
+
* @tagname %%prefix%%-listbox
|
|
4
|
+
*/
|
|
5
|
+
export declare class Listbox extends FoundationListbox {
|
|
6
|
+
}
|
|
7
|
+
export declare const zeroListbox: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof Listbox>;
|
|
8
|
+
//# sourceMappingURL=listbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listbox.d.ts","sourceRoot":"","sources":["../../../src/listbox/listbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,OAAO,IAAI,iBAAiB,EAC7B,MAAM,4BAA4B,CAAC;AAIpC;;GAEG;AACH,qBAAa,OAAQ,SAAQ,iBAAiB;CAAG;AAEjD,eAAO,MAAM,WAAW,uTAMtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listbox.stories.d.ts","sourceRoot":"","sources":["../../../src/listbox/listbox.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;AAEpB,eAAO,MAAM,OAAO,EAAE,QAQrB,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 zeroListboxStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ElementStyles;
|
|
4
|
+
//# sourceMappingURL=listbox.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listbox.styles.d.ts","sourceRoot":"","sources":["../../../src/listbox/listbox.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,iBAAiB,YACnB,wBAAwB,cACrB,2BAA2B,KACtC,aAMF,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 { Listbox } from './listbox';
|
|
4
|
+
export declare const zeroListboxTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Listbox>;
|
|
5
|
+
//# sourceMappingURL=listbox.template.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listbox.template.d.ts","sourceRoot":"","sources":["../../../src/listbox/listbox.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,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,eAAO,MAAM,mBAAmB,YACrB,wBAAwB,cACrB,2BAA2B,KACtC,aAAa,OAAO,CAAmD,CAAC"}
|
|
@@ -29,6 +29,7 @@ import { zeroFlyout } from './flyout';
|
|
|
29
29
|
import { zeroGridLayout } from './grid-layout';
|
|
30
30
|
import { zeroGridLayoutItem } from './grid-layout-item';
|
|
31
31
|
import { zeroIcon } from './icon';
|
|
32
|
+
import { zeroListbox } from './listbox';
|
|
32
33
|
import { zeroListboxOption } from './listbox-option';
|
|
33
34
|
import { zeroMenu } from './menu';
|
|
34
35
|
import { zeroMenuItem } from './menu-item';
|
|
@@ -90,6 +91,7 @@ export const baseComponents = {
|
|
|
90
91
|
zeroGridLayout,
|
|
91
92
|
zeroGridLayoutItem,
|
|
92
93
|
zeroIcon,
|
|
94
|
+
zeroListbox,
|
|
93
95
|
zeroListboxOption,
|
|
94
96
|
zeroMenu,
|
|
95
97
|
zeroMenuItem,
|
package/dist/esm/index.js
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { defaultListboxConfig, foundationListboxShadowOptions, Listbox as FoundationListbox, } from '@genesislcap/foundation-ui';
|
|
2
|
+
import { zeroListboxStyles as styles } from './listbox.styles';
|
|
3
|
+
import { zeroListboxTemplate as template } from './listbox.template';
|
|
4
|
+
/**
|
|
5
|
+
* @tagname %%prefix%%-listbox
|
|
6
|
+
*/
|
|
7
|
+
export class Listbox extends FoundationListbox {
|
|
8
|
+
}
|
|
9
|
+
export const zeroListbox = Listbox.compose(Object.assign({ baseName: 'listbox', template,
|
|
10
|
+
styles, shadowOptions: foundationListboxShadowOptions }, defaultListboxConfig));
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { html } from 'lit-html';
|
|
2
|
+
const meta = {
|
|
3
|
+
title: 'Listbox',
|
|
4
|
+
component: 'zero-listbox',
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
export const Primary = {
|
|
8
|
+
render: () => html `
|
|
9
|
+
<zero-listbox style="width: 200px;">
|
|
10
|
+
<zero-option>Option 1</zero-option>
|
|
11
|
+
<zero-option>Option 2</zero-option>
|
|
12
|
+
<zero-option>Option 3</zero-option>
|
|
13
|
+
</zero-listbox>
|
|
14
|
+
`,
|
|
15
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { foundationListboxStyles } from '@genesislcap/foundation-ui';
|
|
2
|
+
import { css } from '@microsoft/fast-element';
|
|
3
|
+
export const zeroListboxStyles = (context, definition) => css `
|
|
4
|
+
${foundationListboxStyles(context, definition)}
|
|
5
|
+
|
|
6
|
+
:host {
|
|
7
|
+
background: #1f2126;
|
|
8
|
+
}
|
|
9
|
+
`;
|
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.54.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.54.0",
|
|
66
66
|
"@storybook/addon-essentials": "^7.0.0",
|
|
67
67
|
"@storybook/addon-links": "^7.0.0",
|
|
68
68
|
"@storybook/addons": "^7.0.0",
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"storybook": "^7.0.0"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@genesislcap/foundation-comms": "14.
|
|
78
|
-
"@genesislcap/foundation-ui": "14.
|
|
79
|
-
"@genesislcap/foundation-utils": "14.
|
|
77
|
+
"@genesislcap/foundation-comms": "14.54.0",
|
|
78
|
+
"@genesislcap/foundation-ui": "14.54.0",
|
|
79
|
+
"@genesislcap/foundation-utils": "14.54.0",
|
|
80
80
|
"@microsoft/fast-colors": "^5.1.4",
|
|
81
81
|
"@microsoft/fast-components": "^2.21.3",
|
|
82
82
|
"@microsoft/fast-element": "^1.7.0",
|
|
@@ -93,5 +93,5 @@
|
|
|
93
93
|
"access": "public"
|
|
94
94
|
},
|
|
95
95
|
"customElements": "dist/custom-elements.json",
|
|
96
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "94c44096e99b607294d9fb9bbd6b6b71bb6389d4"
|
|
97
97
|
}
|