@itwin/core-react 4.17.6 → 5.0.0-dev.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -33
- package/README.md +16 -2
- package/lib/cjs/core-react/_helpers.scss +6 -4
- package/lib/cjs/core-react/_scrollbar.scss +5 -3
- package/lib/cjs/core-react/_typography.scss +4 -4
- package/lib/cjs/core-react/_z-index.scss +9 -5
- package/lib/cjs/core-react/autosuggest/AutoSuggest.scss +4 -4
- package/lib/cjs/core-react/base/base.scss +5 -3
- package/lib/cjs/core-react/base/classes.scss +1 -1
- package/lib/cjs/core-react/base/index.scss +1 -1
- package/lib/cjs/core-react/button/UnderlinedButton.scss +3 -6
- package/lib/cjs/core-react/classes.scss +5 -6
- package/lib/cjs/core-react/contextmenu/ContextMenu.scss +6 -11
- package/lib/cjs/core-react/dialog/Dialog.scss +1 -1
- package/lib/cjs/core-react/elementseparator/ElementSeparator.scss +0 -3
- package/lib/cjs/core-react/icons/IconComponent.scss +1 -1
- package/lib/cjs/core-react/icons/WebFontIcon.scss +0 -2
- package/lib/cjs/core-react/icons/classes.scss +1 -1
- package/lib/cjs/core-react/icons/index.scss +2 -2
- package/lib/cjs/core-react/icons/mixins.scss +11 -9
- package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.scss +2 -5
- package/lib/cjs/core-react/index.scss +12 -14
- package/lib/cjs/core-react/inputs/classes.scss +1 -1
- package/lib/cjs/core-react/inputs/iconinput/IconInput.scss +1 -2
- package/lib/cjs/core-react/inputs/index.scss +4 -4
- package/lib/cjs/core-react/inputs/input-label.scss +16 -10
- package/lib/cjs/core-react/inputs/input.scss +13 -11
- package/lib/cjs/core-react/inputs/numberinput/NumberInput.scss +2 -2
- package/lib/cjs/core-react/inputs/variables.scss +9 -4
- package/lib/cjs/core-react/layout-variables.scss +1 -1
- package/lib/cjs/core-react/listbox/Listbox.scss +1 -1
- package/lib/cjs/core-react/loading/LoadingBar.scss +2 -4
- package/lib/cjs/core-react/loading/LoadingPrompt.scss +0 -4
- package/lib/cjs/core-react/loading/LoadingSpinner.scss +0 -2
- package/lib/cjs/core-react/loading/index.scss +1 -1
- package/lib/cjs/core-react/loading/mixins.scss +3 -3
- package/lib/cjs/core-react/messagebox/MessageBox.scss +2 -3
- package/lib/cjs/core-react/popup/Popup.scss +1 -2
- package/lib/cjs/core-react/radialmenu/RadialMenu.scss +6 -7
- package/lib/cjs/core-react/searchbox/SearchBox.scss +0 -2
- package/lib/cjs/core-react/settings/SettingsContainer.scss +0 -3
- package/lib/cjs/core-react/style/index.scss +6 -6
- package/lib/cjs/core-react/tabs/classes.scss +1 -1
- package/lib/cjs/core-react/tabs/index.scss +1 -1
- package/lib/cjs/core-react/tabs/tabs.scss +10 -7
- package/lib/cjs/core-react/tabs/vertical.scss +5 -3
- package/lib/cjs/core-react/text/FilteredText.scss +1 -3
- package/lib/cjs/core-react/text/classes.scss +1 -1
- package/lib/cjs/core-react/text/disabled.scss +1 -3
- package/lib/cjs/core-react/text/index.scss +5 -5
- package/lib/cjs/core-react/text/mixins.scss +5 -3
- package/lib/cjs/core-react/text/muted.scss +1 -3
- 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/_geometry.scss +70 -0
- package/lib/core-react/_helpers.scss +54 -0
- package/lib/core-react/_math.scss +13 -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/DeprecatedBadge.scss +11 -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/NewBadge.scss +12 -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/badge/TechnicalPreviewBadge.scss +11 -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/checklistbox/CheckListBox.scss +22 -0
- package/lib/core-react/classes.scss +9 -0
- package/lib/core-react/colorthemes.scss +12 -0
- package/lib/core-react/colorvariables.scss +139 -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/PopupContextMenu.scss +8 -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/SvgPath.scss +15 -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/icons/variables.scss +12 -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/LoadingStatus.scss +20 -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 +117 -0
- package/lib/core-react/messagebox/MessageBox.js.map +1 -0
- package/lib/core-react/messagebox/MessageBox.scss +52 -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/baseline.scss +11 -0
- package/lib/core-react/style/breakpoints.scss +59 -0
- package/lib/core-react/style/colors.scss +77 -0
- package/lib/core-react/style/index.scss +10 -0
- package/lib/core-react/style/mixins.scss +23 -0
- package/lib/core-react/style/opacity.scss +16 -0
- package/lib/core-react/style/themecolors.scss +133 -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/block.scss +15 -0
- package/lib/core-react/text/body.scss +13 -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/Branch.scss +13 -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/ExpansionToggle.scss +32 -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/Node.scss +68 -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/Placeholder.scss +17 -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/esm/core-react/_helpers.scss +6 -4
- package/lib/esm/core-react/_scrollbar.scss +5 -3
- package/lib/esm/core-react/_typography.scss +4 -4
- package/lib/esm/core-react/_z-index.scss +9 -5
- package/lib/esm/core-react/autosuggest/AutoSuggest.scss +4 -4
- package/lib/esm/core-react/base/base.scss +5 -3
- package/lib/esm/core-react/base/classes.scss +1 -1
- package/lib/esm/core-react/base/index.scss +1 -1
- package/lib/esm/core-react/button/UnderlinedButton.scss +3 -6
- package/lib/esm/core-react/classes.scss +5 -6
- package/lib/esm/core-react/contextmenu/ContextMenu.scss +6 -11
- package/lib/esm/core-react/dialog/Dialog.scss +1 -1
- package/lib/esm/core-react/elementseparator/ElementSeparator.scss +0 -3
- package/lib/esm/core-react/icons/IconComponent.scss +1 -1
- package/lib/esm/core-react/icons/WebFontIcon.scss +0 -2
- package/lib/esm/core-react/icons/classes.scss +1 -1
- package/lib/esm/core-react/icons/index.scss +2 -2
- package/lib/esm/core-react/icons/mixins.scss +11 -9
- package/lib/esm/core-react/imagecheckbox/ImageCheckBox.scss +2 -5
- package/lib/esm/core-react/index.scss +12 -14
- package/lib/esm/core-react/inputs/classes.scss +1 -1
- package/lib/esm/core-react/inputs/iconinput/IconInput.scss +1 -2
- package/lib/esm/core-react/inputs/index.scss +4 -4
- package/lib/esm/core-react/inputs/input-label.scss +16 -10
- package/lib/esm/core-react/inputs/input.scss +13 -11
- package/lib/esm/core-react/inputs/numberinput/NumberInput.scss +2 -2
- package/lib/esm/core-react/inputs/variables.scss +9 -4
- package/lib/esm/core-react/layout-variables.scss +1 -1
- package/lib/esm/core-react/listbox/Listbox.scss +1 -1
- package/lib/esm/core-react/loading/LoadingBar.scss +2 -4
- package/lib/esm/core-react/loading/LoadingPrompt.scss +0 -4
- package/lib/esm/core-react/loading/LoadingSpinner.scss +0 -2
- package/lib/esm/core-react/loading/index.scss +1 -1
- package/lib/esm/core-react/loading/mixins.scss +3 -3
- package/lib/esm/core-react/messagebox/MessageBox.scss +2 -3
- package/lib/esm/core-react/popup/Popup.scss +1 -2
- package/lib/esm/core-react/radialmenu/RadialMenu.scss +6 -7
- package/lib/esm/core-react/searchbox/SearchBox.scss +0 -2
- package/lib/esm/core-react/settings/SettingsContainer.scss +0 -3
- package/lib/esm/core-react/style/index.scss +6 -6
- package/lib/esm/core-react/tabs/classes.scss +1 -1
- package/lib/esm/core-react/tabs/index.scss +1 -1
- package/lib/esm/core-react/tabs/tabs.scss +10 -7
- package/lib/esm/core-react/tabs/vertical.scss +5 -3
- package/lib/esm/core-react/text/FilteredText.scss +1 -3
- package/lib/esm/core-react/text/classes.scss +1 -1
- package/lib/esm/core-react/text/disabled.scss +1 -3
- package/lib/esm/core-react/text/index.scss +5 -5
- package/lib/esm/core-react/text/mixins.scss +5 -3
- package/lib/esm/core-react/text/muted.scss +1 -3
- 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 +39 -35
- 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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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 -122
- package/lib/cjs/core-react/messagebox/MessageBox.js.map +0 -1
- 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/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/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/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/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/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/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/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/tree/Branch.d.ts +0 -22
- package/lib/cjs/core-react/tree/Branch.d.ts.map +0 -1
- package/lib/cjs/core-react/tree/Branch.js +0 -26
- package/lib/cjs/core-react/tree/Branch.js.map +0 -1
- package/lib/cjs/core-react/tree/ExpansionToggle.d.ts +0 -21
- package/lib/cjs/core-react/tree/ExpansionToggle.d.ts.map +0 -1
- package/lib/cjs/core-react/tree/ExpansionToggle.js +0 -31
- package/lib/cjs/core-react/tree/ExpansionToggle.js.map +0 -1
- package/lib/cjs/core-react/tree/Node.d.ts +0 -84
- package/lib/cjs/core-react/tree/Node.d.ts.map +0 -1
- package/lib/cjs/core-react/tree/Node.js +0 -92
- package/lib/cjs/core-react/tree/Node.js.map +0 -1
- package/lib/cjs/core-react/tree/Placeholder.d.ts +0 -25
- package/lib/cjs/core-react/tree/Placeholder.d.ts.map +0 -1
- package/lib/cjs/core-react/tree/Placeholder.js +0 -34
- package/lib/cjs/core-react/tree/Placeholder.js.map +0 -1
- package/lib/cjs/core-react/tree/Tree.d.ts +0 -31
- package/lib/cjs/core-react/tree/Tree.d.ts.map +0 -1
- package/lib/cjs/core-react/tree/Tree.js +0 -109
- package/lib/cjs/core-react/tree/Tree.js.map +0 -1
- package/lib/cjs/core-react/uistate/LocalStateStorage.d.ts +0 -17
- package/lib/cjs/core-react/uistate/LocalStateStorage.d.ts.map +0 -1
- package/lib/cjs/core-react/uistate/LocalStateStorage.js +0 -52
- package/lib/cjs/core-react/uistate/LocalStateStorage.js.map +0 -1
- package/lib/cjs/core-react/uistate/UiStateEntry.d.ts +0 -32
- package/lib/cjs/core-react/uistate/UiStateEntry.d.ts.map +0 -1
- package/lib/cjs/core-react/uistate/UiStateEntry.js +0 -62
- package/lib/cjs/core-react/uistate/UiStateEntry.js.map +0 -1
- package/lib/cjs/core-react/uistate/UiStateStorage.d.ts.map +0 -1
- package/lib/cjs/core-react/uistate/UiStateStorage.js +0 -23
- package/lib/cjs/core-react/uistate/UiStateStorage.js.map +0 -1
- package/lib/cjs/core-react/utils/IconHelper.d.ts +0 -27
- package/lib/cjs/core-react/utils/IconHelper.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/IconHelper.js +0 -86
- package/lib/cjs/core-react/utils/IconHelper.js.map +0 -1
- package/lib/cjs/core-react/utils/IconWebComponent.d.ts +0 -13
- package/lib/cjs/core-react/utils/IconWebComponent.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/IconWebComponent.js +0 -117
- package/lib/cjs/core-react/utils/IconWebComponent.js.map +0 -1
- package/lib/cjs/core-react/utils/ListenerType.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/ListenerType.js +0 -3
- package/lib/cjs/core-react/utils/ListenerType.js.map +0 -1
- package/lib/cjs/core-react/utils/Point.d.ts +0 -38
- package/lib/cjs/core-react/utils/Point.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/Point.js +0 -74
- package/lib/cjs/core-react/utils/Point.js.map +0 -1
- package/lib/cjs/core-react/utils/PointProps.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/PointProps.js +0 -3
- package/lib/cjs/core-react/utils/PointProps.js.map +0 -1
- package/lib/cjs/core-react/utils/Props.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/Props.js +0 -10
- package/lib/cjs/core-react/utils/Props.js.map +0 -1
- package/lib/cjs/core-react/utils/Rectangle.d.ts +0 -147
- package/lib/cjs/core-react/utils/Rectangle.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/Rectangle.js +0 -279
- package/lib/cjs/core-react/utils/Rectangle.js.map +0 -1
- package/lib/cjs/core-react/utils/ScrollPositionMaintainer.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/ScrollPositionMaintainer.js +0 -40
- package/lib/cjs/core-react/utils/ScrollPositionMaintainer.js.map +0 -1
- package/lib/cjs/core-react/utils/Size.d.ts +0 -25
- package/lib/cjs/core-react/utils/Size.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/Size.js +0 -32
- package/lib/cjs/core-react/utils/Size.js.map +0 -1
- package/lib/cjs/core-react/utils/Timer.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/Timer.js +0 -67
- package/lib/cjs/core-react/utils/Timer.js.map +0 -1
- package/lib/cjs/core-react/utils/UiGeometry.d.ts +0 -21
- package/lib/cjs/core-react/utils/UiGeometry.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/UiGeometry.js +0 -33
- package/lib/cjs/core-react/utils/UiGeometry.js.map +0 -1
- package/lib/cjs/core-react/utils/flattenChildren.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/flattenChildren.js +0 -27
- package/lib/cjs/core-react/utils/flattenChildren.js.map +0 -1
- package/lib/cjs/core-react/utils/getBestBWContrastColor.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/getBestBWContrastColor.js +0 -23
- package/lib/cjs/core-react/utils/getBestBWContrastColor.js.map +0 -1
- package/lib/cjs/core-react/utils/getCssVariable.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/getCssVariable.js +0 -35
- package/lib/cjs/core-react/utils/getCssVariable.js.map +0 -1
- package/lib/cjs/core-react/utils/getDisplayName.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/getDisplayName.js +0 -22
- package/lib/cjs/core-react/utils/getDisplayName.js.map +0 -1
- package/lib/cjs/core-react/utils/getObjectClassName.d.ts +0 -9
- package/lib/cjs/core-react/utils/getObjectClassName.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/getObjectClassName.js +0 -23
- package/lib/cjs/core-react/utils/getObjectClassName.js.map +0 -1
- package/lib/cjs/core-react/utils/getUserColor.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/getUserColor.js +0 -40
- package/lib/cjs/core-react/utils/getUserColor.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/ResizeObserverPolyfill.d.ts +0 -8
- package/lib/cjs/core-react/utils/hooks/ResizeObserverPolyfill.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/ResizeObserverPolyfill.js +0 -22
- package/lib/cjs/core-react/utils/hooks/ResizeObserverPolyfill.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useCrossOriginPopup.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useCrossOriginPopup.js +0 -103
- package/lib/cjs/core-react/utils/hooks/useCrossOriginPopup.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useDisposable.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useDisposable.js +0 -57
- package/lib/cjs/core-react/utils/hooks/useDisposable.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useEffectSkipFirst.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useEffectSkipFirst.js +0 -28
- package/lib/cjs/core-react/utils/hooks/useEffectSkipFirst.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useEventListener.d.ts +0 -12
- package/lib/cjs/core-react/utils/hooks/useEventListener.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useEventListener.js +0 -43
- package/lib/cjs/core-react/utils/hooks/useEventListener.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useInterval.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useInterval.js +0 -40
- package/lib/cjs/core-react/utils/hooks/useInterval.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useLifecycleLogging.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useLifecycleLogging.js +0 -68
- package/lib/cjs/core-react/utils/hooks/useLifecycleLogging.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useOnOutsideClick.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useOnOutsideClick.js +0 -103
- package/lib/cjs/core-react/utils/hooks/useOnOutsideClick.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useProximityToMouse.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useProximityToMouse.js +0 -114
- package/lib/cjs/core-react/utils/hooks/useProximityToMouse.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useRefEffect.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useRefEffect.js +0 -24
- package/lib/cjs/core-react/utils/hooks/useRefEffect.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useRefState.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useRefState.js +0 -36
- package/lib/cjs/core-react/utils/hooks/useRefState.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useRefs.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useRefs.js +0 -54
- package/lib/cjs/core-react/utils/hooks/useRefs.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useResizeObserver.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useResizeObserver.js +0 -211
- package/lib/cjs/core-react/utils/hooks/useResizeObserver.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useTargeted.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useTargeted.js +0 -32
- package/lib/cjs/core-react/utils/hooks/useTargeted.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useThrottledFn.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useThrottledFn.js +0 -26
- package/lib/cjs/core-react/utils/hooks/useThrottledFn.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useWidgetOpacityContext.d.ts +0 -21
- package/lib/cjs/core-react/utils/hooks/useWidgetOpacityContext.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useWidgetOpacityContext.js +0 -27
- package/lib/cjs/core-react/utils/hooks/useWidgetOpacityContext.js.map +0 -1
- package/lib/cjs/core-react/utils/isPromiseLike.d.ts +0 -8
- package/lib/cjs/core-react/utils/isPromiseLike.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/isPromiseLike.js +0 -20
- package/lib/cjs/core-react/utils/isPromiseLike.js.map +0 -1
- package/lib/cjs/core-react/utils/matches.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/matches.js +0 -7
- package/lib/cjs/core-react/utils/matches.js.map +0 -1
- package/lib/cjs/core-react/utils/reuseOrCreatePromise.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/reuseOrCreatePromise.js +0 -33
- package/lib/cjs/core-react/utils/reuseOrCreatePromise.js.map +0 -1
- package/lib/cjs/core-react/utils/shallowDiffers.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/shallowDiffers.js +0 -30
- package/lib/cjs/core-react/utils/shallowDiffers.js.map +0 -1
- package/lib/cjs/core-react/utils/typeUtils.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/typeUtils.js +0 -10
- package/lib/cjs/core-react/utils/typeUtils.js.map +0 -1
- package/lib/cjs/core-react.d.ts +0 -242
- package/lib/cjs/core-react.d.ts.map +0 -1
- package/lib/cjs/core-react.js +0 -273
- package/lib/cjs/core-react.js.map +0 -1
- package/lib/esm/core-react/UiCore.d.ts +0 -38
- package/lib/esm/core-react/UiCore.d.ts.map +0 -1
- package/lib/esm/core-react/UiCore.js +0 -72
- package/lib/esm/core-react/UiCore.js.map +0 -1
- package/lib/esm/core-react/UiCore.json +0 -31
- package/lib/esm/core-react/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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 -117
- package/lib/esm/core-react/messagebox/MessageBox.js.map +0 -1
- 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/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/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/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/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/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/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/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/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/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/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/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/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/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}/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/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/TechnicalPreviewBadge.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/badge/TechnicalPreviewBadge.js +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}/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/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/{esm/core-react → core-react}/icons/WebFontIcon.js +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}/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/{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/{esm/core-react → core-react}/tree/Branch.js +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 @@
|
|
|
1
|
+
{"version":3,"file":"UiStateEntry.js","sourceRoot":"","sources":["../../../src/core-react/uistate/UiStateEntry.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE3D,4CAA4C;AAE5C;;;GAGG;AACH,MAAM,OAAO,YAAY;IACvB;;;;;;OAMG;IACH,YACS,gBAAwB,EACxB,WAAmB,EACnB,QAAiB,EACjB,UAA2B,EAC3B,YAAgB;QAJhB,qBAAgB,GAAhB,gBAAgB,CAAQ;QACxB,gBAAW,GAAX,WAAW,CAAQ;QACnB,aAAQ,GAAR,QAAQ,CAAS;QACjB,eAAU,GAAV,UAAU,CAAiB;QAC3B,iBAAY,GAAZ,YAAY,CAAI;IACtB,CAAC;IAEJ,+CAA+C;IACxC,KAAK,CAAC,UAAU,CACrB,OAAuB;QAEvB,OAAO,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,gBAAgB,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;IACrE,CAAC;IAED,6EAA6E;IACtE,KAAK,CAAC,WAAW,CACtB,OAAuB;QAEvB,OAAO,OAAO,CAAC,WAAW,CACxB,IAAI,CAAC,gBAAgB,EACrB,IAAI,CAAC,WAAW,EAChB,IAAI,CAAC,QAAQ,EAAE,CAChB,CAAC;IACJ,CAAC;IAED,8CAA8C;IACvC,KAAK,CAAC,aAAa,CACxB,OAAuB;QAEvB,OAAO,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,gBAAgB,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;IACxE,CAAC;IAED,iGAAiG;IAC1F,KAAK,CAAC,uBAAuB,CAClC,OAAuB;QAEvB,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACpB,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;YAC9C,IAAI,MAAM,CAAC,MAAM,KAAK,oBAAoB,CAAC,OAAO,EAAE,CAAC;gBACnD,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;YAClC,CAAC;iBAAM,IAAI,SAAS,KAAK,IAAI,CAAC,YAAY,EAAE,CAAC;gBAC3C,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;gBACnC,MAAM,CAAC,OAAO,GAAG,IAAI,CAAC,YAAY,CAAC;gBACnC,MAAM,CAAC,MAAM,GAAG,oBAAoB,CAAC,OAAO,CAAC;YAC/C,CAAC;YACD,OAAO,MAAM,CAAC;QAChB,CAAC;QACD,OAAO,EAAE,MAAM,EAAE,oBAAoB,CAAC,aAAa,EAAE,CAAC;IACxD,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 UiStateStorage\n */\n\nimport type { UiStateStorage, UiStateStorageResult } from \"./UiStateStorage.js\";\nimport { UiStateStorageStatus } from \"./UiStateStorage.js\";\n\n/* eslint-disable deprecation/deprecation */\n\n/** A single UI State entry that is identified by namespace and setting name.\n * @public\n * @deprecated in 4.16.0. Use {@link UiStateStorage} APIs instead.\n */\nexport class UiStateEntry<T> {\n /** Constructor\n * @param settingNamespace Namespace for the setting, passed to UiStateStorage.\n * @param settingName Name for the setting, passed to UiStateStorage.\n * @param getValue Function for getting the value from the application.\n * @param applyValue Function for applying the setting value to the application.\n * @param defaultValue Optional default value if not already stored.\n */\n public constructor(\n public settingNamespace: string,\n public settingName: string,\n public getValue: () => T,\n public applyValue?: (v: T) => void,\n public defaultValue?: T\n ) {}\n\n /** Gets the setting from [[UiStateStorage]] */\n public async getSetting(\n storage: UiStateStorage\n ): Promise<UiStateStorageResult> {\n return storage.getSetting(this.settingNamespace, this.settingName);\n }\n\n /** Saves the setting value from the `getValue` function to UiStateStorage */\n public async saveSetting(\n storage: UiStateStorage\n ): Promise<UiStateStorageResult> {\n return storage.saveSetting(\n this.settingNamespace,\n this.settingName,\n this.getValue()\n );\n }\n\n /** Deletes the setting from UiStateStorage */\n public async deleteSetting(\n storage: UiStateStorage\n ): Promise<UiStateStorageResult> {\n return storage.deleteSetting(this.settingNamespace, this.settingName);\n }\n\n /** Gets the setting from UiStateStorage and applies the value using the `applyValue` function */\n public async getSettingAndApplyValue(\n storage: UiStateStorage\n ): Promise<UiStateStorageResult> {\n if (this.applyValue) {\n const result = await this.getSetting(storage);\n if (result.status === UiStateStorageStatus.Success) {\n this.applyValue(result.setting);\n } else if (undefined !== this.defaultValue) {\n this.applyValue(this.defaultValue);\n result.setting = this.defaultValue;\n result.status = UiStateStorageStatus.Success;\n }\n return result;\n }\n return { status: UiStateStorageStatus.Uninitialized };\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UiStateStorage.d.ts","sourceRoot":"","sources":["../../../src/core-react/uistate/UiStateStorage.ts"],"names":[],"mappings":"AAIA;;GAEG;AAIH;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,UAAU,CACR,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACjC,WAAW,CACT,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,GAAG,GACX,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACjC,aAAa,CACX,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,oBAAoB,CAAC,CAAC;CAClC;AAED;;;GAGG;AACH,oBAAY,oBAAoB;IAC9B,OAAO,IAAI;IACX,QAAQ,IAAI;IACZ,YAAY,IAAI;IAChB,aAAa,IAAI;IACjB,kBAAkB,IAAI;CACvB;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,oBAAoB,CAAC;IAC7B,OAAO,CAAC,EAAE,GAAG,CAAC;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UiStateStorage.js","sourceRoot":"","sources":["../../../src/core-react/uistate/UiStateStorage.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAwBH;;;GAGG;AACH,MAAM,CAAN,IAAY,oBAMX;AAND,WAAY,oBAAoB;IAC9B,qEAAW,CAAA;IACX,uEAAY,CAAA;IACZ,+EAAgB,CAAA;IAChB,iFAAiB,CAAA;IACjB,2FAAsB,CAAA;AACxB,CAAC,EANW,oBAAoB,KAApB,oBAAoB,QAM/B","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 UiStateStorage\n */\n\n/* eslint-disable deprecation/deprecation */\n\n/** Interface for getting, saving and deleting settings.\n * @public\n * @deprecated in 4.16.0. Use {@link @itwin/appui-react#UiStateStorage} instead.\n */\nexport interface UiStateStorage {\n getSetting(\n settingNamespace: string,\n settingName: string\n ): Promise<UiStateStorageResult>;\n saveSetting(\n settingNamespace: string,\n settingName: string,\n setting: any\n ): Promise<UiStateStorageResult>;\n deleteSetting(\n settingNamespace: string,\n settingName: string\n ): Promise<UiStateStorageResult>;\n}\n\n/** Enum for [[UiStateStorage]] status.\n * @public\n * @deprecated in 4.16.0. Use {@link @itwin/appui-react#UiStateStorageStatus} instead.\n */\nexport enum UiStateStorageStatus {\n Success = 0,\n NotFound = 1,\n UnknownError = 2,\n Uninitialized = 3,\n AuthorizationError = 4,\n}\n\n/** Interface for result of accessing UI state setting in [[UiStateStorage]].\n * @public\n * @deprecated in 4.16.0. Use {@link @itwin/appui-react#UiStateStorageResult} instead.\n */\nexport interface UiStateStorageResult {\n status: UiStateStorageStatus;\n setting?: any;\n}\n"]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module Utilities
|
|
3
|
+
*/
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import { ConditionalStringValue } from "@itwin/appui-abstract";
|
|
6
|
+
import type { IconSpec } from "../icons/IconComponent.js";
|
|
7
|
+
import { ConditionalIconItem } from "../icons/ConditionalIconItem.js";
|
|
8
|
+
/** Icon Helper Class used to store the data needed to generate an <Icon> for use in any control that shows an icon.
|
|
9
|
+
* @public
|
|
10
|
+
* @deprecated in 4.15.0. Used internally.
|
|
11
|
+
*/
|
|
12
|
+
export declare class IconHelper {
|
|
13
|
+
static get reactIconKey(): string;
|
|
14
|
+
static get conditionalIconItemKey(): string;
|
|
15
|
+
/** Returns an <Icon> ReactNode from the many ways an icon can be specified.
|
|
16
|
+
* @param icon abstract icon specification.
|
|
17
|
+
* @param internalData a map that may hold a React.ReactNode stored in an abstract item definition.
|
|
18
|
+
*/
|
|
19
|
+
static getIconReactNode(icon: string | ConditionalStringValue | React.ReactNode | ConditionalIconItem, internalData?: Map<string, any>): React.ReactNode;
|
|
20
|
+
/** Returns an icon definition that can be stored in an abstract item definition. If the iconSpec specifies a ReactNode
|
|
21
|
+
* then the react data is stored in the internalData map and the key to the react data is returned.
|
|
22
|
+
* @param iconSpec any supported variations of how an icon can be defined in an abstract item or IconProps.
|
|
23
|
+
* @param internalData a map supplied by the caller to store away react element if React.ReactNode
|
|
24
|
+
*/
|
|
25
|
+
static getIconData(iconSpec: IconSpec, internalData?: Map<string, any>): string | ConditionalStringValue;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=IconHelper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconHelper.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/IconHelper.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAIH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAE1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAEtE;;;GAGG;AACH,qBAAa,UAAU;IACrB,WAAkB,YAAY,IAAI,MAAM,CAEvC;IACD,WAAkB,sBAAsB,IAAI,MAAM,CAEjD;IACD;;;OAGG;WACW,gBAAgB,CAC5B,IAAI,EACA,MAAM,GACN,sBAAsB,GACtB,KAAK,CAAC,SAAS,GACf,mBAAmB,EACvB,YAAY,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,GAC9B,KAAK,CAAC,SAAS;IAmClB;;;;OAIG;WACW,WAAW,CACvB,QAAQ,EAAE,QAAQ,EAClB,YAAY,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,GAC9B,MAAM,GAAG,sBAAsB;CA0BnC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
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
|
+
/* eslint-disable deprecation/deprecation */
|
|
9
|
+
import * as React from "react";
|
|
10
|
+
import { ConditionalStringValue } from "@itwin/appui-abstract";
|
|
11
|
+
import { Icon } from "../icons/IconComponent.js";
|
|
12
|
+
import { ConditionalIconItem } from "../icons/ConditionalIconItem.js";
|
|
13
|
+
/** Icon Helper Class used to store the data needed to generate an <Icon> for use in any control that shows an icon.
|
|
14
|
+
* @public
|
|
15
|
+
* @deprecated in 4.15.0. Used internally.
|
|
16
|
+
*/
|
|
17
|
+
export class IconHelper {
|
|
18
|
+
static get reactIconKey() {
|
|
19
|
+
return "#-react-iconspec-node-#";
|
|
20
|
+
}
|
|
21
|
+
static get conditionalIconItemKey() {
|
|
22
|
+
return "#-conditional-icon-item-node-#";
|
|
23
|
+
}
|
|
24
|
+
/** Returns an <Icon> ReactNode from the many ways an icon can be specified.
|
|
25
|
+
* @param icon abstract icon specification.
|
|
26
|
+
* @param internalData a map that may hold a React.ReactNode stored in an abstract item definition.
|
|
27
|
+
*/
|
|
28
|
+
static getIconReactNode(icon, internalData) {
|
|
29
|
+
if (!icon)
|
|
30
|
+
return null;
|
|
31
|
+
if (icon instanceof ConditionalIconItem)
|
|
32
|
+
return React.createElement(Icon, { iconSpec: ConditionalIconItem.getValue(icon) });
|
|
33
|
+
if (React.isValidElement(icon))
|
|
34
|
+
return React.createElement(Icon, { iconSpec: icon });
|
|
35
|
+
if (!(icon instanceof ConditionalStringValue) && typeof icon !== "string")
|
|
36
|
+
return null;
|
|
37
|
+
const iconString = ConditionalStringValue.getValue(icon);
|
|
38
|
+
if (!iconString)
|
|
39
|
+
return null;
|
|
40
|
+
if (iconString === IconHelper.reactIconKey) {
|
|
41
|
+
if (internalData)
|
|
42
|
+
return (React.createElement(Icon, { iconSpec: internalData.get(IconHelper.reactIconKey) }));
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
else if (iconString === IconHelper.conditionalIconItemKey) {
|
|
46
|
+
if (internalData) {
|
|
47
|
+
const iconItem = internalData.get(IconHelper.conditionalIconItemKey);
|
|
48
|
+
return React.createElement(Icon, { iconSpec: ConditionalIconItem.getValue(iconItem) });
|
|
49
|
+
}
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return React.createElement(Icon, { iconSpec: iconString });
|
|
53
|
+
}
|
|
54
|
+
/** Returns an icon definition that can be stored in an abstract item definition. If the iconSpec specifies a ReactNode
|
|
55
|
+
* then the react data is stored in the internalData map and the key to the react data is returned.
|
|
56
|
+
* @param iconSpec any supported variations of how an icon can be defined in an abstract item or IconProps.
|
|
57
|
+
* @param internalData a map supplied by the caller to store away react element if React.ReactNode
|
|
58
|
+
*/
|
|
59
|
+
static getIconData(iconSpec, internalData) {
|
|
60
|
+
let icon;
|
|
61
|
+
if (iconSpec instanceof ConditionalIconItem) {
|
|
62
|
+
icon = IconHelper.conditionalIconItemKey;
|
|
63
|
+
if (internalData)
|
|
64
|
+
internalData.set(IconHelper.conditionalIconItemKey, iconSpec);
|
|
65
|
+
return icon;
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
icon = React.isValidElement(iconSpec)
|
|
69
|
+
? IconHelper.reactIconKey
|
|
70
|
+
: iconSpec;
|
|
71
|
+
}
|
|
72
|
+
if (internalData &&
|
|
73
|
+
typeof icon === "string" &&
|
|
74
|
+
icon === IconHelper.reactIconKey) {
|
|
75
|
+
internalData.set(IconHelper.reactIconKey, iconSpec);
|
|
76
|
+
}
|
|
77
|
+
if (typeof icon === "string" || icon instanceof ConditionalStringValue)
|
|
78
|
+
return icon;
|
|
79
|
+
return "";
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=IconHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconHelper.js","sourceRoot":"","sources":["../../../src/core-react/utils/IconHelper.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,4CAA4C;AAE5C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAEtE;;;GAGG;AACH,MAAM,OAAO,UAAU;IACd,MAAM,KAAK,YAAY;QAC5B,OAAO,yBAAyB,CAAC;IACnC,CAAC;IACM,MAAM,KAAK,sBAAsB;QACtC,OAAO,gCAAgC,CAAC;IAC1C,CAAC;IACD;;;OAGG;IACI,MAAM,CAAC,gBAAgB,CAC5B,IAIuB,EACvB,YAA+B;QAE/B,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,CAAC;QAEvB,IAAI,IAAI,YAAY,mBAAmB;YACrC,OAAO,oBAAC,IAAI,IAAC,QAAQ,EAAE,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAI,CAAC;QAChE,IAAI,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC;YAAE,OAAO,oBAAC,IAAI,IAAC,QAAQ,EAAE,IAAI,GAAI,CAAC;QAEhE,IAAI,CAAC,CAAC,IAAI,YAAY,sBAAsB,CAAC,IAAI,OAAO,IAAI,KAAK,QAAQ;YACvE,OAAO,IAAI,CAAC;QAEd,MAAM,UAAU,GAAG,sBAAsB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QACzD,IAAI,CAAC,UAAU;YAAE,OAAO,IAAI,CAAC;QAE7B,IAAI,UAAU,KAAK,UAAU,CAAC,YAAY,EAAE,CAAC;YAC3C,IAAI,YAAY;gBACd,OAAO,CACL,oBAAC,IAAI,IACH,QAAQ,EACN,YAAY,CAAC,GAAG,CAAC,UAAU,CAAC,YAAY,CAAoB,GAE9D,CACH,CAAC;YACJ,OAAO,IAAI,CAAC;QACd,CAAC;aAAM,IAAI,UAAU,KAAK,UAAU,CAAC,sBAAsB,EAAE,CAAC;YAC5D,IAAI,YAAY,EAAE,CAAC;gBACjB,MAAM,QAAQ,GAAG,YAAY,CAAC,GAAG,CAC/B,UAAU,CAAC,sBAAsB,CACX,CAAC;gBACzB,OAAO,oBAAC,IAAI,IAAC,QAAQ,EAAE,mBAAmB,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAI,CAAC;YACpE,CAAC;YACD,OAAO,IAAI,CAAC;QACd,CAAC;QACD,OAAO,oBAAC,IAAI,IAAC,QAAQ,EAAE,UAAU,GAAI,CAAC;IACxC,CAAC;IAED;;;;OAIG;IACI,MAAM,CAAC,WAAW,CACvB,QAAkB,EAClB,YAA+B;QAE/B,IAAI,IAAI,CAAC;QACT,IAAI,QAAQ,YAAY,mBAAmB,EAAE,CAAC;YAC5C,IAAI,GAAG,UAAU,CAAC,sBAAsB,CAAC;YACzC,IAAI,YAAY;gBACd,YAAY,CAAC,GAAG,CAAC,UAAU,CAAC,sBAAsB,EAAE,QAAQ,CAAC,CAAC;YAChE,OAAO,IAAI,CAAC;QACd,CAAC;aAAM,CAAC;YACN,IAAI,GAAG,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC;gBACnC,CAAC,CAAC,UAAU,CAAC,YAAY;gBACzB,CAAC,CAAC,QAAQ,CAAC;QACf,CAAC;QAED,IACE,YAAY;YACZ,OAAO,IAAI,KAAK,QAAQ;YACxB,IAAI,KAAK,UAAU,CAAC,YAAY,EAChC,CAAC;YACD,YAAY,CAAC,GAAG,CAAC,UAAU,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;QACtD,CAAC;QAED,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,YAAY,sBAAsB;YACpE,OAAO,IAAI,CAAC;QAEd,OAAO,EAAE,CAAC;IACZ,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/* eslint-disable deprecation/deprecation */\n\nimport * as React from \"react\";\nimport { ConditionalStringValue } from \"@itwin/appui-abstract\";\nimport type { IconSpec } from \"../icons/IconComponent.js\";\nimport { Icon } from \"../icons/IconComponent.js\";\nimport { ConditionalIconItem } from \"../icons/ConditionalIconItem.js\";\n\n/** Icon Helper Class used to store the data needed to generate an <Icon> for use in any control that shows an icon.\n * @public\n * @deprecated in 4.15.0. Used internally.\n */\nexport class IconHelper {\n public static get reactIconKey(): string {\n return \"#-react-iconspec-node-#\";\n }\n public static get conditionalIconItemKey(): string {\n return \"#-conditional-icon-item-node-#\";\n }\n /** Returns an <Icon> ReactNode from the many ways an icon can be specified.\n * @param icon abstract icon specification.\n * @param internalData a map that may hold a React.ReactNode stored in an abstract item definition.\n */\n public static getIconReactNode(\n icon:\n | string\n | ConditionalStringValue\n | React.ReactNode\n | ConditionalIconItem,\n internalData?: Map<string, any>\n ): React.ReactNode {\n if (!icon) return null;\n\n if (icon instanceof ConditionalIconItem)\n return <Icon iconSpec={ConditionalIconItem.getValue(icon)} />;\n if (React.isValidElement(icon)) return <Icon iconSpec={icon} />;\n\n if (!(icon instanceof ConditionalStringValue) && typeof icon !== \"string\")\n return null;\n\n const iconString = ConditionalStringValue.getValue(icon);\n if (!iconString) return null;\n\n if (iconString === IconHelper.reactIconKey) {\n if (internalData)\n return (\n <Icon\n iconSpec={\n internalData.get(IconHelper.reactIconKey) as React.ReactNode\n }\n />\n );\n return null;\n } else if (iconString === IconHelper.conditionalIconItemKey) {\n if (internalData) {\n const iconItem = internalData.get(\n IconHelper.conditionalIconItemKey\n ) as ConditionalIconItem;\n return <Icon iconSpec={ConditionalIconItem.getValue(iconItem)} />;\n }\n return null;\n }\n return <Icon iconSpec={iconString} />;\n }\n\n /** Returns an icon definition that can be stored in an abstract item definition. If the iconSpec specifies a ReactNode\n * then the react data is stored in the internalData map and the key to the react data is returned.\n * @param iconSpec any supported variations of how an icon can be defined in an abstract item or IconProps.\n * @param internalData a map supplied by the caller to store away react element if React.ReactNode\n */\n public static getIconData(\n iconSpec: IconSpec,\n internalData?: Map<string, any>\n ): string | ConditionalStringValue {\n let icon;\n if (iconSpec instanceof ConditionalIconItem) {\n icon = IconHelper.conditionalIconItemKey;\n if (internalData)\n internalData.set(IconHelper.conditionalIconItemKey, iconSpec);\n return icon;\n } else {\n icon = React.isValidElement(iconSpec)\n ? IconHelper.reactIconKey\n : iconSpec;\n }\n\n if (\n internalData &&\n typeof icon === \"string\" &&\n icon === IconHelper.reactIconKey\n ) {\n internalData.set(IconHelper.reactIconKey, iconSpec);\n }\n\n if (typeof icon === \"string\" || icon instanceof ConditionalStringValue)\n return icon;\n\n return \"\";\n }\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module Utilities
|
|
3
|
+
*/
|
|
4
|
+
/** IconWebComponent loads icon from an svg path
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export declare class IconWebComponent extends HTMLElement {
|
|
8
|
+
connectedCallback(): Promise<void>;
|
|
9
|
+
private loadSvg;
|
|
10
|
+
}
|
|
11
|
+
/** @internal */
|
|
12
|
+
export declare function registerIconWebComponent(): void;
|
|
13
|
+
//# sourceMappingURL=IconWebComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconWebComponent.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/IconWebComponent.ts"],"names":[],"mappings":"AAIA;;GAEG;AA+FH;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAClC,iBAAiB;YAKhB,OAAO;CAetB;AAED,gBAAgB;AAChB,wBAAgB,wBAAwB,SAGvC"}
|
|
@@ -0,0 +1,112 @@
|
|
|
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 { UiError } from "@itwin/appui-abstract";
|
|
9
|
+
import { Logger } from "@itwin/core-bentley";
|
|
10
|
+
import { UiCore } from "../UiCore.js";
|
|
11
|
+
import DOMPurify, * as DOMPurifyNS from "dompurify";
|
|
12
|
+
import { reuseOrCreatePromise } from "./reuseOrCreatePromise.js";
|
|
13
|
+
/* eslint-disable deprecation/deprecation */
|
|
14
|
+
/**
|
|
15
|
+
* "getSvg" list
|
|
16
|
+
* (if multiple icon require the same thing,
|
|
17
|
+
* only do the fetch once, and have all icon use the same result)
|
|
18
|
+
*/
|
|
19
|
+
const cache = new Map();
|
|
20
|
+
/**
|
|
21
|
+
* Parse 'data:' uri to retrieve the Svg component within it.
|
|
22
|
+
* @param src data:image/svg+xml;base64 or data:image/svg+xml
|
|
23
|
+
* @param element Element for logging purpose.
|
|
24
|
+
* @returns HTMLElement (svg)
|
|
25
|
+
*/
|
|
26
|
+
function parseSvgFromDataUri(src, element) {
|
|
27
|
+
const dataUriParts = src.split(",");
|
|
28
|
+
if ((dataUriParts.length !== 2 &&
|
|
29
|
+
"data:image/svg+xml;base64" === dataUriParts[0]) ||
|
|
30
|
+
("data:image/svg+xml;base64" !== dataUriParts[0] &&
|
|
31
|
+
"data:image/svg+xml" !== dataUriParts[0])) {
|
|
32
|
+
Logger.logError(UiCore.loggerCategory(element), "Unable to load icon.");
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
let rawSvg = "";
|
|
36
|
+
if ("data:image/svg+xml;base64" === dataUriParts[0]) {
|
|
37
|
+
rawSvg = window.atob(dataUriParts[1]);
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
// `,` is valid character in data when not in base64, rebuild the data correctly
|
|
41
|
+
rawSvg = decodeURIComponent(dataUriParts.slice(1).join(","));
|
|
42
|
+
}
|
|
43
|
+
// the esm build of dompurify has a default import but the cjs build does not
|
|
44
|
+
// if there is a default export, use it (likely esm), otherwise use the namespace
|
|
45
|
+
const sanitizer = DOMPurify ?? DOMPurifyNS;
|
|
46
|
+
const sanitizedSvg = sanitizer.sanitize(rawSvg);
|
|
47
|
+
const parsedSvg = new window.DOMParser().parseFromString(sanitizedSvg, "text/xml");
|
|
48
|
+
const errorNode = parsedSvg.querySelector("parsererror");
|
|
49
|
+
if (errorNode || "svg" !== parsedSvg.documentElement.nodeName.toLowerCase()) {
|
|
50
|
+
throw new UiError(UiCore.loggerCategory(element), "Unable to load icon.");
|
|
51
|
+
}
|
|
52
|
+
return parsedSvg.documentElement;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Fetch the src from the network and return the SVG element.
|
|
56
|
+
* @param src URL representing a .svg file
|
|
57
|
+
* @param element Element for logging purpose
|
|
58
|
+
* @returns HTMLElement (svg)
|
|
59
|
+
*/
|
|
60
|
+
async function fetchSvg(src, element) {
|
|
61
|
+
const response = await fetch(src).catch((_error) => {
|
|
62
|
+
Logger.logError(UiCore.loggerCategory(element), "Unable to load icon.");
|
|
63
|
+
});
|
|
64
|
+
if (!response || !response.ok) {
|
|
65
|
+
throw new UiError(UiCore.loggerCategory(element), "Unable to load icon.");
|
|
66
|
+
}
|
|
67
|
+
const str = await response.text();
|
|
68
|
+
if (str === undefined) {
|
|
69
|
+
throw new UiError(UiCore.loggerCategory(element), "Unable to load icon.");
|
|
70
|
+
}
|
|
71
|
+
const data = new window.DOMParser().parseFromString(str, "text/xml");
|
|
72
|
+
return data.documentElement;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Get the svg (fetch and parse for url, or decode and parse for data: url)
|
|
76
|
+
* @param src URL of the content to download/parse
|
|
77
|
+
* @param element Element for logging purpose.
|
|
78
|
+
* @returns HTMLElement (svg)
|
|
79
|
+
*/
|
|
80
|
+
async function getSvg(src, element) {
|
|
81
|
+
if (src.startsWith("data:")) {
|
|
82
|
+
return parseSvgFromDataUri(src, element);
|
|
83
|
+
}
|
|
84
|
+
return fetchSvg(src, element);
|
|
85
|
+
}
|
|
86
|
+
/** IconWebComponent loads icon from an svg path
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
export class IconWebComponent extends HTMLElement {
|
|
90
|
+
async connectedCallback() {
|
|
91
|
+
await this.loadSvg();
|
|
92
|
+
this.dispatchEvent(new CustomEvent("load"));
|
|
93
|
+
}
|
|
94
|
+
async loadSvg() {
|
|
95
|
+
// if svg was already appended don't request it again
|
|
96
|
+
if (this.childNodes.length)
|
|
97
|
+
return;
|
|
98
|
+
const src = this.getAttribute("src") || "";
|
|
99
|
+
if (!src)
|
|
100
|
+
return;
|
|
101
|
+
const svg = await reuseOrCreatePromise(src, async () => getSvg(src, this), cache);
|
|
102
|
+
if (svg && !this.childNodes.length) {
|
|
103
|
+
this.append(svg.cloneNode(true));
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
/** @internal */
|
|
108
|
+
export function registerIconWebComponent() {
|
|
109
|
+
if (window.customElements.get("svg-loader") === undefined)
|
|
110
|
+
window.customElements.define("svg-loader", IconWebComponent);
|
|
111
|
+
}
|
|
112
|
+
//# sourceMappingURL=IconWebComponent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconWebComponent.js","sourceRoot":"","sources":["../../../src/core-react/utils/IconWebComponent.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,SAAS,EAAE,KAAK,WAAW,MAAM,WAAW,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,4CAA4C;AAE5C;;;;GAIG;AACH,MAAM,KAAK,GAAG,IAAI,GAAG,EAAwB,CAAC;AAE9C;;;;;GAKG;AACH,SAAS,mBAAmB,CAAC,GAAW,EAAE,OAAY;IACpD,MAAM,YAAY,GAAG,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAEpC,IACE,CAAC,YAAY,CAAC,MAAM,KAAK,CAAC;QACxB,2BAA2B,KAAK,YAAY,CAAC,CAAC,CAAC,CAAC;QAClD,CAAC,2BAA2B,KAAK,YAAY,CAAC,CAAC,CAAC;YAC9C,oBAAoB,KAAK,YAAY,CAAC,CAAC,CAAC,CAAC,EAC3C,CAAC;QACD,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,sBAAsB,CAAC,CAAC;QACxE,OAAO;IACT,CAAC;IAED,IAAI,MAAM,GAAG,EAAE,CAAC;IAChB,IAAI,2BAA2B,KAAK,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;QACpD,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;IACxC,CAAC;SAAM,CAAC;QACN,gFAAgF;QAChF,MAAM,GAAG,kBAAkB,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;IAC/D,CAAC;IAED,6EAA6E;IAC7E,iFAAiF;IACjF,MAAM,SAAS,GAAG,SAAS,IAAI,WAAW,CAAC;IAC3C,MAAM,YAAY,GAAG,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAEhD,MAAM,SAAS,GAAG,IAAI,MAAM,CAAC,SAAS,EAAE,CAAC,eAAe,CACtD,YAAY,EACZ,UAAU,CACX,CAAC;IACF,MAAM,SAAS,GAAG,SAAS,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;IACzD,IAAI,SAAS,IAAI,KAAK,KAAK,SAAS,CAAC,eAAe,CAAC,QAAQ,CAAC,WAAW,EAAE,EAAE,CAAC;QAC5E,MAAM,IAAI,OAAO,CAAC,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,sBAAsB,CAAC,CAAC;IAC5E,CAAC;IAED,OAAO,SAAS,CAAC,eAAe,CAAC;AACnC,CAAC;AAED;;;;;GAKG;AACH,KAAK,UAAU,QAAQ,CAAC,GAAW,EAAE,OAAY;IAC/C,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,EAAE;QACjD,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,sBAAsB,CAAC,CAAC;IAC1E,CAAC,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QAC9B,MAAM,IAAI,OAAO,CAAC,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,sBAAsB,CAAC,CAAC;IAC5E,CAAC;IACD,MAAM,GAAG,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;IAClC,IAAI,GAAG,KAAK,SAAS,EAAE,CAAC;QACtB,MAAM,IAAI,OAAO,CAAC,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,sBAAsB,CAAC,CAAC;IAC5E,CAAC;IACD,MAAM,IAAI,GAAG,IAAI,MAAM,CAAC,SAAS,EAAE,CAAC,eAAe,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC;IACrE,OAAO,IAAI,CAAC,eAAe,CAAC;AAC9B,CAAC;AAED;;;;;GAKG;AACH,KAAK,UAAU,MAAM,CAAC,GAAW,EAAE,OAAY;IAC7C,IAAI,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,CAAC;QAC5B,OAAO,mBAAmB,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;IAC3C,CAAC;IACD,OAAO,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;AAChC,CAAC;AAED;;GAEG;AACH,MAAM,OAAO,gBAAiB,SAAQ,WAAW;IACxC,KAAK,CAAC,iBAAiB;QAC5B,MAAM,IAAI,CAAC,OAAO,EAAE,CAAC;QACrB,IAAI,CAAC,aAAa,CAAC,IAAI,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC;IAC9C,CAAC;IAEO,KAAK,CAAC,OAAO;QACnB,qDAAqD;QACrD,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM;YAAE,OAAO;QACnC,MAAM,GAAG,GAAG,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;QAC3C,IAAI,CAAC,GAAG;YAAE,OAAO;QAEjB,MAAM,GAAG,GAAG,MAAM,oBAAoB,CACpC,GAAG,EACH,KAAK,IAAI,EAAE,CAAC,MAAM,CAAC,GAAG,EAAE,IAAI,CAAC,EAC7B,KAAK,CACN,CAAC;QACF,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC;YACnC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;QACnC,CAAC;IACH,CAAC;CACF;AAED,gBAAgB;AAChB,MAAM,UAAU,wBAAwB;IACtC,IAAI,MAAM,CAAC,cAAc,CAAC,GAAG,CAAC,YAAY,CAAC,KAAK,SAAS;QACvD,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,YAAY,EAAE,gBAAgB,CAAC,CAAC;AACjE,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 { UiError } from \"@itwin/appui-abstract\";\nimport { Logger } from \"@itwin/core-bentley\";\nimport { UiCore } from \"../UiCore.js\";\nimport DOMPurify, * as DOMPurifyNS from \"dompurify\";\nimport { reuseOrCreatePromise } from \"./reuseOrCreatePromise.js\";\n\n/* eslint-disable deprecation/deprecation */\n\n/**\n * \"getSvg\" list\n * (if multiple icon require the same thing,\n * only do the fetch once, and have all icon use the same result)\n */\nconst cache = new Map<string, Promise<any>>();\n\n/**\n * Parse 'data:' uri to retrieve the Svg component within it.\n * @param src data:image/svg+xml;base64 or data:image/svg+xml\n * @param element Element for logging purpose.\n * @returns HTMLElement (svg)\n */\nfunction parseSvgFromDataUri(src: string, element: any) {\n const dataUriParts = src.split(\",\");\n\n if (\n (dataUriParts.length !== 2 &&\n \"data:image/svg+xml;base64\" === dataUriParts[0]) ||\n (\"data:image/svg+xml;base64\" !== dataUriParts[0] &&\n \"data:image/svg+xml\" !== dataUriParts[0])\n ) {\n Logger.logError(UiCore.loggerCategory(element), \"Unable to load icon.\");\n return;\n }\n\n let rawSvg = \"\";\n if (\"data:image/svg+xml;base64\" === dataUriParts[0]) {\n rawSvg = window.atob(dataUriParts[1]);\n } else {\n // `,` is valid character in data when not in base64, rebuild the data correctly\n rawSvg = decodeURIComponent(dataUriParts.slice(1).join(\",\"));\n }\n\n // the esm build of dompurify has a default import but the cjs build does not\n // if there is a default export, use it (likely esm), otherwise use the namespace\n const sanitizer = DOMPurify ?? DOMPurifyNS;\n const sanitizedSvg = sanitizer.sanitize(rawSvg);\n\n const parsedSvg = new window.DOMParser().parseFromString(\n sanitizedSvg,\n \"text/xml\"\n );\n const errorNode = parsedSvg.querySelector(\"parsererror\");\n if (errorNode || \"svg\" !== parsedSvg.documentElement.nodeName.toLowerCase()) {\n throw new UiError(UiCore.loggerCategory(element), \"Unable to load icon.\");\n }\n\n return parsedSvg.documentElement;\n}\n\n/**\n * Fetch the src from the network and return the SVG element.\n * @param src URL representing a .svg file\n * @param element Element for logging purpose\n * @returns HTMLElement (svg)\n */\nasync function fetchSvg(src: string, element: any) {\n const response = await fetch(src).catch((_error) => {\n Logger.logError(UiCore.loggerCategory(element), \"Unable to load icon.\");\n });\n if (!response || !response.ok) {\n throw new UiError(UiCore.loggerCategory(element), \"Unable to load icon.\");\n }\n const str = await response.text();\n if (str === undefined) {\n throw new UiError(UiCore.loggerCategory(element), \"Unable to load icon.\");\n }\n const data = new window.DOMParser().parseFromString(str, \"text/xml\");\n return data.documentElement;\n}\n\n/**\n * Get the svg (fetch and parse for url, or decode and parse for data: url)\n * @param src URL of the content to download/parse\n * @param element Element for logging purpose.\n * @returns HTMLElement (svg)\n */\nasync function getSvg(src: string, element: any) {\n if (src.startsWith(\"data:\")) {\n return parseSvgFromDataUri(src, element);\n }\n return fetchSvg(src, element);\n}\n\n/** IconWebComponent loads icon from an svg path\n * @internal\n */\nexport class IconWebComponent extends HTMLElement {\n public async connectedCallback() {\n await this.loadSvg();\n this.dispatchEvent(new CustomEvent(\"load\"));\n }\n\n private async loadSvg() {\n // if svg was already appended don't request it again\n if (this.childNodes.length) return;\n const src = this.getAttribute(\"src\") || \"\";\n if (!src) return;\n\n const svg = await reuseOrCreatePromise(\n src,\n async () => getSvg(src, this),\n cache\n );\n if (svg && !this.childNodes.length) {\n this.append(svg.cloneNode(true));\n }\n }\n}\n\n/** @internal */\nexport function registerIconWebComponent() {\n if (window.customElements.get(\"svg-loader\") === undefined)\n window.customElements.define(\"svg-loader\", IconWebComponent);\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListenerType.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/ListenerType.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEpD;;;;GAIG;AACH,MAAM,MAAM,YAAY,CACtB,MAAM,SAAS;IACb,WAAW,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,IAAI,CAAC;CAC7C,IACC,MAAM,SAAS;IACjB,WAAW,CAAC,QAAQ,EAAE,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC;CACpD,GACG,SAAS,GACT,KAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListenerType.js","sourceRoot":"","sources":["../../../src/core-react/utils/ListenerType.ts"],"names":[],"mappings":"","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 { Listener } from \"@itwin/core-bentley\";\n\n/**\n * Retrieves the type of the callback function for an event type like `BeEvent`.\n * @note `ListenerType` is available in `@itwin/core-bentley@^4.8.0`\n * @internal\n */\nexport type ListenerType<\n TEvent extends {\n addListener(listener: Listener): () => void;\n }\n> = TEvent extends {\n addListener(listener: infer TListener): () => void;\n}\n ? TListener\n : never;\n"]}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module Utilities
|
|
3
|
+
*/
|
|
4
|
+
import type { PointProps } from "./PointProps.js";
|
|
5
|
+
/** Describes and provides methods to work with 2d points.
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export declare class Point implements PointProps {
|
|
9
|
+
readonly x: number;
|
|
10
|
+
readonly y: number;
|
|
11
|
+
/** Creates point from PointProps */
|
|
12
|
+
static create(pointProps: PointProps): Point;
|
|
13
|
+
/** Creates a new point. */
|
|
14
|
+
constructor(x?: number, y?: number);
|
|
15
|
+
/** Calculates Euclidean distance to other point. */
|
|
16
|
+
getDistanceTo(other: PointProps): number;
|
|
17
|
+
/** Gets offset to other point. */
|
|
18
|
+
getOffsetTo(other: PointProps): Point;
|
|
19
|
+
/** @returns New [[Point]] that is offset along the X and Y axes. */
|
|
20
|
+
offset(offset: PointProps): Point;
|
|
21
|
+
/** @returns New [[Point]] that is offset along the X axis. */
|
|
22
|
+
offsetX(offset: number): Point;
|
|
23
|
+
/** @returns New [[Point]] that is offset along the Y axis. */
|
|
24
|
+
offsetY(offset: number): Point;
|
|
25
|
+
/** @returns True if position of this and other points are equal. */
|
|
26
|
+
equals(other: PointProps): boolean;
|
|
27
|
+
/** @returns New [[Point]] with modified x value. */
|
|
28
|
+
setX(x: number): Point;
|
|
29
|
+
/** @returns New [[Point]] with modified y value. */
|
|
30
|
+
setY(y: number): Point;
|
|
31
|
+
/** @returns New [[Point]] with coordinates multiplied by specified factor. */
|
|
32
|
+
multiply(factor: number): Point;
|
|
33
|
+
/** @returns PointProps object for this point. */
|
|
34
|
+
toProps(): PointProps;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=Point.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Point.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/Point.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD;;GAEG;AACH,qBAAa,KAAM,YAAW,UAAU;aAOH,CAAC;aAAsB,CAAC;IAN3D,oCAAoC;WACtB,MAAM,CAAC,UAAU,EAAE,UAAU;IAI3C,2BAA2B;gBACQ,CAAC,SAAI,EAAkB,CAAC,SAAI;IAE/D,oDAAoD;IAC7C,aAAa,CAAC,KAAK,EAAE,UAAU,GAAG,MAAM;IAK/C,kCAAkC;IAC3B,WAAW,CAAC,KAAK,EAAE,UAAU;IAIpC,oEAAoE;IAC7D,MAAM,CAAC,MAAM,EAAE,UAAU;IAIhC,8DAA8D;IACvD,OAAO,CAAC,MAAM,EAAE,MAAM;IAI7B,8DAA8D;IACvD,OAAO,CAAC,MAAM,EAAE,MAAM;IAI7B,oEAAoE;IAC7D,MAAM,CAAC,KAAK,EAAE,UAAU;IAI/B,oDAAoD;IAC7C,IAAI,CAAC,CAAC,EAAE,MAAM;IAIrB,oDAAoD;IAC7C,IAAI,CAAC,CAAC,EAAE,MAAM;IAIrB,8EAA8E;IACvE,QAAQ,CAAC,MAAM,EAAE,MAAM;IAI9B,iDAAiD;IAC1C,OAAO,IAAI,UAAU;CAM7B"}
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
/** Describes and provides methods to work with 2d points.
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
export class Point {
|
|
12
|
+
/** Creates point from PointProps */
|
|
13
|
+
static create(pointProps) {
|
|
14
|
+
return new Point(pointProps.x, pointProps.y);
|
|
15
|
+
}
|
|
16
|
+
/** Creates a new point. */
|
|
17
|
+
constructor(x = 0, y = 0) {
|
|
18
|
+
this.x = x;
|
|
19
|
+
this.y = y;
|
|
20
|
+
}
|
|
21
|
+
/** Calculates Euclidean distance to other point. */
|
|
22
|
+
getDistanceTo(other) {
|
|
23
|
+
const offset = this.getOffsetTo(other);
|
|
24
|
+
return Math.sqrt(Math.pow(offset.x, 2) + Math.pow(offset.y, 2));
|
|
25
|
+
}
|
|
26
|
+
/** Gets offset to other point. */
|
|
27
|
+
getOffsetTo(other) {
|
|
28
|
+
return new Point(other.x - this.x, other.y - this.y);
|
|
29
|
+
}
|
|
30
|
+
/** @returns New [[Point]] that is offset along the X and Y axes. */
|
|
31
|
+
offset(offset) {
|
|
32
|
+
return new Point(this.x + offset.x, this.y + offset.y);
|
|
33
|
+
}
|
|
34
|
+
/** @returns New [[Point]] that is offset along the X axis. */
|
|
35
|
+
offsetX(offset) {
|
|
36
|
+
return new Point(this.x + offset, this.y);
|
|
37
|
+
}
|
|
38
|
+
/** @returns New [[Point]] that is offset along the Y axis. */
|
|
39
|
+
offsetY(offset) {
|
|
40
|
+
return new Point(this.x, this.y + offset);
|
|
41
|
+
}
|
|
42
|
+
/** @returns True if position of this and other points are equal. */
|
|
43
|
+
equals(other) {
|
|
44
|
+
return other.x === this.x && other.y === this.y;
|
|
45
|
+
}
|
|
46
|
+
/** @returns New [[Point]] with modified x value. */
|
|
47
|
+
setX(x) {
|
|
48
|
+
return new Point(x, this.y);
|
|
49
|
+
}
|
|
50
|
+
/** @returns New [[Point]] with modified y value. */
|
|
51
|
+
setY(y) {
|
|
52
|
+
return new Point(this.x, y);
|
|
53
|
+
}
|
|
54
|
+
/** @returns New [[Point]] with coordinates multiplied by specified factor. */
|
|
55
|
+
multiply(factor) {
|
|
56
|
+
return new Point(this.x * factor, this.y * factor);
|
|
57
|
+
}
|
|
58
|
+
/** @returns PointProps object for this point. */
|
|
59
|
+
toProps() {
|
|
60
|
+
return {
|
|
61
|
+
x: this.x,
|
|
62
|
+
y: this.y,
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=Point.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Point.js","sourceRoot":"","sources":["../../../src/core-react/utils/Point.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAIH;;GAEG;AACH,MAAM,OAAO,KAAK;IAChB,oCAAoC;IAC7B,MAAM,CAAC,MAAM,CAAC,UAAsB;QACzC,OAAO,IAAI,KAAK,CAAC,UAAU,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;IAC/C,CAAC;IAED,2BAA2B;IAC3B,YAAmC,IAAI,CAAC,EAAkB,IAAI,CAAC;QAA5B,MAAC,GAAD,CAAC,CAAI;QAAkB,MAAC,GAAD,CAAC,CAAI;IAAG,CAAC;IAEnE,oDAAoD;IAC7C,aAAa,CAAC,KAAiB;QACpC,MAAM,MAAM,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;QACvC,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAClE,CAAC;IAED,kCAAkC;IAC3B,WAAW,CAAC,KAAiB;QAClC,OAAO,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;IACvD,CAAC;IAED,oEAAoE;IAC7D,MAAM,CAAC,MAAkB;QAC9B,OAAO,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;IACzD,CAAC;IAED,8DAA8D;IACvD,OAAO,CAAC,MAAc;QAC3B,OAAO,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC,GAAG,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IAC5C,CAAC;IAED,8DAA8D;IACvD,OAAO,CAAC,MAAc;QAC3B,OAAO,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC;IAC5C,CAAC;IAED,oEAAoE;IAC7D,MAAM,CAAC,KAAiB;QAC7B,OAAO,KAAK,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC;IAClD,CAAC;IAED,oDAAoD;IAC7C,IAAI,CAAC,CAAS;QACnB,OAAO,IAAI,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IAC9B,CAAC;IAED,oDAAoD;IAC7C,IAAI,CAAC,CAAS;QACnB,OAAO,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC9B,CAAC;IAED,8EAA8E;IACvE,QAAQ,CAAC,MAAc;QAC5B,OAAO,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC,GAAG,MAAM,EAAE,IAAI,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC;IACrD,CAAC;IAED,iDAAiD;IAC1C,OAAO;QACZ,OAAO;YACL,CAAC,EAAE,IAAI,CAAC,CAAC;YACT,CAAC,EAAE,IAAI,CAAC,CAAC;SACV,CAAC;IACJ,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\nimport type { PointProps } from \"./PointProps.js\";\n\n/** Describes and provides methods to work with 2d points.\n * @internal\n */\nexport class Point implements PointProps {\n /** Creates point from PointProps */\n public static create(pointProps: PointProps) {\n return new Point(pointProps.x, pointProps.y);\n }\n\n /** Creates a new point. */\n public constructor(public readonly x = 0, public readonly y = 0) {}\n\n /** Calculates Euclidean distance to other point. */\n public getDistanceTo(other: PointProps): number {\n const offset = this.getOffsetTo(other);\n return Math.sqrt(Math.pow(offset.x, 2) + Math.pow(offset.y, 2));\n }\n\n /** Gets offset to other point. */\n public getOffsetTo(other: PointProps) {\n return new Point(other.x - this.x, other.y - this.y);\n }\n\n /** @returns New [[Point]] that is offset along the X and Y axes. */\n public offset(offset: PointProps) {\n return new Point(this.x + offset.x, this.y + offset.y);\n }\n\n /** @returns New [[Point]] that is offset along the X axis. */\n public offsetX(offset: number) {\n return new Point(this.x + offset, this.y);\n }\n\n /** @returns New [[Point]] that is offset along the Y axis. */\n public offsetY(offset: number) {\n return new Point(this.x, this.y + offset);\n }\n\n /** @returns True if position of this and other points are equal. */\n public equals(other: PointProps) {\n return other.x === this.x && other.y === this.y;\n }\n\n /** @returns New [[Point]] with modified x value. */\n public setX(x: number) {\n return new Point(x, this.y);\n }\n\n /** @returns New [[Point]] with modified y value. */\n public setY(y: number) {\n return new Point(this.x, y);\n }\n\n /** @returns New [[Point]] with coordinates multiplied by specified factor. */\n public multiply(factor: number) {\n return new Point(this.x * factor, this.y * factor);\n }\n\n /** @returns PointProps object for this point. */\n public toProps(): PointProps {\n return {\n x: this.x,\n y: this.y,\n };\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PointProps.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/PointProps.tsx"],"names":[],"mappings":"AAIA;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PointProps.js","sourceRoot":"","sources":["../../../src/core-react/utils/PointProps.tsx"],"names":[],"mappings":"","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/**\n * PointProps is identical to XAndY in @core/geometry, but\n * @internal\n */\nexport interface PointProps {\n readonly x: number;\n readonly y: number;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Props.d.ts","sourceRoot":"","sources":["../../../src/core-react/utils/Props.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AAEH,MAAM,WAAW,WAAY,SAAQ,cAAc;IACjD,kCAAkC;IAClC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,gHAAgH;IAChH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;GAGG;AACH,MAAM,WAAW,cACf,SAAQ,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,EAC7C,WAAW;CAAG;AAElB;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;;GAGG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,IAAI,IAAI,CAC3E,CAAC,EACD,UAAU,CACX,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Props.js","sourceRoot":"","sources":["../../../src/core-react/utils/Props.tsx"],"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\nimport type * as React from \"react\";\n\n/** Props used by components that expect class name to be passed in.\n * @public\n * @deprecated in 4.15.0. Used internally.\n */\nexport interface ClassNameProps {\n /** Custom CSS class name */\n className?: string;\n}\n\n/** Common props used by components.\n * @public\n * @deprecated in 4.15.0. Used internally.\n */\n// eslint-disable-next-line deprecation/deprecation\nexport interface CommonProps extends ClassNameProps {\n /** Custom CSS style properties */\n style?: React.CSSProperties;\n /** Optional unique identifier for item. If defined it will be added to DOM Element attribute as data-item-id */\n itemId?: string;\n}\n\n/** Common properties using a div element.\n * @public\n * @deprecated in 4.15.0. Used internally.\n */\nexport interface CommonDivProps\n extends React.AllHTMLAttributes<HTMLDivElement>,\n CommonProps {} // eslint-disable-line deprecation/deprecation\n\n/** Props used by components that do not expect children to be passed in.\n * @public\n * @deprecated in 4.15.0. Used internally.\n */\nexport interface NoChildrenProps {\n children?: undefined;\n}\n\n/** Omit children property from T.\n * @public\n * @deprecated in 4.15.0. Used internally.\n */\nexport type OmitChildrenProp<T extends { children?: React.ReactNode }> = Omit<\n T,\n \"children\"\n>;\n"]}
|
|
@@ -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;AAClD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAI3C;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,oBAAY,MAAM;IAChB,OAAO,IAAA;IACP,QAAQ,IAAA;IACR,WAAW,IAAA;IACX,UAAU,IAAA;CACX;AAED;;GAEG;AACH,qBAAa,SAAU,YAAW,cAAc;aA4B5B,IAAI;aACJ,GAAG;aACH,KAAK;aACL,MAAM;IA9BxB,iDAAiD;WACnC,MAAM,CAAC,KAAK,EAAE,cAAc,GAAG,SAAS;IAItD,4CAA4C;WAC9B,cAAc,CAAC,IAAI,EAAE,SAAS,GAAG,SAAS;IAIxD,sHAAsH;WACxG,UAAU,CACtB,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,GACT,SAAS;IASZ,+CAA+C;gBAE7B,IAAI,SAAI,EACR,GAAG,SAAI,EACP,KAAK,SAAI,EACT,MAAM,SAAI;IAG5B,uCAAuC;IAChC,OAAO,IAAI,SAAS;IAM3B,wCAAwC;IACjC,QAAQ,IAAI,MAAM;IAIzB,yCAAyC;IAClC,SAAS,IAAI,MAAM;IAI1B,6CAA6C;IACtC,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,KAAK;IAiBvC;;;;OAIG;IACI,KAAK,CACV,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,GACb,SAAS;IASZ;;;OAGG;IACI,MAAM,CAAC,MAAM,EAAE,UAAU,GAAG,SAAS;IAS5C;;;OAGG;IACI,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS;IASzC;;;OAGG;IACI,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS;IASzC;;;OAGG;IACI,WAAW,CAAC,QAAQ,EAAE,UAAU,GAAG,SAAS;IASnD;;;;OAIG;IACI,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS;IAI3C;;;;OAIG;IACI,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS;IAIzC;;;;OAIG;IACI,OAAO,CAAC,IAAI,EAAE,SAAS,GAAG,SAAS;IAS1C,gDAAgD;IACzC,MAAM,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO;IAY7C;;;OAGG;IACI,aAAa,CAAC,KAAK,EAAE,UAAU,GAAG,OAAO;IAShD;;;OAGG;IACI,UAAU,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO;IAIhD;;;OAGG;IACI,QAAQ,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO;IAS/C,wEAAwE;IACjE,SAAS,CAAC,KAAK,EAAE,cAAc,GAAG,SAAS;IAMlD,mFAAmF;IAC5E,mBAAmB,CAAC,KAAK,EAAE,cAAc,GAAG,SAAS;IAK5D,qFAAqF;IAC9E,qBAAqB,CAAC,KAAK,EAAE,cAAc,GAAG,SAAS;IAK9D,8DAA8D;IACvD,OAAO,IAAI,KAAK;IAIvB,wDAAwD;IACjD,MAAM,IAAI,KAAK;IAMtB,kEAAkE;IAC3D,UAAU,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO;IASjD;;;OAGG;IACI,cAAc,CAAC,KAAK,EAAE,cAAc,GAAG,SAAS;IAQvD;;;OAGG;IACI,wBAAwB,CAC7B,SAAS,EAAE,MAAM,EACjB,gBAAgB,EAAE,MAAM,GACvB,SAAS;IAOZ;;;OAGG;IACI,0BAA0B,CAC/B,SAAS,EAAE,MAAM,EACjB,gBAAgB,EAAE,MAAM,GACvB,SAAS;IAOZ;;;OAGG;IACI,0BAA0B,CAAC,KAAK,EAAE,UAAU,GAAG,MAAM;IAoC5D,6DAA6D;IACtD,OAAO,IAAI,cAAc;CAQjC"}
|