@dnb/eufemia 9.23.0-beta.2 → 9.23.0-beta.3
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/CHANGELOG.md +7 -0
- package/cjs/shared/Eufemia.js +1 -1
- package/es/shared/Eufemia.js +1 -1
- package/esm/dnb-ui-basis.min.mjs +1 -1
- package/esm/dnb-ui-components.min.mjs +1 -1
- package/esm/dnb-ui-elements.min.mjs +1 -1
- package/esm/dnb-ui-extensions.min.mjs +1 -1
- package/esm/dnb-ui-lib.min.mjs +1 -1
- package/esm/dnb-ui-web-components.min.mjs +1 -1
- package/package.json +1 -1
- package/shared/Eufemia.js +1 -1
- package/umd/dnb-ui-basis.min.js +1 -1
- package/umd/dnb-ui-components.min.js +1 -1
- package/umd/dnb-ui-elements.min.js +1 -1
- package/umd/dnb-ui-extensions.min.js +1 -1
- package/umd/dnb-ui-lib.min.js +1 -1
- package/umd/dnb-ui-web-components.min.js +1 -1
- package/esm/components/Accordion.d.ts +0 -3
- package/esm/components/Accordion.js +0 -3
- package/esm/components/Autocomplete.d.ts +0 -3
- package/esm/components/Autocomplete.js +0 -3
- package/esm/components/Avatar.d.ts +0 -3
- package/esm/components/Avatar.js +0 -3
- package/esm/components/Breadcrumb.d.ts +0 -3
- package/esm/components/Breadcrumb.js +0 -3
- package/esm/components/Button.d.ts +0 -3
- package/esm/components/Button.js +0 -3
- package/esm/components/Checkbox.d.ts +0 -3
- package/esm/components/Checkbox.js +0 -3
- package/esm/components/DatePicker.d.ts +0 -3
- package/esm/components/DatePicker.js +0 -3
- package/esm/components/Dialog.d.ts +0 -3
- package/esm/components/Dialog.js +0 -3
- package/esm/components/Drawer.d.ts +0 -3
- package/esm/components/Drawer.js +0 -3
- package/esm/components/Dropdown.d.ts +0 -3
- package/esm/components/Dropdown.js +0 -3
- package/esm/components/FormLabel.d.ts +0 -3
- package/esm/components/FormLabel.js +0 -3
- package/esm/components/FormRow.d.ts +0 -3
- package/esm/components/FormRow.js +0 -3
- package/esm/components/FormSet.d.ts +0 -3
- package/esm/components/FormSet.js +0 -3
- package/esm/components/FormStatus.d.ts +0 -3
- package/esm/components/FormStatus.js +0 -3
- package/esm/components/GlobalError.d.ts +0 -3
- package/esm/components/GlobalError.js +0 -3
- package/esm/components/GlobalStatus.d.ts +0 -3
- package/esm/components/GlobalStatus.js +0 -3
- package/esm/components/Heading.d.ts +0 -3
- package/esm/components/Heading.js +0 -3
- package/esm/components/HelpButton.d.ts +0 -3
- package/esm/components/HelpButton.js +0 -3
- package/esm/components/Icon.d.ts +0 -3
- package/esm/components/Icon.js +0 -3
- package/esm/components/IconPrimary.d.ts +0 -3
- package/esm/components/IconPrimary.js +0 -3
- package/esm/components/InfoCard.d.ts +0 -3
- package/esm/components/InfoCard.js +0 -3
- package/esm/components/Input.d.ts +0 -3
- package/esm/components/Input.js +0 -3
- package/esm/components/InputMasked.d.ts +0 -3
- package/esm/components/InputMasked.js +0 -3
- package/esm/components/Logo.d.ts +0 -3
- package/esm/components/Logo.js +0 -3
- package/esm/components/Modal.d.ts +0 -3
- package/esm/components/Modal.js +0 -3
- package/esm/components/Number.d.ts +0 -2
- package/esm/components/Number.js +0 -12
- package/esm/components/NumberFormat.d.ts +0 -3
- package/esm/components/NumberFormat.js +0 -3
- package/esm/components/Pagination.d.ts +0 -3
- package/esm/components/Pagination.js +0 -3
- package/esm/components/ProgressIndicator.d.ts +0 -3
- package/esm/components/ProgressIndicator.js +0 -3
- package/esm/components/Radio.d.ts +0 -3
- package/esm/components/Radio.js +0 -3
- package/esm/components/Section.d.ts +0 -3
- package/esm/components/Section.js +0 -3
- package/esm/components/Skeleton.d.ts +0 -3
- package/esm/components/Skeleton.js +0 -3
- package/esm/components/Slider.d.ts +0 -3
- package/esm/components/Slider.js +0 -3
- package/esm/components/Space.d.ts +0 -3
- package/esm/components/Space.js +0 -3
- package/esm/components/StepIndicator.d.ts +0 -3
- package/esm/components/StepIndicator.js +0 -3
- package/esm/components/Switch.d.ts +0 -3
- package/esm/components/Switch.js +0 -3
- package/esm/components/Tabs.d.ts +0 -3
- package/esm/components/Tabs.js +0 -3
- package/esm/components/Tag.d.ts +0 -3
- package/esm/components/Tag.js +0 -3
- package/esm/components/Textarea.d.ts +0 -3
- package/esm/components/Textarea.js +0 -3
- package/esm/components/Timeline.d.ts +0 -3
- package/esm/components/Timeline.js +0 -3
- package/esm/components/ToggleButton.d.ts +0 -3
- package/esm/components/ToggleButton.js +0 -3
- package/esm/components/Tooltip.d.ts +0 -3
- package/esm/components/Tooltip.js +0 -3
- package/esm/components/VisuallyHidden.d.ts +0 -3
- package/esm/components/VisuallyHidden.js +0 -3
- package/esm/components/accordion/Accordion.d.ts +0 -231
- package/esm/components/accordion/Accordion.js +0 -599
- package/esm/components/accordion/AccordionContent.d.ts +0 -40
- package/esm/components/accordion/AccordionContent.js +0 -227
- package/esm/components/accordion/AccordionContext.d.ts +0 -3
- package/esm/components/accordion/AccordionContext.js +0 -3
- package/esm/components/accordion/AccordionHeader.d.ts +0 -174
- package/esm/components/accordion/AccordionHeader.js +0 -379
- package/esm/components/accordion/AccordionPropTypes.d.ts +0 -78
- package/esm/components/accordion/AccordionPropTypes.js +0 -82
- package/esm/components/accordion/AccordionProvider.d.ts +0 -86
- package/esm/components/accordion/AccordionProvider.js +0 -137
- package/esm/components/accordion/AccordionProviderContext.d.ts +0 -3
- package/esm/components/accordion/AccordionProviderContext.js +0 -3
- package/esm/components/accordion/group/web-component.d.ts +0 -1
- package/esm/components/accordion/group/web-component.js +0 -5
- package/esm/components/accordion/index.d.ts +0 -3
- package/esm/components/accordion/index.js +0 -3
- package/esm/components/accordion/style/_accordion.scss +0 -236
- package/esm/components/accordion/style/dnb-accordion.css +0 -263
- package/esm/components/accordion/style/dnb-accordion.min.css +0 -1
- package/esm/components/accordion/style/dnb-accordion.scss +0 -12
- package/esm/components/accordion/style/index.d.ts +0 -1
- package/esm/components/accordion/style/index.js +0 -1
- package/esm/components/accordion/style/themes/dnb-accordion-theme-ui.css +0 -228
- package/esm/components/accordion/style/themes/dnb-accordion-theme-ui.min.css +0 -3
- package/esm/components/accordion/style/themes/dnb-accordion-theme-ui.scss +0 -102
- package/esm/components/accordion/style/themes/ui.d.ts +0 -1
- package/esm/components/accordion/style/themes/ui.js +0 -1
- package/esm/components/accordion/style.d.ts +0 -1
- package/esm/components/accordion/style.js +0 -1
- package/esm/components/accordion/web-component.d.ts +0 -3
- package/esm/components/accordion/web-component.js +0 -5
- package/esm/components/autocomplete/Autocomplete.d.ts +0 -564
- package/esm/components/autocomplete/Autocomplete.js +0 -1759
- package/esm/components/autocomplete/index.d.ts +0 -3
- package/esm/components/autocomplete/index.js +0 -3
- package/esm/components/autocomplete/style/_autocomplete.scss +0 -243
- package/esm/components/autocomplete/style/dnb-autocomplete.css +0 -2327
- package/esm/components/autocomplete/style/dnb-autocomplete.min.css +0 -2
- package/esm/components/autocomplete/style/dnb-autocomplete.scss +0 -18
- package/esm/components/autocomplete/style/index.d.ts +0 -1
- package/esm/components/autocomplete/style/index.js +0 -1
- package/esm/components/autocomplete/style/themes/dnb-autocomplete-theme-ui.css +0 -74
- package/esm/components/autocomplete/style/themes/dnb-autocomplete-theme-ui.min.css +0 -3
- package/esm/components/autocomplete/style/themes/dnb-autocomplete-theme-ui.scss +0 -53
- package/esm/components/autocomplete/style/themes/ui.d.ts +0 -1
- package/esm/components/autocomplete/style/themes/ui.js +0 -1
- package/esm/components/autocomplete/style.d.ts +0 -1
- package/esm/components/autocomplete/style.js +0 -1
- package/esm/components/autocomplete/web-component.d.ts +0 -3
- package/esm/components/autocomplete/web-component.js +0 -5
- package/esm/components/avatar/Avatar.d.ts +0 -65
- package/esm/components/avatar/Avatar.js +0 -90
- package/esm/components/avatar/AvatarGroup.d.ts +0 -58
- package/esm/components/avatar/AvatarGroup.js +0 -94
- package/esm/components/avatar/index.d.ts +0 -3
- package/esm/components/avatar/index.js +0 -3
- package/esm/components/avatar/style/_avatar.scss +0 -146
- package/esm/components/avatar/style/dnb-avatar.css +0 -226
- package/esm/components/avatar/style/dnb-avatar.min.css +0 -1
- package/esm/components/avatar/style/dnb-avatar.scss +0 -12
- package/esm/components/avatar/style/index.d.ts +0 -6
- package/esm/components/avatar/style/index.js +0 -1
- package/esm/components/avatar/style/themes/dnb-avatar-theme-ui.css +0 -36
- package/esm/components/avatar/style/themes/dnb-avatar-theme-ui.min.css +0 -1
- package/esm/components/avatar/style/themes/dnb-avatar-theme-ui.scss +0 -29
- package/esm/components/avatar/style/themes/ui.d.ts +0 -1
- package/esm/components/avatar/style/themes/ui.js +0 -1
- package/esm/components/avatar/style.d.ts +0 -1
- package/esm/components/avatar/style.js +0 -1
- package/esm/components/breadcrumb/Breadcrumb.d.ts +0 -104
- package/esm/components/breadcrumb/Breadcrumb.js +0 -129
- package/esm/components/breadcrumb/BreadcrumbItem.d.ts +0 -37
- package/esm/components/breadcrumb/BreadcrumbItem.js +0 -59
- package/esm/components/breadcrumb/index.d.ts +0 -3
- package/esm/components/breadcrumb/index.js +0 -3
- package/esm/components/breadcrumb/style/_breadcrumb.scss +0 -57
- package/esm/components/breadcrumb/style/dnb-breadcrumb.css +0 -144
- package/esm/components/breadcrumb/style/dnb-breadcrumb.min.css +0 -1
- package/esm/components/breadcrumb/style/dnb-breadcrumb.scss +0 -12
- package/esm/components/breadcrumb/style/index.d.ts +0 -1
- package/esm/components/breadcrumb/style/index.js +0 -1
- package/esm/components/breadcrumb/style.d.ts +0 -1
- package/esm/components/breadcrumb/style.js +0 -1
- package/esm/components/button/Button.d.ts +0 -233
- package/esm/components/button/Button.js +0 -370
- package/esm/components/button/index.d.ts +0 -3
- package/esm/components/button/index.js +0 -3
- package/esm/components/button/style/_button.scss +0 -299
- package/esm/components/button/style/dnb-button.css +0 -580
- package/esm/components/button/style/dnb-button.min.css +0 -1
- package/esm/components/button/style/dnb-button.scss +0 -17
- package/esm/components/button/style/index.d.ts +0 -1
- package/esm/components/button/style/index.js +0 -1
- package/esm/components/button/style/themes/_button-mixins.scss +0 -125
- package/esm/components/button/style/themes/dnb-button-theme-open-banking.css +0 -738
- package/esm/components/button/style/themes/dnb-button-theme-open-banking.min.css +0 -13
- package/esm/components/button/style/themes/dnb-button-theme-open-banking.scss +0 -19
- package/esm/components/button/style/themes/dnb-button-theme-ui.css +0 -723
- package/esm/components/button/style/themes/dnb-button-theme-ui.min.css +0 -13
- package/esm/components/button/style/themes/dnb-button-theme-ui.scss +0 -379
- package/esm/components/button/style/themes/ui.d.ts +0 -1
- package/esm/components/button/style/themes/ui.js +0 -1
- package/esm/components/button/style.d.ts +0 -1
- package/esm/components/button/style.js +0 -1
- package/esm/components/button/web-component.d.ts +0 -3
- package/esm/components/button/web-component.js +0 -5
- package/esm/components/checkbox/Checkbox.d.ts +0 -172
- package/esm/components/checkbox/Checkbox.js +0 -340
- package/esm/components/checkbox/index.d.ts +0 -3
- package/esm/components/checkbox/index.js +0 -3
- package/esm/components/checkbox/style/_checkbox.scss +0 -191
- package/esm/components/checkbox/style/dnb-checkbox.css +0 -538
- package/esm/components/checkbox/style/dnb-checkbox.min.css +0 -1
- package/esm/components/checkbox/style/dnb-checkbox.scss +0 -14
- package/esm/components/checkbox/style/index.d.ts +0 -1
- package/esm/components/checkbox/style/index.js +0 -1
- package/esm/components/checkbox/style/themes/dnb-checkbox-theme-ui.css +0 -113
- package/esm/components/checkbox/style/themes/dnb-checkbox-theme-ui.min.css +0 -1
- package/esm/components/checkbox/style/themes/dnb-checkbox-theme-ui.scss +0 -130
- package/esm/components/checkbox/style/themes/ui.d.ts +0 -1
- package/esm/components/checkbox/style/themes/ui.js +0 -1
- package/esm/components/checkbox/style.d.ts +0 -1
- package/esm/components/checkbox/style.js +0 -1
- package/esm/components/checkbox/web-component.d.ts +0 -3
- package/esm/components/checkbox/web-component.js +0 -5
- package/esm/components/date-picker/DatePicker.d.ts +0 -385
- package/esm/components/date-picker/DatePicker.js +0 -603
- package/esm/components/date-picker/DatePickerAddon.d.ts +0 -24
- package/esm/components/date-picker/DatePickerAddon.js +0 -159
- package/esm/components/date-picker/DatePickerCalc.d.ts +0 -37
- package/esm/components/date-picker/DatePickerCalc.js +0 -205
- package/esm/components/date-picker/DatePickerCalendar.d.ts +0 -45
- package/esm/components/date-picker/DatePickerCalendar.js +0 -731
- package/esm/components/date-picker/DatePickerContext.d.ts +0 -3
- package/esm/components/date-picker/DatePickerContext.js +0 -3
- package/esm/components/date-picker/DatePickerFooter.d.ts +0 -20
- package/esm/components/date-picker/DatePickerFooter.js +0 -158
- package/esm/components/date-picker/DatePickerInput.d.ts +0 -72
- package/esm/components/date-picker/DatePickerInput.js +0 -844
- package/esm/components/date-picker/DatePickerProvider.d.ts +0 -41
- package/esm/components/date-picker/DatePickerProvider.js +0 -318
- package/esm/components/date-picker/DatePickerRange.d.ts +0 -25
- package/esm/components/date-picker/DatePickerRange.js +0 -225
- package/esm/components/date-picker/index.d.ts +0 -3
- package/esm/components/date-picker/index.js +0 -3
- package/esm/components/date-picker/style/_date-picker.scss +0 -528
- package/esm/components/date-picker/style/dnb-date-picker.css +0 -5081
- package/esm/components/date-picker/style/dnb-date-picker.min.css +0 -4
- package/esm/components/date-picker/style/dnb-date-picker.scss +0 -19
- package/esm/components/date-picker/style/index.d.ts +0 -1
- package/esm/components/date-picker/style/index.js +0 -1
- package/esm/components/date-picker/style/themes/dnb-date-picker-theme-ui.css +0 -168
- package/esm/components/date-picker/style/themes/dnb-date-picker-theme-ui.min.css +0 -3
- package/esm/components/date-picker/style/themes/dnb-date-picker-theme-ui.scss +0 -179
- package/esm/components/date-picker/style/themes/ui.d.ts +0 -1
- package/esm/components/date-picker/style/themes/ui.js +0 -1
- package/esm/components/date-picker/style.d.ts +0 -1
- package/esm/components/date-picker/style.js +0 -1
- package/esm/components/date-picker/web-component.d.ts +0 -3
- package/esm/components/date-picker/web-component.js +0 -5
- package/esm/components/dialog/Dialog.d.ts +0 -12
- package/esm/components/dialog/Dialog.js +0 -117
- package/esm/components/dialog/DialogContent.d.ts +0 -7
- package/esm/components/dialog/DialogContent.js +0 -94
- package/esm/components/dialog/index.d.ts +0 -1
- package/esm/components/dialog/index.js +0 -3
- package/esm/components/dialog/parts/DialogBody.d.ts +0 -15
- package/esm/components/dialog/parts/DialogBody.js +0 -17
- package/esm/components/dialog/parts/DialogHeader.d.ts +0 -8
- package/esm/components/dialog/parts/DialogHeader.js +0 -20
- package/esm/components/dialog/parts/DialogNavigation.d.ts +0 -4
- package/esm/components/dialog/parts/DialogNavigation.js +0 -15
- package/esm/components/dialog/style/_dialog.scss +0 -188
- package/esm/components/dialog/style/dnb-dialog.css +0 -429
- package/esm/components/dialog/style/dnb-dialog.min.css +0 -1
- package/esm/components/dialog/style/dnb-dialog.scss +0 -15
- package/esm/components/dialog/style/index.d.ts +0 -1
- package/esm/components/dialog/style/index.js +0 -1
- package/esm/components/dialog/style/themes/dnb-dialog-theme-ui.css +0 -17
- package/esm/components/dialog/style/themes/dnb-dialog-theme-ui.min.css +0 -1
- package/esm/components/dialog/style/themes/dnb-dialog-theme-ui.scss +0 -17
- package/esm/components/dialog/style/themes/ui.d.ts +0 -1
- package/esm/components/dialog/style/themes/ui.js +0 -1
- package/esm/components/dialog/style.d.ts +0 -1
- package/esm/components/dialog/style.js +0 -1
- package/esm/components/dialog/types.d.ts +0 -60
- package/esm/components/dialog/types.js +0 -1
- package/esm/components/drawer/Drawer.d.ts +0 -12
- package/esm/components/drawer/Drawer.js +0 -120
- package/esm/components/drawer/DrawerContent.d.ts +0 -7
- package/esm/components/drawer/DrawerContent.js +0 -96
- package/esm/components/drawer/helpers.d.ts +0 -5
- package/esm/components/drawer/helpers.js +0 -26
- package/esm/components/drawer/index.d.ts +0 -3
- package/esm/components/drawer/index.js +0 -3
- package/esm/components/drawer/parts/DrawerBody.d.ts +0 -15
- package/esm/components/drawer/parts/DrawerBody.js +0 -17
- package/esm/components/drawer/parts/DrawerHeader.d.ts +0 -8
- package/esm/components/drawer/parts/DrawerHeader.js +0 -20
- package/esm/components/drawer/parts/DrawerNavigation.d.ts +0 -4
- package/esm/components/drawer/parts/DrawerNavigation.js +0 -16
- package/esm/components/drawer/style/_drawer.scss +0 -265
- package/esm/components/drawer/style/dnb-drawer.css +0 -515
- package/esm/components/drawer/style/dnb-drawer.min.css +0 -1
- package/esm/components/drawer/style/dnb-drawer.scss +0 -15
- package/esm/components/drawer/style/index.d.ts +0 -1
- package/esm/components/drawer/style/index.js +0 -1
- package/esm/components/drawer/style/themes/dnb-drawer-theme-ui.css +0 -17
- package/esm/components/drawer/style/themes/dnb-drawer-theme-ui.min.css +0 -1
- package/esm/components/drawer/style/themes/dnb-drawer-theme-ui.scss +0 -17
- package/esm/components/drawer/style/themes/ui.d.ts +0 -1
- package/esm/components/drawer/style/themes/ui.js +0 -1
- package/esm/components/drawer/style.d.ts +0 -1
- package/esm/components/drawer/style.js +0 -1
- package/esm/components/drawer/types.d.ts +0 -68
- package/esm/components/drawer/types.js +0 -1
- package/esm/components/dropdown/Dropdown.d.ts +0 -428
- package/esm/components/dropdown/Dropdown.js +0 -583
- package/esm/components/dropdown/index.d.ts +0 -3
- package/esm/components/dropdown/index.js +0 -3
- package/esm/components/dropdown/style/_dropdown.scss +0 -340
- package/esm/components/dropdown/style/dnb-dropdown.css +0 -1307
- package/esm/components/dropdown/style/dnb-dropdown.min.css +0 -1
- package/esm/components/dropdown/style/dnb-dropdown.scss +0 -18
- package/esm/components/dropdown/style/index.d.ts +0 -1
- package/esm/components/dropdown/style/index.js +0 -1
- package/esm/components/dropdown/style/themes/dnb-dropdown-theme-ui.css +0 -82
- package/esm/components/dropdown/style/themes/dnb-dropdown-theme-ui.min.css +0 -1
- package/esm/components/dropdown/style/themes/dnb-dropdown-theme-ui.scss +0 -52
- package/esm/components/dropdown/style/themes/ui.d.ts +0 -1
- package/esm/components/dropdown/style/themes/ui.js +0 -1
- package/esm/components/dropdown/style.d.ts +0 -1
- package/esm/components/dropdown/style.js +0 -1
- package/esm/components/dropdown/web-component.d.ts +0 -3
- package/esm/components/dropdown/web-component.js +0 -5
- package/esm/components/form-label/FormLabel.d.ts +0 -117
- package/esm/components/form-label/FormLabel.js +0 -140
- package/esm/components/form-label/index.d.ts +0 -3
- package/esm/components/form-label/index.js +0 -3
- package/esm/components/form-label/style/_form-label.scss +0 -60
- package/esm/components/form-label/style/dnb-form-label.css +0 -111
- package/esm/components/form-label/style/dnb-form-label.min.css +0 -1
- package/esm/components/form-label/style/dnb-form-label.scss +0 -12
- package/esm/components/form-label/style/index.d.ts +0 -1
- package/esm/components/form-label/style/index.js +0 -1
- package/esm/components/form-label/style/themes/dnb-form-label-theme-ui.css +0 -10
- package/esm/components/form-label/style/themes/dnb-form-label-theme-ui.min.css +0 -1
- package/esm/components/form-label/style/themes/dnb-form-label-theme-ui.scss +0 -11
- package/esm/components/form-label/style/themes/ui.d.ts +0 -1
- package/esm/components/form-label/style/themes/ui.js +0 -1
- package/esm/components/form-label/style.d.ts +0 -1
- package/esm/components/form-label/style.js +0 -1
- package/esm/components/form-label/web-component.d.ts +0 -3
- package/esm/components/form-label/web-component.js +0 -5
- package/esm/components/form-row/FormRow.d.ts +0 -181
- package/esm/components/form-row/FormRow.js +0 -288
- package/esm/components/form-row/index.d.ts +0 -3
- package/esm/components/form-row/index.js +0 -3
- package/esm/components/form-row/style/_form-row.scss +0 -213
- package/esm/components/form-row/style/dnb-form-row.css +0 -345
- package/esm/components/form-row/style/dnb-form-row.min.css +0 -1
- package/esm/components/form-row/style/dnb-form-row.scss +0 -13
- package/esm/components/form-row/style/index.d.ts +0 -1
- package/esm/components/form-row/style/index.js +0 -1
- package/esm/components/form-row/style/themes/dnb-form-row-theme-ui.css +0 -10
- package/esm/components/form-row/style/themes/dnb-form-row-theme-ui.min.css +0 -1
- package/esm/components/form-row/style/themes/dnb-form-row-theme-ui.scss +0 -36
- package/esm/components/form-row/style/themes/ui.d.ts +0 -1
- package/esm/components/form-row/style/themes/ui.js +0 -1
- package/esm/components/form-row/style.d.ts +0 -1
- package/esm/components/form-row/style.js +0 -1
- package/esm/components/form-row/web-component.d.ts +0 -3
- package/esm/components/form-row/web-component.js +0 -5
- package/esm/components/form-set/FormSet.d.ts +0 -202
- package/esm/components/form-set/FormSet.js +0 -164
- package/esm/components/form-set/index.d.ts +0 -3
- package/esm/components/form-set/index.js +0 -3
- package/esm/components/form-set/style/_form-set.scss +0 -10
- package/esm/components/form-set/style/dnb-form-set.css +0 -74
- package/esm/components/form-set/style/dnb-form-set.min.css +0 -1
- package/esm/components/form-set/style/dnb-form-set.scss +0 -13
- package/esm/components/form-set/style/index.d.ts +0 -1
- package/esm/components/form-set/style/index.js +0 -1
- package/esm/components/form-set/style/themes/dnb-form-set-theme-ui.css +0 -4
- package/esm/components/form-set/style/themes/dnb-form-set-theme-ui.min.css +0 -0
- package/esm/components/form-set/style/themes/dnb-form-set-theme-ui.scss +0 -7
- package/esm/components/form-set/style/themes/ui.d.ts +0 -1
- package/esm/components/form-set/style/themes/ui.js +0 -1
- package/esm/components/form-set/style.d.ts +0 -1
- package/esm/components/form-set/style.js +0 -1
- package/esm/components/form-set/web-component.d.ts +0 -3
- package/esm/components/form-set/web-component.js +0 -5
- package/esm/components/form-status/FormStatus.d.ts +0 -207
- package/esm/components/form-status/FormStatus.js +0 -592
- package/esm/components/form-status/index.d.ts +0 -3
- package/esm/components/form-status/index.js +0 -3
- package/esm/components/form-status/style/_form-status.scss +0 -137
- package/esm/components/form-status/style/dnb-form-status.css +0 -157
- package/esm/components/form-status/style/dnb-form-status.min.css +0 -1
- package/esm/components/form-status/style/dnb-form-status.scss +0 -12
- package/esm/components/form-status/style/index.d.ts +0 -1
- package/esm/components/form-status/style/index.js +0 -1
- package/esm/components/form-status/style/themes/dnb-form-status-theme-ui.css +0 -117
- package/esm/components/form-status/style/themes/dnb-form-status-theme-ui.min.css +0 -1
- package/esm/components/form-status/style/themes/dnb-form-status-theme-ui.scss +0 -64
- package/esm/components/form-status/style/themes/ui.d.ts +0 -1
- package/esm/components/form-status/style/themes/ui.js +0 -1
- package/esm/components/form-status/style.d.ts +0 -1
- package/esm/components/form-status/style.js +0 -1
- package/esm/components/form-status/web-component.d.ts +0 -3
- package/esm/components/form-status/web-component.js +0 -5
- package/esm/components/global-error/GlobalError.d.ts +0 -82
- package/esm/components/global-error/GlobalError.js +0 -571
- package/esm/components/global-error/index.d.ts +0 -3
- package/esm/components/global-error/index.js +0 -3
- package/esm/components/global-error/style/_global-error.scss +0 -71
- package/esm/components/global-error/style/dnb-global-error.css +0 -731
- package/esm/components/global-error/style/dnb-global-error.min.css +0 -1
- package/esm/components/global-error/style/dnb-global-error.scss +0 -15
- package/esm/components/global-error/style/index.d.ts +0 -1
- package/esm/components/global-error/style/index.js +0 -1
- package/esm/components/global-error/style/themes/dnb-global-error-theme-ui.css +0 -4
- package/esm/components/global-error/style/themes/dnb-global-error-theme-ui.min.css +0 -0
- package/esm/components/global-error/style/themes/dnb-global-error-theme-ui.scss +0 -9
- package/esm/components/global-error/style/themes/ui.d.ts +0 -1
- package/esm/components/global-error/style/themes/ui.js +0 -1
- package/esm/components/global-error/style.d.ts +0 -1
- package/esm/components/global-error/style.js +0 -1
- package/esm/components/global-error/web-component.d.ts +0 -3
- package/esm/components/global-error/web-component.js +0 -5
- package/esm/components/global-status/AnimationHelper.d.ts +0 -12
- package/esm/components/global-status/AnimationHelper.js +0 -160
- package/esm/components/global-status/GlobalStatus.d.ts +0 -207
- package/esm/components/global-status/GlobalStatus.js +0 -733
- package/esm/components/global-status/GlobalStatusController.d.ts +0 -40
- package/esm/components/global-status/GlobalStatusController.js +0 -218
- package/esm/components/global-status/GlobalStatusProvider.d.ts +0 -34
- package/esm/components/global-status/GlobalStatusProvider.js +0 -396
- package/esm/components/global-status/index.d.ts +0 -3
- package/esm/components/global-status/index.js +0 -3
- package/esm/components/global-status/style/_global-status.scss +0 -132
- package/esm/components/global-status/style/dnb-global-status.css +0 -898
- package/esm/components/global-status/style/dnb-global-status.min.css +0 -1
- package/esm/components/global-status/style/dnb-global-status.scss +0 -16
- package/esm/components/global-status/style/index.d.ts +0 -1
- package/esm/components/global-status/style/index.js +0 -1
- package/esm/components/global-status/style/themes/dnb-global-status-theme-ui.css +0 -40
- package/esm/components/global-status/style/themes/dnb-global-status-theme-ui.min.css +0 -1
- package/esm/components/global-status/style/themes/dnb-global-status-theme-ui.scss +0 -35
- package/esm/components/global-status/style/themes/ui.d.ts +0 -1
- package/esm/components/global-status/style/themes/ui.js +0 -1
- package/esm/components/global-status/style.d.ts +0 -1
- package/esm/components/global-status/style.js +0 -1
- package/esm/components/global-status/web-component.d.ts +0 -3
- package/esm/components/global-status/web-component.js +0 -5
- package/esm/components/heading/Heading.d.ts +0 -154
- package/esm/components/heading/Heading.js +0 -306
- package/esm/components/heading/HeadingContext.d.ts +0 -5
- package/esm/components/heading/HeadingContext.js +0 -5
- package/esm/components/heading/HeadingCounter.d.ts +0 -42
- package/esm/components/heading/HeadingCounter.js +0 -288
- package/esm/components/heading/HeadingHelpers.d.ts +0 -27
- package/esm/components/heading/HeadingHelpers.js +0 -206
- package/esm/components/heading/HeadingProvider.d.ts +0 -58
- package/esm/components/heading/HeadingProvider.js +0 -166
- package/esm/components/heading/index.d.ts +0 -3
- package/esm/components/heading/index.js +0 -3
- package/esm/components/heading/style/_heading.scss +0 -20
- package/esm/components/heading/style/dnb-heading.css +0 -37
- package/esm/components/heading/style/dnb-heading.min.css +0 -1
- package/esm/components/heading/style/dnb-heading.scss +0 -12
- package/esm/components/heading/style/index.d.ts +0 -1
- package/esm/components/heading/style/index.js +0 -1
- package/esm/components/heading/style.d.ts +0 -1
- package/esm/components/heading/style.js +0 -1
- package/esm/components/heading/web-component.d.ts +0 -3
- package/esm/components/heading/web-component.js +0 -5
- package/esm/components/help-button/HelpButton.d.ts +0 -238
- package/esm/components/help-button/HelpButton.js +0 -110
- package/esm/components/help-button/HelpButtonInstance.d.ts +0 -102
- package/esm/components/help-button/HelpButtonInstance.js +0 -130
- package/esm/components/help-button/index.d.ts +0 -3
- package/esm/components/help-button/index.js +0 -3
- package/esm/components/help-button/style/_help-button.scss +0 -6
- package/esm/components/help-button/style/dnb-help-button.css +0 -76
- package/esm/components/help-button/style/dnb-help-button.min.css +0 -1
- package/esm/components/help-button/style/dnb-help-button.scss +0 -12
- package/esm/components/help-button/style/index.d.ts +0 -1
- package/esm/components/help-button/style/index.js +0 -1
- package/esm/components/help-button/style/themes/dnb-help-button-theme-ui.css +0 -4
- package/esm/components/help-button/style/themes/dnb-help-button-theme-ui.min.css +0 -0
- package/esm/components/help-button/style/themes/dnb-help-button-theme-ui.scss +0 -4
- package/esm/components/help-button/style/themes/ui.d.ts +0 -1
- package/esm/components/help-button/style/themes/ui.js +0 -1
- package/esm/components/help-button/style.d.ts +0 -1
- package/esm/components/help-button/style.js +0 -1
- package/esm/components/help-button/web-component.d.ts +0 -3
- package/esm/components/help-button/web-component.js +0 -5
- package/esm/components/icon/Icon.d.ts +0 -126
- package/esm/components/icon/Icon.js +0 -460
- package/esm/components/icon/IconPrimary.d.ts +0 -3
- package/esm/components/icon/IconPrimary.js +0 -3
- package/esm/components/icon/index.d.ts +0 -3
- package/esm/components/icon/index.js +0 -3
- package/esm/components/icon/lib/SvgComparison.d.ts +0 -2
- package/esm/components/icon/lib/SvgComparison.js +0 -54
- package/esm/components/icon/lib/index.d.ts +0 -1
- package/esm/components/icon/lib/index.js +0 -1
- package/esm/components/icon/style/_icon.scss +0 -99
- package/esm/components/icon/style/dnb-icon.css +0 -91
- package/esm/components/icon/style/dnb-icon.min.css +0 -1
- package/esm/components/icon/style/dnb-icon.scss +0 -7
- package/esm/components/icon/style/index.d.ts +0 -1
- package/esm/components/icon/style/index.js +0 -1
- package/esm/components/icon/style/themes/dnb-icon-theme-ui.css +0 -18
- package/esm/components/icon/style/themes/dnb-icon-theme-ui.min.css +0 -1
- package/esm/components/icon/style/themes/dnb-icon-theme-ui.scss +0 -30
- package/esm/components/icon/style.d.ts +0 -1
- package/esm/components/icon/style.js +0 -1
- package/esm/components/icon/web-component.d.ts +0 -3
- package/esm/components/icon/web-component.js +0 -5
- package/esm/components/icon-primary/IconPrimary.d.ts +0 -139
- package/esm/components/icon-primary/IconPrimary.js +0 -93
- package/esm/components/icon-primary/index.d.ts +0 -3
- package/esm/components/icon-primary/index.js +0 -3
- package/esm/components/icon-primary/style.d.ts +0 -1
- package/esm/components/icon-primary/style.js +0 -1
- package/esm/components/icon-primary/web-component.d.ts +0 -3
- package/esm/components/icon-primary/web-component.js +0 -5
- package/esm/components/index.d.ts +0 -43
- package/esm/components/index.js +0 -43
- package/esm/components/info-card/InfoCard.d.ts +0 -101
- package/esm/components/info-card/InfoCard.js +0 -140
- package/esm/components/info-card/index.d.ts +0 -8
- package/esm/components/info-card/index.js +0 -3
- package/esm/components/info-card/style/_info-card.scss +0 -52
- package/esm/components/info-card/style/dnb-info-card.css +0 -135
- package/esm/components/info-card/style/dnb-info-card.min.css +0 -1
- package/esm/components/info-card/style/dnb-info-card.scss +0 -12
- package/esm/components/info-card/style/index.d.ts +0 -6
- package/esm/components/info-card/style/index.js +0 -1
- package/esm/components/info-card/style.d.ts +0 -1
- package/esm/components/info-card/style.js +0 -1
- package/esm/components/input/Input.d.ts +0 -296
- package/esm/components/input/Input.js +0 -679
- package/esm/components/input/InputPassword.d.ts +0 -18
- package/esm/components/input/InputPassword.js +0 -125
- package/esm/components/input/index.d.ts +0 -1
- package/esm/components/input/index.js +0 -1
- package/esm/components/input/style/_input.scss +0 -462
- package/esm/components/input/style/dnb-input.css +0 -1430
- package/esm/components/input/style/dnb-input.min.css +0 -2
- package/esm/components/input/style/dnb-input.scss +0 -18
- package/esm/components/input/style/index.d.ts +0 -1
- package/esm/components/input/style/index.js +0 -1
- package/esm/components/input/style/themes/dnb-input-theme-ui.css +0 -179
- package/esm/components/input/style/themes/dnb-input-theme-ui.min.css +0 -7
- package/esm/components/input/style/themes/dnb-input-theme-ui.scss +0 -104
- package/esm/components/input/style/themes/ui.d.ts +0 -1
- package/esm/components/input/style/themes/ui.js +0 -1
- package/esm/components/input/style.d.ts +0 -1
- package/esm/components/input/style.js +0 -1
- package/esm/components/input/web-component.d.ts +0 -3
- package/esm/components/input/web-component.js +0 -5
- package/esm/components/input-masked/InputMasked.d.ts +0 -371
- package/esm/components/input-masked/InputMasked.js +0 -86
- package/esm/components/input-masked/InputMaskedContext.d.ts +0 -3
- package/esm/components/input-masked/InputMaskedContext.js +0 -3
- package/esm/components/input-masked/InputMaskedElement.d.ts +0 -1
- package/esm/components/input-masked/InputMaskedElement.js +0 -27
- package/esm/components/input-masked/InputMaskedHooks.d.ts +0 -32
- package/esm/components/input-masked/InputMaskedHooks.js +0 -433
- package/esm/components/input-masked/InputMaskedUtils.d.ts +0 -37
- package/esm/components/input-masked/InputMaskedUtils.js +0 -242
- package/esm/components/input-masked/TextMask.d.ts +0 -33
- package/esm/components/input-masked/TextMask.js +0 -156
- package/esm/components/input-masked/addons/createNumberMask.d.ts +0 -15
- package/esm/components/input-masked/addons/createNumberMask.js +0 -151
- package/esm/components/input-masked/addons/emailMask.d.ts +0 -7
- package/esm/components/input-masked/addons/emailMask.js +0 -112
- package/esm/components/input-masked/addons/emailPipe.d.ts +0 -1
- package/esm/components/input-masked/addons/emailPipe.js +0 -50
- package/esm/components/input-masked/index.d.ts +0 -3
- package/esm/components/input-masked/index.js +0 -3
- package/esm/components/input-masked/style/_input-masked.scss +0 -10
- package/esm/components/input-masked/style/dnb-input-masked.css +0 -1510
- package/esm/components/input-masked/style/dnb-input-masked.min.css +0 -2
- package/esm/components/input-masked/style/dnb-input-masked.scss +0 -15
- package/esm/components/input-masked/style/index.d.ts +0 -1
- package/esm/components/input-masked/style/index.js +0 -1
- package/esm/components/input-masked/style.d.ts +0 -1
- package/esm/components/input-masked/style.js +0 -1
- package/esm/components/input-masked/text-mask/adjustCaretPosition.d.ts +0 -11
- package/esm/components/input-masked/text-mask/adjustCaretPosition.js +0 -127
- package/esm/components/input-masked/text-mask/conformToMask.d.ts +0 -6
- package/esm/components/input-masked/text-mask/conformToMask.js +0 -159
- package/esm/components/input-masked/text-mask/constants.d.ts +0 -2
- package/esm/components/input-masked/text-mask/constants.js +0 -2
- package/esm/components/input-masked/text-mask/createTextMaskInputElement.d.ts +0 -8
- package/esm/components/input-masked/text-mask/createTextMaskInputElement.js +0 -181
- package/esm/components/input-masked/text-mask/utilities.d.ts +0 -9
- package/esm/components/input-masked/text-mask/utilities.js +0 -52
- package/esm/components/input-masked/web-component.d.ts +0 -3
- package/esm/components/input-masked/web-component.js +0 -5
- package/esm/components/lib.d.ts +0 -100
- package/esm/components/lib.js +0 -104
- package/esm/components/logo/Logo.d.ts +0 -92
- package/esm/components/logo/Logo.js +0 -133
- package/esm/components/logo/index.d.ts +0 -3
- package/esm/components/logo/index.js +0 -3
- package/esm/components/logo/style/_logo.scss +0 -34
- package/esm/components/logo/style/dnb-logo.css +0 -96
- package/esm/components/logo/style/dnb-logo.min.css +0 -1
- package/esm/components/logo/style/dnb-logo.scss +0 -12
- package/esm/components/logo/style/index.d.ts +0 -1
- package/esm/components/logo/style/index.js +0 -1
- package/esm/components/logo/style.d.ts +0 -1
- package/esm/components/logo/style.js +0 -1
- package/esm/components/logo/web-component.d.ts +0 -3
- package/esm/components/logo/web-component.js +0 -5
- package/esm/components/modal/Modal.d.ts +0 -136
- package/esm/components/modal/Modal.js +0 -531
- package/esm/components/modal/ModalContent.d.ts +0 -54
- package/esm/components/modal/ModalContent.js +0 -428
- package/esm/components/modal/ModalContext.d.ts +0 -22
- package/esm/components/modal/ModalContext.js +0 -18
- package/esm/components/modal/ModalRoot.d.ts +0 -39
- package/esm/components/modal/ModalRoot.js +0 -145
- package/esm/components/modal/bodyScrollLock.d.ts +0 -3
- package/esm/components/modal/bodyScrollLock.js +0 -289
- package/esm/components/modal/helpers.d.ts +0 -5
- package/esm/components/modal/helpers.js +0 -73
- package/esm/components/modal/index.d.ts +0 -3
- package/esm/components/modal/index.js +0 -3
- package/esm/components/modal/parts/CloseButton.d.ts +0 -39
- package/esm/components/modal/parts/CloseButton.js +0 -72
- package/esm/components/modal/parts/ModalHeader.d.ts +0 -48
- package/esm/components/modal/parts/ModalHeader.js +0 -74
- package/esm/components/modal/parts/ModalHeaderBar.d.ts +0 -50
- package/esm/components/modal/parts/ModalHeaderBar.js +0 -125
- package/esm/components/modal/parts/ModalInner.d.ts +0 -32
- package/esm/components/modal/parts/ModalInner.js +0 -67
- package/esm/components/modal/style/_modal-mixins.scss +0 -101
- package/esm/components/modal/style/_modal.scss +0 -140
- package/esm/components/modal/style/dnb-modal.css +0 -1601
- package/esm/components/modal/style/dnb-modal.min.css +0 -1
- package/esm/components/modal/style/dnb-modal.scss +0 -17
- package/esm/components/modal/style/index.d.ts +0 -1
- package/esm/components/modal/style/index.js +0 -1
- package/esm/components/modal/style/themes/dnb-modal-theme-ui.css +0 -14
- package/esm/components/modal/style/themes/dnb-modal-theme-ui.min.css +0 -1
- package/esm/components/modal/style/themes/dnb-modal-theme-ui.scss +0 -15
- package/esm/components/modal/style/themes/ui.d.ts +0 -1
- package/esm/components/modal/style/themes/ui.js +0 -1
- package/esm/components/modal/style.d.ts +0 -1
- package/esm/components/modal/style.js +0 -1
- package/esm/components/modal/types.d.ts +0 -284
- package/esm/components/modal/types.js +0 -1
- package/esm/components/modal/web-component.d.ts +0 -3
- package/esm/components/modal/web-component.js +0 -5
- package/esm/components/number-format/NumberFormat.d.ts +0 -228
- package/esm/components/number-format/NumberFormat.js +0 -385
- package/esm/components/number-format/NumberUtils.d.ts +0 -112
- package/esm/components/number-format/NumberUtils.js +0 -881
- package/esm/components/number-format/index.d.ts +0 -3
- package/esm/components/number-format/index.js +0 -3
- package/esm/components/number-format/style/_number-format.scss +0 -57
- package/esm/components/number-format/style/dnb-number-format.css +0 -263
- package/esm/components/number-format/style/dnb-number-format.min.css +0 -1
- package/esm/components/number-format/style/dnb-number-format.scss +0 -11
- package/esm/components/number-format/style/index.d.ts +0 -1
- package/esm/components/number-format/style/index.js +0 -1
- package/esm/components/number-format/style.d.ts +0 -1
- package/esm/components/number-format/style.js +0 -1
- package/esm/components/number-format/web-component.d.ts +0 -3
- package/esm/components/number-format/web-component.js +0 -5
- package/esm/components/pagination/InfinityScroller.d.ts +0 -1
- package/esm/components/pagination/InfinityScroller.js +0 -8
- package/esm/components/pagination/Pagination.d.ts +0 -851
- package/esm/components/pagination/Pagination.js +0 -366
- package/esm/components/pagination/PaginationBar.d.ts +0 -42
- package/esm/components/pagination/PaginationBar.js +0 -262
- package/esm/components/pagination/PaginationCalculation.d.ts +0 -6
- package/esm/components/pagination/PaginationCalculation.js +0 -47
- package/esm/components/pagination/PaginationContext.d.ts +0 -5
- package/esm/components/pagination/PaginationContext.js +0 -5
- package/esm/components/pagination/PaginationHelpers.d.ts +0 -22
- package/esm/components/pagination/PaginationHelpers.js +0 -153
- package/esm/components/pagination/PaginationInfinity.d.ts +0 -46
- package/esm/components/pagination/PaginationInfinity.js +0 -674
- package/esm/components/pagination/PaginationProvider.d.ts +0 -87
- package/esm/components/pagination/PaginationProvider.js +0 -418
- package/esm/components/pagination/index.d.ts +0 -3
- package/esm/components/pagination/index.js +0 -3
- package/esm/components/pagination/style/_pagination.scss +0 -113
- package/esm/components/pagination/style/dnb-pagination.css +0 -1029
- package/esm/components/pagination/style/dnb-pagination.min.css +0 -1
- package/esm/components/pagination/style/dnb-pagination.scss +0 -16
- package/esm/components/pagination/style/index.d.ts +0 -1
- package/esm/components/pagination/style/index.js +0 -1
- package/esm/components/pagination/style/themes/dnb-pagination-theme-ui.css +0 -82
- package/esm/components/pagination/style/themes/dnb-pagination-theme-ui.min.css +0 -1
- package/esm/components/pagination/style/themes/dnb-pagination-theme-ui.scss +0 -80
- package/esm/components/pagination/style/themes/ui.d.ts +0 -1
- package/esm/components/pagination/style/themes/ui.js +0 -1
- package/esm/components/pagination/style.d.ts +0 -1
- package/esm/components/pagination/style.js +0 -1
- package/esm/components/pagination/web-component.d.ts +0 -3
- package/esm/components/pagination/web-component.js +0 -5
- package/esm/components/progress-indicator/ProgressIndicator.d.ts +0 -146
- package/esm/components/progress-indicator/ProgressIndicator.js +0 -219
- package/esm/components/progress-indicator/ProgressIndicatorCircular.d.ts +0 -39
- package/esm/components/progress-indicator/ProgressIndicatorCircular.js +0 -277
- package/esm/components/progress-indicator/ProgressIndicatorLinear.d.ts +0 -38
- package/esm/components/progress-indicator/ProgressIndicatorLinear.js +0 -135
- package/esm/components/progress-indicator/index.d.ts +0 -3
- package/esm/components/progress-indicator/index.js +0 -3
- package/esm/components/progress-indicator/style/_progress-indicator.scss +0 -252
- package/esm/components/progress-indicator/style/dnb-progress-indicator.css +0 -326
- package/esm/components/progress-indicator/style/dnb-progress-indicator.min.css +0 -1
- package/esm/components/progress-indicator/style/dnb-progress-indicator.scss +0 -12
- package/esm/components/progress-indicator/style/index.d.ts +0 -1
- package/esm/components/progress-indicator/style/index.js +0 -1
- package/esm/components/progress-indicator/style/themes/dnb-progress-indicator-theme-ui.css +0 -73
- package/esm/components/progress-indicator/style/themes/dnb-progress-indicator-theme-ui.min.css +0 -1
- package/esm/components/progress-indicator/style/themes/dnb-progress-indicator-theme-ui.scss +0 -89
- package/esm/components/progress-indicator/style/themes/ui.d.ts +0 -1
- package/esm/components/progress-indicator/style/themes/ui.js +0 -1
- package/esm/components/progress-indicator/style.d.ts +0 -1
- package/esm/components/progress-indicator/style.js +0 -1
- package/esm/components/progress-indicator/web-component.d.ts +0 -3
- package/esm/components/progress-indicator/web-component.js +0 -5
- package/esm/components/radio/Radio.d.ts +0 -124
- package/esm/components/radio/Radio.js +0 -448
- package/esm/components/radio/RadioGroup.d.ts +0 -123
- package/esm/components/radio/RadioGroup.js +0 -270
- package/esm/components/radio/RadioGroupContext.d.ts +0 -3
- package/esm/components/radio/RadioGroupContext.js +0 -3
- package/esm/components/radio/group/web-component.d.ts +0 -3
- package/esm/components/radio/group/web-component.js +0 -5
- package/esm/components/radio/index.d.ts +0 -3
- package/esm/components/radio/index.js +0 -3
- package/esm/components/radio/style/_radio.scss +0 -262
- package/esm/components/radio/style/dnb-radio.css +0 -600
- package/esm/components/radio/style/dnb-radio.min.css +0 -2
- package/esm/components/radio/style/dnb-radio.scss +0 -14
- package/esm/components/radio/style/index.d.ts +0 -1
- package/esm/components/radio/style/index.js +0 -1
- package/esm/components/radio/style/themes/dnb-radio-theme-ui.css +0 -115
- package/esm/components/radio/style/themes/dnb-radio-theme-ui.min.css +0 -1
- package/esm/components/radio/style/themes/dnb-radio-theme-ui.scss +0 -140
- package/esm/components/radio/style/themes/ui.d.ts +0 -1
- package/esm/components/radio/style/themes/ui.js +0 -1
- package/esm/components/radio/style.d.ts +0 -1
- package/esm/components/radio/style.js +0 -1
- package/esm/components/radio/web-component.d.ts +0 -3
- package/esm/components/radio/web-component.js +0 -5
- package/esm/components/section/Section.d.ts +0 -84
- package/esm/components/section/Section.js +0 -114
- package/esm/components/section/index.d.ts +0 -3
- package/esm/components/section/index.js +0 -3
- package/esm/components/section/style/_section.scss +0 -87
- package/esm/components/section/style/dnb-section.css +0 -132
- package/esm/components/section/style/dnb-section.min.css +0 -1
- package/esm/components/section/style/dnb-section.scss +0 -12
- package/esm/components/section/style/index.d.ts +0 -1
- package/esm/components/section/style/index.js +0 -1
- package/esm/components/section/style/themes/dnb-section-theme-ui.css +0 -206
- package/esm/components/section/style/themes/dnb-section-theme-ui.min.css +0 -1
- package/esm/components/section/style/themes/dnb-section-theme-ui.scss +0 -142
- package/esm/components/section/style/themes/ui.d.ts +0 -1
- package/esm/components/section/style/themes/ui.js +0 -1
- package/esm/components/section/style.d.ts +0 -1
- package/esm/components/section/style.js +0 -1
- package/esm/components/section/web-component.d.ts +0 -3
- package/esm/components/section/web-component.js +0 -5
- package/esm/components/skeleton/Skeleton.d.ts +0 -103
- package/esm/components/skeleton/Skeleton.js +0 -186
- package/esm/components/skeleton/SkeletonHelper.d.ts +0 -41
- package/esm/components/skeleton/SkeletonHelper.js +0 -114
- package/esm/components/skeleton/figures/Article.d.ts +0 -21
- package/esm/components/skeleton/figures/Article.js +0 -92
- package/esm/components/skeleton/figures/Circle.d.ts +0 -20
- package/esm/components/skeleton/figures/Circle.js +0 -92
- package/esm/components/skeleton/figures/Product.d.ts +0 -21
- package/esm/components/skeleton/figures/Product.js +0 -92
- package/esm/components/skeleton/figures/Table.d.ts +0 -20
- package/esm/components/skeleton/figures/Table.js +0 -92
- package/esm/components/skeleton/figures/index.d.ts +0 -5
- package/esm/components/skeleton/figures/index.js +0 -5
- package/esm/components/skeleton/index.d.ts +0 -3
- package/esm/components/skeleton/index.js +0 -3
- package/esm/components/skeleton/style/_skeleton.scss +0 -173
- package/esm/components/skeleton/style/dnb-skeleton.css +0 -201
- package/esm/components/skeleton/style/dnb-skeleton.min.css +0 -1
- package/esm/components/skeleton/style/dnb-skeleton.scss +0 -12
- package/esm/components/skeleton/style/index.d.ts +0 -1
- package/esm/components/skeleton/style/index.js +0 -1
- package/esm/components/skeleton/style/themes/brand.d.ts +0 -1
- package/esm/components/skeleton/style/themes/brand.js +0 -1
- package/esm/components/skeleton/style/themes/dnb-skeleton-theme-brand.css +0 -64
- package/esm/components/skeleton/style/themes/dnb-skeleton-theme-brand.min.css +0 -1
- package/esm/components/skeleton/style/themes/dnb-skeleton-theme-brand.scss +0 -52
- package/esm/components/skeleton/style/themes/dnb-skeleton-theme-norway.css +0 -50
- package/esm/components/skeleton/style/themes/dnb-skeleton-theme-norway.min.css +0 -1
- package/esm/components/skeleton/style/themes/dnb-skeleton-theme-norway.scss +0 -70
- package/esm/components/skeleton/style/themes/dnb-skeleton-theme-rainbow.css +0 -30
- package/esm/components/skeleton/style/themes/dnb-skeleton-theme-rainbow.min.css +0 -1
- package/esm/components/skeleton/style/themes/dnb-skeleton-theme-rainbow.scss +0 -40
- package/esm/components/skeleton/style/themes/dnb-skeleton-theme-ui.css +0 -88
- package/esm/components/skeleton/style/themes/dnb-skeleton-theme-ui.min.css +0 -1
- package/esm/components/skeleton/style/themes/dnb-skeleton-theme-ui.scss +0 -87
- package/esm/components/skeleton/style/themes/norway.d.ts +0 -1
- package/esm/components/skeleton/style/themes/norway.js +0 -1
- package/esm/components/skeleton/style/themes/rainbow.d.ts +0 -1
- package/esm/components/skeleton/style/themes/rainbow.js +0 -1
- package/esm/components/skeleton/style/themes/ui.d.ts +0 -1
- package/esm/components/skeleton/style/themes/ui.js +0 -1
- package/esm/components/skeleton/style.d.ts +0 -1
- package/esm/components/skeleton/style.js +0 -1
- package/esm/components/skeleton/web-component.d.ts +0 -3
- package/esm/components/skeleton/web-component.js +0 -5
- package/esm/components/slider/Slider.d.ts +0 -231
- package/esm/components/slider/Slider.js +0 -752
- package/esm/components/slider/index.d.ts +0 -3
- package/esm/components/slider/index.js +0 -3
- package/esm/components/slider/style/_range.scss +0 -80
- package/esm/components/slider/style/_slider.scss +0 -304
- package/esm/components/slider/style/dnb-range.css +0 -205
- package/esm/components/slider/style/dnb-range.min.css +0 -1
- package/esm/components/slider/style/dnb-range.scss +0 -12
- package/esm/components/slider/style/dnb-slider.css +0 -1216
- package/esm/components/slider/style/dnb-slider.min.css +0 -1
- package/esm/components/slider/style/dnb-slider.scss +0 -17
- package/esm/components/slider/style/index.d.ts +0 -1
- package/esm/components/slider/style/index.js +0 -1
- package/esm/components/slider/style/themes/dnb-slider-theme-ui.css +0 -47
- package/esm/components/slider/style/themes/dnb-slider-theme-ui.min.css +0 -1
- package/esm/components/slider/style/themes/dnb-slider-theme-ui.scss +0 -42
- package/esm/components/slider/style/themes/ui.d.ts +0 -1
- package/esm/components/slider/style/themes/ui.js +0 -1
- package/esm/components/slider/style.d.ts +0 -1
- package/esm/components/slider/style.js +0 -2
- package/esm/components/slider/web-component.d.ts +0 -3
- package/esm/components/slider/web-component.js +0 -5
- package/esm/components/space/Space.d.ts +0 -82
- package/esm/components/space/Space.js +0 -162
- package/esm/components/space/SpacingHelper.d.ts +0 -52
- package/esm/components/space/SpacingHelper.js +0 -290
- package/esm/components/space/index.d.ts +0 -3
- package/esm/components/space/index.js +0 -3
- package/esm/components/space/style/_space.scss +0 -182
- package/esm/components/space/style/dnb-space.css +0 -1016
- package/esm/components/space/style/dnb-space.min.css +0 -1
- package/esm/components/space/style/dnb-space.scss +0 -12
- package/esm/components/space/style/index.d.ts +0 -1
- package/esm/components/space/style/index.js +0 -1
- package/esm/components/space/style/themes/dnb-space-theme-ui.css +0 -4
- package/esm/components/space/style/themes/dnb-space-theme-ui.min.css +0 -0
- package/esm/components/space/style/themes/dnb-space-theme-ui.scss +0 -4
- package/esm/components/space/style/themes/ui.d.ts +0 -1
- package/esm/components/space/style/themes/ui.js +0 -1
- package/esm/components/space/style.d.ts +0 -1
- package/esm/components/space/style.js +0 -1
- package/esm/components/space/web-component.d.ts +0 -3
- package/esm/components/space/web-component.js +0 -5
- package/esm/components/step-indicator/StepIndicator.d.ts +0 -170
- package/esm/components/step-indicator/StepIndicator.js +0 -126
- package/esm/components/step-indicator/StepIndicatorContext.d.ts +0 -19
- package/esm/components/step-indicator/StepIndicatorContext.js +0 -280
- package/esm/components/step-indicator/StepIndicatorItem-v1.d.ts +0 -3
- package/esm/components/step-indicator/StepIndicatorItem-v1.js +0 -164
- package/esm/components/step-indicator/StepIndicatorItem.d.ts +0 -86
- package/esm/components/step-indicator/StepIndicatorItem.js +0 -366
- package/esm/components/step-indicator/StepIndicatorList.d.ts +0 -7
- package/esm/components/step-indicator/StepIndicatorList.js +0 -104
- package/esm/components/step-indicator/StepIndicatorModal.d.ts +0 -9
- package/esm/components/step-indicator/StepIndicatorModal.js +0 -106
- package/esm/components/step-indicator/StepIndicatorProps.d.ts +0 -65
- package/esm/components/step-indicator/StepIndicatorProps.js +0 -69
- package/esm/components/step-indicator/StepIndicatorSidebar.d.ts +0 -59
- package/esm/components/step-indicator/StepIndicatorSidebar.js +0 -117
- package/esm/components/step-indicator/StepIndicatorTriggerButton.d.ts +0 -21
- package/esm/components/step-indicator/StepIndicatorTriggerButton.js +0 -151
- package/esm/components/step-indicator/index.d.ts +0 -3
- package/esm/components/step-indicator/index.js +0 -3
- package/esm/components/step-indicator/style/_step-indicator-v1.scss +0 -118
- package/esm/components/step-indicator/style/_step-indicator.scss +0 -115
- package/esm/components/step-indicator/style/dnb-step-indicator.css +0 -278
- package/esm/components/step-indicator/style/dnb-step-indicator.min.css +0 -2
- package/esm/components/step-indicator/style/dnb-step-indicator.scss +0 -12
- package/esm/components/step-indicator/style/index.d.ts +0 -1
- package/esm/components/step-indicator/style/index.js +0 -1
- package/esm/components/step-indicator/style/themes/dnb-step-indicator-theme-ui.css +0 -186
- package/esm/components/step-indicator/style/themes/dnb-step-indicator-theme-ui.min.css +0 -2
- package/esm/components/step-indicator/style/themes/dnb-step-indicator-theme-ui.scss +0 -93
- package/esm/components/step-indicator/style/themes/dnb-step-indicator-v1-theme-ui.css +0 -45
- package/esm/components/step-indicator/style/themes/dnb-step-indicator-v1-theme-ui.min.css +0 -1
- package/esm/components/step-indicator/style/themes/dnb-step-indicator-v1-theme-ui.scss +0 -67
- package/esm/components/step-indicator/style/themes/ui.d.ts +0 -1
- package/esm/components/step-indicator/style/themes/ui.js +0 -1
- package/esm/components/step-indicator/style.d.ts +0 -1
- package/esm/components/step-indicator/style.js +0 -1
- package/esm/components/step-indicator/web-component.d.ts +0 -3
- package/esm/components/step-indicator/web-component.js +0 -5
- package/esm/components/style/index.d.ts +0 -1
- package/esm/components/style/index.js +0 -1
- package/esm/components/switch/Switch.d.ts +0 -165
- package/esm/components/switch/Switch.js +0 -340
- package/esm/components/switch/index.d.ts +0 -3
- package/esm/components/switch/index.js +0 -3
- package/esm/components/switch/style/_switch.scss +0 -277
- package/esm/components/switch/style/dnb-switch.css +0 -623
- package/esm/components/switch/style/dnb-switch.min.css +0 -1
- package/esm/components/switch/style/dnb-switch.scss +0 -14
- package/esm/components/switch/style/index.d.ts +0 -1
- package/esm/components/switch/style/index.js +0 -1
- package/esm/components/switch/style/themes/dnb-switch-theme-ui.css +0 -224
- package/esm/components/switch/style/themes/dnb-switch-theme-ui.min.css +0 -1
- package/esm/components/switch/style/themes/dnb-switch-theme-ui.scss +0 -220
- package/esm/components/switch/style/themes/ui.d.ts +0 -1
- package/esm/components/switch/style/themes/ui.js +0 -1
- package/esm/components/switch/style.d.ts +0 -1
- package/esm/components/switch/style.js +0 -1
- package/esm/components/switch/web-component.d.ts +0 -3
- package/esm/components/switch/web-component.js +0 -5
- package/esm/components/tabs/Tabs.d.ts +0 -211
- package/esm/components/tabs/Tabs.js +0 -1143
- package/esm/components/tabs/TabsContentWrapper.d.ts +0 -40
- package/esm/components/tabs/TabsContentWrapper.js +0 -131
- package/esm/components/tabs/TabsCustomContent.d.ts +0 -89
- package/esm/components/tabs/TabsCustomContent.js +0 -91
- package/esm/components/tabs/index.d.ts +0 -3
- package/esm/components/tabs/index.js +0 -3
- package/esm/components/tabs/style/_tabs.scss +0 -195
- package/esm/components/tabs/style/dnb-tabs.css +0 -262
- package/esm/components/tabs/style/dnb-tabs.min.css +0 -1
- package/esm/components/tabs/style/dnb-tabs.scss +0 -12
- package/esm/components/tabs/style/index.d.ts +0 -1
- package/esm/components/tabs/style/index.js +0 -1
- package/esm/components/tabs/style/themes/dnb-tabs-theme-ui.css +0 -137
- package/esm/components/tabs/style/themes/dnb-tabs-theme-ui.min.css +0 -1
- package/esm/components/tabs/style/themes/dnb-tabs-theme-ui.scss +0 -122
- package/esm/components/tabs/style/themes/ui.d.ts +0 -1
- package/esm/components/tabs/style/themes/ui.js +0 -1
- package/esm/components/tabs/style.d.ts +0 -1
- package/esm/components/tabs/style.js +0 -1
- package/esm/components/tabs/web-component.d.ts +0 -3
- package/esm/components/tabs/web-component.js +0 -5
- package/esm/components/tag/Tag.d.ts +0 -61
- package/esm/components/tag/Tag.js +0 -112
- package/esm/components/tag/TagContext.d.ts +0 -2
- package/esm/components/tag/TagContext.js +0 -2
- package/esm/components/tag/TagGroup.d.ts +0 -26
- package/esm/components/tag/TagGroup.js +0 -47
- package/esm/components/tag/index.d.ts +0 -3
- package/esm/components/tag/index.js +0 -3
- package/esm/components/tag/style/_tag.scss +0 -102
- package/esm/components/tag/style/dnb-tag.css +0 -931
- package/esm/components/tag/style/dnb-tag.min.css +0 -1
- package/esm/components/tag/style/dnb-tag.scss +0 -15
- package/esm/components/tag/style/index.d.ts +0 -1
- package/esm/components/tag/style/index.js +0 -1
- package/esm/components/tag/style/themes/_tag-mixins.scss +0 -18
- package/esm/components/tag/style.d.ts +0 -1
- package/esm/components/tag/style.js +0 -1
- package/esm/components/textarea/Textarea.d.ts +0 -223
- package/esm/components/textarea/Textarea.js +0 -500
- package/esm/components/textarea/index.d.ts +0 -1
- package/esm/components/textarea/index.js +0 -1
- package/esm/components/textarea/style/_textarea.scss +0 -197
- package/esm/components/textarea/style/dnb-textarea.css +0 -636
- package/esm/components/textarea/style/dnb-textarea.min.css +0 -1
- package/esm/components/textarea/style/dnb-textarea.scss +0 -16
- package/esm/components/textarea/style/index.d.ts +0 -1
- package/esm/components/textarea/style/index.js +0 -1
- package/esm/components/textarea/style/themes/dnb-textarea-theme-ui.css +0 -113
- package/esm/components/textarea/style/themes/dnb-textarea-theme-ui.min.css +0 -1
- package/esm/components/textarea/style/themes/dnb-textarea-theme-ui.scss +0 -89
- package/esm/components/textarea/style/themes/ui.d.ts +0 -1
- package/esm/components/textarea/style/themes/ui.js +0 -1
- package/esm/components/textarea/style.d.ts +0 -1
- package/esm/components/textarea/style.js +0 -1
- package/esm/components/textarea/web-component.d.ts +0 -3
- package/esm/components/textarea/web-component.js +0 -5
- package/esm/components/timeline/Timeline.d.ts +0 -38
- package/esm/components/timeline/Timeline.js +0 -53
- package/esm/components/timeline/TimelineItem.d.ts +0 -39
- package/esm/components/timeline/TimelineItem.js +0 -102
- package/esm/components/timeline/index.d.ts +0 -3
- package/esm/components/timeline/index.js +0 -3
- package/esm/components/timeline/style/_timeline.scss +0 -42
- package/esm/components/timeline/style/dnb-timeline.css +0 -307
- package/esm/components/timeline/style/dnb-timeline.min.css +0 -1
- package/esm/components/timeline/style/dnb-timeline.scss +0 -12
- package/esm/components/timeline/style/index.d.ts +0 -1
- package/esm/components/timeline/style/index.js +0 -1
- package/esm/components/timeline/style/themes/dnb-timeline-theme-ui.css +0 -185
- package/esm/components/timeline/style/themes/dnb-timeline-theme-ui.min.css +0 -1
- package/esm/components/timeline/style/themes/dnb-timeline-theme-ui.scss +0 -105
- package/esm/components/timeline/style/themes/ui.d.ts +0 -1
- package/esm/components/timeline/style/themes/ui.js +0 -1
- package/esm/components/timeline/style.d.ts +0 -1
- package/esm/components/timeline/style.js +0 -1
- package/esm/components/toggle-button/ToggleButton.d.ts +0 -188
- package/esm/components/toggle-button/ToggleButton.js +0 -445
- package/esm/components/toggle-button/ToggleButtonGroup.d.ts +0 -171
- package/esm/components/toggle-button/ToggleButtonGroup.js +0 -317
- package/esm/components/toggle-button/ToggleButtonGroupContext.d.ts +0 -3
- package/esm/components/toggle-button/ToggleButtonGroupContext.js +0 -3
- package/esm/components/toggle-button/group/web-component.d.ts +0 -3
- package/esm/components/toggle-button/group/web-component.js +0 -5
- package/esm/components/toggle-button/index.d.ts +0 -3
- package/esm/components/toggle-button/index.js +0 -3
- package/esm/components/toggle-button/style/_toggle-button.scss +0 -227
- package/esm/components/toggle-button/style/dnb-toggle-button.css +0 -2262
- package/esm/components/toggle-button/style/dnb-toggle-button.min.css +0 -2
- package/esm/components/toggle-button/style/dnb-toggle-button.scss +0 -17
- package/esm/components/toggle-button/style/index.d.ts +0 -1
- package/esm/components/toggle-button/style/index.js +0 -1
- package/esm/components/toggle-button/style/themes/dnb-toggle-button-theme-ui.css +0 -337
- package/esm/components/toggle-button/style/themes/dnb-toggle-button-theme-ui.min.css +0 -7
- package/esm/components/toggle-button/style/themes/dnb-toggle-button-theme-ui.scss +0 -231
- package/esm/components/toggle-button/style/themes/ui.d.ts +0 -1
- package/esm/components/toggle-button/style/themes/ui.js +0 -1
- package/esm/components/toggle-button/style.d.ts +0 -1
- package/esm/components/toggle-button/style.js +0 -1
- package/esm/components/toggle-button/web-component.d.ts +0 -3
- package/esm/components/toggle-button/web-component.js +0 -5
- package/esm/components/tooltip/Tooltip.d.ts +0 -156
- package/esm/components/tooltip/Tooltip.js +0 -172
- package/esm/components/tooltip/TooltipContainer.d.ts +0 -70
- package/esm/components/tooltip/TooltipContainer.js +0 -363
- package/esm/components/tooltip/TooltipHelpers.d.ts +0 -1
- package/esm/components/tooltip/TooltipHelpers.js +0 -6
- package/esm/components/tooltip/TooltipPortal.d.ts +0 -33
- package/esm/components/tooltip/TooltipPortal.js +0 -227
- package/esm/components/tooltip/TooltipWithEvents.d.ts +0 -37
- package/esm/components/tooltip/TooltipWithEvents.js +0 -225
- package/esm/components/tooltip/index.d.ts +0 -3
- package/esm/components/tooltip/index.js +0 -3
- package/esm/components/tooltip/style/_tooltip.scss +0 -131
- package/esm/components/tooltip/style/dnb-tooltip.css +0 -191
- package/esm/components/tooltip/style/dnb-tooltip.min.css +0 -1
- package/esm/components/tooltip/style/dnb-tooltip.scss +0 -12
- package/esm/components/tooltip/style/index.d.ts +0 -1
- package/esm/components/tooltip/style/index.js +0 -1
- package/esm/components/tooltip/style/themes/dnb-tooltip-theme-ui.css +0 -26
- package/esm/components/tooltip/style/themes/dnb-tooltip-theme-ui.min.css +0 -1
- package/esm/components/tooltip/style/themes/dnb-tooltip-theme-ui.scss +0 -22
- package/esm/components/tooltip/style/themes/ui.d.ts +0 -1
- package/esm/components/tooltip/style/themes/ui.js +0 -1
- package/esm/components/tooltip/style.d.ts +0 -1
- package/esm/components/tooltip/style.js +0 -1
- package/esm/components/tooltip/web-component.d.ts +0 -3
- package/esm/components/tooltip/web-component.js +0 -5
- package/esm/components/visually-hidden/VisuallyHidden.d.ts +0 -31
- package/esm/components/visually-hidden/VisuallyHidden.js +0 -48
- package/esm/components/visually-hidden/index.d.ts +0 -3
- package/esm/components/visually-hidden/index.js +0 -3
- package/esm/components/visually-hidden/style/_visually-hidden.scss +0 -20
- package/esm/components/visually-hidden/style/dnb-visually-hidden.css +0 -140
- package/esm/components/visually-hidden/style/dnb-visually-hidden.min.css +0 -1
- package/esm/components/visually-hidden/style/dnb-visually-hidden.scss +0 -12
- package/esm/components/visually-hidden/style/index.d.ts +0 -1
- package/esm/components/visually-hidden/style/index.js +0 -1
- package/esm/components/visually-hidden/style.d.ts +0 -1
- package/esm/components/visually-hidden/style.js +0 -1
- package/esm/components/vue.d.ts +0 -6
- package/esm/components/vue.js +0 -42
- package/esm/components/web-components.d.ts +0 -1
- package/esm/components/web-components.js +0 -3
- package/esm/core/jest/jestSetupScreenshots.css +0 -34
- package/esm/dnb-ui-basis.d.ts +0 -1
- package/esm/dnb-ui-components.d.ts +0 -1
- package/esm/dnb-ui-elements.d.ts +0 -1
- package/esm/dnb-ui-extensions.d.ts +0 -1
- package/esm/dnb-ui-icons-archive.d.ts +0 -1
- package/esm/dnb-ui-icons.d.ts +0 -2
- package/esm/dnb-ui-lib.d.ts +0 -2
- package/esm/dnb-ui-web-components.d.ts +0 -1
- package/esm/elements/Anchor.d.ts +0 -102
- package/esm/elements/Anchor.js +0 -123
- package/esm/elements/Blockquote.d.ts +0 -29
- package/esm/elements/Blockquote.js +0 -33
- package/esm/elements/Code.d.ts +0 -29
- package/esm/elements/Code.js +0 -32
- package/esm/elements/Dd.d.ts +0 -29
- package/esm/elements/Dd.js +0 -32
- package/esm/elements/Div.d.ts +0 -29
- package/esm/elements/Div.js +0 -33
- package/esm/elements/Dl.d.ts +0 -29
- package/esm/elements/Dl.js +0 -35
- package/esm/elements/Dt.d.ts +0 -29
- package/esm/elements/Dt.js +0 -32
- package/esm/elements/Element.d.ts +0 -43
- package/esm/elements/Element.js +0 -113
- package/esm/elements/H.d.ts +0 -44
- package/esm/elements/H.js +0 -97
- package/esm/elements/H1.d.ts +0 -39
- package/esm/elements/H1.js +0 -37
- package/esm/elements/H2.d.ts +0 -39
- package/esm/elements/H2.js +0 -37
- package/esm/elements/H3.d.ts +0 -39
- package/esm/elements/H3.js +0 -37
- package/esm/elements/H4.d.ts +0 -39
- package/esm/elements/H4.js +0 -37
- package/esm/elements/H5.d.ts +0 -39
- package/esm/elements/H5.js +0 -37
- package/esm/elements/H6.d.ts +0 -39
- package/esm/elements/H6.js +0 -37
- package/esm/elements/Hr.d.ts +0 -32
- package/esm/elements/Hr.js +0 -61
- package/esm/elements/Img.d.ts +0 -39
- package/esm/elements/Img.js +0 -79
- package/esm/elements/Ingress.d.ts +0 -5
- package/esm/elements/Ingress.js +0 -12
- package/esm/elements/Lead.d.ts +0 -29
- package/esm/elements/Lead.js +0 -32
- package/esm/elements/Li.d.ts +0 -29
- package/esm/elements/Li.js +0 -53
- package/esm/elements/Link.d.ts +0 -2
- package/esm/elements/Link.js +0 -4
- package/esm/elements/Ol.d.ts +0 -32
- package/esm/elements/Ol.js +0 -63
- package/esm/elements/P.d.ts +0 -46
- package/esm/elements/P.js +0 -101
- package/esm/elements/Paragraph.d.ts +0 -5
- package/esm/elements/Paragraph.js +0 -9
- package/esm/elements/Span.d.ts +0 -29
- package/esm/elements/Span.js +0 -32
- package/esm/elements/Table.d.ts +0 -35
- package/esm/elements/Table.js +0 -218
- package/esm/elements/Td.d.ts +0 -29
- package/esm/elements/Td.js +0 -37
- package/esm/elements/Th.d.ts +0 -29
- package/esm/elements/Th.js +0 -37
- package/esm/elements/Tr.d.ts +0 -29
- package/esm/elements/Tr.js +0 -37
- package/esm/elements/Ul.d.ts +0 -33
- package/esm/elements/Ul.js +0 -65
- package/esm/elements/index.d.ts +0 -30
- package/esm/elements/index.js +0 -30
- package/esm/elements/lib.d.ts +0 -71
- package/esm/elements/lib.js +0 -63
- package/esm/esm/dnb-ui-basis.d.ts +0 -1
- package/esm/esm/dnb-ui-components.d.ts +0 -1
- package/esm/esm/dnb-ui-elements.d.ts +0 -1
- package/esm/esm/dnb-ui-extensions.d.ts +0 -1
- package/esm/esm/dnb-ui-icons-archive.d.ts +0 -1
- package/esm/esm/dnb-ui-icons.d.ts +0 -2
- package/esm/esm/dnb-ui-lib.d.ts +0 -2
- package/esm/esm/dnb-ui-web-components.d.ts +0 -1
- package/esm/extensions/index.d.ts +0 -2
- package/esm/extensions/index.js +0 -2
- package/esm/extensions/lib.d.ts +0 -6
- package/esm/extensions/lib.js +0 -22
- package/esm/extensions/payment-card/PaymentCard.d.ts +0 -131
- package/esm/extensions/payment-card/PaymentCard.js +0 -298
- package/esm/extensions/payment-card/icons/BankAxept.d.ts +0 -16
- package/esm/extensions/payment-card/icons/BankAxept.js +0 -33
- package/esm/extensions/payment-card/icons/Clock.d.ts +0 -13
- package/esm/extensions/payment-card/icons/Clock.js +0 -30
- package/esm/extensions/payment-card/icons/DNB.d.ts +0 -16
- package/esm/extensions/payment-card/icons/DNB.js +0 -33
- package/esm/extensions/payment-card/icons/DNBMetalic.d.ts +0 -17
- package/esm/extensions/payment-card/icons/DNBMetalic.js +0 -62
- package/esm/extensions/payment-card/icons/MastercardDefault.d.ts +0 -13
- package/esm/extensions/payment-card/icons/MastercardDefault.js +0 -51
- package/esm/extensions/payment-card/icons/MastercardMetalic.d.ts +0 -12
- package/esm/extensions/payment-card/icons/MastercardMetalic.js +0 -98
- package/esm/extensions/payment-card/icons/MastercardMetalicBlack.d.ts +0 -12
- package/esm/extensions/payment-card/icons/MastercardMetalicBlack.js +0 -346
- package/esm/extensions/payment-card/icons/PB.d.ts +0 -16
- package/esm/extensions/payment-card/icons/PB.js +0 -33
- package/esm/extensions/payment-card/icons/PBPlatinum.d.ts +0 -12
- package/esm/extensions/payment-card/icons/PBPlatinum.js +0 -66
- package/esm/extensions/payment-card/icons/Padlock.d.ts +0 -13
- package/esm/extensions/payment-card/icons/Padlock.js +0 -33
- package/esm/extensions/payment-card/icons/Pluss.d.ts +0 -16
- package/esm/extensions/payment-card/icons/Pluss.js +0 -40
- package/esm/extensions/payment-card/icons/SagaGold.d.ts +0 -12
- package/esm/extensions/payment-card/icons/SagaGold.js +0 -35
- package/esm/extensions/payment-card/icons/SagaPlatinum.d.ts +0 -13
- package/esm/extensions/payment-card/icons/SagaPlatinum.js +0 -54
- package/esm/extensions/payment-card/icons/SagaVisaPlatinum.d.ts +0 -13
- package/esm/extensions/payment-card/icons/SagaVisaPlatinum.js +0 -66
- package/esm/extensions/payment-card/icons/VisaDefault.d.ts +0 -16
- package/esm/extensions/payment-card/icons/VisaDefault.js +0 -34
- package/esm/extensions/payment-card/icons/VisaMetalic.d.ts +0 -12
- package/esm/extensions/payment-card/icons/VisaMetalic.js +0 -107
- package/esm/extensions/payment-card/icons/index.d.ts +0 -15
- package/esm/extensions/payment-card/icons/index.js +0 -186
- package/esm/extensions/payment-card/index.d.ts +0 -3
- package/esm/extensions/payment-card/index.js +0 -3
- package/esm/extensions/payment-card/style/_payment-card.scss +0 -297
- package/esm/extensions/payment-card/style/dnb-payment-card.css +0 -363
- package/esm/extensions/payment-card/style/dnb-payment-card.min.css +0 -1
- package/esm/extensions/payment-card/style/dnb-payment-card.scss +0 -12
- package/esm/extensions/payment-card/style/index.d.ts +0 -1
- package/esm/extensions/payment-card/style/index.js +0 -1
- package/esm/extensions/payment-card/style/themes/dnb-payment-card-theme-ui.css +0 -4
- package/esm/extensions/payment-card/style/themes/dnb-payment-card-theme-ui.min.css +0 -0
- package/esm/extensions/payment-card/style/themes/dnb-payment-card-theme-ui.scss +0 -10
- package/esm/extensions/payment-card/style/themes/ui.d.ts +0 -1
- package/esm/extensions/payment-card/style/themes/ui.js +0 -1
- package/esm/extensions/payment-card/style.d.ts +0 -1
- package/esm/extensions/payment-card/style.js +0 -1
- package/esm/extensions/payment-card/utils/CardDesigns.d.ts +0 -242
- package/esm/extensions/payment-card/utils/CardDesigns.js +0 -149
- package/esm/extensions/payment-card/utils/Types.d.ts +0 -91
- package/esm/extensions/payment-card/utils/Types.js +0 -266
- package/esm/extensions/payment-card/utils/cardProducts.d.ts +0 -18
- package/esm/extensions/payment-card/utils/cardProducts.js +0 -242
- package/esm/extensions/payment-card/web-component.d.ts +0 -3
- package/esm/extensions/payment-card/web-component.js +0 -5
- package/esm/extensions/style/index.d.ts +0 -1
- package/esm/extensions/style/index.js +0 -1
- package/esm/extensions/vue.d.ts +0 -6
- package/esm/extensions/vue.js +0 -42
- package/esm/extensions/web-components.d.ts +0 -1
- package/esm/extensions/web-components.js +0 -3
- package/esm/fragments/DrawerList.d.ts +0 -3
- package/esm/fragments/DrawerList.js +0 -3
- package/esm/fragments/ScrollView.d.ts +0 -3
- package/esm/fragments/ScrollView.js +0 -3
- package/esm/fragments/drawer-list/DrawerList.d.ts +0 -134
- package/esm/fragments/drawer-list/DrawerList.js +0 -533
- package/esm/fragments/drawer-list/DrawerListContext.d.ts +0 -3
- package/esm/fragments/drawer-list/DrawerListContext.js +0 -3
- package/esm/fragments/drawer-list/DrawerListHelpers.d.ts +0 -141
- package/esm/fragments/drawer-list/DrawerListHelpers.js +0 -401
- package/esm/fragments/drawer-list/DrawerListPortal.d.ts +0 -1
- package/esm/fragments/drawer-list/DrawerListPortal.js +0 -287
- package/esm/fragments/drawer-list/DrawerListProvider.d.ts +0 -151
- package/esm/fragments/drawer-list/DrawerListProvider.js +0 -1209
- package/esm/fragments/drawer-list/index.d.ts +0 -3
- package/esm/fragments/drawer-list/index.js +0 -3
- package/esm/fragments/drawer-list/style/_drawer-list.scss +0 -506
- package/esm/fragments/drawer-list/style/dnb-drawer-list.scss +0 -14
- package/esm/fragments/drawer-list/style/index.d.ts +0 -1
- package/esm/fragments/drawer-list/style/index.js +0 -1
- package/esm/fragments/drawer-list/style/themes/dnb-drawer-list-theme-ui.scss +0 -288
- package/esm/fragments/drawer-list/style/themes/ui.d.ts +0 -1
- package/esm/fragments/drawer-list/style/themes/ui.js +0 -1
- package/esm/fragments/drawer-list/style.d.ts +0 -1
- package/esm/fragments/drawer-list/style.js +0 -1
- package/esm/fragments/drawer-list/web-component.d.ts +0 -3
- package/esm/fragments/drawer-list/web-component.js +0 -5
- package/esm/fragments/index.d.ts +0 -3
- package/esm/fragments/index.js +0 -3
- package/esm/fragments/lib.d.ts +0 -12
- package/esm/fragments/lib.js +0 -25
- package/esm/fragments/scroll-view/ScrollView.d.ts +0 -14
- package/esm/fragments/scroll-view/ScrollView.js +0 -101
- package/esm/fragments/scroll-view/index.d.ts +0 -3
- package/esm/fragments/scroll-view/index.js +0 -3
- package/esm/fragments/scroll-view/style/_scroll-view.scss +0 -9
- package/esm/fragments/scroll-view/style/dnb-scroll-view.scss +0 -12
- package/esm/fragments/scroll-view/style/index.d.ts +0 -1
- package/esm/fragments/scroll-view/style/index.js +0 -1
- package/esm/fragments/scroll-view/style/themes/dnb-scroll-view-theme-ui.scss +0 -12
- package/esm/fragments/scroll-view/style/themes/ui.d.ts +0 -1
- package/esm/fragments/scroll-view/style/themes/ui.js +0 -1
- package/esm/fragments/scroll-view/style.d.ts +0 -1
- package/esm/fragments/scroll-view/style.js +0 -1
- package/esm/fragments/scroll-view/web-component.d.ts +0 -3
- package/esm/fragments/scroll-view/web-component.js +0 -5
- package/esm/icons/above_the_line.d.ts +0 -2
- package/esm/icons/above_the_line.js +0 -20
- package/esm/icons/above_the_line_medium.d.ts +0 -2
- package/esm/icons/above_the_line_medium.js +0 -20
- package/esm/icons/account.d.ts +0 -2
- package/esm/icons/account.js +0 -24
- package/esm/icons/account_card.d.ts +0 -2
- package/esm/icons/account_card.js +0 -20
- package/esm/icons/account_card_medium.d.ts +0 -2
- package/esm/icons/account_card_medium.js +0 -20
- package/esm/icons/account_in.d.ts +0 -2
- package/esm/icons/account_in.js +0 -23
- package/esm/icons/account_in_medium.d.ts +0 -2
- package/esm/icons/account_in_medium.js +0 -20
- package/esm/icons/account_medium.d.ts +0 -2
- package/esm/icons/account_medium.js +0 -26
- package/esm/icons/account_out.d.ts +0 -2
- package/esm/icons/account_out.js +0 -23
- package/esm/icons/account_out_medium.d.ts +0 -2
- package/esm/icons/account_out_medium.js +0 -20
- package/esm/icons/account_percent.d.ts +0 -2
- package/esm/icons/account_percent.js +0 -30
- package/esm/icons/add.d.ts +0 -2
- package/esm/icons/add.js +0 -20
- package/esm/icons/add_circled.d.ts +0 -2
- package/esm/icons/add_circled.js +0 -20
- package/esm/icons/add_circled_medium.d.ts +0 -2
- package/esm/icons/add_circled_medium.js +0 -20
- package/esm/icons/add_medium.d.ts +0 -2
- package/esm/icons/add_medium.js +0 -20
- package/esm/icons/ainvoice.d.ts +0 -2
- package/esm/icons/ainvoice.js +0 -22
- package/esm/icons/ainvoice_medium.d.ts +0 -2
- package/esm/icons/ainvoice_medium.js +0 -22
- package/esm/icons/ambulance.d.ts +0 -2
- package/esm/icons/ambulance.js +0 -23
- package/esm/icons/ambulance_medium.d.ts +0 -2
- package/esm/icons/ambulance_medium.js +0 -23
- package/esm/icons/animal_print.d.ts +0 -2
- package/esm/icons/animal_print.js +0 -23
- package/esm/icons/animal_print_medium.d.ts +0 -2
- package/esm/icons/animal_print_medium.js +0 -23
- package/esm/icons/apple_watch.d.ts +0 -2
- package/esm/icons/apple_watch.js +0 -23
- package/esm/icons/apple_watch_medium.d.ts +0 -2
- package/esm/icons/apple_watch_medium.js +0 -23
- package/esm/icons/arrow_down.d.ts +0 -2
- package/esm/icons/arrow_down.js +0 -20
- package/esm/icons/arrow_down_medium.d.ts +0 -2
- package/esm/icons/arrow_down_medium.js +0 -20
- package/esm/icons/arrow_left.d.ts +0 -2
- package/esm/icons/arrow_left.js +0 -23
- package/esm/icons/arrow_left_medium.d.ts +0 -2
- package/esm/icons/arrow_left_medium.js +0 -23
- package/esm/icons/arrow_right.d.ts +0 -2
- package/esm/icons/arrow_right.js +0 -23
- package/esm/icons/arrow_right_medium.d.ts +0 -2
- package/esm/icons/arrow_right_medium.js +0 -23
- package/esm/icons/arrow_up.d.ts +0 -2
- package/esm/icons/arrow_up.js +0 -20
- package/esm/icons/arrow_up_medium.d.ts +0 -2
- package/esm/icons/arrow_up_medium.js +0 -20
- package/esm/icons/attachment.d.ts +0 -2
- package/esm/icons/attachment.js +0 -23
- package/esm/icons/attachment_medium.d.ts +0 -2
- package/esm/icons/attachment_medium.js +0 -23
- package/esm/icons/baby.d.ts +0 -2
- package/esm/icons/baby.js +0 -26
- package/esm/icons/baby_medium.d.ts +0 -2
- package/esm/icons/baby_medium.js +0 -26
- package/esm/icons/bandage.d.ts +0 -2
- package/esm/icons/bandage.js +0 -26
- package/esm/icons/bandage_medium.d.ts +0 -2
- package/esm/icons/bandage_medium.js +0 -26
- package/esm/icons/bank.d.ts +0 -2
- package/esm/icons/bank.js +0 -23
- package/esm/icons/bank_medium.d.ts +0 -2
- package/esm/icons/bank_medium.js +0 -23
- package/esm/icons/bankid.d.ts +0 -2
- package/esm/icons/bankid.js +0 -22
- package/esm/icons/bankid_medium.d.ts +0 -2
- package/esm/icons/bankid_medium.js +0 -22
- package/esm/icons/bankid_mobile.d.ts +0 -2
- package/esm/icons/bankid_mobile.js +0 -28
- package/esm/icons/bankid_mobile_medium.d.ts +0 -2
- package/esm/icons/bankid_mobile_medium.js +0 -33
- package/esm/icons/bankid_qr.d.ts +0 -2
- package/esm/icons/bankid_qr.js +0 -23
- package/esm/icons/bankid_qr_medium.d.ts +0 -2
- package/esm/icons/bankid_qr_medium.js +0 -23
- package/esm/icons/bell.d.ts +0 -2
- package/esm/icons/bell.js +0 -23
- package/esm/icons/bell_medium.d.ts +0 -2
- package/esm/icons/bell_medium.js +0 -23
- package/esm/icons/bicycle.d.ts +0 -2
- package/esm/icons/bicycle.js +0 -23
- package/esm/icons/bicycle_medium.d.ts +0 -2
- package/esm/icons/bicycle_medium.js +0 -23
- package/esm/icons/boat.d.ts +0 -2
- package/esm/icons/boat.js +0 -23
- package/esm/icons/boat_medium.d.ts +0 -2
- package/esm/icons/boat_medium.js +0 -23
- package/esm/icons/bowling.d.ts +0 -2
- package/esm/icons/bowling.js +0 -26
- package/esm/icons/bowling_medium.d.ts +0 -2
- package/esm/icons/bowling_medium.js +0 -26
- package/esm/icons/brickwall.d.ts +0 -2
- package/esm/icons/brickwall.js +0 -23
- package/esm/icons/brickwall_medium.d.ts +0 -2
- package/esm/icons/brickwall_medium.js +0 -23
- package/esm/icons/broken_chain.d.ts +0 -2
- package/esm/icons/broken_chain.js +0 -23
- package/esm/icons/broken_chain_medium.d.ts +0 -2
- package/esm/icons/broken_chain_medium.js +0 -23
- package/esm/icons/brush.d.ts +0 -2
- package/esm/icons/brush.js +0 -23
- package/esm/icons/brush_medium.d.ts +0 -2
- package/esm/icons/brush_medium.js +0 -23
- package/esm/icons/bsu.d.ts +0 -2
- package/esm/icons/bsu.js +0 -20
- package/esm/icons/bsu_medium.d.ts +0 -2
- package/esm/icons/bsu_medium.js +0 -20
- package/esm/icons/bubble.d.ts +0 -2
- package/esm/icons/bubble.js +0 -23
- package/esm/icons/bubble_medium.d.ts +0 -2
- package/esm/icons/bubble_medium.js +0 -23
- package/esm/icons/building_construction.d.ts +0 -2
- package/esm/icons/building_construction.js +0 -23
- package/esm/icons/building_construction_medium.d.ts +0 -2
- package/esm/icons/building_construction_medium.js +0 -23
- package/esm/icons/calculator.d.ts +0 -2
- package/esm/icons/calculator.js +0 -20
- package/esm/icons/calculator_medium.d.ts +0 -2
- package/esm/icons/calculator_medium.js +0 -20
- package/esm/icons/calendar.d.ts +0 -2
- package/esm/icons/calendar.js +0 -20
- package/esm/icons/calendar_medium.d.ts +0 -2
- package/esm/icons/calendar_medium.js +0 -20
- package/esm/icons/camera.d.ts +0 -2
- package/esm/icons/camera.js +0 -25
- package/esm/icons/camera_medium.d.ts +0 -2
- package/esm/icons/camera_medium.js +0 -25
- package/esm/icons/camper_trailer.d.ts +0 -2
- package/esm/icons/camper_trailer.js +0 -23
- package/esm/icons/camper_trailer_medium.d.ts +0 -2
- package/esm/icons/camper_trailer_medium.js +0 -23
- package/esm/icons/car_1.d.ts +0 -2
- package/esm/icons/car_1.js +0 -23
- package/esm/icons/car_1_medium.d.ts +0 -2
- package/esm/icons/car_1_medium.js +0 -23
- package/esm/icons/car_2.d.ts +0 -2
- package/esm/icons/car_2.js +0 -23
- package/esm/icons/car_2_medium.d.ts +0 -2
- package/esm/icons/car_2_medium.js +0 -23
- package/esm/icons/caravan.d.ts +0 -2
- package/esm/icons/caravan.js +0 -23
- package/esm/icons/caravan_medium.d.ts +0 -2
- package/esm/icons/caravan_medium.js +0 -23
- package/esm/icons/card.d.ts +0 -2
- package/esm/icons/card.js +0 -20
- package/esm/icons/card_in.d.ts +0 -2
- package/esm/icons/card_in.js +0 -20
- package/esm/icons/card_in_medium.d.ts +0 -2
- package/esm/icons/card_in_medium.js +0 -20
- package/esm/icons/card_medium.d.ts +0 -2
- package/esm/icons/card_medium.js +0 -20
- package/esm/icons/card_out.d.ts +0 -2
- package/esm/icons/card_out.js +0 -20
- package/esm/icons/card_out_medium.d.ts +0 -2
- package/esm/icons/card_out_medium.js +0 -20
- package/esm/icons/card_with_padlock.d.ts +0 -2
- package/esm/icons/card_with_padlock.js +0 -20
- package/esm/icons/card_with_padlock_medium.d.ts +0 -2
- package/esm/icons/card_with_padlock_medium.js +0 -25
- package/esm/icons/cat.d.ts +0 -2
- package/esm/icons/cat.js +0 -26
- package/esm/icons/cat_medium.d.ts +0 -2
- package/esm/icons/cat_medium.js +0 -26
- package/esm/icons/chain.d.ts +0 -2
- package/esm/icons/chain.js +0 -23
- package/esm/icons/chain_medium.d.ts +0 -2
- package/esm/icons/chain_medium.js +0 -23
- package/esm/icons/charger.d.ts +0 -2
- package/esm/icons/charger.js +0 -23
- package/esm/icons/charger_medium.d.ts +0 -2
- package/esm/icons/charger_medium.js +0 -23
- package/esm/icons/chat.d.ts +0 -2
- package/esm/icons/chat.js +0 -23
- package/esm/icons/chat_medium.d.ts +0 -2
- package/esm/icons/chat_medium.js +0 -23
- package/esm/icons/chatbot.d.ts +0 -2
- package/esm/icons/chatbot.js +0 -25
- package/esm/icons/chatbot_medium.d.ts +0 -2
- package/esm/icons/chatbot_medium.js +0 -25
- package/esm/icons/check.d.ts +0 -2
- package/esm/icons/check.js +0 -23
- package/esm/icons/check_medium.d.ts +0 -2
- package/esm/icons/check_medium.js +0 -23
- package/esm/icons/chevron_down.d.ts +0 -2
- package/esm/icons/chevron_down.js +0 -23
- package/esm/icons/chevron_down_medium.d.ts +0 -2
- package/esm/icons/chevron_down_medium.js +0 -23
- package/esm/icons/chevron_left.d.ts +0 -2
- package/esm/icons/chevron_left.js +0 -23
- package/esm/icons/chevron_left_medium.d.ts +0 -2
- package/esm/icons/chevron_left_medium.js +0 -23
- package/esm/icons/chevron_right.d.ts +0 -2
- package/esm/icons/chevron_right.js +0 -23
- package/esm/icons/chevron_right_medium.d.ts +0 -2
- package/esm/icons/chevron_right_medium.js +0 -23
- package/esm/icons/chevron_up.d.ts +0 -2
- package/esm/icons/chevron_up.js +0 -23
- package/esm/icons/chevron_up_medium.d.ts +0 -2
- package/esm/icons/chevron_up_medium.js +0 -23
- package/esm/icons/chip.d.ts +0 -2
- package/esm/icons/chip.js +0 -23
- package/esm/icons/chip_medium.d.ts +0 -2
- package/esm/icons/chip_medium.js +0 -23
- package/esm/icons/clock.d.ts +0 -2
- package/esm/icons/clock.js +0 -23
- package/esm/icons/clock_medium.d.ts +0 -2
- package/esm/icons/clock_medium.js +0 -23
- package/esm/icons/close.d.ts +0 -2
- package/esm/icons/close.js +0 -23
- package/esm/icons/close_medium.d.ts +0 -2
- package/esm/icons/close_medium.js +0 -23
- package/esm/icons/cloud.d.ts +0 -2
- package/esm/icons/cloud.js +0 -20
- package/esm/icons/cloud_download.d.ts +0 -2
- package/esm/icons/cloud_download.js +0 -20
- package/esm/icons/cloud_download_medium.d.ts +0 -2
- package/esm/icons/cloud_download_medium.js +0 -20
- package/esm/icons/cloud_medium.d.ts +0 -2
- package/esm/icons/cloud_medium.js +0 -20
- package/esm/icons/cloud_rain.d.ts +0 -2
- package/esm/icons/cloud_rain.js +0 -20
- package/esm/icons/cloud_rain_medium.d.ts +0 -2
- package/esm/icons/cloud_rain_medium.js +0 -20
- package/esm/icons/cloud_sync.d.ts +0 -2
- package/esm/icons/cloud_sync.js +0 -20
- package/esm/icons/cloud_sync_medium.d.ts +0 -2
- package/esm/icons/cloud_sync_medium.js +0 -20
- package/esm/icons/cloud_transfer.d.ts +0 -2
- package/esm/icons/cloud_transfer.js +0 -20
- package/esm/icons/cloud_transfer_medium.d.ts +0 -2
- package/esm/icons/cloud_transfer_medium.js +0 -20
- package/esm/icons/cloud_upload.d.ts +0 -2
- package/esm/icons/cloud_upload.js +0 -20
- package/esm/icons/cloud_upload_medium.d.ts +0 -2
- package/esm/icons/cloud_upload_medium.js +0 -20
- package/esm/icons/cog.d.ts +0 -2
- package/esm/icons/cog.js +0 -31
- package/esm/icons/cog_medium.d.ts +0 -2
- package/esm/icons/cog_medium.js +0 -31
- package/esm/icons/coins_1.d.ts +0 -2
- package/esm/icons/coins_1.js +0 -23
- package/esm/icons/coins_1_medium.d.ts +0 -2
- package/esm/icons/coins_1_medium.js +0 -23
- package/esm/icons/coins_2.d.ts +0 -2
- package/esm/icons/coins_2.js +0 -23
- package/esm/icons/coins_2_medium.d.ts +0 -2
- package/esm/icons/coins_2_medium.js +0 -23
- package/esm/icons/coins_3.d.ts +0 -2
- package/esm/icons/coins_3.js +0 -23
- package/esm/icons/coins_3_medium.d.ts +0 -2
- package/esm/icons/coins_3_medium.js +0 -23
- package/esm/icons/compose.d.ts +0 -2
- package/esm/icons/compose.js +0 -23
- package/esm/icons/compose_medium.d.ts +0 -2
- package/esm/icons/compose_medium.js +0 -23
- package/esm/icons/confetti.d.ts +0 -2
- package/esm/icons/confetti.js +0 -20
- package/esm/icons/confetti_medium.d.ts +0 -2
- package/esm/icons/confetti_medium.js +0 -20
- package/esm/icons/contacts.d.ts +0 -2
- package/esm/icons/contacts.js +0 -20
- package/esm/icons/contacts_medium.d.ts +0 -2
- package/esm/icons/contacts_medium.js +0 -20
- package/esm/icons/cookie.d.ts +0 -2
- package/esm/icons/cookie.js +0 -32
- package/esm/icons/cookie_medium.d.ts +0 -2
- package/esm/icons/cookie_medium.js +0 -32
- package/esm/icons/copy.d.ts +0 -2
- package/esm/icons/copy.js +0 -23
- package/esm/icons/copy_medium.d.ts +0 -2
- package/esm/icons/copy_medium.js +0 -23
- package/esm/icons/credit_note.d.ts +0 -2
- package/esm/icons/credit_note.js +0 -23
- package/esm/icons/credit_note_medium.d.ts +0 -2
- package/esm/icons/credit_note_medium.js +0 -23
- package/esm/icons/currency.d.ts +0 -2
- package/esm/icons/currency.js +0 -23
- package/esm/icons/currency_medium.d.ts +0 -2
- package/esm/icons/currency_medium.js +0 -23
- package/esm/icons/customer_service.d.ts +0 -2
- package/esm/icons/customer_service.js +0 -23
- package/esm/icons/customer_service_medium.d.ts +0 -2
- package/esm/icons/customer_service_medium.js +0 -23
- package/esm/icons/deleted_invoice.d.ts +0 -2
- package/esm/icons/deleted_invoice.js +0 -23
- package/esm/icons/deleted_invoice_medium.d.ts +0 -2
- package/esm/icons/deleted_invoice_medium.js +0 -23
- package/esm/icons/diamond.d.ts +0 -2
- package/esm/icons/diamond.js +0 -23
- package/esm/icons/diamond_medium.d.ts +0 -2
- package/esm/icons/diamond_medium.js +0 -23
- package/esm/icons/digipass.d.ts +0 -2
- package/esm/icons/digipass.js +0 -20
- package/esm/icons/digipass_medium.d.ts +0 -2
- package/esm/icons/digipass_medium.js +0 -20
- package/esm/icons/digipost.d.ts +0 -2
- package/esm/icons/digipost.js +0 -22
- package/esm/icons/digipost_medium.d.ts +0 -2
- package/esm/icons/digipost_medium.js +0 -22
- package/esm/icons/dismiss_keyboard.d.ts +0 -2
- package/esm/icons/dismiss_keyboard.js +0 -20
- package/esm/icons/dismiss_keyboard_medium.d.ts +0 -2
- package/esm/icons/dismiss_keyboard_medium.js +0 -20
- package/esm/icons/document.d.ts +0 -2
- package/esm/icons/document.js +0 -23
- package/esm/icons/document_add.d.ts +0 -2
- package/esm/icons/document_add.js +0 -20
- package/esm/icons/document_add_medium.d.ts +0 -2
- package/esm/icons/document_add_medium.js +0 -20
- package/esm/icons/document_contract.d.ts +0 -2
- package/esm/icons/document_contract.js +0 -23
- package/esm/icons/document_contract_medium.d.ts +0 -2
- package/esm/icons/document_contract_medium.js +0 -23
- package/esm/icons/document_csv.d.ts +0 -2
- package/esm/icons/document_csv.js +0 -20
- package/esm/icons/document_csv_medium.d.ts +0 -2
- package/esm/icons/document_csv_medium.js +0 -26
- package/esm/icons/document_loupe.d.ts +0 -2
- package/esm/icons/document_loupe.js +0 -20
- package/esm/icons/document_loupe_medium.d.ts +0 -2
- package/esm/icons/document_loupe_medium.js +0 -20
- package/esm/icons/document_medium.d.ts +0 -2
- package/esm/icons/document_medium.js +0 -23
- package/esm/icons/document_pdf.d.ts +0 -2
- package/esm/icons/document_pdf.js +0 -20
- package/esm/icons/document_pdf_medium.d.ts +0 -2
- package/esm/icons/document_pdf_medium.js +0 -26
- package/esm/icons/document_rejected.d.ts +0 -2
- package/esm/icons/document_rejected.js +0 -23
- package/esm/icons/document_rejected_medium.d.ts +0 -2
- package/esm/icons/document_rejected_medium.js +0 -23
- package/esm/icons/document_signing.d.ts +0 -2
- package/esm/icons/document_signing.js +0 -20
- package/esm/icons/document_signing_medium.d.ts +0 -2
- package/esm/icons/document_signing_medium.js +0 -20
- package/esm/icons/document_txt.d.ts +0 -2
- package/esm/icons/document_txt.js +0 -20
- package/esm/icons/document_txt_medium.d.ts +0 -2
- package/esm/icons/document_txt_medium.js +0 -26
- package/esm/icons/document_warning.d.ts +0 -2
- package/esm/icons/document_warning.js +0 -26
- package/esm/icons/document_warning_medium.d.ts +0 -2
- package/esm/icons/document_warning_medium.js +0 -26
- package/esm/icons/document_word.d.ts +0 -2
- package/esm/icons/document_word.js +0 -20
- package/esm/icons/document_word_medium.d.ts +0 -2
- package/esm/icons/document_word_medium.js +0 -26
- package/esm/icons/document_xls.d.ts +0 -2
- package/esm/icons/document_xls.js +0 -20
- package/esm/icons/document_xls_medium.d.ts +0 -2
- package/esm/icons/document_xls_medium.js +0 -26
- package/esm/icons/dog.d.ts +0 -2
- package/esm/icons/dog.js +0 -26
- package/esm/icons/dog_medium.d.ts +0 -2
- package/esm/icons/dog_medium.js +0 -26
- package/esm/icons/download.d.ts +0 -2
- package/esm/icons/download.js +0 -20
- package/esm/icons/download_medium.d.ts +0 -2
- package/esm/icons/download_medium.js +0 -20
- package/esm/icons/edit.d.ts +0 -2
- package/esm/icons/edit.js +0 -23
- package/esm/icons/edit_medium.d.ts +0 -2
- package/esm/icons/edit_medium.js +0 -23
- package/esm/icons/einvoice.d.ts +0 -2
- package/esm/icons/einvoice.js +0 -22
- package/esm/icons/einvoice_medium.d.ts +0 -2
- package/esm/icons/einvoice_medium.js +0 -22
- package/esm/icons/email.d.ts +0 -2
- package/esm/icons/email.js +0 -23
- package/esm/icons/email_medium.d.ts +0 -2
- package/esm/icons/email_medium.js +0 -23
- package/esm/icons/equities_and_mutual_funds.d.ts +0 -2
- package/esm/icons/equities_and_mutual_funds.js +0 -23
- package/esm/icons/equities_and_mutual_funds_medium.d.ts +0 -2
- package/esm/icons/equities_and_mutual_funds_medium.js +0 -23
- package/esm/icons/exclamation.d.ts +0 -2
- package/esm/icons/exclamation.js +0 -22
- package/esm/icons/exclamation_circled.d.ts +0 -2
- package/esm/icons/exclamation_circled.js +0 -22
- package/esm/icons/exclamation_circled_medium.d.ts +0 -2
- package/esm/icons/exclamation_circled_medium.js +0 -22
- package/esm/icons/exclamation_medium.d.ts +0 -2
- package/esm/icons/exclamation_medium.js +0 -22
- package/esm/icons/exclamation_triangle.d.ts +0 -2
- package/esm/icons/exclamation_triangle.js +0 -26
- package/esm/icons/exclamation_triangle_medium.d.ts +0 -2
- package/esm/icons/exclamation_triangle_medium.js +0 -26
- package/esm/icons/facebook.d.ts +0 -2
- package/esm/icons/facebook.js +0 -23
- package/esm/icons/facebook_medium.d.ts +0 -2
- package/esm/icons/facebook_medium.js +0 -23
- package/esm/icons/factory.d.ts +0 -2
- package/esm/icons/factory.js +0 -23
- package/esm/icons/factory_medium.d.ts +0 -2
- package/esm/icons/factory_medium.js +0 -23
- package/esm/icons/file.d.ts +0 -2
- package/esm/icons/file.js +0 -23
- package/esm/icons/file_add.d.ts +0 -2
- package/esm/icons/file_add.js +0 -20
- package/esm/icons/file_add_medium.d.ts +0 -2
- package/esm/icons/file_add_medium.js +0 -20
- package/esm/icons/file_contract.d.ts +0 -2
- package/esm/icons/file_contract.js +0 -23
- package/esm/icons/file_contract_medium.d.ts +0 -2
- package/esm/icons/file_contract_medium.js +0 -23
- package/esm/icons/file_csv.d.ts +0 -2
- package/esm/icons/file_csv.js +0 -20
- package/esm/icons/file_csv_medium.d.ts +0 -2
- package/esm/icons/file_csv_medium.js +0 -26
- package/esm/icons/file_loupe.d.ts +0 -2
- package/esm/icons/file_loupe.js +0 -20
- package/esm/icons/file_loupe_medium.d.ts +0 -2
- package/esm/icons/file_loupe_medium.js +0 -20
- package/esm/icons/file_medium.d.ts +0 -2
- package/esm/icons/file_medium.js +0 -23
- package/esm/icons/file_pdf.d.ts +0 -2
- package/esm/icons/file_pdf.js +0 -20
- package/esm/icons/file_pdf_medium.d.ts +0 -2
- package/esm/icons/file_pdf_medium.js +0 -26
- package/esm/icons/file_ppt.d.ts +0 -2
- package/esm/icons/file_ppt.js +0 -20
- package/esm/icons/file_ppt_medium.d.ts +0 -2
- package/esm/icons/file_ppt_medium.js +0 -26
- package/esm/icons/file_rejected.d.ts +0 -2
- package/esm/icons/file_rejected.js +0 -23
- package/esm/icons/file_rejected_medium.d.ts +0 -2
- package/esm/icons/file_rejected_medium.js +0 -23
- package/esm/icons/file_signing.d.ts +0 -2
- package/esm/icons/file_signing.js +0 -20
- package/esm/icons/file_signing_medium.d.ts +0 -2
- package/esm/icons/file_signing_medium.js +0 -20
- package/esm/icons/file_txt.d.ts +0 -2
- package/esm/icons/file_txt.js +0 -20
- package/esm/icons/file_txt_medium.d.ts +0 -2
- package/esm/icons/file_txt_medium.js +0 -26
- package/esm/icons/file_warning.d.ts +0 -2
- package/esm/icons/file_warning.js +0 -26
- package/esm/icons/file_warning_medium.d.ts +0 -2
- package/esm/icons/file_warning_medium.js +0 -26
- package/esm/icons/file_word.d.ts +0 -2
- package/esm/icons/file_word.js +0 -20
- package/esm/icons/file_word_medium.d.ts +0 -2
- package/esm/icons/file_word_medium.js +0 -26
- package/esm/icons/file_xls.d.ts +0 -2
- package/esm/icons/file_xls.js +0 -20
- package/esm/icons/file_xls_medium.d.ts +0 -2
- package/esm/icons/file_xls_medium.js +0 -26
- package/esm/icons/file_xml.d.ts +0 -2
- package/esm/icons/file_xml.js +0 -20
- package/esm/icons/file_xml_medium.d.ts +0 -2
- package/esm/icons/file_xml_medium.js +0 -26
- package/esm/icons/filter.d.ts +0 -2
- package/esm/icons/filter.js +0 -22
- package/esm/icons/filter_medium.d.ts +0 -2
- package/esm/icons/filter_medium.js +0 -22
- package/esm/icons/first_aid.d.ts +0 -2
- package/esm/icons/first_aid.js +0 -23
- package/esm/icons/first_aid_medium.d.ts +0 -2
- package/esm/icons/first_aid_medium.js +0 -23
- package/esm/icons/flying_money.d.ts +0 -2
- package/esm/icons/flying_money.js +0 -23
- package/esm/icons/flying_money_medium.d.ts +0 -2
- package/esm/icons/flying_money_medium.js +0 -26
- package/esm/icons/folder.d.ts +0 -2
- package/esm/icons/folder.js +0 -23
- package/esm/icons/folder_medium.d.ts +0 -2
- package/esm/icons/folder_medium.js +0 -23
- package/esm/icons/fridge.d.ts +0 -2
- package/esm/icons/fridge.js +0 -23
- package/esm/icons/fridge_medium.d.ts +0 -2
- package/esm/icons/fridge_medium.js +0 -23
- package/esm/icons/fullscreen.d.ts +0 -2
- package/esm/icons/fullscreen.js +0 -24
- package/esm/icons/fullscreen_medium.d.ts +0 -2
- package/esm/icons/fullscreen_medium.js +0 -24
- package/esm/icons/fund_in.d.ts +0 -2
- package/esm/icons/fund_in.js +0 -23
- package/esm/icons/fund_out.d.ts +0 -2
- package/esm/icons/fund_out.js +0 -23
- package/esm/icons/funds.d.ts +0 -2
- package/esm/icons/funds.js +0 -23
- package/esm/icons/funds_in.d.ts +0 -2
- package/esm/icons/funds_in.js +0 -23
- package/esm/icons/funds_in_medium.d.ts +0 -2
- package/esm/icons/funds_in_medium.js +0 -20
- package/esm/icons/funds_medium.d.ts +0 -2
- package/esm/icons/funds_medium.js +0 -23
- package/esm/icons/funds_out.d.ts +0 -2
- package/esm/icons/funds_out.js +0 -23
- package/esm/icons/funds_out_medium.d.ts +0 -2
- package/esm/icons/funds_out_medium.js +0 -20
- package/esm/icons/globe.d.ts +0 -2
- package/esm/icons/globe.js +0 -23
- package/esm/icons/globe_medium.d.ts +0 -2
- package/esm/icons/globe_medium.js +0 -23
- package/esm/icons/grabber.d.ts +0 -2
- package/esm/icons/grabber.js +0 -22
- package/esm/icons/grabber_medium.d.ts +0 -2
- package/esm/icons/grabber_medium.js +0 -22
- package/esm/icons/graph_decrease.d.ts +0 -2
- package/esm/icons/graph_decrease.js +0 -23
- package/esm/icons/graph_decrease_medium.d.ts +0 -2
- package/esm/icons/graph_decrease_medium.js +0 -23
- package/esm/icons/graph_increase.d.ts +0 -2
- package/esm/icons/graph_increase.js +0 -23
- package/esm/icons/graph_increase_medium.d.ts +0 -2
- package/esm/icons/graph_increase_medium.js +0 -23
- package/esm/icons/hamburger.d.ts +0 -2
- package/esm/icons/hamburger.js +0 -22
- package/esm/icons/hamburger_medium.d.ts +0 -2
- package/esm/icons/hamburger_medium.js +0 -22
- package/esm/icons/hand_money.d.ts +0 -2
- package/esm/icons/hand_money.js +0 -20
- package/esm/icons/hand_money_medium.d.ts +0 -2
- package/esm/icons/hand_money_medium.js +0 -20
- package/esm/icons/hanger.d.ts +0 -2
- package/esm/icons/hanger.js +0 -23
- package/esm/icons/hanger_medium.d.ts +0 -2
- package/esm/icons/hanger_medium.js +0 -23
- package/esm/icons/heart.d.ts +0 -2
- package/esm/icons/heart.js +0 -23
- package/esm/icons/heart_medium.d.ts +0 -2
- package/esm/icons/heart_medium.js +0 -23
- package/esm/icons/heart_rate.d.ts +0 -2
- package/esm/icons/heart_rate.js +0 -23
- package/esm/icons/heart_rate_medium.d.ts +0 -2
- package/esm/icons/heart_rate_medium.js +0 -23
- package/esm/icons/hide.d.ts +0 -2
- package/esm/icons/hide.js +0 -20
- package/esm/icons/hide_medium.d.ts +0 -2
- package/esm/icons/hide_medium.js +0 -20
- package/esm/icons/history.d.ts +0 -2
- package/esm/icons/history.js +0 -20
- package/esm/icons/history_medium.d.ts +0 -2
- package/esm/icons/history_medium.js +0 -20
- package/esm/icons/home.d.ts +0 -2
- package/esm/icons/home.js +0 -22
- package/esm/icons/home_medium.d.ts +0 -2
- package/esm/icons/home_medium.js +0 -22
- package/esm/icons/horse.d.ts +0 -2
- package/esm/icons/horse.js +0 -26
- package/esm/icons/horse_medium.d.ts +0 -2
- package/esm/icons/horse_medium.js +0 -26
- package/esm/icons/hourglass.d.ts +0 -2
- package/esm/icons/hourglass.js +0 -23
- package/esm/icons/hourglass_medium.d.ts +0 -2
- package/esm/icons/hourglass_medium.js +0 -23
- package/esm/icons/house_1.d.ts +0 -2
- package/esm/icons/house_1.js +0 -23
- package/esm/icons/house_1_medium.d.ts +0 -2
- package/esm/icons/house_1_medium.js +0 -23
- package/esm/icons/house_2.d.ts +0 -2
- package/esm/icons/house_2.js +0 -23
- package/esm/icons/house_2_medium.d.ts +0 -2
- package/esm/icons/house_2_medium.js +0 -23
- package/esm/icons/house_value.d.ts +0 -2
- package/esm/icons/house_value.js +0 -26
- package/esm/icons/house_value_medium.d.ts +0 -2
- package/esm/icons/house_value_medium.js +0 -26
- package/esm/icons/icons-meta.json +0 -1442
- package/esm/icons/icons-pdf.lock +0 -1
- package/esm/icons/icons-svg.lock +0 -1
- package/esm/icons/index.d.ts +0 -501
- package/esm/icons/index.js +0 -501
- package/esm/icons/information.d.ts +0 -2
- package/esm/icons/information.js +0 -22
- package/esm/icons/information_bubble.d.ts +0 -2
- package/esm/icons/information_bubble.js +0 -34
- package/esm/icons/information_bubble_medium.d.ts +0 -2
- package/esm/icons/information_bubble_medium.js +0 -28
- package/esm/icons/information_circled.d.ts +0 -2
- package/esm/icons/information_circled.js +0 -28
- package/esm/icons/information_circled_medium.d.ts +0 -2
- package/esm/icons/information_circled_medium.js +0 -28
- package/esm/icons/information_medium.d.ts +0 -2
- package/esm/icons/information_medium.js +0 -22
- package/esm/icons/instagram.d.ts +0 -2
- package/esm/icons/instagram.js +0 -34
- package/esm/icons/instagram_medium.d.ts +0 -2
- package/esm/icons/instagram_medium.js +0 -41
- package/esm/icons/insurance.d.ts +0 -2
- package/esm/icons/insurance.js +0 -23
- package/esm/icons/insurance_medium.d.ts +0 -2
- package/esm/icons/insurance_medium.js +0 -23
- package/esm/icons/kid_number.d.ts +0 -2
- package/esm/icons/kid_number.js +0 -22
- package/esm/icons/kid_number_medium.d.ts +0 -2
- package/esm/icons/kid_number_medium.js +0 -22
- package/esm/icons/language.d.ts +0 -2
- package/esm/icons/language.js +0 -23
- package/esm/icons/language_medium.d.ts +0 -2
- package/esm/icons/language_medium.js +0 -23
- package/esm/icons/launch.d.ts +0 -2
- package/esm/icons/launch.js +0 -23
- package/esm/icons/launch_medium.d.ts +0 -2
- package/esm/icons/launch_medium.js +0 -23
- package/esm/icons/leaf.d.ts +0 -2
- package/esm/icons/leaf.js +0 -23
- package/esm/icons/leaf_medium.d.ts +0 -2
- package/esm/icons/leaf_medium.js +0 -23
- package/esm/icons/lightbulb.d.ts +0 -2
- package/esm/icons/lightbulb.js +0 -20
- package/esm/icons/lightbulb_medium.d.ts +0 -2
- package/esm/icons/lightbulb_medium.js +0 -20
- package/esm/icons/linkedin.d.ts +0 -2
- package/esm/icons/linkedin.js +0 -20
- package/esm/icons/linkedin_medium.d.ts +0 -2
- package/esm/icons/linkedin_medium.js +0 -20
- package/esm/icons/list.d.ts +0 -2
- package/esm/icons/list.js +0 -23
- package/esm/icons/list_medium.d.ts +0 -2
- package/esm/icons/list_medium.js +0 -23
- package/esm/icons/loan.d.ts +0 -2
- package/esm/icons/loan.js +0 -23
- package/esm/icons/loan_in.d.ts +0 -2
- package/esm/icons/loan_in.js +0 -23
- package/esm/icons/loan_in_medium.d.ts +0 -2
- package/esm/icons/loan_in_medium.js +0 -20
- package/esm/icons/loan_medium.d.ts +0 -2
- package/esm/icons/loan_medium.js +0 -23
- package/esm/icons/loan_out.d.ts +0 -2
- package/esm/icons/loan_out.js +0 -23
- package/esm/icons/loan_out_medium.d.ts +0 -2
- package/esm/icons/loan_out_medium.js +0 -20
- package/esm/icons/location.d.ts +0 -2
- package/esm/icons/location.js +0 -20
- package/esm/icons/location_medium.d.ts +0 -2
- package/esm/icons/location_medium.js +0 -20
- package/esm/icons/log_in.d.ts +0 -2
- package/esm/icons/log_in.js +0 -23
- package/esm/icons/log_in_medium.d.ts +0 -2
- package/esm/icons/log_in_medium.js +0 -23
- package/esm/icons/log_out.d.ts +0 -2
- package/esm/icons/log_out.js +0 -23
- package/esm/icons/log_out_medium.d.ts +0 -2
- package/esm/icons/log_out_medium.js +0 -23
- package/esm/icons/loupe.d.ts +0 -2
- package/esm/icons/loupe.js +0 -20
- package/esm/icons/loupe_medium.d.ts +0 -2
- package/esm/icons/loupe_medium.js +0 -20
- package/esm/icons/mastercard.d.ts +0 -2
- package/esm/icons/mastercard.js +0 -22
- package/esm/icons/mastercard_card.d.ts +0 -2
- package/esm/icons/mastercard_card.js +0 -20
- package/esm/icons/mastercard_card_medium.d.ts +0 -2
- package/esm/icons/mastercard_card_medium.js +0 -20
- package/esm/icons/mastercard_medium.d.ts +0 -2
- package/esm/icons/mastercard_medium.js +0 -22
- package/esm/icons/megaphone.d.ts +0 -2
- package/esm/icons/megaphone.js +0 -23
- package/esm/icons/megaphone_medium.d.ts +0 -2
- package/esm/icons/megaphone_medium.js +0 -23
- package/esm/icons/microphone.d.ts +0 -2
- package/esm/icons/microphone.js +0 -23
- package/esm/icons/microphone_medium.d.ts +0 -2
- package/esm/icons/microphone_medium.js +0 -23
- package/esm/icons/minimize.d.ts +0 -2
- package/esm/icons/minimize.js +0 -23
- package/esm/icons/minimize_medium.d.ts +0 -2
- package/esm/icons/minimize_medium.js +0 -23
- package/esm/icons/mobilephone.d.ts +0 -2
- package/esm/icons/mobilephone.js +0 -22
- package/esm/icons/mobilephone_medium.d.ts +0 -2
- package/esm/icons/mobilephone_medium.js +0 -20
- package/esm/icons/more.d.ts +0 -2
- package/esm/icons/more.js +0 -20
- package/esm/icons/more_medium.d.ts +0 -2
- package/esm/icons/more_medium.js +0 -20
- package/esm/icons/more_vertical.d.ts +0 -2
- package/esm/icons/more_vertical.js +0 -20
- package/esm/icons/more_vertical_medium.d.ts +0 -2
- package/esm/icons/more_vertical_medium.js +0 -20
- package/esm/icons/motorcycle.d.ts +0 -2
- package/esm/icons/motorcycle.js +0 -23
- package/esm/icons/motorcycle_medium.d.ts +0 -2
- package/esm/icons/motorcycle_medium.js +0 -30
- package/esm/icons/move.d.ts +0 -2
- package/esm/icons/move.js +0 -23
- package/esm/icons/move_medium.d.ts +0 -2
- package/esm/icons/move_medium.js +0 -23
- package/esm/icons/office_buildings.d.ts +0 -2
- package/esm/icons/office_buildings.js +0 -23
- package/esm/icons/office_buildings_medium.d.ts +0 -2
- package/esm/icons/office_buildings_medium.js +0 -23
- package/esm/icons/oil.d.ts +0 -2
- package/esm/icons/oil.js +0 -23
- package/esm/icons/oil_medium.d.ts +0 -2
- package/esm/icons/oil_medium.js +0 -23
- package/esm/icons/owl.d.ts +0 -2
- package/esm/icons/owl.js +0 -26
- package/esm/icons/owl_medium.d.ts +0 -2
- package/esm/icons/owl_medium.js +0 -26
- package/esm/icons/padlock.d.ts +0 -2
- package/esm/icons/padlock.js +0 -23
- package/esm/icons/padlock_medium.d.ts +0 -2
- package/esm/icons/padlock_medium.js +0 -23
- package/esm/icons/paperclip.d.ts +0 -2
- package/esm/icons/paperclip.js +0 -23
- package/esm/icons/paperclip_medium.d.ts +0 -2
- package/esm/icons/paperclip_medium.js +0 -23
- package/esm/icons/paragraph.d.ts +0 -2
- package/esm/icons/paragraph.js +0 -21
- package/esm/icons/paragraph_medium.d.ts +0 -2
- package/esm/icons/paragraph_medium.js +0 -21
- package/esm/icons/pause.d.ts +0 -2
- package/esm/icons/pause.js +0 -23
- package/esm/icons/pause_medium.d.ts +0 -2
- package/esm/icons/pause_medium.js +0 -23
- package/esm/icons/pay_from.d.ts +0 -2
- package/esm/icons/pay_from.js +0 -20
- package/esm/icons/pay_from_medium.d.ts +0 -2
- package/esm/icons/pay_from_medium.js +0 -20
- package/esm/icons/pension.d.ts +0 -2
- package/esm/icons/pension.js +0 -23
- package/esm/icons/pension_medium.d.ts +0 -2
- package/esm/icons/pension_medium.js +0 -23
- package/esm/icons/people_1.d.ts +0 -2
- package/esm/icons/people_1.js +0 -20
- package/esm/icons/people_1_medium.d.ts +0 -2
- package/esm/icons/people_1_medium.js +0 -20
- package/esm/icons/people_2.d.ts +0 -2
- package/esm/icons/people_2.js +0 -23
- package/esm/icons/people_2_medium.d.ts +0 -2
- package/esm/icons/people_2_medium.js +0 -23
- package/esm/icons/person.d.ts +0 -2
- package/esm/icons/person.js +0 -20
- package/esm/icons/person_medium.d.ts +0 -2
- package/esm/icons/person_medium.js +0 -20
- package/esm/icons/person_shield.d.ts +0 -2
- package/esm/icons/person_shield.js +0 -20
- package/esm/icons/person_shield_medium.d.ts +0 -2
- package/esm/icons/person_shield_medium.js +0 -20
- package/esm/icons/phone.d.ts +0 -2
- package/esm/icons/phone.js +0 -23
- package/esm/icons/phone_medium.d.ts +0 -2
- package/esm/icons/phone_medium.js +0 -23
- package/esm/icons/photo.d.ts +0 -2
- package/esm/icons/photo.js +0 -28
- package/esm/icons/photo_medium.d.ts +0 -2
- package/esm/icons/photo_medium.js +0 -23
- package/esm/icons/pin.d.ts +0 -2
- package/esm/icons/pin.js +0 -23
- package/esm/icons/pin_code.d.ts +0 -2
- package/esm/icons/pin_code.js +0 -31
- package/esm/icons/pin_code_medium.d.ts +0 -2
- package/esm/icons/pin_code_medium.js +0 -31
- package/esm/icons/pin_medium.d.ts +0 -2
- package/esm/icons/pin_medium.js +0 -23
- package/esm/icons/plant.d.ts +0 -2
- package/esm/icons/plant.js +0 -23
- package/esm/icons/plant_medium.d.ts +0 -2
- package/esm/icons/plant_medium.js +0 -23
- package/esm/icons/play.d.ts +0 -2
- package/esm/icons/play.js +0 -23
- package/esm/icons/play_medium.d.ts +0 -2
- package/esm/icons/play_medium.js +0 -23
- package/esm/icons/primary_icons.d.ts +0 -23
- package/esm/icons/primary_icons.js +0 -23
- package/esm/icons/primary_icons_medium.d.ts +0 -23
- package/esm/icons/primary_icons_medium.js +0 -23
- package/esm/icons/printer.d.ts +0 -2
- package/esm/icons/printer.js +0 -23
- package/esm/icons/printer_medium.d.ts +0 -2
- package/esm/icons/printer_medium.js +0 -23
- package/esm/icons/products_account_percent_medium.d.ts +0 -2
- package/esm/icons/products_account_percent_medium.js +0 -26
- package/esm/icons/profile.d.ts +0 -2
- package/esm/icons/profile.js +0 -23
- package/esm/icons/profile_medium.d.ts +0 -2
- package/esm/icons/profile_medium.js +0 -23
- package/esm/icons/progress.d.ts +0 -2
- package/esm/icons/progress.js +0 -25
- package/esm/icons/progress_medium.d.ts +0 -2
- package/esm/icons/progress_medium.js +0 -22
- package/esm/icons/question.d.ts +0 -2
- package/esm/icons/question.js +0 -22
- package/esm/icons/question_circled.d.ts +0 -2
- package/esm/icons/question_circled.js +0 -22
- package/esm/icons/question_circled_medium.d.ts +0 -2
- package/esm/icons/question_circled_medium.js +0 -22
- package/esm/icons/question_medium.d.ts +0 -2
- package/esm/icons/question_medium.js +0 -22
- package/esm/icons/recurring.d.ts +0 -2
- package/esm/icons/recurring.js +0 -20
- package/esm/icons/recurring_medium.d.ts +0 -2
- package/esm/icons/recurring_medium.js +0 -20
- package/esm/icons/redo.d.ts +0 -2
- package/esm/icons/redo.js +0 -20
- package/esm/icons/redo_medium.d.ts +0 -2
- package/esm/icons/redo_medium.js +0 -20
- package/esm/icons/ref_number.d.ts +0 -2
- package/esm/icons/ref_number.js +0 -22
- package/esm/icons/ref_number_medium.d.ts +0 -2
- package/esm/icons/ref_number_medium.js +0 -22
- package/esm/icons/refresh.d.ts +0 -2
- package/esm/icons/refresh.js +0 -20
- package/esm/icons/refresh_medium.d.ts +0 -2
- package/esm/icons/refresh_medium.js +0 -20
- package/esm/icons/reply.d.ts +0 -2
- package/esm/icons/reply.js +0 -23
- package/esm/icons/reply_medium.d.ts +0 -2
- package/esm/icons/reply_medium.js +0 -23
- package/esm/icons/reset.d.ts +0 -2
- package/esm/icons/reset.js +0 -20
- package/esm/icons/reset_medium.d.ts +0 -2
- package/esm/icons/reset_medium.js +0 -20
- package/esm/icons/restaurant.d.ts +0 -2
- package/esm/icons/restaurant.js +0 -20
- package/esm/icons/restaurant_medium.d.ts +0 -2
- package/esm/icons/restaurant_medium.js +0 -20
- package/esm/icons/return_1.d.ts +0 -2
- package/esm/icons/return_1.js +0 -23
- package/esm/icons/return_1_medium.d.ts +0 -2
- package/esm/icons/return_1_medium.js +0 -23
- package/esm/icons/save.d.ts +0 -2
- package/esm/icons/save.js +0 -23
- package/esm/icons/save_medium.d.ts +0 -2
- package/esm/icons/save_medium.js +0 -23
- package/esm/icons/savings_account.d.ts +0 -2
- package/esm/icons/savings_account.js +0 -20
- package/esm/icons/savings_account_in.d.ts +0 -2
- package/esm/icons/savings_account_in.js +0 -23
- package/esm/icons/savings_account_in_medium.d.ts +0 -2
- package/esm/icons/savings_account_in_medium.js +0 -20
- package/esm/icons/savings_account_medium.d.ts +0 -2
- package/esm/icons/savings_account_medium.js +0 -23
- package/esm/icons/savings_account_out.d.ts +0 -2
- package/esm/icons/savings_account_out.js +0 -23
- package/esm/icons/savings_account_out_medium.d.ts +0 -2
- package/esm/icons/savings_account_out_medium.js +0 -20
- package/esm/icons/scissors.d.ts +0 -2
- package/esm/icons/scissors.js +0 -22
- package/esm/icons/scissors_medium.d.ts +0 -2
- package/esm/icons/scissors_medium.js +0 -22
- package/esm/icons/scooter.d.ts +0 -2
- package/esm/icons/scooter.js +0 -23
- package/esm/icons/scooter_medium.d.ts +0 -2
- package/esm/icons/scooter_medium.js +0 -30
- package/esm/icons/secondary_icons.d.ts +0 -216
- package/esm/icons/secondary_icons.js +0 -216
- package/esm/icons/secondary_icons_medium.d.ts +0 -216
- package/esm/icons/secondary_icons_medium.js +0 -216
- package/esm/icons/send.d.ts +0 -2
- package/esm/icons/send.js +0 -23
- package/esm/icons/send_medium.d.ts +0 -2
- package/esm/icons/send_medium.js +0 -23
- package/esm/icons/share_android.d.ts +0 -2
- package/esm/icons/share_android.js +0 -23
- package/esm/icons/share_android_medium.d.ts +0 -2
- package/esm/icons/share_android_medium.js +0 -23
- package/esm/icons/share_ios.d.ts +0 -2
- package/esm/icons/share_ios.js +0 -23
- package/esm/icons/share_ios_medium.d.ts +0 -2
- package/esm/icons/share_ios_medium.js +0 -23
- package/esm/icons/shield.d.ts +0 -2
- package/esm/icons/shield.js +0 -23
- package/esm/icons/shield_medium.d.ts +0 -2
- package/esm/icons/shield_medium.js +0 -23
- package/esm/icons/shopping_cart.d.ts +0 -2
- package/esm/icons/shopping_cart.js +0 -26
- package/esm/icons/shopping_cart_medium.d.ts +0 -2
- package/esm/icons/shopping_cart_medium.js +0 -26
- package/esm/icons/snowmobile.d.ts +0 -2
- package/esm/icons/snowmobile.js +0 -23
- package/esm/icons/snowmobile_medium.d.ts +0 -2
- package/esm/icons/snowmobile_medium.js +0 -23
- package/esm/icons/speedometer.d.ts +0 -2
- package/esm/icons/speedometer.js +0 -23
- package/esm/icons/speedometer_medium.d.ts +0 -2
- package/esm/icons/speedometer_medium.js +0 -30
- package/esm/icons/split.d.ts +0 -2
- package/esm/icons/split.js +0 -23
- package/esm/icons/split_medium.d.ts +0 -2
- package/esm/icons/split_medium.js +0 -23
- package/esm/icons/star.d.ts +0 -2
- package/esm/icons/star.js +0 -23
- package/esm/icons/star_medium.d.ts +0 -2
- package/esm/icons/star_medium.js +0 -23
- package/esm/icons/stocks.d.ts +0 -2
- package/esm/icons/stocks.js +0 -20
- package/esm/icons/stocks_medium.d.ts +0 -2
- package/esm/icons/stocks_medium.js +0 -20
- package/esm/icons/stop.d.ts +0 -2
- package/esm/icons/stop.js +0 -21
- package/esm/icons/stop_medium.d.ts +0 -2
- package/esm/icons/stop_medium.js +0 -21
- package/esm/icons/stopwatch.d.ts +0 -2
- package/esm/icons/stopwatch.js +0 -23
- package/esm/icons/stopwatch_medium.d.ts +0 -2
- package/esm/icons/stopwatch_medium.js +0 -23
- package/esm/icons/subtract.d.ts +0 -2
- package/esm/icons/subtract.js +0 -20
- package/esm/icons/subtract_circled.d.ts +0 -2
- package/esm/icons/subtract_circled.js +0 -20
- package/esm/icons/subtract_circled_medium.d.ts +0 -2
- package/esm/icons/subtract_circled_medium.js +0 -20
- package/esm/icons/subtract_medium.d.ts +0 -2
- package/esm/icons/subtract_medium.js +0 -20
- package/esm/icons/support.d.ts +0 -2
- package/esm/icons/support.js +0 -23
- package/esm/icons/support_medium.d.ts +0 -2
- package/esm/icons/support_medium.js +0 -23
- package/esm/icons/swap.d.ts +0 -2
- package/esm/icons/swap.js +0 -23
- package/esm/icons/swap_medium.d.ts +0 -2
- package/esm/icons/swap_medium.js +0 -23
- package/esm/icons/tag.d.ts +0 -2
- package/esm/icons/tag.js +0 -29
- package/esm/icons/tag_medium.d.ts +0 -2
- package/esm/icons/tag_medium.js +0 -29
- package/esm/icons/thumbs_down.d.ts +0 -2
- package/esm/icons/thumbs_down.js +0 -20
- package/esm/icons/thumbs_down_medium.d.ts +0 -2
- package/esm/icons/thumbs_down_medium.js +0 -20
- package/esm/icons/thumbs_up.d.ts +0 -2
- package/esm/icons/thumbs_up.js +0 -20
- package/esm/icons/thumbs_up_medium.d.ts +0 -2
- package/esm/icons/thumbs_up_medium.js +0 -20
- package/esm/icons/tractor.d.ts +0 -2
- package/esm/icons/tractor.js +0 -23
- package/esm/icons/tractor_medium.d.ts +0 -2
- package/esm/icons/tractor_medium.js +0 -23
- package/esm/icons/trailer.d.ts +0 -2
- package/esm/icons/trailer.js +0 -23
- package/esm/icons/trailer_medium.d.ts +0 -2
- package/esm/icons/trailer_medium.js +0 -23
- package/esm/icons/train.d.ts +0 -2
- package/esm/icons/train.js +0 -23
- package/esm/icons/train_medium.d.ts +0 -2
- package/esm/icons/train_medium.js +0 -23
- package/esm/icons/transfer.d.ts +0 -2
- package/esm/icons/transfer.js +0 -23
- package/esm/icons/transfer_medium.d.ts +0 -2
- package/esm/icons/transfer_medium.js +0 -23
- package/esm/icons/transfer_to.d.ts +0 -2
- package/esm/icons/transfer_to.js +0 -20
- package/esm/icons/transfer_to_medium.d.ts +0 -2
- package/esm/icons/transfer_to_medium.js +0 -20
- package/esm/icons/trash.d.ts +0 -2
- package/esm/icons/trash.js +0 -23
- package/esm/icons/trash_medium.d.ts +0 -2
- package/esm/icons/trash_medium.js +0 -23
- package/esm/icons/travel.d.ts +0 -2
- package/esm/icons/travel.js +0 -23
- package/esm/icons/travel_medium.d.ts +0 -2
- package/esm/icons/travel_medium.js +0 -23
- package/esm/icons/undo.d.ts +0 -2
- package/esm/icons/undo.js +0 -20
- package/esm/icons/undo_medium.d.ts +0 -2
- package/esm/icons/undo_medium.js +0 -20
- package/esm/icons/upload.d.ts +0 -2
- package/esm/icons/upload.js +0 -20
- package/esm/icons/upload_medium.d.ts +0 -2
- package/esm/icons/upload_medium.js +0 -20
- package/esm/icons/video.d.ts +0 -2
- package/esm/icons/video.js +0 -23
- package/esm/icons/video_medium.d.ts +0 -2
- package/esm/icons/video_medium.js +0 -23
- package/esm/icons/view.d.ts +0 -2
- package/esm/icons/view.js +0 -29
- package/esm/icons/view_medium.d.ts +0 -2
- package/esm/icons/view_medium.js +0 -29
- package/esm/icons/vintage_car.d.ts +0 -2
- package/esm/icons/vintage_car.js +0 -23
- package/esm/icons/vintage_car_medium.d.ts +0 -2
- package/esm/icons/vintage_car_medium.js +0 -23
- package/esm/icons/volume_off.d.ts +0 -2
- package/esm/icons/volume_off.js +0 -23
- package/esm/icons/volume_off_medium.d.ts +0 -2
- package/esm/icons/volume_off_medium.js +0 -23
- package/esm/icons/volume_on.d.ts +0 -2
- package/esm/icons/volume_on.js +0 -23
- package/esm/icons/volume_on_medium.d.ts +0 -2
- package/esm/icons/volume_on_medium.js +0 -23
- package/esm/icons/wallet.d.ts +0 -2
- package/esm/icons/wallet.js +0 -21
- package/esm/icons/wallet_medium.d.ts +0 -2
- package/esm/icons/wallet_medium.js +0 -26
- package/esm/icons/wearables.d.ts +0 -2
- package/esm/icons/wearables.js +0 -20
- package/esm/icons/wearables_medium.d.ts +0 -2
- package/esm/icons/wearables_medium.js +0 -20
- package/esm/icons/web.d.ts +0 -2
- package/esm/icons/web.js +0 -23
- package/esm/icons/web_medium.d.ts +0 -2
- package/esm/icons/web_medium.js +0 -23
- package/esm/icons/wheelchair.d.ts +0 -2
- package/esm/icons/wheelchair.js +0 -23
- package/esm/icons/wheelchair_medium.d.ts +0 -2
- package/esm/icons/wheelchair_medium.js +0 -23
- package/esm/icons/widget_android.d.ts +0 -2
- package/esm/icons/widget_android.js +0 -21
- package/esm/icons/widget_android_medium.d.ts +0 -2
- package/esm/icons/widget_android_medium.js +0 -21
- package/esm/icons/widget_ios.d.ts +0 -2
- package/esm/icons/widget_ios.js +0 -23
- package/esm/icons/widget_ios_medium.d.ts +0 -2
- package/esm/icons/widget_ios_medium.js +0 -23
- package/esm/index.d.ts +0 -74
- package/esm/index.js +0 -73
- package/esm/lib.d.ts +0 -3
- package/esm/lib.js +0 -11
- package/esm/shared/AlignmentHelper.d.ts +0 -12
- package/esm/shared/AlignmentHelper.js +0 -24
- package/esm/shared/AnimateHeight.d.ts +0 -45
- package/esm/shared/AnimateHeight.js +0 -388
- package/esm/shared/Context.d.ts +0 -38
- package/esm/shared/Context.js +0 -111
- package/esm/shared/Eufemia.d.ts +0 -1
- package/esm/shared/Eufemia.js +0 -22
- package/esm/shared/EventEmitter.d.ts +0 -27
- package/esm/shared/EventEmitter.js +0 -104
- package/esm/shared/MediaQuery.d.ts +0 -38
- package/esm/shared/MediaQuery.js +0 -124
- package/esm/shared/MediaQueryUtils.d.ts +0 -66
- package/esm/shared/MediaQueryUtils.js +0 -298
- package/esm/shared/Provider.d.ts +0 -15
- package/esm/shared/Provider.js +0 -183
- package/esm/shared/SpacingHelper.d.ts +0 -1
- package/esm/shared/SpacingHelper.js +0 -2
- package/esm/shared/component-helper.d.ts +0 -60
- package/esm/shared/component-helper.js +0 -961
- package/esm/shared/custom-element-polyfill.d.ts +0 -25
- package/esm/shared/custom-element-polyfill.js +0 -1008
- package/esm/shared/custom-element.d.ts +0 -5
- package/esm/shared/custom-element.js +0 -393
- package/esm/shared/defaults.d.ts +0 -7
- package/esm/shared/defaults.js +0 -3
- package/esm/shared/error-helper.d.ts +0 -15
- package/esm/shared/error-helper.js +0 -24
- package/esm/shared/helpers/Suffix.d.ts +0 -14
- package/esm/shared/helpers/Suffix.js +0 -28
- package/esm/shared/helpers/withCamelCaseProps.d.ts +0 -39
- package/esm/shared/helpers/withCamelCaseProps.js +0 -111
- package/esm/shared/helpers.d.ts +0 -44
- package/esm/shared/helpers.js +0 -413
- package/esm/shared/hooks/index.d.ts +0 -1
- package/esm/shared/hooks/index.js +0 -1
- package/esm/shared/hooks/usePropsWithContext.d.ts +0 -14
- package/esm/shared/hooks/usePropsWithContext.js +0 -47
- package/esm/shared/index.d.ts +0 -6
- package/esm/shared/index.js +0 -6
- package/esm/shared/interfaces.d.ts +0 -10
- package/esm/shared/interfaces.js +0 -1
- package/esm/shared/libs/HashSum.d.ts +0 -1
- package/esm/shared/libs/HashSum.js +0 -87
- package/esm/shared/libs/MurmurHash2.d.ts +0 -1
- package/esm/shared/libs/MurmurHash2.js +0 -36
- package/esm/shared/libs/Shortcuts.d.ts +0 -6
- package/esm/shared/libs/Shortcuts.js +0 -127
- package/esm/shared/locales/en-GB.d.ts +0 -119
- package/esm/shared/locales/en-GB.js +0 -118
- package/esm/shared/locales/en-US.d.ts +0 -120
- package/esm/shared/locales/en-US.js +0 -24
- package/esm/shared/locales/index.d.ts +0 -235
- package/esm/shared/locales/index.js +0 -16
- package/esm/shared/locales/nb-NO.d.ts +0 -119
- package/esm/shared/locales/nb-NO.js +0 -118
- package/esm/shared/stories/translation/en.json +0 -4
- package/esm/shared/stories/translation/nb.json +0 -4
- package/esm/shared/useMediaQuery.d.ts +0 -1
- package/esm/shared/useMediaQuery.js +0 -46
- package/esm/shared/useTranslation.d.ts +0 -34
- package/esm/shared/useTranslation.js +0 -85
- package/esm/style/basis.d.ts +0 -1
- package/esm/style/basis.js +0 -1
- package/esm/style/body.d.ts +0 -1
- package/esm/style/body.js +0 -1
- package/esm/style/components/imports.scss +0 -8
- package/esm/style/components.d.ts +0 -1
- package/esm/style/components.js +0 -1
- package/esm/style/core/fonts.scss +0 -75
- package/esm/style/core/helper-classes/helper-classes.scss +0 -58
- package/esm/style/core/helper-classes/skip-link.scss +0 -101
- package/esm/style/core/properties.scss +0 -121
- package/esm/style/core/reset.scss +0 -534
- package/esm/style/core/scopes.scss +0 -73
- package/esm/style/core/utilities.scss +0 -380
- package/esm/style/core.d.ts +0 -1
- package/esm/style/core.js +0 -1
- package/esm/style/dnb-ui-basis.css +0 -835
- package/esm/style/dnb-ui-basis.min.css +0 -1
- package/esm/style/dnb-ui-basis.scss +0 -27
- package/esm/style/dnb-ui-body.css +0 -548
- package/esm/style/dnb-ui-body.min.css +0 -1
- package/esm/style/dnb-ui-body.scss +0 -18
- package/esm/style/dnb-ui-components.css +0 -8312
- package/esm/style/dnb-ui-components.min.css +0 -5
- package/esm/style/dnb-ui-components.scss +0 -49
- package/esm/style/dnb-ui-core.css +0 -942
- package/esm/style/dnb-ui-core.min.css +0 -1
- package/esm/style/dnb-ui-core.scss +0 -22
- package/esm/style/dnb-ui-elements.css +0 -1743
- package/esm/style/dnb-ui-elements.min.css +0 -2
- package/esm/style/dnb-ui-elements.scss +0 -10
- package/esm/style/dnb-ui-extensions.css +0 -301
- package/esm/style/dnb-ui-extensions.min.css +0 -1
- package/esm/style/dnb-ui-extensions.scss +0 -8
- package/esm/style/dnb-ui-fonts.css +0 -155
- package/esm/style/dnb-ui-fonts.min.css +0 -1
- package/esm/style/dnb-ui-fonts.scss +0 -9
- package/esm/style/dnb-ui-fragments.css +0 -527
- package/esm/style/dnb-ui-fragments.min.css +0 -1
- package/esm/style/dnb-ui-fragments.scss +0 -9
- package/esm/style/dnb-ui-properties.css +0 -92
- package/esm/style/dnb-ui-properties.min.css +0 -1
- package/esm/style/dnb-ui-properties.scss +0 -8
- package/esm/style/dnb-ui-tags.css +0 -3078
- package/esm/style/dnb-ui-tags.min.css +0 -3
- package/esm/style/dnb-ui-tags.scss +0 -14
- package/esm/style/elements/_anchor-mixins.scss +0 -190
- package/esm/style/elements/anchor.scss +0 -80
- package/esm/style/elements/blockquote.scss +0 -133
- package/esm/style/elements/code.scss +0 -88
- package/esm/style/elements/form.scss +0 -21
- package/esm/style/elements/hr.scss +0 -86
- package/esm/style/elements/image.scss +0 -69
- package/esm/style/elements/label.scss +0 -23
- package/esm/style/elements/lists.scss +0 -235
- package/esm/style/elements/table.scss +0 -392
- package/esm/style/elements/typography.scss +0 -405
- package/esm/style/elements/ui-elements.scss +0 -19
- package/esm/style/elements/ui-spacing.scss +0 -12
- package/esm/style/elements/ui-tags.scss +0 -34
- package/esm/style/elements.d.ts +0 -1
- package/esm/style/elements.js +0 -1
- package/esm/style/extensions.d.ts +0 -1
- package/esm/style/extensions.js +0 -1
- package/esm/style/index.d.ts +0 -1
- package/esm/style/index.js +0 -3
- package/esm/style/index.scss +0 -9
- package/esm/style/properties.d.ts +0 -81
- package/esm/style/properties.js +0 -80
- package/esm/style/stylis.d.ts +0 -38
- package/esm/style/stylis.js +0 -51
- package/esm/style/tags.d.ts +0 -1
- package/esm/style/tags.js +0 -1
- package/esm/style/theme.d.ts +0 -1
- package/esm/style/theme.js +0 -1
- package/esm/style/themes/imports.scss +0 -8
- package/esm/style/themes/index.d.ts +0 -1
- package/esm/style/themes/index.js +0 -1
- package/esm/style/themes/open-banking.d.ts +0 -1
- package/esm/style/themes/open-banking.js +0 -1
- package/esm/style/themes/theme-open-banking/dnb-theme-open-banking.css +0 -6562
- package/esm/style/themes/theme-open-banking/dnb-theme-open-banking.min.css +0 -33
- package/esm/style/themes/theme-open-banking/dnb-theme-open-banking.scss +0 -32
- package/esm/style/themes/theme-ui/dnb-theme-ui.css +0 -5803
- package/esm/style/themes/theme-ui/dnb-theme-ui.min.css +0 -33
- package/esm/style/themes/theme-ui/dnb-theme-ui.scss +0 -64
- package/esm/style/themes/theme-ui/prism/dnb-prism-styles.d.ts +0 -6
- package/esm/style/themes/theme-ui/prism/dnb-prism-styles.js +0 -2
- package/esm/style/themes/theme-ui/prism/dnb-prism-theme.d.ts +0 -29
- package/esm/style/themes/theme-ui/prism/dnb-prism-theme.js +0 -99
- package/esm/style/themes/ui.d.ts +0 -1
- package/esm/style/themes/ui.js +0 -1
- package/esm/umd/dnb-ui-basis.d.ts +0 -1
- package/esm/umd/dnb-ui-components.d.ts +0 -1
- package/esm/umd/dnb-ui-elements.d.ts +0 -1
- package/esm/umd/dnb-ui-extensions.d.ts +0 -1
- package/esm/umd/dnb-ui-icons-archive.d.ts +0 -1
- package/esm/umd/dnb-ui-icons.d.ts +0 -2
- package/esm/umd/dnb-ui-lib.d.ts +0 -2
- package/esm/umd/dnb-ui-web-components.d.ts +0 -1
- package/esm/vue.d.ts +0 -6
- package/esm/vue.js +0 -56
- package/esm/web-components.d.ts +0 -1
- package/esm/web-components.js +0 -3
|
@@ -1,1759 +0,0 @@
|
|
|
1
|
-
import "core-js/modules/es.reflect.construct.js";
|
|
2
|
-
import "core-js/modules/es.object.keys.js";
|
|
3
|
-
import "core-js/modules/es.symbol.js";
|
|
4
|
-
import "core-js/modules/es.object.get-own-property-descriptor.js";
|
|
5
|
-
import "core-js/modules/es.object.get-own-property-descriptors.js";
|
|
6
|
-
import "core-js/modules/es.function.name.js";
|
|
7
|
-
import "core-js/modules/es.array.from.js";
|
|
8
|
-
import "core-js/modules/es.string.iterator.js";
|
|
9
|
-
import "core-js/modules/es.symbol.description.js";
|
|
10
|
-
import "core-js/modules/es.symbol.iterator.js";
|
|
11
|
-
import "core-js/modules/es.array.iterator.js";
|
|
12
|
-
import "core-js/modules/web.dom-collections.iterator.js";
|
|
13
|
-
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
14
|
-
import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized";
|
|
15
|
-
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
16
|
-
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
17
|
-
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
18
|
-
import _inherits from "@babel/runtime/helpers/esm/inherits";
|
|
19
|
-
import _possibleConstructorReturn from "@babel/runtime/helpers/esm/possibleConstructorReturn";
|
|
20
|
-
import _getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf";
|
|
21
|
-
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
22
|
-
|
|
23
|
-
var _IconPrimary, _AlignmentHelper;
|
|
24
|
-
|
|
25
|
-
var _excluded = ["fillDataIfEmpty"],
|
|
26
|
-
_excluded2 = ["title", "placeholder", "label", "label_direction", "label_sr_only", "icon", "icon_size", "input_icon", "size", "align_autocomplete", "fixed_position", "status", "status_state", "status_props", "status_no_animation", "global_status_id", "suffix", "scrollable", "focusable", "keep_open", "keep_value", "keep_value_and_selection", "show_clear_button", "prevent_close", "no_animation", "no_scroll_animation", "show_submit_button", "submit_element", "input_element", "options_render", "prevent_selection", "max_height", "default_value", "search_numbers", "search_in_word_index", "show_options_sr", "submit_button_title", "submit_button_icon", "portal_class", "drawer_class", "input_ref", "className", "class", "disabled", "stretch", "skeleton", "triangle_position", "icon_position", "skip_portal", "mode", "data", "children", "direction", "id", "opened", "value", "input_value", "indicator_label", "no_options", "show_all", "aria_live_options", "disable_highlighting"];
|
|
27
|
-
|
|
28
|
-
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
29
|
-
|
|
30
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
31
|
-
|
|
32
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
33
|
-
|
|
34
|
-
import "core-js/modules/es.string.trim.js";
|
|
35
|
-
import "core-js/modules/es.array.slice.js";
|
|
36
|
-
import "core-js/modules/es.parse-float.js";
|
|
37
|
-
import "core-js/modules/es.array.includes.js";
|
|
38
|
-
import "core-js/modules/es.array.filter.js";
|
|
39
|
-
import "core-js/modules/es.object.to-string.js";
|
|
40
|
-
import "core-js/modules/es.regexp.exec.js";
|
|
41
|
-
import "core-js/modules/es.string.split.js";
|
|
42
|
-
import "core-js/modules/es.array.map.js";
|
|
43
|
-
import "core-js/modules/es.string.replace.js";
|
|
44
|
-
import "core-js/modules/es.regexp.constructor.js";
|
|
45
|
-
import "core-js/modules/es.regexp.to-string.js";
|
|
46
|
-
import "core-js/modules/es.string.match.js";
|
|
47
|
-
import "core-js/modules/web.dom-collections.for-each.js";
|
|
48
|
-
import "core-js/modules/es.string.includes.js";
|
|
49
|
-
import "core-js/modules/es.array.sort.js";
|
|
50
|
-
import "core-js/modules/es.array.concat.js";
|
|
51
|
-
|
|
52
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
53
|
-
|
|
54
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
55
|
-
|
|
56
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
57
|
-
|
|
58
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
59
|
-
|
|
60
|
-
import React from 'react';
|
|
61
|
-
import PropTypes from 'prop-types';
|
|
62
|
-
import classnames from 'classnames';
|
|
63
|
-
import keycode from 'keycode';
|
|
64
|
-
import { warn, isTrue, isTouchDevice, makeUniqueId, extendPropsWithContext, registerElement, validateDOMAttributes, dispatchCustomElementEvent, getStatusState, combineDescribedBy, convertJsxToString, escapeRegexChars, getPreviousSibling } from '../../shared/component-helper';
|
|
65
|
-
import { IS_MAC, IS_WIN, IS_IE11, IS_EDGE, debounce as _debounce } from '../../shared/helpers';
|
|
66
|
-
import AlignmentHelper from '../../shared/AlignmentHelper';
|
|
67
|
-
import { spacingPropTypes, createSpacingClasses } from '../space/SpacingHelper';
|
|
68
|
-
import Suffix from '../../shared/helpers/Suffix';
|
|
69
|
-
import FormLabel from '../form-label/FormLabel';
|
|
70
|
-
import FormStatus from '../form-status/FormStatus';
|
|
71
|
-
import IconPrimary from '../icon-primary/IconPrimary';
|
|
72
|
-
import Input, { SubmitButton } from '../input/Input';
|
|
73
|
-
import ProgressIndicator from '../progress-indicator/ProgressIndicator';
|
|
74
|
-
import DrawerList from '../../fragments/drawer-list/DrawerList';
|
|
75
|
-
import DrawerListContext from '../../fragments/drawer-list/DrawerListContext';
|
|
76
|
-
import DrawerListProvider from '../../fragments/drawer-list/DrawerListProvider';
|
|
77
|
-
import { drawerListPropTypes, parseContentTitle, getCurrentData } from '../../fragments/drawer-list/DrawerListHelpers';
|
|
78
|
-
|
|
79
|
-
var Autocomplete = function (_React$PureComponent) {
|
|
80
|
-
_inherits(Autocomplete, _React$PureComponent);
|
|
81
|
-
|
|
82
|
-
var _super = _createSuper(Autocomplete);
|
|
83
|
-
|
|
84
|
-
function Autocomplete(props) {
|
|
85
|
-
var _this;
|
|
86
|
-
|
|
87
|
-
_classCallCheck(this, Autocomplete);
|
|
88
|
-
|
|
89
|
-
_this = _super.call(this, props);
|
|
90
|
-
_this._id = props.id || makeUniqueId();
|
|
91
|
-
return _this;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
_createClass(Autocomplete, [{
|
|
95
|
-
key: "render",
|
|
96
|
-
value: function render() {
|
|
97
|
-
return React.createElement(DrawerListProvider, _extends({}, this.props, {
|
|
98
|
-
id: this._id,
|
|
99
|
-
data: this.props.data || this.props.children,
|
|
100
|
-
opened: null,
|
|
101
|
-
tagName: "dnb-autocomplete",
|
|
102
|
-
ignore_events: false,
|
|
103
|
-
prevent_focus: true,
|
|
104
|
-
skip_keysearch: true
|
|
105
|
-
}), React.createElement(AutocompleteInstance, _extends({
|
|
106
|
-
id: this._id
|
|
107
|
-
}, this.props)));
|
|
108
|
-
}
|
|
109
|
-
}], [{
|
|
110
|
-
key: "enableWebComponent",
|
|
111
|
-
value: function enableWebComponent() {
|
|
112
|
-
registerElement(Autocomplete === null || Autocomplete === void 0 ? void 0 : Autocomplete.tagName, Autocomplete, Autocomplete.defaultProps);
|
|
113
|
-
}
|
|
114
|
-
}]);
|
|
115
|
-
|
|
116
|
-
return Autocomplete;
|
|
117
|
-
}(React.PureComponent);
|
|
118
|
-
|
|
119
|
-
_defineProperty(Autocomplete, "tagName", 'dnb-autocomplete');
|
|
120
|
-
|
|
121
|
-
_defineProperty(Autocomplete, "defaultProps", {
|
|
122
|
-
id: null,
|
|
123
|
-
mode: 'sync',
|
|
124
|
-
title: 'Option Menu',
|
|
125
|
-
placeholder: null,
|
|
126
|
-
no_options: null,
|
|
127
|
-
show_all: null,
|
|
128
|
-
aria_live_options: null,
|
|
129
|
-
indicator_label: null,
|
|
130
|
-
show_options_sr: null,
|
|
131
|
-
submit_button_title: null,
|
|
132
|
-
submit_button_icon: 'chevron_down',
|
|
133
|
-
input_ref: null,
|
|
134
|
-
icon: null,
|
|
135
|
-
icon_size: null,
|
|
136
|
-
icon_position: 'left',
|
|
137
|
-
triangle_position: null,
|
|
138
|
-
input_icon: 'loupe',
|
|
139
|
-
label: null,
|
|
140
|
-
label_direction: null,
|
|
141
|
-
label_sr_only: null,
|
|
142
|
-
keep_value: null,
|
|
143
|
-
keep_value_and_selection: null,
|
|
144
|
-
show_clear_button: null,
|
|
145
|
-
status: null,
|
|
146
|
-
status_state: 'error',
|
|
147
|
-
status_props: null,
|
|
148
|
-
status_no_animation: null,
|
|
149
|
-
global_status_id: null,
|
|
150
|
-
suffix: null,
|
|
151
|
-
disable_filter: false,
|
|
152
|
-
disable_reorder: false,
|
|
153
|
-
scrollable: true,
|
|
154
|
-
focusable: false,
|
|
155
|
-
disable_highlighting: false,
|
|
156
|
-
max_height: null,
|
|
157
|
-
direction: 'auto',
|
|
158
|
-
skip_portal: null,
|
|
159
|
-
no_animation: false,
|
|
160
|
-
no_scroll_animation: false,
|
|
161
|
-
show_submit_button: false,
|
|
162
|
-
submit_element: null,
|
|
163
|
-
prevent_selection: false,
|
|
164
|
-
size: 'default',
|
|
165
|
-
align_autocomplete: null,
|
|
166
|
-
options_render: null,
|
|
167
|
-
data: null,
|
|
168
|
-
search_in_word_index: 3,
|
|
169
|
-
search_numbers: null,
|
|
170
|
-
default_value: null,
|
|
171
|
-
value: 'initval',
|
|
172
|
-
input_value: 'initval',
|
|
173
|
-
open_on_focus: false,
|
|
174
|
-
prevent_close: false,
|
|
175
|
-
keep_open: false,
|
|
176
|
-
opened: null,
|
|
177
|
-
disabled: null,
|
|
178
|
-
stretch: null,
|
|
179
|
-
skeleton: null,
|
|
180
|
-
portal_class: null,
|
|
181
|
-
drawer_class: null,
|
|
182
|
-
class: null,
|
|
183
|
-
className: null,
|
|
184
|
-
children: null,
|
|
185
|
-
custom_element: null,
|
|
186
|
-
custom_method: null,
|
|
187
|
-
on_show: null,
|
|
188
|
-
on_hide: null,
|
|
189
|
-
on_type: null,
|
|
190
|
-
on_focus: null,
|
|
191
|
-
on_blur: null,
|
|
192
|
-
on_change: null,
|
|
193
|
-
on_select: null,
|
|
194
|
-
on_state_update: null,
|
|
195
|
-
input_element: null
|
|
196
|
-
});
|
|
197
|
-
|
|
198
|
-
export { Autocomplete as default };
|
|
199
|
-
process.env.NODE_ENV !== "production" ? Autocomplete.propTypes = _objectSpread(_objectSpread(_objectSpread({}, spacingPropTypes), drawerListPropTypes), {}, {
|
|
200
|
-
id: PropTypes.string,
|
|
201
|
-
mode: PropTypes.oneOf(['sync', 'async']),
|
|
202
|
-
title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
203
|
-
placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
204
|
-
no_options: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
205
|
-
show_all: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
206
|
-
aria_live_options: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
207
|
-
indicator_label: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
208
|
-
show_options_sr: PropTypes.string,
|
|
209
|
-
submit_button_title: PropTypes.string,
|
|
210
|
-
submit_button_icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.func]),
|
|
211
|
-
input_ref: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
212
|
-
icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
213
|
-
icon_size: PropTypes.string,
|
|
214
|
-
icon_position: PropTypes.oneOf(['left', 'right']),
|
|
215
|
-
triangle_position: PropTypes.oneOf(['left', 'right']),
|
|
216
|
-
input_icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.func]),
|
|
217
|
-
label: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.node]),
|
|
218
|
-
label_direction: PropTypes.oneOf(['horizontal', 'vertical']),
|
|
219
|
-
label_sr_only: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
220
|
-
keep_value: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
221
|
-
keep_value_and_selection: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
222
|
-
show_clear_button: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
223
|
-
status: PropTypes.oneOfType([PropTypes.string, PropTypes.bool, PropTypes.func, PropTypes.node]),
|
|
224
|
-
status_state: PropTypes.string,
|
|
225
|
-
status_props: PropTypes.object,
|
|
226
|
-
status_no_animation: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
227
|
-
global_status_id: PropTypes.string,
|
|
228
|
-
suffix: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.node]),
|
|
229
|
-
disable_filter: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
230
|
-
disable_reorder: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
231
|
-
scrollable: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
232
|
-
focusable: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
233
|
-
disable_highlighting: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
234
|
-
direction: PropTypes.oneOf(['auto', 'top', 'bottom']),
|
|
235
|
-
max_height: PropTypes.number,
|
|
236
|
-
skip_portal: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
237
|
-
no_animation: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
238
|
-
no_scroll_animation: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
239
|
-
show_submit_button: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
240
|
-
submit_element: PropTypes.node,
|
|
241
|
-
prevent_selection: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
242
|
-
size: PropTypes.oneOf(['default', 'small', 'medium', 'large']),
|
|
243
|
-
align_autocomplete: PropTypes.oneOf(['left', 'right']),
|
|
244
|
-
options_render: PropTypes.oneOfType([PropTypes.object, PropTypes.func, PropTypes.node]),
|
|
245
|
-
input_element: PropTypes.oneOfType([PropTypes.func, PropTypes.node]),
|
|
246
|
-
data: PropTypes.oneOfType([PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.node, PropTypes.object]), PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOfType([PropTypes.string, PropTypes.node]), PropTypes.shape({
|
|
247
|
-
selected_value: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
248
|
-
content: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.arrayOf(PropTypes.string)])
|
|
249
|
-
})]))]),
|
|
250
|
-
search_in_word_index: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
251
|
-
search_numbers: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
252
|
-
default_value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
253
|
-
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
254
|
-
input_value: PropTypes.string,
|
|
255
|
-
open_on_focus: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
256
|
-
prevent_close: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
257
|
-
keep_open: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
258
|
-
opened: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
259
|
-
disabled: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
260
|
-
stretch: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
261
|
-
skeleton: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
|
262
|
-
portal_class: PropTypes.string,
|
|
263
|
-
drawer_class: PropTypes.string,
|
|
264
|
-
class: PropTypes.string,
|
|
265
|
-
className: PropTypes.string,
|
|
266
|
-
children: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.node, PropTypes.object, PropTypes.array]),
|
|
267
|
-
custom_element: PropTypes.object,
|
|
268
|
-
custom_method: PropTypes.func,
|
|
269
|
-
on_show: PropTypes.func,
|
|
270
|
-
on_type: PropTypes.func,
|
|
271
|
-
on_focus: PropTypes.func,
|
|
272
|
-
on_blur: PropTypes.func,
|
|
273
|
-
on_hide: PropTypes.func,
|
|
274
|
-
on_change: PropTypes.func,
|
|
275
|
-
on_select: PropTypes.func,
|
|
276
|
-
on_state_update: PropTypes.func
|
|
277
|
-
}) : void 0;
|
|
278
|
-
|
|
279
|
-
var AutocompleteInstance = function (_React$PureComponent2) {
|
|
280
|
-
_inherits(AutocompleteInstance, _React$PureComponent2);
|
|
281
|
-
|
|
282
|
-
var _super2 = _createSuper(AutocompleteInstance);
|
|
283
|
-
|
|
284
|
-
function AutocompleteInstance(_props, context) {
|
|
285
|
-
var _this2;
|
|
286
|
-
|
|
287
|
-
_classCallCheck(this, AutocompleteInstance);
|
|
288
|
-
|
|
289
|
-
_this2 = _super2.call(this, _props);
|
|
290
|
-
|
|
291
|
-
_defineProperty(_assertThisInitialized(_this2), "setVisible", function () {
|
|
292
|
-
var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
293
|
-
var onStateComplete = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
294
|
-
|
|
295
|
-
_this2.context.drawerList.setWrapperElement(_this2._refShell.current).setVisible(args, onStateComplete);
|
|
296
|
-
});
|
|
297
|
-
|
|
298
|
-
_defineProperty(_assertThisInitialized(_this2), "setHidden", function () {
|
|
299
|
-
var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
300
|
-
var onStateComplete = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
301
|
-
|
|
302
|
-
_this2.context.drawerList.setHidden(args, onStateComplete);
|
|
303
|
-
});
|
|
304
|
-
|
|
305
|
-
_defineProperty(_assertThisInitialized(_this2), "toggleVisible", function () {
|
|
306
|
-
var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
307
|
-
var onStateComplete = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
308
|
-
args = args || {};
|
|
309
|
-
|
|
310
|
-
if (typeof args.hasFilter === 'undefined') {
|
|
311
|
-
args.hasFilter = false;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
if (isTrue(_this2.props.disabled)) {
|
|
315
|
-
return;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
if (!args.hasFilter && !isTrue(_this2.props.prevent_close) && !_this2.context.drawerList.hidden && _this2.context.drawerList.isOpen) {
|
|
319
|
-
_this2.setHidden(null, onStateComplete);
|
|
320
|
-
} else {
|
|
321
|
-
_this2.setVisibleByContext(null, onStateComplete);
|
|
322
|
-
}
|
|
323
|
-
});
|
|
324
|
-
|
|
325
|
-
_defineProperty(_assertThisInitialized(_this2), "toggleVisibleAndFocusOptions", function () {
|
|
326
|
-
_this2.context.drawerList.toggleVisible(null, function (isVisible) {
|
|
327
|
-
if (isVisible) {
|
|
328
|
-
try {
|
|
329
|
-
_this2.context.drawerList._refUl.current.focus({
|
|
330
|
-
preventScroll: true
|
|
331
|
-
});
|
|
332
|
-
} catch (e) {}
|
|
333
|
-
}
|
|
334
|
-
});
|
|
335
|
-
});
|
|
336
|
-
|
|
337
|
-
_defineProperty(_assertThisInitialized(_this2), "setVisibleByContext", function () {
|
|
338
|
-
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
339
|
-
var onStateComplete = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
340
|
-
var skipFilter = _this2.state.showAllNextTime;
|
|
341
|
-
|
|
342
|
-
if (skipFilter) {
|
|
343
|
-
_this2.setState({
|
|
344
|
-
showAllNextTime: false,
|
|
345
|
-
_listenForPropChanges: false
|
|
346
|
-
});
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
_this2.runFilterToHighlight(_objectSpread({
|
|
350
|
-
fillDataIfEmpty: true,
|
|
351
|
-
skipFilter: skipFilter
|
|
352
|
-
}, options));
|
|
353
|
-
|
|
354
|
-
_this2.setVisible(null, onStateComplete);
|
|
355
|
-
});
|
|
356
|
-
|
|
357
|
-
_defineProperty(_assertThisInitialized(_this2), "onInputChangeHandler", function (_ref) {
|
|
358
|
-
var value = _ref.value,
|
|
359
|
-
event = _ref.event;
|
|
360
|
-
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
361
|
-
|
|
362
|
-
_this2.setState({
|
|
363
|
-
typedInputValue: value,
|
|
364
|
-
inputValue: value,
|
|
365
|
-
_listenForPropChanges: false
|
|
366
|
-
});
|
|
367
|
-
|
|
368
|
-
dispatchCustomElementEvent(_assertThisInitialized(_this2), 'on_type', _objectSpread({
|
|
369
|
-
value: value,
|
|
370
|
-
event: event
|
|
371
|
-
}, _this2.getEventObjects('on_type')));
|
|
372
|
-
value = String(value).trim();
|
|
373
|
-
|
|
374
|
-
if (value !== _this2.state.inputValue) {
|
|
375
|
-
_this2.runFilterWithSideEffects(value, options);
|
|
376
|
-
}
|
|
377
|
-
});
|
|
378
|
-
|
|
379
|
-
_defineProperty(_assertThisInitialized(_this2), "runFilterWithSideEffects", function (value) {
|
|
380
|
-
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
381
|
-
|
|
382
|
-
var data = _this2.runFilter(value, options);
|
|
383
|
-
|
|
384
|
-
var count = _this2.countData(data);
|
|
385
|
-
|
|
386
|
-
if (value && value.length > 0) {
|
|
387
|
-
if (count === 0) {
|
|
388
|
-
if (_this2.state.mode !== 'async') {
|
|
389
|
-
_this2.showNoOptionsItem();
|
|
390
|
-
}
|
|
391
|
-
} else if (count > 0) {
|
|
392
|
-
_this2.context.drawerList.setData(_this2.wrapWithShowAll(data));
|
|
393
|
-
|
|
394
|
-
_this2.context.drawerList.setState({
|
|
395
|
-
cache_hash: value + count
|
|
396
|
-
});
|
|
397
|
-
|
|
398
|
-
if (count === 1) {
|
|
399
|
-
_this2.context.drawerList.setState({
|
|
400
|
-
active_item: data[0].__id
|
|
401
|
-
});
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
} else {
|
|
405
|
-
_this2.totalReset();
|
|
406
|
-
|
|
407
|
-
_this2.showAllItems();
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
_this2.setVisible();
|
|
411
|
-
|
|
412
|
-
_this2.setAriaLiveUpdate();
|
|
413
|
-
|
|
414
|
-
return data;
|
|
415
|
-
});
|
|
416
|
-
|
|
417
|
-
_defineProperty(_assertThisInitialized(_this2), "runFilterToHighlight", function () {
|
|
418
|
-
var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
419
|
-
|
|
420
|
-
var value = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _this2.state.inputValue;
|
|
421
|
-
|
|
422
|
-
var _ref2$fillDataIfEmpty = _ref2.fillDataIfEmpty,
|
|
423
|
-
fillDataIfEmpty = _ref2$fillDataIfEmpty === void 0 ? false : _ref2$fillDataIfEmpty,
|
|
424
|
-
options = _objectWithoutProperties(_ref2, _excluded);
|
|
425
|
-
|
|
426
|
-
var possibleTitle = AutocompleteInstance.getCurrentDataTitle(_this2.context.drawerList.selected_item, _this2.context.drawerList.original_data);
|
|
427
|
-
|
|
428
|
-
if (value === possibleTitle) {
|
|
429
|
-
return;
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
value = String(value || '').trim();
|
|
433
|
-
|
|
434
|
-
_this2.setState({
|
|
435
|
-
disableHighlighting: false,
|
|
436
|
-
_listenForPropChanges: false
|
|
437
|
-
});
|
|
438
|
-
|
|
439
|
-
var data = _this2.runFilter(value, options);
|
|
440
|
-
|
|
441
|
-
if (fillDataIfEmpty && data.length === 0 && value === '') {
|
|
442
|
-
data = _this2.context.drawerList.original_data;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
_this2.context.drawerList.setData(_this2.wrapWithShowAll(data));
|
|
446
|
-
|
|
447
|
-
_this2.context.drawerList.setState({
|
|
448
|
-
cache_hash: value + _this2.countData(data)
|
|
449
|
-
});
|
|
450
|
-
|
|
451
|
-
_this2.setAriaLiveUpdate();
|
|
452
|
-
|
|
453
|
-
return data;
|
|
454
|
-
});
|
|
455
|
-
|
|
456
|
-
_defineProperty(_assertThisInitialized(_this2), "wrapWithShowAll", function (data) {
|
|
457
|
-
if (!data || !_this2.hasFilterActive(data)) {
|
|
458
|
-
return data;
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
var lastItem = _this2.context.drawerList.original_data.slice(-1)[0];
|
|
462
|
-
|
|
463
|
-
if (lastItem && !lastItem.show_all) {
|
|
464
|
-
var lastActiveItem = data.slice(-1)[0];
|
|
465
|
-
|
|
466
|
-
if (lastActiveItem) {
|
|
467
|
-
data.push({
|
|
468
|
-
__id: lastItem.__id + 1,
|
|
469
|
-
lastActiveItem: lastActiveItem.__id,
|
|
470
|
-
class_name: 'dnb-autocomplete__show-all',
|
|
471
|
-
show_all: true,
|
|
472
|
-
active_item: false,
|
|
473
|
-
selected_item: false,
|
|
474
|
-
content: React.createElement(React.Fragment, null, _IconPrimary || (_IconPrimary = React.createElement(IconPrimary, {
|
|
475
|
-
icon: "arrow_down"
|
|
476
|
-
})), _this2._props.show_all)
|
|
477
|
-
});
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
return data;
|
|
482
|
-
});
|
|
483
|
-
|
|
484
|
-
_defineProperty(_assertThisInitialized(_this2), "setInputValue", function (inputValue) {
|
|
485
|
-
_this2.setState({
|
|
486
|
-
inputValue: inputValue,
|
|
487
|
-
_listenForPropChanges: false
|
|
488
|
-
});
|
|
489
|
-
});
|
|
490
|
-
|
|
491
|
-
_defineProperty(_assertThisInitialized(_this2), "emptyData", function () {
|
|
492
|
-
_this2._cacheMemory = {};
|
|
493
|
-
|
|
494
|
-
_this2.setState({
|
|
495
|
-
inputValue: '',
|
|
496
|
-
typedInputValue: null,
|
|
497
|
-
_listenForPropChanges: false
|
|
498
|
-
});
|
|
499
|
-
|
|
500
|
-
_this2.context.drawerList.setData(function () {
|
|
501
|
-
return [];
|
|
502
|
-
}, function () {
|
|
503
|
-
_this2.setSearchIndex({
|
|
504
|
-
overwriteSearchIndex: true
|
|
505
|
-
});
|
|
506
|
-
|
|
507
|
-
_this2.resetActiveItem();
|
|
508
|
-
|
|
509
|
-
_this2.totalReset();
|
|
510
|
-
}, {
|
|
511
|
-
overwriteOriginalData: true
|
|
512
|
-
});
|
|
513
|
-
});
|
|
514
|
-
|
|
515
|
-
_defineProperty(_assertThisInitialized(_this2), "showNoOptionsItem", function () {
|
|
516
|
-
_this2.resetActiveItem();
|
|
517
|
-
|
|
518
|
-
_this2.ignoreEvents();
|
|
519
|
-
|
|
520
|
-
_this2.context.drawerList.setData([{
|
|
521
|
-
class_name: 'dnb-autocomplete__no-options',
|
|
522
|
-
content: _this2._props.no_options,
|
|
523
|
-
ignore_events: true,
|
|
524
|
-
__id: 'no_options'
|
|
525
|
-
}]);
|
|
526
|
-
|
|
527
|
-
_this2.context.drawerList.setState({
|
|
528
|
-
cache_hash: 'no_options'
|
|
529
|
-
});
|
|
530
|
-
|
|
531
|
-
_this2.setVisible();
|
|
532
|
-
});
|
|
533
|
-
|
|
534
|
-
_defineProperty(_assertThisInitialized(_this2), "showIndicatorItem", function () {
|
|
535
|
-
_this2.resetActiveItem();
|
|
536
|
-
|
|
537
|
-
_this2.ignoreEvents();
|
|
538
|
-
|
|
539
|
-
_this2.context.drawerList.setData([{
|
|
540
|
-
class_name: 'dnb-autocomplete__indicator',
|
|
541
|
-
content: React.createElement(ProgressIndicator, {
|
|
542
|
-
label: _this2._props.indicator_label
|
|
543
|
-
}),
|
|
544
|
-
ignore_events: true,
|
|
545
|
-
__id: 'indicator'
|
|
546
|
-
}]);
|
|
547
|
-
|
|
548
|
-
_this2.context.drawerList.setState({
|
|
549
|
-
cache_hash: 'indicator'
|
|
550
|
-
});
|
|
551
|
-
|
|
552
|
-
_this2.setVisible();
|
|
553
|
-
});
|
|
554
|
-
|
|
555
|
-
_defineProperty(_assertThisInitialized(_this2), "showIndicator", function () {
|
|
556
|
-
if (!_this2.state.visibleIndicator) {
|
|
557
|
-
_this2.setState({
|
|
558
|
-
visibleIndicator: true,
|
|
559
|
-
_listenForPropChanges: false
|
|
560
|
-
});
|
|
561
|
-
}
|
|
562
|
-
});
|
|
563
|
-
|
|
564
|
-
_defineProperty(_assertThisInitialized(_this2), "hideIndicator", function () {
|
|
565
|
-
_this2.setState({
|
|
566
|
-
visibleIndicator: false,
|
|
567
|
-
_listenForPropChanges: false
|
|
568
|
-
});
|
|
569
|
-
});
|
|
570
|
-
|
|
571
|
-
_defineProperty(_assertThisInitialized(_this2), "setMode", function (mode) {
|
|
572
|
-
_this2.setState({
|
|
573
|
-
mode: mode,
|
|
574
|
-
_listenForPropChanges: false
|
|
575
|
-
});
|
|
576
|
-
});
|
|
577
|
-
|
|
578
|
-
_defineProperty(_assertThisInitialized(_this2), "updateData", function (rawData) {
|
|
579
|
-
_this2.context.drawerList.setState({
|
|
580
|
-
cache_hash: 'updateData'
|
|
581
|
-
}, function () {
|
|
582
|
-
var itemIndex = _this2.context.drawerList.selected_item;
|
|
583
|
-
|
|
584
|
-
if (parseFloat(itemIndex) > -1) {
|
|
585
|
-
var newItem = rawData[itemIndex];
|
|
586
|
-
var oldItem = _this2.context.drawerList.original_data[itemIndex];
|
|
587
|
-
|
|
588
|
-
if ((newItem === null || newItem === void 0 ? void 0 : newItem.selected_key) !== (oldItem === null || oldItem === void 0 ? void 0 : oldItem.selected_key)) {
|
|
589
|
-
_this2.resetSelectionItem();
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
});
|
|
593
|
-
|
|
594
|
-
_this2.context.drawerList.setData(function () {
|
|
595
|
-
return rawData;
|
|
596
|
-
}, function (newData) {
|
|
597
|
-
_this2.setSearchIndex({
|
|
598
|
-
overwriteSearchIndex: true,
|
|
599
|
-
data: newData
|
|
600
|
-
}, function () {
|
|
601
|
-
var typedInputValue = _this2.state.typedInputValue;
|
|
602
|
-
|
|
603
|
-
if (typedInputValue && typedInputValue.length > 0) {
|
|
604
|
-
var filteredData = _this2.runFilterWithSideEffects(typedInputValue);
|
|
605
|
-
|
|
606
|
-
if (_this2.countData(filteredData) === 0) {
|
|
607
|
-
_this2.showNoOptionsItem();
|
|
608
|
-
}
|
|
609
|
-
} else {
|
|
610
|
-
_this2.resetActiveItem();
|
|
611
|
-
|
|
612
|
-
if (_this2.context.drawerList.opened) {
|
|
613
|
-
_this2.showAllItems();
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
});
|
|
617
|
-
}, {
|
|
618
|
-
overwriteOriginalData: true
|
|
619
|
-
});
|
|
620
|
-
|
|
621
|
-
return _assertThisInitialized(_this2);
|
|
622
|
-
});
|
|
623
|
-
|
|
624
|
-
_defineProperty(_assertThisInitialized(_this2), "onInputKeyDownHandler", function (_ref3) {
|
|
625
|
-
var e = _ref3.event;
|
|
626
|
-
var key = keycode(e);
|
|
627
|
-
|
|
628
|
-
switch (key) {
|
|
629
|
-
case 'page up':
|
|
630
|
-
case 'page down':
|
|
631
|
-
case 'home':
|
|
632
|
-
case 'end':
|
|
633
|
-
case 'down':
|
|
634
|
-
case 'up':
|
|
635
|
-
e.preventDefault();
|
|
636
|
-
break;
|
|
637
|
-
}
|
|
638
|
-
});
|
|
639
|
-
|
|
640
|
-
_defineProperty(_assertThisInitialized(_this2), "onInputClickHandler", function (e) {
|
|
641
|
-
var value = e.target.value;
|
|
642
|
-
|
|
643
|
-
_this2.setVisibleByContext({
|
|
644
|
-
value: value
|
|
645
|
-
});
|
|
646
|
-
});
|
|
647
|
-
|
|
648
|
-
_defineProperty(_assertThisInitialized(_this2), "onInputFocusHandler", function (event) {
|
|
649
|
-
if (_this2.state.skipFocusDuringChange) {
|
|
650
|
-
return;
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
var _this2$props = _this2.props,
|
|
654
|
-
open_on_focus = _this2$props.open_on_focus,
|
|
655
|
-
keep_value_and_selection = _this2$props.keep_value_and_selection;
|
|
656
|
-
|
|
657
|
-
if (!_this2.state.hasFocus) {
|
|
658
|
-
if (isTrue(open_on_focus)) {
|
|
659
|
-
var value = event.target.value;
|
|
660
|
-
|
|
661
|
-
_this2.setVisibleByContext({
|
|
662
|
-
value: value
|
|
663
|
-
});
|
|
664
|
-
} else {
|
|
665
|
-
_this2.setSearchIndex();
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
if (isTrue(keep_value_and_selection)) {
|
|
669
|
-
_this2.showAll();
|
|
670
|
-
}
|
|
671
|
-
|
|
672
|
-
dispatchCustomElementEvent(_assertThisInitialized(_this2), 'on_focus', _objectSpread({
|
|
673
|
-
event: event
|
|
674
|
-
}, _this2.getEventObjects('on_focus')));
|
|
675
|
-
|
|
676
|
-
_this2.setState({
|
|
677
|
-
hasFocus: true,
|
|
678
|
-
hasBlur: false
|
|
679
|
-
});
|
|
680
|
-
}
|
|
681
|
-
});
|
|
682
|
-
|
|
683
|
-
_defineProperty(_assertThisInitialized(_this2), "onReserveActivityHandler", function (event) {
|
|
684
|
-
_this2.__preventFiringBlurEvent = event.key === 'enter' || event.key === 'space' || event.target && getPreviousSibling('dnb-drawer-list', event.target);
|
|
685
|
-
});
|
|
686
|
-
|
|
687
|
-
_defineProperty(_assertThisInitialized(_this2), "onBlurHandler", function (event) {
|
|
688
|
-
var _this2$props2 = _this2.props,
|
|
689
|
-
open_on_focus = _this2$props2.open_on_focus,
|
|
690
|
-
keep_value = _this2$props2.keep_value,
|
|
691
|
-
keep_value_and_selection = _this2$props2.keep_value_and_selection,
|
|
692
|
-
prevent_selection = _this2$props2.prevent_selection,
|
|
693
|
-
no_animation = _this2$props2.no_animation;
|
|
694
|
-
|
|
695
|
-
if (!_this2.state.hasBlur && !_this2.__preventFiringBlurEvent && !_this2.context.drawerList.hasFocusOnElement) {
|
|
696
|
-
dispatchCustomElementEvent(_assertThisInitialized(_this2), 'on_blur', _objectSpread({
|
|
697
|
-
event: event
|
|
698
|
-
}, _this2.getEventObjects('on_blur')));
|
|
699
|
-
|
|
700
|
-
_this2.setState({
|
|
701
|
-
hasBlur: true,
|
|
702
|
-
hasFocus: false
|
|
703
|
-
});
|
|
704
|
-
|
|
705
|
-
if (!isTrue(keep_value_and_selection)) {
|
|
706
|
-
_this2.setState({
|
|
707
|
-
typedInputValue: null,
|
|
708
|
-
_listenForPropChanges: false
|
|
709
|
-
});
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
if (!isTrue(prevent_selection) && !isTrue(keep_value_and_selection)) {
|
|
713
|
-
var existingValue = _this2.state.inputValue;
|
|
714
|
-
|
|
715
|
-
_this2.clearInputValue();
|
|
716
|
-
|
|
717
|
-
var resetAfterClose = function resetAfterClose() {
|
|
718
|
-
if (!isTrue(keep_value) || !existingValue || _this2.hasSelectedItem()) {
|
|
719
|
-
_this2.resetActiveItem();
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
_this2.resetFilter();
|
|
723
|
-
};
|
|
724
|
-
|
|
725
|
-
if (isTrue(no_animation)) {
|
|
726
|
-
resetAfterClose();
|
|
727
|
-
} else {
|
|
728
|
-
clearTimeout(_this2._blurTimeout);
|
|
729
|
-
_this2._blurTimeout = setTimeout(resetAfterClose, DrawerList.blurDelay);
|
|
730
|
-
}
|
|
731
|
-
}
|
|
732
|
-
|
|
733
|
-
if (isTrue(open_on_focus)) {
|
|
734
|
-
_this2.setHidden();
|
|
735
|
-
}
|
|
736
|
-
} else if (_this2.__preventFiringBlurEvent) {
|
|
737
|
-
_this2.__preventFiringBlurEvent = null;
|
|
738
|
-
return false;
|
|
739
|
-
}
|
|
740
|
-
});
|
|
741
|
-
|
|
742
|
-
_defineProperty(_assertThisInitialized(_this2), "onTriggerKeyDownHandler", function (e) {
|
|
743
|
-
var key = keycode(e);
|
|
744
|
-
|
|
745
|
-
switch (key) {
|
|
746
|
-
case 'space':
|
|
747
|
-
{
|
|
748
|
-
_this2.setVisible();
|
|
749
|
-
}
|
|
750
|
-
break;
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
switch (key) {
|
|
754
|
-
case 'space':
|
|
755
|
-
case 'enter':
|
|
756
|
-
case 'page up':
|
|
757
|
-
case 'page down':
|
|
758
|
-
case 'down':
|
|
759
|
-
case 'up':
|
|
760
|
-
{
|
|
761
|
-
e.preventDefault();
|
|
762
|
-
|
|
763
|
-
try {
|
|
764
|
-
_this2._refInput.current._ref.current.focus();
|
|
765
|
-
} catch (e) {
|
|
766
|
-
warn(e);
|
|
767
|
-
}
|
|
768
|
-
}
|
|
769
|
-
break;
|
|
770
|
-
}
|
|
771
|
-
});
|
|
772
|
-
|
|
773
|
-
_defineProperty(_assertThisInitialized(_this2), "onShellKeyDownHandler", function (e) {
|
|
774
|
-
var key = keycode(e);
|
|
775
|
-
|
|
776
|
-
switch (key) {
|
|
777
|
-
case 'up':
|
|
778
|
-
case 'down':
|
|
779
|
-
if (!_this2.context.drawerList.opened) {
|
|
780
|
-
e.preventDefault();
|
|
781
|
-
|
|
782
|
-
_this2.setVisible();
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
break;
|
|
786
|
-
|
|
787
|
-
case 'esc':
|
|
788
|
-
_this2.setState({
|
|
789
|
-
showAllNextTime: true,
|
|
790
|
-
_listenForPropChanges: false
|
|
791
|
-
});
|
|
792
|
-
|
|
793
|
-
break;
|
|
794
|
-
|
|
795
|
-
case 'enter':
|
|
796
|
-
e.preventDefault();
|
|
797
|
-
|
|
798
|
-
if (!_this2.context.drawerList.opened && _this2.hasFilterActive()) {
|
|
799
|
-
_this2.ignoreEvents();
|
|
800
|
-
|
|
801
|
-
_this2.showAll();
|
|
802
|
-
}
|
|
803
|
-
|
|
804
|
-
if ((!_this2.hasValidData() || !_this2.hasSelectedItem()) && !_this2.hasActiveItem()) {
|
|
805
|
-
clearTimeout(_this2._toggleVisibleTimeout);
|
|
806
|
-
_this2._toggleVisibleTimeout = setTimeout(_this2.toggleVisible, 1);
|
|
807
|
-
} else {
|
|
808
|
-
_this2.setVisible();
|
|
809
|
-
}
|
|
810
|
-
|
|
811
|
-
break;
|
|
812
|
-
}
|
|
813
|
-
});
|
|
814
|
-
|
|
815
|
-
_defineProperty(_assertThisInitialized(_this2), "getEventObjects", function (key) {
|
|
816
|
-
var attributes = _this2.attributes;
|
|
817
|
-
return {
|
|
818
|
-
attributes: attributes,
|
|
819
|
-
dataList: _this2.context.drawerList.data,
|
|
820
|
-
updateData: _this2.updateData,
|
|
821
|
-
showAllItems: _this2.showAllItems,
|
|
822
|
-
setVisible: _this2.setVisible,
|
|
823
|
-
setHidden: _this2.setHidden,
|
|
824
|
-
emptyData: _this2.emptyData,
|
|
825
|
-
setInputValue: _this2.setInputValue,
|
|
826
|
-
showNoOptionsItem: _this2.showNoOptionsItem,
|
|
827
|
-
showIndicatorItem: _this2.showIndicatorItem,
|
|
828
|
-
showIndicator: _this2.showIndicator,
|
|
829
|
-
hideIndicator: _this2.hideIndicator,
|
|
830
|
-
setMode: _this2.setMode,
|
|
831
|
-
debounce: function debounce(func) {
|
|
832
|
-
var props = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
833
|
-
var wait = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 250;
|
|
834
|
-
_this2.dbf = _this2.dbf || {};
|
|
835
|
-
return (_this2.dbf[key] || (_this2.dbf[key] = _debounce(func, wait, {
|
|
836
|
-
context: _assertThisInitialized(_this2)
|
|
837
|
-
})))(props);
|
|
838
|
-
}
|
|
839
|
-
};
|
|
840
|
-
});
|
|
841
|
-
|
|
842
|
-
_defineProperty(_assertThisInitialized(_this2), "hasShowMore", function () {
|
|
843
|
-
var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _this2.context.drawerList.data;
|
|
844
|
-
var lastItem = data.slice(-1)[0];
|
|
845
|
-
return lastItem && lastItem.show_all === true;
|
|
846
|
-
});
|
|
847
|
-
|
|
848
|
-
_defineProperty(_assertThisInitialized(_this2), "countData", function () {
|
|
849
|
-
var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _this2.context.drawerList.data;
|
|
850
|
-
var count = data.length;
|
|
851
|
-
return count > 0 && _this2.hasShowMore(data) ? count - 1 : count;
|
|
852
|
-
});
|
|
853
|
-
|
|
854
|
-
_defineProperty(_assertThisInitialized(_this2), "hasValidData", function () {
|
|
855
|
-
var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _this2.context.drawerList.data;
|
|
856
|
-
|
|
857
|
-
if (_this2.countData(data) > 0) {
|
|
858
|
-
var first = data[0];
|
|
859
|
-
|
|
860
|
-
if (!first.show_all && !['no_options', 'indicator'].includes(first.__id)) {
|
|
861
|
-
return true;
|
|
862
|
-
}
|
|
863
|
-
}
|
|
864
|
-
|
|
865
|
-
return false;
|
|
866
|
-
});
|
|
867
|
-
|
|
868
|
-
_defineProperty(_assertThisInitialized(_this2), "hasSelectedItem", function () {
|
|
869
|
-
return parseFloat(_this2.context.drawerList.selected_item) > -1;
|
|
870
|
-
});
|
|
871
|
-
|
|
872
|
-
_defineProperty(_assertThisInitialized(_this2), "hasActiveItem", function () {
|
|
873
|
-
return parseFloat(_this2.context.drawerList.active_item) > -1;
|
|
874
|
-
});
|
|
875
|
-
|
|
876
|
-
_defineProperty(_assertThisInitialized(_this2), "hasFilterActive", function () {
|
|
877
|
-
var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _this2.context.drawerList.data;
|
|
878
|
-
return !(_this2.context.drawerList.original_data && _this2.context.drawerList.original_data.length === _this2.countData(data));
|
|
879
|
-
});
|
|
880
|
-
|
|
881
|
-
_defineProperty(_assertThisInitialized(_this2), "ignoreEvents", function () {
|
|
882
|
-
clearTimeout(_this2.showAllTimeout);
|
|
883
|
-
|
|
884
|
-
_this2.context.drawerList.setState({
|
|
885
|
-
ignore_events: true
|
|
886
|
-
}, function () {
|
|
887
|
-
_this2.showAllTimeout = setTimeout(function () {
|
|
888
|
-
_this2.context && _this2.context.drawerList && _this2.context.drawerList.setState({
|
|
889
|
-
ignore_events: false
|
|
890
|
-
});
|
|
891
|
-
}, 10);
|
|
892
|
-
});
|
|
893
|
-
});
|
|
894
|
-
|
|
895
|
-
_defineProperty(_assertThisInitialized(_this2), "showAll", function () {
|
|
896
|
-
_this2.resetFilter();
|
|
897
|
-
|
|
898
|
-
_this2.context.drawerList.setState({
|
|
899
|
-
cache_hash: 'all'
|
|
900
|
-
});
|
|
901
|
-
|
|
902
|
-
_this2.runFilterToHighlight({
|
|
903
|
-
skipFilter: true,
|
|
904
|
-
fillDataIfEmpty: true
|
|
905
|
-
});
|
|
906
|
-
});
|
|
907
|
-
|
|
908
|
-
_defineProperty(_assertThisInitialized(_this2), "showAllItems", function () {
|
|
909
|
-
_this2.resetFilter();
|
|
910
|
-
|
|
911
|
-
_this2.context.drawerList.setState({
|
|
912
|
-
cache_hash: 'all'
|
|
913
|
-
});
|
|
914
|
-
|
|
915
|
-
_this2.context.drawerList.setActiveItemAndScrollToIt(_this2.context.drawerList.selected_item, {
|
|
916
|
-
scrollTo: false
|
|
917
|
-
});
|
|
918
|
-
});
|
|
919
|
-
|
|
920
|
-
_defineProperty(_assertThisInitialized(_this2), "totalReset", function () {
|
|
921
|
-
if (!isTrue(_this2.props.keep_value) && !isTrue(_this2.props.keep_value_and_selection)) {
|
|
922
|
-
_this2.setState({
|
|
923
|
-
inputValue: null
|
|
924
|
-
});
|
|
925
|
-
}
|
|
926
|
-
|
|
927
|
-
_this2.setState({
|
|
928
|
-
typedInputValue: null,
|
|
929
|
-
_listenForPropChanges: false
|
|
930
|
-
});
|
|
931
|
-
|
|
932
|
-
_this2.resetActiveItem();
|
|
933
|
-
|
|
934
|
-
_this2.resetSelectionItem();
|
|
935
|
-
});
|
|
936
|
-
|
|
937
|
-
_defineProperty(_assertThisInitialized(_this2), "resetActiveItem", function () {
|
|
938
|
-
_this2.context.drawerList.setState({
|
|
939
|
-
active_item: null
|
|
940
|
-
});
|
|
941
|
-
});
|
|
942
|
-
|
|
943
|
-
_defineProperty(_assertThisInitialized(_this2), "resetSelectionItem", function () {
|
|
944
|
-
var hasHadValue = _this2.hasSelectedItem();
|
|
945
|
-
|
|
946
|
-
_this2.context.drawerList.setState({
|
|
947
|
-
selected_item: null
|
|
948
|
-
}, function () {
|
|
949
|
-
if (hasHadValue) {
|
|
950
|
-
dispatchCustomElementEvent(_assertThisInitialized(_this2), 'on_change', _objectSpread({}, _this2.getEventObjects('on_change')));
|
|
951
|
-
}
|
|
952
|
-
});
|
|
953
|
-
});
|
|
954
|
-
|
|
955
|
-
_defineProperty(_assertThisInitialized(_this2), "clearInputValue", function () {
|
|
956
|
-
var _this2$props3 = _this2.props,
|
|
957
|
-
input_value = _this2$props3.input_value,
|
|
958
|
-
keep_value = _this2$props3.keep_value;
|
|
959
|
-
var inputValue = AutocompleteInstance.getCurrentDataTitle(_this2.context.drawerList.selected_item, _this2.context.drawerList.original_data);
|
|
960
|
-
clearTimeout(_this2._selectTimeout);
|
|
961
|
-
_this2._selectTimeout = setTimeout(function () {
|
|
962
|
-
if (_this2.hasSelectedItem()) {
|
|
963
|
-
_this2.setState({
|
|
964
|
-
inputValue: inputValue,
|
|
965
|
-
_listenForPropChanges: false
|
|
966
|
-
});
|
|
967
|
-
} else if (!(input_value !== 'initval' && input_value.length > 0) && !isTrue(keep_value)) {
|
|
968
|
-
_this2.setState({
|
|
969
|
-
inputValue: '',
|
|
970
|
-
_listenForPropChanges: false
|
|
971
|
-
});
|
|
972
|
-
}
|
|
973
|
-
}, 1);
|
|
974
|
-
});
|
|
975
|
-
|
|
976
|
-
_defineProperty(_assertThisInitialized(_this2), "resetFilter", function () {
|
|
977
|
-
_this2.context.drawerList.setData(_this2.context.drawerList.original_data);
|
|
978
|
-
});
|
|
979
|
-
|
|
980
|
-
_defineProperty(_assertThisInitialized(_this2), "runFilter", function (value) {
|
|
981
|
-
var _ref4 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
|
|
982
|
-
_ref4$data = _ref4.data,
|
|
983
|
-
data = _ref4$data === void 0 ? null : _ref4$data,
|
|
984
|
-
_ref4$searchIndex = _ref4.searchIndex,
|
|
985
|
-
searchIndex = _ref4$searchIndex === void 0 ? _this2.state.searchIndex : _ref4$searchIndex,
|
|
986
|
-
_ref4$searchNumbers = _ref4.searchNumbers,
|
|
987
|
-
searchNumbers = _ref4$searchNumbers === void 0 ? isTrue(_this2.props.search_numbers) : _ref4$searchNumbers,
|
|
988
|
-
_ref4$inWordIndex = _ref4.inWordIndex,
|
|
989
|
-
inWordIndex = _ref4$inWordIndex === void 0 ? (parseFloat(_this2.props.search_in_word_index) || 3) - 2 : _ref4$inWordIndex,
|
|
990
|
-
_ref4$disableHighligh = _ref4.disableHighlighting,
|
|
991
|
-
disableHighlighting = _ref4$disableHighligh === void 0 ? false : _ref4$disableHighligh,
|
|
992
|
-
_ref4$skipFilter = _ref4.skipFilter,
|
|
993
|
-
skipFilter = _ref4$skipFilter === void 0 ? false : _ref4$skipFilter,
|
|
994
|
-
_ref4$skipReorder = _ref4.skipReorder,
|
|
995
|
-
skipReorder = _ref4$skipReorder === void 0 ? false : _ref4$skipReorder;
|
|
996
|
-
|
|
997
|
-
if (data) {
|
|
998
|
-
searchIndex = _this2.setSearchIndex({
|
|
999
|
-
data: data
|
|
1000
|
-
});
|
|
1001
|
-
} else if (!searchIndex) {
|
|
1002
|
-
searchIndex = _this2.setSearchIndex();
|
|
1003
|
-
}
|
|
1004
|
-
|
|
1005
|
-
if (typeof searchIndex === 'undefined') {
|
|
1006
|
-
return [];
|
|
1007
|
-
}
|
|
1008
|
-
|
|
1009
|
-
var searchWords = value.split(/\s+/g).filter(Boolean);
|
|
1010
|
-
var wordCond = '^|\\s';
|
|
1011
|
-
|
|
1012
|
-
var findSearchWords = function findSearchWords(contentChunk) {
|
|
1013
|
-
if (typeof contentChunk !== 'string') {
|
|
1014
|
-
return [];
|
|
1015
|
-
}
|
|
1016
|
-
|
|
1017
|
-
return searchWords.map(function (word, wordIndex) {
|
|
1018
|
-
return {
|
|
1019
|
-
word: word,
|
|
1020
|
-
wordIndex: wordIndex
|
|
1021
|
-
};
|
|
1022
|
-
}).filter(function (_ref5) {
|
|
1023
|
-
var word = _ref5.word,
|
|
1024
|
-
wordIndex = _ref5.wordIndex;
|
|
1025
|
-
|
|
1026
|
-
if (searchNumbers) {
|
|
1027
|
-
word = word.replace(/[^\d\w]/g, '');
|
|
1028
|
-
} else {
|
|
1029
|
-
word = escapeRegexChars(word);
|
|
1030
|
-
}
|
|
1031
|
-
|
|
1032
|
-
if (searchNumbers) {
|
|
1033
|
-
word = word.replace(/(\d)/g, '$1+');
|
|
1034
|
-
}
|
|
1035
|
-
|
|
1036
|
-
var regexWord = new RegExp(wordIndex > inWordIndex ? "".concat(word) : "(".concat(wordCond, ")").concat(word), 'i');
|
|
1037
|
-
|
|
1038
|
-
if (regexWord.test(contentChunk)) {
|
|
1039
|
-
return true;
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
|
-
if (searchNumbers && regexWord.test(contentChunk.replace(/[^0-9]/g, ''))) {
|
|
1043
|
-
return true;
|
|
1044
|
-
}
|
|
1045
|
-
|
|
1046
|
-
return false;
|
|
1047
|
-
}).map(function (_ref6) {
|
|
1048
|
-
var word = _ref6.word,
|
|
1049
|
-
wordIndex = _ref6.wordIndex;
|
|
1050
|
-
var wordScore = 0;
|
|
1051
|
-
wordScore += (contentChunk.match(new RegExp("(".concat(wordCond, ")").concat(escapeRegexChars(word)), 'ig')) || []).length;
|
|
1052
|
-
|
|
1053
|
-
if (wordIndex === 0) {
|
|
1054
|
-
var isFirstWord = new RegExp("^".concat(escapeRegexChars(searchWords[0])), 'i').test(contentChunk.split(' ')[0]);
|
|
1055
|
-
|
|
1056
|
-
if (isFirstWord) {
|
|
1057
|
-
wordScore += searchWords.length + 1;
|
|
1058
|
-
}
|
|
1059
|
-
}
|
|
1060
|
-
|
|
1061
|
-
return {
|
|
1062
|
-
word: word,
|
|
1063
|
-
wordIndex: wordIndex,
|
|
1064
|
-
wordScore: wordScore
|
|
1065
|
-
};
|
|
1066
|
-
});
|
|
1067
|
-
};
|
|
1068
|
-
|
|
1069
|
-
var strS = "\uFFFE";
|
|
1070
|
-
var strE = "\uFFFF";
|
|
1071
|
-
var tagS = '<span class="dnb-drawer-list__option__item--highlight">';
|
|
1072
|
-
var tagE = '</span>';
|
|
1073
|
-
searchIndex = searchIndex.map(function (item, i) {
|
|
1074
|
-
var listOfFoundWords = findSearchWords(item.contentChunk, i);
|
|
1075
|
-
|
|
1076
|
-
if (typeof item.dataItem === 'string') {
|
|
1077
|
-
item.dataItem = {
|
|
1078
|
-
content: item.dataItem
|
|
1079
|
-
};
|
|
1080
|
-
}
|
|
1081
|
-
|
|
1082
|
-
if (!item.dataItem.render) {
|
|
1083
|
-
item.dataItem = _objectSpread({}, item.dataItem);
|
|
1084
|
-
}
|
|
1085
|
-
|
|
1086
|
-
item.dataItem.render = function (children, id) {
|
|
1087
|
-
var _children2, _children2$props;
|
|
1088
|
-
|
|
1089
|
-
if (disableHighlighting || _this2.state.disableHighlighting) {
|
|
1090
|
-
return children;
|
|
1091
|
-
}
|
|
1092
|
-
|
|
1093
|
-
var cacheHash = id + value;
|
|
1094
|
-
_this2._cacheMemory = _this2._cacheMemory || {};
|
|
1095
|
-
|
|
1096
|
-
if (_this2._cacheMemory[cacheHash]) {
|
|
1097
|
-
return _this2._cacheMemory[cacheHash];
|
|
1098
|
-
}
|
|
1099
|
-
|
|
1100
|
-
var isComponent = typeof children !== 'string' && React.isValidElement(children);
|
|
1101
|
-
|
|
1102
|
-
if (isComponent && Array.isArray((_children2 = children) === null || _children2 === void 0 ? void 0 : (_children2$props = _children2.props) === null || _children2$props === void 0 ? void 0 : _children2$props.children)) {
|
|
1103
|
-
children = children.props.children;
|
|
1104
|
-
} else if (!Array.isArray(children)) {
|
|
1105
|
-
children = [children];
|
|
1106
|
-
}
|
|
1107
|
-
|
|
1108
|
-
children = children.map(function (originalChild) {
|
|
1109
|
-
return {
|
|
1110
|
-
originalChild: originalChild,
|
|
1111
|
-
segment: convertJsxToString(originalChild, ' ')
|
|
1112
|
-
};
|
|
1113
|
-
});
|
|
1114
|
-
children = children.map(function (_ref7, idx) {
|
|
1115
|
-
var originalChild = _ref7.originalChild,
|
|
1116
|
-
segment = _ref7.segment;
|
|
1117
|
-
searchWords.forEach(function (word, wordIndex) {
|
|
1118
|
-
if (segment) {
|
|
1119
|
-
word = escapeRegexChars(word);
|
|
1120
|
-
|
|
1121
|
-
if (searchNumbers) {
|
|
1122
|
-
word.split('').forEach(function (char) {
|
|
1123
|
-
if (/[\d\w]/.test(char)) {
|
|
1124
|
-
segment = segment.replace(new RegExp("(".concat(char, ")"), 'gi'), "".concat(strS, "$1").concat(strE));
|
|
1125
|
-
}
|
|
1126
|
-
});
|
|
1127
|
-
} else {
|
|
1128
|
-
if (wordIndex > inWordIndex) {
|
|
1129
|
-
segment = segment.replace(new RegExp("(".concat(word, ")"), 'gi'), "".concat(strS, "$1").concat(strE));
|
|
1130
|
-
} else {
|
|
1131
|
-
segment = segment.replace(new RegExp("(".concat(wordCond, ")(").concat(word, ")"), 'gi'), "$1".concat(strS, "$2").concat(strE));
|
|
1132
|
-
}
|
|
1133
|
-
}
|
|
1134
|
-
}
|
|
1135
|
-
});
|
|
1136
|
-
var result = segment;
|
|
1137
|
-
|
|
1138
|
-
if (segment.includes(strS)) {
|
|
1139
|
-
var __html = segment.replace(new RegExp("(".concat(strS, ")+"), 'g'), strS).replace(new RegExp("(".concat(strE, ")+"), 'g'), strE).replace(new RegExp("(".concat(strE).concat(strS, ")"), 'g'), '').replace(new RegExp(strS, 'g'), tagS).replace(new RegExp(strE, 'g'), tagE);
|
|
1140
|
-
|
|
1141
|
-
result = React.createElement("span", {
|
|
1142
|
-
key: cacheHash + idx,
|
|
1143
|
-
dangerouslySetInnerHTML: {
|
|
1144
|
-
__html: __html
|
|
1145
|
-
}
|
|
1146
|
-
});
|
|
1147
|
-
} else {
|
|
1148
|
-
result = React.createElement("span", {
|
|
1149
|
-
key: cacheHash + idx
|
|
1150
|
-
}, segment);
|
|
1151
|
-
}
|
|
1152
|
-
|
|
1153
|
-
if (isComponent) {
|
|
1154
|
-
var _originalChild$props;
|
|
1155
|
-
|
|
1156
|
-
if (Array.isArray(originalChild === null || originalChild === void 0 ? void 0 : (_originalChild$props = originalChild.props) === null || _originalChild$props === void 0 ? void 0 : _originalChild$props.children)) {
|
|
1157
|
-
result = originalChild.props.children.map(function (Comp) {
|
|
1158
|
-
return Comp === originalChild || Comp.props && Comp.props.children === originalChild ? result : Comp;
|
|
1159
|
-
});
|
|
1160
|
-
} else if (typeof originalChild === 'string') {
|
|
1161
|
-
result = originalChild;
|
|
1162
|
-
}
|
|
1163
|
-
|
|
1164
|
-
if (React.isValidElement(originalChild)) {
|
|
1165
|
-
result = React.cloneElement(originalChild, {
|
|
1166
|
-
key: 'clone' + cacheHash + idx
|
|
1167
|
-
}, result);
|
|
1168
|
-
}
|
|
1169
|
-
}
|
|
1170
|
-
|
|
1171
|
-
return result;
|
|
1172
|
-
});
|
|
1173
|
-
return _this2._cacheMemory[cacheHash] = children;
|
|
1174
|
-
};
|
|
1175
|
-
|
|
1176
|
-
if (_this2.skipFilter || skipFilter) {
|
|
1177
|
-
return item.dataItem;
|
|
1178
|
-
}
|
|
1179
|
-
|
|
1180
|
-
var totalScore = listOfFoundWords.length;
|
|
1181
|
-
|
|
1182
|
-
var _iterator = _createForOfIteratorHelper(listOfFoundWords),
|
|
1183
|
-
_step;
|
|
1184
|
-
|
|
1185
|
-
try {
|
|
1186
|
-
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
1187
|
-
var wordScore = _step.value.wordScore;
|
|
1188
|
-
totalScore += wordScore;
|
|
1189
|
-
}
|
|
1190
|
-
} catch (err) {
|
|
1191
|
-
_iterator.e(err);
|
|
1192
|
-
} finally {
|
|
1193
|
-
_iterator.f();
|
|
1194
|
-
}
|
|
1195
|
-
|
|
1196
|
-
return {
|
|
1197
|
-
totalScore: totalScore,
|
|
1198
|
-
item: item
|
|
1199
|
-
};
|
|
1200
|
-
});
|
|
1201
|
-
|
|
1202
|
-
if (!_this2.skipFilter && !skipFilter) {
|
|
1203
|
-
searchIndex = searchIndex.filter(function (_ref8) {
|
|
1204
|
-
var totalScore = _ref8.totalScore;
|
|
1205
|
-
return totalScore;
|
|
1206
|
-
});
|
|
1207
|
-
|
|
1208
|
-
if (!_this2.skipReorder && !skipReorder) {
|
|
1209
|
-
searchIndex = searchIndex.sort(function (_ref9, _ref10) {
|
|
1210
|
-
var a = _ref9.totalScore;
|
|
1211
|
-
var b = _ref10.totalScore;
|
|
1212
|
-
return b - a;
|
|
1213
|
-
});
|
|
1214
|
-
}
|
|
1215
|
-
|
|
1216
|
-
searchIndex = searchIndex.map(function (_ref11) {
|
|
1217
|
-
var item = _ref11.item;
|
|
1218
|
-
return item.dataItem;
|
|
1219
|
-
});
|
|
1220
|
-
}
|
|
1221
|
-
|
|
1222
|
-
return searchIndex;
|
|
1223
|
-
});
|
|
1224
|
-
|
|
1225
|
-
_defineProperty(_assertThisInitialized(_this2), "onHideHandler", function () {
|
|
1226
|
-
var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
1227
|
-
var res = dispatchCustomElementEvent(_assertThisInitialized(_this2), 'on_hide', _objectSpread(_objectSpread({}, args), _this2.getEventObjects('on_hide')));
|
|
1228
|
-
|
|
1229
|
-
if (res !== false) {
|
|
1230
|
-
_this2.setFocusOnInput();
|
|
1231
|
-
}
|
|
1232
|
-
|
|
1233
|
-
return res;
|
|
1234
|
-
});
|
|
1235
|
-
|
|
1236
|
-
_defineProperty(_assertThisInitialized(_this2), "onSelectHandler", function (args) {
|
|
1237
|
-
if (parseFloat(args.active_item) > -1) {
|
|
1238
|
-
dispatchCustomElementEvent(_assertThisInitialized(_this2), 'on_select', _objectSpread(_objectSpread({}, args), _this2.getEventObjects('on_select')));
|
|
1239
|
-
}
|
|
1240
|
-
});
|
|
1241
|
-
|
|
1242
|
-
_defineProperty(_assertThisInitialized(_this2), "onPreChangeHandler", function (_ref12) {
|
|
1243
|
-
var data = _ref12.data;
|
|
1244
|
-
|
|
1245
|
-
if (data && data.show_all) {
|
|
1246
|
-
_this2.showAll();
|
|
1247
|
-
|
|
1248
|
-
var active_item = data.lastActiveItem;
|
|
1249
|
-
|
|
1250
|
-
if (parseFloat(active_item) > -1) {
|
|
1251
|
-
_this2.context.drawerList.setActiveItemAndScrollToIt(active_item, {
|
|
1252
|
-
scrollTo: false
|
|
1253
|
-
});
|
|
1254
|
-
}
|
|
1255
|
-
|
|
1256
|
-
_this2.setFocusOnInput();
|
|
1257
|
-
|
|
1258
|
-
return false;
|
|
1259
|
-
}
|
|
1260
|
-
});
|
|
1261
|
-
|
|
1262
|
-
_defineProperty(_assertThisInitialized(_this2), "onChangeHandler", function (args) {
|
|
1263
|
-
var selected_item = args.selected_item;
|
|
1264
|
-
var _this2$props4 = _this2.props,
|
|
1265
|
-
prevent_selection = _this2$props4.prevent_selection,
|
|
1266
|
-
keep_open = _this2$props4.keep_open;
|
|
1267
|
-
|
|
1268
|
-
if (!isTrue(prevent_selection)) {
|
|
1269
|
-
if (!isTrue(keep_open)) {
|
|
1270
|
-
_this2.setState({
|
|
1271
|
-
skipFocusDuringChange: true,
|
|
1272
|
-
disableHighlighting: true,
|
|
1273
|
-
_listenForPropChanges: false
|
|
1274
|
-
});
|
|
1275
|
-
|
|
1276
|
-
_this2.setHidden();
|
|
1277
|
-
|
|
1278
|
-
try {
|
|
1279
|
-
_this2.context.drawerList._refUl.current.focus({
|
|
1280
|
-
preventScroll: true
|
|
1281
|
-
});
|
|
1282
|
-
} catch (e) {}
|
|
1283
|
-
|
|
1284
|
-
_this2.setState({
|
|
1285
|
-
inputValue: AutocompleteInstance.getCurrentDataTitle(selected_item, _this2.context.drawerList.data),
|
|
1286
|
-
skipFocusDuringChange: false,
|
|
1287
|
-
_listenForPropChanges: false
|
|
1288
|
-
}, function () {
|
|
1289
|
-
return _this2.setFocusOnInput();
|
|
1290
|
-
});
|
|
1291
|
-
} else {
|
|
1292
|
-
_this2.setState({
|
|
1293
|
-
inputValue: AutocompleteInstance.getCurrentDataTitle(selected_item, _this2.context.drawerList.data),
|
|
1294
|
-
_listenForPropChanges: false
|
|
1295
|
-
});
|
|
1296
|
-
}
|
|
1297
|
-
}
|
|
1298
|
-
|
|
1299
|
-
if (typeof args.data.render === 'function') {
|
|
1300
|
-
delete args.data.render;
|
|
1301
|
-
}
|
|
1302
|
-
|
|
1303
|
-
dispatchCustomElementEvent(_assertThisInitialized(_this2), 'on_change', _objectSpread(_objectSpread({}, args), _this2.getEventObjects('on_change')));
|
|
1304
|
-
});
|
|
1305
|
-
|
|
1306
|
-
_this2._id = _props.id || makeUniqueId();
|
|
1307
|
-
_this2.attributes = {};
|
|
1308
|
-
_this2.state = _this2.state || {};
|
|
1309
|
-
_this2.state._listenForPropChanges = true;
|
|
1310
|
-
_this2.state.mode = _props.mode;
|
|
1311
|
-
_this2.state.prevData = _props.data;
|
|
1312
|
-
_this2.state.updateData = _this2.updateData;
|
|
1313
|
-
|
|
1314
|
-
if (context.drawerList && context.drawerList.current_title) {
|
|
1315
|
-
_this2.state.inputValue = context.drawerList.current_title;
|
|
1316
|
-
}
|
|
1317
|
-
|
|
1318
|
-
_this2._ref = React.createRef();
|
|
1319
|
-
_this2._refShell = React.createRef();
|
|
1320
|
-
_this2._refInput = React.createRef();
|
|
1321
|
-
_this2.isTouchDevice = isTouchDevice();
|
|
1322
|
-
_this2.skipFilter = isTrue(_props.disable_filter);
|
|
1323
|
-
_this2.skipReorder = isTrue(_props.disable_reorder);
|
|
1324
|
-
return _this2;
|
|
1325
|
-
}
|
|
1326
|
-
|
|
1327
|
-
_createClass(AutocompleteInstance, [{
|
|
1328
|
-
key: "componentDidMount",
|
|
1329
|
-
value: function componentDidMount() {
|
|
1330
|
-
if (isTrue(this.props.opened)) {
|
|
1331
|
-
this.runFilterToHighlight({
|
|
1332
|
-
fillDataIfEmpty: true
|
|
1333
|
-
});
|
|
1334
|
-
this.setVisible();
|
|
1335
|
-
}
|
|
1336
|
-
}
|
|
1337
|
-
}, {
|
|
1338
|
-
key: "componentDidUpdate",
|
|
1339
|
-
value: function componentDidUpdate(prevProps) {
|
|
1340
|
-
var _this3 = this;
|
|
1341
|
-
|
|
1342
|
-
if (prevProps.value !== this.props.value) {
|
|
1343
|
-
this.setState({}, function () {
|
|
1344
|
-
var inputValue = AutocompleteInstance.getCurrentDataTitle(_this3.context.drawerList.selected_item, _this3.context.drawerList.original_data);
|
|
1345
|
-
|
|
1346
|
-
_this3.setState({
|
|
1347
|
-
inputValue: inputValue
|
|
1348
|
-
});
|
|
1349
|
-
});
|
|
1350
|
-
}
|
|
1351
|
-
}
|
|
1352
|
-
}, {
|
|
1353
|
-
key: "componentWillUnmount",
|
|
1354
|
-
value: function componentWillUnmount() {
|
|
1355
|
-
clearTimeout(this._selectTimeout);
|
|
1356
|
-
clearTimeout(this._ariaLiveUpdateTimeout);
|
|
1357
|
-
clearTimeout(this._focusTimeout);
|
|
1358
|
-
clearTimeout(this._blurTimeout);
|
|
1359
|
-
clearTimeout(this._toggleVisibleTimeout);
|
|
1360
|
-
}
|
|
1361
|
-
}, {
|
|
1362
|
-
key: "setSearchIndex",
|
|
1363
|
-
value: function setSearchIndex() {
|
|
1364
|
-
var _ref13 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
1365
|
-
_ref13$overwriteSearc = _ref13.overwriteSearchIndex,
|
|
1366
|
-
overwriteSearchIndex = _ref13$overwriteSearc === void 0 ? false : _ref13$overwriteSearc,
|
|
1367
|
-
_ref13$data = _ref13.data,
|
|
1368
|
-
data = _ref13$data === void 0 ? this.context.drawerList.original_data : _ref13$data;
|
|
1369
|
-
|
|
1370
|
-
var cb = arguments.length > 1 ? arguments[1] : undefined;
|
|
1371
|
-
this._cacheMemory = {};
|
|
1372
|
-
|
|
1373
|
-
if (!overwriteSearchIndex && this.state.searchIndex) {
|
|
1374
|
-
return this.state.searchIndex;
|
|
1375
|
-
}
|
|
1376
|
-
|
|
1377
|
-
var searchIndex = AutocompleteInstance.createSearchIndex(data);
|
|
1378
|
-
this.setState({
|
|
1379
|
-
searchIndex: searchIndex,
|
|
1380
|
-
_listenForPropChanges: false
|
|
1381
|
-
}, cb);
|
|
1382
|
-
return searchIndex;
|
|
1383
|
-
}
|
|
1384
|
-
}, {
|
|
1385
|
-
key: "setFocusOnInput",
|
|
1386
|
-
value: function setFocusOnInput() {
|
|
1387
|
-
var _this4 = this;
|
|
1388
|
-
|
|
1389
|
-
this.setState({
|
|
1390
|
-
hasFocus: true
|
|
1391
|
-
}, function () {
|
|
1392
|
-
try {
|
|
1393
|
-
_this4._refInput.current._ref.current.focus({
|
|
1394
|
-
preventScroll: true
|
|
1395
|
-
});
|
|
1396
|
-
} catch (e) {}
|
|
1397
|
-
|
|
1398
|
-
clearTimeout(_this4._focusTimeout);
|
|
1399
|
-
_this4._focusTimeout = setTimeout(function () {
|
|
1400
|
-
_this4.setState({
|
|
1401
|
-
hasFocus: false
|
|
1402
|
-
});
|
|
1403
|
-
}, 1);
|
|
1404
|
-
});
|
|
1405
|
-
}
|
|
1406
|
-
}, {
|
|
1407
|
-
key: "setAriaLiveUpdate",
|
|
1408
|
-
value: function setAriaLiveUpdate() {
|
|
1409
|
-
var _this5 = this;
|
|
1410
|
-
|
|
1411
|
-
var opened = this.context.drawerList.opened;
|
|
1412
|
-
var _this$_props = this._props,
|
|
1413
|
-
aria_live_options = _this$_props.aria_live_options,
|
|
1414
|
-
no_options = _this$_props.no_options;
|
|
1415
|
-
clearTimeout(this._ariaLiveUpdateTimeout);
|
|
1416
|
-
this._ariaLiveUpdateTimeout = setTimeout(function () {
|
|
1417
|
-
if (opened) {
|
|
1418
|
-
var newString = null;
|
|
1419
|
-
|
|
1420
|
-
var count = _this5.countData();
|
|
1421
|
-
|
|
1422
|
-
if (count > 0) {
|
|
1423
|
-
newString = String(aria_live_options).replace('%s', count);
|
|
1424
|
-
} else {
|
|
1425
|
-
newString = no_options;
|
|
1426
|
-
}
|
|
1427
|
-
|
|
1428
|
-
if (newString) {
|
|
1429
|
-
_this5.setState({
|
|
1430
|
-
ariaLiveUpdate: newString,
|
|
1431
|
-
_listenForPropChanges: false
|
|
1432
|
-
});
|
|
1433
|
-
|
|
1434
|
-
_this5._ariaLiveUpdateTimeout = setTimeout(function () {
|
|
1435
|
-
_this5.setState({
|
|
1436
|
-
ariaLiveUpdate: null,
|
|
1437
|
-
_listenForPropChanges: false
|
|
1438
|
-
});
|
|
1439
|
-
}, 1e3);
|
|
1440
|
-
}
|
|
1441
|
-
}
|
|
1442
|
-
}, 1e3);
|
|
1443
|
-
}
|
|
1444
|
-
}, {
|
|
1445
|
-
key: "render",
|
|
1446
|
-
value: function render() {
|
|
1447
|
-
var props = this._props = extendPropsWithContext(this.props, Autocomplete.defaultProps, this.context.getTranslation(this.props).Autocomplete, this.context.FormRow, this.context.Autocomplete);
|
|
1448
|
-
|
|
1449
|
-
var title = props.title,
|
|
1450
|
-
placeholder = props.placeholder,
|
|
1451
|
-
label = props.label,
|
|
1452
|
-
label_direction = props.label_direction,
|
|
1453
|
-
label_sr_only = props.label_sr_only,
|
|
1454
|
-
icon = props.icon,
|
|
1455
|
-
icon_size = props.icon_size,
|
|
1456
|
-
input_icon = props.input_icon,
|
|
1457
|
-
size = props.size,
|
|
1458
|
-
align_autocomplete = props.align_autocomplete,
|
|
1459
|
-
fixed_position = props.fixed_position,
|
|
1460
|
-
status = props.status,
|
|
1461
|
-
status_state = props.status_state,
|
|
1462
|
-
status_props = props.status_props,
|
|
1463
|
-
status_no_animation = props.status_no_animation,
|
|
1464
|
-
global_status_id = props.global_status_id,
|
|
1465
|
-
suffix = props.suffix,
|
|
1466
|
-
scrollable = props.scrollable,
|
|
1467
|
-
focusable = props.focusable,
|
|
1468
|
-
keep_open = props.keep_open,
|
|
1469
|
-
keep_value = props.keep_value,
|
|
1470
|
-
keep_value_and_selection = props.keep_value_and_selection,
|
|
1471
|
-
show_clear_button = props.show_clear_button,
|
|
1472
|
-
prevent_close = props.prevent_close,
|
|
1473
|
-
no_animation = props.no_animation,
|
|
1474
|
-
no_scroll_animation = props.no_scroll_animation,
|
|
1475
|
-
show_submit_button = props.show_submit_button,
|
|
1476
|
-
submit_element = props.submit_element,
|
|
1477
|
-
CustomInput = props.input_element,
|
|
1478
|
-
options_render = props.options_render,
|
|
1479
|
-
prevent_selection = props.prevent_selection,
|
|
1480
|
-
max_height = props.max_height,
|
|
1481
|
-
default_value = props.default_value,
|
|
1482
|
-
search_numbers = props.search_numbers,
|
|
1483
|
-
search_in_word_index = props.search_in_word_index,
|
|
1484
|
-
show_options_sr = props.show_options_sr,
|
|
1485
|
-
submit_button_title = props.submit_button_title,
|
|
1486
|
-
submit_button_icon = props.submit_button_icon,
|
|
1487
|
-
portal_class = props.portal_class,
|
|
1488
|
-
drawer_class = props.drawer_class,
|
|
1489
|
-
input_ref = props.input_ref,
|
|
1490
|
-
className = props.className,
|
|
1491
|
-
_className = props.class,
|
|
1492
|
-
disabled = props.disabled,
|
|
1493
|
-
stretch = props.stretch,
|
|
1494
|
-
skeleton = props.skeleton,
|
|
1495
|
-
triangle_position = props.triangle_position,
|
|
1496
|
-
icon_position = props.icon_position,
|
|
1497
|
-
skip_portal = props.skip_portal,
|
|
1498
|
-
_mode = props.mode,
|
|
1499
|
-
_data = props.data,
|
|
1500
|
-
_children = props.children,
|
|
1501
|
-
_direction = props.direction,
|
|
1502
|
-
_id = props.id,
|
|
1503
|
-
_opened = props.opened,
|
|
1504
|
-
_value = props.value,
|
|
1505
|
-
_input_value = props.input_value,
|
|
1506
|
-
indicator_label = props.indicator_label,
|
|
1507
|
-
no_options = props.no_options,
|
|
1508
|
-
show_all = props.show_all,
|
|
1509
|
-
aria_live_options = props.aria_live_options,
|
|
1510
|
-
disable_highlighting = props.disable_highlighting,
|
|
1511
|
-
attributes = _objectWithoutProperties(props, _excluded2);
|
|
1512
|
-
|
|
1513
|
-
var id = this._id;
|
|
1514
|
-
var showStatus = getStatusState(status);
|
|
1515
|
-
var _this$state = this.state,
|
|
1516
|
-
inputValue = _this$state.inputValue,
|
|
1517
|
-
visibleIndicator = _this$state.visibleIndicator,
|
|
1518
|
-
ariaLiveUpdate = _this$state.ariaLiveUpdate;
|
|
1519
|
-
var _this$context$drawerL = this.context.drawerList,
|
|
1520
|
-
hidden = _this$context$drawerL.hidden,
|
|
1521
|
-
selected_item = _this$context$drawerL.selected_item,
|
|
1522
|
-
active_item = _this$context$drawerL.active_item,
|
|
1523
|
-
direction = _this$context$drawerL.direction,
|
|
1524
|
-
opened = _this$context$drawerL.opened;
|
|
1525
|
-
var isExpanded = Boolean(opened) && this.hasValidData();
|
|
1526
|
-
delete attributes.onBlur;
|
|
1527
|
-
this.attributes = validateDOMAttributes(null, attributes);
|
|
1528
|
-
|
|
1529
|
-
_extends(this.context.drawerList.attributes, this.attributes);
|
|
1530
|
-
|
|
1531
|
-
var mainParams = {
|
|
1532
|
-
className: classnames("dnb-autocomplete dnb-autocomplete--".concat(direction, " dnb-form-component"), createSpacingClasses(props), _className, className, opened && 'dnb-autocomplete--opened', label_direction && "dnb-autocomplete--".concat(label_direction), icon_position && "dnb-autocomplete--icon-position-".concat(icon_position), align_autocomplete && "dnb-autocomplete--".concat(align_autocomplete), visibleIndicator && 'dnb-autocomplete--show-indicator', size && "dnb-autocomplete--".concat(size), isTrue(stretch) && "dnb-autocomplete--stretch", status && "dnb-autocomplete__status--".concat(status_state), showStatus && 'dnb-autocomplete__form-status')
|
|
1533
|
-
};
|
|
1534
|
-
var shellParams = {
|
|
1535
|
-
className: 'dnb-autocomplete__shell dnb-no-focus',
|
|
1536
|
-
ref: this._refShell,
|
|
1537
|
-
onKeyDown: this.onShellKeyDownHandler
|
|
1538
|
-
};
|
|
1539
|
-
|
|
1540
|
-
var inputParams = _objectSpread({
|
|
1541
|
-
className: 'dnb-autocomplete__input',
|
|
1542
|
-
id: id,
|
|
1543
|
-
value: inputValue,
|
|
1544
|
-
autoCapitalize: 'none',
|
|
1545
|
-
spellCheck: 'false',
|
|
1546
|
-
autoCorrect: 'off',
|
|
1547
|
-
autoComplete: 'off',
|
|
1548
|
-
role: 'combobox',
|
|
1549
|
-
'aria-autocomplete': 'both',
|
|
1550
|
-
'aria-controls': "".concat(id, "-ul"),
|
|
1551
|
-
'aria-haspopup': 'listbox',
|
|
1552
|
-
'aria-expanded': isExpanded,
|
|
1553
|
-
onMouseDown: this.onInputClickHandler,
|
|
1554
|
-
onTouchStart: this.onInputClickHandler,
|
|
1555
|
-
onKeyDown: this.onInputKeyDownHandler,
|
|
1556
|
-
onChange: this.onInputChangeHandler,
|
|
1557
|
-
onFocus: this.onInputFocusHandler,
|
|
1558
|
-
onBlur: this.onBlurHandler,
|
|
1559
|
-
icon_position: icon_position,
|
|
1560
|
-
inner_ref: input_ref,
|
|
1561
|
-
disabled: disabled,
|
|
1562
|
-
skeleton: skeleton
|
|
1563
|
-
}, attributes);
|
|
1564
|
-
|
|
1565
|
-
if (!(parseFloat(selected_item) > -1)) {
|
|
1566
|
-
inputParams.placeholder = placeholder || title;
|
|
1567
|
-
|
|
1568
|
-
if (!(IS_WIN && (IS_IE11 || IS_EDGE))) {
|
|
1569
|
-
inputParams['aria-placeholder'] = undefined;
|
|
1570
|
-
}
|
|
1571
|
-
}
|
|
1572
|
-
|
|
1573
|
-
if (!hidden) {
|
|
1574
|
-
if (parseFloat(active_item) > -1) {
|
|
1575
|
-
inputParams['aria-activedescendant'] = "option-".concat(id, "-").concat(active_item);
|
|
1576
|
-
} else if (!isTrue(prevent_selection) && parseFloat(selected_item) > -1) {
|
|
1577
|
-
inputParams['aria-activedescendant'] = "option-".concat(id, "-").concat(selected_item);
|
|
1578
|
-
}
|
|
1579
|
-
}
|
|
1580
|
-
|
|
1581
|
-
if (showStatus || suffix) {
|
|
1582
|
-
inputParams['aria-describedby'] = combineDescribedBy(inputParams, showStatus ? id + '-status' : null, suffix ? id + '-suffix' : null);
|
|
1583
|
-
}
|
|
1584
|
-
|
|
1585
|
-
var submitButton = false;
|
|
1586
|
-
var triggerParams = {
|
|
1587
|
-
id: id + '-submit-button',
|
|
1588
|
-
disabled: disabled,
|
|
1589
|
-
status: !opened && status ? status_state : null,
|
|
1590
|
-
onKeyDown: this.onTriggerKeyDownHandler,
|
|
1591
|
-
onSubmit: this.toggleVisible,
|
|
1592
|
-
'aria-haspopup': 'listbox',
|
|
1593
|
-
'aria-expanded': isExpanded,
|
|
1594
|
-
tooltip: hidden ? submit_button_title : null,
|
|
1595
|
-
className: opened ? 'dnb-button--active' : null
|
|
1596
|
-
};
|
|
1597
|
-
|
|
1598
|
-
if (submit_element && React.isValidElement(submit_element)) {
|
|
1599
|
-
submitButton = React.cloneElement(submit_element, triggerParams);
|
|
1600
|
-
} else if (isTrue(show_submit_button)) {
|
|
1601
|
-
submitButton = React.createElement(SubmitButton, _extends({
|
|
1602
|
-
icon: submit_button_icon,
|
|
1603
|
-
icon_size: icon_size || (size === 'large' ? 'medium' : 'default'),
|
|
1604
|
-
variant: "secondary",
|
|
1605
|
-
size: size === 'default' ? 'medium' : size,
|
|
1606
|
-
type: "button"
|
|
1607
|
-
}, triggerParams));
|
|
1608
|
-
}
|
|
1609
|
-
|
|
1610
|
-
validateDOMAttributes(null, mainParams);
|
|
1611
|
-
validateDOMAttributes(null, shellParams);
|
|
1612
|
-
return React.createElement("span", mainParams, label && React.createElement(FormLabel, {
|
|
1613
|
-
id: id + '-label',
|
|
1614
|
-
for_id: id,
|
|
1615
|
-
text: label,
|
|
1616
|
-
label_direction: label_direction,
|
|
1617
|
-
sr_only: label_sr_only,
|
|
1618
|
-
disabled: disabled,
|
|
1619
|
-
skeleton: skeleton,
|
|
1620
|
-
onClick: this.toggleVisible
|
|
1621
|
-
}), React.createElement("span", {
|
|
1622
|
-
className: "dnb-autocomplete__inner",
|
|
1623
|
-
ref: this._ref
|
|
1624
|
-
}, _AlignmentHelper || (_AlignmentHelper = React.createElement(AlignmentHelper, null)), React.createElement(FormStatus, _extends({
|
|
1625
|
-
show: showStatus,
|
|
1626
|
-
id: id + '-form-status',
|
|
1627
|
-
global_status_id: global_status_id,
|
|
1628
|
-
label: label,
|
|
1629
|
-
text_id: id + '-status',
|
|
1630
|
-
text: status,
|
|
1631
|
-
status: status_state,
|
|
1632
|
-
no_animation: status_no_animation,
|
|
1633
|
-
skeleton: skeleton
|
|
1634
|
-
}, status_props)), React.createElement("span", {
|
|
1635
|
-
className: "dnb-autocomplete__row"
|
|
1636
|
-
}, React.createElement("span", shellParams, CustomInput ? React.createElement(CustomInput, inputParams) : React.createElement(Input, _extends({
|
|
1637
|
-
icon: visibleIndicator ? React.createElement(ProgressIndicator, {
|
|
1638
|
-
size: size === 'large' ? 'medium' : 'small'
|
|
1639
|
-
}) : input_icon,
|
|
1640
|
-
icon_size: icon_size || (size === 'large' ? 'medium' : 'default'),
|
|
1641
|
-
size: size,
|
|
1642
|
-
status: status ? status_state : null,
|
|
1643
|
-
status_state: status_state,
|
|
1644
|
-
type: null,
|
|
1645
|
-
submit_element: submitButton,
|
|
1646
|
-
input_state: this.state.skipFocusDuringChange ? 'focus' : undefined,
|
|
1647
|
-
clear: isTrue(show_clear_button),
|
|
1648
|
-
ref: this._refInput
|
|
1649
|
-
}, inputParams, status_props)), !submitButton && React.createElement("span", {
|
|
1650
|
-
className: "dnb-sr-only"
|
|
1651
|
-
}, React.createElement("button", {
|
|
1652
|
-
tabIndex: "-1",
|
|
1653
|
-
type: "button",
|
|
1654
|
-
onClick: this.toggleVisibleAndFocusOptions
|
|
1655
|
-
}, show_options_sr)), React.createElement(DrawerList, {
|
|
1656
|
-
id: id,
|
|
1657
|
-
className: classnames('dnb-autocomplete__root', drawer_class),
|
|
1658
|
-
portal_class: portal_class,
|
|
1659
|
-
list_class: "dnb-autocomplete__list",
|
|
1660
|
-
value: selected_item,
|
|
1661
|
-
default_value: default_value,
|
|
1662
|
-
scrollable: scrollable,
|
|
1663
|
-
focusable: focusable,
|
|
1664
|
-
no_animation: no_animation,
|
|
1665
|
-
no_scroll_animation: no_scroll_animation,
|
|
1666
|
-
skip_portal: skip_portal,
|
|
1667
|
-
prevent_selection: prevent_selection,
|
|
1668
|
-
triangle_position: triangle_position || icon_position,
|
|
1669
|
-
keep_open: keep_open,
|
|
1670
|
-
prevent_close: prevent_close,
|
|
1671
|
-
align_drawer: align_autocomplete,
|
|
1672
|
-
fixed_position: fixed_position,
|
|
1673
|
-
disabled: disabled,
|
|
1674
|
-
max_height: max_height,
|
|
1675
|
-
direction: direction,
|
|
1676
|
-
size: size,
|
|
1677
|
-
options_render: options_render,
|
|
1678
|
-
on_change: this.onChangeHandler,
|
|
1679
|
-
on_select: this.onSelectHandler,
|
|
1680
|
-
on_hide: this.onHideHandler,
|
|
1681
|
-
on_pre_change: this.onPreChangeHandler,
|
|
1682
|
-
on_key_down: this.onReserveActivityHandler,
|
|
1683
|
-
onMouseDown: this.onReserveActivityHandler,
|
|
1684
|
-
onTouchStart: this.onReserveActivityHandler
|
|
1685
|
-
})), suffix && React.createElement(Suffix, {
|
|
1686
|
-
className: "dnb-autocomplete__suffix",
|
|
1687
|
-
id: id + '-suffix',
|
|
1688
|
-
context: props
|
|
1689
|
-
}, suffix))), IS_MAC && React.createElement("span", {
|
|
1690
|
-
className: "dnb-sr-only",
|
|
1691
|
-
"aria-live": "assertive"
|
|
1692
|
-
}, AutocompleteInstance.getCurrentDataTitle(active_item, this.context.drawerList.original_data)), React.createElement("span", {
|
|
1693
|
-
className: "dnb-sr-only",
|
|
1694
|
-
"aria-live": "assertive"
|
|
1695
|
-
}, ariaLiveUpdate));
|
|
1696
|
-
}
|
|
1697
|
-
}], [{
|
|
1698
|
-
key: "parseDataItem",
|
|
1699
|
-
value: function parseDataItem(dataItem) {
|
|
1700
|
-
var searchWord = parseContentTitle(dataItem.search_content || dataItem, {
|
|
1701
|
-
separator: ' '
|
|
1702
|
-
});
|
|
1703
|
-
|
|
1704
|
-
if (typeof searchWord !== 'string' && Array.isArray(searchWord)) {
|
|
1705
|
-
return AutocompleteInstance.parseDataItem(searchWord);
|
|
1706
|
-
}
|
|
1707
|
-
|
|
1708
|
-
return searchWord;
|
|
1709
|
-
}
|
|
1710
|
-
}, {
|
|
1711
|
-
key: "createSearchIndex",
|
|
1712
|
-
value: function createSearchIndex(data) {
|
|
1713
|
-
return data.map(function (dataItem) {
|
|
1714
|
-
var contentChunk = AutocompleteInstance.parseDataItem(dataItem);
|
|
1715
|
-
return {
|
|
1716
|
-
dataItem: dataItem,
|
|
1717
|
-
contentChunk: contentChunk
|
|
1718
|
-
};
|
|
1719
|
-
});
|
|
1720
|
-
}
|
|
1721
|
-
}, {
|
|
1722
|
-
key: "getCurrentDataTitle",
|
|
1723
|
-
value: function getCurrentDataTitle(selected_item, data) {
|
|
1724
|
-
var currentData = getCurrentData(selected_item, data);
|
|
1725
|
-
return parseContentTitle(currentData, {
|
|
1726
|
-
separator: ' ',
|
|
1727
|
-
preferSelectedValue: true
|
|
1728
|
-
});
|
|
1729
|
-
}
|
|
1730
|
-
}, {
|
|
1731
|
-
key: "getDerivedStateFromProps",
|
|
1732
|
-
value: function getDerivedStateFromProps(props, state) {
|
|
1733
|
-
if (state._listenForPropChanges) {
|
|
1734
|
-
state.disableHighlighting = isTrue(props.disable_highlighting);
|
|
1735
|
-
|
|
1736
|
-
if (props.input_value !== 'initval' && typeof state.inputValue === 'undefined' && props.input_value && props.input_value.length > 0) {
|
|
1737
|
-
state.inputValue = props.input_value;
|
|
1738
|
-
}
|
|
1739
|
-
|
|
1740
|
-
if (props.data !== state.prevData) {
|
|
1741
|
-
state.updateData(props.data);
|
|
1742
|
-
state.prevData = props.data;
|
|
1743
|
-
}
|
|
1744
|
-
}
|
|
1745
|
-
|
|
1746
|
-
state._listenForPropChanges = true;
|
|
1747
|
-
return state;
|
|
1748
|
-
}
|
|
1749
|
-
}]);
|
|
1750
|
-
|
|
1751
|
-
return AutocompleteInstance;
|
|
1752
|
-
}(React.PureComponent);
|
|
1753
|
-
|
|
1754
|
-
_defineProperty(AutocompleteInstance, "defaultProps", Autocomplete.defaultProps);
|
|
1755
|
-
|
|
1756
|
-
_defineProperty(AutocompleteInstance, "contextType", DrawerListContext);
|
|
1757
|
-
|
|
1758
|
-
process.env.NODE_ENV !== "production" ? AutocompleteInstance.propTypes = Autocomplete.propTypes : void 0;
|
|
1759
|
-
Autocomplete.HorizontalItem = DrawerList.HorizontalItem;
|