@itwin/core-react 4.17.1 → 5.0.0-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -6
- package/README.md +16 -2
- package/lib/core-react/UiCore.d.ts +38 -0
- package/lib/core-react/UiCore.d.ts.map +1 -0
- package/lib/core-react/UiCore.js +69 -0
- package/lib/core-react/UiCore.js.map +1 -0
- package/lib/core-react/_helpers.scss +54 -0
- package/lib/core-react/_scrollbar.scss +57 -0
- package/lib/core-react/_typography.scss +44 -0
- package/lib/core-react/_z-index.scss +51 -0
- package/lib/core-react/autosuggest/AutoSuggest.d.ts +99 -0
- package/lib/core-react/autosuggest/AutoSuggest.d.ts.map +1 -0
- package/lib/core-react/autosuggest/AutoSuggest.js +170 -0
- package/lib/core-react/autosuggest/AutoSuggest.js.map +1 -0
- package/lib/core-react/autosuggest/AutoSuggest.scss +79 -0
- package/lib/core-react/badge/Badge.d.ts +17 -0
- package/lib/core-react/badge/Badge.d.ts.map +1 -0
- package/lib/core-react/badge/Badge.js +25 -0
- package/lib/core-react/badge/Badge.js.map +1 -0
- package/lib/core-react/badge/BadgeType.d.ts +19 -0
- package/lib/core-react/badge/BadgeType.d.ts.map +1 -0
- package/lib/core-react/badge/BadgeType.js +14 -0
- package/lib/core-react/badge/BadgeType.js.map +1 -0
- package/lib/core-react/badge/DeprecatedBadge.d.ts.map +1 -0
- package/lib/core-react/badge/DeprecatedBadge.js.map +1 -0
- package/lib/core-react/badge/NewBadge.d.ts.map +1 -0
- package/lib/core-react/badge/NewBadge.js.map +1 -0
- package/lib/core-react/badge/TechnicalPreviewBadge.d.ts.map +1 -0
- package/lib/core-react/badge/TechnicalPreviewBadge.js.map +1 -0
- package/lib/core-react/base/Centered.d.ts +12 -0
- package/lib/core-react/base/Centered.d.ts.map +1 -0
- package/lib/core-react/base/Centered.js +20 -0
- package/lib/core-react/base/Centered.js.map +1 -0
- package/lib/core-react/base/Div.d.ts +19 -0
- package/lib/core-react/base/Div.d.ts.map +1 -0
- package/lib/core-react/base/Div.js.map +1 -0
- package/lib/core-react/base/DivWithOutsideClick.d.ts +77 -0
- package/lib/core-react/base/DivWithOutsideClick.d.ts.map +1 -0
- package/lib/core-react/base/DivWithOutsideClick.js +17 -0
- package/lib/core-react/base/DivWithOutsideClick.js.map +1 -0
- package/lib/core-react/base/FillCentered.d.ts +12 -0
- package/lib/core-react/base/FillCentered.d.ts.map +1 -0
- package/lib/core-react/base/FillCentered.js +20 -0
- package/lib/core-react/base/FillCentered.js.map +1 -0
- package/lib/core-react/base/FlexWrapContainer.d.ts +13 -0
- package/lib/core-react/base/FlexWrapContainer.d.ts.map +1 -0
- package/lib/core-react/base/FlexWrapContainer.js +21 -0
- package/lib/core-react/base/FlexWrapContainer.js.map +1 -0
- package/lib/core-react/base/Gap.d.ts +18 -0
- package/lib/core-react/base/Gap.d.ts.map +1 -0
- package/lib/core-react/base/Gap.js.map +1 -0
- package/lib/core-react/base/PointerEvents.d.ts.map +1 -0
- package/lib/core-react/base/PointerEvents.js.map +1 -0
- package/lib/core-react/base/ScrollView.d.ts +13 -0
- package/lib/core-react/base/ScrollView.d.ts.map +1 -0
- package/lib/core-react/base/ScrollView.js +21 -0
- package/lib/core-react/base/ScrollView.js.map +1 -0
- package/lib/core-react/base/base.scss +44 -0
- package/lib/core-react/base/classes.scss +27 -0
- package/lib/core-react/base/index.scss +5 -0
- package/lib/core-react/button/UnderlinedButton.d.ts.map +1 -0
- package/lib/core-react/button/UnderlinedButton.js.map +1 -0
- package/lib/core-react/button/UnderlinedButton.scss +29 -0
- package/lib/core-react/checklistbox/CheckListBox.d.ts +45 -0
- package/lib/core-react/checklistbox/CheckListBox.d.ts.map +1 -0
- package/lib/core-react/checklistbox/CheckListBox.js.map +1 -0
- package/lib/core-react/classes.scss +9 -0
- package/lib/core-react/contextmenu/ContextMenu.d.ts +91 -0
- package/lib/core-react/contextmenu/ContextMenu.d.ts.map +1 -0
- package/lib/core-react/contextmenu/ContextMenu.js +362 -0
- package/lib/core-react/contextmenu/ContextMenu.js.map +1 -0
- package/lib/core-react/contextmenu/ContextMenu.scss +226 -0
- package/lib/core-react/contextmenu/ContextMenuDirection.d.ts.map +1 -0
- package/lib/core-react/contextmenu/ContextMenuDirection.js.map +1 -0
- package/lib/core-react/contextmenu/ContextMenuDivider.d.ts +13 -0
- package/lib/core-react/contextmenu/ContextMenuDivider.d.ts.map +1 -0
- package/lib/core-react/contextmenu/ContextMenuDivider.js.map +1 -0
- package/lib/core-react/contextmenu/ContextMenuItem.d.ts +65 -0
- package/lib/core-react/contextmenu/ContextMenuItem.d.ts.map +1 -0
- package/lib/core-react/contextmenu/ContextMenuItem.js +107 -0
- package/lib/core-react/contextmenu/ContextMenuItem.js.map +1 -0
- package/lib/core-react/contextmenu/ContextSubMenu.d.ts +51 -0
- package/lib/core-react/contextmenu/ContextSubMenu.d.ts.map +1 -0
- package/lib/core-react/contextmenu/ContextSubMenu.js +173 -0
- package/lib/core-react/contextmenu/ContextSubMenu.js.map +1 -0
- package/lib/core-react/contextmenu/GlobalContextMenu.d.ts +36 -0
- package/lib/core-react/contextmenu/GlobalContextMenu.d.ts.map +1 -0
- package/lib/core-react/contextmenu/GlobalContextMenu.js +59 -0
- package/lib/core-react/contextmenu/GlobalContextMenu.js.map +1 -0
- package/lib/core-react/contextmenu/PopupContextMenu.d.ts +57 -0
- package/lib/core-react/contextmenu/PopupContextMenu.d.ts.map +1 -0
- package/lib/core-react/contextmenu/PopupContextMenu.js +54 -0
- package/lib/core-react/contextmenu/PopupContextMenu.js.map +1 -0
- package/lib/core-react/contextmenu/TildeFinder.d.ts.map +1 -0
- package/lib/core-react/contextmenu/TildeFinder.js.map +1 -0
- package/lib/core-react/dialog/Dialog.d.ts +112 -0
- package/lib/core-react/dialog/Dialog.d.ts.map +1 -0
- package/lib/core-react/dialog/Dialog.js +205 -0
- package/lib/core-react/dialog/Dialog.js.map +1 -0
- package/lib/core-react/dialog/Dialog.scss +57 -0
- package/lib/core-react/dialog/GlobalDialog.d.ts +32 -0
- package/lib/core-react/dialog/GlobalDialog.d.ts.map +1 -0
- package/lib/core-react/dialog/GlobalDialog.js +57 -0
- package/lib/core-react/dialog/GlobalDialog.js.map +1 -0
- package/lib/core-react/elementseparator/ElementSeparator.d.ts +44 -0
- package/lib/core-react/elementseparator/ElementSeparator.d.ts.map +1 -0
- package/lib/core-react/elementseparator/ElementSeparator.js +163 -0
- package/lib/core-react/elementseparator/ElementSeparator.js.map +1 -0
- package/lib/core-react/elementseparator/ElementSeparator.scss +93 -0
- package/lib/core-react/enums/Alignment.d.ts.map +1 -0
- package/lib/core-react/enums/Alignment.js.map +1 -0
- package/lib/core-react/enums/CheckBoxState.d.ts.map +1 -0
- package/lib/core-react/enums/CheckBoxState.js.map +1 -0
- package/lib/core-react/enums/Orientation.d.ts.map +1 -0
- package/lib/core-react/enums/Orientation.js.map +1 -0
- package/lib/core-react/enums/SortDirection.d.ts.map +1 -0
- package/lib/core-react/enums/SortDirection.js.map +1 -0
- package/lib/core-react/enums/TimeFormat.d.ts.map +1 -0
- package/lib/core-react/enums/TimeFormat.js.map +1 -0
- package/lib/core-react/expandable/ExpandableList.d.ts +37 -0
- package/lib/core-react/expandable/ExpandableList.d.ts.map +1 -0
- package/lib/core-react/expandable/ExpandableList.js.map +1 -0
- package/lib/core-react/focus/ItemKeyboardNavigator.d.ts +53 -0
- package/lib/core-react/focus/ItemKeyboardNavigator.d.ts.map +1 -0
- package/lib/core-react/focus/ItemKeyboardNavigator.js +173 -0
- package/lib/core-react/focus/ItemKeyboardNavigator.js.map +1 -0
- package/lib/core-react/focustrap/FocusTrap.d.ts.map +1 -0
- package/lib/core-react/focustrap/FocusTrap.js +196 -0
- package/lib/core-react/focustrap/FocusTrap.js.map +1 -0
- package/lib/core-react/hocs/withIsPressed.d.ts.map +1 -0
- package/lib/core-react/hocs/withIsPressed.js.map +1 -0
- package/lib/core-react/hocs/withOnOutsideClick.d.ts.map +1 -0
- package/lib/core-react/hocs/withOnOutsideClick.js.map +1 -0
- package/lib/core-react/hocs/withTimeout.d.ts +73 -0
- package/lib/core-react/hocs/withTimeout.d.ts.map +1 -0
- package/lib/core-react/hocs/withTimeout.js +44 -0
- package/lib/core-react/hocs/withTimeout.js.map +1 -0
- package/lib/core-react/icons/ConditionalIconItem.d.ts +28 -0
- package/lib/core-react/icons/ConditionalIconItem.d.ts.map +1 -0
- package/lib/core-react/icons/ConditionalIconItem.js.map +1 -0
- package/lib/core-react/icons/IconComponent.d.ts +34 -0
- package/lib/core-react/icons/IconComponent.d.ts.map +1 -0
- package/lib/core-react/icons/IconComponent.js +77 -0
- package/lib/core-react/icons/IconComponent.js.map +1 -0
- package/lib/core-react/icons/IconComponent.scss +19 -0
- package/lib/core-react/icons/SvgPath.d.ts +26 -0
- package/lib/core-react/icons/SvgPath.d.ts.map +1 -0
- package/lib/core-react/icons/SvgPath.js.map +1 -0
- package/lib/core-react/icons/WebFontIcon.d.ts +28 -0
- package/lib/core-react/icons/WebFontIcon.d.ts.map +1 -0
- package/lib/core-react/icons/WebFontIcon.js.map +1 -0
- package/lib/core-react/icons/WebFontIcon.scss +15 -0
- package/lib/core-react/icons/classes.scss +18 -0
- package/lib/core-react/icons/index.scss +6 -0
- package/lib/core-react/icons/mixins.scss +27 -0
- package/lib/core-react/imagecheckbox/ImageCheckBox.d.ts +43 -0
- package/lib/core-react/imagecheckbox/ImageCheckBox.d.ts.map +1 -0
- package/lib/core-react/imagecheckbox/ImageCheckBox.js +49 -0
- package/lib/core-react/imagecheckbox/ImageCheckBox.js.map +1 -0
- package/lib/core-react/imagecheckbox/ImageCheckBox.scss +51 -0
- package/lib/core-react/index.scss +18 -0
- package/lib/core-react/inputs/Input.d.ts +21 -0
- package/lib/core-react/inputs/Input.d.ts.map +1 -0
- package/lib/core-react/inputs/Input.js +42 -0
- package/lib/core-react/inputs/Input.js.map +1 -0
- package/lib/core-react/inputs/InputLabel.d.ts +23 -0
- package/lib/core-react/inputs/InputLabel.d.ts.map +1 -0
- package/lib/core-react/inputs/InputLabel.js +33 -0
- package/lib/core-react/inputs/InputLabel.js.map +1 -0
- package/lib/core-react/inputs/InputStatus.d.ts.map +1 -0
- package/lib/core-react/inputs/InputStatus.js.map +1 -0
- package/lib/core-react/inputs/LabeledComponentProps.d.ts +36 -0
- package/lib/core-react/inputs/LabeledComponentProps.d.ts.map +1 -0
- package/lib/core-react/inputs/LabeledComponentProps.js.map +1 -0
- package/lib/core-react/inputs/classes.scss +12 -0
- package/lib/core-react/inputs/iconinput/IconInput.d.ts +26 -0
- package/lib/core-react/inputs/iconinput/IconInput.d.ts.map +1 -0
- package/lib/core-react/inputs/iconinput/IconInput.js +29 -0
- package/lib/core-react/inputs/iconinput/IconInput.js.map +1 -0
- package/lib/core-react/inputs/iconinput/IconInput.scss +33 -0
- package/lib/core-react/inputs/index.scss +9 -0
- package/lib/core-react/inputs/input-label.scss +95 -0
- package/lib/core-react/inputs/input.scss +56 -0
- package/lib/core-react/inputs/numberinput/NumberInput.d.ts.map +1 -0
- package/lib/core-react/inputs/numberinput/NumberInput.js +160 -0
- package/lib/core-react/inputs/numberinput/NumberInput.js.map +1 -0
- package/lib/core-react/inputs/numberinput/NumberInput.scss +88 -0
- package/lib/core-react/inputs/variables.scss +41 -0
- package/lib/core-react/l10n/LocalizationProvider.d.ts.map +1 -0
- package/lib/core-react/l10n/LocalizationProvider.js.map +1 -0
- package/lib/core-react/l10n/usePackageTranslation.d.ts.map +1 -0
- package/lib/core-react/l10n/usePackageTranslation.js +60 -0
- package/lib/core-react/l10n/usePackageTranslation.js.map +1 -0
- package/lib/core-react/l10n/useTranslation.d.ts.map +1 -0
- package/lib/core-react/l10n/useTranslation.js +26 -0
- package/lib/core-react/l10n/useTranslation.js.map +1 -0
- package/lib/core-react/layout-variables.scss +15 -0
- package/lib/core-react/listbox/Listbox.d.ts.map +1 -0
- package/lib/core-react/listbox/Listbox.js.map +1 -0
- package/lib/core-react/listbox/Listbox.scss +54 -0
- package/lib/core-react/loading/LoadingBar.d.ts +31 -0
- package/lib/core-react/loading/LoadingBar.d.ts.map +1 -0
- package/lib/core-react/loading/LoadingBar.js.map +1 -0
- package/lib/core-react/loading/LoadingBar.scss +27 -0
- package/lib/core-react/loading/LoadingPrompt.d.ts +41 -0
- package/lib/core-react/loading/LoadingPrompt.d.ts.map +1 -0
- package/lib/core-react/loading/LoadingPrompt.js +41 -0
- package/lib/core-react/loading/LoadingPrompt.js.map +1 -0
- package/lib/core-react/loading/LoadingPrompt.scss +29 -0
- package/lib/core-react/loading/LoadingSpinner.d.ts.map +1 -0
- package/lib/core-react/loading/LoadingSpinner.js.map +1 -0
- package/lib/core-react/loading/LoadingSpinner.scss +24 -0
- package/lib/core-react/loading/LoadingStatus.d.ts +26 -0
- package/lib/core-react/loading/LoadingStatus.d.ts.map +1 -0
- package/lib/core-react/loading/LoadingStatus.js.map +1 -0
- package/lib/core-react/loading/index.scss +5 -0
- package/lib/core-react/loading/mixins.scss +57 -0
- package/lib/core-react/messagebox/MessageBox.d.ts +90 -0
- package/lib/core-react/messagebox/MessageBox.d.ts.map +1 -0
- package/lib/core-react/messagebox/MessageBox.js +105 -0
- package/lib/core-react/messagebox/MessageBox.js.map +1 -0
- package/lib/core-react/messagebox/MessageBox.scss +55 -0
- package/lib/core-react/notification/MessageRenderer.d.ts +22 -0
- package/lib/core-react/notification/MessageRenderer.d.ts.map +1 -0
- package/lib/core-react/notification/MessageRenderer.js +83 -0
- package/lib/core-react/notification/MessageRenderer.js.map +1 -0
- package/lib/core-react/notification/MessageType.d.ts.map +1 -0
- package/lib/core-react/notification/MessageType.js.map +1 -0
- package/lib/core-react/popup/Popup.d.ts +128 -0
- package/lib/core-react/popup/Popup.d.ts.map +1 -0
- package/lib/core-react/popup/Popup.js +466 -0
- package/lib/core-react/popup/Popup.js.map +1 -0
- package/lib/core-react/popup/Popup.scss +239 -0
- package/lib/core-react/radialmenu/Annulus.d.ts +54 -0
- package/lib/core-react/radialmenu/Annulus.d.ts.map +1 -0
- package/lib/core-react/radialmenu/Annulus.js +75 -0
- package/lib/core-react/radialmenu/Annulus.js.map +1 -0
- package/lib/core-react/radialmenu/RadialMenu.d.ts +96 -0
- package/lib/core-react/radialmenu/RadialMenu.d.ts.map +1 -0
- package/lib/core-react/radialmenu/RadialMenu.js +183 -0
- package/lib/core-react/radialmenu/RadialMenu.js.map +1 -0
- package/lib/core-react/radialmenu/RadialMenu.scss +55 -0
- package/lib/core-react/searchbox/SearchBox.d.ts +51 -0
- package/lib/core-react/searchbox/SearchBox.d.ts.map +1 -0
- package/lib/core-react/searchbox/SearchBox.js +115 -0
- package/lib/core-react/searchbox/SearchBox.js.map +1 -0
- package/lib/core-react/searchbox/SearchBox.scss +45 -0
- package/lib/core-react/settings/SettingsContainer.d.ts +35 -0
- package/lib/core-react/settings/SettingsContainer.d.ts.map +1 -0
- package/lib/core-react/settings/SettingsContainer.js +149 -0
- package/lib/core-react/settings/SettingsContainer.js.map +1 -0
- package/lib/core-react/settings/SettingsContainer.scss +65 -0
- package/lib/core-react/settings/SettingsManager.d.ts.map +1 -0
- package/lib/core-react/settings/SettingsManager.js +112 -0
- package/lib/core-react/settings/SettingsManager.js.map +1 -0
- package/lib/core-react/style/index.scss +10 -0
- package/lib/core-react/tabs/Tabs.d.ts +69 -0
- package/lib/core-react/tabs/Tabs.d.ts.map +1 -0
- package/lib/core-react/tabs/Tabs.js +117 -0
- package/lib/core-react/tabs/Tabs.js.map +1 -0
- package/lib/core-react/tabs/VerticalTabs.d.ts +11 -0
- package/lib/core-react/tabs/VerticalTabs.d.ts.map +1 -0
- package/lib/core-react/tabs/VerticalTabs.js +19 -0
- package/lib/core-react/tabs/VerticalTabs.js.map +1 -0
- package/lib/core-react/tabs/classes.scss +9 -0
- package/lib/core-react/tabs/index.scss +5 -0
- package/lib/core-react/tabs/tabs.scss +99 -0
- package/lib/core-react/tabs/vertical.scss +53 -0
- package/lib/core-react/text/BlockText.d.ts +11 -0
- package/lib/core-react/text/BlockText.d.ts.map +1 -0
- package/lib/core-react/text/BlockText.js +19 -0
- package/lib/core-react/text/BlockText.js.map +1 -0
- package/lib/core-react/text/BodyText.d.ts +11 -0
- package/lib/core-react/text/BodyText.d.ts.map +1 -0
- package/lib/core-react/text/BodyText.js +19 -0
- package/lib/core-react/text/BodyText.js.map +1 -0
- package/lib/core-react/text/DisabledText.d.ts +11 -0
- package/lib/core-react/text/DisabledText.d.ts.map +1 -0
- package/lib/core-react/text/DisabledText.js +18 -0
- package/lib/core-react/text/DisabledText.js.map +1 -0
- package/lib/core-react/text/FilteredText.d.ts +27 -0
- package/lib/core-react/text/FilteredText.d.ts.map +1 -0
- package/lib/core-react/text/FilteredText.js.map +1 -0
- package/lib/core-react/text/FilteredText.scss +8 -0
- package/lib/core-react/text/MutedText.d.ts +11 -0
- package/lib/core-react/text/MutedText.d.ts.map +1 -0
- package/lib/core-react/text/MutedText.js +19 -0
- package/lib/core-react/text/MutedText.js.map +1 -0
- package/lib/core-react/text/StyledText.d.ts +19 -0
- package/lib/core-react/text/StyledText.d.ts.map +1 -0
- package/lib/core-react/text/StyledText.js.map +1 -0
- package/lib/core-react/text/TextProps.d.ts +12 -0
- package/lib/core-react/text/TextProps.d.ts.map +1 -0
- package/lib/core-react/text/TextProps.js.map +1 -0
- package/lib/core-react/text/classes.scss +18 -0
- package/lib/core-react/text/disabled.scss +7 -0
- package/lib/core-react/text/index.scss +10 -0
- package/lib/core-react/text/mixins.scss +26 -0
- package/lib/core-react/text/muted.scss +7 -0
- package/lib/core-react/tree/Branch.d.ts +22 -0
- package/lib/core-react/tree/Branch.d.ts.map +1 -0
- package/lib/core-react/tree/Branch.js.map +1 -0
- package/lib/core-react/tree/ExpansionToggle.d.ts +21 -0
- package/lib/core-react/tree/ExpansionToggle.d.ts.map +1 -0
- package/lib/core-react/tree/ExpansionToggle.js +27 -0
- package/lib/core-react/tree/ExpansionToggle.js.map +1 -0
- package/lib/core-react/tree/Node.d.ts +84 -0
- package/lib/core-react/tree/Node.d.ts.map +1 -0
- package/lib/core-react/tree/Node.js +88 -0
- package/lib/core-react/tree/Node.js.map +1 -0
- package/lib/core-react/tree/Placeholder.d.ts +25 -0
- package/lib/core-react/tree/Placeholder.d.ts.map +1 -0
- package/lib/core-react/tree/Placeholder.js +30 -0
- package/lib/core-react/tree/Placeholder.js.map +1 -0
- package/lib/core-react/tree/Tree.d.ts +31 -0
- package/lib/core-react/tree/Tree.d.ts.map +1 -0
- package/lib/core-react/tree/Tree.js +105 -0
- package/lib/core-react/tree/Tree.js.map +1 -0
- package/lib/core-react/uistate/LocalStateStorage.d.ts +17 -0
- package/lib/core-react/uistate/LocalStateStorage.d.ts.map +1 -0
- package/lib/core-react/uistate/LocalStateStorage.js +48 -0
- package/lib/core-react/uistate/LocalStateStorage.js.map +1 -0
- package/lib/core-react/uistate/UiStateEntry.d.ts +32 -0
- package/lib/core-react/uistate/UiStateEntry.d.ts.map +1 -0
- package/lib/core-react/uistate/UiStateEntry.js +58 -0
- package/lib/core-react/uistate/UiStateEntry.js.map +1 -0
- package/lib/core-react/uistate/UiStateStorage.d.ts.map +1 -0
- package/lib/core-react/uistate/UiStateStorage.js.map +1 -0
- package/lib/core-react/utils/IconHelper.d.ts +27 -0
- package/lib/core-react/utils/IconHelper.d.ts.map +1 -0
- package/lib/core-react/utils/IconHelper.js +82 -0
- package/lib/core-react/utils/IconHelper.js.map +1 -0
- package/lib/core-react/utils/IconWebComponent.d.ts +13 -0
- package/lib/core-react/utils/IconWebComponent.d.ts.map +1 -0
- package/lib/core-react/utils/IconWebComponent.js +112 -0
- package/lib/core-react/utils/IconWebComponent.js.map +1 -0
- package/lib/core-react/utils/ListenerType.d.ts.map +1 -0
- package/lib/core-react/utils/ListenerType.js.map +1 -0
- package/lib/core-react/utils/Point.d.ts +36 -0
- package/lib/core-react/utils/Point.d.ts.map +1 -0
- package/lib/core-react/utils/Point.js +66 -0
- package/lib/core-react/utils/Point.js.map +1 -0
- package/lib/core-react/utils/PointProps.d.ts.map +1 -0
- package/lib/core-react/utils/PointProps.js.map +1 -0
- package/lib/core-react/utils/Props.d.ts.map +1 -0
- package/lib/core-react/utils/Props.js.map +1 -0
- package/lib/core-react/utils/Rectangle.d.ts +146 -0
- package/lib/core-react/utils/Rectangle.d.ts.map +1 -0
- package/lib/core-react/utils/Rectangle.js +276 -0
- package/lib/core-react/utils/Rectangle.js.map +1 -0
- package/lib/core-react/utils/ScrollPositionMaintainer.d.ts.map +1 -0
- package/lib/core-react/utils/ScrollPositionMaintainer.js.map +1 -0
- package/lib/core-react/utils/Size.d.ts +12 -0
- package/lib/core-react/utils/Size.d.ts.map +1 -0
- package/lib/core-react/utils/Size.js +9 -0
- package/lib/core-react/utils/Size.js.map +1 -0
- package/lib/core-react/utils/Timer.d.ts.map +1 -0
- package/lib/core-react/utils/Timer.js.map +1 -0
- package/lib/core-react/utils/flattenChildren.d.ts.map +1 -0
- package/lib/core-react/utils/flattenChildren.js.map +1 -0
- package/lib/core-react/utils/getBestBWContrastColor.d.ts.map +1 -0
- package/lib/core-react/utils/getBestBWContrastColor.js.map +1 -0
- package/lib/core-react/utils/getCssVariable.d.ts.map +1 -0
- package/lib/core-react/utils/getCssVariable.js.map +1 -0
- package/lib/core-react/utils/getDisplayName.d.ts.map +1 -0
- package/lib/core-react/utils/getDisplayName.js.map +1 -0
- package/lib/core-react/utils/getUserColor.d.ts.map +1 -0
- package/lib/core-react/utils/getUserColor.js.map +1 -0
- package/lib/core-react/utils/hooks/useCrossOriginPopup.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useCrossOriginPopup.js +99 -0
- package/lib/core-react/utils/hooks/useCrossOriginPopup.js.map +1 -0
- package/lib/core-react/utils/hooks/useDisposable.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useDisposable.js.map +1 -0
- package/lib/core-react/utils/hooks/useEffectSkipFirst.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useEffectSkipFirst.js.map +1 -0
- package/lib/core-react/utils/hooks/useInterval.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useInterval.js.map +1 -0
- package/lib/core-react/utils/hooks/useLifecycleLogging.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useLifecycleLogging.js.map +1 -0
- package/lib/core-react/utils/hooks/useOnOutsideClick.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useOnOutsideClick.js +99 -0
- package/lib/core-react/utils/hooks/useOnOutsideClick.js.map +1 -0
- package/lib/core-react/utils/hooks/useProximityToMouse.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useProximityToMouse.js +102 -0
- package/lib/core-react/utils/hooks/useProximityToMouse.js.map +1 -0
- package/lib/core-react/utils/hooks/useRefEffect.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useRefEffect.js.map +1 -0
- package/lib/core-react/utils/hooks/useRefState.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useRefState.js.map +1 -0
- package/lib/core-react/utils/hooks/useRefs.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useRefs.js.map +1 -0
- package/lib/core-react/utils/hooks/useResizeObserver.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useResizeObserver.js +201 -0
- package/lib/core-react/utils/hooks/useResizeObserver.js.map +1 -0
- package/lib/core-react/utils/hooks/useTargeted.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useTargeted.js.map +1 -0
- package/lib/core-react/utils/hooks/useThrottledFn.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useThrottledFn.js.map +1 -0
- package/lib/core-react/utils/hooks/useWidgetOpacityContext.d.ts +25 -0
- package/lib/core-react/utils/hooks/useWidgetOpacityContext.d.ts.map +1 -0
- package/lib/core-react/utils/hooks/useWidgetOpacityContext.js +32 -0
- package/lib/core-react/utils/hooks/useWidgetOpacityContext.js.map +1 -0
- package/lib/core-react/utils/matches.d.ts.map +1 -0
- package/lib/core-react/utils/matches.js.map +1 -0
- package/lib/core-react/utils/reuseOrCreatePromise.d.ts.map +1 -0
- package/lib/core-react/utils/reuseOrCreatePromise.js.map +1 -0
- package/lib/core-react/utils/shallowDiffers.d.ts.map +1 -0
- package/lib/core-react/utils/shallowDiffers.js.map +1 -0
- package/lib/core-react/utils/typeUtils.d.ts.map +1 -0
- package/lib/core-react/utils/typeUtils.js.map +1 -0
- package/lib/core-react.d.ts +218 -0
- package/lib/core-react.d.ts.map +1 -0
- package/lib/core-react.js +218 -0
- package/lib/core-react.js.map +1 -0
- package/lib/internal.d.ts +18 -0
- package/lib/internal.d.ts.map +1 -0
- package/lib/internal.js +20 -0
- package/lib/internal.js.map +1 -0
- package/package.json +34 -25
- package/lib/cjs/core-react/UiCore.d.ts +0 -38
- package/lib/cjs/core-react/UiCore.d.ts.map +0 -1
- package/lib/cjs/core-react/UiCore.js +0 -76
- package/lib/cjs/core-react/UiCore.js.map +0 -1
- package/lib/cjs/core-react/_helpers.scss +0 -52
- package/lib/cjs/core-react/_scrollbar.scss +0 -55
- package/lib/cjs/core-react/_typography.scss +0 -44
- package/lib/cjs/core-react/_z-index.scss +0 -47
- package/lib/cjs/core-react/autosuggest/AutoSuggest.d.ts +0 -99
- package/lib/cjs/core-react/autosuggest/AutoSuggest.d.ts.map +0 -1
- package/lib/cjs/core-react/autosuggest/AutoSuggest.js +0 -174
- package/lib/cjs/core-react/autosuggest/AutoSuggest.js.map +0 -1
- package/lib/cjs/core-react/autosuggest/AutoSuggest.scss +0 -79
- package/lib/cjs/core-react/badge/Badge.d.ts +0 -17
- package/lib/cjs/core-react/badge/Badge.d.ts.map +0 -1
- package/lib/cjs/core-react/badge/Badge.js +0 -29
- package/lib/cjs/core-react/badge/Badge.js.map +0 -1
- package/lib/cjs/core-react/badge/BadgeType.d.ts +0 -19
- package/lib/cjs/core-react/badge/BadgeType.d.ts.map +0 -1
- package/lib/cjs/core-react/badge/BadgeType.js +0 -17
- package/lib/cjs/core-react/badge/BadgeType.js.map +0 -1
- package/lib/cjs/core-react/badge/DeprecatedBadge.d.ts.map +0 -1
- package/lib/cjs/core-react/badge/DeprecatedBadge.js +0 -29
- package/lib/cjs/core-react/badge/DeprecatedBadge.js.map +0 -1
- package/lib/cjs/core-react/badge/NewBadge.d.ts.map +0 -1
- package/lib/cjs/core-react/badge/NewBadge.js +0 -23
- package/lib/cjs/core-react/badge/NewBadge.js.map +0 -1
- package/lib/cjs/core-react/badge/TechnicalPreviewBadge.d.ts.map +0 -1
- package/lib/cjs/core-react/badge/TechnicalPreviewBadge.js +0 -29
- package/lib/cjs/core-react/badge/TechnicalPreviewBadge.js.map +0 -1
- package/lib/cjs/core-react/base/Centered.d.ts +0 -12
- package/lib/cjs/core-react/base/Centered.d.ts.map +0 -1
- package/lib/cjs/core-react/base/Centered.js +0 -24
- package/lib/cjs/core-react/base/Centered.js.map +0 -1
- package/lib/cjs/core-react/base/Div.d.ts +0 -19
- package/lib/cjs/core-react/base/Div.d.ts.map +0 -1
- package/lib/cjs/core-react/base/Div.js +0 -23
- package/lib/cjs/core-react/base/Div.js.map +0 -1
- package/lib/cjs/core-react/base/DivWithOutsideClick.d.ts +0 -77
- package/lib/cjs/core-react/base/DivWithOutsideClick.d.ts.map +0 -1
- package/lib/cjs/core-react/base/DivWithOutsideClick.js +0 -20
- package/lib/cjs/core-react/base/DivWithOutsideClick.js.map +0 -1
- package/lib/cjs/core-react/base/FillCentered.d.ts +0 -12
- package/lib/cjs/core-react/base/FillCentered.d.ts.map +0 -1
- package/lib/cjs/core-react/base/FillCentered.js +0 -24
- package/lib/cjs/core-react/base/FillCentered.js.map +0 -1
- package/lib/cjs/core-react/base/FlexWrapContainer.d.ts +0 -13
- package/lib/cjs/core-react/base/FlexWrapContainer.d.ts.map +0 -1
- package/lib/cjs/core-react/base/FlexWrapContainer.js +0 -25
- package/lib/cjs/core-react/base/FlexWrapContainer.js.map +0 -1
- package/lib/cjs/core-react/base/Gap.d.ts +0 -18
- package/lib/cjs/core-react/base/Gap.d.ts.map +0 -1
- package/lib/cjs/core-react/base/Gap.js +0 -23
- package/lib/cjs/core-react/base/Gap.js.map +0 -1
- package/lib/cjs/core-react/base/PointerEvents.d.ts.map +0 -1
- package/lib/cjs/core-react/base/PointerEvents.js +0 -18
- package/lib/cjs/core-react/base/PointerEvents.js.map +0 -1
- package/lib/cjs/core-react/base/ScrollView.d.ts +0 -13
- package/lib/cjs/core-react/base/ScrollView.d.ts.map +0 -1
- package/lib/cjs/core-react/base/ScrollView.js +0 -25
- package/lib/cjs/core-react/base/ScrollView.js.map +0 -1
- package/lib/cjs/core-react/base/base.scss +0 -42
- package/lib/cjs/core-react/base/classes.scss +0 -27
- package/lib/cjs/core-react/base/index.scss +0 -5
- package/lib/cjs/core-react/button/UnderlinedButton.d.ts.map +0 -1
- package/lib/cjs/core-react/button/UnderlinedButton.js +0 -38
- package/lib/cjs/core-react/button/UnderlinedButton.js.map +0 -1
- package/lib/cjs/core-react/button/UnderlinedButton.scss +0 -32
- package/lib/cjs/core-react/checklistbox/CheckListBox.d.ts +0 -45
- package/lib/cjs/core-react/checklistbox/CheckListBox.d.ts.map +0 -1
- package/lib/cjs/core-react/checklistbox/CheckListBox.js +0 -50
- package/lib/cjs/core-react/checklistbox/CheckListBox.js.map +0 -1
- package/lib/cjs/core-react/classes.scss +0 -10
- package/lib/cjs/core-react/contextmenu/ContextMenu.d.ts +0 -91
- package/lib/cjs/core-react/contextmenu/ContextMenu.d.ts.map +0 -1
- package/lib/cjs/core-react/contextmenu/ContextMenu.js +0 -366
- package/lib/cjs/core-react/contextmenu/ContextMenu.js.map +0 -1
- package/lib/cjs/core-react/contextmenu/ContextMenu.scss +0 -231
- package/lib/cjs/core-react/contextmenu/ContextMenuDirection.d.ts.map +0 -1
- package/lib/cjs/core-react/contextmenu/ContextMenuDirection.js +0 -21
- package/lib/cjs/core-react/contextmenu/ContextMenuDirection.js.map +0 -1
- package/lib/cjs/core-react/contextmenu/ContextMenuDivider.d.ts +0 -13
- package/lib/cjs/core-react/contextmenu/ContextMenuDivider.d.ts.map +0 -1
- package/lib/cjs/core-react/contextmenu/ContextMenuDivider.js +0 -25
- package/lib/cjs/core-react/contextmenu/ContextMenuDivider.js.map +0 -1
- package/lib/cjs/core-react/contextmenu/ContextMenuItem.d.ts +0 -65
- package/lib/cjs/core-react/contextmenu/ContextMenuItem.d.ts.map +0 -1
- package/lib/cjs/core-react/contextmenu/ContextMenuItem.js +0 -111
- package/lib/cjs/core-react/contextmenu/ContextMenuItem.js.map +0 -1
- package/lib/cjs/core-react/contextmenu/ContextSubMenu.d.ts +0 -51
- package/lib/cjs/core-react/contextmenu/ContextSubMenu.d.ts.map +0 -1
- package/lib/cjs/core-react/contextmenu/ContextSubMenu.js +0 -177
- package/lib/cjs/core-react/contextmenu/ContextSubMenu.js.map +0 -1
- package/lib/cjs/core-react/contextmenu/GlobalContextMenu.d.ts +0 -36
- package/lib/cjs/core-react/contextmenu/GlobalContextMenu.d.ts.map +0 -1
- package/lib/cjs/core-react/contextmenu/GlobalContextMenu.js +0 -63
- package/lib/cjs/core-react/contextmenu/GlobalContextMenu.js.map +0 -1
- package/lib/cjs/core-react/contextmenu/PopupContextMenu.d.ts +0 -57
- package/lib/cjs/core-react/contextmenu/PopupContextMenu.d.ts.map +0 -1
- package/lib/cjs/core-react/contextmenu/PopupContextMenu.js +0 -58
- package/lib/cjs/core-react/contextmenu/PopupContextMenu.js.map +0 -1
- package/lib/cjs/core-react/contextmenu/TildeFinder.d.ts.map +0 -1
- package/lib/cjs/core-react/contextmenu/TildeFinder.js +0 -79
- package/lib/cjs/core-react/contextmenu/TildeFinder.js.map +0 -1
- package/lib/cjs/core-react/dialog/Dialog.d.ts +0 -112
- package/lib/cjs/core-react/dialog/Dialog.d.ts.map +0 -1
- package/lib/cjs/core-react/dialog/Dialog.js +0 -209
- package/lib/cjs/core-react/dialog/Dialog.js.map +0 -1
- package/lib/cjs/core-react/dialog/Dialog.scss +0 -57
- package/lib/cjs/core-react/dialog/GlobalDialog.d.ts +0 -32
- package/lib/cjs/core-react/dialog/GlobalDialog.d.ts.map +0 -1
- package/lib/cjs/core-react/dialog/GlobalDialog.js +0 -61
- package/lib/cjs/core-react/dialog/GlobalDialog.js.map +0 -1
- package/lib/cjs/core-react/elementseparator/ElementSeparator.d.ts +0 -44
- package/lib/cjs/core-react/elementseparator/ElementSeparator.d.ts.map +0 -1
- package/lib/cjs/core-react/elementseparator/ElementSeparator.js +0 -167
- package/lib/cjs/core-react/elementseparator/ElementSeparator.js.map +0 -1
- package/lib/cjs/core-react/elementseparator/ElementSeparator.scss +0 -96
- package/lib/cjs/core-react/enums/Alignment.d.ts.map +0 -1
- package/lib/cjs/core-react/enums/Alignment.js +0 -34
- package/lib/cjs/core-react/enums/Alignment.js.map +0 -1
- package/lib/cjs/core-react/enums/CheckBoxState.d.ts.map +0 -1
- package/lib/cjs/core-react/enums/CheckBoxState.js +0 -21
- package/lib/cjs/core-react/enums/CheckBoxState.js.map +0 -1
- package/lib/cjs/core-react/enums/Orientation.d.ts.map +0 -1
- package/lib/cjs/core-react/enums/Orientation.js +0 -21
- package/lib/cjs/core-react/enums/Orientation.js.map +0 -1
- package/lib/cjs/core-react/enums/SortDirection.d.ts.map +0 -1
- package/lib/cjs/core-react/enums/SortDirection.js +0 -22
- package/lib/cjs/core-react/enums/SortDirection.js.map +0 -1
- package/lib/cjs/core-react/enums/TimeFormat.d.ts.map +0 -1
- package/lib/cjs/core-react/enums/TimeFormat.js +0 -24
- package/lib/cjs/core-react/enums/TimeFormat.js.map +0 -1
- package/lib/cjs/core-react/expandable/ExpandableList.d.ts +0 -37
- package/lib/cjs/core-react/expandable/ExpandableList.d.ts.map +0 -1
- package/lib/cjs/core-react/expandable/ExpandableList.js +0 -62
- package/lib/cjs/core-react/expandable/ExpandableList.js.map +0 -1
- package/lib/cjs/core-react/focus/ItemKeyboardNavigator.d.ts +0 -53
- package/lib/cjs/core-react/focus/ItemKeyboardNavigator.d.ts.map +0 -1
- package/lib/cjs/core-react/focus/ItemKeyboardNavigator.js +0 -178
- package/lib/cjs/core-react/focus/ItemKeyboardNavigator.js.map +0 -1
- package/lib/cjs/core-react/focustrap/FocusTrap.d.ts.map +0 -1
- package/lib/cjs/core-react/focustrap/FocusTrap.js +0 -201
- package/lib/cjs/core-react/focustrap/FocusTrap.js.map +0 -1
- package/lib/cjs/core-react/hocs/withIsPressed.d.ts.map +0 -1
- package/lib/cjs/core-react/hocs/withIsPressed.js +0 -45
- package/lib/cjs/core-react/hocs/withIsPressed.js.map +0 -1
- package/lib/cjs/core-react/hocs/withOnOutsideClick.d.ts.map +0 -1
- package/lib/cjs/core-react/hocs/withOnOutsideClick.js +0 -114
- package/lib/cjs/core-react/hocs/withOnOutsideClick.js.map +0 -1
- package/lib/cjs/core-react/hocs/withTimeout.d.ts +0 -73
- package/lib/cjs/core-react/hocs/withTimeout.d.ts.map +0 -1
- package/lib/cjs/core-react/hocs/withTimeout.js +0 -48
- package/lib/cjs/core-react/hocs/withTimeout.js.map +0 -1
- package/lib/cjs/core-react/icons/ConditionalIconItem.d.ts +0 -28
- package/lib/cjs/core-react/icons/ConditionalIconItem.d.ts.map +0 -1
- package/lib/cjs/core-react/icons/ConditionalIconItem.js +0 -65
- package/lib/cjs/core-react/icons/ConditionalIconItem.js.map +0 -1
- package/lib/cjs/core-react/icons/IconComponent.d.ts +0 -34
- package/lib/cjs/core-react/icons/IconComponent.d.ts.map +0 -1
- package/lib/cjs/core-react/icons/IconComponent.js +0 -81
- package/lib/cjs/core-react/icons/IconComponent.js.map +0 -1
- package/lib/cjs/core-react/icons/IconComponent.scss +0 -19
- package/lib/cjs/core-react/icons/SvgPath.d.ts +0 -26
- package/lib/cjs/core-react/icons/SvgPath.d.ts.map +0 -1
- package/lib/cjs/core-react/icons/SvgPath.js +0 -30
- package/lib/cjs/core-react/icons/SvgPath.js.map +0 -1
- package/lib/cjs/core-react/icons/WebFontIcon.d.ts +0 -28
- package/lib/cjs/core-react/icons/WebFontIcon.d.ts.map +0 -1
- package/lib/cjs/core-react/icons/WebFontIcon.js +0 -24
- package/lib/cjs/core-react/icons/WebFontIcon.js.map +0 -1
- package/lib/cjs/core-react/icons/WebFontIcon.scss +0 -17
- package/lib/cjs/core-react/icons/classes.scss +0 -18
- package/lib/cjs/core-react/icons/index.scss +0 -6
- package/lib/cjs/core-react/icons/mixins.scss +0 -25
- package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.d.ts +0 -43
- package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.d.ts.map +0 -1
- package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.js +0 -53
- package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.js.map +0 -1
- package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.scss +0 -54
- package/lib/cjs/core-react/index.scss +0 -20
- package/lib/cjs/core-react/inputs/Input.d.ts +0 -21
- package/lib/cjs/core-react/inputs/Input.d.ts.map +0 -1
- package/lib/cjs/core-react/inputs/Input.js +0 -45
- package/lib/cjs/core-react/inputs/Input.js.map +0 -1
- package/lib/cjs/core-react/inputs/InputLabel.d.ts +0 -23
- package/lib/cjs/core-react/inputs/InputLabel.d.ts.map +0 -1
- package/lib/cjs/core-react/inputs/InputLabel.js +0 -37
- package/lib/cjs/core-react/inputs/InputLabel.js.map +0 -1
- package/lib/cjs/core-react/inputs/InputStatus.d.ts.map +0 -1
- package/lib/cjs/core-react/inputs/InputStatus.js +0 -21
- package/lib/cjs/core-react/inputs/InputStatus.js.map +0 -1
- package/lib/cjs/core-react/inputs/LabeledComponentProps.d.ts +0 -36
- package/lib/cjs/core-react/inputs/LabeledComponentProps.d.ts.map +0 -1
- package/lib/cjs/core-react/inputs/LabeledComponentProps.js +0 -10
- package/lib/cjs/core-react/inputs/LabeledComponentProps.js.map +0 -1
- package/lib/cjs/core-react/inputs/classes.scss +0 -12
- package/lib/cjs/core-react/inputs/iconinput/IconInput.d.ts +0 -26
- package/lib/cjs/core-react/inputs/iconinput/IconInput.d.ts.map +0 -1
- package/lib/cjs/core-react/inputs/iconinput/IconInput.js +0 -32
- package/lib/cjs/core-react/inputs/iconinput/IconInput.js.map +0 -1
- package/lib/cjs/core-react/inputs/iconinput/IconInput.scss +0 -34
- package/lib/cjs/core-react/inputs/index.scss +0 -9
- package/lib/cjs/core-react/inputs/input-label.scss +0 -89
- package/lib/cjs/core-react/inputs/input.scss +0 -54
- package/lib/cjs/core-react/inputs/numberinput/NumberInput.d.ts.map +0 -1
- package/lib/cjs/core-react/inputs/numberinput/NumberInput.js +0 -163
- package/lib/cjs/core-react/inputs/numberinput/NumberInput.js.map +0 -1
- package/lib/cjs/core-react/inputs/numberinput/NumberInput.scss +0 -88
- package/lib/cjs/core-react/inputs/variables.scss +0 -36
- package/lib/cjs/core-react/l10n/LocalizationProvider.d.ts.map +0 -1
- package/lib/cjs/core-react/l10n/LocalizationProvider.js +0 -30
- package/lib/cjs/core-react/l10n/LocalizationProvider.js.map +0 -1
- package/lib/cjs/core-react/l10n/usePackageTranslation.d.ts.map +0 -1
- package/lib/cjs/core-react/l10n/usePackageTranslation.js +0 -64
- package/lib/cjs/core-react/l10n/usePackageTranslation.js.map +0 -1
- package/lib/cjs/core-react/l10n/useTranslation.d.ts.map +0 -1
- package/lib/cjs/core-react/l10n/useTranslation.js +0 -30
- package/lib/cjs/core-react/l10n/useTranslation.js.map +0 -1
- package/lib/cjs/core-react/layout-variables.scss +0 -15
- package/lib/cjs/core-react/listbox/Listbox.d.ts.map +0 -1
- package/lib/cjs/core-react/listbox/Listbox.js +0 -220
- package/lib/cjs/core-react/listbox/Listbox.js.map +0 -1
- package/lib/cjs/core-react/listbox/Listbox.scss +0 -54
- package/lib/cjs/core-react/loading/LoadingBar.d.ts +0 -31
- package/lib/cjs/core-react/loading/LoadingBar.d.ts.map +0 -1
- package/lib/cjs/core-react/loading/LoadingBar.js +0 -41
- package/lib/cjs/core-react/loading/LoadingBar.js.map +0 -1
- package/lib/cjs/core-react/loading/LoadingBar.scss +0 -29
- package/lib/cjs/core-react/loading/LoadingPrompt.d.ts +0 -41
- package/lib/cjs/core-react/loading/LoadingPrompt.d.ts.map +0 -1
- package/lib/cjs/core-react/loading/LoadingPrompt.js +0 -45
- package/lib/cjs/core-react/loading/LoadingPrompt.js.map +0 -1
- package/lib/cjs/core-react/loading/LoadingPrompt.scss +0 -33
- package/lib/cjs/core-react/loading/LoadingSpinner.d.ts.map +0 -1
- package/lib/cjs/core-react/loading/LoadingSpinner.js +0 -31
- package/lib/cjs/core-react/loading/LoadingSpinner.js.map +0 -1
- package/lib/cjs/core-react/loading/LoadingSpinner.scss +0 -26
- package/lib/cjs/core-react/loading/LoadingStatus.d.ts +0 -26
- package/lib/cjs/core-react/loading/LoadingStatus.d.ts.map +0 -1
- package/lib/cjs/core-react/loading/LoadingStatus.js +0 -38
- package/lib/cjs/core-react/loading/LoadingStatus.js.map +0 -1
- package/lib/cjs/core-react/loading/index.scss +0 -5
- package/lib/cjs/core-react/loading/mixins.scss +0 -57
- package/lib/cjs/core-react/messagebox/MessageBox.d.ts +0 -90
- package/lib/cjs/core-react/messagebox/MessageBox.d.ts.map +0 -1
- package/lib/cjs/core-react/messagebox/MessageBox.js +0 -110
- package/lib/cjs/core-react/messagebox/MessageBox.js.map +0 -1
- package/lib/cjs/core-react/messagebox/MessageBox.scss +0 -56
- package/lib/cjs/core-react/notification/MessageRenderer.d.ts +0 -22
- package/lib/cjs/core-react/notification/MessageRenderer.d.ts.map +0 -1
- package/lib/cjs/core-react/notification/MessageRenderer.js +0 -87
- package/lib/cjs/core-react/notification/MessageRenderer.js.map +0 -1
- package/lib/cjs/core-react/notification/MessageType.d.ts.map +0 -1
- package/lib/cjs/core-react/notification/MessageType.js +0 -25
- package/lib/cjs/core-react/notification/MessageType.js.map +0 -1
- package/lib/cjs/core-react/popup/Popup.d.ts +0 -128
- package/lib/cjs/core-react/popup/Popup.d.ts.map +0 -1
- package/lib/cjs/core-react/popup/Popup.js +0 -470
- package/lib/cjs/core-react/popup/Popup.js.map +0 -1
- package/lib/cjs/core-react/popup/Popup.scss +0 -240
- package/lib/cjs/core-react/radialmenu/Annulus.d.ts +0 -54
- package/lib/cjs/core-react/radialmenu/Annulus.d.ts.map +0 -1
- package/lib/cjs/core-react/radialmenu/Annulus.js +0 -82
- package/lib/cjs/core-react/radialmenu/Annulus.js.map +0 -1
- package/lib/cjs/core-react/radialmenu/RadialMenu.d.ts +0 -96
- package/lib/cjs/core-react/radialmenu/RadialMenu.d.ts.map +0 -1
- package/lib/cjs/core-react/radialmenu/RadialMenu.js +0 -188
- package/lib/cjs/core-react/radialmenu/RadialMenu.js.map +0 -1
- package/lib/cjs/core-react/radialmenu/RadialMenu.scss +0 -56
- package/lib/cjs/core-react/searchbox/SearchBox.d.ts +0 -51
- package/lib/cjs/core-react/searchbox/SearchBox.d.ts.map +0 -1
- package/lib/cjs/core-react/searchbox/SearchBox.js +0 -119
- package/lib/cjs/core-react/searchbox/SearchBox.js.map +0 -1
- package/lib/cjs/core-react/searchbox/SearchBox.scss +0 -47
- package/lib/cjs/core-react/settings/SettingsContainer.d.ts +0 -35
- package/lib/cjs/core-react/settings/SettingsContainer.d.ts.map +0 -1
- package/lib/cjs/core-react/settings/SettingsContainer.js +0 -155
- package/lib/cjs/core-react/settings/SettingsContainer.js.map +0 -1
- package/lib/cjs/core-react/settings/SettingsContainer.scss +0 -68
- package/lib/cjs/core-react/settings/SettingsManager.d.ts.map +0 -1
- package/lib/cjs/core-react/settings/SettingsManager.js +0 -120
- package/lib/cjs/core-react/settings/SettingsManager.js.map +0 -1
- package/lib/cjs/core-react/style/index.scss +0 -10
- package/lib/cjs/core-react/tabs/Tabs.d.ts +0 -69
- package/lib/cjs/core-react/tabs/Tabs.d.ts.map +0 -1
- package/lib/cjs/core-react/tabs/Tabs.js +0 -121
- package/lib/cjs/core-react/tabs/Tabs.js.map +0 -1
- package/lib/cjs/core-react/tabs/VerticalTabs.d.ts +0 -11
- package/lib/cjs/core-react/tabs/VerticalTabs.d.ts.map +0 -1
- package/lib/cjs/core-react/tabs/VerticalTabs.js +0 -23
- package/lib/cjs/core-react/tabs/VerticalTabs.js.map +0 -1
- package/lib/cjs/core-react/tabs/classes.scss +0 -9
- package/lib/cjs/core-react/tabs/index.scss +0 -5
- package/lib/cjs/core-react/tabs/tabs.scss +0 -96
- package/lib/cjs/core-react/tabs/vertical.scss +0 -51
- package/lib/cjs/core-react/text/BlockText.d.ts +0 -11
- package/lib/cjs/core-react/text/BlockText.d.ts.map +0 -1
- package/lib/cjs/core-react/text/BlockText.js +0 -23
- package/lib/cjs/core-react/text/BlockText.js.map +0 -1
- package/lib/cjs/core-react/text/BodyText.d.ts +0 -11
- package/lib/cjs/core-react/text/BodyText.d.ts.map +0 -1
- package/lib/cjs/core-react/text/BodyText.js +0 -23
- package/lib/cjs/core-react/text/BodyText.js.map +0 -1
- package/lib/cjs/core-react/text/DisabledText.d.ts +0 -11
- package/lib/cjs/core-react/text/DisabledText.d.ts.map +0 -1
- package/lib/cjs/core-react/text/DisabledText.js +0 -22
- package/lib/cjs/core-react/text/DisabledText.js.map +0 -1
- package/lib/cjs/core-react/text/FilteredText.d.ts +0 -27
- package/lib/cjs/core-react/text/FilteredText.d.ts.map +0 -1
- package/lib/cjs/core-react/text/FilteredText.js +0 -40
- package/lib/cjs/core-react/text/FilteredText.js.map +0 -1
- package/lib/cjs/core-react/text/FilteredText.scss +0 -10
- package/lib/cjs/core-react/text/MutedText.d.ts +0 -11
- package/lib/cjs/core-react/text/MutedText.d.ts.map +0 -1
- package/lib/cjs/core-react/text/MutedText.js +0 -23
- package/lib/cjs/core-react/text/MutedText.js.map +0 -1
- package/lib/cjs/core-react/text/StyledText.d.ts +0 -19
- package/lib/cjs/core-react/text/StyledText.d.ts.map +0 -1
- package/lib/cjs/core-react/text/StyledText.js +0 -22
- package/lib/cjs/core-react/text/StyledText.js.map +0 -1
- package/lib/cjs/core-react/text/TextProps.d.ts +0 -12
- package/lib/cjs/core-react/text/TextProps.d.ts.map +0 -1
- package/lib/cjs/core-react/text/TextProps.js +0 -10
- package/lib/cjs/core-react/text/TextProps.js.map +0 -1
- package/lib/cjs/core-react/text/classes.scss +0 -18
- package/lib/cjs/core-react/text/disabled.scss +0 -9
- package/lib/cjs/core-react/text/index.scss +0 -10
- package/lib/cjs/core-react/text/mixins.scss +0 -24
- package/lib/cjs/core-react/text/muted.scss +0 -9
- package/lib/cjs/core-react/tree/Branch.d.ts +0 -22
- package/lib/cjs/core-react/tree/Branch.d.ts.map +0 -1
- package/lib/cjs/core-react/tree/Branch.js +0 -26
- package/lib/cjs/core-react/tree/Branch.js.map +0 -1
- package/lib/cjs/core-react/tree/ExpansionToggle.d.ts +0 -21
- package/lib/cjs/core-react/tree/ExpansionToggle.d.ts.map +0 -1
- package/lib/cjs/core-react/tree/ExpansionToggle.js +0 -31
- package/lib/cjs/core-react/tree/ExpansionToggle.js.map +0 -1
- package/lib/cjs/core-react/tree/Node.d.ts +0 -84
- package/lib/cjs/core-react/tree/Node.d.ts.map +0 -1
- package/lib/cjs/core-react/tree/Node.js +0 -92
- package/lib/cjs/core-react/tree/Node.js.map +0 -1
- package/lib/cjs/core-react/tree/Placeholder.d.ts +0 -25
- package/lib/cjs/core-react/tree/Placeholder.d.ts.map +0 -1
- package/lib/cjs/core-react/tree/Placeholder.js +0 -34
- package/lib/cjs/core-react/tree/Placeholder.js.map +0 -1
- package/lib/cjs/core-react/tree/Tree.d.ts +0 -31
- package/lib/cjs/core-react/tree/Tree.d.ts.map +0 -1
- package/lib/cjs/core-react/tree/Tree.js +0 -109
- package/lib/cjs/core-react/tree/Tree.js.map +0 -1
- package/lib/cjs/core-react/uistate/LocalStateStorage.d.ts +0 -17
- package/lib/cjs/core-react/uistate/LocalStateStorage.d.ts.map +0 -1
- package/lib/cjs/core-react/uistate/LocalStateStorage.js +0 -52
- package/lib/cjs/core-react/uistate/LocalStateStorage.js.map +0 -1
- package/lib/cjs/core-react/uistate/UiStateEntry.d.ts +0 -32
- package/lib/cjs/core-react/uistate/UiStateEntry.d.ts.map +0 -1
- package/lib/cjs/core-react/uistate/UiStateEntry.js +0 -62
- package/lib/cjs/core-react/uistate/UiStateEntry.js.map +0 -1
- package/lib/cjs/core-react/uistate/UiStateStorage.d.ts.map +0 -1
- package/lib/cjs/core-react/uistate/UiStateStorage.js +0 -23
- package/lib/cjs/core-react/uistate/UiStateStorage.js.map +0 -1
- package/lib/cjs/core-react/utils/IconHelper.d.ts +0 -27
- package/lib/cjs/core-react/utils/IconHelper.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/IconHelper.js +0 -86
- package/lib/cjs/core-react/utils/IconHelper.js.map +0 -1
- package/lib/cjs/core-react/utils/IconWebComponent.d.ts +0 -13
- package/lib/cjs/core-react/utils/IconWebComponent.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/IconWebComponent.js +0 -117
- package/lib/cjs/core-react/utils/IconWebComponent.js.map +0 -1
- package/lib/cjs/core-react/utils/ListenerType.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/ListenerType.js +0 -3
- package/lib/cjs/core-react/utils/ListenerType.js.map +0 -1
- package/lib/cjs/core-react/utils/Point.d.ts +0 -38
- package/lib/cjs/core-react/utils/Point.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/Point.js +0 -74
- package/lib/cjs/core-react/utils/Point.js.map +0 -1
- package/lib/cjs/core-react/utils/PointProps.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/PointProps.js +0 -3
- package/lib/cjs/core-react/utils/PointProps.js.map +0 -1
- package/lib/cjs/core-react/utils/Props.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/Props.js +0 -10
- package/lib/cjs/core-react/utils/Props.js.map +0 -1
- package/lib/cjs/core-react/utils/Rectangle.d.ts +0 -147
- package/lib/cjs/core-react/utils/Rectangle.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/Rectangle.js +0 -279
- package/lib/cjs/core-react/utils/Rectangle.js.map +0 -1
- package/lib/cjs/core-react/utils/ScrollPositionMaintainer.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/ScrollPositionMaintainer.js +0 -40
- package/lib/cjs/core-react/utils/ScrollPositionMaintainer.js.map +0 -1
- package/lib/cjs/core-react/utils/Size.d.ts +0 -25
- package/lib/cjs/core-react/utils/Size.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/Size.js +0 -32
- package/lib/cjs/core-react/utils/Size.js.map +0 -1
- package/lib/cjs/core-react/utils/Timer.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/Timer.js +0 -67
- package/lib/cjs/core-react/utils/Timer.js.map +0 -1
- package/lib/cjs/core-react/utils/UiGeometry.d.ts +0 -21
- package/lib/cjs/core-react/utils/UiGeometry.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/UiGeometry.js +0 -33
- package/lib/cjs/core-react/utils/UiGeometry.js.map +0 -1
- package/lib/cjs/core-react/utils/flattenChildren.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/flattenChildren.js +0 -27
- package/lib/cjs/core-react/utils/flattenChildren.js.map +0 -1
- package/lib/cjs/core-react/utils/getBestBWContrastColor.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/getBestBWContrastColor.js +0 -23
- package/lib/cjs/core-react/utils/getBestBWContrastColor.js.map +0 -1
- package/lib/cjs/core-react/utils/getCssVariable.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/getCssVariable.js +0 -35
- package/lib/cjs/core-react/utils/getCssVariable.js.map +0 -1
- package/lib/cjs/core-react/utils/getDisplayName.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/getDisplayName.js +0 -22
- package/lib/cjs/core-react/utils/getDisplayName.js.map +0 -1
- package/lib/cjs/core-react/utils/getObjectClassName.d.ts +0 -9
- package/lib/cjs/core-react/utils/getObjectClassName.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/getObjectClassName.js +0 -23
- package/lib/cjs/core-react/utils/getObjectClassName.js.map +0 -1
- package/lib/cjs/core-react/utils/getUserColor.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/getUserColor.js +0 -40
- package/lib/cjs/core-react/utils/getUserColor.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/ResizeObserverPolyfill.d.ts +0 -8
- package/lib/cjs/core-react/utils/hooks/ResizeObserverPolyfill.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/ResizeObserverPolyfill.js +0 -22
- package/lib/cjs/core-react/utils/hooks/ResizeObserverPolyfill.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useCrossOriginPopup.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useCrossOriginPopup.js +0 -103
- package/lib/cjs/core-react/utils/hooks/useCrossOriginPopup.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useDisposable.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useDisposable.js +0 -57
- package/lib/cjs/core-react/utils/hooks/useDisposable.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useEffectSkipFirst.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useEffectSkipFirst.js +0 -28
- package/lib/cjs/core-react/utils/hooks/useEffectSkipFirst.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useEventListener.d.ts +0 -12
- package/lib/cjs/core-react/utils/hooks/useEventListener.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useEventListener.js +0 -43
- package/lib/cjs/core-react/utils/hooks/useEventListener.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useInterval.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useInterval.js +0 -40
- package/lib/cjs/core-react/utils/hooks/useInterval.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useLifecycleLogging.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useLifecycleLogging.js +0 -68
- package/lib/cjs/core-react/utils/hooks/useLifecycleLogging.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useOnOutsideClick.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useOnOutsideClick.js +0 -103
- package/lib/cjs/core-react/utils/hooks/useOnOutsideClick.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useProximityToMouse.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useProximityToMouse.js +0 -114
- package/lib/cjs/core-react/utils/hooks/useProximityToMouse.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useRefEffect.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useRefEffect.js +0 -24
- package/lib/cjs/core-react/utils/hooks/useRefEffect.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useRefState.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useRefState.js +0 -36
- package/lib/cjs/core-react/utils/hooks/useRefState.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useRefs.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useRefs.js +0 -54
- package/lib/cjs/core-react/utils/hooks/useRefs.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useResizeObserver.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useResizeObserver.js +0 -211
- package/lib/cjs/core-react/utils/hooks/useResizeObserver.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useTargeted.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useTargeted.js +0 -32
- package/lib/cjs/core-react/utils/hooks/useTargeted.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useThrottledFn.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useThrottledFn.js +0 -26
- package/lib/cjs/core-react/utils/hooks/useThrottledFn.js.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useWidgetOpacityContext.d.ts +0 -21
- package/lib/cjs/core-react/utils/hooks/useWidgetOpacityContext.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/hooks/useWidgetOpacityContext.js +0 -27
- package/lib/cjs/core-react/utils/hooks/useWidgetOpacityContext.js.map +0 -1
- package/lib/cjs/core-react/utils/isPromiseLike.d.ts +0 -8
- package/lib/cjs/core-react/utils/isPromiseLike.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/isPromiseLike.js +0 -20
- package/lib/cjs/core-react/utils/isPromiseLike.js.map +0 -1
- package/lib/cjs/core-react/utils/matches.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/matches.js +0 -7
- package/lib/cjs/core-react/utils/matches.js.map +0 -1
- package/lib/cjs/core-react/utils/reuseOrCreatePromise.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/reuseOrCreatePromise.js +0 -33
- package/lib/cjs/core-react/utils/reuseOrCreatePromise.js.map +0 -1
- package/lib/cjs/core-react/utils/shallowDiffers.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/shallowDiffers.js +0 -30
- package/lib/cjs/core-react/utils/shallowDiffers.js.map +0 -1
- package/lib/cjs/core-react/utils/typeUtils.d.ts.map +0 -1
- package/lib/cjs/core-react/utils/typeUtils.js +0 -10
- package/lib/cjs/core-react/utils/typeUtils.js.map +0 -1
- package/lib/cjs/core-react.d.ts +0 -242
- package/lib/cjs/core-react.d.ts.map +0 -1
- package/lib/cjs/core-react.js +0 -273
- package/lib/cjs/core-react.js.map +0 -1
- package/lib/esm/core-react/UiCore.d.ts +0 -38
- package/lib/esm/core-react/UiCore.d.ts.map +0 -1
- package/lib/esm/core-react/UiCore.js +0 -72
- package/lib/esm/core-react/UiCore.js.map +0 -1
- package/lib/esm/core-react/UiCore.json +0 -31
- package/lib/esm/core-react/_geometry.scss +0 -70
- package/lib/esm/core-react/_helpers.scss +0 -52
- package/lib/esm/core-react/_math.scss +0 -13
- package/lib/esm/core-react/_scrollbar.scss +0 -55
- package/lib/esm/core-react/_typography.scss +0 -44
- package/lib/esm/core-react/_z-index.scss +0 -47
- package/lib/esm/core-react/autosuggest/AutoSuggest.d.ts +0 -99
- package/lib/esm/core-react/autosuggest/AutoSuggest.d.ts.map +0 -1
- package/lib/esm/core-react/autosuggest/AutoSuggest.js +0 -170
- package/lib/esm/core-react/autosuggest/AutoSuggest.js.map +0 -1
- package/lib/esm/core-react/autosuggest/AutoSuggest.scss +0 -79
- package/lib/esm/core-react/badge/Badge.d.ts +0 -17
- package/lib/esm/core-react/badge/Badge.d.ts.map +0 -1
- package/lib/esm/core-react/badge/Badge.js +0 -25
- package/lib/esm/core-react/badge/Badge.js.map +0 -1
- package/lib/esm/core-react/badge/BadgeType.d.ts +0 -19
- package/lib/esm/core-react/badge/BadgeType.d.ts.map +0 -1
- package/lib/esm/core-react/badge/BadgeType.js +0 -14
- package/lib/esm/core-react/badge/BadgeType.js.map +0 -1
- package/lib/esm/core-react/badge/DeprecatedBadge.d.ts +0 -10
- package/lib/esm/core-react/badge/DeprecatedBadge.d.ts.map +0 -1
- package/lib/esm/core-react/badge/DeprecatedBadge.js.map +0 -1
- package/lib/esm/core-react/badge/DeprecatedBadge.scss +0 -11
- package/lib/esm/core-react/badge/NewBadge.d.ts +0 -10
- package/lib/esm/core-react/badge/NewBadge.d.ts.map +0 -1
- package/lib/esm/core-react/badge/NewBadge.js.map +0 -1
- package/lib/esm/core-react/badge/NewBadge.scss +0 -12
- package/lib/esm/core-react/badge/TechnicalPreviewBadge.d.ts +0 -10
- package/lib/esm/core-react/badge/TechnicalPreviewBadge.d.ts.map +0 -1
- package/lib/esm/core-react/badge/TechnicalPreviewBadge.js.map +0 -1
- package/lib/esm/core-react/badge/TechnicalPreviewBadge.scss +0 -11
- package/lib/esm/core-react/base/Centered.d.ts +0 -12
- package/lib/esm/core-react/base/Centered.d.ts.map +0 -1
- package/lib/esm/core-react/base/Centered.js +0 -20
- package/lib/esm/core-react/base/Centered.js.map +0 -1
- package/lib/esm/core-react/base/Div.d.ts +0 -19
- package/lib/esm/core-react/base/Div.d.ts.map +0 -1
- package/lib/esm/core-react/base/Div.js.map +0 -1
- package/lib/esm/core-react/base/DivWithOutsideClick.d.ts +0 -77
- package/lib/esm/core-react/base/DivWithOutsideClick.d.ts.map +0 -1
- package/lib/esm/core-react/base/DivWithOutsideClick.js +0 -17
- package/lib/esm/core-react/base/DivWithOutsideClick.js.map +0 -1
- package/lib/esm/core-react/base/FillCentered.d.ts +0 -12
- package/lib/esm/core-react/base/FillCentered.d.ts.map +0 -1
- package/lib/esm/core-react/base/FillCentered.js +0 -20
- package/lib/esm/core-react/base/FillCentered.js.map +0 -1
- package/lib/esm/core-react/base/FlexWrapContainer.d.ts +0 -13
- package/lib/esm/core-react/base/FlexWrapContainer.d.ts.map +0 -1
- package/lib/esm/core-react/base/FlexWrapContainer.js +0 -21
- package/lib/esm/core-react/base/FlexWrapContainer.js.map +0 -1
- package/lib/esm/core-react/base/Gap.d.ts +0 -18
- package/lib/esm/core-react/base/Gap.d.ts.map +0 -1
- package/lib/esm/core-react/base/Gap.js.map +0 -1
- package/lib/esm/core-react/base/PointerEvents.d.ts +0 -8
- package/lib/esm/core-react/base/PointerEvents.d.ts.map +0 -1
- package/lib/esm/core-react/base/PointerEvents.js.map +0 -1
- package/lib/esm/core-react/base/ScrollView.d.ts +0 -13
- package/lib/esm/core-react/base/ScrollView.d.ts.map +0 -1
- package/lib/esm/core-react/base/ScrollView.js +0 -21
- package/lib/esm/core-react/base/ScrollView.js.map +0 -1
- package/lib/esm/core-react/base/base.scss +0 -42
- package/lib/esm/core-react/base/classes.scss +0 -27
- package/lib/esm/core-react/base/index.scss +0 -5
- package/lib/esm/core-react/button/UnderlinedButton.d.ts +0 -27
- package/lib/esm/core-react/button/UnderlinedButton.d.ts.map +0 -1
- package/lib/esm/core-react/button/UnderlinedButton.js.map +0 -1
- package/lib/esm/core-react/button/UnderlinedButton.scss +0 -32
- package/lib/esm/core-react/checklistbox/CheckListBox.d.ts +0 -45
- package/lib/esm/core-react/checklistbox/CheckListBox.d.ts.map +0 -1
- package/lib/esm/core-react/checklistbox/CheckListBox.js.map +0 -1
- package/lib/esm/core-react/checklistbox/CheckListBox.scss +0 -22
- package/lib/esm/core-react/classes.scss +0 -10
- package/lib/esm/core-react/colorthemes.scss +0 -12
- package/lib/esm/core-react/colorvariables.scss +0 -139
- package/lib/esm/core-react/contextmenu/ContextMenu.d.ts +0 -91
- package/lib/esm/core-react/contextmenu/ContextMenu.d.ts.map +0 -1
- package/lib/esm/core-react/contextmenu/ContextMenu.js +0 -362
- package/lib/esm/core-react/contextmenu/ContextMenu.js.map +0 -1
- package/lib/esm/core-react/contextmenu/ContextMenu.scss +0 -231
- package/lib/esm/core-react/contextmenu/ContextMenuDirection.d.ts +0 -17
- package/lib/esm/core-react/contextmenu/ContextMenuDirection.d.ts.map +0 -1
- package/lib/esm/core-react/contextmenu/ContextMenuDirection.js.map +0 -1
- package/lib/esm/core-react/contextmenu/ContextMenuDivider.d.ts +0 -13
- package/lib/esm/core-react/contextmenu/ContextMenuDivider.d.ts.map +0 -1
- package/lib/esm/core-react/contextmenu/ContextMenuDivider.js.map +0 -1
- package/lib/esm/core-react/contextmenu/ContextMenuItem.d.ts +0 -65
- package/lib/esm/core-react/contextmenu/ContextMenuItem.d.ts.map +0 -1
- package/lib/esm/core-react/contextmenu/ContextMenuItem.js +0 -107
- package/lib/esm/core-react/contextmenu/ContextMenuItem.js.map +0 -1
- package/lib/esm/core-react/contextmenu/ContextSubMenu.d.ts +0 -51
- package/lib/esm/core-react/contextmenu/ContextSubMenu.d.ts.map +0 -1
- package/lib/esm/core-react/contextmenu/ContextSubMenu.js +0 -173
- package/lib/esm/core-react/contextmenu/ContextSubMenu.js.map +0 -1
- package/lib/esm/core-react/contextmenu/GlobalContextMenu.d.ts +0 -36
- package/lib/esm/core-react/contextmenu/GlobalContextMenu.d.ts.map +0 -1
- package/lib/esm/core-react/contextmenu/GlobalContextMenu.js +0 -59
- package/lib/esm/core-react/contextmenu/GlobalContextMenu.js.map +0 -1
- package/lib/esm/core-react/contextmenu/PopupContextMenu.d.ts +0 -57
- package/lib/esm/core-react/contextmenu/PopupContextMenu.d.ts.map +0 -1
- package/lib/esm/core-react/contextmenu/PopupContextMenu.js +0 -54
- package/lib/esm/core-react/contextmenu/PopupContextMenu.js.map +0 -1
- package/lib/esm/core-react/contextmenu/PopupContextMenu.scss +0 -8
- package/lib/esm/core-react/contextmenu/TildeFinder.d.ts +0 -19
- package/lib/esm/core-react/contextmenu/TildeFinder.d.ts.map +0 -1
- package/lib/esm/core-react/contextmenu/TildeFinder.js.map +0 -1
- package/lib/esm/core-react/dialog/Dialog.d.ts +0 -112
- package/lib/esm/core-react/dialog/Dialog.d.ts.map +0 -1
- package/lib/esm/core-react/dialog/Dialog.js +0 -205
- package/lib/esm/core-react/dialog/Dialog.js.map +0 -1
- package/lib/esm/core-react/dialog/Dialog.scss +0 -57
- package/lib/esm/core-react/dialog/GlobalDialog.d.ts +0 -32
- package/lib/esm/core-react/dialog/GlobalDialog.d.ts.map +0 -1
- package/lib/esm/core-react/dialog/GlobalDialog.js +0 -57
- package/lib/esm/core-react/dialog/GlobalDialog.js.map +0 -1
- package/lib/esm/core-react/elementseparator/ElementSeparator.d.ts +0 -44
- package/lib/esm/core-react/elementseparator/ElementSeparator.d.ts.map +0 -1
- package/lib/esm/core-react/elementseparator/ElementSeparator.js +0 -163
- package/lib/esm/core-react/elementseparator/ElementSeparator.js.map +0 -1
- package/lib/esm/core-react/elementseparator/ElementSeparator.scss +0 -96
- package/lib/esm/core-react/enums/Alignment.d.ts +0 -25
- package/lib/esm/core-react/enums/Alignment.d.ts.map +0 -1
- package/lib/esm/core-react/enums/Alignment.js.map +0 -1
- package/lib/esm/core-react/enums/CheckBoxState.d.ts +0 -23
- package/lib/esm/core-react/enums/CheckBoxState.d.ts.map +0 -1
- package/lib/esm/core-react/enums/CheckBoxState.js.map +0 -1
- package/lib/esm/core-react/enums/Orientation.d.ts +0 -13
- package/lib/esm/core-react/enums/Orientation.d.ts.map +0 -1
- package/lib/esm/core-react/enums/Orientation.js.map +0 -1
- package/lib/esm/core-react/enums/SortDirection.d.ts +0 -14
- package/lib/esm/core-react/enums/SortDirection.d.ts.map +0 -1
- package/lib/esm/core-react/enums/SortDirection.js.map +0 -1
- package/lib/esm/core-react/enums/TimeFormat.d.ts +0 -16
- package/lib/esm/core-react/enums/TimeFormat.d.ts.map +0 -1
- package/lib/esm/core-react/enums/TimeFormat.js.map +0 -1
- package/lib/esm/core-react/expandable/ExpandableList.d.ts +0 -37
- package/lib/esm/core-react/expandable/ExpandableList.d.ts.map +0 -1
- package/lib/esm/core-react/expandable/ExpandableList.js.map +0 -1
- package/lib/esm/core-react/focus/ItemKeyboardNavigator.d.ts +0 -53
- package/lib/esm/core-react/focus/ItemKeyboardNavigator.d.ts.map +0 -1
- package/lib/esm/core-react/focus/ItemKeyboardNavigator.js +0 -173
- package/lib/esm/core-react/focus/ItemKeyboardNavigator.js.map +0 -1
- package/lib/esm/core-react/focustrap/FocusTrap.d.ts +0 -29
- package/lib/esm/core-react/focustrap/FocusTrap.d.ts.map +0 -1
- package/lib/esm/core-react/focustrap/FocusTrap.js +0 -196
- package/lib/esm/core-react/focustrap/FocusTrap.js.map +0 -1
- package/lib/esm/core-react/hocs/withIsPressed.d.ts +0 -76
- package/lib/esm/core-react/hocs/withIsPressed.d.ts.map +0 -1
- package/lib/esm/core-react/hocs/withIsPressed.js.map +0 -1
- package/lib/esm/core-react/hocs/withOnOutsideClick.d.ts +0 -100
- package/lib/esm/core-react/hocs/withOnOutsideClick.d.ts.map +0 -1
- package/lib/esm/core-react/hocs/withOnOutsideClick.js.map +0 -1
- package/lib/esm/core-react/hocs/withTimeout.d.ts +0 -73
- package/lib/esm/core-react/hocs/withTimeout.d.ts.map +0 -1
- package/lib/esm/core-react/hocs/withTimeout.js +0 -44
- package/lib/esm/core-react/hocs/withTimeout.js.map +0 -1
- package/lib/esm/core-react/icons/ConditionalIconItem.d.ts +0 -28
- package/lib/esm/core-react/icons/ConditionalIconItem.d.ts.map +0 -1
- package/lib/esm/core-react/icons/ConditionalIconItem.js.map +0 -1
- package/lib/esm/core-react/icons/IconComponent.d.ts +0 -34
- package/lib/esm/core-react/icons/IconComponent.d.ts.map +0 -1
- package/lib/esm/core-react/icons/IconComponent.js +0 -77
- package/lib/esm/core-react/icons/IconComponent.js.map +0 -1
- package/lib/esm/core-react/icons/IconComponent.scss +0 -19
- package/lib/esm/core-react/icons/SvgPath.d.ts +0 -26
- package/lib/esm/core-react/icons/SvgPath.d.ts.map +0 -1
- package/lib/esm/core-react/icons/SvgPath.js.map +0 -1
- package/lib/esm/core-react/icons/SvgPath.scss +0 -15
- package/lib/esm/core-react/icons/WebFontIcon.d.ts +0 -28
- package/lib/esm/core-react/icons/WebFontIcon.d.ts.map +0 -1
- package/lib/esm/core-react/icons/WebFontIcon.js.map +0 -1
- package/lib/esm/core-react/icons/WebFontIcon.scss +0 -17
- package/lib/esm/core-react/icons/classes.scss +0 -18
- package/lib/esm/core-react/icons/index.scss +0 -6
- package/lib/esm/core-react/icons/mixins.scss +0 -25
- package/lib/esm/core-react/icons/variables.scss +0 -12
- package/lib/esm/core-react/imagecheckbox/ImageCheckBox.d.ts +0 -43
- package/lib/esm/core-react/imagecheckbox/ImageCheckBox.d.ts.map +0 -1
- package/lib/esm/core-react/imagecheckbox/ImageCheckBox.js +0 -49
- package/lib/esm/core-react/imagecheckbox/ImageCheckBox.js.map +0 -1
- package/lib/esm/core-react/imagecheckbox/ImageCheckBox.scss +0 -54
- package/lib/esm/core-react/index.scss +0 -20
- package/lib/esm/core-react/inputs/Input.d.ts +0 -21
- package/lib/esm/core-react/inputs/Input.d.ts.map +0 -1
- package/lib/esm/core-react/inputs/Input.js +0 -42
- package/lib/esm/core-react/inputs/Input.js.map +0 -1
- package/lib/esm/core-react/inputs/InputLabel.d.ts +0 -23
- package/lib/esm/core-react/inputs/InputLabel.d.ts.map +0 -1
- package/lib/esm/core-react/inputs/InputLabel.js +0 -33
- package/lib/esm/core-react/inputs/InputLabel.js.map +0 -1
- package/lib/esm/core-react/inputs/InputStatus.d.ts +0 -13
- package/lib/esm/core-react/inputs/InputStatus.d.ts.map +0 -1
- package/lib/esm/core-react/inputs/InputStatus.js.map +0 -1
- package/lib/esm/core-react/inputs/LabeledComponentProps.d.ts +0 -36
- package/lib/esm/core-react/inputs/LabeledComponentProps.d.ts.map +0 -1
- package/lib/esm/core-react/inputs/LabeledComponentProps.js.map +0 -1
- package/lib/esm/core-react/inputs/classes.scss +0 -12
- package/lib/esm/core-react/inputs/iconinput/IconInput.d.ts +0 -26
- package/lib/esm/core-react/inputs/iconinput/IconInput.d.ts.map +0 -1
- package/lib/esm/core-react/inputs/iconinput/IconInput.js +0 -29
- package/lib/esm/core-react/inputs/iconinput/IconInput.js.map +0 -1
- package/lib/esm/core-react/inputs/iconinput/IconInput.scss +0 -34
- package/lib/esm/core-react/inputs/index.scss +0 -9
- package/lib/esm/core-react/inputs/input-label.scss +0 -89
- package/lib/esm/core-react/inputs/input.scss +0 -54
- package/lib/esm/core-react/inputs/numberinput/NumberInput.d.ts +0 -56
- package/lib/esm/core-react/inputs/numberinput/NumberInput.d.ts.map +0 -1
- package/lib/esm/core-react/inputs/numberinput/NumberInput.js +0 -160
- package/lib/esm/core-react/inputs/numberinput/NumberInput.js.map +0 -1
- package/lib/esm/core-react/inputs/numberinput/NumberInput.scss +0 -88
- package/lib/esm/core-react/inputs/variables.scss +0 -36
- package/lib/esm/core-react/l10n/LocalizationProvider.d.ts +0 -21
- package/lib/esm/core-react/l10n/LocalizationProvider.d.ts.map +0 -1
- package/lib/esm/core-react/l10n/LocalizationProvider.js.map +0 -1
- package/lib/esm/core-react/l10n/usePackageTranslation.d.ts +0 -15
- package/lib/esm/core-react/l10n/usePackageTranslation.d.ts.map +0 -1
- package/lib/esm/core-react/l10n/usePackageTranslation.js +0 -60
- package/lib/esm/core-react/l10n/usePackageTranslation.js.map +0 -1
- package/lib/esm/core-react/l10n/useTranslation.d.ts +0 -7
- package/lib/esm/core-react/l10n/useTranslation.d.ts.map +0 -1
- package/lib/esm/core-react/l10n/useTranslation.js +0 -26
- package/lib/esm/core-react/l10n/useTranslation.js.map +0 -1
- package/lib/esm/core-react/layout-variables.scss +0 -15
- package/lib/esm/core-react/listbox/Listbox.d.ts +0 -59
- package/lib/esm/core-react/listbox/Listbox.d.ts.map +0 -1
- package/lib/esm/core-react/listbox/Listbox.js.map +0 -1
- package/lib/esm/core-react/listbox/Listbox.scss +0 -54
- package/lib/esm/core-react/loading/LoadingBar.d.ts +0 -31
- package/lib/esm/core-react/loading/LoadingBar.d.ts.map +0 -1
- package/lib/esm/core-react/loading/LoadingBar.js.map +0 -1
- package/lib/esm/core-react/loading/LoadingBar.scss +0 -29
- package/lib/esm/core-react/loading/LoadingPrompt.d.ts +0 -41
- package/lib/esm/core-react/loading/LoadingPrompt.d.ts.map +0 -1
- package/lib/esm/core-react/loading/LoadingPrompt.js +0 -41
- package/lib/esm/core-react/loading/LoadingPrompt.js.map +0 -1
- package/lib/esm/core-react/loading/LoadingPrompt.scss +0 -33
- package/lib/esm/core-react/loading/LoadingSpinner.d.ts +0 -37
- package/lib/esm/core-react/loading/LoadingSpinner.d.ts.map +0 -1
- package/lib/esm/core-react/loading/LoadingSpinner.js.map +0 -1
- package/lib/esm/core-react/loading/LoadingSpinner.scss +0 -26
- package/lib/esm/core-react/loading/LoadingStatus.d.ts +0 -26
- package/lib/esm/core-react/loading/LoadingStatus.d.ts.map +0 -1
- package/lib/esm/core-react/loading/LoadingStatus.js.map +0 -1
- package/lib/esm/core-react/loading/LoadingStatus.scss +0 -20
- package/lib/esm/core-react/loading/index.scss +0 -5
- package/lib/esm/core-react/loading/mixins.scss +0 -57
- package/lib/esm/core-react/messagebox/MessageBox.d.ts +0 -90
- package/lib/esm/core-react/messagebox/MessageBox.d.ts.map +0 -1
- package/lib/esm/core-react/messagebox/MessageBox.js +0 -105
- package/lib/esm/core-react/messagebox/MessageBox.js.map +0 -1
- package/lib/esm/core-react/messagebox/MessageBox.scss +0 -56
- package/lib/esm/core-react/notification/MessageRenderer.d.ts +0 -22
- package/lib/esm/core-react/notification/MessageRenderer.d.ts.map +0 -1
- package/lib/esm/core-react/notification/MessageRenderer.js +0 -83
- package/lib/esm/core-react/notification/MessageRenderer.js.map +0 -1
- package/lib/esm/core-react/notification/MessageType.d.ts +0 -25
- package/lib/esm/core-react/notification/MessageType.d.ts.map +0 -1
- package/lib/esm/core-react/notification/MessageType.js.map +0 -1
- package/lib/esm/core-react/popup/Popup.d.ts +0 -128
- package/lib/esm/core-react/popup/Popup.d.ts.map +0 -1
- package/lib/esm/core-react/popup/Popup.js +0 -466
- package/lib/esm/core-react/popup/Popup.js.map +0 -1
- package/lib/esm/core-react/popup/Popup.scss +0 -240
- package/lib/esm/core-react/radialmenu/Annulus.d.ts +0 -54
- package/lib/esm/core-react/radialmenu/Annulus.d.ts.map +0 -1
- package/lib/esm/core-react/radialmenu/Annulus.js +0 -75
- package/lib/esm/core-react/radialmenu/Annulus.js.map +0 -1
- package/lib/esm/core-react/radialmenu/RadialMenu.d.ts +0 -96
- package/lib/esm/core-react/radialmenu/RadialMenu.d.ts.map +0 -1
- package/lib/esm/core-react/radialmenu/RadialMenu.js +0 -183
- package/lib/esm/core-react/radialmenu/RadialMenu.js.map +0 -1
- package/lib/esm/core-react/radialmenu/RadialMenu.scss +0 -56
- package/lib/esm/core-react/searchbox/SearchBox.d.ts +0 -51
- package/lib/esm/core-react/searchbox/SearchBox.d.ts.map +0 -1
- package/lib/esm/core-react/searchbox/SearchBox.js +0 -115
- package/lib/esm/core-react/searchbox/SearchBox.js.map +0 -1
- package/lib/esm/core-react/searchbox/SearchBox.scss +0 -47
- package/lib/esm/core-react/settings/SettingsContainer.d.ts +0 -35
- package/lib/esm/core-react/settings/SettingsContainer.d.ts.map +0 -1
- package/lib/esm/core-react/settings/SettingsContainer.js +0 -149
- package/lib/esm/core-react/settings/SettingsContainer.js.map +0 -1
- package/lib/esm/core-react/settings/SettingsContainer.scss +0 -68
- package/lib/esm/core-react/settings/SettingsManager.d.ts +0 -137
- package/lib/esm/core-react/settings/SettingsManager.d.ts.map +0 -1
- package/lib/esm/core-react/settings/SettingsManager.js +0 -112
- package/lib/esm/core-react/settings/SettingsManager.js.map +0 -1
- package/lib/esm/core-react/style/baseline.scss +0 -11
- package/lib/esm/core-react/style/breakpoints.scss +0 -59
- package/lib/esm/core-react/style/colors.scss +0 -77
- package/lib/esm/core-react/style/index.scss +0 -10
- package/lib/esm/core-react/style/mixins.scss +0 -23
- package/lib/esm/core-react/style/opacity.scss +0 -16
- package/lib/esm/core-react/style/themecolors.scss +0 -133
- package/lib/esm/core-react/tabs/Tabs.d.ts +0 -69
- package/lib/esm/core-react/tabs/Tabs.d.ts.map +0 -1
- package/lib/esm/core-react/tabs/Tabs.js +0 -117
- package/lib/esm/core-react/tabs/Tabs.js.map +0 -1
- package/lib/esm/core-react/tabs/VerticalTabs.d.ts +0 -11
- package/lib/esm/core-react/tabs/VerticalTabs.d.ts.map +0 -1
- package/lib/esm/core-react/tabs/VerticalTabs.js +0 -19
- package/lib/esm/core-react/tabs/VerticalTabs.js.map +0 -1
- package/lib/esm/core-react/tabs/classes.scss +0 -9
- package/lib/esm/core-react/tabs/index.scss +0 -5
- package/lib/esm/core-react/tabs/tabs.scss +0 -96
- package/lib/esm/core-react/tabs/vertical.scss +0 -51
- package/lib/esm/core-react/text/BlockText.d.ts +0 -11
- package/lib/esm/core-react/text/BlockText.d.ts.map +0 -1
- package/lib/esm/core-react/text/BlockText.js +0 -19
- package/lib/esm/core-react/text/BlockText.js.map +0 -1
- package/lib/esm/core-react/text/BodyText.d.ts +0 -11
- package/lib/esm/core-react/text/BodyText.d.ts.map +0 -1
- package/lib/esm/core-react/text/BodyText.js +0 -19
- package/lib/esm/core-react/text/BodyText.js.map +0 -1
- package/lib/esm/core-react/text/DisabledText.d.ts +0 -11
- package/lib/esm/core-react/text/DisabledText.d.ts.map +0 -1
- package/lib/esm/core-react/text/DisabledText.js +0 -18
- package/lib/esm/core-react/text/DisabledText.js.map +0 -1
- package/lib/esm/core-react/text/FilteredText.d.ts +0 -27
- package/lib/esm/core-react/text/FilteredText.d.ts.map +0 -1
- package/lib/esm/core-react/text/FilteredText.js.map +0 -1
- package/lib/esm/core-react/text/FilteredText.scss +0 -10
- package/lib/esm/core-react/text/MutedText.d.ts +0 -11
- package/lib/esm/core-react/text/MutedText.d.ts.map +0 -1
- package/lib/esm/core-react/text/MutedText.js +0 -19
- package/lib/esm/core-react/text/MutedText.js.map +0 -1
- package/lib/esm/core-react/text/StyledText.d.ts +0 -19
- package/lib/esm/core-react/text/StyledText.d.ts.map +0 -1
- package/lib/esm/core-react/text/StyledText.js.map +0 -1
- package/lib/esm/core-react/text/TextProps.d.ts +0 -12
- package/lib/esm/core-react/text/TextProps.d.ts.map +0 -1
- package/lib/esm/core-react/text/TextProps.js.map +0 -1
- package/lib/esm/core-react/text/block.scss +0 -15
- package/lib/esm/core-react/text/body.scss +0 -13
- package/lib/esm/core-react/text/classes.scss +0 -18
- package/lib/esm/core-react/text/disabled.scss +0 -9
- package/lib/esm/core-react/text/index.scss +0 -10
- package/lib/esm/core-react/text/mixins.scss +0 -24
- package/lib/esm/core-react/text/muted.scss +0 -9
- package/lib/esm/core-react/tree/Branch.d.ts +0 -22
- package/lib/esm/core-react/tree/Branch.d.ts.map +0 -1
- package/lib/esm/core-react/tree/Branch.js.map +0 -1
- package/lib/esm/core-react/tree/Branch.scss +0 -13
- package/lib/esm/core-react/tree/ExpansionToggle.d.ts +0 -21
- package/lib/esm/core-react/tree/ExpansionToggle.d.ts.map +0 -1
- package/lib/esm/core-react/tree/ExpansionToggle.js +0 -27
- package/lib/esm/core-react/tree/ExpansionToggle.js.map +0 -1
- package/lib/esm/core-react/tree/ExpansionToggle.scss +0 -32
- package/lib/esm/core-react/tree/Node.d.ts +0 -84
- package/lib/esm/core-react/tree/Node.d.ts.map +0 -1
- package/lib/esm/core-react/tree/Node.js +0 -88
- package/lib/esm/core-react/tree/Node.js.map +0 -1
- package/lib/esm/core-react/tree/Node.scss +0 -68
- package/lib/esm/core-react/tree/Placeholder.d.ts +0 -25
- package/lib/esm/core-react/tree/Placeholder.d.ts.map +0 -1
- package/lib/esm/core-react/tree/Placeholder.js +0 -30
- package/lib/esm/core-react/tree/Placeholder.js.map +0 -1
- package/lib/esm/core-react/tree/Placeholder.scss +0 -17
- package/lib/esm/core-react/tree/Tree.d.ts +0 -31
- package/lib/esm/core-react/tree/Tree.d.ts.map +0 -1
- package/lib/esm/core-react/tree/Tree.js +0 -105
- package/lib/esm/core-react/tree/Tree.js.map +0 -1
- package/lib/esm/core-react/tree/Tree.scss +0 -22
- package/lib/esm/core-react/uistate/LocalStateStorage.d.ts +0 -17
- package/lib/esm/core-react/uistate/LocalStateStorage.d.ts.map +0 -1
- package/lib/esm/core-react/uistate/LocalStateStorage.js +0 -48
- package/lib/esm/core-react/uistate/LocalStateStorage.js.map +0 -1
- package/lib/esm/core-react/uistate/UiStateEntry.d.ts +0 -32
- package/lib/esm/core-react/uistate/UiStateEntry.d.ts.map +0 -1
- package/lib/esm/core-react/uistate/UiStateEntry.js +0 -58
- package/lib/esm/core-react/uistate/UiStateEntry.js.map +0 -1
- package/lib/esm/core-react/uistate/UiStateStorage.d.ts +0 -32
- package/lib/esm/core-react/uistate/UiStateStorage.d.ts.map +0 -1
- package/lib/esm/core-react/uistate/UiStateStorage.js.map +0 -1
- package/lib/esm/core-react/utils/IconHelper.d.ts +0 -27
- package/lib/esm/core-react/utils/IconHelper.d.ts.map +0 -1
- package/lib/esm/core-react/utils/IconHelper.js +0 -82
- package/lib/esm/core-react/utils/IconHelper.js.map +0 -1
- package/lib/esm/core-react/utils/IconWebComponent.d.ts +0 -13
- package/lib/esm/core-react/utils/IconWebComponent.d.ts.map +0 -1
- package/lib/esm/core-react/utils/IconWebComponent.js +0 -112
- package/lib/esm/core-react/utils/IconWebComponent.js.map +0 -1
- package/lib/esm/core-react/utils/ListenerType.d.ts +0 -15
- package/lib/esm/core-react/utils/ListenerType.d.ts.map +0 -1
- package/lib/esm/core-react/utils/ListenerType.js.map +0 -1
- package/lib/esm/core-react/utils/Point.d.ts +0 -38
- package/lib/esm/core-react/utils/Point.d.ts.map +0 -1
- package/lib/esm/core-react/utils/Point.js +0 -70
- package/lib/esm/core-react/utils/Point.js.map +0 -1
- package/lib/esm/core-react/utils/PointProps.d.ts +0 -9
- package/lib/esm/core-react/utils/PointProps.d.ts.map +0 -1
- package/lib/esm/core-react/utils/PointProps.js.map +0 -1
- package/lib/esm/core-react/utils/Props.d.ts +0 -43
- package/lib/esm/core-react/utils/Props.d.ts.map +0 -1
- package/lib/esm/core-react/utils/Props.js.map +0 -1
- package/lib/esm/core-react/utils/Rectangle.d.ts +0 -147
- package/lib/esm/core-react/utils/Rectangle.d.ts.map +0 -1
- package/lib/esm/core-react/utils/Rectangle.js +0 -275
- package/lib/esm/core-react/utils/Rectangle.js.map +0 -1
- package/lib/esm/core-react/utils/ScrollPositionMaintainer.d.ts +0 -25
- package/lib/esm/core-react/utils/ScrollPositionMaintainer.d.ts.map +0 -1
- package/lib/esm/core-react/utils/ScrollPositionMaintainer.js.map +0 -1
- package/lib/esm/core-react/utils/Size.d.ts +0 -25
- package/lib/esm/core-react/utils/Size.d.ts.map +0 -1
- package/lib/esm/core-react/utils/Size.js +0 -28
- package/lib/esm/core-react/utils/Size.js.map +0 -1
- package/lib/esm/core-react/utils/Timer.d.ts +0 -38
- package/lib/esm/core-react/utils/Timer.d.ts.map +0 -1
- package/lib/esm/core-react/utils/Timer.js.map +0 -1
- package/lib/esm/core-react/utils/UiGeometry.d.ts +0 -21
- package/lib/esm/core-react/utils/UiGeometry.d.ts.map +0 -1
- package/lib/esm/core-react/utils/UiGeometry.js +0 -29
- package/lib/esm/core-react/utils/UiGeometry.js.map +0 -1
- package/lib/esm/core-react/utils/flattenChildren.d.ts +0 -9
- package/lib/esm/core-react/utils/flattenChildren.d.ts.map +0 -1
- package/lib/esm/core-react/utils/flattenChildren.js.map +0 -1
- package/lib/esm/core-react/utils/getBestBWContrastColor.d.ts +0 -8
- package/lib/esm/core-react/utils/getBestBWContrastColor.d.ts.map +0 -1
- package/lib/esm/core-react/utils/getBestBWContrastColor.js.map +0 -1
- package/lib/esm/core-react/utils/getCssVariable.d.ts +0 -14
- package/lib/esm/core-react/utils/getCssVariable.d.ts.map +0 -1
- package/lib/esm/core-react/utils/getCssVariable.js.map +0 -1
- package/lib/esm/core-react/utils/getDisplayName.d.ts +0 -9
- package/lib/esm/core-react/utils/getDisplayName.d.ts.map +0 -1
- package/lib/esm/core-react/utils/getDisplayName.js.map +0 -1
- package/lib/esm/core-react/utils/getObjectClassName.d.ts +0 -9
- package/lib/esm/core-react/utils/getObjectClassName.d.ts.map +0 -1
- package/lib/esm/core-react/utils/getObjectClassName.js +0 -19
- package/lib/esm/core-react/utils/getObjectClassName.js.map +0 -1
- package/lib/esm/core-react/utils/getUserColor.d.ts +0 -8
- package/lib/esm/core-react/utils/getUserColor.d.ts.map +0 -1
- package/lib/esm/core-react/utils/getUserColor.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/ResizeObserverPolyfill.d.ts +0 -8
- package/lib/esm/core-react/utils/hooks/ResizeObserverPolyfill.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/ResizeObserverPolyfill.js +0 -18
- package/lib/esm/core-react/utils/hooks/ResizeObserverPolyfill.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useCrossOriginPopup.d.ts +0 -9
- package/lib/esm/core-react/utils/hooks/useCrossOriginPopup.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useCrossOriginPopup.js +0 -99
- package/lib/esm/core-react/utils/hooks/useCrossOriginPopup.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useDisposable.d.ts +0 -21
- package/lib/esm/core-react/utils/hooks/useDisposable.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useDisposable.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useEffectSkipFirst.d.ts +0 -10
- package/lib/esm/core-react/utils/hooks/useEffectSkipFirst.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useEffectSkipFirst.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useEventListener.d.ts +0 -12
- package/lib/esm/core-react/utils/hooks/useEventListener.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useEventListener.js +0 -39
- package/lib/esm/core-react/utils/hooks/useEventListener.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useInterval.d.ts +0 -7
- package/lib/esm/core-react/utils/hooks/useInterval.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useInterval.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useLifecycleLogging.d.ts +0 -6
- package/lib/esm/core-react/utils/hooks/useLifecycleLogging.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useLifecycleLogging.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useOnOutsideClick.d.ts +0 -17
- package/lib/esm/core-react/utils/hooks/useOnOutsideClick.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useOnOutsideClick.js +0 -99
- package/lib/esm/core-react/utils/hooks/useOnOutsideClick.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useProximityToMouse.d.ts +0 -56
- package/lib/esm/core-react/utils/hooks/useProximityToMouse.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useProximityToMouse.js +0 -102
- package/lib/esm/core-react/utils/hooks/useProximityToMouse.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useRefEffect.d.ts +0 -8
- package/lib/esm/core-react/utils/hooks/useRefEffect.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useRefEffect.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useRefState.d.ts +0 -22
- package/lib/esm/core-react/utils/hooks/useRefState.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useRefState.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useRefs.d.ts +0 -13
- package/lib/esm/core-react/utils/hooks/useRefs.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useRefs.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useResizeObserver.d.ts +0 -43
- package/lib/esm/core-react/utils/hooks/useResizeObserver.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useResizeObserver.js +0 -204
- package/lib/esm/core-react/utils/hooks/useResizeObserver.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useTargeted.d.ts +0 -9
- package/lib/esm/core-react/utils/hooks/useTargeted.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useTargeted.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useThrottledFn.d.ts +0 -16
- package/lib/esm/core-react/utils/hooks/useThrottledFn.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useThrottledFn.js.map +0 -1
- package/lib/esm/core-react/utils/hooks/useWidgetOpacityContext.d.ts +0 -21
- package/lib/esm/core-react/utils/hooks/useWidgetOpacityContext.d.ts.map +0 -1
- package/lib/esm/core-react/utils/hooks/useWidgetOpacityContext.js +0 -23
- package/lib/esm/core-react/utils/hooks/useWidgetOpacityContext.js.map +0 -1
- package/lib/esm/core-react/utils/isPromiseLike.d.ts +0 -8
- package/lib/esm/core-react/utils/isPromiseLike.d.ts.map +0 -1
- package/lib/esm/core-react/utils/isPromiseLike.js +0 -16
- package/lib/esm/core-react/utils/isPromiseLike.js.map +0 -1
- package/lib/esm/core-react/utils/matches.d.ts +0 -11
- package/lib/esm/core-react/utils/matches.d.ts.map +0 -1
- package/lib/esm/core-react/utils/matches.js.map +0 -1
- package/lib/esm/core-react/utils/reuseOrCreatePromise.d.ts +0 -14
- package/lib/esm/core-react/utils/reuseOrCreatePromise.d.ts.map +0 -1
- package/lib/esm/core-react/utils/reuseOrCreatePromise.js.map +0 -1
- package/lib/esm/core-react/utils/shallowDiffers.d.ts +0 -12
- package/lib/esm/core-react/utils/shallowDiffers.d.ts.map +0 -1
- package/lib/esm/core-react/utils/shallowDiffers.js.map +0 -1
- package/lib/esm/core-react/utils/typeUtils.d.ts +0 -9
- package/lib/esm/core-react/utils/typeUtils.d.ts.map +0 -1
- package/lib/esm/core-react/utils/typeUtils.js.map +0 -1
- package/lib/esm/core-react.d.ts +0 -242
- package/lib/esm/core-react.d.ts.map +0 -1
- package/lib/esm/core-react.js +0 -249
- package/lib/esm/core-react.js.map +0 -1
- /package/lib/{cjs/core-react → core-react}/UiCore.json +0 -0
- /package/lib/{cjs/core-react → core-react}/_geometry.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/_math.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/badge/DeprecatedBadge.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/badge/DeprecatedBadge.js +0 -0
- /package/lib/{cjs/core-react → core-react}/badge/DeprecatedBadge.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/badge/NewBadge.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/badge/NewBadge.js +0 -0
- /package/lib/{cjs/core-react → core-react}/badge/NewBadge.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/badge/TechnicalPreviewBadge.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/badge/TechnicalPreviewBadge.js +0 -0
- /package/lib/{cjs/core-react → core-react}/badge/TechnicalPreviewBadge.scss +0 -0
- /package/lib/{esm/core-react → core-react}/base/Div.js +0 -0
- /package/lib/{esm/core-react → core-react}/base/Gap.js +0 -0
- /package/lib/{cjs/core-react → core-react}/base/PointerEvents.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/base/PointerEvents.js +0 -0
- /package/lib/{cjs/core-react → core-react}/button/UnderlinedButton.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/button/UnderlinedButton.js +0 -0
- /package/lib/{esm/core-react → core-react}/checklistbox/CheckListBox.js +0 -0
- /package/lib/{cjs/core-react → core-react}/checklistbox/CheckListBox.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/colorthemes.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/colorvariables.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/contextmenu/ContextMenuDirection.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/contextmenu/ContextMenuDirection.js +0 -0
- /package/lib/{esm/core-react → core-react}/contextmenu/ContextMenuDivider.js +0 -0
- /package/lib/{cjs/core-react → core-react}/contextmenu/PopupContextMenu.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/contextmenu/TildeFinder.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/contextmenu/TildeFinder.js +0 -0
- /package/lib/{cjs/core-react → core-react}/enums/Alignment.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/enums/Alignment.js +0 -0
- /package/lib/{cjs/core-react → core-react}/enums/CheckBoxState.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/enums/CheckBoxState.js +0 -0
- /package/lib/{cjs/core-react → core-react}/enums/Orientation.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/enums/Orientation.js +0 -0
- /package/lib/{cjs/core-react → core-react}/enums/SortDirection.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/enums/SortDirection.js +0 -0
- /package/lib/{cjs/core-react → core-react}/enums/TimeFormat.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/enums/TimeFormat.js +0 -0
- /package/lib/{esm/core-react → core-react}/expandable/ExpandableList.js +0 -0
- /package/lib/{cjs/core-react → core-react}/focustrap/FocusTrap.d.ts +0 -0
- /package/lib/{cjs/core-react → core-react}/hocs/withIsPressed.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/hocs/withIsPressed.js +0 -0
- /package/lib/{cjs/core-react → core-react}/hocs/withOnOutsideClick.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/hocs/withOnOutsideClick.js +0 -0
- /package/lib/{esm/core-react → core-react}/icons/ConditionalIconItem.js +0 -0
- /package/lib/{esm/core-react → core-react}/icons/SvgPath.js +0 -0
- /package/lib/{cjs/core-react → core-react}/icons/SvgPath.scss +0 -0
- /package/lib/{esm/core-react → core-react}/icons/WebFontIcon.js +0 -0
- /package/lib/{cjs/core-react → core-react}/icons/variables.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/inputs/InputStatus.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/inputs/InputStatus.js +0 -0
- /package/lib/{esm/core-react → core-react}/inputs/LabeledComponentProps.js +0 -0
- /package/lib/{cjs/core-react → core-react}/inputs/numberinput/NumberInput.d.ts +0 -0
- /package/lib/{cjs/core-react → core-react}/l10n/LocalizationProvider.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/l10n/LocalizationProvider.js +0 -0
- /package/lib/{cjs/core-react → core-react}/l10n/usePackageTranslation.d.ts +0 -0
- /package/lib/{cjs/core-react → core-react}/l10n/useTranslation.d.ts +0 -0
- /package/lib/{cjs/core-react → core-react}/listbox/Listbox.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/listbox/Listbox.js +0 -0
- /package/lib/{esm/core-react → core-react}/loading/LoadingBar.js +0 -0
- /package/lib/{cjs/core-react → core-react}/loading/LoadingSpinner.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/loading/LoadingSpinner.js +0 -0
- /package/lib/{esm/core-react → core-react}/loading/LoadingStatus.js +0 -0
- /package/lib/{cjs/core-react → core-react}/loading/LoadingStatus.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/notification/MessageType.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/notification/MessageType.js +0 -0
- /package/lib/{cjs/core-react → core-react}/settings/SettingsManager.d.ts +0 -0
- /package/lib/{cjs/core-react → core-react}/style/baseline.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/style/breakpoints.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/style/colors.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/style/mixins.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/style/opacity.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/style/themecolors.scss +0 -0
- /package/lib/{esm/core-react → core-react}/text/FilteredText.js +0 -0
- /package/lib/{esm/core-react → core-react}/text/StyledText.js +0 -0
- /package/lib/{esm/core-react → core-react}/text/TextProps.js +0 -0
- /package/lib/{cjs/core-react → core-react}/text/block.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/text/body.scss +0 -0
- /package/lib/{esm/core-react → core-react}/tree/Branch.js +0 -0
- /package/lib/{cjs/core-react → core-react}/tree/Branch.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/tree/ExpansionToggle.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/tree/Node.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/tree/Placeholder.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/tree/Tree.scss +0 -0
- /package/lib/{cjs/core-react → core-react}/uistate/UiStateStorage.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/uistate/UiStateStorage.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/ListenerType.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/ListenerType.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/PointProps.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/PointProps.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/Props.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/Props.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/ScrollPositionMaintainer.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/ScrollPositionMaintainer.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/Timer.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/Timer.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/flattenChildren.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/flattenChildren.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/getBestBWContrastColor.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/getBestBWContrastColor.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/getCssVariable.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/getCssVariable.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/getDisplayName.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/getDisplayName.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/getUserColor.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/getUserColor.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/hooks/useCrossOriginPopup.d.ts +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/hooks/useDisposable.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/hooks/useDisposable.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/hooks/useEffectSkipFirst.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/hooks/useEffectSkipFirst.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/hooks/useInterval.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/hooks/useInterval.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/hooks/useLifecycleLogging.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/hooks/useLifecycleLogging.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/hooks/useOnOutsideClick.d.ts +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/hooks/useProximityToMouse.d.ts +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/hooks/useRefEffect.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/hooks/useRefEffect.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/hooks/useRefState.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/hooks/useRefState.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/hooks/useRefs.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/hooks/useRefs.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/hooks/useResizeObserver.d.ts +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/hooks/useTargeted.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/hooks/useTargeted.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/hooks/useThrottledFn.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/hooks/useThrottledFn.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/matches.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/matches.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/reuseOrCreatePromise.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/reuseOrCreatePromise.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/shallowDiffers.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/shallowDiffers.js +0 -0
- /package/lib/{cjs/core-react → core-react}/utils/typeUtils.d.ts +0 -0
- /package/lib/{esm/core-react → core-react}/utils/typeUtils.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NumberInput.js","sourceRoot":"","sources":["../../../../../src/core-react/inputs/numberinput/NumberInput.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,oBAAoB,CAAC;AAC5B,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AACjD,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACV,eAAe,GAChB,MAAM,4BAA4B,CAAC;AAqDpC,MAAM,qBAAqB,GAAG,KAAK,CAAC,UAAU,CAG5C,SAAS,qBAAqB,CAAC,KAAK,EAAE,GAAG;IACzC,MAAM,EACJ,kBAAkB,EAClB,SAAS,EACT,KAAK,EACL,GAAG,EACH,GAAG,EACH,SAAS,EACT,MAAM,EACN,KAAK,EACL,QAAQ,EACR,MAAM,EACN,SAAS,EACT,IAAI,EACJ,IAAI,EACJ,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,GAAG,UAAU,EACd,GAAG,KAAK,CAAC;IACV,MAAM,eAAe,GAA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,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GACtB,qBAAqB,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 Inputs\n */\n\nimport \"./NumberInput.scss\";\nimport classnames from \"classnames\";\nimport * as React from \"react\";\nimport { Key } from \"ts-key-enum\";\nimport { Input } from \"@itwin/itwinui-react\";\nimport { Icon } from \"../../icons/IconComponent\";\nimport {\n SvgCaretDown,\n SvgCaretDownSmall,\n SvgCaretUp,\n SvgCaretUpSmall,\n} from \"@itwin/itwinui-icons-react\";\n\n/* eslint-disable deprecation/deprecation */\n\ntype InputProps = React.ComponentPropsWithoutRef<typeof Input>;\n\n/** Step function prototype for [[NumberInput]] component\n * @public\n * @deprecated in 4.12.0. Interface used in a deprecated component {@link NumberInput}.\n */\nexport type StepFunctionProp =\n | number\n | ((direction: string) => number | undefined);\n\n/** Properties for the [[NumberInput]] component\n * @public\n * @deprecated in 4.12.0. Props of deprecated component {@link NumberInput}.\n */\nexport interface NumberInputProps\n extends Omit<InputProps, \"min\" | \"max\" | \"step\" | \"onChange\"> {\n /** Numeric value, set to `undefined` to show placeholder text */\n value?: number;\n /** CSS class name for the NumberInput component container div */\n containerClassName?: string;\n /** Style for component container div. */\n containerStyle?: React.CSSProperties;\n /** number or function\tNumber.MIN_SAFE_INTEGER */\n min?: number;\n /** number or function\tdefaults to Number.MAX_SAFE_INTEGER */\n max?: number;\n /** increment step value used while incrementing or decrementing (up/down buttons or arrow keys) defaults to 1. */\n step?: StepFunctionProp;\n /** number of decimal places, defaults to 0 */\n precision?: number;\n /** function parseFloat */\n parse?: (value: string) => number | null | undefined;\n /** function optional formatting function that takes the number value and the internal formatted value in case function just adds prefix or suffix. */\n format?: (num: number | null | undefined, formattedValue: string) => string;\n /** Set to true to \"snap\" to the closest step value while incrementing or decrementing (up/down buttons or arrow keys). */\n snap?: boolean;\n /** Function to call when value is changed. */\n onChange?: (value: number | undefined, stringValue: string) => void;\n /** if true up/down buttons are shown larger and side by side */\n showTouchButtons?: boolean;\n /** Provides ability to return reference to HTMLInputElement */\n ref?: React.Ref<HTMLInputElement>;\n /**\n * Makes this component behave as controlled component.\n * @internal\n */\n isControlled?: boolean;\n}\n\nconst ForwardRefNumberInput = React.forwardRef<\n HTMLInputElement,\n NumberInputProps\n>(function ForwardRefNumberInput(props, ref) {\n const {\n containerClassName,\n className,\n value,\n min,\n max,\n precision,\n format,\n parse,\n onChange,\n onBlur,\n onKeyDown,\n step,\n snap,\n showTouchButtons,\n containerStyle,\n isControlled,\n ...otherProps\n } = props;\n const currentValueRef = React.useRef(value);\n\n /**\n * Used internally to parse the argument x to it's numeric representation.\n * If the argument cannot be converted to finite number returns 0; If a\n * \"precision\" prop is specified uses it round the number with that\n * precision (no fixed precision here because the return value is float, not\n * string).\n */\n const parseInternal = React.useCallback(\n (x: string) => {\n let n: number | undefined | null;\n\n if (parse) n = parse(x);\n if (undefined === n || null === n) {\n n = parseFloat(x);\n if (isNaN(n) || !isFinite(n)) {\n n = 0;\n }\n }\n\n const localPrecision = undefined === precision ? 10 : precision;\n const q = Math.pow(10, localPrecision);\n const localMin = undefined === min ? Number.MIN_SAFE_INTEGER : min;\n const localMax = undefined === max ? Number.MAX_SAFE_INTEGER : max;\n n = Math.min(Math.max(n, localMin), localMax);\n n = Math.round(n * q) / q;\n\n return n;\n },\n [parse, precision, min, max]\n );\n\n /**\n * This is used internally to format a number to its display representation.\n * It will invoke the format function if one is provided.\n */\n const formatInternal = React.useCallback(\n (num: number | undefined | null) => {\n const localPrecision =\n undefined === precision || null === precision ? 0 : precision;\n const str =\n undefined === num || null === num ? \"\" : num.toFixed(localPrecision);\n\n if (format) return format(num, str);\n\n return str;\n },\n [format, precision]\n );\n\n const [formattedValue, setFormattedValue] = React.useState(() =>\n formatInternal(value)\n );\n\n // See if new initialValue props have changed since component mounted\n React.useEffect(() => {\n currentValueRef.current = value;\n const currentFormattedValue = formatInternal(currentValueRef.current);\n setFormattedValue(currentFormattedValue);\n }, [formatInternal, value]);\n\n const handleChange = React.useCallback(\n (event: React.ChangeEvent<HTMLInputElement>) => {\n const newVal = event.currentTarget.value;\n setFormattedValue(newVal);\n isControlled && onChange && onChange(parseInternal(newVal), newVal);\n },\n [isControlled, onChange, parseInternal]\n );\n\n const updateValue = React.useCallback(\n (newVal: number) => {\n const newFormattedVal = formatInternal(newVal);\n onChange && onChange(newVal, newFormattedVal);\n setFormattedValue(newFormattedVal);\n },\n [onChange, formatInternal]\n );\n\n const updateValueFromString = React.useCallback(\n (strValue: string) => {\n const newVal = parseInternal(strValue);\n updateValue(newVal);\n },\n [parseInternal, updateValue]\n );\n\n const handleBlur = React.useCallback(\n (event: React.FocusEvent<HTMLInputElement>) => {\n const newVal = parseInternal(event.target.value);\n onBlur && onBlur(event);\n updateValue(newVal);\n },\n [parseInternal, updateValue, onBlur]\n );\n\n const getIncrementValue = React.useCallback(\n (increment: boolean) => {\n if (typeof step === \"function\") {\n const stepVal = step(increment ? \"up\" : \"down\");\n return stepVal ? stepVal : 1;\n }\n\n return !step ? 1 : step;\n },\n [step]\n );\n\n /**\n * The internal method that actually sets the new value on the input\n */\n const applyStep = React.useCallback(\n (increment: boolean) => {\n const incrementValue = getIncrementValue(increment);\n\n let num =\n parseInternal(formattedValue) +\n (increment ? incrementValue : -incrementValue);\n if (snap) {\n num = Math.round(num / incrementValue) * incrementValue;\n }\n\n const localMin = undefined === min ? Number.MIN_SAFE_INTEGER : min;\n const localMax = undefined === max ? Number.MAX_SAFE_INTEGER : max;\n num = Math.min(Math.max(num, localMin), localMax);\n\n updateValue(num);\n },\n [\n formattedValue,\n getIncrementValue,\n max,\n min,\n parseInternal,\n snap,\n updateValue,\n ]\n );\n\n const handleKeyDown = React.useCallback(\n (event: React.KeyboardEvent<HTMLInputElement>) => {\n if (event.key === Key.Enter.valueOf()) {\n updateValueFromString(event.currentTarget.value);\n event.preventDefault();\n event.stopPropagation();\n } else if (event.key === Key.Escape.valueOf()) {\n setFormattedValue(formatInternal(currentValueRef.current));\n event.preventDefault();\n } else if (event.key === Key.ArrowDown.valueOf()) {\n applyStep(false);\n event.preventDefault();\n event.stopPropagation();\n } else if (event.key === Key.ArrowUp.valueOf()) {\n applyStep(true);\n event.preventDefault();\n event.stopPropagation();\n }\n onKeyDown && onKeyDown(event);\n },\n [applyStep, formatInternal, updateValueFromString, onKeyDown]\n );\n\n const handleDownClick = React.useCallback(\n (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => {\n applyStep(false);\n event.preventDefault();\n },\n [applyStep]\n );\n\n const handleUpClick = React.useCallback(\n (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => {\n applyStep(true);\n event.preventDefault();\n },\n [applyStep]\n );\n\n const handleFocus = React.useCallback(\n (event: React.FocusEvent<HTMLInputElement>) => {\n event.currentTarget.select();\n },\n []\n );\n\n const isDisabled = !!otherProps.disabled;\n const containerClasses = classnames(\n \"core-number-input-container\",\n containerClassName,\n showTouchButtons && \"core-number-buttons-for-touch\",\n isDisabled && \"core-number-input-disabled\"\n );\n\n const caretUp = showTouchButtons ? <SvgCaretUp /> : <SvgCaretUpSmall />;\n const caretDown = showTouchButtons ? <SvgCaretDown /> : <SvgCaretDownSmall />;\n\n return (\n <div className={containerClasses} style={containerStyle}>\n <Input\n ref={ref}\n value={formattedValue}\n onChange={handleChange}\n onKeyDown={handleKeyDown}\n onFocus={handleFocus}\n onBlur={handleBlur}\n size=\"small\"\n className={classnames(\"core-input\", className)}\n {...otherProps}\n />\n <div\n className={classnames(\n \"core-number-input-buttons-container\",\n showTouchButtons && \"core-number-buttons-for-touch\"\n )}\n >\n {/* eslint-disable-next-line jsx-a11y/no-static-element-interactions, jsx-a11y/click-events-have-key-events */}\n <div\n className=\"core-number-input-button core-number-input-button-up\"\n tabIndex={-1}\n onClick={handleUpClick}\n role=\"presentation\"\n >\n <Icon iconSpec={caretUp} />\n </div>\n {/* eslint-disable-next-line jsx-a11y/no-static-element-interactions, jsx-a11y/click-events-have-key-events */}\n <div\n className=\"core-number-input-button core-number-input-button-down\"\n tabIndex={-1}\n onClick={handleDownClick}\n role=\"presentation\"\n >\n <Icon iconSpec={caretDown} />\n </div>\n </div>\n </div>\n );\n});\n\n/** Input component for numbers with up and down buttons to increment and decrement the value.\n * @public\n * @deprecated in 4.12.0. Use {@link https://itwinui.bentley.com/docs/input iTwinUI input} instead.\n */\nexport const NumberInput: (props: NumberInputProps) => React.ReactNode =\n ForwardRefNumberInput;\n"]}
|
|
@@ -1,88 +0,0 @@
|
|
|
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
|
-
@import "../../base/base";
|
|
6
|
-
@import "../variables";
|
|
7
|
-
|
|
8
|
-
.core-number-input-container {
|
|
9
|
-
position: relative;
|
|
10
|
-
padding: 0;
|
|
11
|
-
margin: 0;
|
|
12
|
-
box-sizing: border-box;
|
|
13
|
-
|
|
14
|
-
input {
|
|
15
|
-
margin: 0;
|
|
16
|
-
padding-right: 1.5em;
|
|
17
|
-
|
|
18
|
-
&.core-input {
|
|
19
|
-
padding: $uicore-iui-input-padding;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&.core-number-buttons-for-touch {
|
|
24
|
-
input {
|
|
25
|
-
padding-right: 3.5em;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.core-number-input-buttons-container {
|
|
30
|
-
position: absolute;
|
|
31
|
-
top: 0;
|
|
32
|
-
right: 0;
|
|
33
|
-
width: 20px;
|
|
34
|
-
height: 100%;
|
|
35
|
-
@include uicore-centered;
|
|
36
|
-
flex-direction: column;
|
|
37
|
-
|
|
38
|
-
.core-number-input-button {
|
|
39
|
-
font-size: 8px;
|
|
40
|
-
outline: none;
|
|
41
|
-
height: 100%;
|
|
42
|
-
width: 100%;
|
|
43
|
-
@include uicore-centered;
|
|
44
|
-
&:hover {
|
|
45
|
-
color: var(--iui-color-text-accent-hover);
|
|
46
|
-
transition-duration: 150ms;
|
|
47
|
-
}
|
|
48
|
-
&.core-number-input-button-up {
|
|
49
|
-
padding-top: 1px;
|
|
50
|
-
}
|
|
51
|
-
&.core-number-input-button-down {
|
|
52
|
-
padding-top: 1px;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&.core-number-buttons-for-touch {
|
|
57
|
-
width: 3.5em;
|
|
58
|
-
flex-direction: row-reverse;
|
|
59
|
-
|
|
60
|
-
.core-number-input-button {
|
|
61
|
-
font-size: 1em;
|
|
62
|
-
|
|
63
|
-
&:hover {
|
|
64
|
-
color: unset;
|
|
65
|
-
transition-duration: unset;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&.core-number-input-button-up {
|
|
69
|
-
padding-top: 2px;
|
|
70
|
-
}
|
|
71
|
-
&.core-number-input-button-down {
|
|
72
|
-
padding-top: 2px;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
&.core-number-input-disabled {
|
|
78
|
-
.core-number-input-button-up {
|
|
79
|
-
pointer-events: none;
|
|
80
|
-
color: var(--iui-color-text-disabled);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.core-number-input-button-down {
|
|
84
|
-
pointer-events: none;
|
|
85
|
-
color: var(--iui-color-text-disabled);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
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
|
-
@import "../style/baseline";
|
|
6
|
-
@import "../style/themecolors";
|
|
7
|
-
|
|
8
|
-
// cspell:ignore unbordered
|
|
9
|
-
|
|
10
|
-
$uicore-inputs-height: 22px;
|
|
11
|
-
$uicore-inputs-height-large: 40px;
|
|
12
|
-
$uicore-line-height: calc(var(--iui-size-s) * 1.4);
|
|
13
|
-
|
|
14
|
-
$uicore-inputs-padding: calc(
|
|
15
|
-
(#{$uicore-inputs-height} - #{$uicore-line-height}) * 0.5
|
|
16
|
-
);
|
|
17
|
-
$uicore-inputs-padding-large: calc(
|
|
18
|
-
(#{$uicore-inputs-height-large} - #{$uicore-line-height}) * 0.5
|
|
19
|
-
);
|
|
20
|
-
$uicore-inputs-padding-bordered: calc(#{$uicore-inputs-padding} - 2px);
|
|
21
|
-
$uicore-inputs-padding-bordered-large: calc(
|
|
22
|
-
#{$uicore-inputs-padding-large} - 2px
|
|
23
|
-
);
|
|
24
|
-
|
|
25
|
-
$uicore-inputs-margin: calc(
|
|
26
|
-
(#{$uicore-line-height} * 2 - #{$uicore-inputs-height}) * 0.5
|
|
27
|
-
);
|
|
28
|
-
$uicore-inputs-margin-large: calc(
|
|
29
|
-
(#{$uicore-line-height} * 3 - #{$uicore-inputs-height-large}) * 0.5
|
|
30
|
-
);
|
|
31
|
-
|
|
32
|
-
$uicore-inputs-border-color: $buic-inputs-border;
|
|
33
|
-
|
|
34
|
-
$uicore-inputs-focus-boxshadow: $buic-focus-boxshadow 0px 0px 0px 2px;
|
|
35
|
-
|
|
36
|
-
$uicore-iui-input-padding: var(--iui-size-3xs) var(--iui-size-xs);
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/** @packageDocumentation
|
|
2
|
-
* @module Utilities
|
|
3
|
-
*/
|
|
4
|
-
import * as React from "react";
|
|
5
|
-
import type { Localization as CoreLocalization } from "@itwin/core-common";
|
|
6
|
-
type Localization = Pick<CoreLocalization, "getLocalizedString" | "registerNamespace">;
|
|
7
|
-
interface LocalizationProviderProps {
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
localization: Localization;
|
|
10
|
-
}
|
|
11
|
-
/** Provides localization capability to the components.
|
|
12
|
-
* @alpha
|
|
13
|
-
* @deprecated in 4.16.0. Use {@link @itwin/components-react#LocalizationProvider} instead.
|
|
14
|
-
*/
|
|
15
|
-
export declare function LocalizationProvider(props: LocalizationProviderProps): React.JSX.Element;
|
|
16
|
-
/** Returns localization context.
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
|
-
export declare function useLocalization(): Localization | undefined;
|
|
20
|
-
export {};
|
|
21
|
-
//# sourceMappingURL=LocalizationProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LocalizationProvider.d.ts","sourceRoot":"","sources":["../../../../src/core-react/l10n/LocalizationProvider.tsx"],"names":[],"mappings":"AAIA;;GAEG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,YAAY,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3E,KAAK,YAAY,GAAG,IAAI,CACtB,gBAAgB,EAChB,oBAAoB,GAAG,mBAAmB,CAC3C,CAAC;AAMF,UAAU,yBAAyB;IACjC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,YAAY,EAAE,YAAY,CAAC;CAC5B;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,yBAAyB,qBAOpE;AAED;;GAEG;AACH,wBAAgB,eAAe,6BAG9B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LocalizationProvider.js","sourceRoot":"","sources":["../../../../src/core-react/l10n/LocalizationProvider.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,mBAAmB,GAAG,KAAK,CAAC,aAAa,CAC7C,SAAS,CACV,CAAC;AAOF;;;GAGG;AACH,MAAM,UAAU,oBAAoB,CAAC,KAAgC;IACnE,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC;IACzC,OAAO,CACL,oBAAC,mBAAmB,CAAC,QAAQ,IAAC,KAAK,EAAE,YAAY,IAC9C,QAAQ,CACoB,CAChC,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,eAAe;IAC7B,MAAM,YAAY,GAAG,KAAK,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAAC;IAC3D,OAAO,YAAY,CAAC;AACtB,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Utilities\n */\nimport * as React from \"react\";\nimport type { Localization as CoreLocalization } from \"@itwin/core-common\";\n\ntype Localization = Pick<\n CoreLocalization,\n \"getLocalizedString\" | \"registerNamespace\"\n>;\n\nconst LocalizationContext = React.createContext<Localization | undefined>(\n undefined\n);\n\ninterface LocalizationProviderProps {\n children?: React.ReactNode;\n localization: Localization;\n}\n\n/** Provides localization capability to the components.\n * @alpha\n * @deprecated in 4.16.0. Use {@link @itwin/components-react#LocalizationProvider} instead.\n */\nexport function LocalizationProvider(props: LocalizationProviderProps) {\n const { children, localization } = props;\n return (\n <LocalizationContext.Provider value={localization}>\n {children}\n </LocalizationContext.Provider>\n );\n}\n\n/** Returns localization context.\n * @internal\n */\nexport function useLocalization() {\n const localization = React.useContext(LocalizationContext);\n return localization;\n}\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/** Used by AppUI packages internally to define package specific `useTranslation` hook.
|
|
2
|
-
* Uses a localization provider to translate the provided key with a specified namespace. Multiple fallback layers are used to resolve the translation:
|
|
3
|
-
* - Return value of a specified `fallback` function.
|
|
4
|
-
* - Default value looked up from a specified `defaults` object.
|
|
5
|
-
* - Lastly `key` argument of the translation function is returned.
|
|
6
|
-
* @internal
|
|
7
|
-
*/
|
|
8
|
-
export declare function usePackageTranslation({ namespace, fallback, defaults, }: {
|
|
9
|
-
namespace: string;
|
|
10
|
-
fallback: (key: string) => string | undefined;
|
|
11
|
-
defaults: object;
|
|
12
|
-
}): {
|
|
13
|
-
translate: (key: string) => string;
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=usePackageTranslation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"usePackageTranslation.d.ts","sourceRoot":"","sources":["../../../../src/core-react/l10n/usePackageTranslation.tsx"],"names":[],"mappings":"AAOA;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,SAAS,EACT,QAAQ,EACR,QAAQ,GACT,EAAE;IACD,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAC;IAC9C,QAAQ,EAAE,MAAM,CAAC;CAClB;qBAkBS,MAAM;EAgBf"}
|
|
@@ -1,60 +0,0 @@
|
|
|
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
|
-
import * as React from "react";
|
|
6
|
-
import { useLocalization } from "./LocalizationProvider";
|
|
7
|
-
/** Used by AppUI packages internally to define package specific `useTranslation` hook.
|
|
8
|
-
* Uses a localization provider to translate the provided key with a specified namespace. Multiple fallback layers are used to resolve the translation:
|
|
9
|
-
* - Return value of a specified `fallback` function.
|
|
10
|
-
* - Default value looked up from a specified `defaults` object.
|
|
11
|
-
* - Lastly `key` argument of the translation function is returned.
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
export function usePackageTranslation({ namespace, fallback, defaults, }) {
|
|
15
|
-
const localization = useLocalization();
|
|
16
|
-
const [registered, setRegistered] = React.useState(false);
|
|
17
|
-
React.useEffect(() => {
|
|
18
|
-
if (!localization)
|
|
19
|
-
return;
|
|
20
|
-
let ignore = false;
|
|
21
|
-
setRegistered(false);
|
|
22
|
-
void (async () => {
|
|
23
|
-
await localization.registerNamespace(namespace);
|
|
24
|
-
if (ignore)
|
|
25
|
-
return;
|
|
26
|
-
setRegistered(true);
|
|
27
|
-
})();
|
|
28
|
-
return () => {
|
|
29
|
-
ignore = true;
|
|
30
|
-
};
|
|
31
|
-
}, [localization, namespace]);
|
|
32
|
-
const translate = React.useCallback((key) => {
|
|
33
|
-
if (localization && registered) {
|
|
34
|
-
return localization.getLocalizedString(`${namespace}:${key}`);
|
|
35
|
-
}
|
|
36
|
-
const fallbackTranslation = fallback(key);
|
|
37
|
-
if (fallbackTranslation !== undefined) {
|
|
38
|
-
return fallbackTranslation;
|
|
39
|
-
}
|
|
40
|
-
const defaultValue = getDefaultValue(defaults, key);
|
|
41
|
-
return defaultValue ?? key;
|
|
42
|
-
}, [localization, namespace, fallback, defaults, registered]);
|
|
43
|
-
return { translate };
|
|
44
|
-
}
|
|
45
|
-
function getDefaultValue(defaults, propertyKey) {
|
|
46
|
-
const keys = propertyKey.split(".");
|
|
47
|
-
let prop = defaults;
|
|
48
|
-
for (const key of keys) {
|
|
49
|
-
if (!(key in prop)) {
|
|
50
|
-
prop = undefined;
|
|
51
|
-
break;
|
|
52
|
-
}
|
|
53
|
-
prop = prop[key];
|
|
54
|
-
}
|
|
55
|
-
if (typeof prop !== "string") {
|
|
56
|
-
return undefined;
|
|
57
|
-
}
|
|
58
|
-
return prop;
|
|
59
|
-
}
|
|
60
|
-
//# sourceMappingURL=usePackageTranslation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"usePackageTranslation.js","sourceRoot":"","sources":["../../../../src/core-react/l10n/usePackageTranslation.tsx"],"names":[],"mappings":"AA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,YAAY,IAAI,GAAG,CAAC;IAC7B,CAAC,EACD,CAAC,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,CAAC,CAC1D,CAAC;IACF,OAAO,EAAE,SAAS,EAAE,CAAC;AACvB,CAAC;AAED,SAAS,eAAe,CAAC,QAAgB,EAAE,WAAmB;IAC5D,MAAM,IAAI,GAAG,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACpC,IAAI,IAAI,GAAQ,QAAQ,CAAC;IACzB,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;QACvB,IAAI,CAAC,CAAC,GAAG,IAAI,IAAI,CAAC,EAAE,CAAC;YACnB,IAAI,GAAG,SAAS,CAAC;YACjB,MAAM;QACR,CAAC;QACD,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC;IACnB,CAAC;IACD,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC7B,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,IAAI,CAAC;AACd,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 *--------------------------------------------------------------------------------------------*/\nimport * as React from \"react\";\nimport { useLocalization } from \"./LocalizationProvider\";\n\n/** Used by AppUI packages internally to define package specific `useTranslation` hook.\n * Uses a localization provider to translate the provided key with a specified namespace. Multiple fallback layers are used to resolve the translation:\n * - Return value of a specified `fallback` function.\n * - Default value looked up from a specified `defaults` object.\n * - Lastly `key` argument of the translation function is returned.\n * @internal\n */\nexport function usePackageTranslation({\n namespace,\n fallback,\n defaults,\n}: {\n namespace: string;\n fallback: (key: string) => string | undefined;\n defaults: object;\n}) {\n const localization = useLocalization();\n const [registered, setRegistered] = React.useState(false);\n React.useEffect(() => {\n if (!localization) return;\n\n let ignore = false;\n setRegistered(false);\n void (async () => {\n await localization.registerNamespace(namespace);\n if (ignore) return;\n setRegistered(true);\n })();\n return () => {\n ignore = true;\n };\n }, [localization, namespace]);\n const translate = React.useCallback(\n (key: string) => {\n if (localization && registered) {\n return localization.getLocalizedString(`${namespace}:${key}`);\n }\n\n const fallbackTranslation = fallback(key);\n if (fallbackTranslation !== undefined) {\n return fallbackTranslation;\n }\n\n const defaultValue = getDefaultValue(defaults, key);\n return defaultValue ?? key;\n },\n [localization, namespace, fallback, defaults, registered]\n );\n return { translate };\n}\n\nfunction getDefaultValue(defaults: object, propertyKey: string) {\n const keys = propertyKey.split(\".\");\n let prop: any = defaults;\n for (const key of keys) {\n if (!(key in prop)) {\n prop = undefined;\n break;\n }\n prop = prop[key];\n }\n if (typeof prop !== \"string\") {\n return undefined;\n }\n return prop;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useTranslation.d.ts","sourceRoot":"","sources":["../../../../src/core-react/l10n/useTranslation.tsx"],"names":[],"mappings":"AAWA;;GAEG;AACH,wBAAgB,cAAc;;EAa7B"}
|
|
@@ -1,26 +0,0 @@
|
|
|
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
|
-
import * as defaults from "../UiCore.json";
|
|
6
|
-
import * as React from "react";
|
|
7
|
-
import { UiCore } from "../UiCore";
|
|
8
|
-
import { usePackageTranslation } from "./usePackageTranslation";
|
|
9
|
-
/* eslint-disable deprecation/deprecation */
|
|
10
|
-
/** Returns a translation function to localize package components.
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
|
-
export function useTranslation() {
|
|
14
|
-
const fallback = React.useCallback((key) => {
|
|
15
|
-
if (!UiCore.initialized) {
|
|
16
|
-
return undefined;
|
|
17
|
-
}
|
|
18
|
-
return UiCore.translate(key);
|
|
19
|
-
}, []);
|
|
20
|
-
return usePackageTranslation({
|
|
21
|
-
namespace: UiCore.localizationNamespace,
|
|
22
|
-
fallback,
|
|
23
|
-
defaults,
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=useTranslation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useTranslation.js","sourceRoot":"","sources":["../../../../src/core-react/l10n/useTranslation.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAC;AAC3C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,4CAA4C;AAE5C;;GAEG;AACH,MAAM,UAAU,cAAc;IAC5B,MAAM,QAAQ,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC,GAAW,EAAE,EAAE;QACjD,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC;YACxB,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IAC/B,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,OAAO,qBAAqB,CAAC;QAC3B,SAAS,EAAE,MAAM,CAAC,qBAAqB;QACvC,QAAQ;QACR,QAAQ;KACT,CAAC,CAAC;AACL,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 *--------------------------------------------------------------------------------------------*/\nimport * as defaults from \"../UiCore.json\";\nimport * as React from \"react\";\nimport { UiCore } from \"../UiCore\";\nimport { usePackageTranslation } from \"./usePackageTranslation\";\n\n/* eslint-disable deprecation/deprecation */\n\n/** Returns a translation function to localize package components.\n * @internal\n */\nexport function useTranslation() {\n const fallback = React.useCallback((key: string) => {\n if (!UiCore.initialized) {\n return undefined;\n }\n\n return UiCore.translate(key);\n }, []);\n return usePackageTranslation({\n namespace: UiCore.localizationNamespace,\n fallback,\n defaults,\n });\n}\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
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
|
-
@import "./z-index";
|
|
6
|
-
|
|
7
|
-
:root {
|
|
8
|
-
/** Default Widget Opacity */
|
|
9
|
-
--buic-widget-opacity: 0.9;
|
|
10
|
-
/** Default Toolbar Opacity */
|
|
11
|
-
--buic-toolbar-opacity: 0.5;
|
|
12
|
-
|
|
13
|
-
/** CSS variables for each z-index layer */
|
|
14
|
-
@include uicore-z-index-variables();
|
|
15
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/** @packageDocumentation
|
|
2
|
-
* @module Listbox
|
|
3
|
-
*/
|
|
4
|
-
import * as React from "react";
|
|
5
|
-
import "./Listbox.scss";
|
|
6
|
-
/** Ideas borrowed from https://reacttraining.com/reach-ui/listbox */
|
|
7
|
-
/** `Listbox` value.
|
|
8
|
-
* @public
|
|
9
|
-
* @deprecated in 4.12.0. Value used in a deprecated component {@link Listbox}.
|
|
10
|
-
*/
|
|
11
|
-
export type ListboxValue = string;
|
|
12
|
-
/** `Listbox` Props.
|
|
13
|
-
* @public
|
|
14
|
-
* @deprecated in 4.12.0. Props of deprecated component {@link Listbox}.
|
|
15
|
-
*/
|
|
16
|
-
export interface ListboxProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement> {
|
|
17
|
-
id?: string;
|
|
18
|
-
selectedValue?: ListboxValue;
|
|
19
|
-
ariaLabel?: any;
|
|
20
|
-
ariaLabelledBy?: any;
|
|
21
|
-
onListboxValueChange?: (newValue: ListboxValue, isControlOrCommandPressed?: boolean) => void;
|
|
22
|
-
}
|
|
23
|
-
/** `ListboxItem` Props.
|
|
24
|
-
* @public
|
|
25
|
-
* @deprecated in 4.12.0. Props of deprecated component {@link ListboxItem}.
|
|
26
|
-
*/
|
|
27
|
-
export interface ListboxItemProps extends React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement> {
|
|
28
|
-
/** The unique item's value. */
|
|
29
|
-
value: ListboxValue;
|
|
30
|
-
/** set if item is disabled. */
|
|
31
|
-
disabled?: boolean;
|
|
32
|
-
}
|
|
33
|
-
/** `Listbox` Context.
|
|
34
|
-
* @public
|
|
35
|
-
* @deprecated in 4.12.0. Props of deprecated context {@link ListboxContext}.
|
|
36
|
-
*/
|
|
37
|
-
export interface ListboxContextProps {
|
|
38
|
-
listboxId?: string;
|
|
39
|
-
listboxValue?: ListboxValue;
|
|
40
|
-
focusValue?: ListboxValue;
|
|
41
|
-
onListboxValueChange: (newValue: ListboxValue, isControlOrCommandPressed?: boolean) => void;
|
|
42
|
-
listboxRef?: React.RefObject<HTMLUListElement>;
|
|
43
|
-
}
|
|
44
|
-
/** Context set up by listbox for use by `ListboxItems` .
|
|
45
|
-
* @public
|
|
46
|
-
* @deprecated in 4.12.0. Context of deprecated component {@link Listbox}.
|
|
47
|
-
*/
|
|
48
|
-
export declare const ListboxContext: React.Context<ListboxContextProps>;
|
|
49
|
-
/** Single select `Listbox` component
|
|
50
|
-
* @public
|
|
51
|
-
* @deprecated in 4.12.0. Use {@link https://itwinui.bentley.com/docs/list iTwinUI list} instead.
|
|
52
|
-
*/
|
|
53
|
-
export declare function Listbox(props: ListboxProps): React.JSX.Element;
|
|
54
|
-
/** `ListboxItem` component.
|
|
55
|
-
* @public
|
|
56
|
-
* @deprecated in 4.12.0. Use {@link https://itwinui.bentley.com/docs/list iTwinUI list} instead.
|
|
57
|
-
*/
|
|
58
|
-
export declare function ListboxItem(props: ListboxItemProps): React.JSX.Element;
|
|
59
|
-
//# sourceMappingURL=Listbox.d.ts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ent":["/*---------------------------------------------------------------------------------------------\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 Listbox\n */\nimport * as React from \"react\";\nimport classnames from \"classnames\";\nimport { Key } from \"ts-key-enum\";\n\nimport \"./Listbox.scss\";\nimport { Guid } from \"@itwin/core-bentley\";\n\n/** Ideas borrowed from https://reacttraining.com/reach-ui/listbox */\n\n/* eslint-disable deprecation/deprecation */\n\n/** `Listbox` value.\n * @public\n * @deprecated in 4.12.0. Value used in a deprecated component {@link Listbox}.\n */\nexport type ListboxValue = string;\n\n/** `Listbox` Props.\n * @public\n * @deprecated in 4.12.0. Props of deprecated component {@link Listbox}.\n */\nexport interface ListboxProps\n extends React.DetailedHTMLProps<\n React.HTMLAttributes<HTMLUListElement>,\n HTMLUListElement\n > {\n id?: string;\n selectedValue?: ListboxValue;\n ariaLabel?: any;\n ariaLabelledBy?: any;\n onListboxValueChange?: (\n newValue: ListboxValue,\n isControlOrCommandPressed?: boolean\n ) => void;\n}\n\n/** `ListboxItem` Props.\n * @public\n * @deprecated in 4.12.0. Props of deprecated component {@link ListboxItem}.\n */\nexport interface ListboxItemProps\n extends React.DetailedHTMLProps<\n React.LiHTMLAttributes<HTMLLIElement>,\n HTMLLIElement\n > {\n /** The unique item's value. */\n value: ListboxValue;\n /** set if item is disabled. */\n disabled?: boolean;\n}\n\n/** `Listbox` Context.\n * @public\n * @deprecated in 4.12.0. Props of deprecated context {@link ListboxContext}.\n */\nexport interface ListboxContextProps {\n listboxId?: string;\n listboxValue?: ListboxValue;\n focusValue?: ListboxValue;\n onListboxValueChange: (\n newValue: ListboxValue,\n isControlOrCommandPressed?: boolean\n ) => void;\n listboxRef?: React.RefObject<HTMLUListElement>;\n}\n\n/** Context set up by listbox for use by `ListboxItems` .\n * @public\n * @deprecated in 4.12.0. Context of deprecated component {@link Listbox}.\n */\nexport const ListboxContext = React.createContext<ListboxContextProps>({\n onListboxValueChange: (_newValue: ListboxValue | undefined) => {},\n});\n\nfunction makeId(...args: Array<string | number | null | undefined>) {\n return args.filter((val) => val != null).join(\"--\");\n}\n\nfunction getOptionValueArray(childNodes: React.ReactNode): ListboxItemProps[] {\n return React.Children.toArray(childNodes)\n .filter((node) => React.isValidElement(node) && node.props.value)\n .map(\n (optionNode) =>\n (optionNode as React.ReactElement).props as ListboxItemProps\n );\n}\n\nfunction processKeyboardNavigation(\n optionValues: ListboxItemProps[],\n itemIndex: number,\n key: string\n): [number, boolean] {\n let keyProcessed = false;\n let newIndex = itemIndex >= 0 ? itemIndex : 0;\n\n // Note: In aria example Page Up/Down just moves up or down by one item. See https://www.w3.org/TR/wai-aria-practices-1.1/examples/listbox/js/listbox.js\n if (key === Key.ArrowDown.valueOf() || key === Key.PageDown.valueOf()) {\n for (let i = itemIndex + 1; i < optionValues.length; i++) {\n if (!optionValues[i].disabled) {\n newIndex = i;\n break;\n }\n }\n keyProcessed = true;\n } else if (key === Key.ArrowUp.valueOf() || key === Key.PageUp.valueOf()) {\n for (let i = itemIndex - 1; i >= 0; i--) {\n if (!optionValues[i].disabled) {\n newIndex = i;\n break;\n }\n }\n keyProcessed = true;\n } else if (key === Key.Home.valueOf()) {\n for (let i = 0; i < optionValues.length; i++) {\n if (!optionValues[i].disabled) {\n newIndex = i;\n break;\n }\n }\n keyProcessed = true;\n } else if (key === Key.End.valueOf()) {\n for (let i = optionValues.length - 1; i >= 0; i--) {\n if (!optionValues[i].disabled) {\n newIndex = i;\n break;\n }\n }\n keyProcessed = true;\n }\n return [newIndex, keyProcessed];\n}\n\n/** Single select `Listbox` component\n * @public\n * @deprecated in 4.12.0. Use {@link https://itwinui.bentley.com/docs/list iTwinUI list} instead.\n */\nexport function Listbox(props: ListboxProps) {\n const {\n ariaLabel,\n ariaLabelledBy,\n id,\n children,\n selectedValue,\n className,\n onListboxValueChange,\n onKeyDown,\n ...otherProps\n } = props;\n const listRef = React.useRef<HTMLUListElement>(null);\n const [listId] = React.useState(() => {\n return id ?? Guid.createValue();\n });\n const optionValues = React.useMemo(\n () => getOptionValueArray(children),\n [children]\n );\n const classes = React.useMemo(\n () => classnames(\"core-listbox\", className),\n [className]\n );\n const [currentValue, setCurrentValue] = React.useState<\n ListboxValue | undefined\n >(selectedValue);\n const [focusValue, setFocusValue] = React.useState<ListboxValue | undefined>(\n currentValue\n );\n\n React.useEffect(() => {\n setCurrentValue(selectedValue);\n setFocusValue(selectedValue);\n }, [selectedValue]);\n\n const scrollTopRef = React.useRef(0);\n const handleValueChange = React.useCallback(\n (newValue: ListboxValue, isControlOrCommandPressed?: boolean) => {\n if (newValue !== currentValue) {\n setCurrentValue(newValue);\n setFocusValue(newValue);\n if (onListboxValueChange)\n onListboxValueChange(newValue, isControlOrCommandPressed);\n }\n },\n [setCurrentValue, currentValue, onListboxValueChange]\n );\n\n const focusOption = React.useCallback(\n (itemIndex: number) => {\n if (itemIndex >= 0 && itemIndex < optionValues.length) {\n const newSelection = optionValues[itemIndex];\n const listElement = listRef.current as HTMLUListElement;\n const optionToFocus = listElement.querySelector<HTMLLIElement>(\n `li[data-value=\"${newSelection.value}\"]`\n );\n if (optionToFocus && listElement) {\n let newScrollTop = listElement.scrollTop;\n\n if (listElement.scrollHeight > listElement.clientHeight) {\n const scrollBottom =\n listElement.clientHeight + listElement.scrollTop;\n const elementBottom =\n optionToFocus.offsetTop + optionToFocus.offsetHeight;\n if (elementBottom > scrollBottom) {\n newScrollTop = elementBottom - listElement.clientHeight;\n } else if (optionToFocus.offsetTop < listElement.scrollTop) {\n newScrollTop = optionToFocus.offsetTop;\n }\n scrollTopRef.current = newScrollTop;\n }\n setFocusValue(newSelection.value);\n }\n }\n },\n [optionValues]\n );\n\n const handleKeyDown = React.useCallback(\n (event: React.KeyboardEvent<HTMLUListElement>) => {\n if (optionValues.length < 1) return;\n\n const itemIndex =\n undefined === focusValue\n ? -1\n : optionValues.findIndex(\n (optionValue) => optionValue.value === focusValue\n );\n\n if (event.key === \" \") {\n event.preventDefault();\n if (focusValue)\n handleValueChange(\n focusValue,\n event.getModifierState(\"Control\") || event.getModifierState(\"Meta\")\n ); // Control or Command\n return;\n } else {\n const [newItemIndex, keyProcessed] = processKeyboardNavigation(\n optionValues,\n itemIndex,\n event.key\n );\n if (keyProcessed) {\n event.preventDefault();\n focusOption(newItemIndex);\n return;\n }\n }\n\n if (onKeyDown) onKeyDown(event);\n },\n [focusValue, optionValues, focusOption, onKeyDown, handleValueChange]\n );\n\n const isInitialMount = React.useRef(true);\n\n React.useEffect(() => {\n const list = listRef.current as HTMLUListElement;\n\n if (isInitialMount.current) {\n isInitialMount.current = false;\n\n if (undefined !== focusValue) {\n const itemIndex = optionValues.findIndex(\n (optionValue) => optionValue.value === focusValue\n );\n focusOption(itemIndex);\n }\n } else {\n list.scrollTop = scrollTopRef.current;\n }\n }, [focusValue, focusOption, optionValues]);\n\n const handleOnScroll = React.useCallback(\n (_event: React.UIEvent<HTMLUListElement, UIEvent>) => {\n if (listRef.current) scrollTopRef.current = listRef.current.scrollTop;\n },\n []\n );\n\n const handleOnFocus = React.useCallback(\n (_event: React.FocusEvent<HTMLUListElement>) => {\n if (!focusValue || 0 === focusValue.length) {\n if (currentValue) {\n setFocusValue(currentValue);\n } else {\n if (optionValues.length > 0) setFocusValue(optionValues[0].value);\n }\n }\n },\n [currentValue, focusValue, optionValues]\n );\n\n return (\n <ul\n className={classes}\n // If the listbox is not part of another widget, then it has a visible\n // label referenced by `aria-labelledby` on the element with role\n // `listbox`.\n // https://www.w3.org/TR/wai-aria-practices-1.2/#Listbox\n // If an `aria-label` is passed, we should skip `aria-labelledby` to\n // avoid confusion.\n aria-labelledby={ariaLabel ? undefined : ariaLabelledBy}\n aria-label={ariaLabel}\n // An element that contains or owns all the listbox options has role\n // listbox.\n // https://www.w3.org/TR/wai-aria-practices-1.2/#Listbox\n role=\"listbox\"\n // https://www.w3.org/TR/wai-aria-practices-1.2/examples/listbox/listbox-collapsible.html\n tabIndex={0}\n // https://www.w3.org/TR/wai-aria-practices-1.2/examples/listbox/listbox-scrollable.html\n aria-activedescendant={makeId(currentValue, listId)}\n {...otherProps}\n ref={listRef}\n id={listId}\n onKeyDown={handleKeyDown}\n onScroll={handleOnScroll}\n data-value={currentValue}\n data-focusvalue={focusValue}\n onFocus={handleOnFocus}\n >\n <ListboxContext.Provider\n value={{\n listboxValue: currentValue,\n focusValue,\n listboxId: listId,\n onListboxValueChange: handleValueChange,\n listboxRef: listRef,\n }}\n >\n {children}\n </ListboxContext.Provider>\n </ul>\n );\n}\n\n/** `ListboxItem` component.\n * @public\n * @deprecated in 4.12.0. Use {@link https://itwinui.bentley.com/docs/list iTwinUI list} instead.\n */\nexport function ListboxItem(props: ListboxItemProps) {\n const { children, value, className, disabled, ...otherProps } = props;\n\n const { listboxValue, focusValue, listboxId, onListboxValueChange } =\n React.useContext(ListboxContext);\n\n const hasFocus = focusValue === value;\n\n const classes = React.useMemo(\n () => classnames(\"core-listbox-item\", hasFocus && \"focused\", className),\n [className, hasFocus]\n );\n const itemRef = React.useRef<HTMLLIElement>(null);\n const isSelected = listboxValue === value;\n\n const handleClick = React.useCallback(\n (event: React.MouseEvent<HTMLLIElement, MouseEvent>) => {\n event.preventDefault();\n const selectedValue = event.currentTarget?.dataset?.value;\n if (undefined !== selectedValue) {\n onListboxValueChange(selectedValue, event.ctrlKey);\n }\n },\n [onListboxValueChange]\n );\n\n const getItemId = React.useCallback(() => {\n return makeId(value, listboxId);\n }, [listboxId, value]);\n\n return (\n // eslint-disable-next-line jsx-a11y/click-events-have-key-events\n <li\n // In a single-select listbox, the selected option has `aria-selected`\n // set to `true`.\n // https://www.w3.org/TR/wai-aria-practices-1.2/#Listbox\n aria-selected={isSelected}\n // Applicable to all host language elements regardless of whether a\n // `role` is applied.\n // https://www.w3.org/WAI/PF/aria/states_and_properties#global_states_header\n aria-disabled={disabled || undefined}\n // Each option in the listbox has role `option` and is a DOM descendant\n // of the element with role `listbox`.\n // https://www.w3.org/TR/wai-aria-practices-1.2/#Listbox\n role=\"option\"\n className={classes}\n {...otherProps}\n ref={itemRef}\n id={getItemId()}\n // used for css styling\n data-value={value}\n onClick={handleClick}\n >\n {children}\n </li>\n );\n}\n"]}
|
|
@@ -1,54 +0,0 @@
|
|
|
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
|
-
@import "../index";
|
|
6
|
-
|
|
7
|
-
$uicore-list-item-height: calc(var(--iui-size-s) * 2);
|
|
8
|
-
|
|
9
|
-
ul.core-listbox {
|
|
10
|
-
list-style: none;
|
|
11
|
-
outline: none;
|
|
12
|
-
padding: 0;
|
|
13
|
-
margin: 0;
|
|
14
|
-
box-sizing: border-box;
|
|
15
|
-
width: 100%;
|
|
16
|
-
height: 100%;
|
|
17
|
-
display: flex;
|
|
18
|
-
flex-direction: column;
|
|
19
|
-
overflow: auto;
|
|
20
|
-
color: var(--iui-color-text);
|
|
21
|
-
border: 1px solid var(--iui-color-border);
|
|
22
|
-
position: relative; // required to properly set scrollTop position
|
|
23
|
-
|
|
24
|
-
@include uicore-touch-scrolling;
|
|
25
|
-
@include uicore-scrollbar();
|
|
26
|
-
|
|
27
|
-
&:focus {
|
|
28
|
-
border-color: var(--iui-color-border-accent);
|
|
29
|
-
|
|
30
|
-
li.core-listbox-item.focused {
|
|
31
|
-
background-color: var(--iui-color-background-accent-muted);
|
|
32
|
-
border: 1px solid var(--iui-color-border-accent);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
li.core-listbox-item {
|
|
37
|
-
display: inline-flex;
|
|
38
|
-
line-height: $uicore-list-item-height;
|
|
39
|
-
padding-left: 4px;
|
|
40
|
-
|
|
41
|
-
&[aria-selected="true"] {
|
|
42
|
-
background-color: var(--iui-color-background-accent-muted);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&[aria-disabled="true"] {
|
|
46
|
-
pointer-events: none;
|
|
47
|
-
color: var(--iui-color-text-disabled);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&:hover {
|
|
51
|
-
background-color: var(--iui-color-background-hover);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/** @packageDocumentation
|
|
2
|
-
* @module Loading
|
|
3
|
-
*/
|
|
4
|
-
import "./LoadingBar.scss";
|
|
5
|
-
import * as React from "react";
|
|
6
|
-
import type { CommonProps } from "../utils/Props";
|
|
7
|
-
/** Properties for [[LoadingBar]] component
|
|
8
|
-
* @public
|
|
9
|
-
* @deprecated in 4.12.0. Props of deprecated component {@link LoadingBar}.
|
|
10
|
-
*/
|
|
11
|
-
export interface LoadingBarProps extends CommonProps {
|
|
12
|
-
/** Percent */
|
|
13
|
-
percent: number;
|
|
14
|
-
/** Show percentage (optional) */
|
|
15
|
-
showPercentage?: boolean;
|
|
16
|
-
/** Height (in pixels) of the loading bar */
|
|
17
|
-
barHeight: number;
|
|
18
|
-
}
|
|
19
|
-
/** A loading bar with optional percentage text.
|
|
20
|
-
* @public
|
|
21
|
-
* @deprecated in 4.12.0. Use {@link https://itwinui.bentley.com/docs/progressindicator#progress-linear iTwinUI progress indicator} instead.
|
|
22
|
-
*/
|
|
23
|
-
export declare class LoadingBar extends React.PureComponent<LoadingBarProps> {
|
|
24
|
-
static defaultProps: Partial<LoadingBarProps>;
|
|
25
|
-
render(): React.JSX.Element;
|
|
26
|
-
}
|
|
27
|
-
/** Sanity check to keep percentage between 0 & 100
|
|
28
|
-
* @internal
|
|
29
|
-
*/
|
|
30
|
-
export declare function percentInRange(percent: number): number;
|
|
31
|
-
//# sourceMappingURL=LoadingBar.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LoadingBar.d.ts","sourceRoot":"","sources":["../../../../src/core-react/loading/LoadingBar.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,mBAAmB,CAAC;AAE3B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAIlD;;;GAGG;AACH,MAAM,WAAW,eAAgB,SAAQ,WAAW;IAClD,cAAc;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,iCAAiC;IACjC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,4CAA4C;IAC5C,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;GAGG;AACH,qBAAa,UAAW,SAAQ,KAAK,CAAC,aAAa,CAAC,eAAe,CAAC;IAClE,OAAc,YAAY,EAAE,OAAO,CAAC,eAAe,CAAC,CAElD;IAEc,MAAM;CAcvB;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAItD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LoadingBar.js","sourceRoot":"","sources":["../../../../src/core-react/loading/LoadingBar.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,OAAO,mBAAmB,CAAC;AAC3B,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAkB/B;;;GAGG;AACH,MAAM,OAAO,UAAW,SAAQ,KAAK,CAAC,aAA8B;IAKlD,MAAM;QACpB,MAAM,OAAO,GAAG,GAAG,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;QACzD,MAAM,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;QACnE,OAAO,CACL,6BAAK,SAAS,EAAE,cAAc,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK;YACrD,6BAAK,SAAS,EAAC,cAAc,EAAC,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE;gBACnE,6BAAK,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,GAAI,CAC/C;YACL,IAAI,CAAC,KAAK,CAAC,cAAc,IAAI,CAC5B,8BAAM,SAAS,EAAC,SAAS,IAAE,OAAO,CAAQ,CAC3C,CACG,CACP,CAAC;IACJ,CAAC;;AAjBa,uBAAY,GAA6B;IACrD,SAAS,EAAE,CAAC;CACb,CAAC;AAkBJ;;GAEG;AACH,MAAM,UAAU,cAAc,CAAC,OAAe;IAC5C,IAAI,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;IACnC,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IAC3B,OAAO,KAAK,CAAC;AACf,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 Loading\n */\n\nimport \"./LoadingBar.scss\";\nimport classnames from \"classnames\";\nimport * as React from \"react\";\nimport type { CommonProps } from \"../utils/Props\";\n\n/* eslint-disable deprecation/deprecation */\n\n/** Properties for [[LoadingBar]] component\n * @public\n * @deprecated in 4.12.0. Props of deprecated component {@link LoadingBar}.\n */\nexport interface LoadingBarProps extends CommonProps {\n /** Percent */\n percent: number;\n /** Show percentage (optional) */\n showPercentage?: boolean;\n /** Height (in pixels) of the loading bar */\n barHeight: number;\n}\n\n/** A loading bar with optional percentage text.\n * @public\n * @deprecated in 4.12.0. Use {@link https://itwinui.bentley.com/docs/progressindicator#progress-linear iTwinUI progress indicator} instead.\n */\nexport class LoadingBar extends React.PureComponent<LoadingBarProps> {\n public static defaultProps: Partial<LoadingBarProps> = {\n barHeight: 4,\n };\n\n public override render() {\n const percent = `${percentInRange(this.props.percent)}%`;\n const containerClass = classnames(this.props.className, \"core-lb\");\n return (\n <div className={containerClass} style={this.props.style}>\n <div className=\"lb-container\" style={{ height: this.props.barHeight }}>\n <div className=\"fill\" style={{ width: percent }} />\n </div>\n {this.props.showPercentage && (\n <span className=\"percent\">{percent}</span>\n )}\n </div>\n );\n }\n}\n\n/** Sanity check to keep percentage between 0 & 100\n * @internal\n */\nexport function percentInRange(percent: number): number {\n let value = Math.min(percent, 100);\n value = Math.max(value, 0);\n return value;\n}\n"]}
|
|
@@ -1,29 +0,0 @@
|
|
|
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
|
-
@import "../style/themecolors";
|
|
6
|
-
|
|
7
|
-
.core-lb {
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
|
|
11
|
-
> .lb-container {
|
|
12
|
-
background-color: $buic-background-5;
|
|
13
|
-
flex: 1;
|
|
14
|
-
|
|
15
|
-
> .fill {
|
|
16
|
-
height: 100%;
|
|
17
|
-
background-color: $buic-foreground-primary;
|
|
18
|
-
transition: width 0.3s linear;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
> .percent {
|
|
23
|
-
flex: initial;
|
|
24
|
-
opacity: 0.85;
|
|
25
|
-
width: 3em;
|
|
26
|
-
font-size: 0.9em;
|
|
27
|
-
margin-left: 0.3em;
|
|
28
|
-
}
|
|
29
|
-
}
|