@epam/uui 4.5.1 → 4.6.0-alpha.1
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/assets/styles/buttonLayout.scss +66 -0
- package/assets/styles/controlLayout.scss +12 -0
- package/assets/styles/effects.scss +9 -0
- package/assets/styles/font-faces.scss +52 -0
- package/assets/styles/fonts-variables.scss +24 -0
- package/assets/styles/icons.scss +19 -0
- package/assets/styles/index.scss +8 -0
- package/assets/styles/inputs.scss +70 -0
- package/assets/styles/layout-mixins.scss +9 -0
- package/assets/styles/prettifyScrollBar.scss +45 -0
- package/assets/styles/text-layout.scss +81 -0
- package/assets/styles/text-size.scss +37 -0
- package/assets/styles/typography.scss +4 -0
- package/assets/styles/variables/buttons/button.scss +71 -0
- package/assets/styles/variables/buttons/iconButton.scss +41 -0
- package/assets/styles/variables/buttons/linkButton.scss +6 -0
- package/assets/styles/variables/buttons/tabButton.scss +8 -0
- package/assets/styles/variables/inputs/checkbox.scss +18 -0
- package/assets/styles/variables/inputs/radioInput.scss +15 -0
- package/assets/styles/variables/inputs/switch.scss +24 -0
- package/assets/styles/variables/inputs/textInput.scss +21 -0
- package/assets/styles/variables/layout/accordion.scss +11 -0
- package/assets/styles/variables/layout/iconContainer.scss +23 -0
- package/assets/styles/variables/layout/labeledInput.scss +8 -0
- package/assets/styles/variables/layout/panel.scss +6 -0
- package/assets/styles/variables/layout/scrollBars.scss +4 -0
- package/assets/styles/variables/overlays/dropdownContainer.scss +5 -0
- package/assets/styles/variables/overlays/modals.scss +6 -0
- package/assets/styles/variables/overlays/notificationCard.scss +28 -0
- package/assets/styles/variables/overlays/tooltip.scss +8 -0
- package/assets/styles/variables/pickers/pickerToggler.scss +16 -0
- package/assets/styles/variables/typography/text.scss +19 -0
- package/assets/styles/variables/typography/textPlaceholder.scss +4 -0
- package/assets/styles/variables/widgets/badge.scss +51 -0
- package/assets/styles/variables/widgets/tag.scss +9 -0
- package/bundle-stats.json +1 -1
- package/components/buttons/Button.d.ts +14 -0
- package/components/buttons/Button.d.ts.map +1 -0
- package/components/buttons/IconButton.d.ts +12 -0
- package/components/buttons/IconButton.d.ts.map +1 -0
- package/components/buttons/LinkButton.d.ts +9 -0
- package/components/buttons/LinkButton.d.ts.map +1 -0
- package/components/buttons/TabButton.d.ts +9 -0
- package/components/buttons/TabButton.d.ts.map +1 -0
- package/components/buttons/VerticalTabButton.d.ts +5 -0
- package/components/buttons/VerticalTabButton.d.ts.map +1 -0
- package/components/buttons/docs/button.doc.d.ts +6 -0
- package/components/buttons/docs/button.doc.d.ts.map +1 -0
- package/components/buttons/docs/linkButton.doc.d.ts +6 -0
- package/components/buttons/docs/linkButton.doc.d.ts.map +1 -0
- package/components/buttons/helper.d.ts +3 -0
- package/components/buttons/helper.d.ts.map +1 -0
- package/components/buttons/index.d.ts +6 -0
- package/components/buttons/index.d.ts.map +1 -0
- package/components/index.d.ts +10 -0
- package/components/index.d.ts.map +1 -0
- package/components/inputs/Checkbox.d.ts +10 -0
- package/components/inputs/Checkbox.d.ts.map +1 -0
- package/components/inputs/RadioInput.d.ts +8 -0
- package/components/inputs/RadioInput.d.ts.map +1 -0
- package/components/inputs/Switch.d.ts +9 -0
- package/components/inputs/Switch.d.ts.map +1 -0
- package/components/inputs/TextInput.d.ts +14 -0
- package/components/inputs/TextInput.d.ts.map +1 -0
- package/components/inputs/docs/checkbox.doc.d.ts +6 -0
- package/components/inputs/docs/checkbox.doc.d.ts.map +1 -0
- package/components/inputs/docs/radioInput.doc.d.ts +6 -0
- package/components/inputs/docs/radioInput.doc.d.ts.map +1 -0
- package/components/inputs/docs/switch.doc.d.ts +6 -0
- package/components/inputs/docs/switch.doc.d.ts.map +1 -0
- package/components/inputs/docs/textInput.doc.d.ts +6 -0
- package/components/inputs/docs/textInput.doc.d.ts.map +1 -0
- package/components/inputs/index.d.ts +5 -0
- package/components/inputs/index.d.ts.map +1 -0
- package/components/layout/Accordion.d.ts +9 -0
- package/components/layout/Accordion.d.ts.map +1 -0
- package/components/layout/ControlGroup.d.ts +4 -0
- package/components/layout/ControlGroup.d.ts.map +1 -0
- package/components/layout/FlexItems/FlexCell.d.ts +12 -0
- package/components/layout/FlexItems/FlexCell.d.ts.map +1 -0
- package/components/layout/FlexItems/FlexRow.d.ts +15 -0
- package/components/layout/FlexItems/FlexRow.d.ts.map +1 -0
- package/components/layout/FlexItems/FlexSpacer.d.ts +2 -0
- package/components/layout/FlexItems/FlexSpacer.d.ts.map +1 -0
- package/components/layout/FlexItems/Panel.d.ts +11 -0
- package/components/layout/FlexItems/Panel.d.ts.map +1 -0
- package/components/layout/FlexItems/index.d.ts +5 -0
- package/components/layout/FlexItems/index.d.ts.map +1 -0
- package/components/layout/IconContainer.d.ts +10 -0
- package/components/layout/IconContainer.d.ts.map +1 -0
- package/components/layout/LabeledInput.d.ts +8 -0
- package/components/layout/LabeledInput.d.ts.map +1 -0
- package/components/layout/RadioGroup.d.ts +4 -0
- package/components/layout/RadioGroup.d.ts.map +1 -0
- package/components/layout/ScrollBars.d.ts +6 -0
- package/components/layout/ScrollBars.d.ts.map +1 -0
- package/components/layout/VirtualList.d.ts +8 -0
- package/components/layout/VirtualList.d.ts.map +1 -0
- package/components/layout/index.d.ts +9 -0
- package/components/layout/index.d.ts.map +1 -0
- package/components/overlays/Dropdown.d.ts +6 -0
- package/components/overlays/Dropdown.d.ts.map +1 -0
- package/components/overlays/DropdownContainer.d.ts +7 -0
- package/components/overlays/DropdownContainer.d.ts.map +1 -0
- package/components/overlays/DropdownMenu.d.ts +37 -0
- package/components/overlays/DropdownMenu.d.ts.map +1 -0
- package/components/overlays/Modals.d.ts +24 -0
- package/components/overlays/Modals.d.ts.map +1 -0
- package/components/overlays/NotificationCard.d.ts +31 -0
- package/components/overlays/NotificationCard.d.ts.map +1 -0
- package/components/overlays/Tooltip.d.ts +7 -0
- package/components/overlays/Tooltip.d.ts.map +1 -0
- package/components/overlays/index.d.ts +7 -0
- package/components/overlays/index.d.ts.map +1 -0
- package/components/pickers/DataPickerBody.d.ts +16 -0
- package/components/pickers/DataPickerBody.d.ts.map +1 -0
- package/components/pickers/DataPickerFooter.d.ts +9 -0
- package/components/pickers/DataPickerFooter.d.ts.map +1 -0
- package/components/pickers/DataPickerHeader.d.ts +8 -0
- package/components/pickers/DataPickerHeader.d.ts.map +1 -0
- package/components/pickers/DataPickerRow.d.ts +16 -0
- package/components/pickers/DataPickerRow.d.ts.map +1 -0
- package/components/pickers/MobileDropdownWrapper.d.ts +11 -0
- package/components/pickers/MobileDropdownWrapper.d.ts.map +1 -0
- package/components/pickers/PickerInput.d.ts +17 -0
- package/components/pickers/PickerInput.d.ts.map +1 -0
- package/components/pickers/PickerItem.d.ts +13 -0
- package/components/pickers/PickerItem.d.ts.map +1 -0
- package/components/pickers/PickerList.d.ts +18 -0
- package/components/pickers/PickerList.d.ts.map +1 -0
- package/components/pickers/PickerListItem.d.ts +9 -0
- package/components/pickers/PickerListItem.d.ts.map +1 -0
- package/components/pickers/PickerModal.d.ts +16 -0
- package/components/pickers/PickerModal.d.ts.map +1 -0
- package/components/pickers/PickerToggler.d.ts +9 -0
- package/components/pickers/PickerToggler.d.ts.map +1 -0
- package/components/pickers/index.d.ts +12 -0
- package/components/pickers/index.d.ts.map +1 -0
- package/components/tables/DataTableCell.d.ts +10 -0
- package/components/tables/DataTableCell.d.ts.map +1 -0
- package/components/tables/Presets/Preset.d.ts +15 -0
- package/components/tables/Presets/Preset.d.ts.map +1 -0
- package/components/tables/Presets/Presets.d.ts +10 -0
- package/components/tables/Presets/Presets.d.ts.map +1 -0
- package/components/tables/Presets/index.d.ts +3 -0
- package/components/tables/Presets/index.d.ts.map +1 -0
- package/components/tables/index.d.ts +4 -0
- package/components/tables/index.d.ts.map +1 -0
- package/components/tables/types.d.ts +28 -0
- package/components/tables/types.d.ts.map +1 -0
- package/components/types.d.ts +29 -0
- package/components/types.d.ts.map +1 -0
- package/components/typography/Text.d.ts +12 -0
- package/components/typography/Text.d.ts.map +1 -0
- package/components/typography/TextPlaceholder.d.ts +8 -0
- package/components/typography/TextPlaceholder.d.ts.map +1 -0
- package/components/typography/docs/textPlaceholder.doc.d.ts +5 -0
- package/components/typography/docs/textPlaceholder.doc.d.ts.map +1 -0
- package/components/typography/index.d.ts +3 -0
- package/components/typography/index.d.ts.map +1 -0
- package/components/widgets/Avatar.d.ts +4 -0
- package/components/widgets/Avatar.d.ts.map +1 -0
- package/components/widgets/Badge.d.ts +16 -0
- package/components/widgets/Badge.d.ts.map +1 -0
- package/components/widgets/Tag.d.ts +9 -0
- package/components/widgets/Tag.d.ts.map +1 -0
- package/components/widgets/index.d.ts +4 -0
- package/components/widgets/index.d.ts.map +1 -0
- package/docs/common.d.ts +11 -0
- package/docs/common.d.ts.map +1 -0
- package/docs/contexts/DefaultContext.d.ts +7 -0
- package/docs/contexts/DefaultContext.d.ts.map +1 -0
- package/docs/contexts/index.d.ts +2 -0
- package/docs/contexts/index.d.ts.map +1 -0
- package/docs/index.d.ts +3 -0
- package/docs/index.d.ts.map +1 -0
- package/helpers/textLayout.d.ts +9 -0
- package/helpers/textLayout.d.ts.map +1 -0
- package/i18n.d.ts +50 -10
- package/i18n.d.ts.map +1 -1
- package/icons/icons.d.ts +4 -0
- package/icons/icons.d.ts.map +1 -0
- package/index.d.ts +3 -7
- package/index.d.ts.map +1 -1
- package/index.docs.d.ts +6 -0
- package/index.docs.d.ts.map +1 -0
- package/index.js +3715 -6061
- package/index.js.map +1 -1
- package/package.json +8 -29
- package/readme.md +5 -11
- package/styles.css +3207 -0
- package/styles.css.map +1 -0
- package/__mocks__/reactDom.mock.d.ts +0 -5
- package/__mocks__/reactDom.mock.d.ts.map +0 -1
- package/constants/index.d.ts +0 -2
- package/constants/index.d.ts.map +0 -1
- package/constants/selectors.d.ts +0 -78
- package/constants/selectors.d.ts.map +0 -1
- package/data/Stateful.d.ts +0 -12
- package/data/Stateful.d.ts.map +0 -1
- package/data/forms/Form.d.ts +0 -38
- package/data/forms/Form.d.ts.map +0 -1
- package/data/forms/index.d.ts +0 -3
- package/data/forms/index.d.ts.map +0 -1
- package/data/forms/useForm.d.ts +0 -4
- package/data/forms/useForm.d.ts.map +0 -1
- package/data/forms/useLock.d.ts +0 -6
- package/data/forms/useLock.d.ts.map +0 -1
- package/data/index.d.ts +0 -7
- package/data/index.d.ts.map +0 -1
- package/data/lenses/LensBuilder.d.ts +0 -18
- package/data/lenses/LensBuilder.d.ts.map +0 -1
- package/data/lenses/builders.d.ts +0 -6
- package/data/lenses/builders.d.ts.map +0 -1
- package/data/lenses/hooks.d.ts +0 -8
- package/data/lenses/hooks.d.ts.map +0 -1
- package/data/lenses/index.d.ts +0 -5
- package/data/lenses/index.d.ts.map +0 -1
- package/data/lenses/lensesImpl.d.ts +0 -17
- package/data/lenses/lensesImpl.d.ts.map +0 -1
- package/data/lenses/types.d.ts +0 -13
- package/data/lenses/types.d.ts.map +0 -1
- package/data/processing/ArrayDataSource.d.ts +0 -27
- package/data/processing/ArrayDataSource.d.ts.map +0 -1
- package/data/processing/AsyncDataSource.d.ts +0 -17
- package/data/processing/AsyncDataSource.d.ts.map +0 -1
- package/data/processing/BaseDataSource.d.ts +0 -18
- package/data/processing/BaseDataSource.d.ts.map +0 -1
- package/data/processing/LazyDataSource.d.ts +0 -19
- package/data/processing/LazyDataSource.d.ts.map +0 -1
- package/data/processing/ListApiCache.d.ts +0 -71
- package/data/processing/ListApiCache.d.ts.map +0 -1
- package/data/processing/hooks/index.d.ts +0 -4
- package/data/processing/hooks/index.d.ts.map +0 -1
- package/data/processing/hooks/useArrayDataSource.d.ts +0 -3
- package/data/processing/hooks/useArrayDataSource.d.ts.map +0 -1
- package/data/processing/hooks/useAsyncDataSource.d.ts +0 -3
- package/data/processing/hooks/useAsyncDataSource.d.ts.map +0 -1
- package/data/processing/hooks/useLazyDataSource.d.ts +0 -3
- package/data/processing/hooks/useLazyDataSource.d.ts.map +0 -1
- package/data/processing/index.d.ts +0 -9
- package/data/processing/index.d.ts.map +0 -1
- package/data/processing/types.d.ts +0 -77
- package/data/processing/types.d.ts.map +0 -1
- package/data/processing/views/ArrayListView.d.ts +0 -27
- package/data/processing/views/ArrayListView.d.ts.map +0 -1
- package/data/processing/views/BaseListView.d.ts +0 -70
- package/data/processing/views/BaseListView.d.ts.map +0 -1
- package/data/processing/views/LazyListView.d.ts +0 -88
- package/data/processing/views/LazyListView.d.ts.map +0 -1
- package/data/processing/views/LazyTree.d.ts +0 -25
- package/data/processing/views/LazyTree.d.ts.map +0 -1
- package/data/processing/views/LoadingListView.d.ts +0 -15
- package/data/processing/views/LoadingListView.d.ts.map +0 -1
- package/data/processing/views/index.d.ts +0 -6
- package/data/processing/views/index.d.ts.map +0 -1
- package/data/processing/views/types.d.ts +0 -31
- package/data/processing/views/types.d.ts.map +0 -1
- package/data/querying/getOrderComparer.d.ts +0 -3
- package/data/querying/getOrderComparer.d.ts.map +0 -1
- package/data/querying/getPatternPredicate.d.ts +0 -4
- package/data/querying/getPatternPredicate.d.ts.map +0 -1
- package/data/querying/getSearchFilter.d.ts +0 -2
- package/data/querying/getSearchFilter.d.ts.map +0 -1
- package/data/querying/index.d.ts +0 -5
- package/data/querying/index.d.ts.map +0 -1
- package/data/querying/runDataQuery.d.ts +0 -6
- package/data/querying/runDataQuery.d.ts.map +0 -1
- package/data/validation/index.d.ts +0 -4
- package/data/validation/index.d.ts.map +0 -1
- package/data/validation/mergeValidation.d.ts +0 -3
- package/data/validation/mergeValidation.d.ts.map +0 -1
- package/data/validation/validate.d.ts +0 -6
- package/data/validation/validate.d.ts.map +0 -1
- package/data/validation/validateServerErrorState.d.ts +0 -3
- package/data/validation/validateServerErrorState.d.ts.map +0 -1
- package/helpers/Debouncer.d.ts +0 -15
- package/helpers/Debouncer.d.ts.map +0 -1
- package/helpers/IEditableDebouncer.d.ts +0 -27
- package/helpers/IEditableDebouncer.d.ts.map +0 -1
- package/helpers/LazyLoadedMap.d.ts +0 -46
- package/helpers/LazyLoadedMap.d.ts.map +0 -1
- package/helpers/applyColumnsConfig.d.ts +0 -4
- package/helpers/applyColumnsConfig.d.ts.map +0 -1
- package/helpers/arrayToMatrix.d.ts +0 -2
- package/helpers/arrayToMatrix.d.ts.map +0 -1
- package/helpers/batchOnNextTick.d.ts +0 -2
- package/helpers/batchOnNextTick.d.ts.map +0 -1
- package/helpers/browser.d.ts +0 -11
- package/helpers/browser.d.ts.map +0 -1
- package/helpers/closest.d.ts +0 -2
- package/helpers/closest.d.ts.map +0 -1
- package/helpers/cookie.d.ts +0 -4
- package/helpers/cookie.d.ts.map +0 -1
- package/helpers/cx.d.ts +0 -4
- package/helpers/cx.d.ts.map +0 -1
- package/helpers/events.d.ts +0 -6
- package/helpers/events.d.ts.map +0 -1
- package/helpers/formatBytes.d.ts +0 -2
- package/helpers/formatBytes.d.ts.map +0 -1
- package/helpers/getDefaultColumnsConfig.d.ts +0 -3
- package/helpers/getDefaultColumnsConfig.d.ts.map +0 -1
- package/helpers/getOffset.d.ts +0 -5
- package/helpers/getOffset.d.ts.map +0 -1
- package/helpers/getOrderBetween.d.ts +0 -2
- package/helpers/getOrderBetween.d.ts.map +0 -1
- package/helpers/index.d.ts +0 -25
- package/helpers/index.d.ts.map +0 -1
- package/helpers/mobile.d.ts +0 -4
- package/helpers/mobile.d.ts.map +0 -1
- package/helpers/mouseCoords.d.ts +0 -12
- package/helpers/mouseCoords.d.ts.map +0 -1
- package/helpers/numericInputCalculations.d.ts +0 -9
- package/helpers/numericInputCalculations.d.ts.map +0 -1
- package/helpers/parseIconViewbox.d.ts +0 -6
- package/helpers/parseIconViewbox.d.ts.map +0 -1
- package/helpers/parseToCSSProperties.d.ts +0 -2
- package/helpers/parseToCSSProperties.d.ts.map +0 -1
- package/helpers/screenSize.d.ts +0 -5
- package/helpers/screenSize.d.ts.map +0 -1
- package/helpers/ssr.d.ts +0 -2
- package/helpers/ssr.d.ts.map +0 -1
- package/helpers/urlParser.d.ts +0 -8
- package/helpers/urlParser.d.ts.map +0 -1
- package/helpers/urlUtils.d.ts +0 -5
- package/helpers/urlUtils.d.ts.map +0 -1
- package/helpers/useMemoWithDestructor.d.ts +0 -2
- package/helpers/useMemoWithDestructor.d.ts.map +0 -1
- package/helpers/withMods.d.ts +0 -4
- package/helpers/withMods.d.ts.map +0 -1
- package/hooks/index.d.ts +0 -8
- package/hooks/index.d.ts.map +0 -1
- package/hooks/useAppMobileHeight.d.ts +0 -2
- package/hooks/useAppMobileHeight.d.ts.map +0 -1
- package/hooks/useColumnsConfig.d.ts +0 -7
- package/hooks/useColumnsConfig.d.ts.map +0 -1
- package/hooks/useForceUpdate.d.ts +0 -2
- package/hooks/useForceUpdate.d.ts.map +0 -1
- package/hooks/useScrollShadows.d.ts +0 -14
- package/hooks/useScrollShadows.d.ts.map +0 -1
- package/hooks/useUuiError.d.ts +0 -25
- package/hooks/useUuiError.d.ts.map +0 -1
- package/hooks/useUuiServices.d.ts +0 -10
- package/hooks/useUuiServices.d.ts.map +0 -1
- package/hooks/useVirtualList.d.ts +0 -23
- package/hooks/useVirtualList.d.ts.map +0 -1
- package/services/AnalyticsContext.d.ts +0 -16
- package/services/AnalyticsContext.d.ts.map +0 -1
- package/services/ApiContext.d.ts +0 -53
- package/services/ApiContext.d.ts.map +0 -1
- package/services/BaseContext.d.ts +0 -7
- package/services/BaseContext.d.ts.map +0 -1
- package/services/ContextProvider.d.ts +0 -21
- package/services/ContextProvider.d.ts.map +0 -1
- package/services/ErrorContext.d.ts +0 -16
- package/services/ErrorContext.d.ts.map +0 -1
- package/services/LayoutContext.d.ts +0 -9
- package/services/LayoutContext.d.ts.map +0 -1
- package/services/LegacyContextProvider.d.ts +0 -36
- package/services/LegacyContextProvider.d.ts.map +0 -1
- package/services/LockContext.d.ts +0 -21
- package/services/LockContext.d.ts.map +0 -1
- package/services/ModalContext.d.ts +0 -33
- package/services/ModalContext.d.ts.map +0 -1
- package/services/NotificationContext.d.ts +0 -21
- package/services/NotificationContext.d.ts.map +0 -1
- package/services/ScrollManager.d.ts +0 -37
- package/services/ScrollManager.d.ts.map +0 -1
- package/services/SkinContext.d.ts +0 -44
- package/services/SkinContext.d.ts.map +0 -1
- package/services/UserSettingsContext.d.ts +0 -5
- package/services/UserSettingsContext.d.ts.map +0 -1
- package/services/analytics/GAListener.d.ts +0 -11
- package/services/analytics/GAListener.d.ts.map +0 -1
- package/services/analytics/index.d.ts +0 -2
- package/services/analytics/index.d.ts.map +0 -1
- package/services/dnd/DndActor.d.ts +0 -31
- package/services/dnd/DndActor.d.ts.map +0 -1
- package/services/dnd/DndContext.d.ts +0 -23
- package/services/dnd/DndContext.d.ts.map +0 -1
- package/services/dnd/DragGhost.d.ts +0 -26
- package/services/dnd/DragGhost.d.ts.map +0 -1
- package/services/dnd/helpers.d.ts +0 -2
- package/services/dnd/helpers.d.ts.map +0 -1
- package/services/dnd/index.d.ts +0 -4
- package/services/dnd/index.d.ts.map +0 -1
- package/services/index.d.ts +0 -15
- package/services/index.d.ts.map +0 -1
- package/services/routing/HistoryAdaptedRouter.d.ts +0 -21
- package/services/routing/HistoryAdaptedRouter.d.ts.map +0 -1
- package/services/routing/NextRouterAdapter.d.ts +0 -18
- package/services/routing/NextRouterAdapter.d.ts.map +0 -1
- package/services/routing/StubAdaptedRouter.d.ts +0 -13
- package/services/routing/StubAdaptedRouter.d.ts.map +0 -1
- package/services/routing/index.d.ts +0 -4
- package/services/routing/index.d.ts.map +0 -1
- package/types/components/Button.d.ts +0 -16
- package/types/components/Button.d.ts.map +0 -1
- package/types/components/Checkbox.d.ts +0 -4
- package/types/components/Checkbox.d.ts.map +0 -1
- package/types/components/LabeledInput.d.ts +0 -8
- package/types/components/LabeledInput.d.ts.map +0 -1
- package/types/components/Modals.d.ts +0 -14
- package/types/components/Modals.d.ts.map +0 -1
- package/types/components/Spinner.d.ts +0 -4
- package/types/components/Spinner.d.ts.map +0 -1
- package/types/components/TextInput.d.ts +0 -18
- package/types/components/TextInput.d.ts.map +0 -1
- package/types/components/index.d.ts +0 -7
- package/types/components/index.d.ts.map +0 -1
- package/types/contexts.d.ts +0 -161
- package/types/contexts.d.ts.map +0 -1
- package/types/dataQuery.d.ts +0 -27
- package/types/dataQuery.d.ts.map +0 -1
- package/types/dnd.d.ts +0 -56
- package/types/dnd.d.ts.map +0 -1
- package/types/index.d.ts +0 -9
- package/types/index.d.ts.map +0 -1
- package/types/objects.d.ts +0 -25
- package/types/objects.d.ts.map +0 -1
- package/types/props.d.ts +0 -147
- package/types/props.d.ts.map +0 -1
- package/types/tables.d.ts +0 -162
- package/types/tables.d.ts.map +0 -1
- package/types/validation.d.ts +0 -21
- package/types/validation.d.ts.map +0 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { INotification, Icon, IHasChildren, IHasCX, UuiContexts } from '@epam/uui-core';
|
|
3
|
+
import '../../assets/styles/variables/overlays/notificationCard.scss';
|
|
4
|
+
declare type notificationAction = {
|
|
5
|
+
name: string;
|
|
6
|
+
action: () => void;
|
|
7
|
+
};
|
|
8
|
+
export interface DefaultNotificationProps extends INotification, IHasChildren, IHasCX {
|
|
9
|
+
actions?: notificationAction[];
|
|
10
|
+
}
|
|
11
|
+
export interface NotificationCardProps extends DefaultNotificationProps {
|
|
12
|
+
icon?: Icon;
|
|
13
|
+
color: 'info' | 'success' | 'warning' | 'error';
|
|
14
|
+
}
|
|
15
|
+
export declare class NotificationCard extends React.Component<NotificationCardProps> {
|
|
16
|
+
notificationCardNode: HTMLElement | null;
|
|
17
|
+
componentDidMount(): void;
|
|
18
|
+
componentWillUnmount(): void;
|
|
19
|
+
render(): JSX.Element;
|
|
20
|
+
}
|
|
21
|
+
export declare const WarningNotification: (props: DefaultNotificationProps) => JSX.Element;
|
|
22
|
+
export declare const SuccessNotification: (props: DefaultNotificationProps) => JSX.Element;
|
|
23
|
+
export declare const HintNotification: (props: DefaultNotificationProps) => JSX.Element;
|
|
24
|
+
export declare const ErrorNotification: (props: DefaultNotificationProps) => JSX.Element;
|
|
25
|
+
export declare class ClearNotification extends React.Component<{}> {
|
|
26
|
+
static contextType: React.Context<import("@epam/uui-core").CommonContexts<any, any>>;
|
|
27
|
+
context: UuiContexts;
|
|
28
|
+
render(): JSX.Element;
|
|
29
|
+
}
|
|
30
|
+
export {};
|
|
31
|
+
//# sourceMappingURL=NotificationCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationCard.d.ts","sourceRoot":"","sources":["../../../components/overlays/NotificationCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,EAAc,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAQpG,OAAO,8DAA8D,CAAC;AAGtE,aAAK,kBAAkB,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,wBAAyB,SAAQ,aAAa,EAAE,YAAY,EAAE,MAAM;IACjF,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAClC;AAED,MAAM,WAAW,qBAAsB,SAAQ,wBAAwB;IACnE,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;CACnD;AAED,qBAAa,gBAAiB,SAAQ,KAAK,CAAC,SAAS,CAAC,qBAAqB,CAAC;IACxE,oBAAoB,EAAE,WAAW,GAAG,IAAI,CAAQ;IAEhD,iBAAiB;IAKjB,oBAAoB;IAKpB,MAAM;CA4BT;AAED,eAAO,MAAM,mBAAmB,UAAW,wBAAwB,gBAC2B,CAAC;AAC/F,eAAO,MAAM,mBAAmB,UAAW,wBAAwB,gBAC2B,CAAC;AAC/F,eAAO,MAAM,gBAAgB,UAAW,wBAAwB,gBACwB,CAAC;AACzF,eAAO,MAAM,iBAAiB,UAAW,wBAAwB,gBACyB,CAAC;AAE3F,qBAAa,iBAAkB,SAAQ,KAAK,CAAC,SAAS,CAAC,EAAE,CAAC;IACtD,OAAc,WAAW,mEAAc;IAChC,OAAO,EAAE,WAAW,CAAC;IAE5B,MAAM;CAMT"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TooltipProps } from '@epam/uui-components';
|
|
3
|
+
import '../../assets/styles/variables/overlays/tooltip.scss';
|
|
4
|
+
export interface TooltipMods {
|
|
5
|
+
}
|
|
6
|
+
export declare const Tooltip: import("react").ForwardRefExoticComponent<TooltipProps & TooltipMods & import("react").RefAttributes<HTMLElement>>;
|
|
7
|
+
//# sourceMappingURL=Tooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../components/overlays/Tooltip.tsx"],"names":[],"mappings":";AACA,OAAO,EAAyB,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAC3E,OAAO,qDAAqD,CAAC;AAG7D,MAAM,WAAW,WAAW;CAC3B;AASD,eAAO,MAAM,OAAO,oHAAoE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/overlays/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DataSourceState } from '@epam/uui-core';
|
|
3
|
+
import { PickerBodyBase, PickerBodyBaseProps } from '@epam/uui-components';
|
|
4
|
+
import { ControlSize } from '../types';
|
|
5
|
+
export interface DataPickerBodyProps extends PickerBodyBaseProps {
|
|
6
|
+
maxHeight?: number;
|
|
7
|
+
editMode?: 'dropdown' | 'modal';
|
|
8
|
+
searchSize?: ControlSize;
|
|
9
|
+
}
|
|
10
|
+
export declare class DataPickerBody extends PickerBodyBase<DataPickerBodyProps> {
|
|
11
|
+
lens: import("@epam/uui-core").ILens<DataSourceState<Record<string, any>, any>>;
|
|
12
|
+
searchLens: import("@epam/uui-core").ILens<string>;
|
|
13
|
+
renderNoFound(): React.ReactNode;
|
|
14
|
+
render(): JSX.Element;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=DataPickerBody.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataPickerBody.d.ts","sourceRoot":"","sources":["../../../components/pickers/DataPickerBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAQ,eAAe,EAAgB,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAY,cAAc,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAKrF,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,WAAW,mBAAoB,SAAQ,mBAAmB;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC;CAC5B;AAED,qBAAa,cAAe,SAAQ,cAAc,CAAC,mBAAmB,CAAC;IACnE,IAAI,4EAAmD;IACvD,UAAU,yCAA4B;IAEtC,aAAa;IAUb,MAAM;CAsCT"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React, { PropsWithChildren } from 'react';
|
|
2
|
+
import { PickerFooterProps } from '@epam/uui-components';
|
|
3
|
+
import { SizeMod } from '../types';
|
|
4
|
+
declare type DataPickerFooterProps<TItem, TId> = PickerFooterProps<TItem, TId> & SizeMod & {
|
|
5
|
+
hideShowOnlySelected?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const DataPickerFooter: React.MemoExoticComponent<(<TItem, TId>(props: React.PropsWithChildren<DataPickerFooterProps<TItem, TId>>) => JSX.Element)>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=DataPickerFooter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataPickerFooter.d.ts","sourceRoot":"","sources":["../../../components/pickers/DataPickerFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAKzD,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGnC,aAAK,qBAAqB,CAAC,KAAK,EAAE,GAAG,IAAI,iBAAiB,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,OAAO,GAAG;IAC/E,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAClC,CAAC;AAqDF,eAAO,MAAM,gBAAgB,6HAAmC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataPickerHeader.d.ts","sourceRoot":"","sources":["../../../components/pickers/DataPickerHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,UAAU,qBAAqB;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAiBD,eAAO,MAAM,gBAAgB,mDAAmC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { DataRowProps, DataColumnProps } from '@epam/uui-core';
|
|
3
|
+
export interface DataPickerRowProps<TItem, TId> extends DataRowProps<TItem, TId> {
|
|
4
|
+
renderItem(item: TItem, rowProps: DataRowProps<TItem, TId>): React.ReactNode;
|
|
5
|
+
padding?: '12' | '24';
|
|
6
|
+
size?: 'none' | '24' | '30' | '36' | '42' | '48' | '60';
|
|
7
|
+
borderBottom?: 'none' | 'gray20';
|
|
8
|
+
alignActions?: 'top' | 'center';
|
|
9
|
+
}
|
|
10
|
+
export declare class DataPickerRow<TItem, TId> extends React.Component<DataPickerRowProps<TItem, TId>> {
|
|
11
|
+
private getIcon;
|
|
12
|
+
column: DataColumnProps<TItem>;
|
|
13
|
+
renderContent: () => JSX.Element;
|
|
14
|
+
render(): JSX.Element;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=DataPickerRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataPickerRow.d.ts","sourceRoot":"","sources":["../../../components/pickers/DataPickerRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAS/D,MAAM,WAAW,kBAAkB,CAAC,KAAK,EAAE,GAAG,CAAE,SAAQ,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC;IAC5E,UAAU,CAAC,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC;IAC7E,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACxD,YAAY,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IACjC,YAAY,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;CACnC;AAED,qBAAa,aAAa,CAAC,KAAK,EAAE,GAAG,CAAE,SAAQ,KAAK,CAAC,SAAS,CAAC,kBAAkB,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IAC1F,OAAO,CAAC,OAAO,CAQd;IAED,MAAM,EAAE,eAAe,CAAC,KAAK,CAAC,CAWxB;IAEN,aAAa,oBAYZ;IAED,MAAM;CAOT"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { ControlSize } from '../types';
|
|
3
|
+
interface IMobileDropdownWrapperProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
size?: ControlSize;
|
|
6
|
+
close?: () => void;
|
|
7
|
+
title?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const MobileDropdownWrapper: React.FC<IMobileDropdownWrapperProps>;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=MobileDropdownWrapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MobileDropdownWrapper.d.ts","sourceRoot":"","sources":["../../../components/pickers/MobileDropdownWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIzC,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,UAAU,2BAA2B;IACjC,QAAQ,EAAE,SAAS,CAAC;IACpB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CAqBvE,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DataRowProps, DataSourceListProps, IDropdownToggler } from '@epam/uui-core';
|
|
3
|
+
import { DropdownBodyProps, PickerBodyBaseProps, PickerInputBase, PickerTogglerProps } from '@epam/uui-components';
|
|
4
|
+
import { PickerTogglerMods } from './PickerToggler';
|
|
5
|
+
import { IHasEditMode, SizeMod } from '../types';
|
|
6
|
+
export declare type PickerInputProps = SizeMod & IHasEditMode & {};
|
|
7
|
+
export declare class PickerInput<TItem, TId> extends PickerInputBase<TItem, TId, PickerInputProps> {
|
|
8
|
+
toggleModalOpening(opened: boolean): void;
|
|
9
|
+
getRowSize(): import("../types").ControlSize;
|
|
10
|
+
renderItem: (item: TItem, rowProps: DataRowProps<TItem, TId>) => JSX.Element;
|
|
11
|
+
renderRow: (rowProps: DataRowProps<TItem, TId>) => React.ReactNode;
|
|
12
|
+
getTogglerMods(): PickerTogglerMods;
|
|
13
|
+
renderFooter(): React.ReactNode;
|
|
14
|
+
renderTarget(targetProps: IDropdownToggler & PickerTogglerProps<TItem, TId>): React.ReactNode;
|
|
15
|
+
renderBody(props: DropdownBodyProps & DataSourceListProps & Omit<PickerBodyBaseProps, 'rows'>, rows: DataRowProps<TItem, TId>[]): JSX.Element;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=PickerInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PickerInput.d.ts","sourceRoot":"","sources":["../../../components/pickers/PickerInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,gBAAgB,EAA4C,MAAM,gBAAgB,CAAC;AAC/H,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAGnH,OAAO,EAAiB,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAMnE,OAAO,EAAY,YAAY,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAG3D,oBAAY,gBAAgB,GAAG,OAAO,GAAG,YAAY,GAAG,EAAE,CAAC;AAK3D,qBAAa,WAAW,CAAC,KAAK,EAAE,GAAG,CAAE,SAAQ,eAAe,CAAC,KAAK,EAAE,GAAG,EAAE,gBAAgB,CAAC;IACtF,kBAAkB,CAAC,MAAM,EAAE,OAAO;IAclC,UAAU;IAQV,UAAU,SAAU,KAAK,YAAY,aAAa,KAAK,EAAE,GAAG,CAAC,iBAE5D;IAED,SAAS,aAAc,aAAa,KAAK,EAAE,GAAG,CAAC,qBAgB9C;IAED,cAAc,IAAI,iBAAiB;IAOnC,YAAY;IAQZ,YAAY,CAAC,WAAW,EAAE,gBAAgB,GAAG,kBAAkB,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,KAAK,CAAC,SAAS;IAY7F,UAAU,CAAC,KAAK,EAAE,iBAAiB,GAAG,mBAAmB,GAAG,IAAI,CAAC,mBAAmB,EAAE,MAAM,CAAC,EAAE,IAAI,EAAE,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE;CA6BlI"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { DataRowProps } from '@epam/uui-core';
|
|
3
|
+
import { SizeMod } from '../types';
|
|
4
|
+
export interface PickerItemProps<TItem, TId> extends DataRowProps<TItem, TId>, SizeMod {
|
|
5
|
+
avatarUrl?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
subtitle?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare class PickerItem<TItem, TId> extends React.Component<PickerItemProps<TItem, TId>> {
|
|
10
|
+
getAvatarSize: (size: string, isMultiline: boolean) => string | number;
|
|
11
|
+
render(): JSX.Element;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=PickerItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PickerItem.d.ts","sourceRoot":"","sources":["../../../components/pickers/PickerItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAK9C,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAKnC,MAAM,WAAW,eAAe,CAAC,KAAK,EAAE,GAAG,CAAE,SAAQ,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE,OAAO;IAClF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,qBAAa,UAAU,CAAC,KAAK,EAAE,GAAG,CAAE,SAAQ,KAAK,CAAC,SAAS,CAAC,eAAe,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IACpF,aAAa,SAAU,MAAM,eAAe,OAAO,KAAG,MAAM,GAAG,MAAM,CAEpE;IAED,MAAM;CAsBT"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PickerListBase, PickerModalOptions } from '@epam/uui-components';
|
|
3
|
+
import { DataRowProps, IClickable, IHasCaption, IHasPlaceholder, UuiContexts } from '@epam/uui-core';
|
|
4
|
+
import { SizeMod } from '../types';
|
|
5
|
+
export declare type PickerListProps<TItem, TId> = SizeMod & IHasPlaceholder & PickerModalOptions<TItem, TId> & {
|
|
6
|
+
renderModalToggler?(props: IClickable & IHasCaption, selection: DataRowProps<TItem, TId>[]): React.ReactNode;
|
|
7
|
+
noOptionsMessage?: React.ReactNode;
|
|
8
|
+
};
|
|
9
|
+
export declare class PickerList<TItem, TId> extends PickerListBase<TItem, TId, PickerListProps<TItem, TId>> {
|
|
10
|
+
static contextType: React.Context<import("@epam/uui-core").CommonContexts<any, any>>;
|
|
11
|
+
sessionStartTime: number;
|
|
12
|
+
context: UuiContexts;
|
|
13
|
+
renderRow: (row: DataRowProps<TItem, TId>) => JSX.Element;
|
|
14
|
+
handleShowPicker: () => void;
|
|
15
|
+
defaultRenderToggler: (props: IClickable) => JSX.Element;
|
|
16
|
+
render(): JSX.Element;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=PickerList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PickerList.d.ts","sourceRoot":"","sources":["../../../components/pickers/PickerList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,eAAe,EAAc,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAEjH,OAAO,EAAY,OAAO,EAAE,MAAM,UAAU,CAAC;AAK7C,oBAAY,eAAe,CAAC,KAAK,EAAE,GAAG,IAAI,OAAO,GAAG,eAAe,GAAG,kBAAkB,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG;IACnG,kBAAkB,CAAC,CAAC,KAAK,EAAE,UAAU,GAAG,WAAW,EAAE,SAAS,EAAE,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE,GAAG,KAAK,CAAC,SAAS,CAAC;IAC7G,gBAAgB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACtC,CAAC;AAEF,qBAAa,UAAU,CAAC,KAAK,EAAE,GAAG,CAAE,SAAQ,cAAc,CAAC,KAAK,EAAE,GAAG,EAAE,eAAe,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IAC/F,MAAM,CAAC,WAAW,mEAAc;IAChC,gBAAgB,SAA0B;IAC1C,OAAO,EAAE,WAAW,CAAC;IAErB,SAAS,QAAS,aAAa,KAAK,EAAE,GAAG,CAAC,iBAEzC;IAED,gBAAgB,aAgBf;IAED,oBAAoB,UAAW,UAAU,iBAKxC;IAED,MAAM;CAuBT"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DataRowProps } from '@epam/uui-core';
|
|
3
|
+
export interface PickerListItemProps<TItem, TId> extends DataRowProps<TItem, TId> {
|
|
4
|
+
getName(item: TItem): string;
|
|
5
|
+
}
|
|
6
|
+
export declare class PickerListItem<TItem, TId> extends React.Component<PickerListItemProps<TItem, TId>> {
|
|
7
|
+
render(): JSX.Element;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=PickerListItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PickerListItem.d.ts","sourceRoot":"","sources":["../../../components/pickers/PickerListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAK9C,MAAM,WAAW,mBAAmB,CAAC,KAAK,EAAE,GAAG,CAAE,SAAQ,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC;IAC7E,OAAO,CAAC,IAAI,EAAE,KAAK,GAAG,MAAM,CAAC;CAChC;AAED,qBAAa,cAAc,CAAC,KAAK,EAAE,GAAG,CAAE,SAAQ,KAAK,CAAC,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IAC5F,MAAM;CA8BT"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { DataRowProps } from '@epam/uui-core';
|
|
3
|
+
import { PickerModalBase, PickerModalProps } from '@epam/uui-components';
|
|
4
|
+
export declare class PickerModalImpl<TItem, TId> extends PickerModalBase<TItem, TId> {
|
|
5
|
+
renderRow(rowProps: DataRowProps<TItem, TId>): React.ReactNode;
|
|
6
|
+
renderFooter(selectedDataRows: DataRowProps<TItem, TId>[]): JSX.Element;
|
|
7
|
+
render(): React.ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export declare class PickerModal<TItem, TId> extends React.Component<PickerModalProps<TItem, TId>> {
|
|
10
|
+
state: {
|
|
11
|
+
selection: TItem | TId | TId[] | TItem[];
|
|
12
|
+
};
|
|
13
|
+
lens: import("@epam/uui-core").ILens<any>;
|
|
14
|
+
render(): JSX.Element;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=PickerModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PickerModal.d.ts","sourceRoot":"","sources":["../../../components/pickers/PickerModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,YAAY,EAAQ,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAA4B,MAAM,sBAAsB,CAAC;AAUnG,qBAAa,eAAe,CAAC,KAAK,EAAE,GAAG,CAAE,SAAQ,eAAe,CAAC,KAAK,EAAE,GAAG,CAAC;IACxE,SAAS,CAAC,QAAQ,EAAE,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC;IAa5C,YAAY,CAAC,gBAAgB,EAAE,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE;IAiBzD,MAAM,IAAI,KAAK,CAAC,SAAS;CAkE5B;AAED,qBAAa,WAAW,CAAC,KAAK,EAAE,GAAG,CAAE,SAAQ,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IACtF,KAAK;;MAA0C;IAC/C,IAAI,sCAA2B;IAE/B,MAAM;CAOT"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { PickerTogglerProps } from '@epam/uui-components';
|
|
3
|
+
import * as types from '../types';
|
|
4
|
+
import '../../assets/styles/variables/pickers/pickerToggler.scss';
|
|
5
|
+
export interface PickerTogglerMods extends types.IHasEditMode {
|
|
6
|
+
size?: '24' | '30' | '36' | '42' | '48';
|
|
7
|
+
}
|
|
8
|
+
export declare const PickerToggler: <TItem, TId>(props: PickerTogglerProps<TItem, TId> & PickerTogglerMods, ref: React.ForwardedRef<HTMLElement>) => JSX.Element;
|
|
9
|
+
//# sourceMappingURL=PickerToggler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PickerToggler.d.ts","sourceRoot":"","sources":["../../../components/pickers/PickerToggler.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAqC,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAI7F,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAClC,OAAO,0DAA0D,CAAC;AAMlE,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,YAAY;IACzD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3C;AAiED,eAAO,MAAM,aAAa,+EAA4H,MAAM,YAAY,CAAC,WAAW,CAAC,KAAK,WAAW,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from './DataPickerBody';
|
|
2
|
+
export * from './DataPickerFooter';
|
|
3
|
+
export * from './DataPickerHeader';
|
|
4
|
+
export * from './DataPickerRow';
|
|
5
|
+
export * from './MobileDropdownWrapper';
|
|
6
|
+
export * from './PickerInput';
|
|
7
|
+
export * from './PickerItem';
|
|
8
|
+
export * from './PickerList';
|
|
9
|
+
export * from './PickerListItem';
|
|
10
|
+
export * from './PickerModal';
|
|
11
|
+
export * from './PickerToggler';
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/pickers/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { DataTableCellProps } from '@epam/uui-core';
|
|
3
|
+
import { DataTableCellMods } from './types';
|
|
4
|
+
export declare class DataTableCell<TItem, TId> extends React.Component<DataTableCellProps<TItem, TId> & DataTableCellMods> {
|
|
5
|
+
hasDepsWidgets: boolean;
|
|
6
|
+
isDraggable: () => boolean;
|
|
7
|
+
getContent: () => JSX.Element;
|
|
8
|
+
render(): JSX.Element;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=DataTableCell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataTableCell.d.ts","sourceRoot":"","sources":["../../../components/tables/DataTableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAkB,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAO5C,qBAAa,aAAa,CAAC,KAAK,EAAE,GAAG,CAAE,SAAQ,KAAK,CAAC,SAAS,CAAC,kBAAkB,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,iBAAiB,CAAC;IAC9G,cAAc,UAA+E;IAE7F,WAAW,gBAA6C;IAExD,UAAU,oBAsCT;IAED,MAAM;CAmBT"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ITablePreset } from '../types';
|
|
3
|
+
interface IPresetProps {
|
|
4
|
+
preset: ITablePreset;
|
|
5
|
+
isActive: boolean;
|
|
6
|
+
hasChanged: boolean;
|
|
7
|
+
choosePreset: (preset: ITablePreset) => void;
|
|
8
|
+
duplicatePreset: (preset: ITablePreset) => void;
|
|
9
|
+
deletePreset: (preset: ITablePreset) => void;
|
|
10
|
+
updatePreset: (preset: ITablePreset) => void;
|
|
11
|
+
resetToDefault: () => void;
|
|
12
|
+
}
|
|
13
|
+
export declare const Preset: React.FC<IPresetProps>;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=Preset.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Preset.d.ts","sourceRoot":"","sources":["../../../../components/tables/Presets/Preset.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAGrD,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAKxC,UAAU,YAAY;IAClB,MAAM,EAAE,YAAY,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IAC7C,eAAe,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IAChD,YAAY,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IAC7C,YAAY,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IAC7C,cAAc,EAAE,MAAM,IAAI,CAAC;CAC9B;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAmHzC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DataTableState } from '@epam/uui-core';
|
|
3
|
+
import { IPresetsApi, ITablePreset } from '../types';
|
|
4
|
+
interface IPresetsProps extends IPresetsApi {
|
|
5
|
+
presets: ITablePreset[];
|
|
6
|
+
tableState: DataTableState;
|
|
7
|
+
}
|
|
8
|
+
export declare const Presets: React.NamedExoticComponent<IPresetsProps>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=Presets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Presets.d.ts","sourceRoot":"","sources":["../../../../components/tables/Presets/Presets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAIhD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGrD,UAAU,aAAc,SAAQ,WAAW;IACvC,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,UAAU,EAAE,cAAc,CAAC;CAC9B;AAiED,eAAO,MAAM,OAAO,2CAA0B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/tables/Presets/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/tables/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ColumnsConfig } from '@epam/uui-core';
|
|
2
|
+
import { ControlSize } from '..';
|
|
3
|
+
export interface DataTableCellMods {
|
|
4
|
+
size?: ControlSize | '60';
|
|
5
|
+
padding?: '0' | '12' | '24';
|
|
6
|
+
isFirstColumn?: boolean;
|
|
7
|
+
isLastColumn?: boolean;
|
|
8
|
+
alignActions?: 'top' | 'center';
|
|
9
|
+
}
|
|
10
|
+
export interface ITablePreset<TFilter = Record<string, any>> {
|
|
11
|
+
name: string;
|
|
12
|
+
id: number | null;
|
|
13
|
+
filter: TFilter;
|
|
14
|
+
isReadonly?: boolean;
|
|
15
|
+
columnsConfig: ColumnsConfig;
|
|
16
|
+
}
|
|
17
|
+
export interface IPresetsApi {
|
|
18
|
+
getActivePresetId(): number;
|
|
19
|
+
isDefaultPresetActive(): boolean;
|
|
20
|
+
choosePreset(preset: ITablePreset): void;
|
|
21
|
+
createNewPreset(name: string): void;
|
|
22
|
+
resetToDefault(): void;
|
|
23
|
+
hasPresetChanged(preset: ITablePreset): boolean;
|
|
24
|
+
duplicatePreset(preset: ITablePreset): void;
|
|
25
|
+
deletePreset(preset: ITablePreset): void;
|
|
26
|
+
updatePreset(preset: ITablePreset): void;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../components/tables/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,IAAI,CAAC;AAEjC,MAAM,WAAW,iBAAiB;IAC9B,IAAI,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,GAAG,GAAG,IAAI,GAAG,IAAI,CAAC;IAC5B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;CACnC;AAED,MAAM,WAAW,YAAY,CAAC,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IACvD,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,EAAE,aAAa,CAAC;CAChC;AAED,MAAM,WAAW,WAAW;IACxB,iBAAiB,IAAI,MAAM,CAAC;IAC5B,qBAAqB,IAAI,OAAO,CAAC;IACjC,YAAY,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,CAAC;IACzC,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,cAAc,IAAI,IAAI,CAAC;IACvB,gBAAgB,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAAC;IAChD,eAAe,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,CAAC;IAC5C,YAAY,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,CAAC;IACzC,YAAY,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,CAAC;CAC5C"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare type ButtonMode = 'solid' | 'outline' | 'ghost' | 'none';
|
|
2
|
+
export declare const allButtonModes: ButtonMode[];
|
|
3
|
+
export declare type ControlSize = 'none' | '24' | '30' | '36' | '42' | '48';
|
|
4
|
+
export declare const allSizes: ControlSize[];
|
|
5
|
+
export declare type RowSize = null | '24' | '30' | '36' | '42' | '48';
|
|
6
|
+
export declare const allRowSizes: RowSize[];
|
|
7
|
+
export declare type EpamSemanticColor = 'accent' | 'primary' | 'secondary' | 'negative';
|
|
8
|
+
export declare const allEpamSemanticColors: EpamSemanticColor[];
|
|
9
|
+
export declare type TextSize = 'none' | '18' | '24' | '30' | '36' | '48';
|
|
10
|
+
export declare const allTextSizes: TextSize[];
|
|
11
|
+
export declare type FontStyle = 'regular' | 'semibold' | 'italic' | 'primary' | 'promo';
|
|
12
|
+
export declare const allFontStyles: FontStyle[];
|
|
13
|
+
export interface ColorMod {
|
|
14
|
+
color?: EpamSemanticColor;
|
|
15
|
+
}
|
|
16
|
+
export interface RowSizeMod {
|
|
17
|
+
size?: RowSize;
|
|
18
|
+
}
|
|
19
|
+
export interface SizeMod {
|
|
20
|
+
size?: ControlSize;
|
|
21
|
+
}
|
|
22
|
+
export interface IHasEditMode {
|
|
23
|
+
mode?: 'form' | 'cell';
|
|
24
|
+
}
|
|
25
|
+
export declare enum EditMode {
|
|
26
|
+
FORM = "form",
|
|
27
|
+
CELL = "cell"
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../components/types.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAChE,eAAO,MAAM,cAAc,EAAE,UAAU,EAA0C,CAAC;AAElF,oBAAY,WAAW,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACpE,eAAO,MAAM,QAAQ,EAAE,WAAW,EAAmC,CAAC;AAEtE,oBAAY,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC9D,eAAO,MAAM,WAAW,EAAE,OAAO,EAAyC,CAAC;AAE3E,oBAAY,iBAAiB,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;AAChF,eAAO,MAAM,qBAAqB,EAAE,iBAAiB,EAAmD,CAAC;AAEzG,oBAAY,QAAQ,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACjE,eAAO,MAAM,YAAY,EAAE,QAAQ,EAAmC,CAAC;AAEvE,oBAAY,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;AAChF,eAAO,MAAM,aAAa,EAAE,SAAS,EAA0D,CAAC;AAEhG,MAAM,WAAW,QAAQ;IACrB,KAAK,CAAC,EAAE,iBAAiB,CAAC;CAC7B;AAED,MAAM,WAAW,UAAU;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,OAAO;IACpB,IAAI,CAAC,EAAE,WAAW,CAAC;CACtB;AAED,MAAM,WAAW,YAAY;IACzB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC1B;AAED,oBAAY,QAAQ;IAChB,IAAI,SAAS;IACb,IAAI,SAAS;CAChB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as types from '../types';
|
|
3
|
+
import { TextSettings } from '../../helpers/textLayout';
|
|
4
|
+
import '../../assets/styles/variables/typography/text.scss';
|
|
5
|
+
import '../../assets/styles/fonts-variables.scss';
|
|
6
|
+
export interface TextMods extends TextSettings {
|
|
7
|
+
size?: types.TextSize | '42';
|
|
8
|
+
font?: types.FontStyle;
|
|
9
|
+
color?: 'brand' | 'primary' | 'secondary' | 'disabled' | 'contrast';
|
|
10
|
+
}
|
|
11
|
+
export declare const Text: React.ForwardRefExoticComponent<import("@epam/uui-core").IHasCX & import("@epam/uui-core").IHasChildren & import("@epam/uui-core").IClickable & import("@epam/uui-core").IAnalyticableClick & import("@epam/uui-core").IHasRawProps<HTMLDivElement> & import("@epam/uui-core").IHasForwardedRef<HTMLDivElement> & TextMods & React.RefAttributes<HTMLElement>>;
|
|
12
|
+
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../components/typography/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAGlC,OAAO,EAAkB,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxE,OAAO,oDAAoD,CAAC;AAC5D,OAAO,0CAA0C,CAAC;AAElD,MAAM,WAAW,QAAS,SAAQ,YAAY;IAC1C,IAAI,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;IAC7B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,UAAU,CAAC;CACvE;AAgBD,eAAO,MAAM,IAAI,gWAAwD,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import '../../assets/styles/variables/typography/textPlaceholder.scss';
|
|
3
|
+
export interface TextPlaceholderProps {
|
|
4
|
+
wordsCount?: number;
|
|
5
|
+
isNotAnimated?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const TextPlaceholder: React.FunctionComponent<TextPlaceholderProps>;
|
|
8
|
+
//# sourceMappingURL=TextPlaceholder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextPlaceholder.d.ts","sourceRoot":"","sources":["../../../components/typography/TextPlaceholder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,+DAA+D,CAAC;AAEvE,MAAM,WAAW,oBAAoB;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,oBAAoB,CA0BzE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"textPlaceholder.doc.d.ts","sourceRoot":"","sources":["../../../../components/typography/docs/textPlaceholder.doc.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAmB,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAI3E,QAAA,MAAM,kBAAkB,kCAGS,CAAC;AAElC,SAAS,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/typography/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../components/widgets/Avatar.tsx"],"names":[],"mappings":";AACA,OAAO,EAAuB,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExE,eAAO,MAAM,MAAM,qGAA6C,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ButtonProps } from '@epam/uui-components';
|
|
3
|
+
import '../../assets/styles/variables/widgets/badge.scss';
|
|
4
|
+
export declare type BadgeColor = 'info' | 'success' | 'warning' | 'error';
|
|
5
|
+
export declare type BadgeFill = 'solid';
|
|
6
|
+
export declare type BadgeSize = '18' | '24' | '30' | '36' | '42' | '48';
|
|
7
|
+
export interface BadgeMods {
|
|
8
|
+
fill?: BadgeFill;
|
|
9
|
+
size?: BadgeSize;
|
|
10
|
+
color?: BadgeColor;
|
|
11
|
+
}
|
|
12
|
+
export interface BadgeProps extends ButtonProps, BadgeMods {
|
|
13
|
+
}
|
|
14
|
+
export declare function applyBadgeMods(mods: BadgeMods): string[];
|
|
15
|
+
export declare const Badge: React.ForwardRefExoticComponent<Pick<ButtonProps & BadgeMods, "cx" | "onClick" | "rawProps" | "tabIndex" | "isDisabled" | "link" | "count" | "isOpen" | "isDropdown" | "toggleDropdownOpening" | "caption" | "dropdownIcon" | "dropdownIconPosition" | "countPosition" | "isLinkActive" | "href" | "target" | "icon" | "iconPosition" | "onIconClick" | "clickAnalyticsEvent" | "onClear" | "placeholder" | "forwardedRef" | "clearIcon" | "captionCX" | keyof BadgeMods> & React.RefAttributes<HTMLElement>>;
|
|
16
|
+
//# sourceMappingURL=Badge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../components/widgets/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAU,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAI3D,OAAO,kDAAkD,CAAC;AAa1D,oBAAY,UAAU,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAClE,oBAAY,SAAS,GAAG,OAAO,CAAC;AAChC,oBAAY,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEhE,MAAM,WAAW,SAAS;IACtB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,UAAU,CAAC;CACtB;AAED,MAAM,WAAW,UAAW,SAAQ,WAAW,EAAE,SAAS;CAAG;AAE7D,wBAAgB,cAAc,CAAC,IAAI,EAAE,SAAS,YAS7C;AAED,eAAO,MAAM,KAAK,+eAQjB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ButtonProps } from '@epam/uui-components';
|
|
3
|
+
import '../../assets/styles/variables/widgets/tag.scss';
|
|
4
|
+
export interface TagMods {
|
|
5
|
+
size?: '18' | '24' | '30' | '36' | '42' | '48';
|
|
6
|
+
}
|
|
7
|
+
export declare function applyTagMods(mods: TagMods): string[];
|
|
8
|
+
export declare const Tag: import("react").ForwardRefExoticComponent<Pick<ButtonProps & TagMods, "cx" | "onClick" | "rawProps" | "tabIndex" | "isDisabled" | "link" | "count" | "isOpen" | "isDropdown" | "toggleDropdownOpening" | "caption" | "dropdownIcon" | "dropdownIconPosition" | "countPosition" | "isLinkActive" | "href" | "target" | "icon" | "iconPosition" | "onIconClick" | "clickAnalyticsEvent" | "onClear" | "placeholder" | "forwardedRef" | "size" | "clearIcon" | "captionCX"> & import("react").RefAttributes<HTMLElement>>;
|
|
9
|
+
//# sourceMappingURL=Tag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../components/widgets/Tag.tsx"],"names":[],"mappings":";AACA,OAAO,EAAU,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAG3D,OAAO,gDAAgD,CAAC;AAcxD,MAAM,WAAW,OAAO;IACpB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAClD;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,OAAO,YAOzC;AAED,eAAO,MAAM,GAAG,wfAOf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/widgets/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC"}
|
package/docs/common.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IHasIcon } from '@epam/uui-core';
|
|
2
|
+
import { DocBuilder } from '@epam/uui-docs';
|
|
3
|
+
import { IHasEditMode, SizeMod, ColorMod } from '../components';
|
|
4
|
+
import { TextSettings } from "../helpers/textLayout";
|
|
5
|
+
export declare const sizeDoc: DocBuilder<SizeMod>;
|
|
6
|
+
export declare const textSettingsDoc: DocBuilder<TextSettings>;
|
|
7
|
+
export declare const colorDoc: DocBuilder<ColorMod>;
|
|
8
|
+
export declare const iconOptionsDoc: DocBuilder<IHasIcon>;
|
|
9
|
+
export declare const IHasEditModeDoc: DocBuilder<IHasEditMode>;
|
|
10
|
+
export * from '@epam/uui-docs';
|
|
11
|
+
//# sourceMappingURL=common.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../docs/common.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAe,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EACO,YAAY,EAAyB,OAAO,EAAE,QAAQ,EACnE,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD,eAAO,MAAM,OAAO,qBACyC,CAAC;AAE9D,eAAO,MAAM,eAAe,0BAE6C,CAAC;AAK1E,eAAO,MAAM,QAAQ,sBAC2J,CAAC;AAcjL,eAAO,MAAM,cAAc,sBAEoD,CAAC;AAEhF,eAAO,MAAM,eAAe,0BAC2C,CAAC;AAExE,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { DemoComponentProps } from '@epam/uui-docs';
|
|
3
|
+
export declare class DefaultContext extends React.Component<DemoComponentProps, any> {
|
|
4
|
+
static displayName: string;
|
|
5
|
+
render(): JSX.Element;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=DefaultContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultContext.d.ts","sourceRoot":"","sources":["../../../docs/contexts/DefaultContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAGpD,qBAAa,cAAe,SAAQ,KAAK,CAAC,SAAS,CAAC,kBAAkB,EAAE,GAAG,CAAC;IACxE,OAAc,WAAW,SAAa;IACtC,MAAM;CAWT"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../docs/contexts/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
|
package/docs/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../docs/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ControlSize } from '../components';
|
|
2
|
+
export interface TextSettings {
|
|
3
|
+
lineHeight?: '12' | '18' | '24' | '30';
|
|
4
|
+
fontSize?: '10' | '12' | '14' | '16' | '18' | '24';
|
|
5
|
+
}
|
|
6
|
+
export declare function getTextClasses(props: TextSettings & {
|
|
7
|
+
size: '18' | ControlSize | '60';
|
|
8
|
+
}, border: boolean): string[];
|
|
9
|
+
//# sourceMappingURL=textLayout.d.ts.map
|