@itwin/core-react 4.17.1 → 5.0.0-dev.2
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 +1 -6
- package/README.md +16 -2
- package/lib/core-react/UiCore.d.ts +38 -0
- package/lib/core-react/UiCore.d.ts.map +1 -0
- package/lib/core-react/UiCore.js +69 -0
- package/lib/core-react/UiCore.js.map +1 -0
- package/lib/core-react/_helpers.scss +54 -0
- package/lib/core-react/_scrollbar.scss +57 -0
- package/lib/core-react/_typography.scss +44 -0
- package/lib/core-react/_z-index.scss +51 -0
- package/lib/core-react/autosuggest/AutoSuggest.d.ts +99 -0
- package/lib/core-react/autosuggest/AutoSuggest.d.ts.map +1 -0
- package/lib/core-react/autosuggest/AutoSuggest.js +170 -0
- package/lib/core-react/autosuggest/AutoSuggest.js.map +1 -0
- package/lib/core-react/autosuggest/AutoSuggest.scss +79 -0
- package/lib/core-react/badge/Badge.d.ts +17 -0
- package/lib/core-react/badge/Badge.d.ts.map +1 -0
- package/lib/core-react/badge/Badge.js +25 -0
- package/lib/core-react/badge/Badge.js.map +1 -0
- package/lib/core-react/badge/BadgeType.d.ts +19 -0
- package/lib/core-react/badge/BadgeType.d.ts.map +1 -0
- package/lib/core-react/badge/BadgeType.js +14 -0
- package/lib/core-react/badge/BadgeType.js.map +1 -0
- package/lib/core-react/badge/DeprecatedBadge.d.ts.map +1 -0
- package/lib/core-react/badge/DeprecatedBadge.js.map +1 -0
- package/lib/core-react/badge/NewBadge.d.ts.map +1 -0
- package/lib/core-react/badge/NewBadge.js.map +1 -0
- package/lib/core-react/badge/TechnicalPreviewBadge.d.ts.map +1 -0
- package/lib/core-react/badge/TechnicalPreviewBadge.js.map +1 -0
- package/lib/core-react/base/Centered.d.ts +12 -0
- package/lib/core-react/base/Centered.d.ts.map +1 -0
- package/lib/core-react/base/Centered.js +20 -0
- package/lib/core-react/base/Centered.js.map +1 -0
- package/lib/core-react/base/Div.d.ts +19 -0
- package/lib/core-react/base/Div.d.ts.map +1 -0
- package/lib/core-react/base/Div.js.map +1 -0
- package/lib/core-react/base/DivWithOutsideClick.d.ts +77 -0
- package/lib/core-react/base/DivWithOutsideClick.d.ts.map +1 -0
- package/lib/core-react/base/DivWithOutsideClick.js +17 -0
- package/lib/core-react/base/DivWithOutsideClick.js.map +1 -0
- package/lib/core-react/base/FillCentered.d.ts +12 -0
- package/lib/core-react/base/FillCentered.d.ts.map +1 -0
- package/lib/core-react/base/FillCentered.js +20 -0
- package/lib/core-react/base/FillCentered.js.map +1 -0
- package/lib/core-react/base/FlexWrapContainer.d.ts +13 -0
- package/lib/core-react/base/FlexWrapContainer.d.ts.map +1 -0
- package/lib/core-react/base/FlexWrapContainer.js +21 -0
- package/lib/core-react/base/FlexWrapContainer.js.map +1 -0
- package/lib/core-react/base/Gap.d.ts +18 -0
- package/lib/core-react/base/Gap.d.ts.map +1 -0
- package/lib/core-react/base/Gap.js.map +1 -0
- package/lib/core-react/base/PointerEvents.d.ts.map +1 -0
- package/lib/core-react/base/PointerEvents.js.map +1 -0
- package/lib/core-react/base/ScrollView.d.ts +13 -0
- package/lib/core-react/base/ScrollView.d.ts.map +1 -0
- package/lib/core-react/base/ScrollView.js +21 -0
- package/lib/core-react/base/ScrollView.js.map +1 -0
- package/lib/core-react/base/base.scss +44 -0
- package/lib/core-react/base/classes.scss +27 -0
- package/lib/core-react/base/index.scss +5 -0
- package/lib/core-react/button/UnderlinedButton.d.ts.map +1 -0
- package/lib/core-react/button/UnderlinedButton.js.map +1 -0
- package/lib/core-react/button/UnderlinedButton.scss +29 -0
- package/lib/core-react/checklistbox/CheckListBox.d.ts +45 -0
- package/lib/core-react/checklistbox/CheckListBox.d.ts.map +1 -0
- package/lib/core-react/checklistbox/CheckListBox.js.map +1 -0
- package/lib/core-react/classes.scss +9 -0
- package/lib/core-react/contextmenu/ContextMenu.d.ts +91 -0
- package/lib/core-react/contextmenu/ContextMenu.d.ts.map +1 -0
- package/lib/core-react/contextmenu/ContextMenu.js +362 -0
- package/lib/core-react/contextmenu/ContextMenu.js.map +1 -0
- package/lib/core-react/contextmenu/ContextMenu.scss +226 -0
- package/lib/core-react/contextmenu/ContextMenuDirection.d.ts.map +1 -0
- package/lib/core-react/contextmenu/ContextMenuDirection.js.map +1 -0
- package/lib/core-react/contextmenu/ContextMenuDivider.d.ts +13 -0
- package/lib/core-react/contextmenu/ContextMenuDivider.d.ts.map +1 -0
- package/lib/core-react/contextmenu/ContextMenuDivider.js.map +1 -0
- package/lib/core-react/contextmenu/ContextMenuItem.d.ts +65 -0
- package/lib/core-react/contextmenu/ContextMenuItem.d.ts.map +1 -0
- package/lib/core-react/contextmenu/ContextMenuItem.js +107 -0
- package/lib/core-react/contextmenu/ContextMenuItem.js.map +1 -0
- package/lib/core-react/contextmenu/ContextSubMenu.d.ts +51 -0
- package/lib/core-react/contextmenu/ContextSubMenu.d.ts.map +1 -0
- package/lib/core-react/contextmenu/ContextSubMenu.js +173 -0
- package/lib/core-react/contextmenu/ContextSubMenu.js.map +1 -0
- package/lib/core-react/contextmenu/GlobalContextMenu.d.ts +36 -0
- package/lib/core-react/contextmenu/GlobalContextMenu.d.ts.map +1 -0
- package/lib/core-react/contextmenu/GlobalContextMenu.js +59 -0
- package/lib/core-react/contextmenu/GlobalContextMenu.js.map +1 -0
- package/lib/core-react/contextmenu/PopupContextMenu.d.ts +57 -0
- package/lib/core-react/contextmenu/PopupContextMenu.d.ts.map +1 -0
- package/lib/core-react/contextmenu/PopupContextMenu.js +54 -0
- package/lib/core-react/contextmenu/PopupContextMenu.js.map +1 -0
- package/lib/core-react/contextmenu/TildeFinder.d.ts.map +1 -0
- package/lib/core-react/contextmenu/TildeFinder.js.map +1 -0
- package/lib/core-react/dialog/Dialog.d.ts +112 -0
- package/lib/core-react/dialog/Dialog.d.ts.map +1 -0
- package/lib/core-react/dialog/Dialog.js +205 -0
- package/lib/core-react/dialog/Dialog.js.map +1 -0
- package/lib/core-react/dialog/Dialog.scss +57 -0
- package/lib/core-react/dialog/GlobalDialog.d.ts +32 -0
- package/lib/core-react/dialog/GlobalDialog.d.ts.map +1 -0
- package/lib/core-react/dialog/GlobalDialog.js +57 -0
- package/lib/core-react/dialog/GlobalDialog.js.map +1 -0
- package/lib/core-react/elementseparator/ElementSeparator.d.ts +44 -0
- package/lib/core-react/elementseparator/ElementSeparator.d.ts.map +1 -0
- package/lib/core-react/elementseparator/ElementSeparator.js +163 -0
- package/lib/core-react/elementseparator/ElementSeparator.js.map +1 -0
- package/lib/core-react/elementseparator/ElementSeparator.scss +93 -0
- package/lib/core-react/enums/Alignment.d.ts.map +1 -0
- package/lib/core-react/enums/Alignment.js.map +1 -0
- package/lib/core-react/enums/CheckBoxState.d.ts.map +1 -0
- package/lib/core-react/enums/CheckBoxState.js.map +1 -0
- package/lib/core-react/enums/Orientation.d.ts.map +1 -0
- package/lib/core-react/enums/Orientation.js.map +1 -0
- package/lib/core-react/enums/SortDirection.d.ts.map +1 -0
- package/lib/core-react/enums/SortDirection.js.map +1 -0
- package/lib/core-react/enums/TimeFormat.d.ts.map +1 -0
- package/lib/core-react/enums/TimeFormat.js.map +1 -0
- package/lib/core-react/expandable/ExpandableList.d.ts +37 -0
- package/lib/core-react/expandable/ExpandableList.d.ts.map +1 -0
- package/lib/core-react/expandable/ExpandableList.js.map +1 -0
- package/lib/core-react/focus/ItemKeyboardNavigator.d.ts +53 -0
- package/lib/core-react/focus/ItemKeyboardNavigator.d.ts.map +1 -0
- package/lib/core-react/focus/ItemKeyboardNavigator.js +173 -0
- package/lib/core-react/focus/ItemKeyboardNavigator.js.map +1 -0
- package/lib/core-react/focustrap/FocusTrap.d.ts.map +1 -0
- package/lib/core-react/focustrap/FocusTrap.js +196 -0
- package/lib/core-react/focustrap/FocusTrap.js.map +1 -0
- package/lib/core-react/hocs/withIsPressed.d.ts.map +1 -0
- package/lib/core-react/hocs/withIsPressed.js.map +1 -0
- package/lib/core-react/hocs/withOnOutsideClick.d.ts.map +1 -0
- package/lib/core-react/hocs/withOnOutsideClick.js.map +1 -0
- package/lib/core-react/hocs/withTimeout.d.ts +73 -0
- package/lib/core-react/hocs/withTimeout.d.ts.map +1 -0
- package/lib/core-react/hocs/withTimeout.js +44 -0
- package/lib/core-react/hocs/withTimeout.js.map +1 -0
- package/lib/core-react/icons/ConditionalIconItem.d.ts +28 -0
- package/lib/core-react/icons/ConditionalIconItem.d.ts.map +1 -0
- package/lib/core-react/icons/ConditionalIconItem.js.map +1 -0
- package/lib/core-react/icons/IconComponent.d.ts +34 -0
- package/lib/core-react/icons/IconComponent.d.ts.map +1 -0
- package/lib/core-react/icons/IconComponent.js +77 -0
- package/lib/core-react/icons/IconComponent.js.map +1 -0
- package/lib/core-react/icons/IconComponent.scss +19 -0
- package/lib/core-react/icons/SvgPath.d.ts +26 -0
- package/lib/core-react/icons/SvgPath.d.ts.map +1 -0
- package/lib/core-react/icons/SvgPath.js.map +1 -0
- package/lib/core-react/icons/WebFontIcon.d.ts +28 -0
- package/lib/core-react/icons/WebFontIcon.d.ts.map +1 -0
- package/lib/core-react/icons/WebFontIcon.js.map +1 -0
- package/lib/core-react/icons/WebFontIcon.scss +15 -0
- package/lib/core-react/icons/classes.scss +18 -0
- package/lib/core-react/icons/index.scss +6 -0
- package/lib/core-react/icons/mixins.scss +27 -0
- package/lib/core-react/imagecheckbox/ImageCheckBox.d.ts +43 -0
- package/lib/core-react/imagecheckbox/ImageCheckBox.d.ts.map +1 -0
- package/lib/core-react/imagecheckbox/ImageCheckBox.js +49 -0
- package/lib/core-react/imagecheckbox/ImageCheckBox.js.map +1 -0
- package/lib/core-react/imagecheckbox/ImageCheckBox.scss +51 -0
- package/lib/core-react/index.scss +18 -0
- package/lib/core-react/inputs/Input.d.ts +21 -0
- package/lib/core-react/inputs/Input.d.ts.map +1 -0
- package/lib/core-react/inputs/Input.js +42 -0
- package/lib/core-react/inputs/Input.js.map +1 -0
- package/lib/core-react/inputs/InputLabel.d.ts +23 -0
- package/lib/core-react/inputs/InputLabel.d.ts.map +1 -0
- package/lib/core-react/inputs/InputLabel.js +33 -0
- package/lib/core-react/inputs/InputLabel.js.map +1 -0
- package/lib/core-react/inputs/InputStatus.d.ts.map +1 -0
- package/lib/core-react/inputs/InputStatus.js.map +1 -0
- package/lib/core-react/inputs/LabeledComponentProps.d.ts +36 -0
- package/lib/core-react/inputs/LabeledComponentProps.d.ts.map +1 -0
- package/lib/core-react/inputs/LabeledComponentProps.js.map +1 -0
- package/lib/core-react/inputs/classes.scss +12 -0
- package/lib/core-react/inputs/iconinput/IconInput.d.ts +26 -0
- package/lib/core-react/inputs/iconinput/IconInput.d.ts.map +1 -0
- package/lib/core-react/inputs/iconinput/IconInput.js +29 -0
- package/lib/core-react/inputs/iconinput/IconInput.js.map +1 -0
- package/lib/core-react/inputs/iconinput/IconInput.scss +33 -0
- package/lib/core-react/inputs/index.scss +9 -0
- package/lib/core-react/inputs/input-label.scss +95 -0
- package/lib/core-react/inputs/input.scss +56 -0
- package/lib/core-react/inputs/numberinput/NumberInput.d.ts.map +1 -0
- package/lib/core-react/inputs/numberinput/NumberInput.js +160 -0
- package/lib/core-react/inputs/numberinput/NumberInput.js.map +1 -0
- package/lib/core-react/inputs/numberinput/NumberInput.scss +88 -0
- package/lib/core-react/inputs/variables.scss +41 -0
- package/lib/core-react/l10n/LocalizationProvider.d.ts.map +1 -0
- package/lib/core-react/l10n/LocalizationProvider.js.map +1 -0
- package/lib/core-react/l10n/usePackageTranslation.d.ts.map +1 -0
- package/lib/core-react/l10n/usePackageTranslation.js +60 -0
- package/lib/core-react/l10n/usePackageTranslation.js.map +1 -0
- package/lib/core-react/l10n/useTranslation.d.ts.map +1 -0
- package/lib/core-react/l10n/useTranslation.js +26 -0
- package/lib/core-react/l10n/useTranslation.js.map +1 -0
- package/lib/core-react/layout-variables.scss +15 -0
- package/lib/core-react/listbox/Listbox.d.ts.map +1 -0
- package/lib/core-react/listbox/Listbox.js.map +1 -0
- package/lib/core-react/listbox/Listbox.scss +54 -0
- package/lib/core-react/loading/LoadingBar.d.ts +31 -0
- package/lib/core-react/loading/LoadingBar.d.ts.map +1 -0
- package/lib/core-react/loading/LoadingBar.js.map +1 -0
- package/lib/core-react/loading/LoadingBar.scss +27 -0
- package/lib/core-react/loading/LoadingPrompt.d.ts +41 -0
- package/lib/core-react/loading/LoadingPrompt.d.ts.map +1 -0
- package/lib/core-react/loading/LoadingPrompt.js +41 -0
- package/lib/core-react/loading/LoadingPrompt.js.map +1 -0
- package/lib/core-react/loading/LoadingPrompt.scss +29 -0
- package/lib/core-react/loading/LoadingSpinner.d.ts.map +1 -0
- package/lib/core-react/loading/LoadingSpinner.js.map +1 -0
- package/lib/core-react/loading/LoadingSpinner.scss +24 -0
- package/lib/core-react/loading/LoadingStatus.d.ts +26 -0
- package/lib/core-react/loading/LoadingStatus.d.ts.map +1 -0
- package/lib/core-react/loading/LoadingStatus.js.map +1 -0
- package/lib/core-react/loading/index.scss +5 -0
- package/lib/core-react/loading/mixins.scss +57 -0
- package/lib/core-react/messagebox/MessageBox.d.ts +90 -0
- package/lib/core-react/messagebox/MessageBox.d.ts.map +1 -0
- package/lib/core-react/messagebox/MessageBox.js +105 -0
- package/lib/core-react/messagebox/MessageBox.js.map +1 -0
- package/lib/core-react/messagebox/MessageBox.scss +55 -0
- package/lib/core-react/notification/MessageRenderer.d.ts +22 -0
- package/lib/core-react/notification/MessageRenderer.d.ts.map +1 -0
- package/lib/core-react/notification/MessageRenderer.js +83 -0
- package/lib/core-react/notification/MessageRenderer.js.map +1 -0
- package/lib/core-react/notification/MessageType.d.ts.map +1 -0
- package/lib/core-react/notification/MessageType.js.map +1 -0
- package/lib/core-react/popup/Popup.d.ts +128 -0
- package/lib/core-react/popup/Popup.d.ts.map +1 -0
- package/lib/core-react/popup/Popup.js +466 -0
- package/lib/core-react/popup/Popup.js.map +1 -0
- package/lib/core-react/popup/Popup.scss +239 -0
- package/lib/core-react/radialmenu/Annulus.d.ts +54 -0
- package/lib/core-react/radialmenu/Annulus.d.ts.map +1 -0
- package/lib/core-react/radialmenu/Annulus.js +75 -0
- package/lib/core-react/radialmenu/Annulus.js.map +1 -0
- package/lib/core-react/radialmenu/RadialMenu.d.ts +96 -0
- package/lib/core-react/radialmenu/RadialMenu.d.ts.map +1 -0
- package/lib/core-react/radialmenu/RadialMenu.js +183 -0
- package/lib/core-react/radialmenu/RadialMenu.js.map +1 -0
- package/lib/core-react/radialmenu/RadialMenu.scss +55 -0
- package/lib/core-react/searchbox/SearchBox.d.ts +51 -0
- package/lib/core-react/searchbox/SearchBox.d.ts.map +1 -0
- package/lib/core-react/searchbox/SearchBox.js +115 -0
- package/lib/core-react/searchbox/SearchBox.js.map +1 -0
- package/lib/core-react/searchbox/SearchBox.scss +45 -0
- package/lib/core-react/settings/SettingsContainer.d.ts +35 -0
- package/lib/core-react/settings/SettingsContainer.d.ts.map +1 -0
- package/lib/core-react/settings/SettingsContainer.js +149 -0
- package/lib/core-react/settings/SettingsContainer.js.map +1 -0
- package/lib/core-react/settings/SettingsContainer.scss +65 -0
- package/lib/core-react/settings/SettingsManager.d.ts.map +1 -0
- package/lib/core-react/settings/SettingsManager.js +112 -0
- package/lib/core-react/settings/SettingsManager.js.map +1 -0
- package/lib/core-react/style/index.scss +10 -0
- package/lib/core-react/tabs/Tabs.d.ts +69 -0
- package/lib/core-react/tabs/Tabs.d.ts.map +1 -0
- package/lib/core-react/tabs/Tabs.js +117 -0
- package/lib/core-react/tabs/Tabs.js.map +1 -0
- package/lib/core-react/tabs/VerticalTabs.d.ts +11 -0
- package/lib/core-react/tabs/VerticalTabs.d.ts.map +1 -0
- package/lib/core-react/tabs/VerticalTabs.js +19 -0
- package/lib/core-react/tabs/VerticalTabs.js.map +1 -0
- package/lib/core-react/tabs/classes.scss +9 -0
- package/lib/core-react/tabs/index.scss +5 -0
- package/lib/core-react/tabs/tabs.scss +99 -0
- package/lib/core-react/tabs/vertical.scss +53 -0
- package/lib/core-react/text/BlockText.d.ts +11 -0
- package/lib/core-react/text/BlockText.d.ts.map +1 -0
- package/lib/core-react/text/BlockText.js +19 -0
- package/lib/core-react/text/BlockText.js.map +1 -0
- package/lib/core-react/text/BodyText.d.ts +11 -0
- package/lib/core-react/text/BodyText.d.ts.map +1 -0
- package/lib/core-react/text/BodyText.js +19 -0
- package/lib/core-react/text/BodyText.js.map +1 -0
- package/lib/core-react/text/DisabledText.d.ts +11 -0
- package/lib/core-react/text/DisabledText.d.ts.map +1 -0
- package/lib/core-react/text/DisabledText.js +18 -0
- package/lib/core-react/text/DisabledText.js.map +1 -0
- package/lib/core-react/text/FilteredText.d.ts +27 -0
- package/lib/core-react/text/FilteredText.d.ts.map +1 -0
- package/lib/core-react/text/FilteredText.js.map +1 -0
- package/lib/core-react/text/FilteredText.scss +8 -0
- package/lib/core-react/text/MutedText.d.ts +11 -0
- package/lib/core-react/text/MutedText.d.ts.map +1 -0
- package/lib/core-react/text/MutedText.js +19 -0
- package/lib/core-react/text/MutedText.js.map +1 -0
- package/lib/core-react/text/StyledText.d.ts +19 -0
- package/lib/core-react/text/StyledText.d.ts.map +1 -0
- package/lib/core-react/text/StyledText.js.map +1 -0
- package/lib/core-react/text/TextProps.d.ts +12 -0
- package/lib/core-react/text/TextProps.d.ts.map +1 -0
- package/lib/core-react/text/TextProps.js.map +1 -0
- package/lib/core-react/text/classes.scss +18 -0
- package/lib/core-react/text/disabled.scss +7 -0
- package/lib/core-react/text/index.scss +10 -0
- package/lib/core-react/text/mixins.scss +26 -0
- package/lib/core-react/text/muted.scss +7 -0
- package/lib/core-react/tree/Branch.d.ts +22 -0
- package/lib/core-react/tree/Branch.d.ts.map +1 -0
- package/lib/core-react/tree/Branch.js.map +1 -0
- package/lib/core-react/tree/ExpansionToggle.d.ts +21 -0
- package/lib/core-react/tree/ExpansionToggle.d.ts.map +1 -0
- package/lib/core-react/tree/ExpansionToggle.js +27 -0
- package/lib/core-react/tree/ExpansionToggle.js.map +1 -0
- package/lib/core-react/tree/Node.d.ts +84 -0
- package/lib/core-react/tree/Node.d.ts.map +1 -0
- package/lib/core-react/tree/Node.js +88 -0
- package/lib/core-react/tree/Node.js.map +1 -0
- package/lib/core-react/tree/Placeholder.d.ts +25 -0
- package/lib/core-react/tree/Placeholder.d.ts.map +1 -0
- package/lib/core-react/tree/Placeholder.js +30 -0
- package/lib/core-react/tree/Placeholder.js.map +1 -0
- package/lib/core-react/tree/Tree.d.ts +31 -0
- package/lib/core-react/tree/Tree.d.ts.map +1 -0
- package/lib/core-react/tree/Tree.js +105 -0
- package/lib/core-react/tree/Tree.js.map +1 -0
- package/lib/core-react/uistate/LocalStateStorage.d.ts +17 -0
- package/lib/core-react/uistate/LocalStateStorage.d.ts.map +1 -0
- package/lib/core-react/uistate/LocalStateStorage.js +48 -0
- package/lib/core-react/uistate/LocalStateStorage.js.map +1 -0
- package/lib/core-react/uistate/UiStateEntry.d.ts +32 -0
- package/lib/core-react/uistate/UiStateEntry.d.ts.map +1 -0
- package/lib/core-react/uistate/UiStateEntry.js +58 -0
- package/lib/core-react/uistate/UiStateEntry.js.map +1 -0
- package/lib/core-react/uistate/UiStateStorage.d.ts.map +1 -0
- package/lib/core-react/uistate/UiStateStorage.js.map +1 -0
- package/lib/core-react/utils/IconHelper.d.ts +27 -0
- package/lib/core-react/utils/IconHelper.d.ts.map +1 -0
- package/lib/core-react/utils/IconHelper.js +82 -0
- package/lib/core-react/utils/IconHelper.js.map +1 -0
- package/lib/core-react/utils/IconWebComponent.d.ts +13 -0
- package/lib/core-react/utils/IconWebComponent.d.ts.map +1 -0
- package/lib/core-react/utils/IconWebComponent.js +112 -0
- package/lib/core-react/utils/IconWebComponent.js.map +1 -0
- package/lib/core-react/utils/ListenerType.d.ts.map +1 -0
- package/lib/core-react/utils/ListenerType.js.map +1 -0
- package/lib/core-react/utils/Point.d.ts +36 -0
- package/lib/core-react/utils/Point.d.ts.map +1 -0
- package/lib/core-react/utils/Point.js +66 -0
- package/lib/core-react/utils/Point.js.map +1 -0
- package/lib/core-react/utils/PointProps.d.ts.map +1 -0
- package/lib/core-react/utils/PointProps.js.map +1 -0
- package/lib/core-react/utils/Props.d.ts.map +1 -0
- package/lib/core-react/utils/Props.js.map +1 -0
- package/lib/core-react/utils/Rectangle.d.ts +146 -0
- package/lib/core-react/utils/Rectangle.d.ts.map +1 -0
- package/lib/core-react/utils/Rectangle.js +276 -0
- package/lib/core-react/utils/Rectangle.js.map +1 -0
- package/lib/core-react/utils/ScrollPositionMaintainer.d.ts.map +1 -0
- package/lib/core-react/utils/ScrollPositionMaintainer.js.map +1 -0
- package/lib/core-react/utils/Size.d.ts +12 -0
- package/lib/core-react/utils/Size.d.ts.map +1 -0
- package/lib/core-react/utils/Size.js +9 -0
- package/lib/core-react/utils/Size.js.map +1 -0
- package/lib/core-react/utils/Timer.d.ts.map +1 -0
- package/lib/core-react/utils/Timer.js.map +1 -0
- package/lib/core-react/utils/flattenChildren.d.ts.map +1 -0
- package/lib/core-react/utils/flattenChildren.js.map +1 -0
- package/lib/core-react/utils/getBestBWContrastColor.d.ts.map +1 -0
- package/lib/core-react/utils/getBestBWContrastColor.js.map +1 -0
- package/lib/core-react/utils/getCssVariable.d.ts.map +1 -0
- package/lib/core-react/utils/getCssVariable.js.map +1 -0
- package/lib/core-react/utils/getDisplayName.d.ts.map +1 -0
- package/lib/core-react/utils/getDisplayName.js.map +1 -0
- package/lib/core-react/utils/getUserColor.d.ts.map +1 -0
- package/lib/core-react/utils/getUserColor.js.map +1 -0
- package/lib/core-react/utils/hooks/useCrossOriginPopup.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useCrossOriginPopup.js +99 -0
- package/lib/core-react/utils/hooks/useCrossOriginPopup.js.map +1 -0
- package/lib/core-react/utils/hooks/useDisposable.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useDisposable.js.map +1 -0
- package/lib/core-react/utils/hooks/useEffectSkipFirst.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useEffectSkipFirst.js.map +1 -0
- package/lib/core-react/utils/hooks/useInterval.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useInterval.js.map +1 -0
- package/lib/core-react/utils/hooks/useLifecycleLogging.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useLifecycleLogging.js.map +1 -0
- package/lib/core-react/utils/hooks/useOnOutsideClick.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useOnOutsideClick.js +99 -0
- package/lib/core-react/utils/hooks/useOnOutsideClick.js.map +1 -0
- package/lib/core-react/utils/hooks/useProximityToMouse.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useProximityToMouse.js +102 -0
- package/lib/core-react/utils/hooks/useProximityToMouse.js.map +1 -0
- package/lib/core-react/utils/hooks/useRefEffect.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useRefEffect.js.map +1 -0
- package/lib/core-react/utils/hooks/useRefState.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useRefState.js.map +1 -0
- package/lib/core-react/utils/hooks/useRefs.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useRefs.js.map +1 -0
- package/lib/core-react/utils/hooks/useResizeObserver.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useResizeObserver.js +201 -0
- package/lib/core-react/utils/hooks/useResizeObserver.js.map +1 -0
- package/lib/core-react/utils/hooks/useTargeted.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useTargeted.js.map +1 -0
- package/lib/core-react/utils/hooks/useThrottledFn.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useThrottledFn.js.map +1 -0
- package/lib/core-react/utils/hooks/useWidgetOpacityContext.d.ts +25 -0
- package/lib/core-react/utils/hooks/useWidgetOpacityContext.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useWidgetOpacityContext.js +32 -0
- package/lib/core-react/utils/hooks/useWidgetOpacityContext.js.map +1 -0
- package/lib/core-react/utils/matches.d.ts.map +1 -0
- package/lib/core-react/utils/matches.js.map +1 -0
- package/lib/core-react/utils/reuseOrCreatePromise.d.ts.map +1 -0
- package/lib/core-react/utils/reuseOrCreatePromise.js.map +1 -0
- package/lib/core-react/utils/shallowDiffers.d.ts.map +1 -0
- package/lib/core-react/utils/shallowDiffers.js.map +1 -0
- package/lib/core-react/utils/typeUtils.d.ts.map +1 -0
- package/lib/core-react/utils/typeUtils.js.map +1 -0
- package/lib/core-react.d.ts +218 -0
- package/lib/core-react.d.ts.map +1 -0
- package/lib/core-react.js +218 -0
- package/lib/core-react.js.map +1 -0
- package/lib/internal.d.ts +18 -0
- package/lib/internal.d.ts.map +1 -0
- package/lib/internal.js +20 -0
- package/lib/internal.js.map +1 -0
- package/package.json +34 -25
- package/lib/cjs/core-react/UiCore.d.ts +0 -38
- package/lib/cjs/core-react/UiCore.d.ts.map +0 -1
- package/lib/cjs/core-react/UiCore.js +0 -76
- package/lib/cjs/core-react/UiCore.js.map +0 -1
- package/lib/cjs/core-react/_helpers.scss +0 -52
- package/lib/cjs/core-react/_scrollbar.scss +0 -55
- package/lib/cjs/core-react/_typography.scss +0 -44
- package/lib/cjs/core-react/_z-index.scss +0 -47
- package/lib/cjs/core-react/autosuggest/AutoSuggest.d.ts +0 -99
- package/lib/cjs/core-react/autosuggest/AutoSuggest.d.ts.map +0 -1
- package/lib/cjs/core-react/autosuggest/AutoSuggest.js +0 -174
- package/lib/cjs/core-react/autosuggest/AutoSuggest.js.map +0 -1
- package/lib/cjs/core-react/autosuggest/AutoSuggest.scss +0 -79
- package/lib/cjs/core-react/badge/Badge.d.ts +0 -17
- package/lib/cjs/core-react/badge/Badge.d.ts.map +0 -1
- package/lib/cjs/core-react/badge/Badge.js +0 -29
- package/lib/cjs/core-react/badge/Badge.js.map +0 -1
- package/lib/cjs/core-react/badge/BadgeType.d.ts +0 -19
- package/lib/cjs/core-react/badge/BadgeType.d.ts.map +0 -1
- package/lib/cjs/core-react/badge/BadgeType.js +0 -17
- package/lib/cjs/core-react/badge/BadgeType.js.map +0 -1
- package/lib/cjs/core-react/badge/DeprecatedBadge.d.ts.map +0 -1
- package/lib/cjs/core-react/badge/DeprecatedBadge.js +0 -29
- package/lib/cjs/core-react/badge/DeprecatedBadge.js.map +0 -1
- package/lib/cjs/core-react/badge/NewBadge.d.ts.map +0 -1
- package/lib/cjs/core-react/badge/NewBadge.js +0 -23
- package/lib/cjs/core-react/badge/NewBadge.js.map +0 -1
- package/lib/cjs/core-react/badge/TechnicalPreviewBadge.d.ts.map +0 -1
- package/lib/cjs/core-react/badge/TechnicalPreviewBadge.js +0 -29
- package/lib/cjs/core-react/badge/TechnicalPreviewBadge.js.map +0 -1
- package/lib/cjs/core-react/base/Centered.d.ts +0 -12
- package/lib/cjs/core-react/base/Centered.d.ts.map +0 -1
- package/lib/cjs/core-react/base/Centered.js +0 -24
- package/lib/cjs/core-react/base/Centered.js.map +0 -1
- package/lib/cjs/core-react/base/Div.d.ts +0 -19
- package/lib/cjs/core-react/base/Div.d.ts.map +0 -1
- package/lib/cjs/core-react/base/Div.js +0 -23
- package/lib/cjs/core-react/base/Div.js.map +0 -1
- package/lib/cjs/core-react/base/DivWithOutsideClick.d.ts +0 -77
- package/lib/cjs/core-react/base/DivWithOutsideClick.d.ts.map +0 -1
- package/lib/cjs/core-react/base/DivWithOutsideClick.js +0 -20
- package/lib/cjs/core-react/base/DivWithOutsideClick.js.map +0 -1
- package/lib/cjs/core-react/base/FillCentered.d.ts +0 -12
- package/lib/cjs/core-react/base/FillCentered.d.ts.map +0 -1
- package/lib/cjs/core-react/base/FillCentered.js +0 -24
- package/lib/cjs/core-react/base/FillCentered.js.map +0 -1
- package/lib/cjs/core-react/base/FlexWrapContainer.d.ts +0 -13
- package/lib/cjs/core-react/base/FlexWrapContainer.d.ts.map +0 -1
- package/lib/cjs/core-react/base/FlexWrapContainer.js +0 -25
- package/lib/cjs/core-react/base/FlexWrapContainer.js.map +0 -1
- package/lib/cjs/core-react/base/Gap.d.ts +0 -18
- package/lib/cjs/core-react/base/Gap.d.ts.map +0 -1
- package/lib/cjs/core-react/base/Gap.js +0 -23
- package/lib/cjs/core-react/base/Gap.js.map +0 -1
- package/lib/cjs/core-react/base/PointerEvents.d.ts.map +0 -1
- package/lib/cjs/core-react/base/PointerEvents.js +0 -18
- package/lib/cjs/core-react/base/PointerEvents.js.map +0 -1
- package/lib/cjs/core-react/base/ScrollView.d.ts +0 -13
- package/lib/cjs/core-react/base/ScrollView.d.ts.map +0 -1
- package/lib/cjs/core-react/base/ScrollView.js +0 -25
- package/lib/cjs/core-react/base/ScrollView.js.map +0 -1
- package/lib/cjs/core-react/base/base.scss +0 -42
- package/lib/cjs/core-react/base/classes.scss +0 -27
- package/lib/cjs/core-react/base/index.scss +0 -5
- package/lib/cjs/core-react/button/UnderlinedButton.d.ts.map +0 -1
- package/lib/cjs/core-react/button/UnderlinedButton.js +0 -38
- package/lib/cjs/core-react/button/UnderlinedButton.js.map +0 -1
- package/lib/cjs/core-react/button/UnderlinedButton.scss +0 -32
- package/lib/cjs/core-react/checklistbox/CheckListBox.d.ts +0 -45
- package/lib/cjs/core-react/checklistbox/CheckListBox.d.ts.map +0 -1
- package/lib/cjs/core-react/checklistbox/CheckListBox.js +0 -50
- package/lib/cjs/core-react/checklistbox/CheckListBox.js.map +0 -1
- package/lib/cjs/core-react/classes.scss +0 -10
- package/lib/cjs/core-react/contextmenu/ContextMenu.d.ts +0 -91
- package/lib/cjs/core-react/contextmenu/ContextMenu.d.ts.map +0 -1
- package/lib/cjs/core-react/contextmenu/ContextMenu.js +0 -366
- package/lib/cjs/core-react/contextmenu/ContextMenu.js.map +0 -1
- package/lib/cjs/core-react/contextmenu/ContextMenu.scss +0 -231
- package/lib/cjs/core-react/contextmenu/ContextMenuDirection.d.ts.map +0 -1
- package/lib/cjs/core-react/contextmenu/ContextMenuDirection.js +0 -21
- package/lib/cjs/core-react/contextmenu/ContextMenuDirection.js.map +0 -1
- package/lib/cjs/core-react/contextmenu/ContextMenuDivider.d.ts +0 -13
- package/lib/cjs/core-react/contextmenu/ContextMenuDivider.d.ts.map +0 -1
- package/lib/cjs/core-react/contextmenu/ContextMenuDivider.js +0 -25
- package/lib/cjs/core-react/contextmenu/ContextMenuDivider.js.map +0 -1
- package/lib/cjs/core-react/contextmenu/ContextMenuItem.d.ts +0 -65
- package/lib/cjs/core-react/contextmenu/ContextMenuItem.d.ts.map +0 -1
- package/lib/cjs/core-react/contextmenu/ContextMenuItem.js +0 -111
- package/lib/cjs/core-react/contextmenu/ContextMenuItem.js.map +0 -1
- package/lib/cjs/core-react/contextmenu/ContextSubMenu.d.ts +0 -51
- package/lib/cjs/core-react/contextmenu/ContextSubMenu.d.ts.map +0 -1
- package/lib/cjs/core-react/contextmenu/ContextSubMenu.js +0 -177
- package/lib/cjs/core-react/contextmenu/ContextSubMenu.js.map +0 -1
- package/lib/cjs/core-react/contextmenu/GlobalContextMenu.d.ts +0 -36
- package/lib/cjs/core-react/contextmenu/GlobalContextMenu.d.ts.map +0 -1
- package/lib/cjs/core-react/contextmenu/GlobalContextMenu.js +0 -63
- package/lib/cjs/core-react/contextmenu/GlobalContextMenu.js.map +0 -1
- package/lib/cjs/core-react/contextmenu/PopupContextMenu.d.ts +0 -57
- package/lib/cjs/core-react/contextmenu/PopupContextMenu.d.ts.map +0 -1
- package/lib/cjs/core-react/contextmenu/PopupContextMenu.js +0 -58
- package/lib/cjs/core-react/contextmenu/PopupContextMenu.js.map +0 -1
- package/lib/cjs/core-react/contextmenu/TildeFinder.d.ts.map +0 -1
- package/lib/cjs/core-react/contextmenu/TildeFinder.js +0 -79
- package/lib/cjs/core-react/contextmenu/TildeFinder.js.map +0 -1
- package/lib/cjs/core-react/dialog/Dialog.d.ts +0 -112
- package/lib/cjs/core-react/dialog/Dialog.d.ts.map +0 -1
- package/lib/cjs/core-react/dialog/Dialog.js +0 -209
- package/lib/cjs/core-react/dialog/Dialog.js.map +0 -1
- package/lib/cjs/core-react/dialog/Dialog.scss +0 -57
- package/lib/cjs/core-react/dialog/GlobalDialog.d.ts +0 -32
- package/lib/cjs/core-react/dialog/GlobalDialog.d.ts.map +0 -1
- package/lib/cjs/core-react/dialog/GlobalDialog.js +0 -61
- package/lib/cjs/core-react/dialog/GlobalDialog.js.map +0 -1
- package/lib/cjs/core-react/elementseparator/ElementSeparator.d.ts +0 -44
- package/lib/cjs/core-react/elementseparator/ElementSeparator.d.ts.map +0 -1
- package/lib/cjs/core-react/elementseparator/ElementSeparator.js +0 -167
- package/lib/cjs/core-react/elementseparator/ElementSeparator.js.map +0 -1
- package/lib/cjs/core-react/elementseparator/ElementSeparator.scss +0 -96
- package/lib/cjs/core-react/enums/Alignment.d.ts.map +0 -1
- package/lib/cjs/core-react/enums/Alignment.js +0 -34
- package/lib/cjs/core-react/enums/Alignment.js.map +0 -1
- package/lib/cjs/core-react/enums/CheckBoxState.d.ts.map +0 -1
- package/lib/cjs/core-react/enums/CheckBoxState.js +0 -21
- package/lib/cjs/core-react/enums/CheckBoxState.js.map +0 -1
- package/lib/cjs/core-react/enums/Orientation.d.ts.map +0 -1
- package/lib/cjs/core-react/enums/Orientation.js +0 -21
- package/lib/cjs/core-react/enums/Orientation.js.map +0 -1
- package/lib/cjs/core-react/enums/SortDirection.d.ts.map +0 -1
- package/lib/cjs/core-react/enums/SortDirection.js +0 -22
- package/lib/cjs/core-react/enums/SortDirection.js.map +0 -1
- package/lib/cjs/core-react/enums/TimeFormat.d.ts.map +0 -1
- package/lib/cjs/core-react/enums/TimeFormat.js +0 -24
- package/lib/cjs/core-react/enums/TimeFormat.js.map +0 -1
- package/lib/cjs/core-react/expandable/ExpandableList.d.ts +0 -37
- package/lib/cjs/core-react/expandable/ExpandableList.d.ts.map +0 -1
- package/lib/cjs/core-react/expandable/ExpandableList.js +0 -62
- package/lib/cjs/core-react/expandable/ExpandableList.js.map +0 -1
- package/lib/cjs/core-react/focus/ItemKeyboardNavigator.d.ts +0 -53
- package/lib/cjs/core-react/focus/ItemKeyboardNavigator.d.ts.map +0 -1
- package/lib/cjs/core-react/focus/ItemKeyboardNavigator.js +0 -178
- package/lib/cjs/core-react/focus/ItemKeyboardNavigator.js.map +0 -1
- package/lib/cjs/core-react/focustrap/FocusTrap.d.ts.map +0 -1
- package/lib/cjs/core-react/focustrap/FocusTrap.js +0 -201
- package/lib/cjs/core-react/focustrap/FocusTrap.js.map +0 -1
- package/lib/cjs/core-react/hocs/withIsPressed.d.ts.map +0 -1
- package/lib/cjs/core-react/hocs/withIsPressed.js +0 -45
- package/lib/cjs/core-react/hocs/withIsPressed.js.map +0 -1
- package/lib/cjs/core-react/hocs/withOnOutsideClick.d.ts.map +0 -1
- package/lib/cjs/core-react/hocs/withOnOutsideClick.js +0 -114
- package/lib/cjs/core-react/hocs/withOnOutsideClick.js.map +0 -1
- package/lib/cjs/core-react/hocs/withTimeout.d.ts +0 -73
- package/lib/cjs/core-react/hocs/withTimeout.d.ts.map +0 -1
- package/lib/cjs/core-react/hocs/withTimeout.js +0 -48
- package/lib/cjs/core-react/hocs/withTimeout.js.map +0 -1
- package/lib/cjs/core-react/icons/ConditionalIconItem.d.ts +0 -28
- package/lib/cjs/core-react/icons/ConditionalIconItem.d.ts.map +0 -1
- package/lib/cjs/core-react/icons/ConditionalIconItem.js +0 -65
- package/lib/cjs/core-react/icons/ConditionalIconItem.js.map +0 -1
- package/lib/cjs/core-react/icons/IconComponent.d.ts +0 -34
- package/lib/cjs/core-react/icons/IconComponent.d.ts.map +0 -1
- package/lib/cjs/core-react/icons/IconComponent.js +0 -81
- package/lib/cjs/core-react/icons/IconComponent.js.map +0 -1
- package/lib/cjs/core-react/icons/IconComponent.scss +0 -19
- package/lib/cjs/core-react/icons/SvgPath.d.ts +0 -26
- package/lib/cjs/core-react/icons/SvgPath.d.ts.map +0 -1
- package/lib/cjs/core-react/icons/SvgPath.js +0 -30
- package/lib/cjs/core-react/icons/SvgPath.js.map +0 -1
- package/lib/cjs/core-react/icons/WebFontIcon.d.ts +0 -28
- package/lib/cjs/core-react/icons/WebFontIcon.d.ts.map +0 -1
- package/lib/cjs/core-react/icons/WebFontIcon.js +0 -24
- package/lib/cjs/core-react/icons/WebFontIcon.js.map +0 -1
- package/lib/cjs/core-react/icons/WebFontIcon.scss +0 -17
- package/lib/cjs/core-react/icons/classes.scss +0 -18
- package/lib/cjs/core-react/icons/index.scss +0 -6
- package/lib/cjs/core-react/icons/mixins.scss +0 -25
- package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.d.ts +0 -43
- package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.d.ts.map +0 -1
- package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.js +0 -53
- package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.js.map +0 -1
- package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.scss +0 -54
- package/lib/cjs/core-react/index.scss +0 -20
- package/lib/cjs/core-react/inputs/Input.d.ts +0 -21
- package/lib/cjs/core-react/inputs/Input.d.ts.map +0 -1
- package/lib/cjs/core-react/inputs/Input.js +0 -45
- package/lib/cjs/core-react/inputs/Input.js.map +0 -1
- package/lib/cjs/core-react/inputs/InputLabel.d.ts +0 -23
- package/lib/cjs/core-react/inputs/InputLabel.d.ts.map +0 -1
- package/lib/cjs/core-react/inputs/InputLabel.js +0 -37
- package/lib/cjs/core-react/inputs/InputLabel.js.map +0 -1
- package/lib/cjs/core-react/inputs/InputStatus.d.ts.map +0 -1
- package/lib/cjs/core-react/inputs/InputStatus.js +0 -21
- package/lib/cjs/core-react/inputs/InputStatus.js.map +0 -1
- package/lib/cjs/core-react/inputs/LabeledComponentProps.d.ts +0 -36
- package/lib/cjs/core-react/inputs/LabeledComponentProps.d.ts.map +0 -1
- package/lib/cjs/core-react/inputs/LabeledComponentProps.js +0 -10
- package/lib/cjs/core-react/inputs/LabeledComponentProps.js.map +0 -1
- package/lib/cjs/core-react/inputs/classes.scss +0 -12
- package/lib/cjs/core-react/inputs/iconinput/IconInput.d.ts +0 -26
- package/lib/cjs/core-react/inputs/iconinput/IconInput.d.ts.map +0 -1
- package/lib/cjs/core-react/inputs/iconinput/IconInput.js +0 -32
- package/lib/cjs/core-react/inputs/iconinput/IconInput.js.map +0 -1
- package/lib/cjs/core-react/inputs/iconinput/IconInput.scss +0 -34
- package/lib/cjs/core-react/inputs/index.scss +0 -9
- package/lib/cjs/core-react/inputs/input-label.scss +0 -89
- package/lib/cjs/core-react/inputs/input.scss +0 -54
- package/lib/cjs/core-react/inputs/numberinput/NumberInput.d.ts.map +0 -1
- package/lib/cjs/core-react/inputs/numberinput/NumberInput.js +0 -163
- package/lib/cjs/core-react/inputs/numberinput/NumberInput.js.map +0 -1
- package/lib/cjs/core-react/inputs/numberinput/NumberInput.scss +0 -88
- package/lib/cjs/core-react/inputs/variables.scss +0 -36
- package/lib/cjs/core-react/l10n/LocalizationProvider.d.ts.map +0 -1
- package/lib/cjs/core-react/l10n/LocalizationProvider.js +0 -30
- package/lib/cjs/core-react/l10n/LocalizationProvider.js.map +0 -1
- package/lib/cjs/core-react/l10n/usePackageTranslation.d.ts.map +0 -1
- package/lib/cjs/core-react/l10n/usePackageTranslation.js +0 -64
- package/lib/cjs/core-react/l10n/usePackageTranslation.js.map +0 -1
- package/lib/cjs/core-react/l10n/useTranslation.d.ts.map +0 -1
- package/lib/cjs/core-react/l10n/useTranslation.js +0 -30
- package/lib/cjs/core-react/l10n/useTranslation.js.map +0 -1
- package/lib/cjs/core-react/layout-variables.scss +0 -15
- package/lib/cjs/core-react/listbox/Listbox.d.ts.map +0 -1
- package/lib/cjs/core-react/listbox/Listbox.js +0 -220
- package/lib/cjs/core-react/listbox/Listbox.js.map +0 -1
- package/lib/cjs/core-react/listbox/Listbox.scss +0 -54
- package/lib/cjs/core-react/loading/LoadingBar.d.ts +0 -31
- package/lib/cjs/core-react/loading/LoadingBar.d.ts.map +0 -1
- package/lib/cjs/core-react/loading/LoadingBar.js +0 -41
- package/lib/cjs/core-react/loading/LoadingBar.js.map +0 -1
- package/lib/cjs/core-react/loading/LoadingBar.scss +0 -29
- package/lib/cjs/core-react/loading/LoadingPrompt.d.ts +0 -41
- package/lib/cjs/core-react/loading/LoadingPrompt.d.ts.map +0 -1
- package/lib/cjs/core-react/loading/LoadingPrompt.js +0 -45
- package/lib/cjs/core-react/loading/LoadingPrompt.js.map +0 -1
- package/lib/cjs/core-react/loading/LoadingPrompt.scss +0 -33
- package/lib/cjs/core-react/loading/LoadingSpinner.d.ts.map +0 -1
- package/lib/cjs/core-react/loading/LoadingSpinner.js +0 -31
- package/lib/cjs/core-react/loading/LoadingSpinner.js.map +0 -1
- package/lib/cjs/core-react/loading/LoadingSpinner.scss +0 -26
- package/lib/cjs/core-react/loading/LoadingStatus.d.ts +0 -26
- package/lib/cjs/core-react/loading/LoadingStatus.d.ts.map +0 -1
- package/lib/cjs/core-react/loading/LoadingStatus.js +0 -38
- package/lib/cjs/core-react/loading/LoadingStatus.js.map +0 -1
- package/lib/cjs/core-react/loading/index.scss +0 -5
- package/lib/cjs/core-react/loading/mixins.scss +0 -57
- package/lib/cjs/core-react/messagebox/MessageBox.d.ts +0 -90
- package/lib/cjs/core-react/messagebox/MessageBox.d.ts.map +0 -1
- package/lib/cjs/core-react/messagebox/MessageBox.js +0 -110
- package/lib/cjs/core-react/messagebox/MessageBox.js.map +0 -1
- package/lib/cjs/core-react/messagebox/MessageBox.scss +0 -56
- package/lib/cjs/core-react/notification/MessageRenderer.d.ts +0 -22
- package/lib/cjs/core-react/notification/MessageRenderer.d.ts.map +0 -1
- package/lib/cjs/core-react/notification/MessageRenderer.js +0 -87
- package/lib/cjs/core-react/notification/MessageRenderer.js.map +0 -1
- package/lib/cjs/core-react/notification/MessageType.d.ts.map +0 -1
- package/lib/cjs/core-react/notification/MessageType.js +0 -25
- package/lib/cjs/core-react/notification/MessageType.js.map +0 -1
- package/lib/cjs/core-react/popup/Popup.d.ts +0 -128
- package/lib/cjs/core-react/popup/Popup.d.ts.map +0 -1
- package/lib/cjs/core-react/popup/Popup.js +0 -470
- package/lib/cjs/core-react/popup/Popup.js.map +0 -1
- package/lib/cjs/core-react/popup/Popup.scss +0 -240
- package/lib/cjs/core-react/radialmenu/Annulus.d.ts +0 -54
- package/lib/cjs/core-react/radialmenu/Annulus.d.ts.map +0 -1
- package/lib/cjs/core-react/radialmenu/Annulus.js +0 -82
- package/lib/cjs/core-react/radialmenu/Annulus.js.map +0 -1
- package/lib/cjs/core-react/radialmenu/RadialMenu.d.ts +0 -96
- package/lib/cjs/core-react/radialmenu/RadialMenu.d.ts.map +0 -1
- package/lib/cjs/core-react/radialmenu/RadialMenu.js +0 -188
- package/lib/cjs/core-react/radialmenu/RadialMenu.js.map +0 -1
- package/lib/cjs/core-react/radialmenu/RadialMenu.scss +0 -56
- package/lib/cjs/core-react/searchbox/SearchBox.d.ts +0 -51
- package/lib/cjs/core-react/searchbox/SearchBox.d.ts.map +0 -1
- package/lib/cjs/core-react/searchbox/SearchBox.js +0 -119
- package/lib/cjs/core-react/searchbox/SearchBox.js.map +0 -1
- package/lib/cjs/core-react/searchbox/SearchBox.scss +0 -47
- package/lib/cjs/core-react/settings/SettingsContainer.d.ts +0 -35
- package/lib/cjs/core-react/settings/SettingsContainer.d.ts.map +0 -1
- package/lib/cjs/core-react/settings/SettingsContainer.js +0 -155
- package/lib/cjs/core-react/settings/SettingsContainer.js.map +0 -1
- package/lib/cjs/core-react/settings/SettingsContainer.scss +0 -68
- package/lib/cjs/core-react/settings/SettingsManager.d.ts.map +0 -1
- package/lib/cjs/core-react/settings/SettingsManager.js +0 -120
- package/lib/cjs/core-react/settings/SettingsManager.js.map +0 -1
- package/lib/cjs/core-react/style/index.scss +0 -10
- package/lib/cjs/core-react/tabs/Tabs.d.ts +0 -69
- package/lib/cjs/core-react/tabs/Tabs.d.ts.map +0 -1
- package/lib/cjs/core-react/tabs/Tabs.js +0 -121
- package/lib/cjs/core-react/tabs/Tabs.js.map +0 -1
- package/lib/cjs/core-react/tabs/VerticalTabs.d.ts +0 -11
- package/lib/cjs/core-react/tabs/VerticalTabs.d.ts.map +0 -1
- package/lib/cjs/core-react/tabs/VerticalTabs.js +0 -23
- package/lib/cjs/core-react/tabs/VerticalTabs.js.map +0 -1
- package/lib/cjs/core-react/tabs/classes.scss +0 -9
- package/lib/cjs/core-react/tabs/index.scss +0 -5
- package/lib/cjs/core-react/tabs/tabs.scss +0 -96
- package/lib/cjs/core-react/tabs/vertical.scss +0 -51
- package/lib/cjs/core-react/text/BlockText.d.ts +0 -11
- package/lib/cjs/core-react/text/BlockText.d.ts.map +0 -1
- package/lib/cjs/core-react/text/BlockText.js +0 -23
- package/lib/cjs/core-react/text/BlockText.js.map +0 -1
- package/lib/cjs/core-react/text/BodyText.d.ts +0 -11
- package/lib/cjs/core-react/text/BodyText.d.ts.map +0 -1
- package/lib/cjs/core-react/text/BodyText.js +0 -23
- package/lib/cjs/core-react/text/BodyText.js.map +0 -1
- package/lib/cjs/core-react/text/DisabledText.d.ts +0 -11
- package/lib/cjs/core-react/text/DisabledText.d.ts.map +0 -1
- package/lib/cjs/core-react/text/DisabledText.js +0 -22
- package/lib/cjs/core-react/text/DisabledText.js.map +0 -1
- package/lib/cjs/core-react/text/FilteredText.d.ts +0 -27
- package/lib/cjs/core-react/text/FilteredText.d.ts.map +0 -1
- package/lib/cjs/core-react/text/FilteredText.js +0 -40
- package/lib/cjs/core-react/text/FilteredText.js.map +0 -1
- package/lib/cjs/core-react/text/FilteredText.scss +0 -10
- package/lib/cjs/core-react/text/MutedText.d.ts +0 -11
- package/lib/cjs/core-react/text/MutedText.d.ts.map +0 -1
- package/lib/cjs/core-react/text/MutedText.js +0 -23
- package/lib/cjs/core-react/text/MutedText.js.map +0 -1
- package/lib/cjs/core-react/text/StyledText.d.ts +0 -19
- package/lib/cjs/core-react/text/StyledText.d.ts.map +0 -1
- package/lib/cjs/core-react/text/StyledText.js +0 -22
- package/lib/cjs/core-react/text/StyledText.js.map +0 -1
- package/lib/cjs/core-react/text/TextProps.d.ts +0 -12
- package/lib/cjs/core-react/text/TextProps.d.ts.map +0 -1
- package/lib/cjs/core-react/text/TextProps.js +0 -10
- package/lib/cjs/core-react/text/TextProps.js.map +0 -1
- package/lib/cjs/core-react/text/classes.scss +0 -18
- package/lib/cjs/core-react/text/disabled.scss +0 -9
- package/lib/cjs/core-react/text/index.scss +0 -10
- package/lib/cjs/core-react/text/mixins.scss +0 -24
- package/lib/cjs/core-react/text/muted.scss +0 -9
- package/lib/cjs/core-react/tree/Branch.d.ts +0 -22
- package/lib/cjs/core-react/tree/Branch.d.ts.map +0 -1
- package/lib/cjs/core-react/tree/Branch.js +0 -26
- package/lib/cjs/core-react/tree/Branch.js.map +0 -1
- package/lib/cjs/core-react/tree/ExpansionToggle.d.ts +0 -21
- package/lib/cjs/core-react/tree/ExpansionToggle.d.ts.map +0 -1
- package/lib/cjs/core-react/tree/ExpansionToggle.js +0 -31
- package/lib/cjs/core-react/tree/ExpansionToggle.js.map +0 -1
- package/lib/cjs/core-react/tree/Node.d.ts +0 -84
- package/lib/cjs/core-react/tree/Node.d.ts.map +0 -1
- package/lib/cjs/core-react/tree/Node.js +0 -92
- package/lib/cjs/core-react/tree/Node.js.map +0 -1
- package/lib/cjs/core-react/tree/Placeholder.d.ts +0 -25
- package/lib/cjs/core-react/tree/Placeholder.d.ts.map +0 -1
- package/lib/cjs/core-react/tree/Placeholder.js +0 -34
- package/lib/cjs/core-react/tree/Placeholder.js.map +0 -1
- package/lib/cjs/core-react/tree/Tree.d.ts +0 -31
- package/lib/cjs/core-react/tree/Tree.d.ts.map +0 -1
- package/lib/cjs/core-react/tree/Tree.js +0 -109
- package/lib/cjs/core-react/tree/Tree.js.map +0 -1
- package/lib/cjs/core-react/uistate/LocalStateStorage.d.ts +0 -17
- package/lib/cjs/core-react/uistate/LocalStateStorage.d.ts.map +0 -1
- package/lib/cjs/core-react/uistate/LocalStateStorage.js +0 -52
- package/lib/cjs/core-react/uistate/LocalStateStorage.js.map +0 -1
- package/lib/cjs/core-react/uistate/UiStateEntry.d.ts +0 -32
- package/lib/cjs/core-react/uistate/UiStateEntry.d.ts.map +0 -1
- package/lib/cjs/core-react/uistate/UiStateEntry.js +0 -62
- package/lib/cjs/core-react/uistate/UiStateEntry.js.map +0 -1
- package/lib/cjs/core-react/uistate/UiStateStorage.d.ts.map +0 -1
- package/lib/cjs/core-react/uistate/UiStateStorage.js +0 -23
- package/lib/cjs/core-react/uistate/UiStateStorage.js.map +0 -1
- package/lib/cjs/core-react/utils/IconHelper.d.ts +0 -27
- package/lib/cjs/core-react/utils/IconHelper.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/IconHelper.js +0 -86
- package/lib/cjs/core-react/utils/IconHelper.js.map +0 -1
- package/lib/cjs/core-react/utils/IconWebComponent.d.ts +0 -13
- package/lib/cjs/core-react/utils/IconWebComponent.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/IconWebComponent.js +0 -117
- package/lib/cjs/core-react/utils/IconWebComponent.js.map +0 -1
- package/lib/cjs/core-react/utils/ListenerType.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/ListenerType.js +0 -3
- package/lib/cjs/core-react/utils/ListenerType.js.map +0 -1
- package/lib/cjs/core-react/utils/Point.d.ts +0 -38
- package/lib/cjs/core-react/utils/Point.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/Point.js +0 -74
- package/lib/cjs/core-react/utils/Point.js.map +0 -1
- package/lib/cjs/core-react/utils/PointProps.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/PointProps.js +0 -3
- package/lib/cjs/core-react/utils/PointProps.js.map +0 -1
- package/lib/cjs/core-react/utils/Props.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/Props.js +0 -10
- package/lib/cjs/core-react/utils/Props.js.map +0 -1
- package/lib/cjs/core-react/utils/Rectangle.d.ts +0 -147
- package/lib/cjs/core-react/utils/Rectangle.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/Rectangle.js +0 -279
- package/lib/cjs/core-react/utils/Rectangle.js.map +0 -1
- package/lib/cjs/core-react/utils/ScrollPositionMaintainer.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/ScrollPositionMaintainer.js +0 -40
- package/lib/cjs/core-react/utils/ScrollPositionMaintainer.js.map +0 -1
- package/lib/cjs/core-react/utils/Size.d.ts +0 -25
- package/lib/cjs/core-react/utils/Size.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/Size.js +0 -32
- package/lib/cjs/core-react/utils/Size.js.map +0 -1
- package/lib/cjs/core-react/utils/Timer.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/Timer.js +0 -67
- package/lib/cjs/core-react/utils/Timer.js.map +0 -1
- package/lib/cjs/core-react/utils/UiGeometry.d.ts +0 -21
- package/lib/cjs/core-react/utils/UiGeometry.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/UiGeometry.js +0 -33
- package/lib/cjs/core-react/utils/UiGeometry.js.map +0 -1
- package/lib/cjs/core-react/utils/flattenChildren.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/flattenChildren.js +0 -27
- package/lib/cjs/core-react/utils/flattenChildren.js.map +0 -1
- package/lib/cjs/core-react/utils/getBestBWContrastColor.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/getBestBWContrastColor.js +0 -23
- package/lib/cjs/core-react/utils/getBestBWContrastColor.js.map +0 -1
- package/lib/cjs/core-react/utils/getCssVariable.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/getCssVariable.js +0 -35
- package/lib/cjs/core-react/utils/getCssVariable.js.map +0 -1
- package/lib/cjs/core-react/utils/getDisplayName.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/getDisplayName.js +0 -22
- package/lib/cjs/core-react/utils/getDisplayName.js.map +0 -1
- package/lib/cjs/core-react/utils/getObjectClassName.d.ts +0 -9
- package/lib/cjs/core-react/utils/getObjectClassName.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/getObjectClassName.js +0 -23
- package/lib/cjs/core-react/utils/getObjectClassName.js.map +0 -1
- package/lib/cjs/core-react/utils/getUserColor.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/getUserColor.js +0 -40
- package/lib/cjs/core-react/utils/getUserColor.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/ResizeObserverPolyfill.d.ts +0 -8
- package/lib/cjs/core-react/utils/hooks/ResizeObserverPolyfill.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/ResizeObserverPolyfill.js +0 -22
- package/lib/cjs/core-react/utils/hooks/ResizeObserverPolyfill.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useCrossOriginPopup.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useCrossOriginPopup.js +0 -103
- package/lib/cjs/core-react/utils/hooks/useCrossOriginPopup.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useDisposable.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useDisposable.js +0 -57
- package/lib/cjs/core-react/utils/hooks/useDisposable.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useEffectSkipFirst.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useEffectSkipFirst.js +0 -28
- package/lib/cjs/core-react/utils/hooks/useEffectSkipFirst.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useEventListener.d.ts +0 -12
- package/lib/cjs/core-react/utils/hooks/useEventListener.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useEventListener.js +0 -43
- package/lib/cjs/core-react/utils/hooks/useEventListener.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useInterval.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useInterval.js +0 -40
- package/lib/cjs/core-react/utils/hooks/useInterval.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useLifecycleLogging.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useLifecycleLogging.js +0 -68
- package/lib/cjs/core-react/utils/hooks/useLifecycleLogging.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useOnOutsideClick.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useOnOutsideClick.js +0 -103
- package/lib/cjs/core-react/utils/hooks/useOnOutsideClick.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useProximityToMouse.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useProximityToMouse.js +0 -114
- package/lib/cjs/core-react/utils/hooks/useProximityToMouse.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useRefEffect.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useRefEffect.js +0 -24
- package/lib/cjs/core-react/utils/hooks/useRefEffect.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useRefState.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useRefState.js +0 -36
- package/lib/cjs/core-react/utils/hooks/useRefState.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useRefs.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useRefs.js +0 -54
- package/lib/cjs/core-react/utils/hooks/useRefs.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useResizeObserver.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useResizeObserver.js +0 -211
- package/lib/cjs/core-react/utils/hooks/useResizeObserver.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useTargeted.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useTargeted.js +0 -32
- package/lib/cjs/core-react/utils/hooks/useTargeted.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useThrottledFn.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useThrottledFn.js +0 -26
- package/lib/cjs/core-react/utils/hooks/useThrottledFn.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useWidgetOpacityContext.d.ts +0 -21
- package/lib/cjs/core-react/utils/hooks/useWidgetOpacityContext.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useWidgetOpacityContext.js +0 -27
- package/lib/cjs/core-react/utils/hooks/useWidgetOpacityContext.js.map +0 -1
- package/lib/cjs/core-react/utils/isPromiseLike.d.ts +0 -8
- package/lib/cjs/core-react/utils/isPromiseLike.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/isPromiseLike.js +0 -20
- package/lib/cjs/core-react/utils/isPromiseLike.js.map +0 -1
- package/lib/cjs/core-react/utils/matches.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/matches.js +0 -7
- package/lib/cjs/core-react/utils/matches.js.map +0 -1
- package/lib/cjs/core-react/utils/reuseOrCreatePromise.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/reuseOrCreatePromise.js +0 -33
- package/lib/cjs/core-react/utils/reuseOrCreatePromise.js.map +0 -1
- package/lib/cjs/core-react/utils/shallowDiffers.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/shallowDiffers.js +0 -30
- package/lib/cjs/core-react/utils/shallowDiffers.js.map +0 -1
- package/lib/cjs/core-react/utils/typeUtils.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/typeUtils.js +0 -10
- package/lib/cjs/core-react/utils/typeUtils.js.map +0 -1
- package/lib/cjs/core-react.d.ts +0 -242
- package/lib/cjs/core-react.d.ts.map +0 -1
- package/lib/cjs/core-react.js +0 -273
- package/lib/cjs/core-react.js.map +0 -1
- package/lib/esm/core-react/UiCore.d.ts +0 -38
- package/lib/esm/core-react/UiCore.d.ts.map +0 -1
- package/lib/esm/core-react/UiCore.js +0 -72
- package/lib/esm/core-react/UiCore.js.map +0 -1
- package/lib/esm/core-react/UiCore.json +0 -31
- package/lib/esm/core-react/_geometry.scss +0 -70
- package/lib/esm/core-react/_helpers.scss +0 -52
- package/lib/esm/core-react/_math.scss +0 -13
- package/lib/esm/core-react/_scrollbar.scss +0 -55
- package/lib/esm/core-react/_typography.scss +0 -44
- package/lib/esm/core-react/_z-index.scss +0 -47
- package/lib/esm/core-react/autosuggest/AutoSuggest.d.ts +0 -99
- package/lib/esm/core-react/autosuggest/AutoSuggest.d.ts.map +0 -1
- package/lib/esm/core-react/autosuggest/AutoSuggest.js +0 -170
- package/lib/esm/core-react/autosuggest/AutoSuggest.js.map +0 -1
- package/lib/esm/core-react/autosuggest/AutoSuggest.scss +0 -79
- package/lib/esm/core-react/badge/Badge.d.ts +0 -17
- package/lib/esm/core-react/badge/Badge.d.ts.map +0 -1
- package/lib/esm/core-react/badge/Badge.js +0 -25
- package/lib/esm/core-react/badge/Badge.js.map +0 -1
- package/lib/esm/core-react/badge/BadgeType.d.ts +0 -19
- package/lib/esm/core-react/badge/BadgeType.d.ts.map +0 -1
- package/lib/esm/core-react/badge/BadgeType.js +0 -14
- package/lib/esm/core-react/badge/BadgeType.js.map +0 -1
- package/lib/esm/core-react/badge/DeprecatedBadge.d.ts +0 -10
- package/lib/esm/core-react/badge/DeprecatedBadge.d.ts.map +0 -1
- package/lib/esm/core-react/badge/DeprecatedBadge.js.map +0 -1
- package/lib/esm/core-react/badge/DeprecatedBadge.scss +0 -11
- package/lib/esm/core-react/badge/NewBadge.d.ts +0 -10
- package/lib/esm/core-react/badge/NewBadge.d.ts.map +0 -1
- package/lib/esm/core-react/badge/NewBadge.js.map +0 -1
- package/lib/esm/core-react/badge/NewBadge.scss +0 -12
- package/lib/esm/core-react/badge/TechnicalPreviewBadge.d.ts +0 -10
- package/lib/esm/core-react/badge/TechnicalPreviewBadge.d.ts.map +0 -1
- package/lib/esm/core-react/badge/TechnicalPreviewBadge.js.map +0 -1
- package/lib/esm/core-react/badge/TechnicalPreviewBadge.scss +0 -11
- package/lib/esm/core-react/base/Centered.d.ts +0 -12
- package/lib/esm/core-react/base/Centered.d.ts.map +0 -1
- package/lib/esm/core-react/base/Centered.js +0 -20
- package/lib/esm/core-react/base/Centered.js.map +0 -1
- package/lib/esm/core-react/base/Div.d.ts +0 -19
- package/lib/esm/core-react/base/Div.d.ts.map +0 -1
- package/lib/esm/core-react/base/Div.js.map +0 -1
- package/lib/esm/core-react/base/DivWithOutsideClick.d.ts +0 -77
- package/lib/esm/core-react/base/DivWithOutsideClick.d.ts.map +0 -1
- package/lib/esm/core-react/base/DivWithOutsideClick.js +0 -17
- package/lib/esm/core-react/base/DivWithOutsideClick.js.map +0 -1
- package/lib/esm/core-react/base/FillCentered.d.ts +0 -12
- package/lib/esm/core-react/base/FillCentered.d.ts.map +0 -1
- package/lib/esm/core-react/base/FillCentered.js +0 -20
- package/lib/esm/core-react/base/FillCentered.js.map +0 -1
- package/lib/esm/core-react/base/FlexWrapContainer.d.ts +0 -13
- package/lib/esm/core-react/base/FlexWrapContainer.d.ts.map +0 -1
- package/lib/esm/core-react/base/FlexWrapContainer.js +0 -21
- package/lib/esm/core-react/base/FlexWrapContainer.js.map +0 -1
- package/lib/esm/core-react/base/Gap.d.ts +0 -18
- package/lib/esm/core-react/base/Gap.d.ts.map +0 -1
- package/lib/esm/core-react/base/Gap.js.map +0 -1
- package/lib/esm/core-react/base/PointerEvents.d.ts +0 -8
- package/lib/esm/core-react/base/PointerEvents.d.ts.map +0 -1
- package/lib/esm/core-react/base/PointerEvents.js.map +0 -1
- package/lib/esm/core-react/base/ScrollView.d.ts +0 -13
- package/lib/esm/core-react/base/ScrollView.d.ts.map +0 -1
- package/lib/esm/core-react/base/ScrollView.js +0 -21
- package/lib/esm/core-react/base/ScrollView.js.map +0 -1
- package/lib/esm/core-react/base/base.scss +0 -42
- package/lib/esm/core-react/base/classes.scss +0 -27
- package/lib/esm/core-react/base/index.scss +0 -5
- package/lib/esm/core-react/button/UnderlinedButton.d.ts +0 -27
- package/lib/esm/core-react/button/UnderlinedButton.d.ts.map +0 -1
- package/lib/esm/core-react/button/UnderlinedButton.js.map +0 -1
- package/lib/esm/core-react/button/UnderlinedButton.scss +0 -32
- package/lib/esm/core-react/checklistbox/CheckListBox.d.ts +0 -45
- package/lib/esm/core-react/checklistbox/CheckListBox.d.ts.map +0 -1
- package/lib/esm/core-react/checklistbox/CheckListBox.js.map +0 -1
- package/lib/esm/core-react/checklistbox/CheckListBox.scss +0 -22
- package/lib/esm/core-react/classes.scss +0 -10
- package/lib/esm/core-react/colorthemes.scss +0 -12
- package/lib/esm/core-react/colorvariables.scss +0 -139
- package/lib/esm/core-react/contextmenu/ContextMenu.d.ts +0 -91
- package/lib/esm/core-react/contextmenu/ContextMenu.d.ts.map +0 -1
- package/lib/esm/core-react/contextmenu/ContextMenu.js +0 -362
- package/lib/esm/core-react/contextmenu/ContextMenu.js.map +0 -1
- package/lib/esm/core-react/contextmenu/ContextMenu.scss +0 -231
- package/lib/esm/core-react/contextmenu/ContextMenuDirection.d.ts +0 -17
- package/lib/esm/core-react/contextmenu/ContextMenuDirection.d.ts.map +0 -1
- package/lib/esm/core-react/contextmenu/ContextMenuDirection.js.map +0 -1
- package/lib/esm/core-react/contextmenu/ContextMenuDivider.d.ts +0 -13
- package/lib/esm/core-react/contextmenu/ContextMenuDivider.d.ts.map +0 -1
- package/lib/esm/core-react/contextmenu/ContextMenuDivider.js.map +0 -1
- package/lib/esm/core-react/contextmenu/ContextMenuItem.d.ts +0 -65
- package/lib/esm/core-react/contextmenu/ContextMenuItem.d.ts.map +0 -1
- package/lib/esm/core-react/contextmenu/ContextMenuItem.js +0 -107
- package/lib/esm/core-react/contextmenu/ContextMenuItem.js.map +0 -1
- package/lib/esm/core-react/contextmenu/ContextSubMenu.d.ts +0 -51
- package/lib/esm/core-react/contextmenu/ContextSubMenu.d.ts.map +0 -1
- package/lib/esm/core-react/contextmenu/ContextSubMenu.js +0 -173
- package/lib/esm/core-react/contextmenu/ContextSubMenu.js.map +0 -1
- package/lib/esm/core-react/contextmenu/GlobalContextMenu.d.ts +0 -36
- package/lib/esm/core-react/contextmenu/GlobalContextMenu.d.ts.map +0 -1
- package/lib/esm/core-react/contextmenu/GlobalContextMenu.js +0 -59
- package/lib/esm/core-react/contextmenu/GlobalContextMenu.js.map +0 -1
- package/lib/esm/core-react/contextmenu/PopupContextMenu.d.ts +0 -57
- package/lib/esm/core-react/contextmenu/PopupContextMenu.d.ts.map +0 -1
- package/lib/esm/core-react/contextmenu/PopupContextMenu.js +0 -54
- package/lib/esm/core-react/contextmenu/PopupContextMenu.js.map +0 -1
- package/lib/esm/core-react/contextmenu/PopupContextMenu.scss +0 -8
- package/lib/esm/core-react/contextmenu/TildeFinder.d.ts +0 -19
- package/lib/esm/core-react/contextmenu/TildeFinder.d.ts.map +0 -1
- package/lib/esm/core-react/contextmenu/TildeFinder.js.map +0 -1
- package/lib/esm/core-react/dialog/Dialog.d.ts +0 -112
- package/lib/esm/core-react/dialog/Dialog.d.ts.map +0 -1
- package/lib/esm/core-react/dialog/Dialog.js +0 -205
- package/lib/esm/core-react/dialog/Dialog.js.map +0 -1
- package/lib/esm/core-react/dialog/Dialog.scss +0 -57
- package/lib/esm/core-react/dialog/GlobalDialog.d.ts +0 -32
- package/lib/esm/core-react/dialog/GlobalDialog.d.ts.map +0 -1
- package/lib/esm/core-react/dialog/GlobalDialog.js +0 -57
- package/lib/esm/core-react/dialog/GlobalDialog.js.map +0 -1
- package/lib/esm/core-react/elementseparator/ElementSeparator.d.ts +0 -44
- package/lib/esm/core-react/elementseparator/ElementSeparator.d.ts.map +0 -1
- package/lib/esm/core-react/elementseparator/ElementSeparator.js +0 -163
- package/lib/esm/core-react/elementseparator/ElementSeparator.js.map +0 -1
- package/lib/esm/core-react/elementseparator/ElementSeparator.scss +0 -96
- package/lib/esm/core-react/enums/Alignment.d.ts +0 -25
- package/lib/esm/core-react/enums/Alignment.d.ts.map +0 -1
- package/lib/esm/core-react/enums/Alignment.js.map +0 -1
- package/lib/esm/core-react/enums/CheckBoxState.d.ts +0 -23
- package/lib/esm/core-react/enums/CheckBoxState.d.ts.map +0 -1
- package/lib/esm/core-react/enums/CheckBoxState.js.map +0 -1
- package/lib/esm/core-react/enums/Orientation.d.ts +0 -13
- package/lib/esm/core-react/enums/Orientation.d.ts.map +0 -1
- package/lib/esm/core-react/enums/Orientation.js.map +0 -1
- package/lib/esm/core-react/enums/SortDirection.d.ts +0 -14
- package/lib/esm/core-react/enums/SortDirection.d.ts.map +0 -1
- package/lib/esm/core-react/enums/SortDirection.js.map +0 -1
- package/lib/esm/core-react/enums/TimeFormat.d.ts +0 -16
- package/lib/esm/core-react/enums/TimeFormat.d.ts.map +0 -1
- package/lib/esm/core-react/enums/TimeFormat.js.map +0 -1
- package/lib/esm/core-react/expandable/ExpandableList.d.ts +0 -37
- package/lib/esm/core-react/expandable/ExpandableList.d.ts.map +0 -1
- package/lib/esm/core-react/expandable/ExpandableList.js.map +0 -1
- package/lib/esm/core-react/focus/ItemKeyboardNavigator.d.ts +0 -53
- package/lib/esm/core-react/focus/ItemKeyboardNavigator.d.ts.map +0 -1
- package/lib/esm/core-react/focus/ItemKeyboardNavigator.js +0 -173
- package/lib/esm/core-react/focus/ItemKeyboardNavigator.js.map +0 -1
- package/lib/esm/core-react/focustrap/FocusTrap.d.ts +0 -29
- package/lib/esm/core-react/focustrap/FocusTrap.d.ts.map +0 -1
- package/lib/esm/core-react/focustrap/FocusTrap.js +0 -196
- package/lib/esm/core-react/focustrap/FocusTrap.js.map +0 -1
- package/lib/esm/core-react/hocs/withIsPressed.d.ts +0 -76
- package/lib/esm/core-react/hocs/withIsPressed.d.ts.map +0 -1
- package/lib/esm/core-react/hocs/withIsPressed.js.map +0 -1
- package/lib/esm/core-react/hocs/withOnOutsideClick.d.ts +0 -100
- package/lib/esm/core-react/hocs/withOnOutsideClick.d.ts.map +0 -1
- package/lib/esm/core-react/hocs/withOnOutsideClick.js.map +0 -1
- package/lib/esm/core-react/hocs/withTimeout.d.ts +0 -73
- package/lib/esm/core-react/hocs/withTimeout.d.ts.map +0 -1
- package/lib/esm/core-react/hocs/withTimeout.js +0 -44
- package/lib/esm/core-react/hocs/withTimeout.js.map +0 -1
- package/lib/esm/core-react/icons/ConditionalIconItem.d.ts +0 -28
- package/lib/esm/core-react/icons/ConditionalIconItem.d.ts.map +0 -1
- package/lib/esm/core-react/icons/ConditionalIconItem.js.map +0 -1
- package/lib/esm/core-react/icons/IconComponent.d.ts +0 -34
- package/lib/esm/core-react/icons/IconComponent.d.ts.map +0 -1
- package/lib/esm/core-react/icons/IconComponent.js +0 -77
- package/lib/esm/core-react/icons/IconComponent.js.map +0 -1
- package/lib/esm/core-react/icons/IconComponent.scss +0 -19
- package/lib/esm/core-react/icons/SvgPath.d.ts +0 -26
- package/lib/esm/core-react/icons/SvgPath.d.ts.map +0 -1
- package/lib/esm/core-react/icons/SvgPath.js.map +0 -1
- package/lib/esm/core-react/icons/SvgPath.scss +0 -15
- package/lib/esm/core-react/icons/WebFontIcon.d.ts +0 -28
- package/lib/esm/core-react/icons/WebFontIcon.d.ts.map +0 -1
- package/lib/esm/core-react/icons/WebFontIcon.js.map +0 -1
- package/lib/esm/core-react/icons/WebFontIcon.scss +0 -17
- package/lib/esm/core-react/icons/classes.scss +0 -18
- package/lib/esm/core-react/icons/index.scss +0 -6
- package/lib/esm/core-react/icons/mixins.scss +0 -25
- package/lib/esm/core-react/icons/variables.scss +0 -12
- package/lib/esm/core-react/imagecheckbox/ImageCheckBox.d.ts +0 -43
- package/lib/esm/core-react/imagecheckbox/ImageCheckBox.d.ts.map +0 -1
- package/lib/esm/core-react/imagecheckbox/ImageCheckBox.js +0 -49
- package/lib/esm/core-react/imagecheckbox/ImageCheckBox.js.map +0 -1
- package/lib/esm/core-react/imagecheckbox/ImageCheckBox.scss +0 -54
- package/lib/esm/core-react/index.scss +0 -20
- package/lib/esm/core-react/inputs/Input.d.ts +0 -21
- package/lib/esm/core-react/inputs/Input.d.ts.map +0 -1
- package/lib/esm/core-react/inputs/Input.js +0 -42
- package/lib/esm/core-react/inputs/Input.js.map +0 -1
- package/lib/esm/core-react/inputs/InputLabel.d.ts +0 -23
- package/lib/esm/core-react/inputs/InputLabel.d.ts.map +0 -1
- package/lib/esm/core-react/inputs/InputLabel.js +0 -33
- package/lib/esm/core-react/inputs/InputLabel.js.map +0 -1
- package/lib/esm/core-react/inputs/InputStatus.d.ts +0 -13
- package/lib/esm/core-react/inputs/InputStatus.d.ts.map +0 -1
- package/lib/esm/core-react/inputs/InputStatus.js.map +0 -1
- package/lib/esm/core-react/inputs/LabeledComponentProps.d.ts +0 -36
- package/lib/esm/core-react/inputs/LabeledComponentProps.d.ts.map +0 -1
- package/lib/esm/core-react/inputs/LabeledComponentProps.js.map +0 -1
- package/lib/esm/core-react/inputs/classes.scss +0 -12
- package/lib/esm/core-react/inputs/iconinput/IconInput.d.ts +0 -26
- package/lib/esm/core-react/inputs/iconinput/IconInput.d.ts.map +0 -1
- package/lib/esm/core-react/inputs/iconinput/IconInput.js +0 -29
- package/lib/esm/core-react/inputs/iconinput/IconInput.js.map +0 -1
- package/lib/esm/core-react/inputs/iconinput/IconInput.scss +0 -34
- package/lib/esm/core-react/inputs/index.scss +0 -9
- package/lib/esm/core-react/inputs/input-label.scss +0 -89
- package/lib/esm/core-react/inputs/input.scss +0 -54
- package/lib/esm/core-react/inputs/numberinput/NumberInput.d.ts +0 -56
- package/lib/esm/core-react/inputs/numberinput/NumberInput.d.ts.map +0 -1
- package/lib/esm/core-react/inputs/numberinput/NumberInput.js +0 -160
- package/lib/esm/core-react/inputs/numberinput/NumberInput.js.map +0 -1
- package/lib/esm/core-react/inputs/numberinput/NumberInput.scss +0 -88
- package/lib/esm/core-react/inputs/variables.scss +0 -36
- package/lib/esm/core-react/l10n/LocalizationProvider.d.ts +0 -21
- package/lib/esm/core-react/l10n/LocalizationProvider.d.ts.map +0 -1
- package/lib/esm/core-react/l10n/LocalizationProvider.js.map +0 -1
- package/lib/esm/core-react/l10n/usePackageTranslation.d.ts +0 -15
- package/lib/esm/core-react/l10n/usePackageTranslation.d.ts.map +0 -1
- package/lib/esm/core-react/l10n/usePackageTranslation.js +0 -60
- package/lib/esm/core-react/l10n/usePackageTranslation.js.map +0 -1
- package/lib/esm/core-react/l10n/useTranslation.d.ts +0 -7
- package/lib/esm/core-react/l10n/useTranslation.d.ts.map +0 -1
- package/lib/esm/core-react/l10n/useTranslation.js +0 -26
- package/lib/esm/core-react/l10n/useTranslation.js.map +0 -1
- package/lib/esm/core-react/layout-variables.scss +0 -15
- package/lib/esm/core-react/listbox/Listbox.d.ts +0 -59
- package/lib/esm/core-react/listbox/Listbox.d.ts.map +0 -1
- package/lib/esm/core-react/listbox/Listbox.js.map +0 -1
- package/lib/esm/core-react/listbox/Listbox.scss +0 -54
- package/lib/esm/core-react/loading/LoadingBar.d.ts +0 -31
- package/lib/esm/core-react/loading/LoadingBar.d.ts.map +0 -1
- package/lib/esm/core-react/loading/LoadingBar.js.map +0 -1
- package/lib/esm/core-react/loading/LoadingBar.scss +0 -29
- package/lib/esm/core-react/loading/LoadingPrompt.d.ts +0 -41
- package/lib/esm/core-react/loading/LoadingPrompt.d.ts.map +0 -1
- package/lib/esm/core-react/loading/LoadingPrompt.js +0 -41
- package/lib/esm/core-react/loading/LoadingPrompt.js.map +0 -1
- package/lib/esm/core-react/loading/LoadingPrompt.scss +0 -33
- package/lib/esm/core-react/loading/LoadingSpinner.d.ts +0 -37
- package/lib/esm/core-react/loading/LoadingSpinner.d.ts.map +0 -1
- package/lib/esm/core-react/loading/LoadingSpinner.js.map +0 -1
- package/lib/esm/core-react/loading/LoadingSpinner.scss +0 -26
- package/lib/esm/core-react/loading/LoadingStatus.d.ts +0 -26
- package/lib/esm/core-react/loading/LoadingStatus.d.ts.map +0 -1
- package/lib/esm/core-react/loading/LoadingStatus.js.map +0 -1
- package/lib/esm/core-react/loading/LoadingStatus.scss +0 -20
- package/lib/esm/core-react/loading/index.scss +0 -5
- package/lib/esm/core-react/loading/mixins.scss +0 -57
- package/lib/esm/core-react/messagebox/MessageBox.d.ts +0 -90
- package/lib/esm/core-react/messagebox/MessageBox.d.ts.map +0 -1
- package/lib/esm/core-react/messagebox/MessageBox.js +0 -105
- package/lib/esm/core-react/messagebox/MessageBox.js.map +0 -1
- package/lib/esm/core-react/messagebox/MessageBox.scss +0 -56
- package/lib/esm/core-react/notification/MessageRenderer.d.ts +0 -22
- package/lib/esm/core-react/notification/MessageRenderer.d.ts.map +0 -1
- package/lib/esm/core-react/notification/MessageRenderer.js +0 -83
- package/lib/esm/core-react/notification/MessageRenderer.js.map +0 -1
- package/lib/esm/core-react/notification/MessageType.d.ts +0 -25
- package/lib/esm/core-react/notification/MessageType.d.ts.map +0 -1
- package/lib/esm/core-react/notification/MessageType.js.map +0 -1
- package/lib/esm/core-react/popup/Popup.d.ts +0 -128
- package/lib/esm/core-react/popup/Popup.d.ts.map +0 -1
- package/lib/esm/core-react/popup/Popup.js +0 -466
- package/lib/esm/core-react/popup/Popup.js.map +0 -1
- package/lib/esm/core-react/popup/Popup.scss +0 -240
- package/lib/esm/core-react/radialmenu/Annulus.d.ts +0 -54
- package/lib/esm/core-react/radialmenu/Annulus.d.ts.map +0 -1
- package/lib/esm/core-react/radialmenu/Annulus.js +0 -75
- package/lib/esm/core-react/radialmenu/Annulus.js.map +0 -1
- package/lib/esm/core-react/radialmenu/RadialMenu.d.ts +0 -96
- package/lib/esm/core-react/radialmenu/RadialMenu.d.ts.map +0 -1
- package/lib/esm/core-react/radialmenu/RadialMenu.js +0 -183
- package/lib/esm/core-react/radialmenu/RadialMenu.js.map +0 -1
- package/lib/esm/core-react/radialmenu/RadialMenu.scss +0 -56
- package/lib/esm/core-react/searchbox/SearchBox.d.ts +0 -51
- package/lib/esm/core-react/searchbox/SearchBox.d.ts.map +0 -1
- package/lib/esm/core-react/searchbox/SearchBox.js +0 -115
- package/lib/esm/core-react/searchbox/SearchBox.js.map +0 -1
- package/lib/esm/core-react/searchbox/SearchBox.scss +0 -47
- package/lib/esm/core-react/settings/SettingsContainer.d.ts +0 -35
- package/lib/esm/core-react/settings/SettingsContainer.d.ts.map +0 -1
- package/lib/esm/core-react/settings/SettingsContainer.js +0 -149
- package/lib/esm/core-react/settings/SettingsContainer.js.map +0 -1
- package/lib/esm/core-react/settings/SettingsContainer.scss +0 -68
- package/lib/esm/core-react/settings/SettingsManager.d.ts +0 -137
- package/lib/esm/core-react/settings/SettingsManager.d.ts.map +0 -1
- package/lib/esm/core-react/settings/SettingsManager.js +0 -112
- package/lib/esm/core-react/settings/SettingsManager.js.map +0 -1
- package/lib/esm/core-react/style/baseline.scss +0 -11
- package/lib/esm/core-react/style/breakpoints.scss +0 -59
- package/lib/esm/core-react/style/colors.scss +0 -77
- package/lib/esm/core-react/style/index.scss +0 -10
- package/lib/esm/core-react/style/mixins.scss +0 -23
- package/lib/esm/core-react/style/opacity.scss +0 -16
- package/lib/esm/core-react/style/themecolors.scss +0 -133
- package/lib/esm/core-react/tabs/Tabs.d.ts +0 -69
- package/lib/esm/core-react/tabs/Tabs.d.ts.map +0 -1
- package/lib/esm/core-react/tabs/Tabs.js +0 -117
- package/lib/esm/core-react/tabs/Tabs.js.map +0 -1
- package/lib/esm/core-react/tabs/VerticalTabs.d.ts +0 -11
- package/lib/esm/core-react/tabs/VerticalTabs.d.ts.map +0 -1
- package/lib/esm/core-react/tabs/VerticalTabs.js +0 -19
- package/lib/esm/core-react/tabs/VerticalTabs.js.map +0 -1
- package/lib/esm/core-react/tabs/classes.scss +0 -9
- package/lib/esm/core-react/tabs/index.scss +0 -5
- package/lib/esm/core-react/tabs/tabs.scss +0 -96
- package/lib/esm/core-react/tabs/vertical.scss +0 -51
- package/lib/esm/core-react/text/BlockText.d.ts +0 -11
- package/lib/esm/core-react/text/BlockText.d.ts.map +0 -1
- package/lib/esm/core-react/text/BlockText.js +0 -19
- package/lib/esm/core-react/text/BlockText.js.map +0 -1
- package/lib/esm/core-react/text/BodyText.d.ts +0 -11
- package/lib/esm/core-react/text/BodyText.d.ts.map +0 -1
- package/lib/esm/core-react/text/BodyText.js +0 -19
- package/lib/esm/core-react/text/BodyText.js.map +0 -1
- package/lib/esm/core-react/text/DisabledText.d.ts +0 -11
- package/lib/esm/core-react/text/DisabledText.d.ts.map +0 -1
- package/lib/esm/core-react/text/DisabledText.js +0 -18
- package/lib/esm/core-react/text/DisabledText.js.map +0 -1
- package/lib/esm/core-react/text/FilteredText.d.ts +0 -27
- package/lib/esm/core-react/text/FilteredText.d.ts.map +0 -1
- package/lib/esm/core-react/text/FilteredText.js.map +0 -1
- package/lib/esm/core-react/text/FilteredText.scss +0 -10
- package/lib/esm/core-react/text/MutedText.d.ts +0 -11
- package/lib/esm/core-react/text/MutedText.d.ts.map +0 -1
- package/lib/esm/core-react/text/MutedText.js +0 -19
- package/lib/esm/core-react/text/MutedText.js.map +0 -1
- package/lib/esm/core-react/text/StyledText.d.ts +0 -19
- package/lib/esm/core-react/text/StyledText.d.ts.map +0 -1
- package/lib/esm/core-react/text/StyledText.js.map +0 -1
- package/lib/esm/core-react/text/TextProps.d.ts +0 -12
- package/lib/esm/core-react/text/TextProps.d.ts.map +0 -1
- package/lib/esm/core-react/text/TextProps.js.map +0 -1
- package/lib/esm/core-react/text/block.scss +0 -15
- package/lib/esm/core-react/text/body.scss +0 -13
- package/lib/esm/core-react/text/classes.scss +0 -18
- package/lib/esm/core-react/text/disabled.scss +0 -9
- package/lib/esm/core-react/text/index.scss +0 -10
- package/lib/esm/core-react/text/mixins.scss +0 -24
- package/lib/esm/core-react/text/muted.scss +0 -9
- package/lib/esm/core-react/tree/Branch.d.ts +0 -22
- package/lib/esm/core-react/tree/Branch.d.ts.map +0 -1
- package/lib/esm/core-react/tree/Branch.js.map +0 -1
- package/lib/esm/core-react/tree/Branch.scss +0 -13
- package/lib/esm/core-react/tree/ExpansionToggle.d.ts +0 -21
- package/lib/esm/core-react/tree/ExpansionToggle.d.ts.map +0 -1
- package/lib/esm/core-react/tree/ExpansionToggle.js +0 -27
- package/lib/esm/core-react/tree/ExpansionToggle.js.map +0 -1
- package/lib/esm/core-react/tree/ExpansionToggle.scss +0 -32
- package/lib/esm/core-react/tree/Node.d.ts +0 -84
- package/lib/esm/core-react/tree/Node.d.ts.map +0 -1
- package/lib/esm/core-react/tree/Node.js +0 -88
- package/lib/esm/core-react/tree/Node.js.map +0 -1
- package/lib/esm/core-react/tree/Node.scss +0 -68
- package/lib/esm/core-react/tree/Placeholder.d.ts +0 -25
- package/lib/esm/core-react/tree/Placeholder.d.ts.map +0 -1
- package/lib/esm/core-react/tree/Placeholder.js +0 -30
- package/lib/esm/core-react/tree/Placeholder.js.map +0 -1
- package/lib/esm/core-react/tree/Placeholder.scss +0 -17
- package/lib/esm/core-react/tree/Tree.d.ts +0 -31
- package/lib/esm/core-react/tree/Tree.d.ts.map +0 -1
- package/lib/esm/core-react/tree/Tree.js +0 -105
- package/lib/esm/core-react/tree/Tree.js.map +0 -1
- package/lib/esm/core-react/tree/Tree.scss +0 -22
- package/lib/esm/core-react/uistate/LocalStateStorage.d.ts +0 -17
- package/lib/esm/core-react/uistate/LocalStateStorage.d.ts.map +0 -1
- package/lib/esm/core-react/uistate/LocalStateStorage.js +0 -48
- package/lib/esm/core-react/uistate/LocalStateStorage.js.map +0 -1
- package/lib/esm/core-react/uistate/UiStateEntry.d.ts +0 -32
- package/lib/esm/core-react/uistate/UiStateEntry.d.ts.map +0 -1
- package/lib/esm/core-react/uistate/UiStateEntry.js +0 -58
- package/lib/esm/core-react/uistate/UiStateEntry.js.map +0 -1
- package/lib/esm/core-react/uistate/UiStateStorage.d.ts +0 -32
- package/lib/esm/core-react/uistate/UiStateStorage.d.ts.map +0 -1
- package/lib/esm/core-react/uistate/UiStateStorage.js.map +0 -1
- package/lib/esm/core-react/utils/IconHelper.d.ts +0 -27
- package/lib/esm/core-react/utils/IconHelper.d.ts.map +0 -1
- package/lib/esm/core-react/utils/IconHelper.js +0 -82
- package/lib/esm/core-react/utils/IconHelper.js.map +0 -1
- package/lib/esm/core-react/utils/IconWebComponent.d.ts +0 -13
- package/lib/esm/core-react/utils/IconWebComponent.d.ts.map +0 -1
- package/lib/esm/core-react/utils/IconWebComponent.js +0 -112
- package/lib/esm/core-react/utils/IconWebComponent.js.map +0 -1
- package/lib/esm/core-react/utils/ListenerType.d.ts +0 -15
- package/lib/esm/core-react/utils/ListenerType.d.ts.map +0 -1
- package/lib/esm/core-react/utils/ListenerType.js.map +0 -1
- package/lib/esm/core-react/utils/Point.d.ts +0 -38
- package/lib/esm/core-react/utils/Point.d.ts.map +0 -1
- package/lib/esm/core-react/utils/Point.js +0 -70
- package/lib/esm/core-react/utils/Point.js.map +0 -1
- package/lib/esm/core-react/utils/PointProps.d.ts +0 -9
- package/lib/esm/core-react/utils/PointProps.d.ts.map +0 -1
- package/lib/esm/core-react/utils/PointProps.js.map +0 -1
- package/lib/esm/core-react/utils/Props.d.ts +0 -43
- package/lib/esm/core-react/utils/Props.d.ts.map +0 -1
- package/lib/esm/core-react/utils/Props.js.map +0 -1
- package/lib/esm/core-react/utils/Rectangle.d.ts +0 -147
- package/lib/esm/core-react/utils/Rectangle.d.ts.map +0 -1
- package/lib/esm/core-react/utils/Rectangle.js +0 -275
- package/lib/esm/core-react/utils/Rectangle.js.map +0 -1
- package/lib/esm/core-react/utils/ScrollPositionMaintainer.d.ts +0 -25
- package/lib/esm/core-react/utils/ScrollPositionMaintainer.d.ts.map +0 -1
- package/lib/esm/core-react/utils/ScrollPositionMaintainer.js.map +0 -1
- package/lib/esm/core-react/utils/Size.d.ts +0 -25
- package/lib/esm/core-react/utils/Size.d.ts.map +0 -1
- package/lib/esm/core-react/utils/Size.js +0 -28
- package/lib/esm/core-react/utils/Size.js.map +0 -1
- package/lib/esm/core-react/utils/Timer.d.ts +0 -38
- package/lib/esm/core-react/utils/Timer.d.ts.map +0 -1
- package/lib/esm/core-react/utils/Timer.js.map +0 -1
- package/lib/esm/core-react/utils/UiGeometry.d.ts +0 -21
- package/lib/esm/core-react/utils/UiGeometry.d.ts.map +0 -1
- package/lib/esm/core-react/utils/UiGeometry.js +0 -29
- package/lib/esm/core-react/utils/UiGeometry.js.map +0 -1
- package/lib/esm/core-react/utils/flattenChildren.d.ts +0 -9
- package/lib/esm/core-react/utils/flattenChildren.d.ts.map +0 -1
- package/lib/esm/core-react/utils/flattenChildren.js.map +0 -1
- package/lib/esm/core-react/utils/getBestBWContrastColor.d.ts +0 -8
- package/lib/esm/core-react/utils/getBestBWContrastColor.d.ts.map +0 -1
- package/lib/esm/core-react/utils/getBestBWContrastColor.js.map +0 -1
- package/lib/esm/core-react/utils/getCssVariable.d.ts +0 -14
- package/lib/esm/core-react/utils/getCssVariable.d.ts.map +0 -1
- package/lib/esm/core-react/utils/getCssVariable.js.map +0 -1
- package/lib/esm/core-react/utils/getDisplayName.d.ts +0 -9
- package/lib/esm/core-react/utils/getDisplayName.d.ts.map +0 -1
- package/lib/esm/core-react/utils/getDisplayName.js.map +0 -1
- package/lib/esm/core-react/utils/getObjectClassName.d.ts +0 -9
- package/lib/esm/core-react/utils/getObjectClassName.d.ts.map +0 -1
- package/lib/esm/core-react/utils/getObjectClassName.js +0 -19
- package/lib/esm/core-react/utils/getObjectClassName.js.map +0 -1
- package/lib/esm/core-react/utils/getUserColor.d.ts +0 -8
- package/lib/esm/core-react/utils/getUserColor.d.ts.map +0 -1
- package/lib/esm/core-react/utils/getUserColor.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/ResizeObserverPolyfill.d.ts +0 -8
- package/lib/esm/core-react/utils/hooks/ResizeObserverPolyfill.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/ResizeObserverPolyfill.js +0 -18
- package/lib/esm/core-react/utils/hooks/ResizeObserverPolyfill.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useCrossOriginPopup.d.ts +0 -9
- package/lib/esm/core-react/utils/hooks/useCrossOriginPopup.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useCrossOriginPopup.js +0 -99
- package/lib/esm/core-react/utils/hooks/useCrossOriginPopup.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useDisposable.d.ts +0 -21
- package/lib/esm/core-react/utils/hooks/useDisposable.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useDisposable.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useEffectSkipFirst.d.ts +0 -10
- package/lib/esm/core-react/utils/hooks/useEffectSkipFirst.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useEffectSkipFirst.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useEventListener.d.ts +0 -12
- package/lib/esm/core-react/utils/hooks/useEventListener.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useEventListener.js +0 -39
- package/lib/esm/core-react/utils/hooks/useEventListener.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useInterval.d.ts +0 -7
- package/lib/esm/core-react/utils/hooks/useInterval.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useInterval.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useLifecycleLogging.d.ts +0 -6
- package/lib/esm/core-react/utils/hooks/useLifecycleLogging.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useLifecycleLogging.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useOnOutsideClick.d.ts +0 -17
- package/lib/esm/core-react/utils/hooks/useOnOutsideClick.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useOnOutsideClick.js +0 -99
- package/lib/esm/core-react/utils/hooks/useOnOutsideClick.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useProximityToMouse.d.ts +0 -56
- package/lib/esm/core-react/utils/hooks/useProximityToMouse.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useProximityToMouse.js +0 -102
- package/lib/esm/core-react/utils/hooks/useProximityToMouse.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useRefEffect.d.ts +0 -8
- package/lib/esm/core-react/utils/hooks/useRefEffect.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useRefEffect.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useRefState.d.ts +0 -22
- package/lib/esm/core-react/utils/hooks/useRefState.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useRefState.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useRefs.d.ts +0 -13
- package/lib/esm/core-react/utils/hooks/useRefs.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useRefs.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useResizeObserver.d.ts +0 -43
- package/lib/esm/core-react/utils/hooks/useResizeObserver.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useResizeObserver.js +0 -204
- package/lib/esm/core-react/utils/hooks/useResizeObserver.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useTargeted.d.ts +0 -9
- package/lib/esm/core-react/utils/hooks/useTargeted.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useTargeted.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useThrottledFn.d.ts +0 -16
- package/lib/esm/core-react/utils/hooks/useThrottledFn.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useThrottledFn.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useWidgetOpacityContext.d.ts +0 -21
- package/lib/esm/core-react/utils/hooks/useWidgetOpacityContext.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useWidgetOpacityContext.js +0 -23
- package/lib/esm/core-react/utils/hooks/useWidgetOpacityContext.js.map +0 -1
- package/lib/esm/core-react/utils/isPromiseLike.d.ts +0 -8
- package/lib/esm/core-react/utils/isPromiseLike.d.ts.map +0 -1
- package/lib/esm/core-react/utils/isPromiseLike.js +0 -16
- package/lib/esm/core-react/utils/isPromiseLike.js.map +0 -1
- package/lib/esm/core-react/utils/matches.d.ts +0 -11
- package/lib/esm/core-react/utils/matches.d.ts.map +0 -1
- package/lib/esm/core-react/utils/matches.js.map +0 -1
- package/lib/esm/core-react/utils/reuseOrCreatePromise.d.ts +0 -14
- package/lib/esm/core-react/utils/reuseOrCreatePromise.d.ts.map +0 -1
- package/lib/esm/core-react/utils/reuseOrCreatePromise.js.map +0 -1
- package/lib/esm/core-react/utils/shallowDiffers.d.ts +0 -12
- package/lib/esm/core-react/utils/shallowDiffers.d.ts.map +0 -1
- package/lib/esm/core-react/utils/shallowDiffers.js.map +0 -1
- package/lib/esm/core-react/utils/typeUtils.d.ts +0 -9
- package/lib/esm/core-react/utils/typeUtils.d.ts.map +0 -1
- package/lib/esm/core-react/utils/typeUtils.js.map +0 -1
- package/lib/esm/core-react.d.ts +0 -242
- package/lib/esm/core-react.d.ts.map +0 -1
- package/lib/esm/core-react.js +0 -249
- package/lib/esm/core-react.js.map +0 -1
- /package/lib/{cjs/core-react → core-react}/UiCore.json +0 -0
- /package/lib/{cjs/core-react → core-react}/_geometry.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/_math.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/badge/DeprecatedBadge.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/badge/DeprecatedBadge.js +0 -0
- /package/lib/{cjs/core-react → core-react}/badge/DeprecatedBadge.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/badge/NewBadge.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/badge/NewBadge.js +0 -0
- /package/lib/{cjs/core-react → core-react}/badge/NewBadge.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/badge/TechnicalPreviewBadge.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/badge/TechnicalPreviewBadge.js +0 -0
- /package/lib/{cjs/core-react → core-react}/badge/TechnicalPreviewBadge.scss +0 -0
- /package/lib/{esm/core-react → core-react}/base/Div.js +0 -0
- /package/lib/{esm/core-react → core-react}/base/Gap.js +0 -0
- /package/lib/{cjs/core-react → core-react}/base/PointerEvents.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/base/PointerEvents.js +0 -0
- /package/lib/{cjs/core-react → core-react}/button/UnderlinedButton.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/button/UnderlinedButton.js +0 -0
- /package/lib/{esm/core-react → core-react}/checklistbox/CheckListBox.js +0 -0
- /package/lib/{cjs/core-react → core-react}/checklistbox/CheckListBox.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/colorthemes.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/colorvariables.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/contextmenu/ContextMenuDirection.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/contextmenu/ContextMenuDirection.js +0 -0
- /package/lib/{esm/core-react → core-react}/contextmenu/ContextMenuDivider.js +0 -0
- /package/lib/{cjs/core-react → core-react}/contextmenu/PopupContextMenu.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/contextmenu/TildeFinder.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/contextmenu/TildeFinder.js +0 -0
- /package/lib/{cjs/core-react → core-react}/enums/Alignment.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/enums/Alignment.js +0 -0
- /package/lib/{cjs/core-react → core-react}/enums/CheckBoxState.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/enums/CheckBoxState.js +0 -0
- /package/lib/{cjs/core-react → core-react}/enums/Orientation.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/enums/Orientation.js +0 -0
- /package/lib/{cjs/core-react → core-react}/enums/SortDirection.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/enums/SortDirection.js +0 -0
- /package/lib/{cjs/core-react → core-react}/enums/TimeFormat.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/enums/TimeFormat.js +0 -0
- /package/lib/{esm/core-react → core-react}/expandable/ExpandableList.js +0 -0
- /package/lib/{cjs/core-react → core-react}/focustrap/FocusTrap.d.ts +0 -0
- /package/lib/{cjs/core-react → core-react}/hocs/withIsPressed.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/hocs/withIsPressed.js +0 -0
- /package/lib/{cjs/core-react → core-react}/hocs/withOnOutsideClick.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/hocs/withOnOutsideClick.js +0 -0
- /package/lib/{esm/core-react → core-react}/icons/ConditionalIconItem.js +0 -0
- /package/lib/{esm/core-react → core-react}/icons/SvgPath.js +0 -0
- /package/lib/{cjs/core-react → core-react}/icons/SvgPath.scss +0 -0
- /package/lib/{esm/core-react → core-react}/icons/WebFontIcon.js +0 -0
- /package/lib/{cjs/core-react → core-react}/icons/variables.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/inputs/InputStatus.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/inputs/InputStatus.js +0 -0
- /package/lib/{esm/core-react → core-react}/inputs/LabeledComponentProps.js +0 -0
- /package/lib/{cjs/core-react → core-react}/inputs/numberinput/NumberInput.d.ts +0 -0
- /package/lib/{cjs/core-react → core-react}/l10n/LocalizationProvider.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/l10n/LocalizationProvider.js +0 -0
- /package/lib/{cjs/core-react → core-react}/l10n/usePackageTranslation.d.ts +0 -0
- /package/lib/{cjs/core-react → core-react}/l10n/useTranslation.d.ts +0 -0
- /package/lib/{cjs/core-react → core-react}/listbox/Listbox.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/listbox/Listbox.js +0 -0
- /package/lib/{esm/core-react → core-react}/loading/LoadingBar.js +0 -0
- /package/lib/{cjs/core-react → core-react}/loading/LoadingSpinner.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/loading/LoadingSpinner.js +0 -0
- /package/lib/{esm/core-react → core-react}/loading/LoadingStatus.js +0 -0
- /package/lib/{cjs/core-react → core-react}/loading/LoadingStatus.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/notification/MessageType.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/notification/MessageType.js +0 -0
- /package/lib/{cjs/core-react → core-react}/settings/SettingsManager.d.ts +0 -0
- /package/lib/{cjs/core-react → core-react}/style/baseline.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/style/breakpoints.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/style/colors.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/style/mixins.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/style/opacity.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/style/themecolors.scss +0 -0
- /package/lib/{esm/core-react → core-react}/text/FilteredText.js +0 -0
- /package/lib/{esm/core-react → core-react}/text/StyledText.js +0 -0
- /package/lib/{esm/core-react → core-react}/text/TextProps.js +0 -0
- /package/lib/{cjs/core-react → core-react}/text/block.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/text/body.scss +0 -0
- /package/lib/{esm/core-react → core-react}/tree/Branch.js +0 -0
- /package/lib/{cjs/core-react → core-react}/tree/Branch.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/tree/ExpansionToggle.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/tree/Node.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/tree/Placeholder.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/tree/Tree.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/uistate/UiStateStorage.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/uistate/UiStateStorage.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/ListenerType.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/ListenerType.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/PointProps.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/PointProps.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/Props.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/Props.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/ScrollPositionMaintainer.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/ScrollPositionMaintainer.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/Timer.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/Timer.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/flattenChildren.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/flattenChildren.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/getBestBWContrastColor.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/getBestBWContrastColor.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/getCssVariable.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/getCssVariable.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/getDisplayName.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/getDisplayName.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/getUserColor.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/getUserColor.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/hooks/useCrossOriginPopup.d.ts +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/hooks/useDisposable.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/hooks/useDisposable.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/hooks/useEffectSkipFirst.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/hooks/useEffectSkipFirst.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/hooks/useInterval.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/hooks/useInterval.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/hooks/useLifecycleLogging.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/hooks/useLifecycleLogging.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/hooks/useOnOutsideClick.d.ts +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/hooks/useProximityToMouse.d.ts +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/hooks/useRefEffect.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/hooks/useRefEffect.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/hooks/useRefState.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/hooks/useRefState.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/hooks/useRefs.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/hooks/useRefs.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/hooks/useResizeObserver.d.ts +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/hooks/useTargeted.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/hooks/useTargeted.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/hooks/useThrottledFn.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/hooks/useThrottledFn.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/matches.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/matches.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/reuseOrCreatePromise.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/reuseOrCreatePromise.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/shallowDiffers.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/shallowDiffers.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/typeUtils.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/typeUtils.js +0 -0
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*---------------------------------------------------------------------------------------------
|
|
3
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
5
|
-
*--------------------------------------------------------------------------------------------*/
|
|
6
|
-
/** @packageDocumentation
|
|
7
|
-
* @module Popup
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.FocusTrap = exports.focusIntoContainer = void 0;
|
|
11
|
-
const React = require("react");
|
|
12
|
-
const core_bentley_1 = require("@itwin/core-bentley");
|
|
13
|
-
const UiCore_1 = require("../UiCore");
|
|
14
|
-
/* eslint-disable deprecation/deprecation */
|
|
15
|
-
function isFocusable(element) {
|
|
16
|
-
if (!element || element.tabIndex < 0)
|
|
17
|
-
return false;
|
|
18
|
-
if (element.classList &&
|
|
19
|
-
element.classList.contains("core-focus-trap-ignore-initial"))
|
|
20
|
-
return false;
|
|
21
|
-
if (element.getAttribute &&
|
|
22
|
-
typeof element.getAttribute === "function" &&
|
|
23
|
-
element.getAttribute("disabled") !== null)
|
|
24
|
-
return false;
|
|
25
|
-
if (element.tabIndex > 0 ||
|
|
26
|
-
(element.tabIndex === 0 && element.getAttribute("tabIndex") !== null))
|
|
27
|
-
return true;
|
|
28
|
-
switch (element.nodeName) {
|
|
29
|
-
case "A":
|
|
30
|
-
const anchorElement = element;
|
|
31
|
-
return !!anchorElement.href && anchorElement.rel !== "ignore";
|
|
32
|
-
case "INPUT":
|
|
33
|
-
const inputElement = element;
|
|
34
|
-
return inputElement.type !== "hidden" && inputElement.type !== "file";
|
|
35
|
-
case "BUTTON":
|
|
36
|
-
case "SELECT":
|
|
37
|
-
case "TEXTAREA":
|
|
38
|
-
return true;
|
|
39
|
-
default:
|
|
40
|
-
return false;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
function processFindFocusableDescendant(element) {
|
|
44
|
-
if (!element)
|
|
45
|
-
return null;
|
|
46
|
-
for (const child of element.childNodes) {
|
|
47
|
-
if (isFocusable(child))
|
|
48
|
-
return child;
|
|
49
|
-
const focusable = processFindFocusableDescendant(child);
|
|
50
|
-
if (focusable)
|
|
51
|
-
return focusable;
|
|
52
|
-
}
|
|
53
|
-
return null;
|
|
54
|
-
}
|
|
55
|
-
function findFirstFocusableDescendant(focusContainer) {
|
|
56
|
-
return processFindFocusableDescendant(focusContainer);
|
|
57
|
-
}
|
|
58
|
-
function processFindLastFocusableDescendant(element) {
|
|
59
|
-
for (let i = element.childNodes.length - 1; i >= 0; i--) {
|
|
60
|
-
const child = element.childNodes[i];
|
|
61
|
-
const focusable = processFindLastFocusableDescendant(child);
|
|
62
|
-
if (focusable)
|
|
63
|
-
return focusable;
|
|
64
|
-
if (isFocusable(child))
|
|
65
|
-
return child;
|
|
66
|
-
}
|
|
67
|
-
return null;
|
|
68
|
-
}
|
|
69
|
-
function findLastFocusableDescendant(focusContainer) {
|
|
70
|
-
return processFindLastFocusableDescendant(focusContainer);
|
|
71
|
-
}
|
|
72
|
-
function getInitialFocusElement(focusContainer, initialFocusSpec) {
|
|
73
|
-
if (!focusContainer)
|
|
74
|
-
return null;
|
|
75
|
-
if (initialFocusSpec) {
|
|
76
|
-
if (typeof initialFocusSpec === "string") {
|
|
77
|
-
const node = focusContainer.querySelector(initialFocusSpec);
|
|
78
|
-
if (node) {
|
|
79
|
-
return node;
|
|
80
|
-
}
|
|
81
|
-
else {
|
|
82
|
-
core_bentley_1.Logger.logError(`${UiCore_1.UiCore.packageName}.FocusTrap`, `Unable to locate element via selector ${initialFocusSpec}`);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
else {
|
|
86
|
-
return initialFocusSpec.current;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
return findFirstFocusableDescendant(focusContainer);
|
|
90
|
-
}
|
|
91
|
-
function attemptFocus(element, preventScroll) {
|
|
92
|
-
if (!isFocusable(element))
|
|
93
|
-
return false;
|
|
94
|
-
try {
|
|
95
|
-
if (document.activeElement !== element)
|
|
96
|
-
element.focus({
|
|
97
|
-
preventScroll: preventScroll ? true : false,
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
catch (e) {
|
|
101
|
-
return false;
|
|
102
|
-
}
|
|
103
|
-
return document.activeElement === element;
|
|
104
|
-
} // end attemptFocus
|
|
105
|
-
/** Focus into first focusable element of a container.
|
|
106
|
-
* @internal
|
|
107
|
-
*/
|
|
108
|
-
function focusIntoContainer(focusContainer, initialFocusElement) {
|
|
109
|
-
let result = false;
|
|
110
|
-
const focusElement = getInitialFocusElement(focusContainer, initialFocusElement);
|
|
111
|
-
if (focusElement) {
|
|
112
|
-
// delay setting focus immediately because in some browsers other focus events happen when popup is initially opened.
|
|
113
|
-
setTimeout(() => {
|
|
114
|
-
attemptFocus(focusElement, true);
|
|
115
|
-
}, 60);
|
|
116
|
-
result = true;
|
|
117
|
-
}
|
|
118
|
-
return result;
|
|
119
|
-
}
|
|
120
|
-
exports.focusIntoContainer = focusIntoContainer;
|
|
121
|
-
/** Trap Focus in container while trap is active.
|
|
122
|
-
* @internal
|
|
123
|
-
*/
|
|
124
|
-
function FocusTrap(props) {
|
|
125
|
-
const restoreFocusElement = React.useRef(null);
|
|
126
|
-
const initialFocusElement = React.useRef(null);
|
|
127
|
-
const focusContainer = React.useRef(null);
|
|
128
|
-
const isInitialMount = React.useRef(true);
|
|
129
|
-
const timeoutRef = React.useRef();
|
|
130
|
-
// Run on initial mount and when dependencies change. which could happen often.
|
|
131
|
-
React.useEffect(() => {
|
|
132
|
-
if (isInitialMount.current) {
|
|
133
|
-
isInitialMount.current = false;
|
|
134
|
-
if (props.active) {
|
|
135
|
-
if (props.returnFocusOnDeactivate) {
|
|
136
|
-
restoreFocusElement.current = document.activeElement;
|
|
137
|
-
}
|
|
138
|
-
initialFocusElement.current = getInitialFocusElement(focusContainer.current, props.initialFocusElement);
|
|
139
|
-
if (initialFocusElement.current) {
|
|
140
|
-
// delay setting focus immediately because in some browsers other focus events happen when popup is initially opened.
|
|
141
|
-
timeoutRef.current = window.setTimeout(() => {
|
|
142
|
-
attemptFocus(initialFocusElement.current, true);
|
|
143
|
-
}, 60);
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
}, [
|
|
148
|
-
props.children,
|
|
149
|
-
props.initialFocusElement,
|
|
150
|
-
props.active,
|
|
151
|
-
props.returnFocusOnDeactivate,
|
|
152
|
-
]);
|
|
153
|
-
// Return function to run only when FocusTrap is unmounted to restore focus
|
|
154
|
-
React.useEffect(() => {
|
|
155
|
-
return () => {
|
|
156
|
-
window.clearTimeout(timeoutRef.current);
|
|
157
|
-
if (restoreFocusElement.current)
|
|
158
|
-
restoreFocusElement.current.focus({
|
|
159
|
-
preventScroll: true,
|
|
160
|
-
});
|
|
161
|
-
};
|
|
162
|
-
}, []);
|
|
163
|
-
// this is hit if Shift tab is used.
|
|
164
|
-
const cycleFocusToEnd = React.useCallback((event) => {
|
|
165
|
-
if (!props.active)
|
|
166
|
-
return;
|
|
167
|
-
if (focusContainer.current && event.target === focusContainer.current) {
|
|
168
|
-
event.stopPropagation();
|
|
169
|
-
event.preventDefault();
|
|
170
|
-
const focusable = findLastFocusableDescendant(focusContainer.current);
|
|
171
|
-
if (focusable) {
|
|
172
|
-
focusable.focus();
|
|
173
|
-
}
|
|
174
|
-
else {
|
|
175
|
-
if (initialFocusElement.current &&
|
|
176
|
-
initialFocusElement.current !== document.activeElement)
|
|
177
|
-
attemptFocus(initialFocusElement.current, true);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
}, [props.active]);
|
|
181
|
-
// this is hit if tab is used on last focusable item in child container.
|
|
182
|
-
const cycleFocusToStart = React.useCallback((event) => {
|
|
183
|
-
if (!props.active)
|
|
184
|
-
return;
|
|
185
|
-
event.stopPropagation();
|
|
186
|
-
if (initialFocusElement.current &&
|
|
187
|
-
initialFocusElement.current !== document.activeElement)
|
|
188
|
-
initialFocusElement.current.focus();
|
|
189
|
-
}, [props.active]);
|
|
190
|
-
if (!props.children)
|
|
191
|
-
return null;
|
|
192
|
-
return (React.createElement(React.Fragment, null,
|
|
193
|
-
React.createElement("div", { "data-testid": "focus-trap-div", onFocus: cycleFocusToEnd, ref: focusContainer,
|
|
194
|
-
/* eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex */
|
|
195
|
-
tabIndex: 0, style: { outline: "none", WebkitTapHighlightColor: "rgba(0,0,0,0)" } }, props.children),
|
|
196
|
-
React.createElement("div", { "data-testid": "focus-trap-limit-div", onFocus: cycleFocusToStart,
|
|
197
|
-
/* eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex */
|
|
198
|
-
tabIndex: 0 })));
|
|
199
|
-
}
|
|
200
|
-
exports.FocusTrap = FocusTrap;
|
|
201
|
-
//# sourceMappingURL=FocusTrap.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FocusTrap.js","sourceRoot":"","sources":["../../../../src/core-react/focustrap/FocusTrap.tsx"],"names":[],"mappings":"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","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Popup\n */\n\nimport * as React from \"react\";\nimport { Logger } from \"@itwin/core-bentley\";\nimport { UiCore } from \"../UiCore\";\n\n/* eslint-disable deprecation/deprecation */\n\nfunction isFocusable(element: HTMLElement): boolean {\n if (!element || element.tabIndex < 0) return false;\n\n if (\n element.classList &&\n element.classList.contains(\"core-focus-trap-ignore-initial\")\n )\n return false;\n\n if (\n element.getAttribute &&\n typeof element.getAttribute === \"function\" &&\n element.getAttribute(\"disabled\") !== null\n )\n return false;\n\n if (\n element.tabIndex > 0 ||\n (element.tabIndex === 0 && element.getAttribute(\"tabIndex\") !== null)\n )\n return true;\n\n switch (element.nodeName) {\n case \"A\":\n const anchorElement = element as HTMLAnchorElement;\n return !!anchorElement.href && anchorElement.rel !== \"ignore\";\n case \"INPUT\":\n const inputElement = element as HTMLInputElement;\n return inputElement.type !== \"hidden\" && inputElement.type !== \"file\";\n case \"BUTTON\":\n case \"SELECT\":\n case \"TEXTAREA\":\n return true;\n default:\n return false;\n }\n}\n\nfunction processFindFocusableDescendant(\n element: HTMLElement | null\n): HTMLElement | null {\n if (!element) return null;\n\n for (const child of element.childNodes) {\n if (isFocusable(child as HTMLElement)) return child as HTMLElement;\n\n const focusable = processFindFocusableDescendant(child as HTMLElement);\n if (focusable) return focusable;\n }\n return null;\n}\n\nfunction findFirstFocusableDescendant(\n focusContainer: HTMLDivElement | null\n): HTMLElement | null {\n return processFindFocusableDescendant(focusContainer);\n}\n\nfunction processFindLastFocusableDescendant(\n element: HTMLElement\n): HTMLElement | null {\n for (let i = element.childNodes.length - 1; i >= 0; i--) {\n const child = element.childNodes[i] as HTMLElement;\n\n const focusable = processFindLastFocusableDescendant(child);\n if (focusable) return focusable;\n\n if (isFocusable(child)) return child;\n }\n return null;\n}\n\nfunction findLastFocusableDescendant(\n focusContainer: HTMLDivElement\n): HTMLElement | null {\n return processFindLastFocusableDescendant(focusContainer);\n}\n\nfunction getInitialFocusElement(\n focusContainer: HTMLDivElement | null,\n initialFocusSpec: React.RefObject<HTMLElement> | string | undefined\n): HTMLElement | null {\n if (!focusContainer) return null;\n\n if (initialFocusSpec) {\n if (typeof initialFocusSpec === \"string\") {\n const node = focusContainer.querySelector(initialFocusSpec);\n if (node) {\n return node as HTMLElement;\n } else {\n Logger.logError(\n `${UiCore.packageName}.FocusTrap`,\n `Unable to locate element via selector ${initialFocusSpec}`\n );\n }\n } else {\n return initialFocusSpec.current;\n }\n }\n return findFirstFocusableDescendant(focusContainer);\n}\n\nfunction attemptFocus(element: HTMLElement, preventScroll: boolean): boolean {\n if (!isFocusable(element)) return false;\n\n try {\n if (document.activeElement !== element)\n element.focus({\n preventScroll: preventScroll ? true : false,\n });\n } catch (e) {\n return false;\n }\n return document.activeElement === element;\n} // end attemptFocus\n\n/** Focus into first focusable element of a container.\n * @internal\n */\nexport function focusIntoContainer(\n focusContainer: HTMLDivElement,\n initialFocusElement?: React.RefObject<HTMLElement> | string\n): boolean {\n let result = false;\n const focusElement = getInitialFocusElement(\n focusContainer,\n initialFocusElement\n );\n if (focusElement) {\n // delay setting focus immediately because in some browsers other focus events happen when popup is initially opened.\n setTimeout(() => {\n attemptFocus(focusElement, true);\n }, 60);\n result = true;\n }\n return result;\n}\n\n/** Properties supported by [[FocusTrap]] component.\n * @internal\n */\nexport interface FocusTrapProps extends React.AllHTMLAttributes<any> {\n /** child components */\n children: React.ReactNode;\n /** if active is not true then no trapping of focus is attempted. */\n active?: boolean;\n /** restore focus to element that had focus before trap was activated */\n returnFocusOnDeactivate: boolean;\n /** Optional reference to element to receive focus when trap is activated. Optionally a CSS Selector\n * string can be supplied to locate an element in the FocusTrap container. If no specification is defined\n * the first focusable element is used.\n */\n initialFocusElement?: React.RefObject<HTMLElement> | string;\n}\n\n/** Trap Focus in container while trap is active.\n * @internal\n */\nexport function FocusTrap(props: FocusTrapProps) {\n const restoreFocusElement = React.useRef<Element | null>(null);\n const initialFocusElement = React.useRef<Element | null>(null);\n const focusContainer = React.useRef<HTMLDivElement | null>(null);\n const isInitialMount = React.useRef(true);\n const timeoutRef = React.useRef<number | undefined>();\n\n // Run on initial mount and when dependencies change. which could happen often.\n React.useEffect(() => {\n if (isInitialMount.current) {\n isInitialMount.current = false;\n if (props.active) {\n if (props.returnFocusOnDeactivate) {\n restoreFocusElement.current = document.activeElement;\n }\n\n initialFocusElement.current = getInitialFocusElement(\n focusContainer.current,\n props.initialFocusElement\n );\n if (initialFocusElement.current) {\n // delay setting focus immediately because in some browsers other focus events happen when popup is initially opened.\n timeoutRef.current = window.setTimeout(() => {\n attemptFocus(initialFocusElement.current as HTMLElement, true);\n }, 60);\n }\n }\n }\n }, [\n props.children,\n props.initialFocusElement,\n props.active,\n props.returnFocusOnDeactivate,\n ]);\n\n // Return function to run only when FocusTrap is unmounted to restore focus\n React.useEffect(() => {\n return () => {\n window.clearTimeout(timeoutRef.current);\n if (restoreFocusElement.current)\n (restoreFocusElement.current as HTMLElement).focus({\n preventScroll: true,\n });\n };\n }, []);\n\n // this is hit if Shift tab is used.\n const cycleFocusToEnd = React.useCallback(\n (event: React.FocusEvent<HTMLDivElement>) => {\n if (!props.active) return;\n\n if (focusContainer.current && event.target === focusContainer.current) {\n event.stopPropagation();\n event.preventDefault();\n const focusable = findLastFocusableDescendant(focusContainer.current);\n\n if (focusable) {\n focusable.focus();\n } else {\n if (\n initialFocusElement.current &&\n initialFocusElement.current !== document.activeElement\n )\n attemptFocus(initialFocusElement.current as HTMLElement, true);\n }\n }\n },\n [props.active]\n );\n\n // this is hit if tab is used on last focusable item in child container.\n const cycleFocusToStart = React.useCallback(\n (event: React.FocusEvent<HTMLDivElement>) => {\n if (!props.active) return;\n\n event.stopPropagation();\n if (\n initialFocusElement.current &&\n initialFocusElement.current !== document.activeElement\n )\n (initialFocusElement.current as HTMLElement).focus();\n },\n [props.active]\n );\n\n if (!props.children) return null;\n return (\n <>\n <div\n data-testid=\"focus-trap-div\"\n onFocus={cycleFocusToEnd}\n ref={focusContainer}\n /* eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex */\n tabIndex={0}\n style={{ outline: \"none\", WebkitTapHighlightColor: \"rgba(0,0,0,0)\" }}\n >\n {props.children}\n </div>\n <div\n data-testid=\"focus-trap-limit-div\"\n onFocus={cycleFocusToStart}\n /* eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex */\n tabIndex={0}\n />\n </>\n );\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"withIsPressed.d.ts","sourceRoot":"","sources":["../../../../src/core-react/hocs/withIsPressed.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC,uCAAuC;IACvC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,+CAA+C;IAC/C,iBAAiB,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;CAClD;AAED;;;GAGG;AACH,eAAO,MAAM,aAAa;;;;;qCAkBe,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAAP,OAAO;;;;;;;;;;;;;;;;;;;;;;;;CAuB/C,CAAC"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*---------------------------------------------------------------------------------------------
|
|
3
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
5
|
-
*--------------------------------------------------------------------------------------------*/
|
|
6
|
-
/** @packageDocumentation
|
|
7
|
-
* @module Common
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.withIsPressed = void 0;
|
|
11
|
-
const React = require("react");
|
|
12
|
-
/** withIsPressed is a React higher-order component that adds pointer and mouse events.
|
|
13
|
-
* @public
|
|
14
|
-
* @deprecated in 4.15.0. Not used by AppUI.
|
|
15
|
-
*/
|
|
16
|
-
const withIsPressed = (Component) => {
|
|
17
|
-
return class WithIsPressed extends React.PureComponent {
|
|
18
|
-
constructor() {
|
|
19
|
-
super(...arguments);
|
|
20
|
-
this.handleOnPointerDown = () => {
|
|
21
|
-
this.changeIsPressed(true);
|
|
22
|
-
};
|
|
23
|
-
this.handleOnPointerUp = () => {
|
|
24
|
-
this.changeIsPressed(false);
|
|
25
|
-
};
|
|
26
|
-
this.handleOnMouseLeave = () => {
|
|
27
|
-
this.changeIsPressed(false);
|
|
28
|
-
};
|
|
29
|
-
this.changeIsPressed = (isPressed) => {
|
|
30
|
-
if (this.props.isPressed === isPressed)
|
|
31
|
-
return;
|
|
32
|
-
this.props.onIsPressedChange && this.props.onIsPressedChange(isPressed);
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
render() {
|
|
36
|
-
const { isPressed, onIsPressedChange, ...props } = this.props; // todo: better solution to rest object of intersected type
|
|
37
|
-
return (
|
|
38
|
-
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
39
|
-
React.createElement("div", { className: "withispressed-wrapper", onMouseDown: this.handleOnPointerDown, onMouseUp: this.handleOnPointerUp, onTouchStart: this.handleOnPointerDown, onTouchEnd: this.handleOnPointerUp, onMouseLeave: this.handleOnMouseLeave },
|
|
40
|
-
React.createElement(Component, { ...props, ...this.state })));
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
exports.withIsPressed = withIsPressed;
|
|
45
|
-
//# sourceMappingURL=withIsPressed.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"withIsPressed.js","sourceRoot":"","sources":["../../../../src/core-react/hocs/withIsPressed.tsx"],"names":[],"mappings":";AAAA;;;gGAGgG;AAChG;;GAEG;;;AAEH,+BAA+B;AAa/B;;;GAGG;AACI,MAAM,aAAa,GAAG,CAC3B,SAA8C,EAC9C,EAAE;IACF,OAAO,MAAM,aAAc,SAAQ,KAAK,CAAC,aAExC;QAFM;;YAGE,wBAAmB,GAAG,GAAG,EAAE;gBAChC,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;YAC7B,CAAC,CAAC;YAEK,sBAAiB,GAAG,GAAG,EAAE;gBAC9B,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;YAC9B,CAAC,CAAC;YAEK,uBAAkB,GAAG,GAAG,EAAE;gBAC/B,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;YAC9B,CAAC,CAAC;YAEK,oBAAe,GAAG,CAAC,SAAkB,EAAE,EAAE;gBAC9C,IAAI,IAAI,CAAC,KAAK,CAAC,SAAS,KAAK,SAAS;oBAAE,OAAO;gBAE/C,IAAI,CAAC,KAAK,CAAC,iBAAiB,IAAI,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC;YAC1E,CAAC,CAAC;QAkBJ,CAAC;QAhBiB,MAAM;YACpB,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAE,GAAG,KAAK,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,2DAA2D;YAC1H,OAAO;YACL,mEAAmE;YACnE,6BACE,SAAS,EAAC,uBAAuB,EACjC,WAAW,EAAE,IAAI,CAAC,mBAAmB,EACrC,SAAS,EAAE,IAAI,CAAC,iBAAiB,EACjC,YAAY,EAAE,IAAI,CAAC,mBAAmB,EACtC,UAAU,EAAE,IAAI,CAAC,iBAAiB,EAClC,YAAY,EAAE,IAAI,CAAC,kBAAkB;gBAErC,oBAAC,SAAS,OAAM,KAAwB,KAAM,IAAI,CAAC,KAAK,GAAI,CACxD,CACP,CAAC;QACJ,CAAC;KACF,CAAC;AACJ,CAAC,CAAC;AAzCW,QAAA,aAAa,iBAyCxB","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Common\n */\n\nimport * as React from \"react\";\n\n/** Properties for [[withIsPressed]] React higher-order component\n * @public\n * @deprecated in 4.15.0. Props of deprecated {@link withIsPressed} HOC.\n */\nexport interface WithIsPressedProps {\n /** initial value for pressed status */\n isPressed?: boolean;\n /** callback function for [isPressed] change */\n onIsPressedChange?: (isPressed: boolean) => void;\n}\n\n/** withIsPressed is a React higher-order component that adds pointer and mouse events.\n * @public\n * @deprecated in 4.15.0. Not used by AppUI.\n */\nexport const withIsPressed = <ComponentProps extends {}>(\n Component: React.ComponentType<ComponentProps>\n) => {\n return class WithIsPressed extends React.PureComponent<\n ComponentProps & WithIsPressedProps // eslint-disable-line deprecation/deprecation\n > {\n public handleOnPointerDown = () => {\n this.changeIsPressed(true);\n };\n\n public handleOnPointerUp = () => {\n this.changeIsPressed(false);\n };\n\n public handleOnMouseLeave = () => {\n this.changeIsPressed(false);\n };\n\n public changeIsPressed = (isPressed: boolean) => {\n if (this.props.isPressed === isPressed) return;\n\n this.props.onIsPressedChange && this.props.onIsPressedChange(isPressed);\n };\n\n public override render() {\n const { isPressed, onIsPressedChange, ...props } = this.props; // todo: better solution to rest object of intersected type\n return (\n // eslint-disable-next-line jsx-a11y/no-static-element-interactions\n <div\n className=\"withispressed-wrapper\"\n onMouseDown={this.handleOnPointerDown}\n onMouseUp={this.handleOnPointerUp}\n onTouchStart={this.handleOnPointerDown}\n onTouchEnd={this.handleOnPointerUp}\n onMouseLeave={this.handleOnMouseLeave}\n >\n <Component {...(props as ComponentProps)} {...this.state} />\n </div>\n );\n }\n };\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"withOnOutsideClick.d.ts","sourceRoot":"","sources":["../../../../src/core-react/hocs/withOnOutsideClick.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,sCAAsC;IACtC,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,GAAG,CAAC;IAC5C,8HAA8H;IAC9H,8BAA8B,CAAC,EAAE,OAAO,CAAC;CAC1C;AAED;;;GAGG;AACH,eAAO,MAAM,kBAAkB,+GAEG,UAAU,KAAK,GAAG,4BACtC,OAAO,qBACD,OAAO;;QAKvB,gBAAgB;;QAEhB,gBAAgB;;QAGhB,gBAAgB;+BACc,WAAW,GAAG,OAAO;QAanD,gBAAgB;0BACS,UAAU;QAanC,gBAAgB;iCACiB,UAAU;QAW3C,gBAAgB;uCACuB,YAAY;QAUnD,gBAAgB;qCACqB,YAAY;sEAerB,cAAc,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;QAxEjD,gBAAgB;;QAEhB,gBAAgB;;QAGhB,gBAAgB;+BACc,WAAW,GAAG,OAAO;QAanD,gBAAgB;0BACS,UAAU;QAanC,gBAAgB;iCACiB,UAAU;QAW3C,gBAAgB;uCACuB,YAAY;QAUnD,gBAAgB;qCACqB,YAAY;sEAerB,cAAc,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;CA6DpD,CAAC"}
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*---------------------------------------------------------------------------------------------
|
|
3
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
5
|
-
*--------------------------------------------------------------------------------------------*/
|
|
6
|
-
/** @packageDocumentation
|
|
7
|
-
* @module Common
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.withOnOutsideClick = void 0;
|
|
11
|
-
const React = require("react");
|
|
12
|
-
/** withOnOutsideClick is a React higher-order component that adds outside click support.
|
|
13
|
-
* @public
|
|
14
|
-
* @deprecated in 4.15.0. Used internally.
|
|
15
|
-
*/
|
|
16
|
-
const withOnOutsideClick = (Component, defaultOnOutsideClick, useCapture = true, usePointerEvents = true) => {
|
|
17
|
-
return class WithOnOutsideClick extends React.PureComponent {
|
|
18
|
-
constructor() {
|
|
19
|
-
super(...arguments);
|
|
20
|
-
/** @internal */
|
|
21
|
-
this.outsideClickContainerDiv = null;
|
|
22
|
-
/** @internal */
|
|
23
|
-
this.isDownOutside = false;
|
|
24
|
-
/** @internal */
|
|
25
|
-
this.handleDocumentClick = (e) => {
|
|
26
|
-
if (!this.outsideClickContainerDiv ||
|
|
27
|
-
!(e.target instanceof Node) ||
|
|
28
|
-
this.outsideClickContainerDiv.contains(e.target))
|
|
29
|
-
return;
|
|
30
|
-
return this.onOutsideClick(e);
|
|
31
|
-
};
|
|
32
|
-
/** @internal */
|
|
33
|
-
this.handleDocumentPointerDown = (e) => {
|
|
34
|
-
this.isDownOutside = true;
|
|
35
|
-
if (this.outsideClickContainerDiv) {
|
|
36
|
-
// typically e.target test for instance of Node, but this is not working from pop out windows
|
|
37
|
-
this.isDownOutside =
|
|
38
|
-
!!e.target &&
|
|
39
|
-
!this.outsideClickContainerDiv.contains(e.target);
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
/** @internal */
|
|
43
|
-
this.handleDocumentPointerUp = (e) => {
|
|
44
|
-
let isUpOutside = true;
|
|
45
|
-
if (this.outsideClickContainerDiv) {
|
|
46
|
-
// typically e.target test for instance of Node, but this is not working from pop out windows
|
|
47
|
-
isUpOutside =
|
|
48
|
-
!!e.target &&
|
|
49
|
-
!this.outsideClickContainerDiv.contains(e.target);
|
|
50
|
-
}
|
|
51
|
-
const isOutsideClick = isUpOutside && this.isDownOutside;
|
|
52
|
-
this.isDownOutside = false;
|
|
53
|
-
isOutsideClick && this.onOutsideClick(e);
|
|
54
|
-
};
|
|
55
|
-
this.handleOutsideClickContainerDivSet = (outsideClickContainerDiv) => {
|
|
56
|
-
this.outsideClickContainerDiv = outsideClickContainerDiv;
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
/** @internal */
|
|
60
|
-
isInCorePopup(element) {
|
|
61
|
-
if (element.nodeName === "DIV") {
|
|
62
|
-
if (element.classList && element.classList.contains("core-popup"))
|
|
63
|
-
return true;
|
|
64
|
-
if (element.parentElement && this.isInCorePopup(element.parentElement))
|
|
65
|
-
return true;
|
|
66
|
-
}
|
|
67
|
-
else {
|
|
68
|
-
if (element.parentElement && this.isInCorePopup(element.parentElement))
|
|
69
|
-
return true;
|
|
70
|
-
}
|
|
71
|
-
return false;
|
|
72
|
-
}
|
|
73
|
-
/** @internal */
|
|
74
|
-
onOutsideClick(e) {
|
|
75
|
-
if (e.target instanceof Node && e.target.nodeType === Node.ELEMENT_NODE) {
|
|
76
|
-
if (!this.props.closeOnNestedPopupOutsideClick &&
|
|
77
|
-
this.isInCorePopup(e.target))
|
|
78
|
-
return;
|
|
79
|
-
}
|
|
80
|
-
if (this.props.onOutsideClick)
|
|
81
|
-
return this.props.onOutsideClick(e);
|
|
82
|
-
else if (defaultOnOutsideClick)
|
|
83
|
-
return defaultOnOutsideClick(e);
|
|
84
|
-
}
|
|
85
|
-
getParentDocument() {
|
|
86
|
-
return this.outsideClickContainerDiv?.ownerDocument ?? document;
|
|
87
|
-
}
|
|
88
|
-
componentDidMount() {
|
|
89
|
-
const outsideClickParentDocument = this.getParentDocument();
|
|
90
|
-
if (usePointerEvents) {
|
|
91
|
-
outsideClickParentDocument.addEventListener("pointerdown", this.handleDocumentPointerDown, useCapture);
|
|
92
|
-
outsideClickParentDocument.addEventListener("pointerup", this.handleDocumentPointerUp, useCapture);
|
|
93
|
-
}
|
|
94
|
-
else
|
|
95
|
-
outsideClickParentDocument.addEventListener("click", this.handleDocumentClick, useCapture);
|
|
96
|
-
}
|
|
97
|
-
componentWillUnmount() {
|
|
98
|
-
const outsideClickParentDocument = this.getParentDocument();
|
|
99
|
-
if (usePointerEvents) {
|
|
100
|
-
outsideClickParentDocument.removeEventListener("pointerdown", this.handleDocumentPointerDown, useCapture);
|
|
101
|
-
outsideClickParentDocument.removeEventListener("pointerup", this.handleDocumentPointerUp, useCapture);
|
|
102
|
-
}
|
|
103
|
-
else
|
|
104
|
-
outsideClickParentDocument.removeEventListener("click", this.handleDocumentClick, useCapture);
|
|
105
|
-
}
|
|
106
|
-
render() {
|
|
107
|
-
const { onOutsideClick, closeOnNestedPopupOutsideClick, ...props } = this.props;
|
|
108
|
-
return (React.createElement("div", { ref: this.handleOutsideClickContainerDivSet },
|
|
109
|
-
React.createElement(Component, { ...props })));
|
|
110
|
-
}
|
|
111
|
-
};
|
|
112
|
-
};
|
|
113
|
-
exports.withOnOutsideClick = withOnOutsideClick;
|
|
114
|
-
//# sourceMappingURL=withOnOutsideClick.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"withOnOutsideClick.js","sourceRoot":"","sources":["../../../../src/core-react/hocs/withOnOutsideClick.tsx"],"names":[],"mappings":"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","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Common\n */\n\nimport * as React from \"react\";\n\n/** Properties for [[withOnOutsideClick]] React higher-order component\n * @public\n * @deprecated in 4.15.0. Props of deprecated {@link withOnOutsideClick} HOC.\n */\nexport interface WithOnOutsideClickProps {\n /** Outside click callback function */\n onOutsideClick?: (event: MouseEvent) => any;\n /** If false outside click processing and closing are skipped if click occurs in another Popup component, default to false. */\n closeOnNestedPopupOutsideClick?: boolean;\n}\n\n/** withOnOutsideClick is a React higher-order component that adds outside click support.\n * @public\n * @deprecated in 4.15.0. Used internally.\n */\nexport const withOnOutsideClick = <ComponentProps extends {}>(\n Component: React.ComponentType<ComponentProps>,\n defaultOnOutsideClick?: (event: MouseEvent) => any,\n useCapture: boolean = true,\n usePointerEvents: boolean = true\n) => {\n return class WithOnOutsideClick extends React.PureComponent<\n ComponentProps & WithOnOutsideClickProps // eslint-disable-line deprecation/deprecation\n > {\n /** @internal */\n public outsideClickContainerDiv?: HTMLDivElement | null = null;\n /** @internal */\n public isDownOutside = false;\n\n /** @internal */\n public isInCorePopup(element: HTMLElement): boolean {\n if (element.nodeName === \"DIV\") {\n if (element.classList && element.classList.contains(\"core-popup\"))\n return true;\n if (element.parentElement && this.isInCorePopup(element.parentElement))\n return true;\n } else {\n if (element.parentElement && this.isInCorePopup(element.parentElement))\n return true;\n }\n return false;\n }\n\n /** @internal */\n public onOutsideClick(e: MouseEvent) {\n if (e.target instanceof Node && e.target.nodeType === Node.ELEMENT_NODE) {\n if (\n !this.props.closeOnNestedPopupOutsideClick &&\n this.isInCorePopup(e.target as HTMLElement)\n )\n return;\n }\n\n if (this.props.onOutsideClick) return this.props.onOutsideClick(e);\n else if (defaultOnOutsideClick) return defaultOnOutsideClick(e);\n }\n\n /** @internal */\n public handleDocumentClick = (e: MouseEvent) => {\n if (\n !this.outsideClickContainerDiv ||\n !(e.target instanceof Node) ||\n this.outsideClickContainerDiv.contains(e.target)\n )\n return;\n\n return this.onOutsideClick(e);\n };\n\n /** @internal */\n public handleDocumentPointerDown = (e: PointerEvent) => {\n this.isDownOutside = true;\n if (this.outsideClickContainerDiv) {\n // typically e.target test for instance of Node, but this is not working from pop out windows\n this.isDownOutside =\n !!e.target &&\n !this.outsideClickContainerDiv.contains(e.target as any);\n }\n };\n\n /** @internal */\n public handleDocumentPointerUp = (e: PointerEvent) => {\n let isUpOutside = true;\n if (this.outsideClickContainerDiv) {\n // typically e.target test for instance of Node, but this is not working from pop out windows\n isUpOutside =\n !!e.target &&\n !this.outsideClickContainerDiv.contains(e.target as any);\n }\n\n const isOutsideClick = isUpOutside && this.isDownOutside;\n this.isDownOutside = false;\n isOutsideClick && this.onOutsideClick(e);\n };\n\n public handleOutsideClickContainerDivSet = (\n outsideClickContainerDiv: HTMLDivElement | null\n ) => {\n this.outsideClickContainerDiv = outsideClickContainerDiv;\n };\n\n public getParentDocument() {\n return this.outsideClickContainerDiv?.ownerDocument ?? document;\n }\n\n public override componentDidMount() {\n const outsideClickParentDocument = this.getParentDocument();\n if (usePointerEvents) {\n outsideClickParentDocument.addEventListener(\n \"pointerdown\",\n this.handleDocumentPointerDown,\n useCapture\n );\n outsideClickParentDocument.addEventListener(\n \"pointerup\",\n this.handleDocumentPointerUp,\n useCapture\n );\n } else\n outsideClickParentDocument.addEventListener(\n \"click\",\n this.handleDocumentClick,\n useCapture\n );\n }\n\n public override componentWillUnmount() {\n const outsideClickParentDocument = this.getParentDocument();\n if (usePointerEvents) {\n outsideClickParentDocument.removeEventListener(\n \"pointerdown\",\n this.handleDocumentPointerDown,\n useCapture\n );\n outsideClickParentDocument.removeEventListener(\n \"pointerup\",\n this.handleDocumentPointerUp,\n useCapture\n );\n } else\n outsideClickParentDocument.removeEventListener(\n \"click\",\n this.handleDocumentClick,\n useCapture\n );\n }\n\n public override render() {\n const { onOutsideClick, closeOnNestedPopupOutsideClick, ...props } =\n this.props;\n return (\n <div ref={this.handleOutsideClickContainerDivSet}>\n <Component {...(props as ComponentProps)} />\n </div>\n );\n }\n };\n};\n"]}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/** @packageDocumentation
|
|
2
|
-
* @module Common
|
|
3
|
-
*/
|
|
4
|
-
import * as React from "react";
|
|
5
|
-
import { Timer } from "../utils/Timer";
|
|
6
|
-
/** Properties for [[withTimeout]] React higher-order component
|
|
7
|
-
* @public
|
|
8
|
-
* @deprecated in 4.15.0. Props of deprecated {@link withTimeout} HOC.
|
|
9
|
-
*/
|
|
10
|
-
export interface WithTimeoutProps {
|
|
11
|
-
/** Timeout duration in milliseconds */
|
|
12
|
-
timeout: number;
|
|
13
|
-
/** Callback function for timeout */
|
|
14
|
-
onTimeout?: () => void;
|
|
15
|
-
}
|
|
16
|
-
/** withTimeout is a React higher-order component that adds timeout support.
|
|
17
|
-
* @public
|
|
18
|
-
* @deprecated in 4.15.0. Not used by AppUI.
|
|
19
|
-
*/
|
|
20
|
-
export declare const withTimeout: <ComponentProps extends {}>(Component: React.ComponentType<ComponentProps>) => {
|
|
21
|
-
new (props: ComponentProps & WithTimeoutProps): {
|
|
22
|
-
timer: Timer;
|
|
23
|
-
componentDidMount(): void;
|
|
24
|
-
componentDidUpdate(_prevProps: Readonly<ComponentProps & WithTimeoutProps>): void;
|
|
25
|
-
componentWillUnmount(): void;
|
|
26
|
-
render(): React.JSX.Element;
|
|
27
|
-
startTimer(timeout: number): void;
|
|
28
|
-
context: unknown;
|
|
29
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<ComponentProps & WithTimeoutProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
30
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
31
|
-
readonly props: Readonly<ComponentProps & WithTimeoutProps>;
|
|
32
|
-
state: Readonly<{}>;
|
|
33
|
-
refs: {
|
|
34
|
-
[key: string]: React.ReactInstance;
|
|
35
|
-
};
|
|
36
|
-
shouldComponentUpdate?(nextProps: Readonly<ComponentProps & WithTimeoutProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
37
|
-
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
38
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<ComponentProps & WithTimeoutProps>, prevState: Readonly<{}>): any;
|
|
39
|
-
componentWillMount?(): void;
|
|
40
|
-
UNSAFE_componentWillMount?(): void;
|
|
41
|
-
componentWillReceiveProps?(nextProps: Readonly<ComponentProps & WithTimeoutProps>, nextContext: any): void;
|
|
42
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<ComponentProps & WithTimeoutProps>, nextContext: any): void;
|
|
43
|
-
componentWillUpdate?(nextProps: Readonly<ComponentProps & WithTimeoutProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
44
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<ComponentProps & WithTimeoutProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
45
|
-
};
|
|
46
|
-
new (props: ComponentProps & WithTimeoutProps, context: any): {
|
|
47
|
-
timer: Timer;
|
|
48
|
-
componentDidMount(): void;
|
|
49
|
-
componentDidUpdate(_prevProps: Readonly<ComponentProps & WithTimeoutProps>): void;
|
|
50
|
-
componentWillUnmount(): void;
|
|
51
|
-
render(): React.JSX.Element;
|
|
52
|
-
startTimer(timeout: number): void;
|
|
53
|
-
context: unknown;
|
|
54
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<ComponentProps & WithTimeoutProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
55
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
56
|
-
readonly props: Readonly<ComponentProps & WithTimeoutProps>;
|
|
57
|
-
state: Readonly<{}>;
|
|
58
|
-
refs: {
|
|
59
|
-
[key: string]: React.ReactInstance;
|
|
60
|
-
};
|
|
61
|
-
shouldComponentUpdate?(nextProps: Readonly<ComponentProps & WithTimeoutProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
62
|
-
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
63
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<ComponentProps & WithTimeoutProps>, prevState: Readonly<{}>): any;
|
|
64
|
-
componentWillMount?(): void;
|
|
65
|
-
UNSAFE_componentWillMount?(): void;
|
|
66
|
-
componentWillReceiveProps?(nextProps: Readonly<ComponentProps & WithTimeoutProps>, nextContext: any): void;
|
|
67
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<ComponentProps & WithTimeoutProps>, nextContext: any): void;
|
|
68
|
-
componentWillUpdate?(nextProps: Readonly<ComponentProps & WithTimeoutProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
69
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<ComponentProps & WithTimeoutProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
70
|
-
};
|
|
71
|
-
contextType?: React.Context<any> | undefined;
|
|
72
|
-
};
|
|
73
|
-
//# sourceMappingURL=withTimeout.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"withTimeout.d.ts","sourceRoot":"","sources":["../../../../src/core-react/hocs/withTimeout.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEvC;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,uCAAuC;IACvC,OAAO,EAAE,MAAM,CAAC;IAChB,oCAAoC;IACpC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED;;;GAGG;AACH,eAAO,MAAM,WAAW;;eAON,KAAK;6BAEkB,IAAI;qFAStC,IAAI;gCAIiC,IAAI;;4BASjB,MAAM;;;;;;;;;;;;;;;;;;;;eAxBnB,KAAK;6BAEkB,IAAI;qFAStC,IAAI;gCAIiC,IAAI;;4BASjB,MAAM;;;;;;;;;;;;;;;;;;;;CAOpC,CAAC"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*---------------------------------------------------------------------------------------------
|
|
3
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
5
|
-
*--------------------------------------------------------------------------------------------*/
|
|
6
|
-
/** @packageDocumentation
|
|
7
|
-
* @module Common
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.withTimeout = void 0;
|
|
11
|
-
const React = require("react");
|
|
12
|
-
const Timer_1 = require("../utils/Timer");
|
|
13
|
-
/** withTimeout is a React higher-order component that adds timeout support.
|
|
14
|
-
* @public
|
|
15
|
-
* @deprecated in 4.15.0. Not used by AppUI.
|
|
16
|
-
*/
|
|
17
|
-
const withTimeout = (Component) => {
|
|
18
|
-
return class WithTimeout extends React.PureComponent {
|
|
19
|
-
constructor() {
|
|
20
|
-
super(...arguments);
|
|
21
|
-
// eslint-disable-next-line deprecation/deprecation
|
|
22
|
-
this.timer = new Timer_1.Timer(0);
|
|
23
|
-
}
|
|
24
|
-
componentDidMount() {
|
|
25
|
-
this.timer.setOnExecute(() => this.props.onTimeout && this.props.onTimeout());
|
|
26
|
-
this.startTimer(this.props.timeout);
|
|
27
|
-
}
|
|
28
|
-
componentDidUpdate(_prevProps // eslint-disable-line deprecation/deprecation
|
|
29
|
-
) {
|
|
30
|
-
this.startTimer(this.props.timeout);
|
|
31
|
-
}
|
|
32
|
-
componentWillUnmount() {
|
|
33
|
-
this.timer.stop();
|
|
34
|
-
}
|
|
35
|
-
render() {
|
|
36
|
-
const { timeout, onTimeout, ...props } = this.props;
|
|
37
|
-
return React.createElement(Component, { ...props, ...this.state });
|
|
38
|
-
}
|
|
39
|
-
startTimer(timeout) {
|
|
40
|
-
if (this.timer.isRunning)
|
|
41
|
-
return;
|
|
42
|
-
this.timer.delay = timeout;
|
|
43
|
-
this.timer.start();
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
exports.withTimeout = withTimeout;
|
|
48
|
-
//# sourceMappingURL=withTimeout.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"withTimeout.js","sourceRoot":"","sources":["../../../../src/core-react/hocs/withTimeout.tsx"],"names":[],"mappings":";AAAA;;;gGAGgG;AAChG;;GAEG;;;AAEH,+BAA+B;AAC/B,0CAAuC;AAavC;;;GAGG;AACI,MAAM,WAAW,GAAG,CACzB,SAA8C,EAC9C,EAAE;IACF,OAAO,MAAM,WAAY,SAAQ,KAAK,CAAC,aAEtC;QAFM;;YAGL,mDAAmD;YAC5C,UAAK,GAAU,IAAI,aAAK,CAAC,CAAC,CAAC,CAAC;QA8BrC,CAAC;QA5BiB,iBAAiB;YAC/B,IAAI,CAAC,KAAK,CAAC,YAAY,CACrB,GAAG,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,IAAI,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,CACrD,CAAC;YACF,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QAEe,kBAAkB,CAChC,UAAuD,CAAC,8CAA8C;;YAEtG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QAEe,oBAAoB;YAClC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;QACpB,CAAC;QAEe,MAAM;YACpB,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC;YACpD,OAAO,oBAAC,SAAS,OAAM,KAAa,KAAM,IAAI,CAAC,KAAK,GAAI,CAAC;QAC3D,CAAC;QAEM,UAAU,CAAC,OAAe;YAC/B,IAAI,IAAI,CAAC,KAAK,CAAC,SAAS;gBAAE,OAAO;YAEjC,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,OAAO,CAAC;YAC3B,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;QACrB,CAAC;KACF,CAAC;AACJ,CAAC,CAAC;AAtCW,QAAA,WAAW,eAsCtB","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Common\n */\n\nimport * as React from \"react\";\nimport { Timer } from \"../utils/Timer\";\n\n/** Properties for [[withTimeout]] React higher-order component\n * @public\n * @deprecated in 4.15.0. Props of deprecated {@link withTimeout} HOC.\n */\nexport interface WithTimeoutProps {\n /** Timeout duration in milliseconds */\n timeout: number;\n /** Callback function for timeout */\n onTimeout?: () => void;\n}\n\n/** withTimeout is a React higher-order component that adds timeout support.\n * @public\n * @deprecated in 4.15.0. Not used by AppUI.\n */\nexport const withTimeout = <ComponentProps extends {}>(\n Component: React.ComponentType<ComponentProps>\n) => {\n return class WithTimeout extends React.PureComponent<\n ComponentProps & WithTimeoutProps // eslint-disable-line deprecation/deprecation\n > {\n // eslint-disable-next-line deprecation/deprecation\n public timer: Timer = new Timer(0);\n\n public override componentDidMount(): void {\n this.timer.setOnExecute(\n () => this.props.onTimeout && this.props.onTimeout()\n );\n this.startTimer(this.props.timeout);\n }\n\n public override componentDidUpdate(\n _prevProps: Readonly<ComponentProps & WithTimeoutProps> // eslint-disable-line deprecation/deprecation\n ): void {\n this.startTimer(this.props.timeout);\n }\n\n public override componentWillUnmount(): void {\n this.timer.stop();\n }\n\n public override render() {\n const { timeout, onTimeout, ...props } = this.props;\n return <Component {...(props as any)} {...this.state} />;\n }\n\n public startTimer(timeout: number) {\n if (this.timer.isRunning) return;\n\n this.timer.delay = timeout;\n this.timer.start();\n }\n };\n};\n"]}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/** @packageDocumentation
|
|
2
|
-
* @module Icon
|
|
3
|
-
*/
|
|
4
|
-
import type { IconSpec } from "./IconComponent";
|
|
5
|
-
/** Class used to return an icon. The icon is variable and can be changed in response to subscribed event ids.
|
|
6
|
-
* @public
|
|
7
|
-
* @deprecated in 4.16.0. Uses a deprecated {@link IconSpec} type. Use conditional rendering to render different icons.
|
|
8
|
-
*/
|
|
9
|
-
export declare class ConditionalIconItem {
|
|
10
|
-
readonly iconGetter: () => IconSpec;
|
|
11
|
-
readonly syncEventIds: string[];
|
|
12
|
-
private _value?;
|
|
13
|
-
/** Constructor for ConditionalIconItem
|
|
14
|
-
* @param iconGetter Function to retrieve the icon that matches the condition. Returns an IconSpec.
|
|
15
|
-
* @param syncEventIds The array of event ids to be monitored. These events are triggered when the condition(s) that control the icon change.
|
|
16
|
-
* @param value The default IconSpec. If this is not specified, the function is run to get the initial value.
|
|
17
|
-
*/
|
|
18
|
-
constructor(iconGetter: () => IconSpec, syncEventIds: string[], value?: IconSpec);
|
|
19
|
-
/** The current IconSpec according to conditions */
|
|
20
|
-
get value(): IconSpec;
|
|
21
|
-
/** Called to update the value by running the iconGetter */
|
|
22
|
-
refresh(): boolean;
|
|
23
|
-
/** A helper function that updates the IconSpec value when the specified events are triggered */
|
|
24
|
-
static refreshValue(conditionalValue: ConditionalIconItem | string | undefined, eventIds: Set<string>): boolean;
|
|
25
|
-
/** helper function to get the iconSpec from a ConditionIconItem as IconSpec | undefined*/
|
|
26
|
-
static getValue(conditionalValue: ConditionalIconItem | string | undefined): IconSpec | undefined;
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=ConditionalIconItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConditionalIconItem.d.ts","sourceRoot":"","sources":["../../../../src/core-react/icons/ConditionalIconItem.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAIhD;;;GAGG;AACH,qBAAa,mBAAmB;aASZ,UAAU,EAAE,MAAM,QAAQ;aAC1B,YAAY,EAAE,MAAM,EAAE;IATxC,OAAO,CAAC,MAAM,CAAC,CAAW;IAE1B;;;;OAIG;gBAEe,UAAU,EAAE,MAAM,QAAQ,EAC1B,YAAY,EAAE,MAAM,EAAE,EACtC,KAAK,CAAC,EAAE,QAAQ;IAKlB,mDAAmD;IACnD,IAAW,KAAK,IAAI,QAAQ,CAI3B;IAED,2DAA2D;IACpD,OAAO,IAAI,OAAO;IAUzB,gGAAgG;WAClF,YAAY,CACxB,gBAAgB,EAAE,mBAAmB,GAAG,MAAM,GAAG,SAAS,EAC1D,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,GACpB,OAAO;IAkBV,0FAA0F;WAC5E,QAAQ,CACpB,gBAAgB,EAAE,mBAAmB,GAAG,MAAM,GAAG,SAAS,GACzD,QAAQ,GAAG,SAAS;CAUxB"}
|