@genesislcap/foundation-ui 14.154.2 → 14.154.3-alpha-005efd0.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 +688 -101
- package/dist/dts/base-components.d.ts +11 -0
- package/dist/dts/base-components.d.ts.map +1 -1
- package/dist/dts/categorized-multiselect/categorized-multiselect.d.ts +74 -0
- package/dist/dts/categorized-multiselect/categorized-multiselect.d.ts.map +1 -0
- package/dist/dts/categorized-multiselect/categorized-multiselect.styles.d.ts +3 -0
- package/dist/dts/categorized-multiselect/categorized-multiselect.styles.d.ts.map +1 -0
- package/dist/dts/categorized-multiselect/categorized-multiselect.template.d.ts +4 -0
- package/dist/dts/categorized-multiselect/categorized-multiselect.template.d.ts.map +1 -0
- package/dist/dts/categorized-multiselect/index.d.ts +4 -0
- package/dist/dts/categorized-multiselect/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/dts/multiselect/index.d.ts +1 -0
- package/dist/dts/multiselect/index.d.ts.map +1 -1
- package/dist/esm/base-components.js +2 -0
- package/dist/esm/categorized-multiselect/categorized-multiselect.js +221 -0
- package/dist/esm/categorized-multiselect/categorized-multiselect.styles.js +144 -0
- package/dist/esm/categorized-multiselect/categorized-multiselect.template.js +55 -0
- package/dist/esm/categorized-multiselect/index.js +3 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/multiselect/index.js +1 -0
- package/package.json +15 -15
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"type": {
|
|
13
13
|
"text": "object"
|
|
14
14
|
},
|
|
15
|
-
"default": "{\n foundationAccordion,\n foundationAccordionItem,\n foundationActionsMenu,\n foundationAnchor,\n foundationAnchoredRegion,\n foundationAvatar,\n foundationBadge,\n foundationBanner,\n foundationBreadcrumbItem,\n foundationBreadcrumb,\n foundationButton,\n foundationCalendar,\n foundationCard,\n foundationCheckbox,\n foundationCombobox,\n foundationConnectionIndicator,\n foundationDataGrid,\n foundationDataGridCell,\n foundationDataGridRow,\n foundationDatePicker,\n foundationDesignSystemProvider,\n foundationDialog,\n foundationDisclosure,\n foundationDivider,\n foundationDropdownMenu,\n foundationErrorBoundary,\n foundationErrorBanner,\n foundationErrorDialog,\n foundationFileUpload,\n foundationFilter,\n foundationFilterBar,\n foundationFlexLayout,\n foundationFlipper,\n foundationFlyout,\n foundationGridLayout,\n foundationGridLayoutItem,\n foundationHorizontalScroll,\n foundationIcon,\n foundationListbox,\n foundationListboxOption,\n foundationMenu,\n foundationMenuItem,\n foundationModal,\n foundationMultiselect,\n foundationNumberField,\n foundationProgress,\n foundationPopper,\n foundationProgressRing,\n foundationRadio,\n foundationRadioGroup,\n foundationSearchBar,\n foundationSearchBarCombobox,\n foundationSegmentedControl,\n foundationSegmentedItem,\n foundationSelect,\n foundationSkeleton,\n foundationSlider,\n foundationSliderLabel,\n foundationSnackbar,\n foundationStepper,\n foundationStepperTab,\n foundationStepperTabPanel,\n foundationSwitch,\n foundationTab,\n foundationTabPanel,\n foundationTabs,\n foundationTextArea,\n foundationTextField,\n foundationToast,\n foundationToolbar,\n foundationTooltip,\n foundationTreeItem,\n foundationTreeView,\n foundationUrlInput,\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 foundationAccordion,\n foundationAccordionItem,\n foundationActionsMenu,\n foundationAnchor,\n foundationAnchoredRegion,\n foundationAvatar,\n foundationBadge,\n foundationBanner,\n foundationBreadcrumbItem,\n foundationBreadcrumb,\n foundationButton,\n foundationCalendar,\n foundationCard,\n foundationCategorizedMultiselect,\n foundationCheckbox,\n foundationCombobox,\n foundationConnectionIndicator,\n foundationDataGrid,\n foundationDataGridCell,\n foundationDataGridRow,\n foundationDatePicker,\n foundationDesignSystemProvider,\n foundationDialog,\n foundationDisclosure,\n foundationDivider,\n foundationDropdownMenu,\n foundationErrorBoundary,\n foundationErrorBanner,\n foundationErrorDialog,\n foundationFileUpload,\n foundationFilter,\n foundationFilterBar,\n foundationFlexLayout,\n foundationFlipper,\n foundationFlyout,\n foundationGridLayout,\n foundationGridLayoutItem,\n foundationHorizontalScroll,\n foundationIcon,\n foundationListbox,\n foundationListboxOption,\n foundationMenu,\n foundationMenuItem,\n foundationModal,\n foundationMultiselect,\n foundationNumberField,\n foundationProgress,\n foundationPopper,\n foundationProgressRing,\n foundationRadio,\n foundationRadioGroup,\n foundationSearchBar,\n foundationSearchBarCombobox,\n foundationSegmentedControl,\n foundationSegmentedItem,\n foundationSelect,\n foundationSkeleton,\n foundationSlider,\n foundationSliderLabel,\n foundationSnackbar,\n foundationStepper,\n foundationStepperTab,\n foundationStepperTabPanel,\n foundationSwitch,\n foundationTab,\n foundationTabPanel,\n foundationTabs,\n foundationTextArea,\n foundationTextField,\n foundationToast,\n foundationToolbar,\n foundationTooltip,\n foundationTreeItem,\n foundationTreeView,\n foundationUrlInput,\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": [
|
|
@@ -194,6 +194,14 @@
|
|
|
194
194
|
"package": "./card"
|
|
195
195
|
}
|
|
196
196
|
},
|
|
197
|
+
{
|
|
198
|
+
"kind": "js",
|
|
199
|
+
"name": "*",
|
|
200
|
+
"declaration": {
|
|
201
|
+
"name": "*",
|
|
202
|
+
"package": "./categorized-multiselect"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
197
205
|
{
|
|
198
206
|
"kind": "js",
|
|
199
207
|
"name": "*",
|
|
@@ -826,37 +834,6 @@
|
|
|
826
834
|
}
|
|
827
835
|
]
|
|
828
836
|
},
|
|
829
|
-
{
|
|
830
|
-
"kind": "javascript-module",
|
|
831
|
-
"path": "src/_config/index.ts",
|
|
832
|
-
"declarations": [],
|
|
833
|
-
"exports": [
|
|
834
|
-
{
|
|
835
|
-
"kind": "js",
|
|
836
|
-
"name": "*",
|
|
837
|
-
"declaration": {
|
|
838
|
-
"name": "*",
|
|
839
|
-
"package": "./styles"
|
|
840
|
-
}
|
|
841
|
-
},
|
|
842
|
-
{
|
|
843
|
-
"kind": "js",
|
|
844
|
-
"name": "*",
|
|
845
|
-
"declaration": {
|
|
846
|
-
"name": "*",
|
|
847
|
-
"package": "./tokens"
|
|
848
|
-
}
|
|
849
|
-
},
|
|
850
|
-
{
|
|
851
|
-
"kind": "js",
|
|
852
|
-
"name": "*",
|
|
853
|
-
"declaration": {
|
|
854
|
-
"name": "*",
|
|
855
|
-
"package": "./values"
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
]
|
|
859
|
-
},
|
|
860
837
|
{
|
|
861
838
|
"kind": "javascript-module",
|
|
862
839
|
"path": "src/accordion/accordion.styles.ts",
|
|
@@ -1039,6 +1016,37 @@
|
|
|
1039
1016
|
}
|
|
1040
1017
|
]
|
|
1041
1018
|
},
|
|
1019
|
+
{
|
|
1020
|
+
"kind": "javascript-module",
|
|
1021
|
+
"path": "src/_config/index.ts",
|
|
1022
|
+
"declarations": [],
|
|
1023
|
+
"exports": [
|
|
1024
|
+
{
|
|
1025
|
+
"kind": "js",
|
|
1026
|
+
"name": "*",
|
|
1027
|
+
"declaration": {
|
|
1028
|
+
"name": "*",
|
|
1029
|
+
"package": "./styles"
|
|
1030
|
+
}
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
"kind": "js",
|
|
1034
|
+
"name": "*",
|
|
1035
|
+
"declaration": {
|
|
1036
|
+
"name": "*",
|
|
1037
|
+
"package": "./tokens"
|
|
1038
|
+
}
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
"kind": "js",
|
|
1042
|
+
"name": "*",
|
|
1043
|
+
"declaration": {
|
|
1044
|
+
"name": "*",
|
|
1045
|
+
"package": "./values"
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
]
|
|
1049
|
+
},
|
|
1042
1050
|
{
|
|
1043
1051
|
"kind": "javascript-module",
|
|
1044
1052
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -7667,46 +7675,597 @@
|
|
|
7667
7675
|
},
|
|
7668
7676
|
"parameters": [
|
|
7669
7677
|
{
|
|
7670
|
-
"name": "context",
|
|
7678
|
+
"name": "context",
|
|
7679
|
+
"type": {
|
|
7680
|
+
"text": "ElementDefinitionContext"
|
|
7681
|
+
}
|
|
7682
|
+
},
|
|
7683
|
+
{
|
|
7684
|
+
"name": "definition",
|
|
7685
|
+
"type": {
|
|
7686
|
+
"text": "FoundationElementDefinition"
|
|
7687
|
+
}
|
|
7688
|
+
}
|
|
7689
|
+
]
|
|
7690
|
+
}
|
|
7691
|
+
],
|
|
7692
|
+
"exports": [
|
|
7693
|
+
{
|
|
7694
|
+
"kind": "js",
|
|
7695
|
+
"name": "foundationCardTemplate",
|
|
7696
|
+
"declaration": {
|
|
7697
|
+
"name": "foundationCardTemplate",
|
|
7698
|
+
"module": "src/card/card.template.ts"
|
|
7699
|
+
}
|
|
7700
|
+
}
|
|
7701
|
+
]
|
|
7702
|
+
},
|
|
7703
|
+
{
|
|
7704
|
+
"kind": "javascript-module",
|
|
7705
|
+
"path": "src/card/card.ts",
|
|
7706
|
+
"declarations": [
|
|
7707
|
+
{
|
|
7708
|
+
"kind": "class",
|
|
7709
|
+
"description": "",
|
|
7710
|
+
"name": "Card",
|
|
7711
|
+
"superclass": {
|
|
7712
|
+
"name": "FASTCard",
|
|
7713
|
+
"package": "@microsoft/fast-components"
|
|
7714
|
+
},
|
|
7715
|
+
"tagName": "%%prefix%%-card",
|
|
7716
|
+
"customElement": true,
|
|
7717
|
+
"members": [
|
|
7718
|
+
{
|
|
7719
|
+
"kind": "field",
|
|
7720
|
+
"name": "_presentation",
|
|
7721
|
+
"type": {
|
|
7722
|
+
"text": "ComponentPresentation | null | undefined"
|
|
7723
|
+
},
|
|
7724
|
+
"privacy": "private",
|
|
7725
|
+
"default": "void 0",
|
|
7726
|
+
"inheritedFrom": {
|
|
7727
|
+
"name": "FoundationElement",
|
|
7728
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
7729
|
+
}
|
|
7730
|
+
},
|
|
7731
|
+
{
|
|
7732
|
+
"kind": "field",
|
|
7733
|
+
"name": "$presentation",
|
|
7734
|
+
"type": {
|
|
7735
|
+
"text": "ComponentPresentation | null"
|
|
7736
|
+
},
|
|
7737
|
+
"privacy": "public",
|
|
7738
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
7739
|
+
"inheritedFrom": {
|
|
7740
|
+
"name": "FoundationElement",
|
|
7741
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
7742
|
+
}
|
|
7743
|
+
},
|
|
7744
|
+
{
|
|
7745
|
+
"kind": "field",
|
|
7746
|
+
"name": "template",
|
|
7747
|
+
"type": {
|
|
7748
|
+
"text": "ElementViewTemplate | void | null"
|
|
7749
|
+
},
|
|
7750
|
+
"privacy": "public",
|
|
7751
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
7752
|
+
"inheritedFrom": {
|
|
7753
|
+
"name": "FoundationElement",
|
|
7754
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
7755
|
+
}
|
|
7756
|
+
},
|
|
7757
|
+
{
|
|
7758
|
+
"kind": "method",
|
|
7759
|
+
"name": "templateChanged",
|
|
7760
|
+
"privacy": "protected",
|
|
7761
|
+
"return": {
|
|
7762
|
+
"type": {
|
|
7763
|
+
"text": "void"
|
|
7764
|
+
}
|
|
7765
|
+
},
|
|
7766
|
+
"inheritedFrom": {
|
|
7767
|
+
"name": "FoundationElement",
|
|
7768
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
7769
|
+
}
|
|
7770
|
+
},
|
|
7771
|
+
{
|
|
7772
|
+
"kind": "field",
|
|
7773
|
+
"name": "styles",
|
|
7774
|
+
"type": {
|
|
7775
|
+
"text": "ElementStyles | void | null"
|
|
7776
|
+
},
|
|
7777
|
+
"privacy": "public",
|
|
7778
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
7779
|
+
"inheritedFrom": {
|
|
7780
|
+
"name": "FoundationElement",
|
|
7781
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
7782
|
+
}
|
|
7783
|
+
},
|
|
7784
|
+
{
|
|
7785
|
+
"kind": "method",
|
|
7786
|
+
"name": "stylesChanged",
|
|
7787
|
+
"privacy": "protected",
|
|
7788
|
+
"return": {
|
|
7789
|
+
"type": {
|
|
7790
|
+
"text": "void"
|
|
7791
|
+
}
|
|
7792
|
+
},
|
|
7793
|
+
"inheritedFrom": {
|
|
7794
|
+
"name": "FoundationElement",
|
|
7795
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
7796
|
+
}
|
|
7797
|
+
},
|
|
7798
|
+
{
|
|
7799
|
+
"kind": "method",
|
|
7800
|
+
"name": "compose",
|
|
7801
|
+
"privacy": "public",
|
|
7802
|
+
"static": true,
|
|
7803
|
+
"return": {
|
|
7804
|
+
"type": {
|
|
7805
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
7806
|
+
}
|
|
7807
|
+
},
|
|
7808
|
+
"parameters": [
|
|
7809
|
+
{
|
|
7810
|
+
"name": "this",
|
|
7811
|
+
"type": {
|
|
7812
|
+
"text": "K"
|
|
7813
|
+
}
|
|
7814
|
+
},
|
|
7815
|
+
{
|
|
7816
|
+
"name": "elementDefinition",
|
|
7817
|
+
"type": {
|
|
7818
|
+
"text": "T"
|
|
7819
|
+
},
|
|
7820
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
7821
|
+
}
|
|
7822
|
+
],
|
|
7823
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
7824
|
+
"inheritedFrom": {
|
|
7825
|
+
"name": "FoundationElement",
|
|
7826
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
7827
|
+
}
|
|
7828
|
+
}
|
|
7829
|
+
]
|
|
7830
|
+
},
|
|
7831
|
+
{
|
|
7832
|
+
"kind": "variable",
|
|
7833
|
+
"name": "foundationCardShadowOptions",
|
|
7834
|
+
"type": {
|
|
7835
|
+
"text": "ShadowRootInit"
|
|
7836
|
+
},
|
|
7837
|
+
"default": "undefined"
|
|
7838
|
+
},
|
|
7839
|
+
{
|
|
7840
|
+
"kind": "variable",
|
|
7841
|
+
"name": "defaultCardConfig",
|
|
7842
|
+
"type": {
|
|
7843
|
+
"text": "object"
|
|
7844
|
+
},
|
|
7845
|
+
"default": "{}"
|
|
7846
|
+
},
|
|
7847
|
+
{
|
|
7848
|
+
"kind": "variable",
|
|
7849
|
+
"name": "foundationCard",
|
|
7850
|
+
"description": "The Foundation Card",
|
|
7851
|
+
"privacy": "public"
|
|
7852
|
+
}
|
|
7853
|
+
],
|
|
7854
|
+
"exports": [
|
|
7855
|
+
{
|
|
7856
|
+
"kind": "js",
|
|
7857
|
+
"name": "Card",
|
|
7858
|
+
"declaration": {
|
|
7859
|
+
"name": "Card",
|
|
7860
|
+
"module": "src/card/card.ts"
|
|
7861
|
+
}
|
|
7862
|
+
},
|
|
7863
|
+
{
|
|
7864
|
+
"kind": "js",
|
|
7865
|
+
"name": "foundationCardShadowOptions",
|
|
7866
|
+
"declaration": {
|
|
7867
|
+
"name": "foundationCardShadowOptions",
|
|
7868
|
+
"module": "src/card/card.ts"
|
|
7869
|
+
}
|
|
7870
|
+
},
|
|
7871
|
+
{
|
|
7872
|
+
"kind": "js",
|
|
7873
|
+
"name": "defaultCardConfig",
|
|
7874
|
+
"declaration": {
|
|
7875
|
+
"name": "defaultCardConfig",
|
|
7876
|
+
"module": "src/card/card.ts"
|
|
7877
|
+
}
|
|
7878
|
+
},
|
|
7879
|
+
{
|
|
7880
|
+
"kind": "js",
|
|
7881
|
+
"name": "foundationCard",
|
|
7882
|
+
"declaration": {
|
|
7883
|
+
"name": "foundationCard",
|
|
7884
|
+
"module": "src/card/card.ts"
|
|
7885
|
+
}
|
|
7886
|
+
}
|
|
7887
|
+
]
|
|
7888
|
+
},
|
|
7889
|
+
{
|
|
7890
|
+
"kind": "javascript-module",
|
|
7891
|
+
"path": "src/card/index.ts",
|
|
7892
|
+
"declarations": [],
|
|
7893
|
+
"exports": [
|
|
7894
|
+
{
|
|
7895
|
+
"kind": "js",
|
|
7896
|
+
"name": "*",
|
|
7897
|
+
"declaration": {
|
|
7898
|
+
"name": "*",
|
|
7899
|
+
"package": "./card.template"
|
|
7900
|
+
}
|
|
7901
|
+
},
|
|
7902
|
+
{
|
|
7903
|
+
"kind": "js",
|
|
7904
|
+
"name": "*",
|
|
7905
|
+
"declaration": {
|
|
7906
|
+
"name": "*",
|
|
7907
|
+
"package": "./card.styles"
|
|
7908
|
+
}
|
|
7909
|
+
},
|
|
7910
|
+
{
|
|
7911
|
+
"kind": "js",
|
|
7912
|
+
"name": "*",
|
|
7913
|
+
"declaration": {
|
|
7914
|
+
"name": "*",
|
|
7915
|
+
"package": "./card"
|
|
7916
|
+
}
|
|
7917
|
+
}
|
|
7918
|
+
]
|
|
7919
|
+
},
|
|
7920
|
+
{
|
|
7921
|
+
"kind": "javascript-module",
|
|
7922
|
+
"path": "src/categorized-multiselect/categorized-multiselect.styles.ts",
|
|
7923
|
+
"declarations": [
|
|
7924
|
+
{
|
|
7925
|
+
"kind": "variable",
|
|
7926
|
+
"name": "optionsMaxheight",
|
|
7927
|
+
"type": {
|
|
7928
|
+
"text": "number"
|
|
7929
|
+
},
|
|
7930
|
+
"default": "450"
|
|
7931
|
+
},
|
|
7932
|
+
{
|
|
7933
|
+
"kind": "variable",
|
|
7934
|
+
"name": "categorizedMultiselectStyles",
|
|
7935
|
+
"default": "css`\n .root {\n position: relative;\n width: 100%;\n min-width: 250px;\n max-width: 1000px;\n }\n\n .control-button {\n display: flex;\n justify-content: center;\n min-width: 31px;\n width: 31px;\n height: 31px;\n margin-left: calc(var(--design-unit) * 2px);\n color: var(--neutral-foreground-hint);\n }\n\n .control {\n cursor: pointer;\n position: relative;\n display: flex;\n justify-content: end;\n align-items: center;\n width: 100%;\n border-radius: calc(var(--control-corner-radius) * 1px);\n }\n\n .label {\n display: block;\n cursor: pointer;\n font-size: var(--type-ramp-base-font-size);\n line-height: var(--type-ramp-base-line-height);\n font-style: normal;\n font-weight: 700;\n margin: calc(var(--design-unit) * 2px) 0;\n }\n\n .label-hidden {\n display: none;\n }\n\n .control:hover .control-button,\n .control:hover .label {\n color: var(--neutral-foreground-rest);\n }\n\n button {\n pointer-events: none;\n }\n\n .options {\n display: flex;\n flex-direction: column;\n position: absolute;\n height: max-content;\n overflow-y: hidden;\n margin-top: 5px;\n padding: calc((var(--design-unit) + 3) * 2px) calc((var(--design-unit) + 3) * 1px);\n border: 1px solid rgba(46 51 57 / 100%);\n border-radius: 4px;\n background: var(--neutral-fill-input-rest);\n width: 100%;\n max-height: 0;\n visibility: hidden;\n transition:\n max-height 0.4s ease 0s,\n visibility 0.4s ease 0s;\n z-index: 999;\n }\n\n .position-above {\n bottom: 100%;\n }\n\n .checkbox-container {\n display: flex;\n flex-direction: column;\n overflow-y: scroll;\n scrollbar-width: thin;\n scrollbar-color: rgb(46 48 53) rgb(31 33 38);\n }\n\n span {\n border-bottom: calc(var(--stroke-width) * 1px) solid;\n border-color: color-mix(in srgb, var(--neutral-fill-rest), transparent 50%);\n padding: calc((var(--design-unit) + 2) * 2px) calc((var(--design-unit) + 3) * 1px);\n font-size: 13px;\n color: var(--neutral-foreground-hint);\n }\n\n .multiselect-checkbox {\n min-width: fit-content;\n flex-direction: row-reverse;\n justify-content: space-between;\n border-bottom: 1px solid;\n border-color: color-mix(in srgb, var(--neutral-fill-rest), transparent 50%);\n padding: calc((var(--design-unit) + 3) * 1px) calc((var(--design-unit) + 3) * 1px)\n calc((var(--design-unit) + 3) * 1px) 0;\n margin: 0;\n }\n\n .multiselect-checkbox:hover {\n background-color: rgb(45 47 51);\n cursor: pointer;\n }\n\n .multiselect-checkbox::part(label) {\n overflow-x: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .checkbox-container .multiselect-checkbox[disabled] {\n cursor: not-allowed;\n }\n\n #filter-search {\n padding: 5px;\n }\n\n ::-webkit-scrollbar {\n width: 12px;\n }\n\n ::-webkit-scrollbar-track {\n background: rgb(31 33 38);\n }\n\n ::-webkit-scrollbar-thumb {\n width: 8px;\n border-radius: 10px;\n box-shadow: inset 0 0 6px rgba(0 0 0 / 30%);\n background-color: rgb(46 48 53);\n border: 3px solid rgb(31 33 38);\n }\n\n .visible {\n visibility: visible;\n max-height: ${optionsMaxheight.toString()}px;\n }\n`"
|
|
7936
|
+
}
|
|
7937
|
+
],
|
|
7938
|
+
"exports": [
|
|
7939
|
+
{
|
|
7940
|
+
"kind": "js",
|
|
7941
|
+
"name": "optionsMaxheight",
|
|
7942
|
+
"declaration": {
|
|
7943
|
+
"name": "optionsMaxheight",
|
|
7944
|
+
"module": "src/categorized-multiselect/categorized-multiselect.styles.ts"
|
|
7945
|
+
}
|
|
7946
|
+
},
|
|
7947
|
+
{
|
|
7948
|
+
"kind": "js",
|
|
7949
|
+
"name": "categorizedMultiselectStyles",
|
|
7950
|
+
"declaration": {
|
|
7951
|
+
"name": "categorizedMultiselectStyles",
|
|
7952
|
+
"module": "src/categorized-multiselect/categorized-multiselect.styles.ts"
|
|
7953
|
+
}
|
|
7954
|
+
}
|
|
7955
|
+
]
|
|
7956
|
+
},
|
|
7957
|
+
{
|
|
7958
|
+
"kind": "javascript-module",
|
|
7959
|
+
"path": "src/categorized-multiselect/categorized-multiselect.template.ts",
|
|
7960
|
+
"declarations": [
|
|
7961
|
+
{
|
|
7962
|
+
"kind": "function",
|
|
7963
|
+
"name": "getPrefixedCategorizedMultiselect",
|
|
7964
|
+
"parameters": [
|
|
7965
|
+
{
|
|
7966
|
+
"name": "prefix",
|
|
7967
|
+
"default": "'foundation'",
|
|
7968
|
+
"type": {
|
|
7969
|
+
"text": "string"
|
|
7970
|
+
}
|
|
7971
|
+
}
|
|
7972
|
+
]
|
|
7973
|
+
},
|
|
7974
|
+
{
|
|
7975
|
+
"kind": "variable",
|
|
7976
|
+
"name": "categorizedMultiselectTemplate",
|
|
7977
|
+
"default": "html<CategorizedMultiselect>`\n ${getPrefixedCategorizedMultiselect()}\n`"
|
|
7978
|
+
}
|
|
7979
|
+
],
|
|
7980
|
+
"exports": [
|
|
7981
|
+
{
|
|
7982
|
+
"kind": "js",
|
|
7983
|
+
"name": "getPrefixedCategorizedMultiselect",
|
|
7984
|
+
"declaration": {
|
|
7985
|
+
"name": "getPrefixedCategorizedMultiselect",
|
|
7986
|
+
"module": "src/categorized-multiselect/categorized-multiselect.template.ts"
|
|
7987
|
+
}
|
|
7988
|
+
},
|
|
7989
|
+
{
|
|
7990
|
+
"kind": "js",
|
|
7991
|
+
"name": "categorizedMultiselectTemplate",
|
|
7992
|
+
"declaration": {
|
|
7993
|
+
"name": "categorizedMultiselectTemplate",
|
|
7994
|
+
"module": "src/categorized-multiselect/categorized-multiselect.template.ts"
|
|
7995
|
+
}
|
|
7996
|
+
}
|
|
7997
|
+
]
|
|
7998
|
+
},
|
|
7999
|
+
{
|
|
8000
|
+
"kind": "javascript-module",
|
|
8001
|
+
"path": "src/categorized-multiselect/categorized-multiselect.ts",
|
|
8002
|
+
"declarations": [
|
|
8003
|
+
{
|
|
8004
|
+
"kind": "variable",
|
|
8005
|
+
"name": "foundationCategorizedMultiselectShadowOptions",
|
|
8006
|
+
"type": {
|
|
8007
|
+
"text": "ShadowRootInit"
|
|
8008
|
+
},
|
|
8009
|
+
"default": "undefined"
|
|
8010
|
+
},
|
|
8011
|
+
{
|
|
8012
|
+
"kind": "variable",
|
|
8013
|
+
"name": "defaultCategorizedMultiselectConfig",
|
|
8014
|
+
"type": {
|
|
8015
|
+
"text": "object"
|
|
8016
|
+
},
|
|
8017
|
+
"default": "{}"
|
|
8018
|
+
},
|
|
8019
|
+
{
|
|
8020
|
+
"kind": "class",
|
|
8021
|
+
"description": "",
|
|
8022
|
+
"name": "CategorizedMultiselect",
|
|
8023
|
+
"members": [
|
|
8024
|
+
{
|
|
8025
|
+
"kind": "field",
|
|
8026
|
+
"name": "name",
|
|
8027
|
+
"type": {
|
|
8028
|
+
"text": "string"
|
|
8029
|
+
},
|
|
8030
|
+
"default": "''"
|
|
8031
|
+
},
|
|
8032
|
+
{
|
|
8033
|
+
"kind": "field",
|
|
8034
|
+
"name": "autoPosition",
|
|
8035
|
+
"type": {
|
|
8036
|
+
"text": "boolean"
|
|
8037
|
+
},
|
|
8038
|
+
"default": "true"
|
|
8039
|
+
},
|
|
8040
|
+
{
|
|
8041
|
+
"kind": "field",
|
|
8042
|
+
"name": "search",
|
|
8043
|
+
"type": {
|
|
8044
|
+
"text": "boolean"
|
|
8045
|
+
},
|
|
8046
|
+
"default": "true"
|
|
8047
|
+
},
|
|
8048
|
+
{
|
|
8049
|
+
"kind": "field",
|
|
8050
|
+
"name": "disabled",
|
|
8051
|
+
"type": {
|
|
8052
|
+
"text": "boolean"
|
|
8053
|
+
},
|
|
8054
|
+
"default": "false"
|
|
8055
|
+
},
|
|
8056
|
+
{
|
|
8057
|
+
"kind": "field",
|
|
8058
|
+
"name": "defaultSlottedNodes",
|
|
8059
|
+
"type": {
|
|
8060
|
+
"text": "Node[]"
|
|
8061
|
+
}
|
|
8062
|
+
},
|
|
8063
|
+
{
|
|
8064
|
+
"kind": "field",
|
|
8065
|
+
"name": "valueFormatter"
|
|
8066
|
+
},
|
|
8067
|
+
{
|
|
8068
|
+
"kind": "field",
|
|
8069
|
+
"name": "filterSearchValue",
|
|
8070
|
+
"type": {
|
|
8071
|
+
"text": "string"
|
|
8072
|
+
}
|
|
8073
|
+
},
|
|
8074
|
+
{
|
|
8075
|
+
"kind": "field",
|
|
8076
|
+
"name": "clickOutside",
|
|
8077
|
+
"privacy": "private"
|
|
8078
|
+
},
|
|
8079
|
+
{
|
|
8080
|
+
"kind": "field",
|
|
8081
|
+
"name": "open",
|
|
8082
|
+
"type": {
|
|
8083
|
+
"text": "boolean"
|
|
8084
|
+
},
|
|
8085
|
+
"default": "false"
|
|
8086
|
+
},
|
|
8087
|
+
{
|
|
8088
|
+
"kind": "method",
|
|
8089
|
+
"name": "openChanged",
|
|
8090
|
+
"parameters": [
|
|
8091
|
+
{
|
|
8092
|
+
"name": "previous",
|
|
8093
|
+
"type": {
|
|
8094
|
+
"text": "boolean"
|
|
8095
|
+
}
|
|
8096
|
+
},
|
|
8097
|
+
{
|
|
8098
|
+
"name": "open",
|
|
8099
|
+
"type": {
|
|
8100
|
+
"text": "boolean"
|
|
8101
|
+
}
|
|
8102
|
+
}
|
|
8103
|
+
]
|
|
8104
|
+
},
|
|
8105
|
+
{
|
|
8106
|
+
"kind": "field",
|
|
8107
|
+
"name": "options",
|
|
8108
|
+
"type": {
|
|
8109
|
+
"text": "CategorizedMultiselectOption[]"
|
|
8110
|
+
},
|
|
8111
|
+
"default": "[]"
|
|
8112
|
+
},
|
|
8113
|
+
{
|
|
8114
|
+
"kind": "field",
|
|
8115
|
+
"name": "selectedOptions",
|
|
7671
8116
|
"type": {
|
|
7672
|
-
"text": "
|
|
8117
|
+
"text": "string[]"
|
|
8118
|
+
},
|
|
8119
|
+
"default": "[]"
|
|
8120
|
+
},
|
|
8121
|
+
{
|
|
8122
|
+
"kind": "field",
|
|
8123
|
+
"name": "filteredAvailableOptions",
|
|
8124
|
+
"type": {
|
|
8125
|
+
"text": "CategorizedMultiselectFilteredOption[]"
|
|
7673
8126
|
}
|
|
7674
8127
|
},
|
|
7675
8128
|
{
|
|
7676
|
-
"
|
|
8129
|
+
"kind": "field",
|
|
8130
|
+
"name": "position",
|
|
7677
8131
|
"type": {
|
|
7678
|
-
"text": "
|
|
8132
|
+
"text": "Position"
|
|
8133
|
+
},
|
|
8134
|
+
"description": "Controls the positioning of the multiselect dropdown. Accepts the following values:\n- Position.ABOVE: Forces the dropdown to always open above the input field.\n- Position.BELOW: Forces the dropdown to always open below the input field."
|
|
8135
|
+
},
|
|
8136
|
+
{
|
|
8137
|
+
"kind": "field",
|
|
8138
|
+
"name": "optionsElement",
|
|
8139
|
+
"type": {
|
|
8140
|
+
"text": "HTMLElement"
|
|
7679
8141
|
}
|
|
7680
|
-
}
|
|
7681
|
-
|
|
7682
|
-
|
|
7683
|
-
|
|
7684
|
-
|
|
7685
|
-
|
|
7686
|
-
|
|
7687
|
-
|
|
7688
|
-
|
|
7689
|
-
|
|
7690
|
-
|
|
7691
|
-
|
|
7692
|
-
|
|
7693
|
-
|
|
7694
|
-
|
|
7695
|
-
|
|
7696
|
-
|
|
7697
|
-
|
|
7698
|
-
|
|
7699
|
-
|
|
7700
|
-
|
|
7701
|
-
|
|
7702
|
-
|
|
7703
|
-
|
|
7704
|
-
|
|
7705
|
-
|
|
7706
|
-
|
|
7707
|
-
|
|
7708
|
-
|
|
7709
|
-
|
|
8142
|
+
},
|
|
8143
|
+
{
|
|
8144
|
+
"kind": "method",
|
|
8145
|
+
"name": "toggle"
|
|
8146
|
+
},
|
|
8147
|
+
{
|
|
8148
|
+
"kind": "method",
|
|
8149
|
+
"name": "sortFilteredOptions",
|
|
8150
|
+
"parameters": [
|
|
8151
|
+
{
|
|
8152
|
+
"name": "options",
|
|
8153
|
+
"optional": true,
|
|
8154
|
+
"type": {
|
|
8155
|
+
"text": "CategorizedMultiselectOption[]"
|
|
8156
|
+
}
|
|
8157
|
+
}
|
|
8158
|
+
]
|
|
8159
|
+
},
|
|
8160
|
+
{
|
|
8161
|
+
"kind": "method",
|
|
8162
|
+
"name": "optionsChanged"
|
|
8163
|
+
},
|
|
8164
|
+
{
|
|
8165
|
+
"kind": "method",
|
|
8166
|
+
"name": "setDropdownPosition",
|
|
8167
|
+
"privacy": "private",
|
|
8168
|
+
"description": "Sets the dropdown position based on the current configuration."
|
|
8169
|
+
},
|
|
8170
|
+
{
|
|
8171
|
+
"kind": "method",
|
|
8172
|
+
"name": "optionGetter",
|
|
8173
|
+
"parameters": [
|
|
8174
|
+
{
|
|
8175
|
+
"name": "option",
|
|
8176
|
+
"type": {
|
|
8177
|
+
"text": "CategorizedMultiselectOption"
|
|
8178
|
+
}
|
|
8179
|
+
}
|
|
8180
|
+
]
|
|
8181
|
+
},
|
|
8182
|
+
{
|
|
8183
|
+
"kind": "method",
|
|
8184
|
+
"name": "getItemLabel",
|
|
8185
|
+
"parameters": [
|
|
8186
|
+
{
|
|
8187
|
+
"name": "option",
|
|
8188
|
+
"type": {
|
|
8189
|
+
"text": "CategorizedMultiselectOption"
|
|
8190
|
+
}
|
|
8191
|
+
}
|
|
8192
|
+
]
|
|
8193
|
+
},
|
|
8194
|
+
{
|
|
8195
|
+
"kind": "method",
|
|
8196
|
+
"name": "isOptionDisabled",
|
|
8197
|
+
"parameters": [
|
|
8198
|
+
{
|
|
8199
|
+
"name": "option",
|
|
8200
|
+
"type": {
|
|
8201
|
+
"text": "CategorizedMultiselectOption"
|
|
8202
|
+
}
|
|
8203
|
+
}
|
|
8204
|
+
]
|
|
8205
|
+
},
|
|
8206
|
+
{
|
|
8207
|
+
"kind": "field",
|
|
8208
|
+
"name": "getPlaceholder",
|
|
8209
|
+
"readonly": true
|
|
8210
|
+
},
|
|
8211
|
+
{
|
|
8212
|
+
"kind": "method",
|
|
8213
|
+
"name": "isOptionSelected",
|
|
8214
|
+
"return": {
|
|
8215
|
+
"type": {
|
|
8216
|
+
"text": "boolean"
|
|
8217
|
+
}
|
|
8218
|
+
},
|
|
8219
|
+
"parameters": [
|
|
8220
|
+
{
|
|
8221
|
+
"name": "normalizedOption",
|
|
8222
|
+
"type": {
|
|
8223
|
+
"text": "CategorizedMultiselectOption"
|
|
8224
|
+
}
|
|
8225
|
+
}
|
|
8226
|
+
]
|
|
8227
|
+
},
|
|
8228
|
+
{
|
|
8229
|
+
"kind": "method",
|
|
8230
|
+
"name": "selectCheckboxOne",
|
|
8231
|
+
"parameters": [
|
|
8232
|
+
{
|
|
8233
|
+
"name": "normalizedOption",
|
|
8234
|
+
"type": {
|
|
8235
|
+
"text": "CategorizedMultiselectOption"
|
|
8236
|
+
}
|
|
8237
|
+
}
|
|
8238
|
+
]
|
|
8239
|
+
},
|
|
8240
|
+
{
|
|
8241
|
+
"kind": "method",
|
|
8242
|
+
"name": "setFilter"
|
|
8243
|
+
},
|
|
8244
|
+
{
|
|
8245
|
+
"kind": "method",
|
|
8246
|
+
"name": "changeHandler",
|
|
8247
|
+
"parameters": [
|
|
8248
|
+
{
|
|
8249
|
+
"name": "event",
|
|
8250
|
+
"type": {
|
|
8251
|
+
"text": "Event"
|
|
8252
|
+
}
|
|
8253
|
+
}
|
|
8254
|
+
]
|
|
8255
|
+
},
|
|
8256
|
+
{
|
|
8257
|
+
"kind": "method",
|
|
8258
|
+
"name": "handleClickOutside",
|
|
8259
|
+
"privacy": "private",
|
|
8260
|
+
"parameters": [
|
|
8261
|
+
{
|
|
8262
|
+
"name": "event",
|
|
8263
|
+
"type": {
|
|
8264
|
+
"text": "MouseEvent"
|
|
8265
|
+
}
|
|
8266
|
+
}
|
|
8267
|
+
]
|
|
8268
|
+
},
|
|
7710
8269
|
{
|
|
7711
8270
|
"kind": "field",
|
|
7712
8271
|
"name": "_presentation",
|
|
@@ -7818,69 +8377,89 @@
|
|
|
7818
8377
|
"module": "src/foundation-element/foundation-element.ts"
|
|
7819
8378
|
}
|
|
7820
8379
|
}
|
|
7821
|
-
]
|
|
7822
|
-
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
7827
|
-
|
|
7828
|
-
|
|
7829
|
-
|
|
7830
|
-
|
|
7831
|
-
|
|
7832
|
-
|
|
7833
|
-
|
|
7834
|
-
|
|
7835
|
-
|
|
8380
|
+
],
|
|
8381
|
+
"attributes": [
|
|
8382
|
+
{
|
|
8383
|
+
"name": "name",
|
|
8384
|
+
"type": {
|
|
8385
|
+
"text": "string"
|
|
8386
|
+
},
|
|
8387
|
+
"default": "''",
|
|
8388
|
+
"fieldName": "name"
|
|
8389
|
+
},
|
|
8390
|
+
{
|
|
8391
|
+
"name": "auto-position",
|
|
8392
|
+
"type": {
|
|
8393
|
+
"text": "boolean"
|
|
8394
|
+
},
|
|
8395
|
+
"default": "true",
|
|
8396
|
+
"fieldName": "autoPosition"
|
|
8397
|
+
},
|
|
8398
|
+
{
|
|
8399
|
+
"type": {
|
|
8400
|
+
"text": "boolean"
|
|
8401
|
+
},
|
|
8402
|
+
"default": "true",
|
|
8403
|
+
"fieldName": "search"
|
|
8404
|
+
},
|
|
8405
|
+
{
|
|
8406
|
+
"type": {
|
|
8407
|
+
"text": "boolean"
|
|
8408
|
+
},
|
|
8409
|
+
"default": "false",
|
|
8410
|
+
"fieldName": "disabled"
|
|
8411
|
+
}
|
|
8412
|
+
],
|
|
8413
|
+
"superclass": {
|
|
8414
|
+
"name": "FoundationElement",
|
|
8415
|
+
"package": "@microsoft/fast-foundation"
|
|
7836
8416
|
},
|
|
7837
|
-
"
|
|
8417
|
+
"tagName": "%%prefix%%-categorized-multiselect",
|
|
8418
|
+
"customElement": true
|
|
7838
8419
|
},
|
|
7839
8420
|
{
|
|
7840
8421
|
"kind": "variable",
|
|
7841
|
-
"name": "
|
|
7842
|
-
"description": "The Foundation Card",
|
|
7843
|
-
"privacy": "public"
|
|
8422
|
+
"name": "foundationCategorizedMultiselect"
|
|
7844
8423
|
}
|
|
7845
8424
|
],
|
|
7846
8425
|
"exports": [
|
|
7847
8426
|
{
|
|
7848
8427
|
"kind": "js",
|
|
7849
|
-
"name": "
|
|
8428
|
+
"name": "foundationCategorizedMultiselectShadowOptions",
|
|
7850
8429
|
"declaration": {
|
|
7851
|
-
"name": "
|
|
7852
|
-
"module": "src/
|
|
8430
|
+
"name": "foundationCategorizedMultiselectShadowOptions",
|
|
8431
|
+
"module": "src/categorized-multiselect/categorized-multiselect.ts"
|
|
7853
8432
|
}
|
|
7854
8433
|
},
|
|
7855
8434
|
{
|
|
7856
8435
|
"kind": "js",
|
|
7857
|
-
"name": "
|
|
8436
|
+
"name": "defaultCategorizedMultiselectConfig",
|
|
7858
8437
|
"declaration": {
|
|
7859
|
-
"name": "
|
|
7860
|
-
"module": "src/
|
|
8438
|
+
"name": "defaultCategorizedMultiselectConfig",
|
|
8439
|
+
"module": "src/categorized-multiselect/categorized-multiselect.ts"
|
|
7861
8440
|
}
|
|
7862
8441
|
},
|
|
7863
8442
|
{
|
|
7864
8443
|
"kind": "js",
|
|
7865
|
-
"name": "
|
|
8444
|
+
"name": "CategorizedMultiselect",
|
|
7866
8445
|
"declaration": {
|
|
7867
|
-
"name": "
|
|
7868
|
-
"module": "src/
|
|
8446
|
+
"name": "CategorizedMultiselect",
|
|
8447
|
+
"module": "src/categorized-multiselect/categorized-multiselect.ts"
|
|
7869
8448
|
}
|
|
7870
8449
|
},
|
|
7871
8450
|
{
|
|
7872
8451
|
"kind": "js",
|
|
7873
|
-
"name": "
|
|
8452
|
+
"name": "foundationCategorizedMultiselect",
|
|
7874
8453
|
"declaration": {
|
|
7875
|
-
"name": "
|
|
7876
|
-
"module": "src/
|
|
8454
|
+
"name": "foundationCategorizedMultiselect",
|
|
8455
|
+
"module": "src/categorized-multiselect/categorized-multiselect.ts"
|
|
7877
8456
|
}
|
|
7878
8457
|
}
|
|
7879
8458
|
]
|
|
7880
8459
|
},
|
|
7881
8460
|
{
|
|
7882
8461
|
"kind": "javascript-module",
|
|
7883
|
-
"path": "src/
|
|
8462
|
+
"path": "src/categorized-multiselect/index.ts",
|
|
7884
8463
|
"declarations": [],
|
|
7885
8464
|
"exports": [
|
|
7886
8465
|
{
|
|
@@ -7888,7 +8467,7 @@
|
|
|
7888
8467
|
"name": "*",
|
|
7889
8468
|
"declaration": {
|
|
7890
8469
|
"name": "*",
|
|
7891
|
-
"package": "./
|
|
8470
|
+
"package": "./categorized-multiselect"
|
|
7892
8471
|
}
|
|
7893
8472
|
},
|
|
7894
8473
|
{
|
|
@@ -7896,7 +8475,7 @@
|
|
|
7896
8475
|
"name": "*",
|
|
7897
8476
|
"declaration": {
|
|
7898
8477
|
"name": "*",
|
|
7899
|
-
"package": "./
|
|
8478
|
+
"package": "./categorized-multiselect.styles"
|
|
7900
8479
|
}
|
|
7901
8480
|
},
|
|
7902
8481
|
{
|
|
@@ -7904,7 +8483,7 @@
|
|
|
7904
8483
|
"name": "*",
|
|
7905
8484
|
"declaration": {
|
|
7906
8485
|
"name": "*",
|
|
7907
|
-
"package": "./
|
|
8486
|
+
"package": "./categorized-multiselect.template"
|
|
7908
8487
|
}
|
|
7909
8488
|
}
|
|
7910
8489
|
]
|
|
@@ -22942,6 +23521,14 @@
|
|
|
22942
23521
|
"path": "src/multiselect/index.ts",
|
|
22943
23522
|
"declarations": [],
|
|
22944
23523
|
"exports": [
|
|
23524
|
+
{
|
|
23525
|
+
"kind": "js",
|
|
23526
|
+
"name": "*",
|
|
23527
|
+
"declaration": {
|
|
23528
|
+
"name": "*",
|
|
23529
|
+
"package": "./multiselect-consts"
|
|
23530
|
+
}
|
|
23531
|
+
},
|
|
22945
23532
|
{
|
|
22946
23533
|
"kind": "js",
|
|
22947
23534
|
"name": "*",
|