@ukic/web-components 2.0.0-alpha.122 → 2.0.0-alpha.125
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/{helpers-9d4961dc.js → helpers-ea79c7b0.js} +41 -2
- package/dist/cjs/helpers-ea79c7b0.js.map +1 -0
- package/dist/cjs/ic-alert.cjs.entry.js +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/ic-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +2 -2
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card.cjs.entry.js +2 -2
- package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
- package/dist/cjs/ic-divider.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +3 -3
- package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +78 -24
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +3 -5
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-select.cjs.entry.js +216 -23
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab-list.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +1 -1
- package/dist/cjs/ic-text-field.cjs.entry.js +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ic-button/ic-button.css +0 -6
- package/dist/collection/components/ic-card/ic-card.js +1 -1
- package/dist/collection/components/ic-card/ic-card.js.map +1 -1
- package/dist/collection/components/ic-hero/ic-hero.css +5 -0
- package/dist/collection/components/ic-hero/ic-hero.js +1 -1
- package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +4 -3
- package/dist/collection/components/ic-menu/ic-menu.css +3 -2
- package/dist/collection/components/ic-menu/ic-menu.js +78 -21
- package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
- package/dist/collection/components/ic-menu/ic-menu.types.js.map +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.css +6 -0
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +2 -4
- package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
- package/dist/collection/components/ic-select/ic-select.css +70 -9
- package/dist/collection/components/ic-select/ic-select.js +337 -24
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-typography/ic-typography.css +11 -4
- package/dist/collection/components/ic-typography/ic-typography.js +1 -1
- package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
- package/dist/collection/utils/helpers.js +39 -1
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/helpers.js +40 -2
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/ic-button2.js +2 -2
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card.js +1 -1
- package/dist/components/ic-card.js.map +1 -1
- package/dist/components/ic-hero.js +2 -2
- package/dist/components/ic-hero.js.map +1 -1
- package/dist/components/ic-input-component-container2.js +2 -2
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-input-label2.js +1 -1
- package/dist/components/ic-input-validation2.js +1 -1
- package/dist/components/ic-link2.js +1 -1
- package/dist/components/ic-menu2.js +76 -22
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-menu2.js +1 -1
- package/dist/components/ic-search-bar.js +3 -5
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-select.js +226 -23
- package/dist/components/ic-select.js.map +1 -1
- package/dist/components/ic-side-navigation.js +1 -1
- package/dist/components/ic-tab-list.js +1 -1
- package/dist/components/ic-text-field2.js +1 -1
- package/dist/components/ic-theme.js +1 -1
- package/dist/components/ic-top-navigation.js +1 -1
- package/dist/components/ic-typography2.js +1 -1
- package/dist/components/ic-typography2.js.map +1 -1
- package/dist/core/core.css +1 -1
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-8af2a343.entry.js → p-01450166.entry.js} +2 -2
- package/dist/core/{p-8af2a343.entry.js.map → p-01450166.entry.js.map} +0 -0
- package/dist/core/{p-016fcce8.entry.js → p-01a17304.entry.js} +2 -2
- package/dist/core/{p-016fcce8.entry.js.map → p-01a17304.entry.js.map} +0 -0
- package/dist/core/{p-5e0b88fa.entry.js → p-08239789.entry.js} +2 -2
- package/dist/core/{p-5e0b88fa.entry.js.map → p-08239789.entry.js.map} +0 -0
- package/dist/core/{p-44af91df.entry.js → p-09c0cd28.entry.js} +2 -2
- package/dist/core/{p-44af91df.entry.js.map → p-09c0cd28.entry.js.map} +0 -0
- package/dist/core/{p-44355e34.entry.js → p-0cf51da5.entry.js} +2 -2
- package/dist/core/{p-44355e34.entry.js.map → p-0cf51da5.entry.js.map} +0 -0
- package/dist/core/{p-bbe0b521.entry.js → p-10531d9a.entry.js} +2 -2
- package/dist/core/{p-bbe0b521.entry.js.map → p-10531d9a.entry.js.map} +0 -0
- package/dist/core/p-14ba2f18.js +2 -0
- package/dist/core/p-14ba2f18.js.map +1 -0
- package/dist/core/{p-0d4ac3c9.entry.js → p-211465cf.entry.js} +2 -2
- package/dist/core/{p-0d4ac3c9.entry.js.map → p-211465cf.entry.js.map} +0 -0
- package/dist/core/{p-13854b65.entry.js → p-2c687b76.entry.js} +2 -2
- package/dist/core/{p-13854b65.entry.js.map → p-2c687b76.entry.js.map} +0 -0
- package/dist/core/p-2d5824f1.entry.js +2 -0
- package/dist/core/p-2d5824f1.entry.js.map +1 -0
- package/dist/core/{p-17420c90.entry.js → p-34e5ee10.entry.js} +2 -2
- package/dist/core/{p-17420c90.entry.js.map → p-34e5ee10.entry.js.map} +0 -0
- package/dist/core/{p-17f3a2bd.entry.js → p-35b91376.entry.js} +2 -2
- package/dist/core/{p-17f3a2bd.entry.js.map → p-35b91376.entry.js.map} +0 -0
- package/dist/core/{p-7152788d.entry.js → p-36e9f6ff.entry.js} +2 -2
- package/dist/core/{p-7152788d.entry.js.map → p-36e9f6ff.entry.js.map} +0 -0
- package/dist/core/{p-85a32ec7.entry.js → p-3a7725ed.entry.js} +2 -2
- package/dist/core/{p-85a32ec7.entry.js.map → p-3a7725ed.entry.js.map} +0 -0
- package/dist/core/{p-85436343.entry.js → p-3d95b097.entry.js} +2 -2
- package/dist/core/{p-85436343.entry.js.map → p-3d95b097.entry.js.map} +0 -0
- package/dist/core/p-40a17d61.entry.js +2 -0
- package/dist/core/p-40a17d61.entry.js.map +1 -0
- package/dist/core/{p-a3df537f.entry.js → p-41dab885.entry.js} +2 -2
- package/dist/core/{p-a3df537f.entry.js.map → p-41dab885.entry.js.map} +0 -0
- package/dist/core/{p-ed1d8712.entry.js → p-42876f02.entry.js} +2 -2
- package/dist/core/{p-ed1d8712.entry.js.map → p-42876f02.entry.js.map} +0 -0
- package/dist/core/{p-bddb885a.entry.js → p-483ba0f6.entry.js} +2 -2
- package/dist/core/{p-bddb885a.entry.js.map → p-483ba0f6.entry.js.map} +0 -0
- package/dist/core/{p-bdd2f166.entry.js → p-49831676.entry.js} +2 -2
- package/dist/core/{p-bdd2f166.entry.js.map → p-49831676.entry.js.map} +0 -0
- package/dist/core/p-55a8f5b6.entry.js +2 -0
- package/dist/core/p-55a8f5b6.entry.js.map +1 -0
- package/dist/core/{p-7ed79493.entry.js → p-5928296a.entry.js} +2 -2
- package/dist/core/p-5928296a.entry.js.map +1 -0
- package/dist/core/{p-4b1b46f5.entry.js → p-66800ec4.entry.js} +2 -2
- package/dist/core/p-66800ec4.entry.js.map +1 -0
- package/dist/core/{p-dc79694a.entry.js → p-7c207056.entry.js} +2 -2
- package/dist/core/{p-dc79694a.entry.js.map → p-7c207056.entry.js.map} +0 -0
- package/dist/core/{p-3b9d4007.entry.js → p-7f27efda.entry.js} +2 -2
- package/dist/core/{p-3b9d4007.entry.js.map → p-7f27efda.entry.js.map} +0 -0
- package/dist/core/{p-263018da.entry.js → p-87fc80f1.entry.js} +2 -2
- package/dist/core/{p-263018da.entry.js.map → p-87fc80f1.entry.js.map} +0 -0
- package/dist/core/{p-ea93611e.entry.js → p-886e7a24.entry.js} +2 -2
- package/dist/core/{p-ea93611e.entry.js.map → p-886e7a24.entry.js.map} +0 -0
- package/dist/core/{p-012dc33c.entry.js → p-889744b7.entry.js} +2 -2
- package/dist/core/{p-012dc33c.entry.js.map → p-889744b7.entry.js.map} +0 -0
- package/dist/core/{p-836c93b1.entry.js → p-92cc098f.entry.js} +2 -2
- package/dist/core/{p-836c93b1.entry.js.map → p-92cc098f.entry.js.map} +0 -0
- package/dist/core/{p-a968ff18.entry.js → p-961c9038.entry.js} +2 -2
- package/dist/core/{p-a968ff18.entry.js.map → p-961c9038.entry.js.map} +0 -0
- package/dist/core/{p-c09e9589.entry.js → p-9753e5f2.entry.js} +2 -2
- package/dist/core/{p-c09e9589.entry.js.map → p-9753e5f2.entry.js.map} +0 -0
- package/dist/core/{p-7f6ba60a.entry.js → p-a334ed34.entry.js} +2 -2
- package/dist/core/{p-7f6ba60a.entry.js.map → p-a334ed34.entry.js.map} +0 -0
- package/dist/core/p-b70f2538.entry.js +2 -0
- package/dist/core/p-b70f2538.entry.js.map +1 -0
- package/dist/core/{p-d198ae1f.entry.js → p-bbff1667.entry.js} +2 -2
- package/dist/core/{p-d198ae1f.entry.js.map → p-bbff1667.entry.js.map} +0 -0
- package/dist/core/{p-d10ce0a7.entry.js → p-c0bfb272.entry.js} +2 -2
- package/dist/core/{p-d10ce0a7.entry.js.map → p-c0bfb272.entry.js.map} +0 -0
- package/dist/core/{p-4fba6cae.entry.js → p-cd14a9dc.entry.js} +2 -2
- package/dist/core/{p-4fba6cae.entry.js.map → p-cd14a9dc.entry.js.map} +0 -0
- package/dist/core/{p-4cf60a22.entry.js → p-d7af7446.entry.js} +2 -2
- package/dist/core/{p-4cf60a22.entry.js.map → p-d7af7446.entry.js.map} +0 -0
- package/dist/core/{p-5d3dd182.entry.js → p-e2304886.entry.js} +2 -2
- package/dist/core/{p-5d3dd182.entry.js.map → p-e2304886.entry.js.map} +0 -0
- package/dist/core/p-f90ce9ca.entry.js +2 -0
- package/dist/core/p-f90ce9ca.entry.js.map +1 -0
- package/dist/esm/core.js +1 -1
- package/dist/esm/{helpers-db00eae1.js → helpers-63cb8828.js} +41 -3
- package/dist/esm/helpers-63cb8828.js.map +1 -0
- package/dist/esm/ic-alert.entry.js +1 -1
- package/dist/esm/ic-back-to-top.entry.js +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +1 -1
- package/dist/esm/ic-breadcrumbs.entry.js +1 -1
- package/dist/esm/ic-button_3.entry.js +2 -2
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card.entry.js +2 -2
- package/dist/esm/ic-card.entry.js.map +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +1 -1
- package/dist/esm/ic-checkbox.entry.js +1 -1
- package/dist/esm/ic-data-row.entry.js +1 -1
- package/dist/esm/ic-divider.entry.js +1 -1
- package/dist/esm/ic-footer-link-group.entry.js +1 -1
- package/dist/esm/ic-footer-link.entry.js +1 -1
- package/dist/esm/ic-footer.entry.js +1 -1
- package/dist/esm/ic-hero.entry.js +3 -3
- package/dist/esm/ic-hero.entry.js.map +1 -1
- package/dist/esm/ic-input-component-container_3.entry.js +78 -24
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +1 -1
- package/dist/esm/ic-link.entry.js +1 -1
- package/dist/esm/ic-navigation-button.entry.js +1 -1
- package/dist/esm/ic-navigation-group.entry.js +1 -1
- package/dist/esm/ic-navigation-item.entry.js +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +1 -1
- package/dist/esm/ic-page-header.entry.js +1 -1
- package/dist/esm/ic-radio-group.entry.js +1 -1
- package/dist/esm/ic-radio-option.entry.js +1 -1
- package/dist/esm/ic-search-bar.entry.js +3 -5
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-select.entry.js +216 -23
- package/dist/esm/ic-select.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +1 -1
- package/dist/esm/ic-status-tag.entry.js +1 -1
- package/dist/esm/ic-step.entry.js +1 -1
- package/dist/esm/ic-stepper.entry.js +1 -1
- package/dist/esm/ic-switch.entry.js +1 -1
- package/dist/esm/ic-tab-list.entry.js +1 -1
- package/dist/esm/ic-tab-panel.entry.js +1 -1
- package/dist/esm/ic-tab.entry.js +1 -1
- package/dist/esm/ic-text-field.entry.js +1 -1
- package/dist/esm/ic-theme.entry.js +1 -1
- package/dist/esm/ic-top-navigation.entry.js +1 -1
- package/dist/esm/ic-typography.entry.js +1 -1
- package/dist/esm/ic-typography.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-menu/ic-menu.d.ts +2 -0
- package/dist/types/components/ic-menu/ic-menu.types.d.ts +1 -0
- package/dist/types/components/ic-select/ic-select.d.ts +44 -2
- package/dist/types/components/ic-typography/ic-typography.d.ts +1 -1
- package/dist/types/components.d.ts +53 -5
- package/dist/types/utils/helpers.d.ts +11 -2
- package/dist/types/utils/types.d.ts +1 -0
- package/hydrate/index.js +348 -55
- package/package.json +3 -3
- package/README.md +0 -8
- package/dist/cjs/helpers-9d4961dc.js.map +0 -1
- package/dist/core/p-16a81e12.entry.js +0 -2
- package/dist/core/p-16a81e12.entry.js.map +0 -1
- package/dist/core/p-22eb7fc8.entry.js +0 -2
- package/dist/core/p-22eb7fc8.entry.js.map +0 -1
- package/dist/core/p-4b1b46f5.entry.js.map +0 -1
- package/dist/core/p-6238313f.entry.js +0 -2
- package/dist/core/p-6238313f.entry.js.map +0 -1
- package/dist/core/p-7ed79493.entry.js.map +0 -1
- package/dist/core/p-856d9516.entry.js +0 -2
- package/dist/core/p-856d9516.entry.js.map +0 -1
- package/dist/core/p-8a677ff1.entry.js +0 -2
- package/dist/core/p-8a677ff1.entry.js.map +0 -1
- package/dist/core/p-e5a09372.js +0 -2
- package/dist/core/p-e5a09372.js.map +0 -1
- package/dist/esm/helpers-db00eae1.js.map +0 -1
@@ -7,7 +7,7 @@
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
8
8
|
import { IcAlertVariants } from "./components/ic-alert/ic-alert.types";
|
9
9
|
import { IcButtonSizes, IcButtonTooltipPlacement, IcButtonTypes, IcButtonVariants } from "./components/ic-button/ic-button.types";
|
10
|
-
import { IcActivationTypes, IcAdditionalFieldTypes, IcAlignment, IcAutocompleteTypes, IcAutocorrectStates, IcInformationStatusOrEmpty, IcMenuOption, IcTheme, IcThemeForeground, IcTypographyVariants } from "./utils/types";
|
10
|
+
import { IcActivationTypes, IcAdditionalFieldTypes, IcAlignment, IcAutocompleteTypes, IcAutocorrectStates, IcInformationStatusOrEmpty, IcMenuOption, IcSearchMatchPositions, IcTheme, IcThemeForeground, IcTypographyVariants } from "./utils/types";
|
11
11
|
import { IcChangeEventDetail } from "./components/ic-checkbox-group/ic-checkbox-group.types";
|
12
12
|
import { IcProtectiveMarkings } from "./components/ic-classification-banner/ic-classification-banner.types";
|
13
13
|
import { IcFooterBreakpoints } from "./components/ic-footer/ic-footer.types";
|
@@ -924,6 +924,10 @@ export namespace Components {
|
|
924
924
|
"fullHeight"?: boolean;
|
925
925
|
}
|
926
926
|
interface IcSelect {
|
927
|
+
/**
|
928
|
+
* Number of characters until suggestions appear for a searchable select.
|
929
|
+
*/
|
930
|
+
"charactersUntilSuggestions"?: number;
|
927
931
|
/**
|
928
932
|
* Specify whether dense styling is to be applied to the element.
|
929
933
|
*/
|
@@ -932,6 +936,10 @@ export namespace Components {
|
|
932
936
|
* Specify whether the input is disabled.
|
933
937
|
*/
|
934
938
|
"disabled"?: boolean;
|
939
|
+
/**
|
940
|
+
* Provide text for empty results list
|
941
|
+
*/
|
942
|
+
"emptyOptionListText": string;
|
935
943
|
/**
|
936
944
|
* If true, then fill width of container.
|
937
945
|
*/
|
@@ -944,6 +952,14 @@ export namespace Components {
|
|
944
952
|
* Hides the label and applies the required label value as an aria-label.
|
945
953
|
*/
|
946
954
|
"hideLabel"?: boolean;
|
955
|
+
/**
|
956
|
+
* If true, descriptions of options are included when filtering options in a searchable select.
|
957
|
+
*/
|
958
|
+
"includeDescriptionsInSearch"?: boolean;
|
959
|
+
/**
|
960
|
+
* If true, group titles of grouped options are included when filtering options in a searchable select.
|
961
|
+
*/
|
962
|
+
"includeGroupTitlesInSearch"?: boolean;
|
947
963
|
/**
|
948
964
|
* Provide a label for the input.
|
949
965
|
*/
|
@@ -968,12 +984,20 @@ export namespace Components {
|
|
968
984
|
* Specify if the input requires a value.
|
969
985
|
*/
|
970
986
|
"required"?: boolean;
|
987
|
+
/**
|
988
|
+
* Whether the search string of the searchable select should match the start of or anywhere in the options.
|
989
|
+
*/
|
990
|
+
"searchMatchPosition"?: IcSearchMatchPositions;
|
991
|
+
/**
|
992
|
+
* If true, the select can be typed in to filter options.
|
993
|
+
*/
|
994
|
+
"searchable"?: boolean;
|
971
995
|
/**
|
972
996
|
* Sets focus on the input box.
|
973
997
|
*/
|
974
998
|
"setFocus": () => Promise<void>;
|
975
999
|
/**
|
976
|
-
* Display a button which clears the input when clicked.
|
1000
|
+
* Display a button which clears the input when clicked. The button will always appear on the searchable select.
|
977
1001
|
*/
|
978
1002
|
"showClearButton"?: boolean;
|
979
1003
|
/**
|
@@ -1342,7 +1366,7 @@ export namespace Components {
|
|
1342
1366
|
}
|
1343
1367
|
interface IcTypography {
|
1344
1368
|
/**
|
1345
|
-
* Adds
|
1369
|
+
* Adds appropriate margins to the top and bottom of the typography.
|
1346
1370
|
*/
|
1347
1371
|
"spacing"?: boolean;
|
1348
1372
|
/**
|
@@ -2713,6 +2737,10 @@ declare namespace LocalJSX {
|
|
2713
2737
|
"fullHeight"?: boolean;
|
2714
2738
|
}
|
2715
2739
|
interface IcSelect {
|
2740
|
+
/**
|
2741
|
+
* Number of characters until suggestions appear for a searchable select.
|
2742
|
+
*/
|
2743
|
+
"charactersUntilSuggestions"?: number;
|
2716
2744
|
/**
|
2717
2745
|
* Specify whether dense styling is to be applied to the element.
|
2718
2746
|
*/
|
@@ -2721,6 +2749,10 @@ declare namespace LocalJSX {
|
|
2721
2749
|
* Specify whether the input is disabled.
|
2722
2750
|
*/
|
2723
2751
|
"disabled"?: boolean;
|
2752
|
+
/**
|
2753
|
+
* Provide text for empty results list
|
2754
|
+
*/
|
2755
|
+
"emptyOptionListText"?: string;
|
2724
2756
|
/**
|
2725
2757
|
* If true, then fill width of container.
|
2726
2758
|
*/
|
@@ -2733,6 +2765,14 @@ declare namespace LocalJSX {
|
|
2733
2765
|
* Hides the label and applies the required label value as an aria-label.
|
2734
2766
|
*/
|
2735
2767
|
"hideLabel"?: boolean;
|
2768
|
+
/**
|
2769
|
+
* If true, descriptions of options are included when filtering options in a searchable select.
|
2770
|
+
*/
|
2771
|
+
"includeDescriptionsInSearch"?: boolean;
|
2772
|
+
/**
|
2773
|
+
* If true, group titles of grouped options are included when filtering options in a searchable select.
|
2774
|
+
*/
|
2775
|
+
"includeGroupTitlesInSearch"?: boolean;
|
2736
2776
|
/**
|
2737
2777
|
* Provide a label for the input.
|
2738
2778
|
*/
|
@@ -2770,7 +2810,15 @@ declare namespace LocalJSX {
|
|
2770
2810
|
*/
|
2771
2811
|
"required"?: boolean;
|
2772
2812
|
/**
|
2773
|
-
*
|
2813
|
+
* Whether the search string of the searchable select should match the start of or anywhere in the options.
|
2814
|
+
*/
|
2815
|
+
"searchMatchPosition"?: IcSearchMatchPositions;
|
2816
|
+
/**
|
2817
|
+
* If true, the select can be typed in to filter options.
|
2818
|
+
*/
|
2819
|
+
"searchable"?: boolean;
|
2820
|
+
/**
|
2821
|
+
* Display a button which clears the input when clicked. The button will always appear on the searchable select.
|
2774
2822
|
*/
|
2775
2823
|
"showClearButton"?: boolean;
|
2776
2824
|
/**
|
@@ -3160,7 +3208,7 @@ declare namespace LocalJSX {
|
|
3160
3208
|
}
|
3161
3209
|
interface IcTypography {
|
3162
3210
|
/**
|
3163
|
-
* Adds
|
3211
|
+
* Adds appropriate margins to the top and bottom of the typography.
|
3164
3212
|
*/
|
3165
3213
|
"spacing"?: boolean;
|
3166
3214
|
/**
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { EventEmitter } from "../stencil-public-runtime";
|
2
|
-
import { IcCallbackFunctionNoReturn, IcInformationStatusOrEmpty, IcNavParentDetails, IcPropObject, IcColorRGB } from "./types";
|
2
|
+
import { IcCallbackFunctionNoReturn, IcInformationStatusOrEmpty, IcNavParentDetails, IcPropObject, IcColorRGB, IcSearchMatchPositions } from "./types";
|
3
3
|
import { IcMenuOption, IcThemeForeground } from "../utils/types";
|
4
4
|
/**
|
5
5
|
* Used to inherit global attributes set on the host. Called in componentWillLoad and assigned
|
@@ -58,9 +58,18 @@ export declare const isEmptyString: (value: string) => boolean;
|
|
58
58
|
* Extracts the label using the value from an object. Requires the object to have a label and value property.
|
59
59
|
* @param value - value from object
|
60
60
|
* @param options - list of menu items
|
61
|
-
* @returns - label
|
61
|
+
* @returns - label corresponding to value
|
62
62
|
*/
|
63
63
|
export declare const getLabelFromValue: (value: string, options: IcMenuOption[]) => string | undefined;
|
64
|
+
/**
|
65
|
+
* Filters the options based on the search string.
|
66
|
+
* @param options - array of options
|
67
|
+
* @param includeDescriptions - determines whether option descriptions are included when filtering options
|
68
|
+
* @param searchString - string used to filter the options
|
69
|
+
* @param position - whether the search string matches the start of or anywhere in the options
|
70
|
+
* @returns filtered array of options
|
71
|
+
*/
|
72
|
+
export declare const getFilteredMenuOptions: (options: IcMenuOption[], includeDescriptions: boolean, searchString: string, position: IcSearchMatchPositions) => IcMenuOption[];
|
64
73
|
export declare const deviceSizeMatches: (size: number) => boolean;
|
65
74
|
export declare const getCurrentDeviceSize: () => number;
|
66
75
|
export declare const getCssProperty: (cssVar: string) => string;
|
@@ -38,6 +38,7 @@ export interface IcMenuOption {
|
|
38
38
|
recommended?: boolean;
|
39
39
|
children?: IcMenuOption[];
|
40
40
|
}
|
41
|
+
export declare type IcSearchMatchPositions = "start" | "anywhere";
|
41
42
|
export declare type IcCallbackFunctionNoReturn = (...args: unknown[]) => void;
|
42
43
|
export declare type IcRequiredPropsTypes = string | boolean | number | HTMLElement | IcMenuOption[];
|
43
44
|
export declare type IcPropObject = {
|