@itwin/core-react 4.17.0 → 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/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/tree/Tree.scss +22 -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 -95
- 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 -55
- 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/tree/Tree.scss +0 -21
- 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 -95
- 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 -55
- 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 -21
- 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}/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
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module Utilities
|
|
3
|
+
*/
|
|
4
|
+
import { Point } from "./Point.js";
|
|
5
|
+
import type { PointProps } from "./PointProps.js";
|
|
6
|
+
import type { SizeProps } from "./Size.js";
|
|
7
|
+
/** Describes 2d bounds.
|
|
8
|
+
* @public
|
|
9
|
+
* @deprecated in 4.16.0. Use {@link @itwin/appui-react#RectangleProps} instead.
|
|
10
|
+
*/
|
|
11
|
+
export interface RectangleProps {
|
|
12
|
+
readonly left: number;
|
|
13
|
+
readonly top: number;
|
|
14
|
+
readonly right: number;
|
|
15
|
+
readonly bottom: number;
|
|
16
|
+
}
|
|
17
|
+
/** Available corners of [[Rectangle]].
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
20
|
+
export declare enum Corner {
|
|
21
|
+
TopLeft = 0,
|
|
22
|
+
TopRight = 1,
|
|
23
|
+
BottomRight = 2,
|
|
24
|
+
BottomLeft = 3
|
|
25
|
+
}
|
|
26
|
+
/** Describes and provides methods to work with 2d bounds.
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare class Rectangle implements RectangleProps {
|
|
30
|
+
readonly left: number;
|
|
31
|
+
readonly top: number;
|
|
32
|
+
readonly right: number;
|
|
33
|
+
readonly bottom: number;
|
|
34
|
+
/** Creates rectangle from [[RectangleProps]]. */
|
|
35
|
+
static create(props: RectangleProps): Rectangle;
|
|
36
|
+
/** Creates rectangle from [[SizeProps]]. */
|
|
37
|
+
static createFromSize(size: SizeProps): Rectangle;
|
|
38
|
+
/** Create a rectangle with 2 pairs of xy candidates. Theses are compared and shuffled as needed for the rectangle. */
|
|
39
|
+
static createXYXY(xA: number, yA: number, xB: number, yB: number): Rectangle;
|
|
40
|
+
/** Creates rectangle with specified bounds. */
|
|
41
|
+
constructor(left?: number, top?: number, right?: number, bottom?: number);
|
|
42
|
+
/** @returns Size of this rectangle. */
|
|
43
|
+
getSize(): SizeProps;
|
|
44
|
+
/** @returns Width of this rectangle. */
|
|
45
|
+
getWidth(): number;
|
|
46
|
+
/** @returns Height of this rectangle. */
|
|
47
|
+
getHeight(): number;
|
|
48
|
+
/** @returns Position of specified corner. */
|
|
49
|
+
getCorner(corner: Corner): Point;
|
|
50
|
+
/**
|
|
51
|
+
* Inset the bounds of this rectangle.
|
|
52
|
+
* @note Negative arguments will increase the size of rectangle.
|
|
53
|
+
* @returns New [[Rectangle]] with modified bounds.
|
|
54
|
+
*/
|
|
55
|
+
inset(left: number, top: number, right: number, bottom: number): Rectangle;
|
|
56
|
+
/**
|
|
57
|
+
* Offsets the rectangle along the X and Y axes.
|
|
58
|
+
* @returns New [[Rectangle]] with modified position.
|
|
59
|
+
*/
|
|
60
|
+
offset(offset: PointProps): Rectangle;
|
|
61
|
+
/**
|
|
62
|
+
* Offsets the rectangle along the X axis.
|
|
63
|
+
* @returns New [[Rectangle]] with modified position along X axis.
|
|
64
|
+
*/
|
|
65
|
+
offsetX(offset: number): Rectangle;
|
|
66
|
+
/**
|
|
67
|
+
* Offsets the rectangle along the Y axis.
|
|
68
|
+
* @returns New [[Rectangle]] with modified position along Y axis.
|
|
69
|
+
*/
|
|
70
|
+
offsetY(offset: number): Rectangle;
|
|
71
|
+
/**
|
|
72
|
+
* Moves the top left corner of rectangle to specified point.
|
|
73
|
+
* @returns New [[Rectangle]] with modified position.
|
|
74
|
+
*/
|
|
75
|
+
setPosition(position: PointProps): Rectangle;
|
|
76
|
+
/**
|
|
77
|
+
* Sets the height of the rectangle.
|
|
78
|
+
* @note Only [[Edge.Bottom]] is subject to change.
|
|
79
|
+
* @returns New [[Rectangle]] with modified height.
|
|
80
|
+
*/
|
|
81
|
+
setHeight(height: number): Rectangle;
|
|
82
|
+
/**
|
|
83
|
+
* Sets the width of the rectangle.
|
|
84
|
+
* @note Only [[Edge.Right]] is subject to change.
|
|
85
|
+
* @returns New [[Rectangle]] with modified width.
|
|
86
|
+
*/
|
|
87
|
+
setWidth(width: number): Rectangle;
|
|
88
|
+
/**
|
|
89
|
+
* Sets the height and width of the rectangle.
|
|
90
|
+
* @note Only [[Edge.Bottom]] and [[Edge.Right]] are subjects to change.
|
|
91
|
+
* @returns New [[Rectangle]] with modified height.
|
|
92
|
+
*/
|
|
93
|
+
setSize(size: SizeProps): Rectangle;
|
|
94
|
+
/** Checks if bounds of two rectangles match. */
|
|
95
|
+
equals(other: RectangleProps): boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Checks if point is within bounds of the rectangle.
|
|
98
|
+
* @note Inclusive.
|
|
99
|
+
*/
|
|
100
|
+
containsPoint(point: PointProps): boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Checks if a point given as x,y is within the rectangle.
|
|
103
|
+
* @note Inclusive.
|
|
104
|
+
*/
|
|
105
|
+
containsXY(x: number, y: number): boolean;
|
|
106
|
+
/**
|
|
107
|
+
* @returns true if this rectangle contains other rectangle.
|
|
108
|
+
* @note Inclusive.
|
|
109
|
+
*/
|
|
110
|
+
contains(other: RectangleProps): boolean;
|
|
111
|
+
/** @returns New [[Rectangle]] which is contained in other rectangle. */
|
|
112
|
+
containIn(other: RectangleProps): Rectangle;
|
|
113
|
+
/** @returns New [[Rectangle]] which is vertically contained in other rectangle. */
|
|
114
|
+
containVerticallyIn(other: RectangleProps): Rectangle;
|
|
115
|
+
/** @returns New [[Rectangle]] which is horizontally contained in other rectangle. */
|
|
116
|
+
containHorizontallyIn(other: RectangleProps): Rectangle;
|
|
117
|
+
/** @returns [[Corner.TopLeft]] position of this rectangle. */
|
|
118
|
+
topLeft(): Point;
|
|
119
|
+
/** @returns Center point position of this rectangle. */
|
|
120
|
+
center(): Point;
|
|
121
|
+
/** @returns true if this rectangle intersects other rectangle. */
|
|
122
|
+
intersects(other: RectangleProps): boolean;
|
|
123
|
+
/**
|
|
124
|
+
* Merges outer edges of this and other rectangles.
|
|
125
|
+
* @returns New [[Rectangle]] with merged bounds.
|
|
126
|
+
*/
|
|
127
|
+
outerMergeWith(other: RectangleProps): Rectangle;
|
|
128
|
+
/**
|
|
129
|
+
* Vertically divides this rectangle into specified number of equal height segments.
|
|
130
|
+
* @returns Vertical rectangle segment.
|
|
131
|
+
*/
|
|
132
|
+
getVerticalSegmentBounds(segmentId: number, numberOfSegments: number): Rectangle;
|
|
133
|
+
/**
|
|
134
|
+
* Horizontally divides this rectangle into specified number of equal width segments.
|
|
135
|
+
* @returns Horizontal rectangle segment.
|
|
136
|
+
*/
|
|
137
|
+
getHorizontalSegmentBounds(segmentId: number, numberOfSegments: number): Rectangle;
|
|
138
|
+
/**
|
|
139
|
+
* Calculates the shortest distance between this rectangle and a given point.
|
|
140
|
+
* @returns The shortest distance to a point.
|
|
141
|
+
*/
|
|
142
|
+
getShortestDistanceToPoint(point: PointProps): number;
|
|
143
|
+
/** @returns [[RectangleProps]] object for this rectangle. */
|
|
144
|
+
toProps(): RectangleProps;
|
|
145
|
+
}
|
|
146
|
+
//# sourceMappingURL=Rectangle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Rectangle.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/Rectangle.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACl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,KAAK,EAAE,UAAU,GAAG,MAAM;IAoC5D,6DAA6D;IACtD,OAAO,IAAI,cAAc;CAQjC"}
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
/** @packageDocumentation
|
|
6
|
+
* @module Utilities
|
|
7
|
+
*/
|
|
8
|
+
import { Point } from "./Point.js";
|
|
9
|
+
/** Available corners of [[Rectangle]].
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
export var Corner;
|
|
13
|
+
(function (Corner) {
|
|
14
|
+
Corner[Corner["TopLeft"] = 0] = "TopLeft";
|
|
15
|
+
Corner[Corner["TopRight"] = 1] = "TopRight";
|
|
16
|
+
Corner[Corner["BottomRight"] = 2] = "BottomRight";
|
|
17
|
+
Corner[Corner["BottomLeft"] = 3] = "BottomLeft";
|
|
18
|
+
})(Corner || (Corner = {}));
|
|
19
|
+
/** Describes and provides methods to work with 2d bounds.
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export class Rectangle {
|
|
23
|
+
/** Creates rectangle from [[RectangleProps]]. */
|
|
24
|
+
static create(props) {
|
|
25
|
+
return new Rectangle(props.left, props.top, props.right, props.bottom);
|
|
26
|
+
}
|
|
27
|
+
/** Creates rectangle from [[SizeProps]]. */
|
|
28
|
+
static createFromSize(size) {
|
|
29
|
+
return new Rectangle(0, 0, size.width, size.height);
|
|
30
|
+
}
|
|
31
|
+
/** Create a rectangle with 2 pairs of xy candidates. Theses are compared and shuffled as needed for the rectangle. */
|
|
32
|
+
static createXYXY(xA, yA, xB, yB) {
|
|
33
|
+
return new Rectangle(Math.min(xA, xB), Math.min(yA, yB), Math.max(xA, xB), Math.max(yA, yB));
|
|
34
|
+
}
|
|
35
|
+
/** Creates rectangle with specified bounds. */
|
|
36
|
+
constructor(left = 0, top = 0, right = 0, bottom = 0) {
|
|
37
|
+
this.left = left;
|
|
38
|
+
this.top = top;
|
|
39
|
+
this.right = right;
|
|
40
|
+
this.bottom = bottom;
|
|
41
|
+
}
|
|
42
|
+
/** @returns Size of this rectangle. */
|
|
43
|
+
getSize() {
|
|
44
|
+
const width = this.getWidth();
|
|
45
|
+
const height = this.getHeight();
|
|
46
|
+
return { width, height };
|
|
47
|
+
}
|
|
48
|
+
/** @returns Width of this rectangle. */
|
|
49
|
+
getWidth() {
|
|
50
|
+
return this.right - this.left;
|
|
51
|
+
}
|
|
52
|
+
/** @returns Height of this rectangle. */
|
|
53
|
+
getHeight() {
|
|
54
|
+
return this.bottom - this.top;
|
|
55
|
+
}
|
|
56
|
+
/** @returns Position of specified corner. */
|
|
57
|
+
getCorner(corner) {
|
|
58
|
+
switch (corner) {
|
|
59
|
+
case Corner.TopLeft: {
|
|
60
|
+
return this.topLeft();
|
|
61
|
+
}
|
|
62
|
+
case Corner.TopRight: {
|
|
63
|
+
return new Point(this.right, this.top);
|
|
64
|
+
}
|
|
65
|
+
case Corner.BottomLeft: {
|
|
66
|
+
return new Point(this.left, this.bottom);
|
|
67
|
+
}
|
|
68
|
+
case Corner.BottomRight: {
|
|
69
|
+
return new Point(this.right, this.bottom);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Inset the bounds of this rectangle.
|
|
75
|
+
* @note Negative arguments will increase the size of rectangle.
|
|
76
|
+
* @returns New [[Rectangle]] with modified bounds.
|
|
77
|
+
*/
|
|
78
|
+
inset(left, top, right, bottom) {
|
|
79
|
+
return new Rectangle(this.left + left, this.top + top, this.right - right, this.bottom - bottom);
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Offsets the rectangle along the X and Y axes.
|
|
83
|
+
* @returns New [[Rectangle]] with modified position.
|
|
84
|
+
*/
|
|
85
|
+
offset(offset) {
|
|
86
|
+
return new Rectangle(this.left + offset.x, this.top + offset.y, this.right + offset.x, this.bottom + offset.y);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Offsets the rectangle along the X axis.
|
|
90
|
+
* @returns New [[Rectangle]] with modified position along X axis.
|
|
91
|
+
*/
|
|
92
|
+
offsetX(offset) {
|
|
93
|
+
return new Rectangle(this.left + offset, this.top, this.right + offset, this.bottom);
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Offsets the rectangle along the Y axis.
|
|
97
|
+
* @returns New [[Rectangle]] with modified position along Y axis.
|
|
98
|
+
*/
|
|
99
|
+
offsetY(offset) {
|
|
100
|
+
return new Rectangle(this.left, this.top + offset, this.right, this.bottom + offset);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Moves the top left corner of rectangle to specified point.
|
|
104
|
+
* @returns New [[Rectangle]] with modified position.
|
|
105
|
+
*/
|
|
106
|
+
setPosition(position) {
|
|
107
|
+
return new Rectangle(position.x, position.y, position.x + this.getWidth(), position.y + this.getHeight());
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Sets the height of the rectangle.
|
|
111
|
+
* @note Only [[Edge.Bottom]] is subject to change.
|
|
112
|
+
* @returns New [[Rectangle]] with modified height.
|
|
113
|
+
*/
|
|
114
|
+
setHeight(height) {
|
|
115
|
+
return new Rectangle(this.left, this.top, this.right, this.top + height);
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Sets the width of the rectangle.
|
|
119
|
+
* @note Only [[Edge.Right]] is subject to change.
|
|
120
|
+
* @returns New [[Rectangle]] with modified width.
|
|
121
|
+
*/
|
|
122
|
+
setWidth(width) {
|
|
123
|
+
return new Rectangle(this.left, this.top, this.left + width, this.bottom);
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Sets the height and width of the rectangle.
|
|
127
|
+
* @note Only [[Edge.Bottom]] and [[Edge.Right]] are subjects to change.
|
|
128
|
+
* @returns New [[Rectangle]] with modified height.
|
|
129
|
+
*/
|
|
130
|
+
setSize(size) {
|
|
131
|
+
return new Rectangle(this.left, this.top, this.left + size.width, this.top + size.height);
|
|
132
|
+
}
|
|
133
|
+
/** Checks if bounds of two rectangles match. */
|
|
134
|
+
equals(other) {
|
|
135
|
+
if (this.left === other.left &&
|
|
136
|
+
this.top === other.top &&
|
|
137
|
+
this.right === other.right &&
|
|
138
|
+
this.bottom === other.bottom)
|
|
139
|
+
return true;
|
|
140
|
+
return false;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Checks if point is within bounds of the rectangle.
|
|
144
|
+
* @note Inclusive.
|
|
145
|
+
*/
|
|
146
|
+
containsPoint(point) {
|
|
147
|
+
return (point.x >= this.left &&
|
|
148
|
+
point.x <= this.right &&
|
|
149
|
+
point.y >= this.top &&
|
|
150
|
+
point.y <= this.bottom);
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Checks if a point given as x,y is within the rectangle.
|
|
154
|
+
* @note Inclusive.
|
|
155
|
+
*/
|
|
156
|
+
containsXY(x, y) {
|
|
157
|
+
return this.containsPoint({ x, y });
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* @returns true if this rectangle contains other rectangle.
|
|
161
|
+
* @note Inclusive.
|
|
162
|
+
*/
|
|
163
|
+
contains(other) {
|
|
164
|
+
return (other.left >= this.left &&
|
|
165
|
+
other.right <= this.right &&
|
|
166
|
+
other.top >= this.top &&
|
|
167
|
+
other.bottom <= this.bottom);
|
|
168
|
+
}
|
|
169
|
+
/** @returns New [[Rectangle]] which is contained in other rectangle. */
|
|
170
|
+
containIn(other) {
|
|
171
|
+
let contained = this.containVerticallyIn(other);
|
|
172
|
+
contained = contained.containHorizontallyIn(other);
|
|
173
|
+
return contained;
|
|
174
|
+
}
|
|
175
|
+
/** @returns New [[Rectangle]] which is vertically contained in other rectangle. */
|
|
176
|
+
containVerticallyIn(other) {
|
|
177
|
+
const contained = this.offsetY(Math.min(other.bottom - this.bottom, 0));
|
|
178
|
+
return contained.offsetY(Math.max(other.top - contained.top, 0));
|
|
179
|
+
}
|
|
180
|
+
/** @returns New [[Rectangle]] which is horizontally contained in other rectangle. */
|
|
181
|
+
containHorizontallyIn(other) {
|
|
182
|
+
const contained = this.offsetX(Math.min(other.right - this.right, 0));
|
|
183
|
+
return contained.offsetX(Math.max(other.left - contained.left, 0));
|
|
184
|
+
}
|
|
185
|
+
/** @returns [[Corner.TopLeft]] position of this rectangle. */
|
|
186
|
+
topLeft() {
|
|
187
|
+
return new Point(this.left, this.top);
|
|
188
|
+
}
|
|
189
|
+
/** @returns Center point position of this rectangle. */
|
|
190
|
+
center() {
|
|
191
|
+
const x = this.left + (this.right - this.left) / 2;
|
|
192
|
+
const y = this.top + (this.bottom - this.top) / 2;
|
|
193
|
+
return new Point(x, y);
|
|
194
|
+
}
|
|
195
|
+
/** @returns true if this rectangle intersects other rectangle. */
|
|
196
|
+
intersects(other) {
|
|
197
|
+
return (this.left < other.right &&
|
|
198
|
+
this.right > other.left &&
|
|
199
|
+
this.top < other.bottom &&
|
|
200
|
+
this.bottom > other.top);
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Merges outer edges of this and other rectangles.
|
|
204
|
+
* @returns New [[Rectangle]] with merged bounds.
|
|
205
|
+
*/
|
|
206
|
+
outerMergeWith(other) {
|
|
207
|
+
const left = Math.min(this.left, other.left);
|
|
208
|
+
const top = Math.min(this.top, other.top);
|
|
209
|
+
const right = Math.max(this.right, other.right);
|
|
210
|
+
const bottom = Math.max(this.bottom, other.bottom);
|
|
211
|
+
return new Rectangle(left, top, right, bottom);
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* Vertically divides this rectangle into specified number of equal height segments.
|
|
215
|
+
* @returns Vertical rectangle segment.
|
|
216
|
+
*/
|
|
217
|
+
getVerticalSegmentBounds(segmentId, numberOfSegments) {
|
|
218
|
+
const segmentHeight = this.getHeight() / numberOfSegments;
|
|
219
|
+
const top = segmentId * segmentHeight;
|
|
220
|
+
return this.inset(0, top, 0, 0).setHeight(segmentHeight);
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* Horizontally divides this rectangle into specified number of equal width segments.
|
|
224
|
+
* @returns Horizontal rectangle segment.
|
|
225
|
+
*/
|
|
226
|
+
getHorizontalSegmentBounds(segmentId, numberOfSegments) {
|
|
227
|
+
const segmentWidth = this.getWidth() / numberOfSegments;
|
|
228
|
+
const left = segmentId * segmentWidth;
|
|
229
|
+
return this.inset(left, 0, 0, 0).setWidth(segmentWidth);
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* Calculates the shortest distance between this rectangle and a given point.
|
|
233
|
+
* @returns The shortest distance to a point.
|
|
234
|
+
*/
|
|
235
|
+
getShortestDistanceToPoint(point) {
|
|
236
|
+
let shortestDistance = 0;
|
|
237
|
+
if (point.x < this.left) {
|
|
238
|
+
if (point.y < this.top)
|
|
239
|
+
shortestDistance = hypotenuseXY(this.left - point.x, this.top - point.y);
|
|
240
|
+
else if (point.y <= this.bottom)
|
|
241
|
+
shortestDistance = this.left - point.x;
|
|
242
|
+
else
|
|
243
|
+
shortestDistance = hypotenuseXY(this.left - point.x, this.bottom - point.y);
|
|
244
|
+
}
|
|
245
|
+
else if (point.x <= this.right) {
|
|
246
|
+
if (point.y < this.top)
|
|
247
|
+
shortestDistance = this.top - point.y;
|
|
248
|
+
else if (point.y <= this.bottom)
|
|
249
|
+
shortestDistance = 0;
|
|
250
|
+
else
|
|
251
|
+
shortestDistance = point.y - this.bottom;
|
|
252
|
+
}
|
|
253
|
+
else {
|
|
254
|
+
if (point.y < this.top)
|
|
255
|
+
shortestDistance = hypotenuseXY(this.right - point.x, this.top - point.y);
|
|
256
|
+
else if (point.y <= this.bottom)
|
|
257
|
+
shortestDistance = point.x - this.right;
|
|
258
|
+
else
|
|
259
|
+
shortestDistance = hypotenuseXY(this.right - point.x, this.bottom - point.y);
|
|
260
|
+
}
|
|
261
|
+
return shortestDistance;
|
|
262
|
+
}
|
|
263
|
+
/** @returns [[RectangleProps]] object for this rectangle. */
|
|
264
|
+
toProps() {
|
|
265
|
+
return {
|
|
266
|
+
bottom: this.bottom,
|
|
267
|
+
left: this.left,
|
|
268
|
+
right: this.right,
|
|
269
|
+
top: this.top,
|
|
270
|
+
};
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
function hypotenuseXY(x, y) {
|
|
274
|
+
return Math.sqrt(x * x + y * y);
|
|
275
|
+
}
|
|
276
|
+
//# sourceMappingURL=Rectangle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Rectangle.js","sourceRoot":"","sources":["../../../src/core-react/utils/Rectangle.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAiBnC;;GAEG;AACH,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,yCAAO,CAAA;IACP,2CAAQ,CAAA;IACR,iDAAW,CAAA;IACX,+CAAU,CAAA;AACZ,CAAC,EALW,MAAM,KAAN,MAAM,QAKjB;AAED;;GAEG;AACH,MAAM,OAAO,SAAS;IACpB,iDAAiD;IAC1C,MAAM,CAAC,MAAM,CAAC,KAAqB;QACxC,OAAO,IAAI,SAAS,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,GAAG,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACzE,CAAC;IAED,4CAA4C;IACrC,MAAM,CAAC,cAAc,CAAC,IAAe;QAC1C,OAAO,IAAI,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IACtD,CAAC;IAED,sHAAsH;IAC/G,MAAM,CAAC,UAAU,CACtB,EAAU,EACV,EAAU,EACV,EAAU,EACV,EAAU;QAEV,OAAO,IAAI,SAAS,CA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KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,GAAG,EAAE,IAAI,CAAC,GAAG;SACd,CAAC;IACJ,CAAC;CACF;AAED,SAAS,YAAY,CAAC,CAAS,EAAE,CAAS;IACxC,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;AAClC,CAAC","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 Utilities\n */\n\nimport { Point } from \"./Point.js\";\nimport type { PointProps } from \"./PointProps.js\";\nimport type { SizeProps } from \"./Size.js\";\n\n/* eslint-disable deprecation/deprecation */\n\n/** Describes 2d bounds.\n * @public\n * @deprecated in 4.16.0. Use {@link @itwin/appui-react#RectangleProps} instead.\n */\nexport interface RectangleProps {\n readonly left: number;\n readonly top: number;\n readonly right: number;\n readonly bottom: number;\n}\n\n/** Available corners of [[Rectangle]].\n * @internal\n */\nexport enum Corner {\n TopLeft,\n TopRight,\n BottomRight,\n BottomLeft,\n}\n\n/** Describes and provides methods to work with 2d bounds.\n * @internal\n */\nexport class Rectangle implements RectangleProps {\n /** Creates rectangle from [[RectangleProps]]. */\n public static create(props: RectangleProps): Rectangle {\n return new Rectangle(props.left, props.top, props.right, props.bottom);\n }\n\n /** Creates rectangle from [[SizeProps]]. */\n public static createFromSize(size: SizeProps): Rectangle {\n return new Rectangle(0, 0, size.width, size.height);\n }\n\n /** Create a rectangle with 2 pairs of xy candidates. Theses are compared and shuffled as needed for the rectangle. */\n public static createXYXY(\n xA: number,\n yA: number,\n xB: number,\n yB: number\n ): Rectangle {\n return new Rectangle(\n Math.min(xA, xB),\n Math.min(yA, yB),\n Math.max(xA, xB),\n Math.max(yA, yB)\n );\n }\n\n /** Creates rectangle with specified bounds. */\n public constructor(\n public readonly left = 0,\n public readonly top = 0,\n public readonly right = 0,\n public readonly bottom = 0\n ) {}\n\n /** @returns Size of this rectangle. */\n public getSize(): SizeProps {\n const width = this.getWidth();\n const height = this.getHeight();\n return { width, height };\n }\n\n /** @returns Width of this rectangle. */\n public getWidth(): number {\n return this.right - this.left;\n }\n\n /** @returns Height of this rectangle. */\n public getHeight(): number {\n return this.bottom - this.top;\n }\n\n /** @returns Position of specified corner. */\n public getCorner(corner: Corner): Point {\n switch (corner) {\n case Corner.TopLeft: {\n return this.topLeft();\n }\n case Corner.TopRight: {\n return new Point(this.right, this.top);\n }\n case Corner.BottomLeft: {\n return new Point(this.left, this.bottom);\n }\n case Corner.BottomRight: {\n return new Point(this.right, this.bottom);\n }\n }\n }\n\n /**\n * Inset the bounds of this rectangle.\n * @note Negative arguments will increase the size of rectangle.\n * @returns New [[Rectangle]] with modified bounds.\n */\n public inset(\n left: number,\n top: number,\n right: number,\n bottom: number\n ): Rectangle {\n return new Rectangle(\n this.left + left,\n this.top + top,\n this.right - right,\n this.bottom - bottom\n );\n }\n\n /**\n * Offsets the rectangle along the X and Y axes.\n * @returns New [[Rectangle]] with modified position.\n */\n public offset(offset: PointProps): Rectangle {\n return new Rectangle(\n this.left + offset.x,\n this.top + offset.y,\n this.right + offset.x,\n this.bottom + offset.y\n );\n }\n\n /**\n * Offsets the rectangle along the X axis.\n * @returns New [[Rectangle]] with modified position along X axis.\n */\n public offsetX(offset: number): Rectangle {\n return new Rectangle(\n this.left + offset,\n this.top,\n this.right + offset,\n this.bottom\n );\n }\n\n /**\n * Offsets the rectangle along the Y axis.\n * @returns New [[Rectangle]] with modified position along Y axis.\n */\n public offsetY(offset: number): Rectangle {\n return new Rectangle(\n this.left,\n this.top + offset,\n this.right,\n this.bottom + offset\n );\n }\n\n /**\n * Moves the top left corner of rectangle to specified point.\n * @returns New [[Rectangle]] with modified position.\n */\n public setPosition(position: PointProps): Rectangle {\n return new Rectangle(\n position.x,\n position.y,\n position.x + this.getWidth(),\n position.y + this.getHeight()\n );\n }\n\n /**\n * Sets the height of the rectangle.\n * @note Only [[Edge.Bottom]] is subject to change.\n * @returns New [[Rectangle]] with modified height.\n */\n public setHeight(height: number): Rectangle {\n return new Rectangle(this.left, this.top, this.right, this.top + height);\n }\n\n /**\n * Sets the width of the rectangle.\n * @note Only [[Edge.Right]] is subject to change.\n * @returns New [[Rectangle]] with modified width.\n */\n public setWidth(width: number): Rectangle {\n return new Rectangle(this.left, this.top, this.left + width, this.bottom);\n }\n\n /**\n * Sets the height and width of the rectangle.\n * @note Only [[Edge.Bottom]] and [[Edge.Right]] are subjects to change.\n * @returns New [[Rectangle]] with modified height.\n */\n public setSize(size: SizeProps): Rectangle {\n return new Rectangle(\n this.left,\n this.top,\n this.left + size.width,\n this.top + size.height\n );\n }\n\n /** Checks if bounds of two rectangles match. */\n public equals(other: RectangleProps): boolean {\n if (\n this.left === other.left &&\n this.top === other.top &&\n this.right === other.right &&\n this.bottom === other.bottom\n )\n return true;\n\n return false;\n }\n\n /**\n * Checks if point is within bounds of the rectangle.\n * @note Inclusive.\n */\n public containsPoint(point: PointProps): boolean {\n return (\n point.x >= this.left &&\n point.x <= this.right &&\n point.y >= this.top &&\n point.y <= this.bottom\n );\n }\n\n /**\n * Checks if a point given as x,y is within the rectangle.\n * @note Inclusive.\n */\n public containsXY(x: number, y: number): boolean {\n return this.containsPoint({ x, y });\n }\n\n /**\n * @returns true if this rectangle contains other rectangle.\n * @note Inclusive.\n */\n public contains(other: RectangleProps): boolean {\n return (\n other.left >= this.left &&\n other.right <= this.right &&\n other.top >= this.top &&\n other.bottom <= this.bottom\n );\n }\n\n /** @returns New [[Rectangle]] which is contained in other rectangle. */\n public containIn(other: RectangleProps): Rectangle {\n let contained: Rectangle = this.containVerticallyIn(other);\n contained = contained.containHorizontallyIn(other);\n return contained;\n }\n\n /** @returns New [[Rectangle]] which is vertically contained in other rectangle. */\n public containVerticallyIn(other: RectangleProps): Rectangle {\n const contained = this.offsetY(Math.min(other.bottom - this.bottom, 0));\n return contained.offsetY(Math.max(other.top - contained.top, 0));\n }\n\n /** @returns New [[Rectangle]] which is horizontally contained in other rectangle. */\n public containHorizontallyIn(other: RectangleProps): Rectangle {\n const contained = this.offsetX(Math.min(other.right - this.right, 0));\n return contained.offsetX(Math.max(other.left - contained.left, 0));\n }\n\n /** @returns [[Corner.TopLeft]] position of this rectangle. */\n public topLeft(): Point {\n return new Point(this.left, this.top);\n }\n\n /** @returns Center point position of this rectangle. */\n public center(): Point {\n const x = this.left + (this.right - this.left) / 2;\n const y = this.top + (this.bottom - this.top) / 2;\n return new Point(x, y);\n }\n\n /** @returns true if this rectangle intersects other rectangle. */\n public intersects(other: RectangleProps): boolean {\n return (\n this.left < other.right &&\n this.right > other.left &&\n this.top < other.bottom &&\n this.bottom > other.top\n );\n }\n\n /**\n * Merges outer edges of this and other rectangles.\n * @returns New [[Rectangle]] with merged bounds.\n */\n public outerMergeWith(other: RectangleProps): Rectangle {\n const left = Math.min(this.left, other.left);\n const top = Math.min(this.top, other.top);\n const right = Math.max(this.right, other.right);\n const bottom = Math.max(this.bottom, other.bottom);\n return new Rectangle(left, top, right, bottom);\n }\n\n /**\n * Vertically divides this rectangle into specified number of equal height segments.\n * @returns Vertical rectangle segment.\n */\n public getVerticalSegmentBounds(\n segmentId: number,\n numberOfSegments: number\n ): Rectangle {\n const segmentHeight = this.getHeight() / numberOfSegments;\n\n const top = segmentId * segmentHeight;\n return this.inset(0, top, 0, 0).setHeight(segmentHeight);\n }\n\n /**\n * Horizontally divides this rectangle into specified number of equal width segments.\n * @returns Horizontal rectangle segment.\n */\n public getHorizontalSegmentBounds(\n segmentId: number,\n numberOfSegments: number\n ): Rectangle {\n const segmentWidth = this.getWidth() / numberOfSegments;\n\n const left = segmentId * segmentWidth;\n return this.inset(left, 0, 0, 0).setWidth(segmentWidth);\n }\n\n /**\n * Calculates the shortest distance between this rectangle and a given point.\n * @returns The shortest distance to a point.\n */\n public getShortestDistanceToPoint(point: PointProps): number {\n let shortestDistance = 0;\n\n if (point.x < this.left) {\n if (point.y < this.top)\n shortestDistance = hypotenuseXY(\n this.left - point.x,\n this.top - point.y\n );\n else if (point.y <= this.bottom) shortestDistance = this.left - point.x;\n else\n shortestDistance = hypotenuseXY(\n this.left - point.x,\n this.bottom - point.y\n );\n } else if (point.x <= this.right) {\n if (point.y < this.top) shortestDistance = this.top - point.y;\n else if (point.y <= this.bottom) shortestDistance = 0;\n else shortestDistance = point.y - this.bottom;\n } else {\n if (point.y < this.top)\n shortestDistance = hypotenuseXY(\n this.right - point.x,\n this.top - point.y\n );\n else if (point.y <= this.bottom) shortestDistance = point.x - this.right;\n else\n shortestDistance = hypotenuseXY(\n this.right - point.x,\n this.bottom - point.y\n );\n }\n\n return shortestDistance;\n }\n\n /** @returns [[RectangleProps]] object for this rectangle. */\n public toProps(): RectangleProps {\n return {\n bottom: this.bottom,\n left: this.left,\n right: this.right,\n top: this.top,\n };\n }\n}\n\nfunction hypotenuseXY(x: number, y: number): number {\n return Math.sqrt(x * x + y * y);\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScrollPositionMaintainer.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/ScrollPositionMaintainer.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEvD;;;;;;;;;;;;GAYG;AACH,qBAAa,wBAAyB,YAAW,WAAW;IAC1D,OAAO,CAAC,QAAQ,CAAuB;gBACpB,EAAE,EAAE,OAAO;IAKvB,OAAO;IAId,OAAO,CAAC,MAAM,CAAC,mBAAmB;IASlC,OAAO,CAAC,MAAM,CAAC,sBAAsB;CAGtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScrollPositionMaintainer.js","sourceRoot":"","sources":["../../../src/core-react/utils/ScrollPositionMaintainer.ts"],"names":[],"mappings":"AASA;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,wBAAwB;IAEnC,YAAmB,EAAW;QAC5B,IAAI,CAAC,QAAQ,GAAG,IAAI,GAAG,EAAE,CAAC;QAC1B,mDAAmD;QACnD,wBAAwB,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;IACpE,CAAC;IACM,OAAO;QACZ,mDAAmD;QACnD,wBAAwB,CAAC,sBAAsB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACjE,CAAC;IACO,MAAM,CAAC,mBAAmB,CAChC,KAAiC,EACjC,OAA6B;QAE7B,KAAK,MAAM,EAAE,IAAI,KAAK,EAAE,CAAC;YACvB,IAAI,EAAE,CAAC,SAAS;gBAAE,OAAO,CAAC,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC;YAChD,IAAI,EAAE,CAAC,QAAQ;gBAAE,IAAI,CAAC,mBAAmB,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QAClE,CAAC;IACH,CAAC;IACO,MAAM,CAAC,sBAAsB,CAAC,OAA6B;QACjE,OAAO,CAAC,OAAO,CAAC,CAAC,SAAS,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC,CAAC;IACjE,CAAC;CACF","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 Utilities\n */\nimport type { IDisposable } from \"@itwin/core-bentley\";\n\n/**\n * A helper class to recursively save and restore scroll positions.\n * Usage:\n * ```ts\n * // scroll positions are saved when `ScrollPositionMaintainer` object is created\n * const maintainer = new ScrollPositionMaintainer(element);\n * // can do something with `element` here\n * // disposing the `maintainer` object restores scroll positions\n * maintainer.dispose();\n * ```\n * @public\n * @deprecated in 4.15.0. Not use by AppUI.\n */\nexport class ScrollPositionMaintainer implements IDisposable {\n private _storage: Map<Element, number>;\n public constructor(el: Element) {\n this._storage = new Map();\n // eslint-disable-next-line deprecation/deprecation\n ScrollPositionMaintainer.saveScrollPositions([el], this._storage);\n }\n public dispose() {\n // eslint-disable-next-line deprecation/deprecation\n ScrollPositionMaintainer.restoreScrollPositions(this._storage);\n }\n private static saveScrollPositions(\n elems: Element[] | HTMLCollection,\n storage: Map<Element, number>\n ) {\n for (const el of elems) {\n if (el.scrollTop) storage.set(el, el.scrollTop);\n if (el.children) this.saveScrollPositions(el.children, storage);\n }\n }\n private static restoreScrollPositions(storage: Map<Element, number>) {\n storage.forEach((scrollTop, el) => (el.scrollTop = scrollTop));\n }\n}\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module Utilities
|
|
3
|
+
*/
|
|
4
|
+
/** Describes 2d dimensions.
|
|
5
|
+
* @public
|
|
6
|
+
* @deprecated in 4.16.0. Use {@link @itwin/appui-react#SizeProps} instead.
|
|
7
|
+
*/
|
|
8
|
+
export interface SizeProps {
|
|
9
|
+
readonly width: number;
|
|
10
|
+
readonly height: number;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=Size.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Size.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/Size.ts"],"names":[],"mappings":"AAIA;;GAEG;AAIH;;;GAGG;AACH,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
/** @packageDocumentation
|
|
6
|
+
* @module Utilities
|
|
7
|
+
*/
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=Size.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Size.js","sourceRoot":"","sources":["../../../src/core-react/utils/Size.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG","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 Utilities\n */\n\n/* eslint-disable deprecation/deprecation */\n\n/** Describes 2d dimensions.\n * @public\n * @deprecated in 4.16.0. Use {@link @itwin/appui-react#SizeProps} instead.\n */\nexport interface SizeProps {\n readonly width: number;\n readonly height: number;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Timer.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/Timer.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;AAElD;;;GAGG;AACH,qBAAa,KAAK;IAChB,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,QAAQ,CAAK;IAErB,OAAO,CAAC,UAAU,CAA6B;IAE/C;;;OAGG;gBACgB,OAAO,EAAE,MAAM;IAIlC,6CAA6C;IAC7C,IAAW,SAAS,IAAI,OAAO,CAE9B;IAED,0EAA0E;IAC1E,IAAW,KAAK,IAGK,MAAM,CAD1B;IACD,IAAW,KAAK,CAAC,EAAE,EAAE,MAAM,EAE1B;IAED,uDAAuD;IAEhD,YAAY,CAAC,SAAS,EAAE,cAAc,GAAG,SAAS;IAIzD,yBAAyB;IAClB,KAAK;IAOZ,wBAAwB;IACjB,IAAI;IAOX,OAAO,CAAC,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,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IACvE,CAAC;IAEO,YAAY;QAClB,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACrC,CAAC;CACF","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 Utilities\n */\n\n/** Signature for [[Timer]] execute callback.\n * @public\n * @deprecated in 4.15.0. Used internally.\n */\nexport type ExecuteHandler = (this: void) => void;\n\n/** Notifies handler after a set interval.\n * @public\n * @deprecated in 4.15.0. Used internally.\n */\nexport class Timer {\n private _delay: number;\n private _isRunning = false;\n private _timerId = 0;\n // eslint-disable-next-line deprecation/deprecation\n private _onExecute: ExecuteHandler | undefined;\n\n /**\n * Creates a new Timer.\n * @param msDelay Time interval in milliseconds after which handler will be notified.\n */\n public constructor(msDelay: number) {\n this._delay = msDelay;\n }\n\n /** Indicates whether the timer is running */\n public get isRunning(): boolean {\n return this._isRunning;\n }\n\n /** Time interval in milliseconds after which handler will be notified. */\n public get delay() {\n return this._delay;\n }\n public set delay(ms: number) {\n this._delay = ms;\n }\n\n /** Set handler that is called after a set interval. */\n // eslint-disable-next-line deprecation/deprecation\n public setOnExecute(onExecute: ExecuteHandler | undefined) {\n this._onExecute = onExecute;\n }\n\n /** Starts this Timer. */\n public start() {\n if (this._isRunning) this.clearTimeout();\n\n this._isRunning = true;\n this.setTimeout();\n }\n\n /** Stops this Timer. */\n public stop() {\n if (!this._isRunning) return;\n\n this._isRunning = false;\n this.clearTimeout();\n }\n\n private execute() {\n this._onExecute && this._onExecute();\n this._isRunning = false;\n }\n\n private setTimeout() {\n this._timerId = window.setTimeout(() => this.execute(), this._delay);\n }\n\n private clearTimeout() {\n window.clearTimeout(this._timerId);\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flattenChildren.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/flattenChildren.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;GAEG;AACH,eAAO,MAAM,eAAe,aAAc,MAAM,SAAS,KAAG,MAAM,SAYjE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flattenChildren.js","sourceRoot":"","sources":["../../../src/core-react/utils/flattenChildren.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,QAAyB,EAAmB,EAAE;IAC5E,MAAM,KAAK,GAAG,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE;QACnD,IAAI,CAAC,KAAK,CAAC,cAAc,CAAiC,KAAK,CAAC;YAC9D,OAAO,KAAK,CAAC;QAEf,IAAI,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,QAAQ,EAAE,CAAC;YAClC,OAAO,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC;QAC9B,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC,CAAC,CAAC;IACH,OAAO,KAAK,CAAC;AACf,CAAC,CAAC","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 Utilities\n */\n\nimport * as React from \"react\";\n\n/** Flattens React fragments.\n * @internal\n */\nexport const flattenChildren = (children: React.ReactNode): React.ReactNode => {\n const items = React.Children.map(children, (child) => {\n if (!React.isValidElement<{ children?: React.ReactNode }>(child))\n return child;\n\n if (child.type === React.Fragment) {\n return child.props.children;\n }\n\n return child;\n });\n return items;\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getBestBWContrastColor.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/getBestBWContrastColor.ts"],"names":[],"mappings":"AAIA;;GAEG;AAIH;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,MAAM,qBAMtD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getBestBWContrastColor.js","sourceRoot":"","sources":["../../../src/core-react/utils/getBestBWContrastColor.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,uBAAuB;AAEvB;;GAEG;AACH,MAAM,UAAU,sBAAsB,CAAC,QAAgB;IACrD,MAAM,CAAC,GAAG,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IACjD,MAAM,CAAC,GAAG,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IACjD,MAAM,CAAC,GAAG,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IACjD,MAAM,GAAG,GAAG,CAAC,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,IAAI,CAAC;IACjD,OAAO,GAAG,IAAI,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;AACxC,CAAC","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 Utilities\n */\n\n// cspell:ignore RRGGBB\n\n/** Gets best black or white color that contrasts with a given color in #RRGGBB format.\n * @internal\n */\nexport function getBestBWContrastColor(hexColor: string) {\n const r = parseInt(hexColor.substring(1, 3), 16);\n const g = parseInt(hexColor.substring(3, 5), 16);\n const b = parseInt(hexColor.substring(5, 7), 16);\n const yiq = (r * 299 + g * 587 + b * 114) / 1000;\n return yiq >= 128 ? \"black\" : \"white\";\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCssVariable.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/getCssVariable.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,YAAY,EAAE,MAAM,EACpB,WAAW,CAAC,EAAE,WAAW,GACxB,MAAM,CAKR;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CACpC,YAAY,EAAE,MAAM,EACpB,WAAW,CAAC,EAAE,WAAW,GACxB,MAAM,CAMR"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCssVariable.js","sourceRoot":"","sources":["../../../src/core-react/utils/getCssVariable.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH;;;GAGG;AACH,MAAM,UAAU,cAAc,CAC5B,YAAoB,EACpB,WAAyB;IAEzB,MAAM,OAAO,GAAG,WAAW,IAAI,QAAQ,CAAC,eAAe,CAAC;IACxD,MAAM,SAAS,GAAG,gBAAgB,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IAClD,MAAM,MAAM,GAAG,MAAM,CAAC,SAAS,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;IACvE,OAAO,MAAM,CAAC;AAChB,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,sBAAsB,CACpC,YAAoB,EACpB,WAAyB;IAEzB,IAAI,SAAS,GAAW,GAAG,CAAC;IAC5B,mDAAmD;IACnD,MAAM,SAAS,GAAG,cAAc,CAAC,YAAY,EAAE,WAAW,CAAC,CAAC;IAC5D,IAAI,SAAS;QAAE,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC;IACjD,OAAO,SAAS,CAAC;AACnB,CAAC","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 Utilities\n */\n\n/** Get CSS variable\n * @public\n * @deprecated in 4.15.0. Not used by AppUI.\n */\nexport function getCssVariable(\n variableName: string,\n htmlElement?: HTMLElement\n): string {\n const element = htmlElement ?? document.documentElement;\n const cssStyles = getComputedStyle(element, null);\n const cssVal = String(cssStyles.getPropertyValue(variableName)).trim();\n return cssVal;\n}\n\n/** Get CSS variable as number\n * @public\n * @deprecated in 4.15.0. Used internally.\n */\nexport function getCssVariableAsNumber(\n variableName: string,\n htmlElement?: HTMLElement\n): number {\n let cssValNum: number = NaN;\n // eslint-disable-next-line deprecation/deprecation\n const cssValStr = getCssVariable(variableName, htmlElement);\n if (cssValStr) cssValNum = parseFloat(cssValStr);\n return cssValNum;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDisplayName.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/getDisplayName.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC;;GAEG;AACH,eAAO,MAAM,cAAc,cAAe,MAAM,aAAa,CAAC,GAAG,CAAC,KAAG,MAIpE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDisplayName.js","sourceRoot":"","sources":["../../../src/core-react/utils/getDisplayName.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAIH;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,SAAmC,EAAU,EAAE;IAC5E,IAAI,SAAS,CAAC,WAAW;QAAE,OAAO,SAAS,CAAC,WAAW,CAAC;IACxD,IAAI,SAAS,CAAC,IAAI;QAAE,OAAO,SAAS,CAAC,IAAI,CAAC;IAC1C,OAAO,WAAW,CAAC;AACrB,CAAC,CAAC","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 Utilities\n */\n\nimport type * as React from \"react\";\n\n/** Gets the display name for a React component.\n * @internal\n */\nexport const getDisplayName = (component: React.ComponentType<any>): string => {\n if (component.displayName) return component.displayName;\n if (component.name) return component.name;\n return \"Component\";\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUserColor.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/getUserColor.ts"],"names":[],"mappings":"AAIA;;GAEG;AAgBH;;GAEG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAalD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUserColor.js","sourceRoot":"","sources":["../../../src/core-react/utils/getUserColor.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,MAAM,MAAM,GAAG;IACb,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;CACV,CAAC;AAEF;;GAEG;AACH,MAAM,UAAU,YAAY,CAAC,KAAa;IACxC,IAAI,OAAO,KAAK,KAAK,QAAQ;QAC3B,wBAAwB;QACxB,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC;IAEnB,MAAM,WAAW,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;IAE/C,IAAI,IAAI,GAAG,CAAC,CAAC;IACb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QAC5C,MAAM,QAAQ,GAAG,WAAW,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;QAC3C,IAAI,GAAG,CAAC,IAAI,GAAG,QAAQ,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC;IAC3C,CAAC;IACD,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC;AACtB,CAAC","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 Utilities\n */\n\nconst COLORS = [\n \"#6ab9ec\",\n \"#b1c854\",\n \"#f7706c\",\n \"#4585a5\",\n \"#ffc335\",\n \"#f7963e\",\n \"#73c7c1\",\n \"#85a9cf\",\n \"#a3779f\",\n \"#c8c2b4\",\n \"#a47854\",\n];\n\n/** Gets a color based on a given email address. This color is usually displayed in an avatar component.\n * @internal\n */\nexport function getUserColor(email: string): string {\n if (typeof email !== \"string\")\n // Test for invalid data\n return COLORS[0];\n\n const cleanString = email.trim().toLowerCase();\n\n let hash = 0;\n for (let i = 0; i < cleanString.length; i++) {\n const charCode = cleanString.charCodeAt(i);\n hash = (hash + charCode) % COLORS.length;\n }\n return COLORS[hash];\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCrossOriginPopup.d.ts","sourceRoot":"","sources":["../../../../src/core-react/utils/hooks/useCrossOriginPopup.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAKH;;;GAGG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,OAAO,EAChB,GAAG,EAAE,MAAM,GAAG,SAAS,EACvB,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,IAAI,QAuGpB"}
|