@onewelcome/react-lib-components 6.7.1 → 7.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/dist/cjs/Breadcrumbs/Breadcrumbs.cjs.js +1 -1
- package/dist/cjs/Breadcrumbs/Breadcrumbs.cjs.js.map +1 -1
- package/dist/cjs/Breadcrumbs/Breadcrumbs.module.scss.cjs.js +2 -0
- package/dist/cjs/Breadcrumbs/Breadcrumbs.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Button/BaseButton.cjs.js +1 -1
- package/dist/cjs/Button/BaseButton.cjs.js.map +1 -1
- package/dist/cjs/Button/BaseButton.module.scss.cjs.js +2 -0
- package/dist/cjs/Button/BaseButton.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Button/Button.cjs.js +1 -1
- package/dist/cjs/Button/Button.cjs.js.map +1 -1
- package/dist/cjs/Button/Button.module.scss.cjs.js +2 -0
- package/dist/cjs/Button/Button.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Button/IconButton.cjs.js +1 -1
- package/dist/cjs/Button/IconButton.cjs.js.map +1 -1
- package/dist/cjs/Button/IconButton.module.scss.cjs.js +2 -0
- package/dist/cjs/Button/IconButton.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Button/Spinner.cjs.js +1 -1
- package/dist/cjs/Button/Spinner.cjs.js.map +1 -1
- package/dist/cjs/ContextMenu/ContextMenu.cjs.js +1 -1
- package/dist/cjs/ContextMenu/ContextMenu.cjs.js.map +1 -1
- package/dist/cjs/ContextMenu/ContextMenu.module.scss.cjs.js +2 -0
- package/dist/cjs/ContextMenu/ContextMenu.module.scss.cjs.js.map +1 -0
- package/dist/cjs/ContextMenu/ContextMenuItem.cjs.js +1 -1
- package/dist/cjs/ContextMenu/ContextMenuItem.cjs.js.map +1 -1
- package/dist/cjs/ContextMenu/ContextMenuItem.module.scss.cjs.js +2 -0
- package/dist/cjs/ContextMenu/ContextMenuItem.module.scss.cjs.js.map +1 -0
- package/dist/cjs/ContextMenu/ContextMenuService.cjs.js +1 -1
- package/dist/cjs/ContextMenu/ContextMenuService.cjs.js.map +1 -1
- package/dist/cjs/DataGrid/DataGrid.cjs.js +1 -1
- package/dist/cjs/DataGrid/DataGrid.cjs.js.map +1 -1
- package/dist/cjs/DataGrid/DataGrid.module.scss.cjs.js +2 -0
- package/dist/cjs/DataGrid/DataGrid.module.scss.cjs.js.map +1 -0
- package/dist/cjs/DataGrid/DataGridActions/DataGridActions.cjs.js +1 -1
- package/dist/cjs/DataGrid/DataGridActions/DataGridActions.cjs.js.map +1 -1
- package/dist/cjs/DataGrid/DataGridActions/DataGridActions.module.scss.cjs.js +2 -0
- package/dist/cjs/DataGrid/DataGridActions/DataGridActions.module.scss.cjs.js.map +1 -0
- package/dist/cjs/DataGrid/DataGridActions/DataGridColumnsToggle.cjs.js +1 -1
- package/dist/cjs/DataGrid/DataGridActions/DataGridColumnsToggle.cjs.js.map +1 -1
- package/dist/cjs/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.cjs.js +2 -0
- package/dist/cjs/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.cjs.js.map +1 -0
- package/dist/cjs/DataGrid/DataGridBody/DataGridBody.cjs.js +1 -1
- package/dist/cjs/DataGrid/DataGridBody/DataGridBody.cjs.js.map +1 -1
- package/dist/cjs/DataGrid/DataGridBody/DataGridBody.module.scss.cjs.js +2 -0
- package/dist/cjs/DataGrid/DataGridBody/DataGridBody.module.scss.cjs.js.map +1 -0
- package/dist/cjs/DataGrid/DataGridBody/DataGridCell/DataGridCell.cjs.js +2 -0
- package/dist/cjs/DataGrid/DataGridBody/DataGridCell/DataGridCell.cjs.js.map +1 -0
- package/dist/cjs/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.cjs.js +2 -0
- package/dist/cjs/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.cjs.js.map +1 -0
- package/dist/cjs/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.cjs.js +2 -0
- package/dist/cjs/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.cjs.js.map +1 -0
- package/dist/cjs/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.cjs.js +2 -0
- package/dist/cjs/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.cjs.js.map +1 -0
- package/dist/cjs/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.cjs.js +2 -0
- package/dist/cjs/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.cjs.js.map +1 -0
- package/dist/cjs/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.cjs.js +2 -0
- package/dist/cjs/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.cjs.js.map +1 -0
- package/dist/cjs/DataGrid/DataGridBody/DataGridRow/DataGridRow.cjs.js +2 -0
- package/dist/cjs/DataGrid/DataGridBody/DataGridRow/DataGridRow.cjs.js.map +1 -0
- package/dist/cjs/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.cjs.js +2 -0
- package/dist/cjs/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.cjs.js.map +1 -0
- package/dist/cjs/DataGrid/DataGridFilters/DataGridFilter.cjs.js +2 -0
- package/dist/cjs/DataGrid/DataGridFilters/DataGridFilter.cjs.js.map +1 -0
- package/dist/cjs/DataGrid/DataGridFilters/DataGridFilter.module.scss.cjs.js +2 -0
- package/dist/cjs/DataGrid/DataGridFilters/DataGridFilter.module.scss.cjs.js.map +1 -0
- package/dist/cjs/DataGrid/DataGridFilters/DataGridFilterPopover.cjs.js +2 -0
- package/dist/cjs/DataGrid/DataGridFilters/DataGridFilterPopover.cjs.js.map +1 -0
- package/dist/cjs/DataGrid/DataGridFilters/DataGridFilterService.cjs.js +2 -0
- package/dist/cjs/DataGrid/DataGridFilters/DataGridFilterService.cjs.js.map +1 -0
- package/dist/cjs/DataGrid/DataGridFilters/DataGridFilterTag.cjs.js +2 -0
- package/dist/cjs/DataGrid/DataGridFilters/DataGridFilterTag.cjs.js.map +1 -0
- package/dist/cjs/DataGrid/DataGridFilters/DataGridFilters.interfaces.cjs.js +2 -0
- package/dist/cjs/DataGrid/DataGridFilters/DataGridFilters.interfaces.cjs.js.map +1 -0
- package/dist/cjs/DataGrid/DataGridFilters/DataGridToolbar.cjs.js +2 -0
- package/dist/cjs/DataGrid/DataGridFilters/DataGridToolbar.cjs.js.map +1 -0
- package/dist/cjs/DataGrid/DataGridFilters/DataGridToolbar.module.scss.cjs.js +2 -0
- package/dist/cjs/DataGrid/DataGridFilters/DataGridToolbar.module.scss.cjs.js.map +1 -0
- package/dist/cjs/DataGrid/DataGridHeader/DataGridHeader.cjs.js +1 -1
- package/dist/cjs/DataGrid/DataGridHeader/DataGridHeader.cjs.js.map +1 -1
- package/dist/cjs/DataGrid/DataGridHeader/DataGridHeader.module.scss.cjs.js +2 -0
- package/dist/cjs/DataGrid/DataGridHeader/DataGridHeader.module.scss.cjs.js.map +1 -0
- package/dist/cjs/DataGrid/DataGridHeader/DataGridHeaderCell.cjs.js +1 -1
- package/dist/cjs/DataGrid/DataGridHeader/DataGridHeaderCell.cjs.js.map +1 -1
- package/dist/cjs/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.cjs.js +2 -0
- package/dist/cjs/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Form/Checkbox/Checkbox.cjs.js +1 -1
- package/dist/cjs/Form/Checkbox/Checkbox.cjs.js.map +1 -1
- package/dist/cjs/Form/Checkbox/Checkbox.module.scss.cjs.js +2 -0
- package/dist/cjs/Form/Checkbox/Checkbox.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Form/Fieldset/Fieldset.cjs.js +1 -1
- package/dist/cjs/Form/Fieldset/Fieldset.cjs.js.map +1 -1
- package/dist/cjs/Form/Fieldset/Fieldset.module.scss.cjs.js +2 -0
- package/dist/cjs/Form/Fieldset/Fieldset.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Form/FileUpload/FileItem/FileItem.cjs.js +1 -1
- package/dist/cjs/Form/FileUpload/FileItem/FileItem.cjs.js.map +1 -1
- package/dist/cjs/Form/FileUpload/FileItem/FileItem.module.scss.cjs.js +2 -0
- package/dist/cjs/Form/FileUpload/FileItem/FileItem.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Form/FileUpload/FileUpload.cjs.js +1 -1
- package/dist/cjs/Form/FileUpload/FileUpload.cjs.js.map +1 -1
- package/dist/cjs/Form/FileUpload/FileUpload.module.scss.cjs.js +2 -0
- package/dist/cjs/Form/FileUpload/FileUpload.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Form/Form.cjs.js +1 -1
- package/dist/cjs/Form/Form.cjs.js.map +1 -1
- package/dist/cjs/Form/Form.module.scss.cjs.js +2 -0
- package/dist/cjs/Form/Form.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Form/FormControl/FormControl.cjs.js +1 -1
- package/dist/cjs/Form/FormControl/FormControl.cjs.js.map +1 -1
- package/dist/cjs/Form/FormControl/FormControl.module.scss.cjs.js +2 -0
- package/dist/cjs/Form/FormControl/FormControl.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Form/FormGroup/FormGroup.cjs.js +1 -1
- package/dist/cjs/Form/FormGroup/FormGroup.cjs.js.map +1 -1
- package/dist/cjs/Form/FormGroup/FormGroup.module.scss.cjs.js +2 -0
- package/dist/cjs/Form/FormGroup/FormGroup.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Form/FormHelperText/FormHelperText.cjs.js +1 -1
- package/dist/cjs/Form/FormHelperText/FormHelperText.cjs.js.map +1 -1
- package/dist/cjs/Form/FormHelperText/FormHelperText.module.scss.cjs.js +2 -0
- package/dist/cjs/Form/FormHelperText/FormHelperText.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Form/FormSelectorWrapper/FormSelectorWrapper.cjs.js +1 -1
- package/dist/cjs/Form/FormSelectorWrapper/FormSelectorWrapper.cjs.js.map +1 -1
- package/dist/cjs/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.cjs.js +2 -0
- package/dist/cjs/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Form/Input/Input.cjs.js +1 -1
- package/dist/cjs/Form/Input/Input.cjs.js.map +1 -1
- package/dist/cjs/Form/Input/Input.module.scss.cjs.js +2 -0
- package/dist/cjs/Form/Input/Input.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Form/Label/Label.cjs.js +1 -1
- package/dist/cjs/Form/Label/Label.cjs.js.map +1 -1
- package/dist/cjs/Form/Label/Label.module.scss.cjs.js +2 -0
- package/dist/cjs/Form/Label/Label.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Form/Radio/Radio.cjs.js +1 -1
- package/dist/cjs/Form/Radio/Radio.cjs.js.map +1 -1
- package/dist/cjs/Form/Radio/Radio.module.scss.cjs.js +2 -0
- package/dist/cjs/Form/Radio/Radio.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Form/Select/MultiSelect/MultiOption.cjs.js +1 -1
- package/dist/cjs/Form/Select/MultiSelect/MultiOption.cjs.js.map +1 -1
- package/dist/cjs/Form/Select/MultiSelect/MultiSelect.cjs.js +1 -1
- package/dist/cjs/Form/Select/MultiSelect/MultiSelect.cjs.js.map +1 -1
- package/dist/cjs/Form/Select/MultiSelect/MultiSelect.module.scss.cjs.js +2 -0
- package/dist/cjs/Form/Select/MultiSelect/MultiSelect.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Form/Select/MultiSelect/SelectButton.cjs.js +1 -1
- package/dist/cjs/Form/Select/MultiSelect/SelectButton.cjs.js.map +1 -1
- package/dist/cjs/Form/Select/MultiSelect/SelectButton.module.scss.cjs.js +2 -0
- package/dist/cjs/Form/Select/MultiSelect/SelectButton.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Form/Select/MultiSelect/SelectedOptions.cjs.js +1 -1
- package/dist/cjs/Form/Select/MultiSelect/SelectedOptions.cjs.js.map +1 -1
- package/dist/cjs/Form/Select/MultiSelect/SelectedOptions.module.scss.cjs.js +2 -0
- package/dist/cjs/Form/Select/MultiSelect/SelectedOptions.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Form/Select/MultiSelect/useArrowNavigation.cjs.js +1 -1
- package/dist/cjs/Form/Select/MultiSelect/useArrowNavigation.cjs.js.map +1 -1
- package/dist/cjs/Form/Select/MultiSelect/useSearch.cjs.js +1 -1
- package/dist/cjs/Form/Select/MultiSelect/useSearch.cjs.js.map +1 -1
- package/dist/cjs/Form/Select/SingleSelect/Option.cjs.js +1 -1
- package/dist/cjs/Form/Select/SingleSelect/Option.cjs.js.map +1 -1
- package/dist/cjs/Form/Select/SingleSelect/Select.cjs.js +1 -1
- package/dist/cjs/Form/Select/SingleSelect/Select.cjs.js.map +1 -1
- package/dist/cjs/Form/Select/SingleSelect/Select.module.scss.cjs.js +2 -0
- package/dist/cjs/Form/Select/SingleSelect/Select.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Form/Select/SingleSelect/useArrowNavigation.cjs.js +1 -1
- package/dist/cjs/Form/Select/SingleSelect/useArrowNavigation.cjs.js.map +1 -1
- package/dist/cjs/Form/Select/SingleSelect/useSearch.cjs.js +1 -1
- package/dist/cjs/Form/Select/SingleSelect/useSearch.cjs.js.map +1 -1
- package/dist/cjs/Form/Select/useAddNewBtn.cjs.js +1 -1
- package/dist/cjs/Form/Select/useAddNewBtn.cjs.js.map +1 -1
- package/dist/cjs/Form/Select/useAddNewBtn.module.scss.cjs.js +2 -0
- package/dist/cjs/Form/Select/useAddNewBtn.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Form/Select/useSelectPositionList.cjs.js +1 -1
- package/dist/cjs/Form/Select/useSelectPositionList.cjs.js.map +1 -1
- package/dist/cjs/Form/Textarea/Textarea.cjs.js +1 -1
- package/dist/cjs/Form/Textarea/Textarea.cjs.js.map +1 -1
- package/dist/cjs/Form/Textarea/Textarea.module.scss.cjs.js +2 -0
- package/dist/cjs/Form/Textarea/Textarea.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Form/Toggle/Toggle.cjs.js +1 -1
- package/dist/cjs/Form/Toggle/Toggle.cjs.js.map +1 -1
- package/dist/cjs/Form/Toggle/Toggle.module.scss.cjs.js +2 -0
- package/dist/cjs/Form/Toggle/Toggle.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.cjs.js +1 -1
- package/dist/cjs/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.cjs.js.map +1 -1
- package/dist/cjs/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.cjs.js +2 -0
- package/dist/cjs/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Form/Wrapper/InputWrapper/InputWrapper.cjs.js +1 -1
- package/dist/cjs/Form/Wrapper/InputWrapper/InputWrapper.cjs.js.map +1 -1
- package/dist/cjs/Form/Wrapper/InputWrapper/InputWrapper.module.scss.cjs.js +2 -0
- package/dist/cjs/Form/Wrapper/InputWrapper/InputWrapper.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.cjs.js +1 -1
- package/dist/cjs/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.cjs.js.map +1 -1
- package/dist/cjs/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.cjs.js +2 -0
- package/dist/cjs/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Form/Wrapper/RadioWrapper/RadioWrapper.cjs.js +1 -1
- package/dist/cjs/Form/Wrapper/RadioWrapper/RadioWrapper.cjs.js.map +1 -1
- package/dist/cjs/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.cjs.js +2 -0
- package/dist/cjs/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Form/Wrapper/SelectWrapper/SelectWrapper.cjs.js +1 -1
- package/dist/cjs/Form/Wrapper/SelectWrapper/SelectWrapper.cjs.js.map +1 -1
- package/dist/cjs/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.cjs.js +2 -0
- package/dist/cjs/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Form/Wrapper/TextareaWrapper/TextareaWrapper.cjs.js +1 -1
- package/dist/cjs/Form/Wrapper/TextareaWrapper/TextareaWrapper.cjs.js.map +1 -1
- package/dist/cjs/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.cjs.js +2 -0
- package/dist/cjs/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Form/Wrapper/Wrapper/Wrapper.cjs.js +1 -1
- package/dist/cjs/Form/Wrapper/Wrapper/Wrapper.cjs.js.map +1 -1
- package/dist/cjs/Form/Wrapper/Wrapper/Wrapper.module.scss.cjs.js +2 -0
- package/dist/cjs/Form/Wrapper/Wrapper/Wrapper.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Icon/Icon.cjs.js +1 -1
- package/dist/cjs/Icon/Icon.cjs.js.map +1 -1
- package/dist/cjs/Icon/Icon.module.scss.cjs.js +2 -0
- package/dist/cjs/Icon/Icon.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Layout/ContentHeader/ContentHeader.cjs.js +1 -1
- package/dist/cjs/Layout/ContentHeader/ContentHeader.cjs.js.map +1 -1
- package/dist/cjs/Layout/ContentHeader/ContentHeader.module.scss.cjs.js +2 -0
- package/dist/cjs/Layout/ContentHeader/ContentHeader.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Layout/FormPage/FormWithStepper/FormSection/FormSection.cjs.js +1 -1
- package/dist/cjs/Layout/FormPage/FormWithStepper/FormSection/FormSection.cjs.js.map +1 -1
- package/dist/cjs/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.cjs.js +2 -0
- package/dist/cjs/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.cjs.js +1 -1
- package/dist/cjs/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.cjs.js.map +1 -1
- package/dist/cjs/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.cjs.js +2 -0
- package/dist/cjs/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Layout/FormPage/FormWithStepper/FormWithStepper.cjs.js +1 -1
- package/dist/cjs/Layout/FormPage/FormWithStepper/FormWithStepper.cjs.js.map +1 -1
- package/dist/cjs/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.cjs.js +2 -0
- package/dist/cjs/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Link/Link.cjs.js +1 -1
- package/dist/cjs/Link/Link.cjs.js.map +1 -1
- package/dist/cjs/Link/Link.module.scss.cjs.js +2 -0
- package/dist/cjs/Link/Link.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Notifications/Alert/AlertContainer/AlertContainer.cjs.js +1 -1
- package/dist/cjs/Notifications/Alert/AlertContainer/AlertContainer.cjs.js.map +1 -1
- package/dist/cjs/Notifications/Alert/AlertContainer/AlertContainer.module.scss.cjs.js +2 -0
- package/dist/cjs/Notifications/Alert/AlertContainer/AlertContainer.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Notifications/Alert/AlertContainer/useAlertContainerHeightAnimation.cjs.js +1 -1
- package/dist/cjs/Notifications/Alert/AlertContainer/useAlertContainerHeightAnimation.cjs.js.map +1 -1
- package/dist/cjs/Notifications/Alert/AlertItem/AlertItem.cjs.js +1 -1
- package/dist/cjs/Notifications/Alert/AlertItem/AlertItem.cjs.js.map +1 -1
- package/dist/cjs/Notifications/Alert/AlertItem/AlertItem.module.scss.cjs.js +2 -0
- package/dist/cjs/Notifications/Alert/AlertItem/AlertItem.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Notifications/Alert/AlertProvider/AlertContext.cjs.js +1 -1
- package/dist/cjs/Notifications/Alert/AlertProvider/AlertContext.cjs.js.map +1 -1
- package/dist/cjs/Notifications/Alert/AlertProvider/AlertProvider.cjs.js +1 -1
- package/dist/cjs/Notifications/Alert/AlertProvider/AlertProvider.cjs.js.map +1 -1
- package/dist/cjs/Notifications/Alert/useAlert.cjs.js +1 -1
- package/dist/cjs/Notifications/Alert/useAlert.cjs.js.map +1 -1
- package/dist/cjs/Notifications/Banner/Banner.cjs.js +1 -1
- package/dist/cjs/Notifications/Banner/Banner.cjs.js.map +1 -1
- package/dist/cjs/Notifications/Banner/Banner.module.scss.cjs.js +2 -0
- package/dist/cjs/Notifications/Banner/Banner.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Notifications/BaseModal/BaseModal.cjs.js +1 -1
- package/dist/cjs/Notifications/BaseModal/BaseModal.cjs.js.map +1 -1
- package/dist/cjs/Notifications/BaseModal/BaseModal.module.scss.cjs.js +2 -0
- package/dist/cjs/Notifications/BaseModal/BaseModal.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Notifications/BaseModal/BaseModalActions/BaseModalActions.cjs.js +1 -1
- package/dist/cjs/Notifications/BaseModal/BaseModalActions/BaseModalActions.cjs.js.map +1 -1
- package/dist/cjs/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.cjs.js +2 -0
- package/dist/cjs/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Notifications/BaseModal/BaseModalContent/BaseModalContent.cjs.js +1 -1
- package/dist/cjs/Notifications/BaseModal/BaseModalContent/BaseModalContent.cjs.js.map +1 -1
- package/dist/cjs/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.cjs.js +2 -0
- package/dist/cjs/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Notifications/BaseModal/BaseModalContext.cjs.js +1 -1
- package/dist/cjs/Notifications/BaseModal/BaseModalContext.cjs.js.map +1 -1
- package/dist/cjs/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.cjs.js +1 -1
- package/dist/cjs/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.cjs.js.map +1 -1
- package/dist/cjs/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.cjs.js +2 -0
- package/dist/cjs/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Notifications/BaseModal/useRepeatFocus.cjs.js +1 -1
- package/dist/cjs/Notifications/BaseModal/useRepeatFocus.cjs.js.map +1 -1
- package/dist/cjs/Notifications/Dialog/Dialog.cjs.js +1 -1
- package/dist/cjs/Notifications/Dialog/Dialog.cjs.js.map +1 -1
- package/dist/cjs/Notifications/Dialog/Dialog.module.scss.cjs.js +2 -0
- package/dist/cjs/Notifications/Dialog/Dialog.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Notifications/Dialog/DialogActions/DialogActions.cjs.js +1 -1
- package/dist/cjs/Notifications/Dialog/DialogActions/DialogActions.cjs.js.map +1 -1
- package/dist/cjs/Notifications/Dialog/DialogActions/DialogActions.module.scss.cjs.js +2 -0
- package/dist/cjs/Notifications/Dialog/DialogActions/DialogActions.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Notifications/Dialog/DialogTitle/DialogTitle.cjs.js +1 -1
- package/dist/cjs/Notifications/Dialog/DialogTitle/DialogTitle.cjs.js.map +1 -1
- package/dist/cjs/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.cjs.js +2 -0
- package/dist/cjs/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.cjs.js +1 -1
- package/dist/cjs/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.cjs.js.map +1 -1
- package/dist/cjs/Notifications/DiscardChangesModal/DiscardChangesModal.cjs.js +1 -1
- package/dist/cjs/Notifications/DiscardChangesModal/DiscardChangesModal.cjs.js.map +1 -1
- package/dist/cjs/Notifications/NotificationProvider/NotificationContext.cjs.js +1 -1
- package/dist/cjs/Notifications/NotificationProvider/NotificationContext.cjs.js.map +1 -1
- package/dist/cjs/Notifications/NotificationProvider/NotificationService.cjs.js +1 -1
- package/dist/cjs/Notifications/NotificationProvider/NotificationService.cjs.js.map +1 -1
- package/dist/cjs/Notifications/SlideInModal/SlideInModal.cjs.js +1 -1
- package/dist/cjs/Notifications/SlideInModal/SlideInModal.cjs.js.map +1 -1
- package/dist/cjs/Notifications/SlideInModal/SlideInModal.module.scss.cjs.js +2 -0
- package/dist/cjs/Notifications/SlideInModal/SlideInModal.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Pagination/Pagination.cjs.js +1 -1
- package/dist/cjs/Pagination/Pagination.cjs.js.map +1 -1
- package/dist/cjs/Pagination/Pagination.module.scss.cjs.js +2 -0
- package/dist/cjs/Pagination/Pagination.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Popover/Popover.cjs.js +1 -1
- package/dist/cjs/Popover/Popover.cjs.js.map +1 -1
- package/dist/cjs/Popover/Popover.module.scss.cjs.js +2 -0
- package/dist/cjs/Popover/Popover.module.scss.cjs.js.map +1 -0
- package/dist/cjs/ProgressBar/ProgressBar.cjs.js +1 -1
- package/dist/cjs/ProgressBar/ProgressBar.cjs.js.map +1 -1
- package/dist/cjs/ProgressBar/ProgressBar.module.scss.cjs.js +2 -0
- package/dist/cjs/ProgressBar/ProgressBar.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Skeleton/Skeleton.cjs.js +1 -1
- package/dist/cjs/Skeleton/Skeleton.cjs.js.map +1 -1
- package/dist/cjs/Skeleton/Skeleton.module.scss.cjs.js +2 -0
- package/dist/cjs/Skeleton/Skeleton.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Stepper/Step.cjs.js +1 -1
- package/dist/cjs/Stepper/Step.cjs.js.map +1 -1
- package/dist/cjs/Stepper/Step.module.scss.cjs.js +2 -0
- package/dist/cjs/Stepper/Step.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Stepper/Stepper.cjs.js +1 -1
- package/dist/cjs/Stepper/Stepper.cjs.js.map +1 -1
- package/dist/cjs/Stepper/Stepper.module.scss.cjs.js +2 -0
- package/dist/cjs/Stepper/Stepper.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Tabs/Tab.cjs.js +1 -1
- package/dist/cjs/Tabs/Tab.cjs.js.map +1 -1
- package/dist/cjs/Tabs/Tab.module.scss.cjs.js +2 -0
- package/dist/cjs/Tabs/Tab.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Tabs/TabButton.cjs.js +1 -1
- package/dist/cjs/Tabs/TabButton.cjs.js.map +1 -1
- package/dist/cjs/Tabs/TabButton.module.scss.cjs.js +2 -0
- package/dist/cjs/Tabs/TabButton.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Tabs/Tabs.cjs.js +1 -1
- package/dist/cjs/Tabs/Tabs.cjs.js.map +1 -1
- package/dist/cjs/Tabs/Tabs.module.scss.cjs.js +2 -0
- package/dist/cjs/Tabs/Tabs.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Tag/RemoveButton.cjs.js +1 -1
- package/dist/cjs/Tag/RemoveButton.cjs.js.map +1 -1
- package/dist/cjs/Tag/RemoveButton.module.scss.cjs.js +2 -0
- package/dist/cjs/Tag/RemoveButton.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Tag/Tag.cjs.js +1 -1
- package/dist/cjs/Tag/Tag.cjs.js.map +1 -1
- package/dist/cjs/Tag/Tag.module.scss.cjs.js +2 -0
- package/dist/cjs/Tag/Tag.module.scss.cjs.js.map +1 -0
- package/dist/cjs/TextEllipsis/TextEllipsis.cjs.js +1 -1
- package/dist/cjs/TextEllipsis/TextEllipsis.cjs.js.map +1 -1
- package/dist/cjs/TextEllipsis/TextEllipsis.module.scss.cjs.js +2 -0
- package/dist/cjs/TextEllipsis/TextEllipsis.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Tiles/Tile.cjs.js +1 -1
- package/dist/cjs/Tiles/Tile.cjs.js.map +1 -1
- package/dist/cjs/Tiles/Tile.module.scss.cjs.js +2 -0
- package/dist/cjs/Tiles/Tile.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Tiles/Tiles.cjs.js +1 -1
- package/dist/cjs/Tiles/Tiles.cjs.js.map +1 -1
- package/dist/cjs/Tiles/Tiles.module.scss.cjs.js +2 -0
- package/dist/cjs/Tiles/Tiles.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Tooltip/Tooltip.cjs.js +1 -1
- package/dist/cjs/Tooltip/Tooltip.cjs.js.map +1 -1
- package/dist/cjs/Tooltip/Tooltip.module.scss.cjs.js +2 -0
- package/dist/cjs/Tooltip/Tooltip.module.scss.cjs.js.map +1 -0
- package/dist/cjs/Typography/Typography.cjs.js +1 -1
- package/dist/cjs/Typography/Typography.cjs.js.map +1 -1
- package/dist/cjs/Typography/Typography.module.scss.cjs.js +2 -0
- package/dist/cjs/Typography/Typography.module.scss.cjs.js.map +1 -0
- package/dist/cjs/_BaseStyling_/BaseStyling.cjs.js +1 -1
- package/dist/cjs/_BaseStyling_/BaseStyling.cjs.js.map +1 -1
- package/dist/cjs/admin/layout/MicrofrontendContainer/MicrofrontendContainer.cjs.js +1 -1
- package/dist/cjs/admin/layout/MicrofrontendContainer/MicrofrontendContainer.cjs.js.map +1 -1
- package/dist/cjs/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.cjs.js +2 -0
- package/dist/cjs/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.cjs.js.map +1 -0
- package/dist/cjs/node_modules/style-inject/dist/style-inject.es.cjs.js +1 -1
- package/dist/cjs/node_modules/style-inject/dist/style-inject.es.cjs.js.map +1 -1
- package/dist/cjs/src/components/DataGrid/DataGrid.d.ts +6 -0
- package/dist/cjs/src/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.d.ts +5 -0
- package/dist/cjs/src/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.d.ts +6 -0
- package/dist/cjs/src/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.d.ts +16 -0
- package/dist/cjs/src/components/DataGrid/DataGridFilters/DataGridFilter.d.ts +15 -0
- package/dist/cjs/src/components/DataGrid/DataGridFilters/DataGridFilterPopover.d.ts +22 -0
- package/dist/cjs/src/components/DataGrid/DataGridFilters/DataGridFilterService.d.ts +15 -0
- package/dist/cjs/src/components/DataGrid/DataGridFilters/DataGridFilterTag.d.ts +12 -0
- package/dist/cjs/src/components/DataGrid/DataGridFilters/DataGridFilters.interfaces.d.ts +57 -0
- package/dist/cjs/src/components/DataGrid/DataGridFilters/DataGridToolbar.d.ts +13 -0
- package/dist/cjs/src/components/DataGrid/DataGridHeader/DataGridHeader.d.ts +1 -0
- package/dist/cjs/src/components/DataGrid/testUtils.d.ts +13 -0
- package/dist/cjs/src/components/Form/FileUpload/FileUpload.d.ts +2 -1
- package/dist/cjs/src/components/Form/Select/MultiSelect/MultiSelect.test.d.ts +2 -3
- package/dist/cjs/src/components/Form/Select/MultiSelect/useSearch.d.ts +2 -12
- package/dist/cjs/src/components/Form/Select/Select.interfaces.d.ts +1 -11
- package/dist/cjs/src/components/Form/Select/SingleSelect/Select.test.d.ts +2 -3
- package/dist/cjs/src/components/Form/Select/SingleSelect/useSearch.d.ts +2 -12
- package/dist/cjs/src/components/Form/Select/useSelectPositionList.d.ts +2 -2
- package/dist/cjs/src/components/Icon/Icon.d.ts +4 -1
- package/dist/cjs/src/components/_BaseStyling_/BaseStyling.d.ts +0 -26
- package/dist/cjs/src/hooks/useAnimation.cjs.js +1 -1
- package/dist/cjs/src/hooks/useAnimation.cjs.js.map +1 -1
- package/dist/cjs/src/hooks/useBodyClick.cjs.js +1 -1
- package/dist/cjs/src/hooks/useBodyClick.cjs.js.map +1 -1
- package/dist/cjs/src/hooks/useDebouncedCallback.cjs.js +1 -1
- package/dist/cjs/src/hooks/useDebouncedCallback.cjs.js.map +1 -1
- package/dist/cjs/src/hooks/useDetermineStatusIcon.cjs.js +1 -1
- package/dist/cjs/src/hooks/useDetermineStatusIcon.cjs.js.map +1 -1
- package/dist/cjs/src/hooks/useFormSelector.cjs.js +1 -1
- package/dist/cjs/src/hooks/useFormSelector.cjs.js.map +1 -1
- package/dist/cjs/src/hooks/useFullHeightCollapse.cjs.js +2 -0
- package/dist/cjs/src/hooks/useFullHeightCollapse.cjs.js.map +1 -0
- package/dist/cjs/src/hooks/useFullHeightCollapse.d.ts +4 -0
- package/dist/cjs/src/hooks/useGetDomRoot.cjs.js +1 -1
- package/dist/cjs/src/hooks/useGetDomRoot.cjs.js.map +1 -1
- package/dist/cjs/src/hooks/usePosition.cjs.js +1 -1
- package/dist/cjs/src/hooks/usePosition.cjs.js.map +1 -1
- package/dist/cjs/src/hooks/useRepeater.cjs.js +1 -1
- package/dist/cjs/src/hooks/useRepeater.cjs.js.map +1 -1
- package/dist/cjs/src/hooks/useSpacing.cjs.js +1 -1
- package/dist/cjs/src/hooks/useSpacing.cjs.js.map +1 -1
- package/dist/cjs/src/hooks/useWrapper.cjs.js +1 -1
- package/dist/cjs/src/hooks/useWrapper.cjs.js.map +1 -1
- package/dist/cjs/src/index.cjs.js +1 -1
- package/dist/cjs/src/index.d.ts +7 -21
- package/dist/cjs/src/readyclasses.module.scss.cjs.js +2 -0
- package/dist/cjs/src/readyclasses.module.scss.cjs.js.map +1 -0
- package/dist/cjs/src/util/helper.cjs.js +1 -1
- package/dist/cjs/src/util/helper.cjs.js.map +1 -1
- package/dist/esm/Breadcrumbs/Breadcrumbs.esm.js +46 -1
- package/dist/esm/Breadcrumbs/Breadcrumbs.esm.js.map +1 -1
- package/dist/esm/Breadcrumbs/Breadcrumbs.module.scss.esm.js +8 -0
- package/dist/esm/Breadcrumbs/Breadcrumbs.module.scss.esm.js.map +1 -0
- package/dist/esm/Button/BaseButton.esm.js +31 -1
- package/dist/esm/Button/BaseButton.esm.js.map +1 -1
- package/dist/esm/Button/BaseButton.module.scss.esm.js +8 -0
- package/dist/esm/Button/BaseButton.module.scss.esm.js.map +1 -0
- package/dist/esm/Button/Button.esm.js +43 -1
- package/dist/esm/Button/Button.esm.js.map +1 -1
- package/dist/esm/Button/Button.module.scss.esm.js +8 -0
- package/dist/esm/Button/Button.module.scss.esm.js.map +1 -0
- package/dist/esm/Button/IconButton.esm.js +41 -1
- package/dist/esm/Button/IconButton.esm.js.map +1 -1
- package/dist/esm/Button/IconButton.module.scss.esm.js +8 -0
- package/dist/esm/Button/IconButton.module.scss.esm.js.map +1 -0
- package/dist/esm/Button/Spinner.esm.js +21 -1
- package/dist/esm/Button/Spinner.esm.js.map +1 -1
- package/dist/esm/ContextMenu/ContextMenu.esm.js +98 -1
- package/dist/esm/ContextMenu/ContextMenu.esm.js.map +1 -1
- package/dist/esm/ContextMenu/ContextMenu.module.scss.esm.js +8 -0
- package/dist/esm/ContextMenu/ContextMenu.module.scss.esm.js.map +1 -0
- package/dist/esm/ContextMenu/ContextMenuItem.esm.js +40 -1
- package/dist/esm/ContextMenu/ContextMenuItem.esm.js.map +1 -1
- package/dist/esm/ContextMenu/ContextMenuItem.module.scss.esm.js +8 -0
- package/dist/esm/ContextMenu/ContextMenuItem.module.scss.esm.js.map +1 -0
- package/dist/esm/ContextMenu/ContextMenuService.esm.js +132 -1
- package/dist/esm/ContextMenu/ContextMenuService.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGrid.esm.js +83 -1
- package/dist/esm/DataGrid/DataGrid.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGrid.module.scss.esm.js +8 -0
- package/dist/esm/DataGrid/DataGrid.module.scss.esm.js.map +1 -0
- package/dist/esm/DataGrid/DataGridActions/DataGridActions.esm.js +46 -1
- package/dist/esm/DataGrid/DataGridActions/DataGridActions.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGridActions/DataGridActions.module.scss.esm.js +8 -0
- package/dist/esm/DataGrid/DataGridActions/DataGridActions.module.scss.esm.js.map +1 -0
- package/dist/esm/DataGrid/DataGridActions/DataGridColumnsToggle.esm.js +43 -1
- package/dist/esm/DataGrid/DataGridActions/DataGridColumnsToggle.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.esm.js +8 -0
- package/dist/esm/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.esm.js.map +1 -0
- package/dist/esm/DataGrid/DataGridBody/DataGridBody.esm.js +49 -1
- package/dist/esm/DataGrid/DataGridBody/DataGridBody.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGridBody/DataGridBody.module.scss.esm.js +8 -0
- package/dist/esm/DataGrid/DataGridBody/DataGridBody.module.scss.esm.js.map +1 -0
- package/dist/esm/DataGrid/DataGridBody/DataGridCell/DataGridCell.esm.js +36 -0
- package/dist/esm/DataGrid/DataGridBody/DataGridCell/DataGridCell.esm.js.map +1 -0
- package/dist/esm/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.esm.js +8 -0
- package/dist/esm/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.esm.js.map +1 -0
- package/dist/esm/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.esm.js +26 -0
- package/dist/esm/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.esm.js.map +1 -0
- package/dist/esm/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.esm.js +8 -0
- package/dist/esm/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.esm.js.map +1 -0
- package/dist/esm/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.esm.js +31 -0
- package/dist/esm/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.esm.js.map +1 -0
- package/dist/esm/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.esm.js +8 -0
- package/dist/esm/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.esm.js.map +1 -0
- package/dist/esm/DataGrid/DataGridBody/DataGridRow/DataGridRow.esm.js +59 -0
- package/dist/esm/DataGrid/DataGridBody/DataGridRow/DataGridRow.esm.js.map +1 -0
- package/dist/esm/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.esm.js +8 -0
- package/dist/esm/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.esm.js.map +1 -0
- package/dist/esm/DataGrid/DataGridFilters/DataGridFilter.esm.js +71 -0
- package/dist/esm/DataGrid/DataGridFilters/DataGridFilter.esm.js.map +1 -0
- package/dist/esm/DataGrid/DataGridFilters/DataGridFilter.module.scss.esm.js +8 -0
- package/dist/esm/DataGrid/DataGridFilters/DataGridFilter.module.scss.esm.js.map +1 -0
- package/dist/esm/DataGrid/DataGridFilters/DataGridFilterPopover.esm.js +79 -0
- package/dist/esm/DataGrid/DataGridFilters/DataGridFilterPopover.esm.js.map +1 -0
- package/dist/esm/DataGrid/DataGridFilters/DataGridFilterService.esm.js +79 -0
- package/dist/esm/DataGrid/DataGridFilters/DataGridFilterService.esm.js.map +1 -0
- package/dist/esm/DataGrid/DataGridFilters/DataGridFilterTag.esm.js +54 -0
- package/dist/esm/DataGrid/DataGridFilters/DataGridFilterTag.esm.js.map +1 -0
- package/dist/esm/DataGrid/DataGridFilters/DataGridFilters.interfaces.esm.js +26 -0
- package/dist/esm/DataGrid/DataGridFilters/DataGridFilters.interfaces.esm.js.map +1 -0
- package/dist/esm/DataGrid/DataGridFilters/DataGridToolbar.esm.js +62 -0
- package/dist/esm/DataGrid/DataGridFilters/DataGridToolbar.esm.js.map +1 -0
- package/dist/esm/DataGrid/DataGridFilters/DataGridToolbar.module.scss.esm.js +8 -0
- package/dist/esm/DataGrid/DataGridFilters/DataGridToolbar.module.scss.esm.js.map +1 -0
- package/dist/esm/DataGrid/DataGridHeader/DataGridHeader.esm.js +72 -1
- package/dist/esm/DataGrid/DataGridHeader/DataGridHeader.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGridHeader/DataGridHeader.module.scss.esm.js +8 -0
- package/dist/esm/DataGrid/DataGridHeader/DataGridHeader.module.scss.esm.js.map +1 -0
- package/dist/esm/DataGrid/DataGridHeader/DataGridHeaderCell.esm.js +46 -1
- package/dist/esm/DataGrid/DataGridHeader/DataGridHeaderCell.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.esm.js +8 -0
- package/dist/esm/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.esm.js.map +1 -0
- package/dist/esm/Form/Checkbox/Checkbox.esm.js +77 -1
- package/dist/esm/Form/Checkbox/Checkbox.esm.js.map +1 -1
- package/dist/esm/Form/Checkbox/Checkbox.module.scss.esm.js +8 -0
- package/dist/esm/Form/Checkbox/Checkbox.module.scss.esm.js.map +1 -0
- package/dist/esm/Form/Fieldset/Fieldset.esm.js +77 -1
- package/dist/esm/Form/Fieldset/Fieldset.esm.js.map +1 -1
- package/dist/esm/Form/Fieldset/Fieldset.module.scss.esm.js +8 -0
- package/dist/esm/Form/Fieldset/Fieldset.module.scss.esm.js.map +1 -0
- package/dist/esm/Form/FileUpload/FileItem/FileItem.esm.js +129 -1
- package/dist/esm/Form/FileUpload/FileItem/FileItem.esm.js.map +1 -1
- package/dist/esm/Form/FileUpload/FileItem/FileItem.module.scss.esm.js +8 -0
- package/dist/esm/Form/FileUpload/FileItem/FileItem.module.scss.esm.js.map +1 -0
- package/dist/esm/Form/FileUpload/FileUpload.esm.js +176 -1
- package/dist/esm/Form/FileUpload/FileUpload.esm.js.map +1 -1
- package/dist/esm/Form/FileUpload/FileUpload.module.scss.esm.js +8 -0
- package/dist/esm/Form/FileUpload/FileUpload.module.scss.esm.js.map +1 -0
- package/dist/esm/Form/Form.esm.js +24 -1
- package/dist/esm/Form/Form.esm.js.map +1 -1
- package/dist/esm/Form/Form.module.scss.esm.js +8 -0
- package/dist/esm/Form/Form.module.scss.esm.js.map +1 -0
- package/dist/esm/Form/FormControl/FormControl.esm.js +36 -1
- package/dist/esm/Form/FormControl/FormControl.esm.js.map +1 -1
- package/dist/esm/Form/FormControl/FormControl.module.scss.esm.js +8 -0
- package/dist/esm/Form/FormControl/FormControl.module.scss.esm.js.map +1 -0
- package/dist/esm/Form/FormGroup/FormGroup.esm.js +36 -1
- package/dist/esm/Form/FormGroup/FormGroup.esm.js.map +1 -1
- package/dist/esm/Form/FormGroup/FormGroup.module.scss.esm.js +8 -0
- package/dist/esm/Form/FormGroup/FormGroup.module.scss.esm.js.map +1 -0
- package/dist/esm/Form/FormHelperText/FormHelperText.esm.js +29 -1
- package/dist/esm/Form/FormHelperText/FormHelperText.esm.js.map +1 -1
- package/dist/esm/Form/FormHelperText/FormHelperText.module.scss.esm.js +8 -0
- package/dist/esm/Form/FormHelperText/FormHelperText.module.scss.esm.js.map +1 -0
- package/dist/esm/Form/FormSelectorWrapper/FormSelectorWrapper.esm.js +30 -1
- package/dist/esm/Form/FormSelectorWrapper/FormSelectorWrapper.esm.js.map +1 -1
- package/dist/esm/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.esm.js +8 -0
- package/dist/esm/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.esm.js.map +1 -0
- package/dist/esm/Form/Input/Input.esm.js +65 -1
- package/dist/esm/Form/Input/Input.esm.js.map +1 -1
- package/dist/esm/Form/Input/Input.module.scss.esm.js +8 -0
- package/dist/esm/Form/Input/Input.module.scss.esm.js.map +1 -0
- package/dist/esm/Form/Label/Label.esm.js +25 -1
- package/dist/esm/Form/Label/Label.esm.js.map +1 -1
- package/dist/esm/Form/Label/Label.module.scss.esm.js +8 -0
- package/dist/esm/Form/Label/Label.module.scss.esm.js.map +1 -0
- package/dist/esm/Form/Radio/Radio.esm.js +59 -1
- package/dist/esm/Form/Radio/Radio.esm.js.map +1 -1
- package/dist/esm/Form/Radio/Radio.module.scss.esm.js +8 -0
- package/dist/esm/Form/Radio/Radio.module.scss.esm.js.map +1 -0
- package/dist/esm/Form/Select/MultiSelect/MultiOption.esm.js +45 -1
- package/dist/esm/Form/Select/MultiSelect/MultiOption.esm.js.map +1 -1
- package/dist/esm/Form/Select/MultiSelect/MultiSelect.esm.js +238 -1
- package/dist/esm/Form/Select/MultiSelect/MultiSelect.esm.js.map +1 -1
- package/dist/esm/Form/Select/MultiSelect/MultiSelect.module.scss.esm.js +8 -0
- package/dist/esm/Form/Select/MultiSelect/MultiSelect.module.scss.esm.js.map +1 -0
- package/dist/esm/Form/Select/MultiSelect/SelectButton.esm.js +24 -1
- package/dist/esm/Form/Select/MultiSelect/SelectButton.esm.js.map +1 -1
- package/dist/esm/Form/Select/MultiSelect/SelectButton.module.scss.esm.js +8 -0
- package/dist/esm/Form/Select/MultiSelect/SelectButton.module.scss.esm.js.map +1 -0
- package/dist/esm/Form/Select/MultiSelect/SelectedOptions.esm.js +35 -1
- package/dist/esm/Form/Select/MultiSelect/SelectedOptions.esm.js.map +1 -1
- package/dist/esm/Form/Select/MultiSelect/SelectedOptions.module.scss.esm.js +8 -0
- package/dist/esm/Form/Select/MultiSelect/SelectedOptions.module.scss.esm.js.map +1 -0
- package/dist/esm/Form/Select/MultiSelect/useArrowNavigation.esm.js +98 -1
- package/dist/esm/Form/Select/MultiSelect/useArrowNavigation.esm.js.map +1 -1
- package/dist/esm/Form/Select/MultiSelect/useSearch.esm.js +62 -1
- package/dist/esm/Form/Select/MultiSelect/useSearch.esm.js.map +1 -1
- package/dist/esm/Form/Select/SingleSelect/Option.esm.js +50 -1
- package/dist/esm/Form/Select/SingleSelect/Option.esm.js.map +1 -1
- package/dist/esm/Form/Select/SingleSelect/Select.esm.js +174 -1
- package/dist/esm/Form/Select/SingleSelect/Select.esm.js.map +1 -1
- package/dist/esm/Form/Select/SingleSelect/Select.module.scss.esm.js +8 -0
- package/dist/esm/Form/Select/SingleSelect/Select.module.scss.esm.js.map +1 -0
- package/dist/esm/Form/Select/SingleSelect/useArrowNavigation.esm.js +149 -1
- package/dist/esm/Form/Select/SingleSelect/useArrowNavigation.esm.js.map +1 -1
- package/dist/esm/Form/Select/SingleSelect/useSearch.esm.js +76 -1
- package/dist/esm/Form/Select/SingleSelect/useSearch.esm.js.map +1 -1
- package/dist/esm/Form/Select/useAddNewBtn.esm.js +52 -1
- package/dist/esm/Form/Select/useAddNewBtn.esm.js.map +1 -1
- package/dist/esm/Form/Select/useAddNewBtn.module.scss.esm.js +8 -0
- package/dist/esm/Form/Select/useAddNewBtn.module.scss.esm.js.map +1 -0
- package/dist/esm/Form/Select/useSelectPositionList.esm.js +87 -1
- package/dist/esm/Form/Select/useSelectPositionList.esm.js.map +1 -1
- package/dist/esm/Form/Textarea/Textarea.esm.js +43 -1
- package/dist/esm/Form/Textarea/Textarea.esm.js.map +1 -1
- package/dist/esm/Form/Textarea/Textarea.module.scss.esm.js +8 -0
- package/dist/esm/Form/Textarea/Textarea.module.scss.esm.js.map +1 -0
- package/dist/esm/Form/Toggle/Toggle.esm.js +35 -1
- package/dist/esm/Form/Toggle/Toggle.esm.js.map +1 -1
- package/dist/esm/Form/Toggle/Toggle.module.scss.esm.js +8 -0
- package/dist/esm/Form/Toggle/Toggle.module.scss.esm.js.map +1 -0
- package/dist/esm/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.esm.js +48 -1
- package/dist/esm/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.esm.js.map +1 -1
- package/dist/esm/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.esm.js +8 -0
- package/dist/esm/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.esm.js.map +1 -0
- package/dist/esm/Form/Wrapper/InputWrapper/InputWrapper.esm.js +53 -1
- package/dist/esm/Form/Wrapper/InputWrapper/InputWrapper.esm.js.map +1 -1
- package/dist/esm/Form/Wrapper/InputWrapper/InputWrapper.module.scss.esm.js +8 -0
- package/dist/esm/Form/Wrapper/InputWrapper/InputWrapper.module.scss.esm.js.map +1 -0
- package/dist/esm/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.esm.js +33 -1
- package/dist/esm/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.esm.js.map +1 -1
- package/dist/esm/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.esm.js +8 -0
- package/dist/esm/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.esm.js.map +1 -0
- package/dist/esm/Form/Wrapper/RadioWrapper/RadioWrapper.esm.js +48 -1
- package/dist/esm/Form/Wrapper/RadioWrapper/RadioWrapper.esm.js.map +1 -1
- package/dist/esm/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.esm.js +8 -0
- package/dist/esm/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.esm.js.map +1 -0
- package/dist/esm/Form/Wrapper/SelectWrapper/SelectWrapper.esm.js +33 -1
- package/dist/esm/Form/Wrapper/SelectWrapper/SelectWrapper.esm.js.map +1 -1
- package/dist/esm/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.esm.js +8 -0
- package/dist/esm/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.esm.js.map +1 -0
- package/dist/esm/Form/Wrapper/TextareaWrapper/TextareaWrapper.esm.js +55 -1
- package/dist/esm/Form/Wrapper/TextareaWrapper/TextareaWrapper.esm.js.map +1 -1
- package/dist/esm/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.esm.js +8 -0
- package/dist/esm/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.esm.js.map +1 -0
- package/dist/esm/Form/Wrapper/Wrapper/Wrapper.esm.js +38 -1
- package/dist/esm/Form/Wrapper/Wrapper/Wrapper.esm.js.map +1 -1
- package/dist/esm/Form/Wrapper/Wrapper/Wrapper.module.scss.esm.js +8 -0
- package/dist/esm/Form/Wrapper/Wrapper/Wrapper.module.scss.esm.js.map +1 -0
- package/dist/esm/Icon/Icon.esm.js +109 -1
- package/dist/esm/Icon/Icon.esm.js.map +1 -1
- package/dist/esm/Icon/Icon.module.scss.esm.js +8 -0
- package/dist/esm/Icon/Icon.module.scss.esm.js.map +1 -0
- package/dist/esm/Layout/ContentHeader/ContentHeader.esm.js +31 -1
- package/dist/esm/Layout/ContentHeader/ContentHeader.esm.js.map +1 -1
- package/dist/esm/Layout/ContentHeader/ContentHeader.module.scss.esm.js +8 -0
- package/dist/esm/Layout/ContentHeader/ContentHeader.module.scss.esm.js.map +1 -0
- package/dist/esm/Layout/FormPage/FormWithStepper/FormSection/FormSection.esm.js +29 -1
- package/dist/esm/Layout/FormPage/FormWithStepper/FormSection/FormSection.esm.js.map +1 -1
- package/dist/esm/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.esm.js +8 -0
- package/dist/esm/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.esm.js.map +1 -0
- package/dist/esm/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.esm.js +43 -1
- package/dist/esm/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.esm.js.map +1 -1
- package/dist/esm/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.esm.js +8 -0
- package/dist/esm/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.esm.js.map +1 -0
- package/dist/esm/Layout/FormPage/FormWithStepper/FormWithStepper.esm.js +25 -1
- package/dist/esm/Layout/FormPage/FormWithStepper/FormWithStepper.esm.js.map +1 -1
- package/dist/esm/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.esm.js +8 -0
- package/dist/esm/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.esm.js.map +1 -0
- package/dist/esm/Link/Link.esm.js +54 -1
- package/dist/esm/Link/Link.esm.js.map +1 -1
- package/dist/esm/Link/Link.module.scss.esm.js +8 -0
- package/dist/esm/Link/Link.module.scss.esm.js.map +1 -0
- package/dist/esm/Notifications/Alert/AlertContainer/AlertContainer.esm.js +31 -1
- package/dist/esm/Notifications/Alert/AlertContainer/AlertContainer.esm.js.map +1 -1
- package/dist/esm/Notifications/Alert/AlertContainer/AlertContainer.module.scss.esm.js +8 -0
- package/dist/esm/Notifications/Alert/AlertContainer/AlertContainer.module.scss.esm.js.map +1 -0
- package/dist/esm/Notifications/Alert/AlertContainer/useAlertContainerHeightAnimation.esm.js +45 -1
- package/dist/esm/Notifications/Alert/AlertContainer/useAlertContainerHeightAnimation.esm.js.map +1 -1
- package/dist/esm/Notifications/Alert/AlertItem/AlertItem.esm.js +117 -1
- package/dist/esm/Notifications/Alert/AlertItem/AlertItem.esm.js.map +1 -1
- package/dist/esm/Notifications/Alert/AlertItem/AlertItem.module.scss.esm.js +8 -0
- package/dist/esm/Notifications/Alert/AlertItem/AlertItem.module.scss.esm.js.map +1 -0
- package/dist/esm/Notifications/Alert/AlertProvider/AlertContext.esm.js +28 -1
- package/dist/esm/Notifications/Alert/AlertProvider/AlertContext.esm.js.map +1 -1
- package/dist/esm/Notifications/Alert/AlertProvider/AlertProvider.esm.js +120 -1
- package/dist/esm/Notifications/Alert/AlertProvider/AlertProvider.esm.js.map +1 -1
- package/dist/esm/Notifications/Alert/useAlert.esm.js +30 -1
- package/dist/esm/Notifications/Alert/useAlert.esm.js.map +1 -1
- package/dist/esm/Notifications/Banner/Banner.esm.js +43 -1
- package/dist/esm/Notifications/Banner/Banner.esm.js.map +1 -1
- package/dist/esm/Notifications/Banner/Banner.module.scss.esm.js +8 -0
- package/dist/esm/Notifications/Banner/Banner.module.scss.esm.js.map +1 -0
- package/dist/esm/Notifications/BaseModal/BaseModal.esm.js +79 -1
- package/dist/esm/Notifications/BaseModal/BaseModal.esm.js.map +1 -1
- package/dist/esm/Notifications/BaseModal/BaseModal.module.scss.esm.js +8 -0
- package/dist/esm/Notifications/BaseModal/BaseModal.module.scss.esm.js.map +1 -0
- package/dist/esm/Notifications/BaseModal/BaseModalActions/BaseModalActions.esm.js +31 -1
- package/dist/esm/Notifications/BaseModal/BaseModalActions/BaseModalActions.esm.js.map +1 -1
- package/dist/esm/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.esm.js +8 -0
- package/dist/esm/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.esm.js.map +1 -0
- package/dist/esm/Notifications/BaseModal/BaseModalContent/BaseModalContent.esm.js +35 -1
- package/dist/esm/Notifications/BaseModal/BaseModalContent/BaseModalContent.esm.js.map +1 -1
- package/dist/esm/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.esm.js +8 -0
- package/dist/esm/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.esm.js.map +1 -0
- package/dist/esm/Notifications/BaseModal/BaseModalContext.esm.js +19 -1
- package/dist/esm/Notifications/BaseModal/BaseModalContext.esm.js.map +1 -1
- package/dist/esm/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.esm.js +33 -1
- package/dist/esm/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.esm.js.map +1 -1
- package/dist/esm/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.esm.js +8 -0
- package/dist/esm/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.esm.js.map +1 -0
- package/dist/esm/Notifications/BaseModal/useRepeatFocus.esm.js +65 -1
- package/dist/esm/Notifications/BaseModal/useRepeatFocus.esm.js.map +1 -1
- package/dist/esm/Notifications/Dialog/Dialog.esm.js +54 -1
- package/dist/esm/Notifications/Dialog/Dialog.esm.js.map +1 -1
- package/dist/esm/Notifications/Dialog/Dialog.module.scss.esm.js +8 -0
- package/dist/esm/Notifications/Dialog/Dialog.module.scss.esm.js.map +1 -0
- package/dist/esm/Notifications/Dialog/DialogActions/DialogActions.esm.js +25 -1
- package/dist/esm/Notifications/Dialog/DialogActions/DialogActions.esm.js.map +1 -1
- package/dist/esm/Notifications/Dialog/DialogActions/DialogActions.module.scss.esm.js +8 -0
- package/dist/esm/Notifications/Dialog/DialogActions/DialogActions.module.scss.esm.js.map +1 -0
- package/dist/esm/Notifications/Dialog/DialogTitle/DialogTitle.esm.js +34 -1
- package/dist/esm/Notifications/Dialog/DialogTitle/DialogTitle.esm.js.map +1 -1
- package/dist/esm/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.esm.js +8 -0
- package/dist/esm/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.esm.js.map +1 -0
- package/dist/esm/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.esm.js +32 -1
- package/dist/esm/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.esm.js.map +1 -1
- package/dist/esm/Notifications/DiscardChangesModal/DiscardChangesModal.esm.js +38 -1
- package/dist/esm/Notifications/DiscardChangesModal/DiscardChangesModal.esm.js.map +1 -1
- package/dist/esm/Notifications/NotificationProvider/NotificationContext.esm.js +142 -1
- package/dist/esm/Notifications/NotificationProvider/NotificationContext.esm.js.map +1 -1
- package/dist/esm/Notifications/NotificationProvider/NotificationService.esm.js +32 -1
- package/dist/esm/Notifications/NotificationProvider/NotificationService.esm.js.map +1 -1
- package/dist/esm/Notifications/SlideInModal/SlideInModal.esm.js +39 -1
- package/dist/esm/Notifications/SlideInModal/SlideInModal.esm.js.map +1 -1
- package/dist/esm/Notifications/SlideInModal/SlideInModal.module.scss.esm.js +8 -0
- package/dist/esm/Notifications/SlideInModal/SlideInModal.module.scss.esm.js.map +1 -0
- package/dist/esm/Pagination/Pagination.esm.js +94 -1
- package/dist/esm/Pagination/Pagination.esm.js.map +1 -1
- package/dist/esm/Pagination/Pagination.module.scss.esm.js +8 -0
- package/dist/esm/Pagination/Pagination.module.scss.esm.js.map +1 -0
- package/dist/esm/Popover/Popover.esm.js +86 -1
- package/dist/esm/Popover/Popover.esm.js.map +1 -1
- package/dist/esm/Popover/Popover.module.scss.esm.js +8 -0
- package/dist/esm/Popover/Popover.module.scss.esm.js.map +1 -0
- package/dist/esm/ProgressBar/ProgressBar.esm.js +34 -1
- package/dist/esm/ProgressBar/ProgressBar.esm.js.map +1 -1
- package/dist/esm/ProgressBar/ProgressBar.module.scss.esm.js +8 -0
- package/dist/esm/ProgressBar/ProgressBar.module.scss.esm.js.map +1 -0
- package/dist/esm/Skeleton/Skeleton.esm.js +29 -1
- package/dist/esm/Skeleton/Skeleton.esm.js.map +1 -1
- package/dist/esm/Skeleton/Skeleton.module.scss.esm.js +8 -0
- package/dist/esm/Skeleton/Skeleton.module.scss.esm.js.map +1 -0
- package/dist/esm/Stepper/Step.esm.js +65 -1
- package/dist/esm/Stepper/Step.esm.js.map +1 -1
- package/dist/esm/Stepper/Step.module.scss.esm.js +8 -0
- package/dist/esm/Stepper/Step.module.scss.esm.js.map +1 -0
- package/dist/esm/Stepper/Stepper.esm.js +28 -1
- package/dist/esm/Stepper/Stepper.esm.js.map +1 -1
- package/dist/esm/Stepper/Stepper.module.scss.esm.js +8 -0
- package/dist/esm/Stepper/Stepper.module.scss.esm.js.map +1 -0
- package/dist/esm/Tabs/Tab.esm.js +24 -1
- package/dist/esm/Tabs/Tab.esm.js.map +1 -1
- package/dist/esm/Tabs/Tab.module.scss.esm.js +8 -0
- package/dist/esm/Tabs/Tab.module.scss.esm.js.map +1 -0
- package/dist/esm/Tabs/TabButton.esm.js +37 -1
- package/dist/esm/Tabs/TabButton.esm.js.map +1 -1
- package/dist/esm/Tabs/TabButton.module.scss.esm.js +8 -0
- package/dist/esm/Tabs/TabButton.module.scss.esm.js.map +1 -0
- package/dist/esm/Tabs/Tabs.esm.js +129 -1
- package/dist/esm/Tabs/Tabs.esm.js.map +1 -1
- package/dist/esm/Tabs/Tabs.module.scss.esm.js +8 -0
- package/dist/esm/Tabs/Tabs.module.scss.esm.js.map +1 -0
- package/dist/esm/Tag/RemoveButton.esm.js +31 -1
- package/dist/esm/Tag/RemoveButton.esm.js.map +1 -1
- package/dist/esm/Tag/RemoveButton.module.scss.esm.js +8 -0
- package/dist/esm/Tag/RemoveButton.module.scss.esm.js.map +1 -0
- package/dist/esm/Tag/Tag.esm.js +46 -1
- package/dist/esm/Tag/Tag.esm.js.map +1 -1
- package/dist/esm/Tag/Tag.module.scss.esm.js +8 -0
- package/dist/esm/Tag/Tag.module.scss.esm.js.map +1 -0
- package/dist/esm/TextEllipsis/TextEllipsis.esm.js +42 -1
- package/dist/esm/TextEllipsis/TextEllipsis.esm.js.map +1 -1
- package/dist/esm/TextEllipsis/TextEllipsis.module.scss.esm.js +8 -0
- package/dist/esm/TextEllipsis/TextEllipsis.module.scss.esm.js.map +1 -0
- package/dist/esm/Tiles/Tile.esm.js +45 -1
- package/dist/esm/Tiles/Tile.esm.js.map +1 -1
- package/dist/esm/Tiles/Tile.module.scss.esm.js +8 -0
- package/dist/esm/Tiles/Tile.module.scss.esm.js.map +1 -0
- package/dist/esm/Tiles/Tiles.esm.js +35 -1
- package/dist/esm/Tiles/Tiles.esm.js.map +1 -1
- package/dist/esm/Tiles/Tiles.module.scss.esm.js +8 -0
- package/dist/esm/Tiles/Tiles.module.scss.esm.js.map +1 -0
- package/dist/esm/Tooltip/Tooltip.esm.js +151 -1
- package/dist/esm/Tooltip/Tooltip.esm.js.map +1 -1
- package/dist/esm/Tooltip/Tooltip.module.scss.esm.js +8 -0
- package/dist/esm/Tooltip/Tooltip.module.scss.esm.js.map +1 -0
- package/dist/esm/Typography/Typography.esm.js +63 -1
- package/dist/esm/Typography/Typography.esm.js.map +1 -1
- package/dist/esm/Typography/Typography.module.scss.esm.js +8 -0
- package/dist/esm/Typography/Typography.module.scss.esm.js.map +1 -0
- package/dist/esm/_BaseStyling_/BaseStyling.esm.js +230 -1
- package/dist/esm/_BaseStyling_/BaseStyling.esm.js.map +1 -1
- package/dist/esm/admin/layout/MicrofrontendContainer/MicrofrontendContainer.esm.js +28 -1
- package/dist/esm/admin/layout/MicrofrontendContainer/MicrofrontendContainer.esm.js.map +1 -1
- package/dist/esm/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.esm.js +8 -0
- package/dist/esm/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.esm.js.map +1 -0
- package/dist/esm/node_modules/style-inject/dist/style-inject.es.esm.js +28 -1
- package/dist/esm/node_modules/style-inject/dist/style-inject.es.esm.js.map +1 -1
- package/dist/esm/src/components/DataGrid/DataGrid.d.ts +6 -0
- package/dist/esm/src/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.d.ts +5 -0
- package/dist/esm/src/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.d.ts +6 -0
- package/dist/esm/src/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.d.ts +16 -0
- package/dist/esm/src/components/DataGrid/DataGridFilters/DataGridFilter.d.ts +15 -0
- package/dist/esm/src/components/DataGrid/DataGridFilters/DataGridFilterPopover.d.ts +22 -0
- package/dist/esm/src/components/DataGrid/DataGridFilters/DataGridFilterService.d.ts +15 -0
- package/dist/esm/src/components/DataGrid/DataGridFilters/DataGridFilterTag.d.ts +12 -0
- package/dist/esm/src/components/DataGrid/DataGridFilters/DataGridFilters.interfaces.d.ts +57 -0
- package/dist/esm/src/components/DataGrid/DataGridFilters/DataGridToolbar.d.ts +13 -0
- package/dist/esm/src/components/DataGrid/DataGridHeader/DataGridHeader.d.ts +1 -0
- package/dist/esm/src/components/DataGrid/testUtils.d.ts +13 -0
- package/dist/esm/src/components/Form/FileUpload/FileUpload.d.ts +2 -1
- package/dist/esm/src/components/Form/Select/MultiSelect/MultiSelect.test.d.ts +2 -3
- package/dist/esm/src/components/Form/Select/MultiSelect/useSearch.d.ts +2 -12
- package/dist/esm/src/components/Form/Select/Select.interfaces.d.ts +1 -11
- package/dist/esm/src/components/Form/Select/SingleSelect/Select.test.d.ts +2 -3
- package/dist/esm/src/components/Form/Select/SingleSelect/useSearch.d.ts +2 -12
- package/dist/esm/src/components/Form/Select/useSelectPositionList.d.ts +2 -2
- package/dist/esm/src/components/Icon/Icon.d.ts +4 -1
- package/dist/esm/src/components/_BaseStyling_/BaseStyling.d.ts +0 -26
- package/dist/esm/src/hooks/useAnimation.esm.js +35 -1
- package/dist/esm/src/hooks/useAnimation.esm.js.map +1 -1
- package/dist/esm/src/hooks/useBodyClick.esm.js +32 -1
- package/dist/esm/src/hooks/useBodyClick.esm.js.map +1 -1
- package/dist/esm/src/hooks/useDebouncedCallback.esm.js +31 -1
- package/dist/esm/src/hooks/useDebouncedCallback.esm.js.map +1 -1
- package/dist/esm/src/hooks/useDetermineStatusIcon.esm.js +33 -1
- package/dist/esm/src/hooks/useDetermineStatusIcon.esm.js.map +1 -1
- package/dist/esm/src/hooks/useFormSelector.esm.js +46 -1
- package/dist/esm/src/hooks/useFormSelector.esm.js.map +1 -1
- package/dist/esm/src/hooks/useFullHeightCollapse.d.ts +4 -0
- package/dist/esm/src/hooks/useFullHeightCollapse.esm.js +33 -0
- package/dist/esm/src/hooks/useFullHeightCollapse.esm.js.map +1 -0
- package/dist/esm/src/hooks/useGetDomRoot.esm.js +36 -1
- package/dist/esm/src/hooks/useGetDomRoot.esm.js.map +1 -1
- package/dist/esm/src/hooks/usePosition.esm.js +240 -1
- package/dist/esm/src/hooks/usePosition.esm.js.map +1 -1
- package/dist/esm/src/hooks/useRepeater.esm.js +39 -1
- package/dist/esm/src/hooks/useRepeater.esm.js.map +1 -1
- package/dist/esm/src/hooks/useSpacing.esm.js +32 -1
- package/dist/esm/src/hooks/useSpacing.esm.js.map +1 -1
- package/dist/esm/src/hooks/useWrapper.esm.js +33 -1
- package/dist/esm/src/hooks/useWrapper.esm.js.map +1 -1
- package/dist/esm/src/index.d.ts +7 -21
- package/dist/esm/src/index.esm.js +68 -1
- package/dist/esm/src/index.esm.js.map +1 -1
- package/dist/esm/src/readyclasses.module.scss.esm.js +8 -0
- package/dist/esm/src/readyclasses.module.scss.esm.js.map +1 -0
- package/dist/esm/src/util/helper.esm.js +155 -1
- package/dist/esm/src/util/helper.esm.js.map +1 -1
- package/dist/lib/style-inject.js +2 -4
- package/dist/lib/style-inject.js.map +1 -1
- package/package.json +60 -59
- package/src/components/DataGrid/DataGrid.tsx +24 -10
- package/src/components/DataGrid/DataGridBody/DataGridBody.tsx +2 -2
- package/src/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss +54 -0
- package/src/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.tsx +72 -0
- package/src/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss +60 -0
- package/src/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.tsx +39 -0
- package/src/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss +21 -0
- package/src/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.tsx +47 -0
- package/src/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss +49 -0
- package/src/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.tsx +122 -0
- package/src/components/DataGrid/DataGridBody/__snapshots__/DataGridBody.test.tsx.snap +4 -4
- package/src/components/DataGrid/DataGridFilters/DataGridFilter.module.scss +105 -0
- package/src/components/DataGrid/DataGridFilters/DataGridFilter.tsx +150 -0
- package/src/components/DataGrid/DataGridFilters/DataGridFilterPopover.tsx +181 -0
- package/src/components/DataGrid/DataGridFilters/DataGridFilterService.ts +97 -0
- package/src/components/DataGrid/DataGridFilters/DataGridFilterTag.tsx +91 -0
- package/src/components/DataGrid/DataGridFilters/DataGridFilters.interfaces.ts +84 -0
- package/src/components/DataGrid/DataGridFilters/DataGridToolbar.module.scss +49 -0
- package/src/components/DataGrid/DataGridFilters/DataGridToolbar.tsx +126 -0
- package/src/components/DataGrid/DataGridHeader/DataGridHeader.tsx +6 -1
- package/src/components/DataGrid/testUtils.ts +77 -0
- package/src/components/Form/FileUpload/FileItem/FileItem.tsx +5 -8
- package/src/components/Form/FileUpload/FileUpload.module.scss +9 -4
- package/src/components/Form/FileUpload/FileUpload.tsx +34 -15
- package/src/components/Form/Select/MultiSelect/MultiOption.tsx +4 -2
- package/src/components/Form/Select/MultiSelect/MultiSelect.tsx +1 -5
- package/src/components/Form/Select/MultiSelect/useSearch.tsx +6 -16
- package/src/components/Form/Select/Select.interfaces.ts +1 -9
- package/src/components/Form/Select/SingleSelect/Select.tsx +1 -5
- package/src/components/Form/Select/SingleSelect/useSearch.tsx +6 -18
- package/src/components/Icon/Icon.module.scss +12 -0
- package/src/components/Icon/Icon.tsx +4 -1
- package/src/components/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss +12 -15
- package/src/components/Layout/FormPage/FormWithStepper/FormWithStepper.tsx +3 -5
- package/src/components/Notifications/NotificationProvider/NotificationContext.tsx +12 -16
- package/src/components/Pagination/Pagination.tsx +15 -6
- package/src/components/Popover/Popover.tsx +1 -1
- package/src/components/Tag/RemoveButton.module.scss +1 -0
- package/src/components/_BaseStyling_/BaseStyling.tsx +0 -36
- package/src/font/icomoon.eot +0 -0
- package/src/font/icomoon.svg +3 -0
- package/src/font/icomoon.ttf +0 -0
- package/src/font/icomoon.woff +0 -0
- package/src/font/selection.json +1 -1
- package/src/hooks/useFullHeightCollapse.ts +33 -0
- package/src/hooks/usePosition.ts +3 -4
- package/src/index.ts +7 -25
- package/src/types.d.ts +1 -1
- package/dist/cjs/Breadcrumbs/Breadcrumbs.module.cjs.js +0 -2
- package/dist/cjs/Breadcrumbs/Breadcrumbs.module.cjs.js.map +0 -1
- package/dist/cjs/Button/BaseButton.module.cjs.js +0 -2
- package/dist/cjs/Button/BaseButton.module.cjs.js.map +0 -1
- package/dist/cjs/Button/Button.module.cjs.js +0 -2
- package/dist/cjs/Button/Button.module.cjs.js.map +0 -1
- package/dist/cjs/Button/IconButton.module.cjs.js +0 -2
- package/dist/cjs/Button/IconButton.module.cjs.js.map +0 -1
- package/dist/cjs/ContextMenu/ContextMenu.module.cjs.js +0 -2
- package/dist/cjs/ContextMenu/ContextMenu.module.cjs.js.map +0 -1
- package/dist/cjs/ContextMenu/ContextMenuItem.module.cjs.js +0 -2
- package/dist/cjs/ContextMenu/ContextMenuItem.module.cjs.js.map +0 -1
- package/dist/cjs/DataGrid/DataGrid.module.cjs.js +0 -2
- package/dist/cjs/DataGrid/DataGrid.module.cjs.js.map +0 -1
- package/dist/cjs/DataGrid/DataGridActions/DataGridActions.module.cjs.js +0 -2
- package/dist/cjs/DataGrid/DataGridActions/DataGridActions.module.cjs.js.map +0 -1
- package/dist/cjs/DataGrid/DataGridActions/DataGridColumnsToggle.module.cjs.js +0 -2
- package/dist/cjs/DataGrid/DataGridActions/DataGridColumnsToggle.module.cjs.js.map +0 -1
- package/dist/cjs/DataGrid/DataGridBody/DataGridBody.module.cjs.js +0 -2
- package/dist/cjs/DataGrid/DataGridBody/DataGridBody.module.cjs.js.map +0 -1
- package/dist/cjs/DataGrid/DataGridBody/DataGridCell.cjs.js +0 -2
- package/dist/cjs/DataGrid/DataGridBody/DataGridCell.cjs.js.map +0 -1
- package/dist/cjs/DataGrid/DataGridBody/DataGridCell.module.cjs.js +0 -2
- package/dist/cjs/DataGrid/DataGridBody/DataGridCell.module.cjs.js.map +0 -1
- package/dist/cjs/DataGrid/DataGridBody/DataGridRow.cjs.js +0 -2
- package/dist/cjs/DataGrid/DataGridBody/DataGridRow.cjs.js.map +0 -1
- package/dist/cjs/DataGrid/DataGridBody/DataGridRow.module.cjs.js +0 -2
- package/dist/cjs/DataGrid/DataGridBody/DataGridRow.module.cjs.js.map +0 -1
- package/dist/cjs/DataGrid/DataGridHeader/DataGridHeader.module.cjs.js +0 -2
- package/dist/cjs/DataGrid/DataGridHeader/DataGridHeader.module.cjs.js.map +0 -1
- package/dist/cjs/DataGrid/DataGridHeader/DataGridHeaderCell.module.cjs.js +0 -2
- package/dist/cjs/DataGrid/DataGridHeader/DataGridHeaderCell.module.cjs.js.map +0 -1
- package/dist/cjs/Form/Checkbox/Checkbox.module.cjs.js +0 -2
- package/dist/cjs/Form/Checkbox/Checkbox.module.cjs.js.map +0 -1
- package/dist/cjs/Form/Fieldset/Fieldset.module.cjs.js +0 -2
- package/dist/cjs/Form/Fieldset/Fieldset.module.cjs.js.map +0 -1
- package/dist/cjs/Form/FileUpload/FileItem/FileItem.module.cjs.js +0 -2
- package/dist/cjs/Form/FileUpload/FileItem/FileItem.module.cjs.js.map +0 -1
- package/dist/cjs/Form/FileUpload/FileUpload.module.cjs.js +0 -2
- package/dist/cjs/Form/FileUpload/FileUpload.module.cjs.js.map +0 -1
- package/dist/cjs/Form/Form.module.cjs.js +0 -2
- package/dist/cjs/Form/Form.module.cjs.js.map +0 -1
- package/dist/cjs/Form/FormControl/FormControl.module.cjs.js +0 -2
- package/dist/cjs/Form/FormControl/FormControl.module.cjs.js.map +0 -1
- package/dist/cjs/Form/FormGroup/FormGroup.module.cjs.js +0 -2
- package/dist/cjs/Form/FormGroup/FormGroup.module.cjs.js.map +0 -1
- package/dist/cjs/Form/FormHelperText/FormHelperText.module.cjs.js +0 -2
- package/dist/cjs/Form/FormHelperText/FormHelperText.module.cjs.js.map +0 -1
- package/dist/cjs/Form/FormSelectorWrapper/FormSelectorWrapper.module.cjs.js +0 -2
- package/dist/cjs/Form/FormSelectorWrapper/FormSelectorWrapper.module.cjs.js.map +0 -1
- package/dist/cjs/Form/Input/Input.module.cjs.js +0 -2
- package/dist/cjs/Form/Input/Input.module.cjs.js.map +0 -1
- package/dist/cjs/Form/Label/Label.module.cjs.js +0 -2
- package/dist/cjs/Form/Label/Label.module.cjs.js.map +0 -1
- package/dist/cjs/Form/Radio/Radio.module.cjs.js +0 -2
- package/dist/cjs/Form/Radio/Radio.module.cjs.js.map +0 -1
- package/dist/cjs/Form/Select/MultiSelect/MultiSelect.module.cjs.js +0 -2
- package/dist/cjs/Form/Select/MultiSelect/MultiSelect.module.cjs.js.map +0 -1
- package/dist/cjs/Form/Select/MultiSelect/SelectButton.module.cjs.js +0 -2
- package/dist/cjs/Form/Select/MultiSelect/SelectButton.module.cjs.js.map +0 -1
- package/dist/cjs/Form/Select/MultiSelect/SelectedOptions.module.cjs.js +0 -2
- package/dist/cjs/Form/Select/MultiSelect/SelectedOptions.module.cjs.js.map +0 -1
- package/dist/cjs/Form/Select/SingleSelect/Select.module.cjs.js +0 -2
- package/dist/cjs/Form/Select/SingleSelect/Select.module.cjs.js.map +0 -1
- package/dist/cjs/Form/Select/useAddNewBtn.module.cjs.js +0 -2
- package/dist/cjs/Form/Select/useAddNewBtn.module.cjs.js.map +0 -1
- package/dist/cjs/Form/Textarea/Textarea.module.cjs.js +0 -2
- package/dist/cjs/Form/Textarea/Textarea.module.cjs.js.map +0 -1
- package/dist/cjs/Form/Toggle/Toggle.module.cjs.js +0 -2
- package/dist/cjs/Form/Toggle/Toggle.module.cjs.js.map +0 -1
- package/dist/cjs/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.cjs.js +0 -2
- package/dist/cjs/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.cjs.js.map +0 -1
- package/dist/cjs/Form/Wrapper/InputWrapper/InputWrapper.module.cjs.js +0 -2
- package/dist/cjs/Form/Wrapper/InputWrapper/InputWrapper.module.cjs.js.map +0 -1
- package/dist/cjs/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.cjs.js +0 -2
- package/dist/cjs/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.cjs.js.map +0 -1
- package/dist/cjs/Form/Wrapper/RadioWrapper/RadioWrapper.module.cjs.js +0 -2
- package/dist/cjs/Form/Wrapper/RadioWrapper/RadioWrapper.module.cjs.js.map +0 -1
- package/dist/cjs/Form/Wrapper/SelectWrapper/SelectWrapper.module.cjs.js +0 -2
- package/dist/cjs/Form/Wrapper/SelectWrapper/SelectWrapper.module.cjs.js.map +0 -1
- package/dist/cjs/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.cjs.js +0 -2
- package/dist/cjs/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.cjs.js.map +0 -1
- package/dist/cjs/Form/Wrapper/Wrapper/Wrapper.module.cjs.js +0 -2
- package/dist/cjs/Form/Wrapper/Wrapper/Wrapper.module.cjs.js.map +0 -1
- package/dist/cjs/Icon/Icon.module.cjs.js +0 -2
- package/dist/cjs/Icon/Icon.module.cjs.js.map +0 -1
- package/dist/cjs/Layout/ContentHeader/ContentHeader.module.cjs.js +0 -2
- package/dist/cjs/Layout/ContentHeader/ContentHeader.module.cjs.js.map +0 -1
- package/dist/cjs/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.cjs.js +0 -2
- package/dist/cjs/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.cjs.js.map +0 -1
- package/dist/cjs/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.cjs.js +0 -2
- package/dist/cjs/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.cjs.js.map +0 -1
- package/dist/cjs/Layout/FormPage/FormWithStepper/FormWithStepper.module.cjs.js +0 -2
- package/dist/cjs/Layout/FormPage/FormWithStepper/FormWithStepper.module.cjs.js.map +0 -1
- package/dist/cjs/Link/Link.module.cjs.js +0 -2
- package/dist/cjs/Link/Link.module.cjs.js.map +0 -1
- package/dist/cjs/Notifications/Alert/AlertContainer/AlertContainer.module.cjs.js +0 -2
- package/dist/cjs/Notifications/Alert/AlertContainer/AlertContainer.module.cjs.js.map +0 -1
- package/dist/cjs/Notifications/Alert/AlertItem/AlertItem.module.cjs.js +0 -2
- package/dist/cjs/Notifications/Alert/AlertItem/AlertItem.module.cjs.js.map +0 -1
- package/dist/cjs/Notifications/Banner/Banner.module.cjs.js +0 -2
- package/dist/cjs/Notifications/Banner/Banner.module.cjs.js.map +0 -1
- package/dist/cjs/Notifications/BaseModal/BaseModal.module.cjs.js +0 -2
- package/dist/cjs/Notifications/BaseModal/BaseModal.module.cjs.js.map +0 -1
- package/dist/cjs/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.cjs.js +0 -2
- package/dist/cjs/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.cjs.js.map +0 -1
- package/dist/cjs/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.cjs.js +0 -2
- package/dist/cjs/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.cjs.js.map +0 -1
- package/dist/cjs/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.cjs.js +0 -2
- package/dist/cjs/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.cjs.js.map +0 -1
- package/dist/cjs/Notifications/Dialog/Dialog.module.cjs.js +0 -2
- package/dist/cjs/Notifications/Dialog/Dialog.module.cjs.js.map +0 -1
- package/dist/cjs/Notifications/Dialog/DialogActions/DialogActions.module.cjs.js +0 -2
- package/dist/cjs/Notifications/Dialog/DialogActions/DialogActions.module.cjs.js.map +0 -1
- package/dist/cjs/Notifications/Dialog/DialogTitle/DialogTitle.module.cjs.js +0 -2
- package/dist/cjs/Notifications/Dialog/DialogTitle/DialogTitle.module.cjs.js.map +0 -1
- package/dist/cjs/Notifications/SlideInModal/SlideInModal.module.cjs.js +0 -2
- package/dist/cjs/Notifications/SlideInModal/SlideInModal.module.cjs.js.map +0 -1
- package/dist/cjs/Notifications/Snackbar/SnackbarContainer/SnackbarContainer.cjs.js +0 -2
- package/dist/cjs/Notifications/Snackbar/SnackbarContainer/SnackbarContainer.cjs.js.map +0 -1
- package/dist/cjs/Notifications/Snackbar/SnackbarContainer/SnackbarContainer.module.cjs.js +0 -2
- package/dist/cjs/Notifications/Snackbar/SnackbarContainer/SnackbarContainer.module.cjs.js.map +0 -1
- package/dist/cjs/Notifications/Snackbar/SnackbarItem/SnackbarItem.cjs.js +0 -2
- package/dist/cjs/Notifications/Snackbar/SnackbarItem/SnackbarItem.cjs.js.map +0 -1
- package/dist/cjs/Notifications/Snackbar/SnackbarItem/SnackbarItem.module.cjs.js +0 -2
- package/dist/cjs/Notifications/Snackbar/SnackbarItem/SnackbarItem.module.cjs.js.map +0 -1
- package/dist/cjs/Notifications/Snackbar/SnackbarProvider/SnackbarProvider.cjs.js +0 -2
- package/dist/cjs/Notifications/Snackbar/SnackbarProvider/SnackbarProvider.cjs.js.map +0 -1
- package/dist/cjs/Notifications/Snackbar/SnackbarProvider/SnackbarStateProvider.cjs.js +0 -2
- package/dist/cjs/Notifications/Snackbar/SnackbarProvider/SnackbarStateProvider.cjs.js.map +0 -1
- package/dist/cjs/Notifications/Snackbar/interfaces.cjs.js +0 -2
- package/dist/cjs/Notifications/Snackbar/interfaces.cjs.js.map +0 -1
- package/dist/cjs/Notifications/Snackbar/useSnackbar.cjs.js +0 -2
- package/dist/cjs/Notifications/Snackbar/useSnackbar.cjs.js.map +0 -1
- package/dist/cjs/Pagination/Pagination.module.cjs.js +0 -2
- package/dist/cjs/Pagination/Pagination.module.cjs.js.map +0 -1
- package/dist/cjs/Popover/Popover.module.cjs.js +0 -2
- package/dist/cjs/Popover/Popover.module.cjs.js.map +0 -1
- package/dist/cjs/ProgressBar/ProgressBar.module.cjs.js +0 -2
- package/dist/cjs/ProgressBar/ProgressBar.module.cjs.js.map +0 -1
- package/dist/cjs/Skeleton/Skeleton.module.cjs.js +0 -2
- package/dist/cjs/Skeleton/Skeleton.module.cjs.js.map +0 -1
- package/dist/cjs/StatusIndicator/StatusIndicator.cjs.js +0 -2
- package/dist/cjs/StatusIndicator/StatusIndicator.cjs.js.map +0 -1
- package/dist/cjs/StatusIndicator/StatusIndicator.module.cjs.js +0 -2
- package/dist/cjs/StatusIndicator/StatusIndicator.module.cjs.js.map +0 -1
- package/dist/cjs/Stepper/Step.module.cjs.js +0 -2
- package/dist/cjs/Stepper/Step.module.cjs.js.map +0 -1
- package/dist/cjs/Stepper/Stepper.module.cjs.js +0 -2
- package/dist/cjs/Stepper/Stepper.module.cjs.js.map +0 -1
- package/dist/cjs/Tabs/Tab.module.cjs.js +0 -2
- package/dist/cjs/Tabs/Tab.module.cjs.js.map +0 -1
- package/dist/cjs/Tabs/TabButton.module.cjs.js +0 -2
- package/dist/cjs/Tabs/TabButton.module.cjs.js.map +0 -1
- package/dist/cjs/Tabs/Tabs.module.cjs.js +0 -2
- package/dist/cjs/Tabs/Tabs.module.cjs.js.map +0 -1
- package/dist/cjs/Tag/RemoveButton.module.cjs.js +0 -2
- package/dist/cjs/Tag/RemoveButton.module.cjs.js.map +0 -1
- package/dist/cjs/Tag/Tag.module.cjs.js +0 -2
- package/dist/cjs/Tag/Tag.module.cjs.js.map +0 -1
- package/dist/cjs/TextEllipsis/TextEllipsis.module.cjs.js +0 -2
- package/dist/cjs/TextEllipsis/TextEllipsis.module.cjs.js.map +0 -1
- package/dist/cjs/Tiles/Tile.module.cjs.js +0 -2
- package/dist/cjs/Tiles/Tile.module.cjs.js.map +0 -1
- package/dist/cjs/Tiles/Tiles.module.cjs.js +0 -2
- package/dist/cjs/Tiles/Tiles.module.cjs.js.map +0 -1
- package/dist/cjs/Tooltip/Tooltip.module.cjs.js +0 -2
- package/dist/cjs/Tooltip/Tooltip.module.cjs.js.map +0 -1
- package/dist/cjs/Typography/Typography.module.cjs.js +0 -2
- package/dist/cjs/Typography/Typography.module.cjs.js.map +0 -1
- package/dist/cjs/Wizard/BaseWizardSteps/BaseWizardSteps.cjs.js +0 -2
- package/dist/cjs/Wizard/BaseWizardSteps/BaseWizardSteps.cjs.js.map +0 -1
- package/dist/cjs/Wizard/BaseWizardSteps/BaseWizardSteps.module.cjs.js +0 -2
- package/dist/cjs/Wizard/BaseWizardSteps/BaseWizardSteps.module.cjs.js.map +0 -1
- package/dist/cjs/Wizard/Wizard.cjs.js +0 -2
- package/dist/cjs/Wizard/Wizard.cjs.js.map +0 -1
- package/dist/cjs/Wizard/WizardActions/WizardActions.cjs.js +0 -2
- package/dist/cjs/Wizard/WizardActions/WizardActions.cjs.js.map +0 -1
- package/dist/cjs/Wizard/WizardStateProvider.cjs.js +0 -2
- package/dist/cjs/Wizard/WizardStateProvider.cjs.js.map +0 -1
- package/dist/cjs/Wizard/WizardSteps/WizardSteps.cjs.js +0 -2
- package/dist/cjs/Wizard/WizardSteps/WizardSteps.cjs.js.map +0 -1
- package/dist/cjs/Wizard/wizardStateReducer.cjs.js +0 -2
- package/dist/cjs/Wizard/wizardStateReducer.cjs.js.map +0 -1
- package/dist/cjs/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.cjs.js +0 -2
- package/dist/cjs/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.cjs.js.map +0 -1
- package/dist/cjs/src/components/DataGrid/DataGridBody/DataGridRow.d.ts +0 -9
- package/dist/cjs/src/components/Notifications/Snackbar/SnackbarContainer/SnackbarContainer.d.ts +0 -21
- package/dist/cjs/src/components/Notifications/Snackbar/SnackbarItem/SnackbarItem.d.ts +0 -20
- package/dist/cjs/src/components/Notifications/Snackbar/SnackbarProvider/SnackbarProvider.d.ts +0 -39
- package/dist/cjs/src/components/Notifications/Snackbar/SnackbarProvider/SnackbarStateProvider.d.ts +0 -27
- package/dist/cjs/src/components/Notifications/Snackbar/interfaces.d.ts +0 -36
- package/dist/cjs/src/components/Notifications/Snackbar/useSnackbar.d.ts +0 -9
- package/dist/cjs/src/components/StatusIndicator/StatusIndicator.d.ts +0 -9
- package/dist/cjs/src/components/Wizard/BaseWizardSteps/BaseWizardSteps.d.ts +0 -12
- package/dist/cjs/src/components/Wizard/Wizard.d.ts +0 -11
- package/dist/cjs/src/components/Wizard/WizardActions/WizardActions.d.ts +0 -25
- package/dist/cjs/src/components/Wizard/WizardStateProvider.d.ts +0 -15
- package/dist/cjs/src/components/Wizard/WizardSteps/WizardSteps.d.ts +0 -8
- package/dist/cjs/src/components/Wizard/WizardSteps/WizardSteps.test.d.ts +0 -1
- package/dist/cjs/src/components/Wizard/wizardStateReducer.d.ts +0 -24
- package/dist/cjs/src/readyclasses.module.cjs.js +0 -2
- package/dist/cjs/src/readyclasses.module.cjs.js.map +0 -1
- package/dist/esm/Breadcrumbs/Breadcrumbs.module.esm.js +0 -2
- package/dist/esm/Breadcrumbs/Breadcrumbs.module.esm.js.map +0 -1
- package/dist/esm/Button/BaseButton.module.esm.js +0 -2
- package/dist/esm/Button/BaseButton.module.esm.js.map +0 -1
- package/dist/esm/Button/Button.module.esm.js +0 -2
- package/dist/esm/Button/Button.module.esm.js.map +0 -1
- package/dist/esm/Button/IconButton.module.esm.js +0 -2
- package/dist/esm/Button/IconButton.module.esm.js.map +0 -1
- package/dist/esm/ContextMenu/ContextMenu.module.esm.js +0 -2
- package/dist/esm/ContextMenu/ContextMenu.module.esm.js.map +0 -1
- package/dist/esm/ContextMenu/ContextMenuItem.module.esm.js +0 -2
- package/dist/esm/ContextMenu/ContextMenuItem.module.esm.js.map +0 -1
- package/dist/esm/DataGrid/DataGrid.module.esm.js +0 -2
- package/dist/esm/DataGrid/DataGrid.module.esm.js.map +0 -1
- package/dist/esm/DataGrid/DataGridActions/DataGridActions.module.esm.js +0 -2
- package/dist/esm/DataGrid/DataGridActions/DataGridActions.module.esm.js.map +0 -1
- package/dist/esm/DataGrid/DataGridActions/DataGridColumnsToggle.module.esm.js +0 -2
- package/dist/esm/DataGrid/DataGridActions/DataGridColumnsToggle.module.esm.js.map +0 -1
- package/dist/esm/DataGrid/DataGridBody/DataGridBody.module.esm.js +0 -2
- package/dist/esm/DataGrid/DataGridBody/DataGridBody.module.esm.js.map +0 -1
- package/dist/esm/DataGrid/DataGridBody/DataGridCell.esm.js +0 -2
- package/dist/esm/DataGrid/DataGridBody/DataGridCell.esm.js.map +0 -1
- package/dist/esm/DataGrid/DataGridBody/DataGridCell.module.esm.js +0 -2
- package/dist/esm/DataGrid/DataGridBody/DataGridCell.module.esm.js.map +0 -1
- package/dist/esm/DataGrid/DataGridBody/DataGridRow.esm.js +0 -2
- package/dist/esm/DataGrid/DataGridBody/DataGridRow.esm.js.map +0 -1
- package/dist/esm/DataGrid/DataGridBody/DataGridRow.module.esm.js +0 -2
- package/dist/esm/DataGrid/DataGridBody/DataGridRow.module.esm.js.map +0 -1
- package/dist/esm/DataGrid/DataGridHeader/DataGridHeader.module.esm.js +0 -2
- package/dist/esm/DataGrid/DataGridHeader/DataGridHeader.module.esm.js.map +0 -1
- package/dist/esm/DataGrid/DataGridHeader/DataGridHeaderCell.module.esm.js +0 -2
- package/dist/esm/DataGrid/DataGridHeader/DataGridHeaderCell.module.esm.js.map +0 -1
- package/dist/esm/Form/Checkbox/Checkbox.module.esm.js +0 -2
- package/dist/esm/Form/Checkbox/Checkbox.module.esm.js.map +0 -1
- package/dist/esm/Form/Fieldset/Fieldset.module.esm.js +0 -2
- package/dist/esm/Form/Fieldset/Fieldset.module.esm.js.map +0 -1
- package/dist/esm/Form/FileUpload/FileItem/FileItem.module.esm.js +0 -2
- package/dist/esm/Form/FileUpload/FileItem/FileItem.module.esm.js.map +0 -1
- package/dist/esm/Form/FileUpload/FileUpload.module.esm.js +0 -2
- package/dist/esm/Form/FileUpload/FileUpload.module.esm.js.map +0 -1
- package/dist/esm/Form/Form.module.esm.js +0 -2
- package/dist/esm/Form/Form.module.esm.js.map +0 -1
- package/dist/esm/Form/FormControl/FormControl.module.esm.js +0 -2
- package/dist/esm/Form/FormControl/FormControl.module.esm.js.map +0 -1
- package/dist/esm/Form/FormGroup/FormGroup.module.esm.js +0 -2
- package/dist/esm/Form/FormGroup/FormGroup.module.esm.js.map +0 -1
- package/dist/esm/Form/FormHelperText/FormHelperText.module.esm.js +0 -2
- package/dist/esm/Form/FormHelperText/FormHelperText.module.esm.js.map +0 -1
- package/dist/esm/Form/FormSelectorWrapper/FormSelectorWrapper.module.esm.js +0 -2
- package/dist/esm/Form/FormSelectorWrapper/FormSelectorWrapper.module.esm.js.map +0 -1
- package/dist/esm/Form/Input/Input.module.esm.js +0 -2
- package/dist/esm/Form/Input/Input.module.esm.js.map +0 -1
- package/dist/esm/Form/Label/Label.module.esm.js +0 -2
- package/dist/esm/Form/Label/Label.module.esm.js.map +0 -1
- package/dist/esm/Form/Radio/Radio.module.esm.js +0 -2
- package/dist/esm/Form/Radio/Radio.module.esm.js.map +0 -1
- package/dist/esm/Form/Select/MultiSelect/MultiSelect.module.esm.js +0 -2
- package/dist/esm/Form/Select/MultiSelect/MultiSelect.module.esm.js.map +0 -1
- package/dist/esm/Form/Select/MultiSelect/SelectButton.module.esm.js +0 -2
- package/dist/esm/Form/Select/MultiSelect/SelectButton.module.esm.js.map +0 -1
- package/dist/esm/Form/Select/MultiSelect/SelectedOptions.module.esm.js +0 -2
- package/dist/esm/Form/Select/MultiSelect/SelectedOptions.module.esm.js.map +0 -1
- package/dist/esm/Form/Select/SingleSelect/Select.module.esm.js +0 -2
- package/dist/esm/Form/Select/SingleSelect/Select.module.esm.js.map +0 -1
- package/dist/esm/Form/Select/useAddNewBtn.module.esm.js +0 -2
- package/dist/esm/Form/Select/useAddNewBtn.module.esm.js.map +0 -1
- package/dist/esm/Form/Textarea/Textarea.module.esm.js +0 -2
- package/dist/esm/Form/Textarea/Textarea.module.esm.js.map +0 -1
- package/dist/esm/Form/Toggle/Toggle.module.esm.js +0 -2
- package/dist/esm/Form/Toggle/Toggle.module.esm.js.map +0 -1
- package/dist/esm/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.esm.js +0 -2
- package/dist/esm/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.esm.js.map +0 -1
- package/dist/esm/Form/Wrapper/InputWrapper/InputWrapper.module.esm.js +0 -2
- package/dist/esm/Form/Wrapper/InputWrapper/InputWrapper.module.esm.js.map +0 -1
- package/dist/esm/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.esm.js +0 -2
- package/dist/esm/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.esm.js.map +0 -1
- package/dist/esm/Form/Wrapper/RadioWrapper/RadioWrapper.module.esm.js +0 -2
- package/dist/esm/Form/Wrapper/RadioWrapper/RadioWrapper.module.esm.js.map +0 -1
- package/dist/esm/Form/Wrapper/SelectWrapper/SelectWrapper.module.esm.js +0 -2
- package/dist/esm/Form/Wrapper/SelectWrapper/SelectWrapper.module.esm.js.map +0 -1
- package/dist/esm/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.esm.js +0 -2
- package/dist/esm/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.esm.js.map +0 -1
- package/dist/esm/Form/Wrapper/Wrapper/Wrapper.module.esm.js +0 -2
- package/dist/esm/Form/Wrapper/Wrapper/Wrapper.module.esm.js.map +0 -1
- package/dist/esm/Icon/Icon.module.esm.js +0 -2
- package/dist/esm/Icon/Icon.module.esm.js.map +0 -1
- package/dist/esm/Layout/ContentHeader/ContentHeader.module.esm.js +0 -2
- package/dist/esm/Layout/ContentHeader/ContentHeader.module.esm.js.map +0 -1
- package/dist/esm/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.esm.js +0 -2
- package/dist/esm/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.esm.js.map +0 -1
- package/dist/esm/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.esm.js +0 -2
- package/dist/esm/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.esm.js.map +0 -1
- package/dist/esm/Layout/FormPage/FormWithStepper/FormWithStepper.module.esm.js +0 -2
- package/dist/esm/Layout/FormPage/FormWithStepper/FormWithStepper.module.esm.js.map +0 -1
- package/dist/esm/Link/Link.module.esm.js +0 -2
- package/dist/esm/Link/Link.module.esm.js.map +0 -1
- package/dist/esm/Notifications/Alert/AlertContainer/AlertContainer.module.esm.js +0 -2
- package/dist/esm/Notifications/Alert/AlertContainer/AlertContainer.module.esm.js.map +0 -1
- package/dist/esm/Notifications/Alert/AlertItem/AlertItem.module.esm.js +0 -2
- package/dist/esm/Notifications/Alert/AlertItem/AlertItem.module.esm.js.map +0 -1
- package/dist/esm/Notifications/Banner/Banner.module.esm.js +0 -2
- package/dist/esm/Notifications/Banner/Banner.module.esm.js.map +0 -1
- package/dist/esm/Notifications/BaseModal/BaseModal.module.esm.js +0 -2
- package/dist/esm/Notifications/BaseModal/BaseModal.module.esm.js.map +0 -1
- package/dist/esm/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.esm.js +0 -2
- package/dist/esm/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.esm.js.map +0 -1
- package/dist/esm/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.esm.js +0 -2
- package/dist/esm/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.esm.js.map +0 -1
- package/dist/esm/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.esm.js +0 -2
- package/dist/esm/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.esm.js.map +0 -1
- package/dist/esm/Notifications/Dialog/Dialog.module.esm.js +0 -2
- package/dist/esm/Notifications/Dialog/Dialog.module.esm.js.map +0 -1
- package/dist/esm/Notifications/Dialog/DialogActions/DialogActions.module.esm.js +0 -2
- package/dist/esm/Notifications/Dialog/DialogActions/DialogActions.module.esm.js.map +0 -1
- package/dist/esm/Notifications/Dialog/DialogTitle/DialogTitle.module.esm.js +0 -2
- package/dist/esm/Notifications/Dialog/DialogTitle/DialogTitle.module.esm.js.map +0 -1
- package/dist/esm/Notifications/SlideInModal/SlideInModal.module.esm.js +0 -2
- package/dist/esm/Notifications/SlideInModal/SlideInModal.module.esm.js.map +0 -1
- package/dist/esm/Notifications/Snackbar/SnackbarContainer/SnackbarContainer.esm.js +0 -2
- package/dist/esm/Notifications/Snackbar/SnackbarContainer/SnackbarContainer.esm.js.map +0 -1
- package/dist/esm/Notifications/Snackbar/SnackbarContainer/SnackbarContainer.module.esm.js +0 -2
- package/dist/esm/Notifications/Snackbar/SnackbarContainer/SnackbarContainer.module.esm.js.map +0 -1
- package/dist/esm/Notifications/Snackbar/SnackbarItem/SnackbarItem.esm.js +0 -2
- package/dist/esm/Notifications/Snackbar/SnackbarItem/SnackbarItem.esm.js.map +0 -1
- package/dist/esm/Notifications/Snackbar/SnackbarItem/SnackbarItem.module.esm.js +0 -2
- package/dist/esm/Notifications/Snackbar/SnackbarItem/SnackbarItem.module.esm.js.map +0 -1
- package/dist/esm/Notifications/Snackbar/SnackbarProvider/SnackbarProvider.esm.js +0 -2
- package/dist/esm/Notifications/Snackbar/SnackbarProvider/SnackbarProvider.esm.js.map +0 -1
- package/dist/esm/Notifications/Snackbar/SnackbarProvider/SnackbarStateProvider.esm.js +0 -2
- package/dist/esm/Notifications/Snackbar/SnackbarProvider/SnackbarStateProvider.esm.js.map +0 -1
- package/dist/esm/Notifications/Snackbar/interfaces.esm.js +0 -2
- package/dist/esm/Notifications/Snackbar/interfaces.esm.js.map +0 -1
- package/dist/esm/Notifications/Snackbar/useSnackbar.esm.js +0 -2
- package/dist/esm/Notifications/Snackbar/useSnackbar.esm.js.map +0 -1
- package/dist/esm/Pagination/Pagination.module.esm.js +0 -2
- package/dist/esm/Pagination/Pagination.module.esm.js.map +0 -1
- package/dist/esm/Popover/Popover.module.esm.js +0 -2
- package/dist/esm/Popover/Popover.module.esm.js.map +0 -1
- package/dist/esm/ProgressBar/ProgressBar.module.esm.js +0 -2
- package/dist/esm/ProgressBar/ProgressBar.module.esm.js.map +0 -1
- package/dist/esm/Skeleton/Skeleton.module.esm.js +0 -2
- package/dist/esm/Skeleton/Skeleton.module.esm.js.map +0 -1
- package/dist/esm/StatusIndicator/StatusIndicator.esm.js +0 -2
- package/dist/esm/StatusIndicator/StatusIndicator.esm.js.map +0 -1
- package/dist/esm/StatusIndicator/StatusIndicator.module.esm.js +0 -2
- package/dist/esm/StatusIndicator/StatusIndicator.module.esm.js.map +0 -1
- package/dist/esm/Stepper/Step.module.esm.js +0 -2
- package/dist/esm/Stepper/Step.module.esm.js.map +0 -1
- package/dist/esm/Stepper/Stepper.module.esm.js +0 -2
- package/dist/esm/Stepper/Stepper.module.esm.js.map +0 -1
- package/dist/esm/Tabs/Tab.module.esm.js +0 -2
- package/dist/esm/Tabs/Tab.module.esm.js.map +0 -1
- package/dist/esm/Tabs/TabButton.module.esm.js +0 -2
- package/dist/esm/Tabs/TabButton.module.esm.js.map +0 -1
- package/dist/esm/Tabs/Tabs.module.esm.js +0 -2
- package/dist/esm/Tabs/Tabs.module.esm.js.map +0 -1
- package/dist/esm/Tag/RemoveButton.module.esm.js +0 -2
- package/dist/esm/Tag/RemoveButton.module.esm.js.map +0 -1
- package/dist/esm/Tag/Tag.module.esm.js +0 -2
- package/dist/esm/Tag/Tag.module.esm.js.map +0 -1
- package/dist/esm/TextEllipsis/TextEllipsis.module.esm.js +0 -2
- package/dist/esm/TextEllipsis/TextEllipsis.module.esm.js.map +0 -1
- package/dist/esm/Tiles/Tile.module.esm.js +0 -2
- package/dist/esm/Tiles/Tile.module.esm.js.map +0 -1
- package/dist/esm/Tiles/Tiles.module.esm.js +0 -2
- package/dist/esm/Tiles/Tiles.module.esm.js.map +0 -1
- package/dist/esm/Tooltip/Tooltip.module.esm.js +0 -2
- package/dist/esm/Tooltip/Tooltip.module.esm.js.map +0 -1
- package/dist/esm/Typography/Typography.module.esm.js +0 -2
- package/dist/esm/Typography/Typography.module.esm.js.map +0 -1
- package/dist/esm/Wizard/BaseWizardSteps/BaseWizardSteps.esm.js +0 -2
- package/dist/esm/Wizard/BaseWizardSteps/BaseWizardSteps.esm.js.map +0 -1
- package/dist/esm/Wizard/BaseWizardSteps/BaseWizardSteps.module.esm.js +0 -2
- package/dist/esm/Wizard/BaseWizardSteps/BaseWizardSteps.module.esm.js.map +0 -1
- package/dist/esm/Wizard/Wizard.esm.js +0 -2
- package/dist/esm/Wizard/Wizard.esm.js.map +0 -1
- package/dist/esm/Wizard/WizardActions/WizardActions.esm.js +0 -2
- package/dist/esm/Wizard/WizardActions/WizardActions.esm.js.map +0 -1
- package/dist/esm/Wizard/WizardStateProvider.esm.js +0 -2
- package/dist/esm/Wizard/WizardStateProvider.esm.js.map +0 -1
- package/dist/esm/Wizard/WizardSteps/WizardSteps.esm.js +0 -2
- package/dist/esm/Wizard/WizardSteps/WizardSteps.esm.js.map +0 -1
- package/dist/esm/Wizard/wizardStateReducer.esm.js +0 -2
- package/dist/esm/Wizard/wizardStateReducer.esm.js.map +0 -1
- package/dist/esm/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.esm.js +0 -2
- package/dist/esm/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.esm.js.map +0 -1
- package/dist/esm/src/components/DataGrid/DataGridBody/DataGridRow.d.ts +0 -9
- package/dist/esm/src/components/Notifications/Snackbar/SnackbarContainer/SnackbarContainer.d.ts +0 -21
- package/dist/esm/src/components/Notifications/Snackbar/SnackbarContainer/SnackbarContainer.test.d.ts +0 -1
- package/dist/esm/src/components/Notifications/Snackbar/SnackbarItem/SnackbarItem.d.ts +0 -20
- package/dist/esm/src/components/Notifications/Snackbar/SnackbarItem/SnackbarItem.test.d.ts +0 -1
- package/dist/esm/src/components/Notifications/Snackbar/SnackbarProvider/SnackbarProvider.d.ts +0 -39
- package/dist/esm/src/components/Notifications/Snackbar/SnackbarProvider/SnackbarProvider.test.d.ts +0 -1
- package/dist/esm/src/components/Notifications/Snackbar/SnackbarProvider/SnackbarStateProvider.d.ts +0 -27
- package/dist/esm/src/components/Notifications/Snackbar/interfaces.d.ts +0 -36
- package/dist/esm/src/components/Notifications/Snackbar/useSnackbar.d.ts +0 -9
- package/dist/esm/src/components/Notifications/Snackbar/useSnackbar.test.d.ts +0 -1
- package/dist/esm/src/components/StatusIndicator/StatusIndicator.d.ts +0 -9
- package/dist/esm/src/components/StatusIndicator/StatusIndicator.test.d.ts +0 -1
- package/dist/esm/src/components/Wizard/BaseWizardSteps/BaseWizardSteps.d.ts +0 -12
- package/dist/esm/src/components/Wizard/BaseWizardSteps/BaseWizardSteps.test.d.ts +0 -1
- package/dist/esm/src/components/Wizard/Wizard.d.ts +0 -11
- package/dist/esm/src/components/Wizard/Wizard.test.d.ts +0 -1
- package/dist/esm/src/components/Wizard/WizardActions/WizardActions.d.ts +0 -25
- package/dist/esm/src/components/Wizard/WizardActions/WizardActions.test.d.ts +0 -1
- package/dist/esm/src/components/Wizard/WizardStateProvider.d.ts +0 -15
- package/dist/esm/src/components/Wizard/WizardSteps/WizardSteps.d.ts +0 -8
- package/dist/esm/src/components/Wizard/WizardSteps/WizardSteps.test.d.ts +0 -1
- package/dist/esm/src/components/Wizard/wizardStateReducer.d.ts +0 -24
- package/dist/esm/src/readyclasses.module.esm.js +0 -2
- package/dist/esm/src/readyclasses.module.esm.js.map +0 -1
- package/src/components/DataGrid/DataGridBody/DataGridCell.module.scss +0 -54
- package/src/components/DataGrid/DataGridBody/DataGridCell.tsx +0 -72
- package/src/components/DataGrid/DataGridBody/DataGridRow.module.scss +0 -33
- package/src/components/DataGrid/DataGridBody/DataGridRow.tsx +0 -58
- package/src/components/Notifications/Snackbar/SnackbarContainer/SnackbarContainer.module.scss +0 -56
- package/src/components/Notifications/Snackbar/SnackbarContainer/SnackbarContainer.tsx +0 -92
- package/src/components/Notifications/Snackbar/SnackbarItem/SnackbarItem.module.scss +0 -156
- package/src/components/Notifications/Snackbar/SnackbarItem/SnackbarItem.tsx +0 -161
- package/src/components/Notifications/Snackbar/SnackbarProvider/SnackbarProvider.tsx +0 -219
- package/src/components/Notifications/Snackbar/SnackbarProvider/SnackbarStateProvider.tsx +0 -57
- package/src/components/Notifications/Snackbar/interfaces.ts +0 -62
- package/src/components/Notifications/Snackbar/useSnackbar.ts +0 -32
- package/src/components/StatusIndicator/StatusIndicator.module.scss +0 -43
- package/src/components/StatusIndicator/StatusIndicator.tsx +0 -44
- package/src/components/Wizard/BaseWizardSteps/BaseWizardSteps.module.scss +0 -214
- package/src/components/Wizard/BaseWizardSteps/BaseWizardSteps.tsx +0 -93
- package/src/components/Wizard/Wizard.tsx +0 -67
- package/src/components/Wizard/WizardActions/WizardActions.tsx +0 -116
- package/src/components/Wizard/WizardStateProvider.tsx +0 -45
- package/src/components/Wizard/WizardSteps/WizardSteps.tsx +0 -54
- package/src/components/Wizard/wizardStateReducer.ts +0 -61
- /package/dist/cjs/src/components/DataGrid/DataGridBody/{DataGridCell.d.ts → DataGridCell/DataGridCell.d.ts} +0 -0
- /package/dist/cjs/src/components/DataGrid/DataGridBody/{DataGridCell.test.d.ts → DataGridCell/DataGridCell.test.d.ts} +0 -0
- /package/dist/cjs/src/components/DataGrid/DataGridBody/{DataGridRow.test.d.ts → DataGridDrawer/DataGridDrawerItem.test.d.ts} +0 -0
- /package/dist/{esm/src/components/DataGrid/DataGridBody → cjs/src/components/DataGrid/DataGridBody/DataGridRow}/DataGridRow.test.d.ts +0 -0
- /package/dist/cjs/src/components/{Notifications/Snackbar/SnackbarContainer/SnackbarContainer.test.d.ts → DataGrid/DataGridFilters/DataGridFilterTag.test.d.ts} +0 -0
- /package/dist/cjs/src/components/{Notifications/Snackbar/SnackbarItem/SnackbarItem.test.d.ts → DataGrid/DataGridFilters/DataGridToolbar.test.d.ts} +0 -0
- /package/dist/cjs/src/{components/Notifications/Snackbar/SnackbarProvider/SnackbarProvider.test.d.ts → hooks/useFullHeightCollapse.test.d.ts} +0 -0
- /package/dist/esm/src/components/DataGrid/DataGridBody/{DataGridCell.d.ts → DataGridCell/DataGridCell.d.ts} +0 -0
- /package/dist/esm/src/components/DataGrid/DataGridBody/{DataGridCell.test.d.ts → DataGridCell/DataGridCell.test.d.ts} +0 -0
- /package/dist/{cjs/src/components/Notifications/Snackbar/useSnackbar.test.d.ts → esm/src/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.test.d.ts} +0 -0
- /package/dist/{cjs/src/components/StatusIndicator/StatusIndicator.test.d.ts → esm/src/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.test.d.ts} +0 -0
- /package/dist/{cjs/src/components/Wizard/BaseWizardSteps/BaseWizardSteps.test.d.ts → esm/src/components/DataGrid/DataGridFilters/DataGridFilterTag.test.d.ts} +0 -0
- /package/dist/{cjs/src/components/Wizard/Wizard.test.d.ts → esm/src/components/DataGrid/DataGridFilters/DataGridToolbar.test.d.ts} +0 -0
- /package/dist/{cjs/src/components/Wizard/WizardActions/WizardActions.test.d.ts → esm/src/hooks/useFullHeightCollapse.test.d.ts} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});require("../../node_modules/style-inject/dist/style-inject.es.cjs.js").default('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.Banner-module_banner__YfpRS{background-color:var(--light);border-radius:var(--banner-border-radius);border-style:solid;border-width:0 0 0 var(--banner-border-width);display:flex;flex-grow:0;padding:1rem 1.25rem}.Banner-module_banner__YfpRS .Banner-module_container__IwBEp{color:var(--default);display:block;flex:1;margin-left:1rem}.Banner-module_banner__YfpRS .Banner-module_headline__J6Wud{margin-bottom:.25rem}.Banner-module_banner__YfpRS .Banner-module_content__OKABk{margin-bottom:0}.Banner-module_banner__YfpRS .Banner-module_icon__Nlh-W{font-size:1.25rem;line-height:var(--default-line-height);margin-top:.1rem}.Banner-module_banner__YfpRS.Banner-module_info__uEjbr{border-color:var(--info)}.Banner-module_banner__YfpRS.Banner-module_info__uEjbr .Banner-module_headline__J6Wud,.Banner-module_banner__YfpRS.Banner-module_info__uEjbr .Banner-module_icon__Nlh-W{color:var(--info)}.Banner-module_banner__YfpRS.Banner-module_warning__gBzK0{border-color:var(--warning)}.Banner-module_banner__YfpRS.Banner-module_warning__gBzK0 .Banner-module_headline__J6Wud,.Banner-module_banner__YfpRS.Banner-module_warning__gBzK0 .Banner-module_icon__Nlh-W{color:var(--warning)}.Banner-module_banner__YfpRS.Banner-module_error__1Tb4E{border-color:var(--error)}.Banner-module_banner__YfpRS.Banner-module_error__1Tb4E .Banner-module_headline__J6Wud,.Banner-module_banner__YfpRS.Banner-module_error__1Tb4E .Banner-module_icon__Nlh-W{color:var(--error)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkJhbm5lci5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7Ozs7RUFjRSxDQUNGLDZCQUVFLDZCQ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7XG4gIGNvbG9yOiB2YXIoLS1pbmZvKTtcbn1cbi5iYW5uZXIuaW5mbyAuaGVhZGxpbmUge1xuICBjb2xvcjogdmFyKC0taW5mbyk7XG59XG4uYmFubmVyLndhcm5pbmcge1xuICBib3JkZXItY29sb3I6IHZhcigtLXdhcm5pbmcpO1xufVxuLmJhbm5lci53YXJuaW5nIC5pY29uIHtcbiAgY29sb3I6IHZhcigtLXdhcm5pbmcpO1xufVxuLmJhbm5lci53YXJuaW5nIC5oZWFkbGluZSB7XG4gIGNvbG9yOiB2YXIoLS13YXJuaW5nKTtcbn1cbi5iYW5uZXIuZXJyb3Ige1xuICBib3JkZXItY29sb3I6IHZhcigtLWVycm9yKTtcbn1cbi5iYW5uZXIuZXJyb3IgLmljb24ge1xuICBjb2xvcjogdmFyKC0tZXJyb3IpO1xufVxuLmJhbm5lci5lcnJvciAuaGVhZGxpbmUge1xuICBjb2xvcjogdmFyKC0tZXJyb3IpO1xufSJdfQ== */'),exports.default={banner:"Banner-module_banner__YfpRS",container:"Banner-module_container__IwBEp",headline:"Banner-module_headline__J6Wud",content:"Banner-module_content__OKABk",icon:"Banner-module_icon__Nlh-W",info:"Banner-module_info__uEjbr",warning:"Banner-module_warning__gBzK0",error:"Banner-module_error__1Tb4E"};
|
|
2
|
+
//# sourceMappingURL=Banner.module.scss.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Banner.module.scss.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";var e=require("react"),l=require("react-dom"),a=require("../../src/hooks/useGetDomRoot.cjs.js"),o=require("./BaseModal.module.scss.cjs.js"),d=require("./BaseModalContext.cjs.js"),r=require("./useRepeatFocus.cjs.js");const s="overflow",t=l=>{e.useEffect((()=>{l?document.body.style[s]="hidden":0===document.querySelectorAll("[role=dialog][data-hidden=false]").length&&document.body.style.removeProperty(s)}),[l])},n=e.forwardRef((({id:s,children:n,open:i,onClose:c,className:u="",containerProps:m,backdropProps:p,labelledby:v,describedby:f,disableEscapeKeyDown:b=!1,disableBackdrop:y=!1,forceContainerOpen:h=!1,zIndex:E,domRoot:$,...j},x)=>{var N,R,q;t(i);const C=e.useRef(null),I=x||e.createRef(),{root:g}=a.useGetDomRoot($,C);r.useRepeatFocus(I),e.useEffect((()=>{var e;i&&(null===(e=I.current)||void 0===e||e.focus())}),[i]);const k=()=>e.Children.map(n,(l=>{var a;return e.isValidElement(l)?e.cloneElement(l,{onClose:null!==(a=l.props.onClose)&&void 0!==a?a:c}):l}));return e.createElement("div",{ref:C},l.createPortal(e.createElement("div",{...j,ref:I,id:s,className:`${o.default.modal} ${i?o.default.visible:""} ${u}`,role:"dialog","aria-modal":"true","aria-labelledby":null!=v?v:d.labelId(s),"aria-describedby":null!=f?f:d.descriptionId(s),"aria-hidden":!i,tabIndex:-1,"data-hidden":!i,onKeyDown:e=>{b||"Escape"!==e.key||(e.stopPropagation(),null==c||c())},style:{zIndex:E}},e.createElement("div",{...p,"aria-hidden":!0,className:`${o.default.backdrop} ${null!==(N=null==p?void 0:p.className)&&void 0!==N?N:""}`,onClick:()=>!y&&c&&c()}),h?e.createElement("div",{...m,"aria-hidden":!i,"data-element":"dialog",hidden:!i,style:{zIndex:E&&E+1},className:`${o.default.container} ${null!==(R=null==m?void 0:m.className)&&void 0!==R?R:""}`},k()):i&&e.createElement("div",{...m,"data-element":"dialog",style:{zIndex:E&&E+1},className:`${o.default.container} ${null!==(q=null==m?void 0:m.className)&&void 0!==q?q:""}`},k())),g))}));exports.BaseModal=n,exports.useSetBodyScroll=t;
|
|
2
2
|
//# sourceMappingURL=BaseModal.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseModal.cjs.js","sources":["../../../../../../src/components/Notifications/BaseModal/BaseModal.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, {\n ForwardRefRenderFunction,\n ComponentPropsWithRef,\n useEffect,\n useRef,\n ReactElement,\n RefObject,\n createRef\n} from \"react\";\nimport { createPortal } from \"react-dom\";\nimport { useGetDomRoot } from \"../../../hooks/useGetDomRoot\";\nimport classes from \"./BaseModal.module.scss\";\nimport { labelId, descriptionId } from \"./BaseModalContext\";\nimport { useRepeatFocus } from \"./useRepeatFocus\";\n\nconst SCROLL_PROPERTY_NAME = \"overflow\";\nconst SCROLL_PROPERTY_VALUE = \"hidden\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id: string;\n children: React.ReactNode;\n open: boolean;\n onClose?: (event?: React.MouseEvent<HTMLElement>) => unknown;\n className?: string;\n containerProps?: ComponentPropsWithRef<\"div\">;\n backdropProps?: ComponentPropsWithRef<\"div\">;\n labelledby?: string;\n describedby?: string;\n disableEscapeKeyDown?: boolean;\n disableBackdrop?: boolean;\n forceContainerOpen?: boolean;\n zIndex?: number;\n domRoot?: HTMLElement;\n}\n\nexport const useSetBodyScroll = (open: boolean) => {\n const hideBodyScroll = () => {\n document.body.style[SCROLL_PROPERTY_NAME] = SCROLL_PROPERTY_VALUE;\n };\n\n const showBodyScroll = () => {\n const allModalsClosed =\n document.querySelectorAll(\"[role=dialog][data-hidden=false]\").length === 0;\n if (allModalsClosed) {\n document.body.style.removeProperty(SCROLL_PROPERTY_NAME);\n }\n };\n\n useEffect(() => {\n if (open) {\n hideBodyScroll();\n } else {\n showBodyScroll();\n }\n }, [open]);\n};\n\nconst BaseModalComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n {\n id,\n children,\n open,\n onClose,\n className = \"\",\n containerProps,\n backdropProps,\n labelledby,\n describedby,\n disableEscapeKeyDown = false,\n disableBackdrop = false,\n forceContainerOpen = false,\n zIndex,\n domRoot,\n ...rest\n }: Props,\n ref\n) => {\n useSetBodyScroll(open);\n const wrappingDivRef = useRef<HTMLDivElement>(null);\n const modalRef = (ref as RefObject<HTMLDivElement>) || createRef<HTMLDivElement>();\n const { root } = useGetDomRoot(domRoot, wrappingDivRef);\n\n const handleEscKeyPress = (event: React.KeyboardEvent<HTMLDivElement>) => {\n if (!disableEscapeKeyDown && event.key === \"Escape\") {\n event.stopPropagation();\n onClose?.();\n }\n };\n\n useRepeatFocus(modalRef);\n\n useEffect(() => {\n if (open) {\n modalRef.current?.focus();\n }\n }, [open]);\n\n const handleBackdropClick = () => !disableBackdrop && onClose && onClose();\n\n const renderChildren = () =>\n React.Children.map(children, child => {\n if (React.isValidElement(child)) {\n return React.cloneElement(child as ReactElement, {\n onClose: child.props.onClose ?? onClose\n });\n }\n return child;\n });\n\n return (\n <div ref={wrappingDivRef}>\n {createPortal(\n <div\n {...rest}\n ref={modalRef}\n id={id}\n className={`${classes[\"modal\"]} ${open ? classes[\"visible\"] : \"\"} ${className}`}\n role=\"dialog\"\n aria-modal=\"true\"\n aria-labelledby={labelledby ?? labelId(id)}\n aria-describedby={describedby ?? descriptionId(id)}\n aria-hidden={!open}\n tabIndex={-1}\n data-hidden={!open}\n onKeyDown={handleEscKeyPress}\n style={{ zIndex }}\n >\n <div\n {...backdropProps}\n aria-hidden={true}\n className={`${classes[\"backdrop\"]} ${backdropProps?.className ?? \"\"}`}\n onClick={handleBackdropClick}\n ></div>\n {forceContainerOpen ? (\n <div\n {...containerProps}\n aria-hidden={!open}\n data-element=\"dialog\"\n hidden={!open}\n style={{ zIndex: zIndex && zIndex + 1 }}\n className={`${classes[\"container\"]} ${containerProps?.className ?? \"\"}`}\n >\n {renderChildren()}\n </div>\n ) : (\n open && (\n <div\n {...containerProps}\n data-element=\"dialog\"\n style={{ zIndex: zIndex && zIndex + 1 }}\n className={`${classes[\"container\"]} ${containerProps?.className ?? \"\"}`}\n >\n {renderChildren()}\n </div>\n )\n )}\n </div>,\n root\n )}\n </div>\n );\n};\n\nexport const BaseModal = React.forwardRef(BaseModalComponent);\n"],"names":["SCROLL_PROPERTY_NAME","
|
|
1
|
+
{"version":3,"file":"BaseModal.cjs.js","sources":["../../../../../../src/components/Notifications/BaseModal/BaseModal.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, {\n ForwardRefRenderFunction,\n ComponentPropsWithRef,\n useEffect,\n useRef,\n ReactElement,\n RefObject,\n createRef\n} from \"react\";\nimport { createPortal } from \"react-dom\";\nimport { useGetDomRoot } from \"../../../hooks/useGetDomRoot\";\nimport classes from \"./BaseModal.module.scss\";\nimport { labelId, descriptionId } from \"./BaseModalContext\";\nimport { useRepeatFocus } from \"./useRepeatFocus\";\n\nconst SCROLL_PROPERTY_NAME = \"overflow\";\nconst SCROLL_PROPERTY_VALUE = \"hidden\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id: string;\n children: React.ReactNode;\n open: boolean;\n onClose?: (event?: React.MouseEvent<HTMLElement>) => unknown;\n className?: string;\n containerProps?: ComponentPropsWithRef<\"div\">;\n backdropProps?: ComponentPropsWithRef<\"div\">;\n labelledby?: string;\n describedby?: string;\n disableEscapeKeyDown?: boolean;\n disableBackdrop?: boolean;\n forceContainerOpen?: boolean;\n zIndex?: number;\n domRoot?: HTMLElement;\n}\n\nexport const useSetBodyScroll = (open: boolean) => {\n const hideBodyScroll = () => {\n document.body.style[SCROLL_PROPERTY_NAME] = SCROLL_PROPERTY_VALUE;\n };\n\n const showBodyScroll = () => {\n const allModalsClosed =\n document.querySelectorAll(\"[role=dialog][data-hidden=false]\").length === 0;\n if (allModalsClosed) {\n document.body.style.removeProperty(SCROLL_PROPERTY_NAME);\n }\n };\n\n useEffect(() => {\n if (open) {\n hideBodyScroll();\n } else {\n showBodyScroll();\n }\n }, [open]);\n};\n\nconst BaseModalComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n {\n id,\n children,\n open,\n onClose,\n className = \"\",\n containerProps,\n backdropProps,\n labelledby,\n describedby,\n disableEscapeKeyDown = false,\n disableBackdrop = false,\n forceContainerOpen = false,\n zIndex,\n domRoot,\n ...rest\n }: Props,\n ref\n) => {\n useSetBodyScroll(open);\n const wrappingDivRef = useRef<HTMLDivElement>(null);\n const modalRef = (ref as RefObject<HTMLDivElement>) || createRef<HTMLDivElement>();\n const { root } = useGetDomRoot(domRoot, wrappingDivRef);\n\n const handleEscKeyPress = (event: React.KeyboardEvent<HTMLDivElement>) => {\n if (!disableEscapeKeyDown && event.key === \"Escape\") {\n event.stopPropagation();\n onClose?.();\n }\n };\n\n useRepeatFocus(modalRef);\n\n useEffect(() => {\n if (open) {\n modalRef.current?.focus();\n }\n }, [open]);\n\n const handleBackdropClick = () => !disableBackdrop && onClose && onClose();\n\n const renderChildren = () =>\n React.Children.map(children, child => {\n if (React.isValidElement(child)) {\n return React.cloneElement(child as ReactElement, {\n onClose: child.props.onClose ?? onClose\n });\n }\n return child;\n });\n\n return (\n <div ref={wrappingDivRef}>\n {createPortal(\n <div\n {...rest}\n ref={modalRef}\n id={id}\n className={`${classes[\"modal\"]} ${open ? classes[\"visible\"] : \"\"} ${className}`}\n role=\"dialog\"\n aria-modal=\"true\"\n aria-labelledby={labelledby ?? labelId(id)}\n aria-describedby={describedby ?? descriptionId(id)}\n aria-hidden={!open}\n tabIndex={-1}\n data-hidden={!open}\n onKeyDown={handleEscKeyPress}\n style={{ zIndex }}\n >\n <div\n {...backdropProps}\n aria-hidden={true}\n className={`${classes[\"backdrop\"]} ${backdropProps?.className ?? \"\"}`}\n onClick={handleBackdropClick}\n ></div>\n {forceContainerOpen ? (\n <div\n {...containerProps}\n aria-hidden={!open}\n data-element=\"dialog\"\n hidden={!open}\n style={{ zIndex: zIndex && zIndex + 1 }}\n className={`${classes[\"container\"]} ${containerProps?.className ?? \"\"}`}\n >\n {renderChildren()}\n </div>\n ) : (\n open && (\n <div\n {...containerProps}\n data-element=\"dialog\"\n style={{ zIndex: zIndex && zIndex + 1 }}\n className={`${classes[\"container\"]} ${containerProps?.className ?? \"\"}`}\n >\n {renderChildren()}\n </div>\n )\n )}\n </div>,\n root\n )}\n </div>\n );\n};\n\nexport const BaseModal = React.forwardRef(BaseModalComponent);\n"],"names":["SCROLL_PROPERTY_NAME","useSetBodyScroll","open","useEffect","document","body","style","querySelectorAll","length","removeProperty","BaseModal","React","forwardRef","id","children","onClose","className","containerProps","backdropProps","labelledby","describedby","disableEscapeKeyDown","disableBackdrop","forceContainerOpen","zIndex","domRoot","rest","ref","wrappingDivRef","useRef","modalRef","createRef","root","useGetDomRoot","useRepeatFocus","_a","current","focus","renderChildren","Children","map","child","isValidElement","cloneElement","props","createElement","createPortal","classes","default","role","labelId","descriptionId","tabIndex","onKeyDown","event","key","stopPropagation","onClick","hidden","_b","_c"],"mappings":"qOA+BA,MAAMA,EAAuB,WAoBhBC,EAAoBC,IAa/BC,EAAAA,WAAU,KACJD,EAZJE,SAASC,KAAKC,MAAMN,GArBM,SA0BiD,IAAzEI,SAASG,iBAAiB,oCAAoCC,QAE9DJ,SAASC,KAAKC,MAAMG,eAAeT,EASpC,GACA,CAACE,GAAM,EA6GCQ,EAAYC,EAAMC,YA1G6C,EAExEC,KACAC,WACAZ,OACAa,UACAC,YAAY,GACZC,iBACAC,gBACAC,aACAC,cACAC,wBAAuB,EACvBC,mBAAkB,EAClBC,sB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ACpCR,UAAW,GAAG+B,EAAAA,QAAmB,aAAkC,QAA7BY,EAAA1C,aAAA,EAAAA,EAAgBD,iBAAa,IAAA2C,EAAAA,EAAA,MAElErB,KAGHpC,GACES,EAAAkC,cAAA,MAAA,IACM5B,EACS,eAAA,SACbX,MAAO,CAAEkB,OAAQA,GAAUA,EAAS,GACpCR,UAAW,GAAG+B,UAAmB,aAA8B,QAAzBa,EAAA3C,eAAAA,EAAgBD,iBAAS,IAAA4C,EAAAA,EAAI,MAElEtB,MAKTN,GAGJ"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});require("../../node_modules/style-inject/dist/style-inject.es.cjs.js").default('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.BaseModal-module_sr-only__zUl6G{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.BaseModal-module_hidden__Tky0a{display:none}.BaseModal-module_slide-in__3bHb-{animation:BaseModal-module_slide-in__3bHb- .5s forwards}@media (prefers-reduced-motion:reduce){.BaseModal-module_slide-in__3bHb-{animation-duration:.1ms}}.BaseModal-module_slide-out__uPXZJ{animation:BaseModal-module_slide-out__uPXZJ .5s forwards}@media (prefers-reduced-motion:reduce){.BaseModal-module_slide-out__uPXZJ{animation-duration:.1ms}}@keyframes BaseModal-module_slide-in__3bHb-{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes BaseModal-module_slide-out__uPXZJ{0%{transform:translateY(0)}to{transform:translateY(100vh)}}\n/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.BaseModal-module_modal__IoSIp{align-items:flex-start;display:flex;height:100vh;justify-content:center;left:0;position:fixed;top:0;visibility:hidden;width:100vw;z-index:10}.BaseModal-module_modal__IoSIp .BaseModal-module_backdrop__c4BrM{background-color:initial;content:"";height:100%;left:0;position:absolute;top:0;transition-duration:.5s;transition-property:background-color;transition-timing-function:ease;width:100%}@media (prefers-reduced-motion:reduce){.BaseModal-module_modal__IoSIp .BaseModal-module_backdrop__c4BrM{transition-duration:.1ms}}.BaseModal-module_modal__IoSIp.BaseModal-module_visible__r7HeM{visibility:visible}.BaseModal-module_modal__IoSIp.BaseModal-module_visible__r7HeM .BaseModal-module_backdrop__c4BrM{background-color:var(--modal-backdrop-color);opacity:.75}.BaseModal-module_container__vHjfd{background-color:var(--modal-background-color);display:flex;flex-direction:column;height:auto;margin-top:3.125rem;max-height:calc(90% - 3.125rem);width:calc(100% - 2rem);z-index:11}@media only screen and (min-width:50em){.BaseModal-module_container__vHjfd{border-radius:2px;box-shadow:0 30px 50px var(--modal-shadow-color);width:50rem}}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkJhc2VNb2RhbC5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7Ozs7RUFjRTtBQUNGOzs7Ozs7Ozs7Ozs7OztFQWNFO0FBQ0Y7Ozs7Ozs7Ozs7Ozs7O0VBY0UsQ0FDRixpQ0FPRSxrQkFBc0IsQ0FDdEIsUUFBUyxDQUxULFVBQVcsQ0FFWCxXQUFZLENBQ1osZUFBZ0IsQ0FGaEIsU0FBVSxDQUhWLGlCQUFrQixDQUNsQixTQU9GLENBRUEsZ0NBQ0UsWUFDRixDQUVBLGtDQUNFLHVEQUNGLENBQ0EsdUNBQ0Usa0NBQ0UsdUJBQ0YsQ0FDRixDQUVBLG1DQUNFLHdEQUNGLENBQ0EsdUNBQ0UsbUNBQ0UsdUJBQ0YsQ0FDRixDQUVBLDRDQUNFLEdBQ0UsMkJBQ0YsQ0FDQSxHQUNFLHVCQUNGLENBQ0YsQ0FDQSw2Q0FDRSxHQUNFLHVCQUNGLENBQ0EsR0FDRSwyQkFDRixDQUNGO0FBQ0E7Ozs7Ozs7Ozs7Ozs7O0VBY0UsQ0FDRiwrQkFTRSxzQkFBdUIsQ0FEdkIsWUFBYSxDQUhiLFlBQWEsQ0FLYixzQkFBdUIsQ0FOdkIsTUFBTyxDQUhQLGNBQWUsQ0FFZixLQUFNLENBSU4saUJBQWtCLENBRGxCLFdBQVksQ0FKWixVQVNGLENBQ0EsaUVBT0Usd0J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RhbC1zaGFkb3ctY29sb3IpO1xuICB9XG59Il19 */'),exports.default={"sr-only":"BaseModal-module_sr-only__zUl6G",hidden:"BaseModal-module_hidden__Tky0a","slide-in":"BaseModal-module_slide-in__3bHb-","slide-out":"BaseModal-module_slide-out__uPXZJ",modal:"BaseModal-module_modal__IoSIp",backdrop:"BaseModal-module_backdrop__c4BrM",visible:"BaseModal-module_visible__r7HeM",container:"BaseModal-module_container__vHjfd"};
|
|
2
|
+
//# sourceMappingURL=BaseModal.module.scss.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseModal.module.scss.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";var e=require("react"),t=require("./BaseModalActions.module.scss.cjs.js"),a=require("../../../Button/Button.cjs.js");const c=e.forwardRef((({children:c,cancelAction:l,cancelActionsClassName:s="",onClose:n,className:r="",...o},i)=>{const u=e.createRef()||i,d=e.useRef(null),f=e.useRef(null),m=e.createElement(a.Button,{variant:"text",color:"default",...null==l?void 0:l.cancelButtonProps,onClick:n},null==l?void 0:l.label);return e.createElement("div",{...o,ref:u,className:`${t.default.actions} ${r}`},l&&n&&e.createElement("div",{className:`${t.default["cancel-action"]} ${s}`,ref:d},m),c&&e.createElement("div",{ref:f,className:t.default["primary-actions"]},c))}));exports.BaseModalActions=c;
|
|
2
2
|
//# sourceMappingURL=BaseModalActions.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseModalActions.cjs.js","sources":["../../../../../../../src/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef, useRef } from \"react\";\nimport classes from \"./BaseModalActions.module.scss\";\nimport { Button, Props as ButtonProps } from \"../../../Button/Button\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n children?: React.ReactNode;\n onClose?: () => void;\n cancelAction?: CancelAction;\n cancelActionsClassName?: string;\n}\n\nexport interface CancelAction {\n label: string;\n cancelButtonProps?: ButtonProps;\n}\n\nconst BaseModalActionsComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { children, cancelAction, cancelActionsClassName = \"\", onClose, className = \"\", ...rest }: Props,\n ref\n) => {\n const innerRef = (React.createRef() as React.RefObject<HTMLDivElement>) || ref;\n const cancelButtonRef = useRef<HTMLDivElement>(null);\n const primaryActionsRef = useRef<HTMLDivElement>(null);\n\n const cancelButton = (\n <Button variant=\"text\" color=\"default\" {...cancelAction?.cancelButtonProps} onClick={onClose}>\n {cancelAction?.label}\n </Button>\n );\n\n return (\n <div {...rest} ref={innerRef} className={`${classes[\"actions\"]} ${className}`}>\n {cancelAction && onClose && (\n <div\n className={`${classes[\"cancel-action\"]} ${cancelActionsClassName}`}\n ref={cancelButtonRef}\n >\n {cancelButton}\n </div>\n )}\n {children && (\n <div ref={primaryActionsRef} className={classes[\"primary-actions\"]}>\n {children}\n </div>\n )}\n </div>\n );\n};\n\nexport const BaseModalActions = React.forwardRef(BaseModalActionsComponent);\n"],"names":["
|
|
1
|
+
{"version":3,"file":"BaseModalActions.cjs.js","sources":["../../../../../../../src/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef, useRef } from \"react\";\nimport classes from \"./BaseModalActions.module.scss\";\nimport { Button, Props as ButtonProps } from \"../../../Button/Button\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n children?: React.ReactNode;\n onClose?: () => void;\n cancelAction?: CancelAction;\n cancelActionsClassName?: string;\n}\n\nexport interface CancelAction {\n label: string;\n cancelButtonProps?: ButtonProps;\n}\n\nconst BaseModalActionsComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { children, cancelAction, cancelActionsClassName = \"\", onClose, className = \"\", ...rest }: Props,\n ref\n) => {\n const innerRef = (React.createRef() as React.RefObject<HTMLDivElement>) || ref;\n const cancelButtonRef = useRef<HTMLDivElement>(null);\n const primaryActionsRef = useRef<HTMLDivElement>(null);\n\n const cancelButton = (\n <Button variant=\"text\" color=\"default\" {...cancelAction?.cancelButtonProps} onClick={onClose}>\n {cancelAction?.label}\n </Button>\n );\n\n return (\n <div {...rest} ref={innerRef} className={`${classes[\"actions\"]} ${className}`}>\n {cancelAction && onClose && (\n <div\n className={`${classes[\"cancel-action\"]} ${cancelActionsClassName}`}\n ref={cancelButtonRef}\n >\n {cancelButton}\n </div>\n )}\n {children && (\n <div ref={primaryActionsRef} className={classes[\"primary-actions\"]}>\n {children}\n </div>\n )}\n </div>\n );\n};\n\nexport const BaseModalActions = React.forwardRef(BaseModalActionsComponent);\n"],"names":["BaseModalActions","React","forwardRef","children","cancelAction","cancelActionsClassName","onClose","className","rest","ref","innerRef","createRef","cancelButtonRef","useRef","primaryActionsRef","cancelButton","createElement","Button","variant","color","cancelButtonProps","onClick","label","classes","default"],"mappings":"kIAgCA,MAiCaA,EAAmBC,EAAMC,YAjC6C,EAC/EC,WAAUC,eAAcC,yBAAyB,GAAIC,UAASC,YAAY,MAAOC,GACnFC,KAEA,MAAMC,EAAYT,EAAMU,aAAmDF,EACrEG,EAAkBC,SAAuB,MACzCC,EAAoBD,SAAuB,MAE3CE,EACJd,EAAAe,cAACC,EAAMA,OAAC,CAAAC,QAAQ,OAAOC,MAAM,aAAcf,aAAA,EAAAA,EAAcgB,kBAAmBC,QAASf,GAClFF,eAAAA,EAAckB,OAInB,OACErB,EAASe,cAAA,MAAA,IAAAR,EAAMC,IAAKC,EAAUH,UAAW,GAAGgB,EAAAA,QAAiB,WAAKhB,KAC/DH,GAAgBE,GACfL,uBACEM,UAAW,GAAGgB,EAAAA,QAAQ,oBAAoBlB,IAC1CI,IAAKG,GAEJG,GAGJZ,GACCF,EAAAe,cAAA,MAAA,CAAKP,IAAKK,EAAmBP,UAAWgB,EAAOC,QAAC,oBAC7CrB,GAIP"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});require("../../../node_modules/style-inject/dist/style-inject.es.cjs.js").default('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.BaseModalActions-module_actions__U83Sp{border-top:1px solid var(--color-blue-grey100);display:flex;justify-content:space-between;margin:1.5rem 0 1rem;padding:1rem 1.5rem 0}.BaseModalActions-module_actions__U83Sp>*+*{margin-left:2rem}@media screen and (max-width:640px){.BaseModalActions-module_actions__U83Sp{display:block}.BaseModalActions-module_actions__U83Sp .BaseModalActions-module_cancel-action__MFK8v{display:none}.BaseModalActions-module_actions__U83Sp .BaseModalActions-module_primary-actions__KFtY1{align-items:flex-end;flex-direction:column;margin-left:0}.BaseModalActions-module_actions__U83Sp .BaseModalActions-module_primary-actions__KFtY1>*{width:100%}.BaseModalActions-module_actions__U83Sp .BaseModalActions-module_primary-actions__KFtY1>*+*{margin-top:.5rem}}.BaseModalActions-module_primary-actions__KFtY1{display:flex;flex-grow:1;justify-content:flex-end}.BaseModalActions-module_primary-actions__KFtY1 button{white-space:nowrap}@media screen and (min-width:640px){.BaseModalActions-module_primary-actions__KFtY1 button+button{margin-left:.5rem}}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkJhc2VNb2RhbEFjdGlvbnMubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7O0VBY0UsQ0FDRix3Q0FLRSw4Q0FBK0MsQ0FGL0MsWUFBYSxDQUNiLDZCQUE4QixDQUg5QixvQkFBcUIsQ0FDckIscUJBSUYsQ0FDQSw0Q0FDRSxnQkFDRixDQUNBLG9DQUNFLHdDQUNFLGFBQ0YsQ0FDQSxzRkFDRSxZQUNGLENBQ0Esd0ZBRUUsb0JBQXFCLENBRHJCLHFCQUFzQixDQUV0QixhQUNGLENBQ0EsMEZBQ0UsVUFDRixDQUNBLDRGQUNFLGdCQUNGLENBQ0YsQ0FFQSxnREFDRSxZQUFhLENBQ2IsV0FBWSxDQUNaLHdCQUNGLENBQ0EsdURBQ0Usa0JBQ0YsQ0FDQSxvQ0FDRSw4REFDRSxpQkFDRixDQUNGIiwiZmlsZSI6IkJhc2VNb2RhbEFjdGlvbnMubW9kdWxlLnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIvKiFcbiAqIENvcHlyaWdodCAyMDIyIE9uZVdlbGNvbWUgQi5WLlxuICpcbiAqICAgIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2l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HRoOiA2NDBweCkge1xuICAuYWN0aW9ucyB7XG4gICAgZGlzcGxheTogYmxvY2s7XG4gIH1cbiAgLmFjdGlvbnMgLmNhbmNlbC1hY3Rpb24ge1xuICAgIGRpc3BsYXk6IG5vbmU7XG4gIH1cbiAgLmFjdGlvbnMgLnByaW1hcnktYWN0aW9ucyB7XG4gICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgICBhbGlnbi1pdGVtczogZmxleC1lbmQ7XG4gICAgbWFyZ2luLWxlZnQ6IDA7XG4gIH1cbiAgLmFjdGlvbnMgLnByaW1hcnktYWN0aW9ucyA+ICoge1xuICAgIHdpZHRoOiAxMDAlO1xuICB9XG4gIC5hY3Rpb25zIC5wcmltYXJ5LWFjdGlvbnMgPiAqICsgKiB7XG4gICAgbWFyZ2luLXRvcDogMC41cmVtO1xuICB9XG59XG5cbi5wcmltYXJ5LWFjdGlvbnMge1xuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LWdyb3c6IDE7XG4gIGp1c3RpZnktY29udGVudDogZmxleC1lbmQ7XG59XG4ucHJpbWFyeS1hY3Rpb25zIGJ1dHRvbiB7XG4gIHdoaXRlLXNwYWNlOiBub3dyYXA7XG59XG5AbWVkaWEgc2NyZWVuIGFuZCAobWluLXdpZHRoOiA2NDBweCkge1xuICAucHJpbWFyeS1hY3Rpb25zIGJ1dHRvbiArIGJ1dHRvbiB7XG4gICAgbWFyZ2luLWxlZnQ6IDAuNXJlbTtcbiAgfVxufSJdfQ== */'),exports.default={actions:"BaseModalActions-module_actions__U83Sp","cancel-action":"BaseModalActions-module_cancel-action__MFK8v","primary-actions":"BaseModalActions-module_primary-actions__KFtY1"};
|
|
2
|
+
//# sourceMappingURL=BaseModalActions.module.scss.cjs.js.map
|
package/dist/cjs/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.cjs.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseModalActions.module.scss.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";var e=require("react"),t=require("./BaseModalContent.module.scss.cjs.js");const r=e.forwardRef((({id:r,children:s,className:c="",disableAutoFocus:a=!1,...n},o)=>{const u=e.createRef();return e.useEffect((()=>{var e,t;!a&&o?null===(e=o.current)||void 0===e||e.focus():a||null===(t=u.current)||void 0===t||t.focus()}),[]),e.createElement("div",{...n,ref:null!=o?o:u,id:r,className:`${t.default.content} ${c}`,tabIndex:-1},s)}));exports.BaseModalContent=r;
|
|
2
2
|
//# sourceMappingURL=BaseModalContent.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseModalContent.cjs.js","sources":["../../../../../../../src/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, {\n ForwardRefRenderFunction,\n ComponentPropsWithRef,\n createRef,\n useEffect\n} from \"react\";\nimport classes from \"./BaseModalContent.module.scss\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id?: string;\n children: React.ReactNode;\n className?: string;\n disableAutoFocus?: boolean;\n}\n\nconst BaseModalContentComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { id, children, className = \"\", disableAutoFocus = false, ...rest }: Props,\n ref\n) => {\n const contentRef = createRef<HTMLDivElement>();\n\n useEffect(() => {\n if (!disableAutoFocus && ref) {\n (ref as React.RefObject<HTMLDivElement>).current?.focus();\n } else if (!disableAutoFocus) {\n contentRef.current?.focus();\n }\n }, []);\n\n /**tabIndex is set to be able to do focus on that element which we need for catching keyDown events */\n return (\n <div\n {...rest}\n ref={ref ?? contentRef}\n id={id}\n className={`${classes[\"content\"]} ${className}`}\n tabIndex={-1}\n >\n {children}\n </div>\n );\n};\n\nexport const BaseModalContent = React.forwardRef(BaseModalContentComponent);\n"],"names":["
|
|
1
|
+
{"version":3,"file":"BaseModalContent.cjs.js","sources":["../../../../../../../src/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, {\n ForwardRefRenderFunction,\n ComponentPropsWithRef,\n createRef,\n useEffect\n} from \"react\";\nimport classes from \"./BaseModalContent.module.scss\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id?: string;\n children: React.ReactNode;\n className?: string;\n disableAutoFocus?: boolean;\n}\n\nconst BaseModalContentComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { id, children, className = \"\", disableAutoFocus = false, ...rest }: Props,\n ref\n) => {\n const contentRef = createRef<HTMLDivElement>();\n\n useEffect(() => {\n if (!disableAutoFocus && ref) {\n (ref as React.RefObject<HTMLDivElement>).current?.focus();\n } else if (!disableAutoFocus) {\n contentRef.current?.focus();\n }\n }, []);\n\n /**tabIndex is set to be able to do focus on that element which we need for catching keyDown events */\n return (\n <div\n {...rest}\n ref={ref ?? contentRef}\n id={id}\n className={`${classes[\"content\"]} ${className}`}\n tabIndex={-1}\n >\n {children}\n </div>\n );\n};\n\nexport const BaseModalContent = React.forwardRef(BaseModalContentComponent);\n"],"names":["BaseModalContent","React","forwardRef","id","children","className","disableAutoFocus","rest","ref","contentRef","createRef","useEffect","_a","current","focus","_b","createElement","classes","default","tabIndex"],"mappings":"uFA+BA,MA4BaA,EAAmBC,EAAMC,YA5B6C,EAC/EC,KAAIC,WAAUC,YAAY,GAAIC,oBAAmB,KAAUC,GAC7DC,KAEA,MAAMC,EAAaC,EAAAA,YAWnB,OATAC,EAAAA,WAAU,cACHL,GAAoBE,EAC2B,QAAlDI,EAACJ,EAAwCK,eAAS,IAAAD,GAAAA,EAAAE,QACxCR,GACU,QAApBS,EAAAN,EAAWI,eAAS,IAAAE,GAAAA,EAAAD,OACrB,GACA,IAIDb,EACMe,cAAA,MAAA,IAAAT,EACJC,IAAKA,QAAAA,EAAOC,EACZN,GAAIA,EACJE,UAAW,GAAGY,EAAOC,QAAU,WAAKb,IACpCc,UAAW,GAEVf,EAEH"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});require("../../../node_modules/style-inject/dist/style-inject.es.cjs.js").default('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.BaseModalContent-module_content__EBc1p{flex:1;font-size:.875rem;line-height:1.25rem;outline:none;overflow-y:auto;padding:1.25rem 1.5rem 0}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkJhc2VNb2RhbENvbnRlbnQubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7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BhZGRpbmc6IDEuMjVyZW0gMS41cmVtIDA7XG4gIG92ZXJmbG93LXk6IGF1dG87XG4gIGZsZXg6IDE7XG4gIG91dGxpbmU6IG5vbmU7XG4gIGZvbnQtc2l6ZTogMC44NzVyZW07XG4gIGxpbmUtaGVpZ2h0OiAxLjI1cmVtO1xufSJdfQ== */'),exports.default={content:"BaseModalContent-module_content__EBc1p"};
|
|
2
|
+
//# sourceMappingURL=BaseModalContent.module.scss.cjs.js.map
|
package/dist/cjs/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.cjs.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseModalContent.module.scss.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";exports.descriptionId=e=>`${e}-description`,exports.labelId=e=>`${e}-label`;
|
|
2
2
|
//# sourceMappingURL=BaseModalContext.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseModalContext.cjs.js","sources":["../../../../../../src/components/Notifications/BaseModal/BaseModalContext.ts"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const labelId = (id: string) => `${id}-label`;\nexport const descriptionId = (id: string) => `${id}-description`;\n"],"names":["
|
|
1
|
+
{"version":3,"file":"BaseModalContext.cjs.js","sources":["../../../../../../src/components/Notifications/BaseModal/BaseModalContext.ts"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const labelId = (id: string) => `${id}-label`;\nexport const descriptionId = (id: string) => `${id}-description`;\n"],"names":["id"],"mappings":"mCAiB8BA,GAAe,GAAGA,gCADxBA,GAAe,GAAGA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";var e=require("react"),a=require("./BaseModalHeader.module.scss.cjs.js"),t=require("../../../Button/IconButton.cjs.js"),r=require("../../../Icon/Icon.cjs.js"),s=require("../../../Typography/Typography.cjs.js");const c=e.forwardRef((({id:c,title:l,children:o,onClose:n,...i},d)=>e.createElement("div",{...i,ref:d,className:a.default.header},e.createElement("div",{className:a.default.headline},e.createElement("div",{className:a.default["title-wrapper"]},e.createElement(s.Typography,{id:c,className:a.default.title,tag:"h1",spacing:{marginBottom:0},variant:"h4"},l)),e.createElement(t.IconButton,{onClick:n,className:a.default.closeBtn,title:"close modal"},e.createElement(r.Icon,{icon:r.Icons.Times}))),o)));exports.BaseModalHeader=c;
|
|
2
2
|
//# sourceMappingURL=BaseModalHeader.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseModalHeader.cjs.js","sources":["../../../../../../../src/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef } from \"react\";\nimport classes from \"./BaseModalHeader.module.scss\";\nimport { IconButton } from \"../../../Button/IconButton\";\nimport { Icon, Icons } from \"../../../Icon/Icon\";\nimport { Typography } from \"../../../Typography/Typography\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id: string;\n title: string;\n children?: React.ReactNode;\n onClose?: (event: React.MouseEvent<HTMLButtonElement>) => void;\n}\n\nconst BaseModalHeaderComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { id, title, children, onClose, ...rest }: Props,\n ref\n) => {\n return (\n <div {...rest} ref={ref} className={classes[\"header\"]}>\n <div className={classes[\"headline\"]}>\n <div className={classes[\"title-wrapper\"]}>\n <Typography\n id={id}\n className={classes[\"title\"]}\n tag=\"h1\"\n spacing={{ marginBottom: 0 }}\n variant=\"h4\"\n >\n {title}\n </Typography>\n </div>\n <IconButton onClick={onClose} className={classes[\"closeBtn\"]} title=\"close modal\">\n <Icon icon={Icons.Times} />\n </IconButton>\n </div>\n {children}\n </div>\n );\n};\n\nexport const BaseModalHeader = React.forwardRef(BaseModalHeaderComponent);\n"],"names":["
|
|
1
|
+
{"version":3,"file":"BaseModalHeader.cjs.js","sources":["../../../../../../../src/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef } from \"react\";\nimport classes from \"./BaseModalHeader.module.scss\";\nimport { IconButton } from \"../../../Button/IconButton\";\nimport { Icon, Icons } from \"../../../Icon/Icon\";\nimport { Typography } from \"../../../Typography/Typography\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id: string;\n title: string;\n children?: React.ReactNode;\n onClose?: (event: React.MouseEvent<HTMLButtonElement>) => void;\n}\n\nconst BaseModalHeaderComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { id, title, children, onClose, ...rest }: Props,\n ref\n) => {\n return (\n <div {...rest} ref={ref} className={classes[\"header\"]}>\n <div className={classes[\"headline\"]}>\n <div className={classes[\"title-wrapper\"]}>\n <Typography\n id={id}\n className={classes[\"title\"]}\n tag=\"h1\"\n spacing={{ marginBottom: 0 }}\n variant=\"h4\"\n >\n {title}\n </Typography>\n </div>\n <IconButton onClick={onClose} className={classes[\"closeBtn\"]} title=\"close modal\">\n <Icon icon={Icons.Times} />\n </IconButton>\n </div>\n {children}\n </div>\n );\n};\n\nexport const BaseModalHeader = React.forwardRef(BaseModalHeaderComponent);\n"],"names":["BaseModalHeader","React","forwardRef","id","title","children","onClose","rest","ref","createElement","className","classes","default","Typography","tag","spacing","marginBottom","variant","IconButton","onClick","Icon","icon","Icons","Times"],"mappings":"+NA6BA,MA2BaA,EAAkBC,EAAMC,YA3B6C,EAC9EC,KAAIC,QAAOC,WAAUC,aAAYC,GACnCC,IAGEP,EAAAQ,cAAA,MAAA,IAASF,EAAMC,IAAKA,EAAKE,UAAWC,EAAOC,QAAS,QAClDX,EAAAQ,cAAA,MAAA,CAAKC,UAAWC,EAAAA,QAAkB,UAChCV,EAAAQ,cAAA,MAAA,CAAKC,UAAWC,EAAAA,QAAQ,kBACtBV,EAAAQ,cAACI,EAAAA,WAAU,CACTV,GAAIA,EACJO,UAAWC,EAAOC,QAAQ,MAC1BE,IAAI,KACJC,QAAS,CAAEC,aAAc,GACzBC,QAAQ,MAEPb,IAGLH,EAAAQ,cAACS,aAAU,CAACC,QAASb,EAASI,UAAWC,UAAkB,SAAGP,MAAM,eAClEH,EAACQ,cAAAW,QAAKC,KAAMC,QAAMC,UAGrBlB"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});require("../../../node_modules/style-inject/dist/style-inject.es.cjs.js").default('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.BaseModalHeader-module_header__TYT6j{border-top-left-radius:8px;border-top-right-radius:8px;min-width:80px;padding:1.25rem 1.5rem 0}.BaseModalHeader-module_headline__07ZhA{align-items:center;display:flex;justify-content:space-between}.BaseModalHeader-module_title__8sCRn{flex:1;margin:0}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkJhc2VNb2RhbEhlYWRlci5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7Ozs7RUFjRSxDQUNGLHNDQUdFLDBCQUEyQixDQUMzQiwyQkFBNEIsQ0FINUIsY0FBZSxDQUNmLHdCQUdGLENBRUEsd0NBRUUsa0JBQW1CLENBRG5CLFlBQWEsQ0FFYiw2QkFDRixDQUVBLHFDQUNFLE1BQU8sQ0FDUCxRQUNGIiwiZmlsZSI6IkJhc2VNb2RhbEhlYWRlci5tb2R1bGUuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi8qIVxuICogQ29weXJpZ2h0IDIwMjIgT25lV2VsY29tZSBCLlYuXG4gKlxuICogICAgTGljZW5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vlbjtcbn1cblxuLnRpdGxlIHtcbiAgZmxleDogMTtcbiAgbWFyZ2luOiAwO1xufSJdfQ== */'),exports.default={header:"BaseModalHeader-module_header__TYT6j",headline:"BaseModalHeader-module_headline__07ZhA",title:"BaseModalHeader-module_title__8sCRn"};
|
|
2
|
+
//# sourceMappingURL=BaseModalHeader.module.scss.cjs.js.map
|
package/dist/cjs/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.cjs.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseModalHeader.module.scss.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";var e=require("react");exports.useRepeatFocus=t=>{const n=(e,t)=>{const n=e.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');return"first"===t?n[0]||null:"last"===t&&n[n.length-1]||null};e.useEffect((()=>{if(!t.current||!open)return;const e=n(t.current,"last"),r=n(t.current,"first");if(!e||!r)return;const u=t=>{"Tab"===t.key&&(t.shiftKey?document.activeElement===r&&(t.preventDefault(),null==e||e.focus()):document.activeElement===e&&(t.preventDefault(),null==r||r.focus()))};return e.addEventListener("keydown",u),r.addEventListener("keydown",u),()=>{e.removeEventListener("keydown",u),r.removeEventListener("keydown",u)}}),[t,open])};
|
|
2
2
|
//# sourceMappingURL=useRepeatFocus.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRepeatFocus.cjs.js","sources":["../../../../../../src/components/Notifications/BaseModal/useRepeatFocus.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { RefObject, useEffect } from \"react\";\n\n/**\n * @description This is a hook that will make sure that when a modal is open and the user tabs through the it,\n * the focus will be repeated and the user will not lose their entire focusable element to an element in the background\n * that is being blocked by the modal.\n */\n\nexport const useRepeatFocus = (ref: RefObject<HTMLDivElement>) => {\n const getFocusableElement = (\n element: HTMLElement,\n position: \"first\" | \"last\"\n ): HTMLElement | null => {\n const focusableSelectors =\n 'button, [href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])';\n const focusableElements = element.querySelectorAll<HTMLElement>(focusableSelectors);\n\n if (position === \"first\") {\n return focusableElements[0] || null;\n } else if (position === \"last\") {\n return focusableElements[focusableElements.length - 1] || null;\n }\n\n return null;\n };\n\n useEffect(() => {\n if (!ref.current || !open) return;\n\n const lastFocusableElement = getFocusableElement(ref.current, \"last\");\n const firstFocusableElement = getFocusableElement(ref.current, \"first\");\n\n if (!lastFocusableElement || !firstFocusableElement) return;\n\n const handleTabKeyPress = (event: KeyboardEvent) => {\n if (event.key !== \"Tab\") return;\n\n if (event.shiftKey) {\n if (document.activeElement === firstFocusableElement) {\n event.preventDefault();\n lastFocusableElement?.focus();\n }\n } else if (document.activeElement === lastFocusableElement) {\n event.preventDefault();\n firstFocusableElement?.focus();\n }\n };\n\n lastFocusableElement.addEventListener(\"keydown\", handleTabKeyPress);\n firstFocusableElement.addEventListener(\"keydown\", handleTabKeyPress);\n\n return () => {\n lastFocusableElement.removeEventListener(\"keydown\", handleTabKeyPress);\n firstFocusableElement.removeEventListener(\"keydown\", handleTabKeyPress);\n };\n }, [ref, open]);\n};\n"],"names":["
|
|
1
|
+
{"version":3,"file":"useRepeatFocus.cjs.js","sources":["../../../../../../src/components/Notifications/BaseModal/useRepeatFocus.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { RefObject, useEffect } from \"react\";\n\n/**\n * @description This is a hook that will make sure that when a modal is open and the user tabs through the it,\n * the focus will be repeated and the user will not lose their entire focusable element to an element in the background\n * that is being blocked by the modal.\n */\n\nexport const useRepeatFocus = (ref: RefObject<HTMLDivElement>) => {\n const getFocusableElement = (\n element: HTMLElement,\n position: \"first\" | \"last\"\n ): HTMLElement | null => {\n const focusableSelectors =\n 'button, [href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])';\n const focusableElements = element.querySelectorAll<HTMLElement>(focusableSelectors);\n\n if (position === \"first\") {\n return focusableElements[0] || null;\n } else if (position === \"last\") {\n return focusableElements[focusableElements.length - 1] || null;\n }\n\n return null;\n };\n\n useEffect(() => {\n if (!ref.current || !open) return;\n\n const lastFocusableElement = getFocusableElement(ref.current, \"last\");\n const firstFocusableElement = getFocusableElement(ref.current, \"first\");\n\n if (!lastFocusableElement || !firstFocusableElement) return;\n\n const handleTabKeyPress = (event: KeyboardEvent) => {\n if (event.key !== \"Tab\") return;\n\n if (event.shiftKey) {\n if (document.activeElement === firstFocusableElement) {\n event.preventDefault();\n lastFocusableElement?.focus();\n }\n } else if (document.activeElement === lastFocusableElement) {\n event.preventDefault();\n firstFocusableElement?.focus();\n }\n };\n\n lastFocusableElement.addEventListener(\"keydown\", handleTabKeyPress);\n firstFocusableElement.addEventListener(\"keydown\", handleTabKeyPress);\n\n return () => {\n lastFocusableElement.removeEventListener(\"keydown\", handleTabKeyPress);\n firstFocusableElement.removeEventListener(\"keydown\", handleTabKeyPress);\n };\n }, [ref, open]);\n};\n"],"names":["ref","getFocusableElement","element","position","focusableElements","querySelectorAll","length","useEffect","current","open","lastFocusableElement","firstFocusableElement","handleTabKeyPress","event","key","shiftKey","document","activeElement","preventDefault","focus","addEventListener","removeEventListener"],"mappings":"2DAwB+BA,IAC7B,MAAMC,EAAsB,CAC1BC,EACAC,KAEA,MAEMC,EAAoBF,EAAQG,iBADhC,4EAGF,MAAiB,UAAbF,EACKC,EAAkB,IAAM,KACT,SAAbD,GACFC,EAAkBA,EAAkBE,OAAS,IAG/C,IAAI,EAGbC,EAAAA,WAAU,KACR,IAAKP,EAAIQ,UAAYC,KAAM,OAE3B,MAAMC,EAAuBT,EAAoBD,EAAIQ,QAAS,QACxDG,EAAwBV,EAAoBD,EAAIQ,QAAS,SAE/D,IAAKE,IAAyBC,EAAuB,OAErD,MAAMC,EAAqBC,IACP,QAAdA,EAAMC,MAEND,EAAME,SACJC,SAASC,gBAAkBN,IAC7BE,EAAMK,iBACNR,SAAAA,EAAsBS,SAEfH,SAASC,gBAAkBP,IACpCG,EAAMK,iBACNP,SAAAA,EAAuBQ,SACxB,EAMH,OAHAT,EAAqBU,iBAAiB,UAAWR,GACjDD,EAAsBS,iBAAiB,UAAWR,GAE3C,KACLF,EAAqBW,oBAAoB,UAAWT,GACpDD,EAAsBU,oBAAoB,UAAWT,EAAkB,CACxE,GACA,CAACZ,EAAKS,MAAM"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";var e=require("react"),t=require("../BaseModal/BaseModal.cjs.js"),o=require("../BaseModal/BaseModalContent/BaseModalContent.cjs.js"),a=require("./DialogActions/DialogActions.cjs.js"),n=require("./Dialog.module.scss.cjs.js"),i=require("./DialogTitle/DialogTitle.cjs.js"),l=require("../../Button/Button.cjs.js"),s=require("../BaseModal/BaseModalContext.cjs.js"),r=require("../../src/util/helper.cjs.js");const c=e.forwardRef((({id:c,open:d,children:u,onClose:j,title:m,primaryAction:p,secondaryAction:B,cancelAction:g,zIndex:y,titleIcon:D,caption:q,...C},M)=>{const[A]=e.useState(null!=c?c:r.generateID(20)),{label:E,...I}=p,f=e.createElement(l.Button,{key:"primary",...I},E),h=B&&function(){const{label:t,...o}=B;return e.createElement(l.Button,{key:"tertiary",variant:"outline",...o},t)}();return e.createElement(t.BaseModal,{...C,ref:M,id:A,className:n.default.dialog,containerProps:{className:n.default.container},open:d,onClose:j,zIndex:y},e.createElement(i.DialogTitle,{titleIcon:D,caption:q,id:s.labelId(A),title:m,onClose:j}),e.createElement(o.BaseModalContent,{id:s.descriptionId(A),className:n.default.content,disableAutoFocus:!0},u),e.createElement(a.DialogActions,{onClose:j,cancelAction:g},[h,f]),e.createElement("input",{autoFocus:!0,"aria-hidden":!0,style:{position:"absolute",width:0,height:0,opacity:0},maxLength:0,tabIndex:-1,onKeyDown:e=>{"Enter"===e.key&&p.onClick()}}))}));exports.Dialog=c;
|
|
2
2
|
//# sourceMappingURL=Dialog.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.cjs.js","sources":["../../../../../../src/components/Notifications/Dialog/Dialog.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef, useState } from \"react\";\nimport { BaseModal } from \"../BaseModal/BaseModal\";\nimport { BaseModalContent } from \"../BaseModal/BaseModalContent/BaseModalContent\";\nimport { DialogActions } from \"./DialogActions/DialogActions\";\nimport classes from \"./Dialog.module.scss\";\nimport { DialogTitle } from \"./DialogTitle/DialogTitle\";\nimport { Button, Props as ButtonProps } from \"../../Button/Button\";\nimport { labelId, descriptionId } from \"../BaseModal/BaseModalContext\";\nimport { generateID } from \"../../../util/helper\";\nimport { CancelAction } from \"../BaseModal/BaseModalActions/BaseModalActions\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id?: string;\n open: boolean;\n children: React.ReactNode;\n onClose?: () => void;\n title: string;\n primaryAction: Action;\n secondaryAction?: Action;\n cancelAction?: CancelAction;\n zIndex?: number;\n disableEscapeKeyDown?: boolean;\n titleIcon?: React.ReactNode;\n caption?: string;\n}\n\nexport interface Action extends Omit<ButtonProps, \"variant\" | \"ref\"> {\n label: string;\n onClick: (event?: React.MouseEvent<HTMLButtonElement>) => unknown;\n}\n\nconst DialogComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n {\n id,\n open,\n children,\n onClose,\n title,\n primaryAction,\n secondaryAction,\n cancelAction,\n zIndex,\n titleIcon,\n caption,\n ...rest\n }: Props,\n ref\n) => {\n const [dialogId] = useState(id ?? generateID(20));\n const { label: primaryLabel, ...restOfPrimaryAction } = primaryAction;\n const PrimaryButton = (\n <Button key=\"primary\" {...restOfPrimaryAction}>\n {primaryLabel}\n </Button>\n );\n\n const SecondaryButton =\n secondaryAction &&\n (function () {\n const { label: secondaryLabel, ...restOfSecondaryAction } = secondaryAction;\n return (\n <Button key=\"tertiary\" variant=\"outline\" {...restOfSecondaryAction}>\n {secondaryLabel}\n </Button>\n );\n })();\n\n const onHiddenInputKeyPress = (event: React.KeyboardEvent<HTMLInputElement>) => {\n /** It has to be here because then we will need to check if user doesn't click tab to select action button and want to do another action then primary one? */\n if (event.key === \"Enter\") {\n primaryAction.onClick();\n }\n };\n\n return (\n <BaseModal\n {...rest}\n ref={ref}\n id={dialogId}\n className={classes[\"dialog\"]}\n containerProps={{ className: classes[\"container\"] }}\n open={open}\n onClose={onClose}\n zIndex={zIndex}\n >\n <DialogTitle\n titleIcon={titleIcon}\n caption={caption}\n id={labelId(dialogId)}\n title={title}\n onClose={onClose}\n />\n <BaseModalContent\n id={descriptionId(dialogId)}\n className={classes[\"content\"]}\n disableAutoFocus\n >\n {children}\n </BaseModalContent>\n <DialogActions onClose={onClose} cancelAction={cancelAction}>\n {[SecondaryButton, PrimaryButton]}\n </DialogActions>\n <input\n autoFocus\n aria-hidden={true}\n style={{\n position: \"absolute\",\n width: 0,\n height: 0,\n opacity: 0\n }}\n maxLength={0}\n tabIndex={-1}\n onKeyDown={onHiddenInputKeyPress}\n />\n </BaseModal>\n );\n};\n\nexport const Dialog = React.forwardRef(DialogComponent);\n"],"names":["
|
|
1
|
+
{"version":3,"file":"Dialog.cjs.js","sources":["../../../../../../src/components/Notifications/Dialog/Dialog.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef, useState } from \"react\";\nimport { BaseModal } from \"../BaseModal/BaseModal\";\nimport { BaseModalContent } from \"../BaseModal/BaseModalContent/BaseModalContent\";\nimport { DialogActions } from \"./DialogActions/DialogActions\";\nimport classes from \"./Dialog.module.scss\";\nimport { DialogTitle } from \"./DialogTitle/DialogTitle\";\nimport { Button, Props as ButtonProps } from \"../../Button/Button\";\nimport { labelId, descriptionId } from \"../BaseModal/BaseModalContext\";\nimport { generateID } from \"../../../util/helper\";\nimport { CancelAction } from \"../BaseModal/BaseModalActions/BaseModalActions\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id?: string;\n open: boolean;\n children: React.ReactNode;\n onClose?: () => void;\n title: string;\n primaryAction: Action;\n secondaryAction?: Action;\n cancelAction?: CancelAction;\n zIndex?: number;\n disableEscapeKeyDown?: boolean;\n titleIcon?: React.ReactNode;\n caption?: string;\n}\n\nexport interface Action extends Omit<ButtonProps, \"variant\" | \"ref\"> {\n label: string;\n onClick: (event?: React.MouseEvent<HTMLButtonElement>) => unknown;\n}\n\nconst DialogComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n {\n id,\n open,\n children,\n onClose,\n title,\n primaryAction,\n secondaryAction,\n cancelAction,\n zIndex,\n titleIcon,\n caption,\n ...rest\n }: Props,\n ref\n) => {\n const [dialogId] = useState(id ?? generateID(20));\n const { label: primaryLabel, ...restOfPrimaryAction } = primaryAction;\n const PrimaryButton = (\n <Button key=\"primary\" {...restOfPrimaryAction}>\n {primaryLabel}\n </Button>\n );\n\n const SecondaryButton =\n secondaryAction &&\n (function () {\n const { label: secondaryLabel, ...restOfSecondaryAction } = secondaryAction;\n return (\n <Button key=\"tertiary\" variant=\"outline\" {...restOfSecondaryAction}>\n {secondaryLabel}\n </Button>\n );\n })();\n\n const onHiddenInputKeyPress = (event: React.KeyboardEvent<HTMLInputElement>) => {\n /** It has to be here because then we will need to check if user doesn't click tab to select action button and want to do another action then primary one? */\n if (event.key === \"Enter\") {\n primaryAction.onClick();\n }\n };\n\n return (\n <BaseModal\n {...rest}\n ref={ref}\n id={dialogId}\n className={classes[\"dialog\"]}\n containerProps={{ className: classes[\"container\"] }}\n open={open}\n onClose={onClose}\n zIndex={zIndex}\n >\n <DialogTitle\n titleIcon={titleIcon}\n caption={caption}\n id={labelId(dialogId)}\n title={title}\n onClose={onClose}\n />\n <BaseModalContent\n id={descriptionId(dialogId)}\n className={classes[\"content\"]}\n disableAutoFocus\n >\n {children}\n </BaseModalContent>\n <DialogActions onClose={onClose} cancelAction={cancelAction}>\n {[SecondaryButton, PrimaryButton]}\n </DialogActions>\n <input\n autoFocus\n aria-hidden={true}\n style={{\n position: \"absolute\",\n width: 0,\n height: 0,\n opacity: 0\n }}\n maxLength={0}\n tabIndex={-1}\n onKeyDown={onHiddenInputKeyPress}\n />\n </BaseModal>\n );\n};\n\nexport const Dialog = React.forwardRef(DialogComponent);\n"],"names":["Dialog","React","forwardRef","id","open","children","onClose","title","primaryAction","secondaryAction","cancelAction","zIndex","titleIcon","caption","rest","ref","dialogId","useState","generateID","label","primaryLabel","restOfPrimaryAction","PrimaryButton","createElement","Button","key","SecondaryButton","secondaryLabel","restOfSecondaryAction","variant","BaseModal","className","classes","containerProps","default","DialogTitle","labelId","BaseModalContent","descriptionId","disableAutoFocus","DialogActions","autoFocus","style","position","width","height","opacity","maxLength","tabIndex","onKeyDown","event","onClick"],"mappings":"+ZA+CA,MAwFaA,EAASC,EAAMC,YAxF6C,EAErEC,KACAC,OACAC,WACAC,UACAC,QACAC,gBACAC,kBACAC,eACAC,SACAC,YACAC,aACGC,GAELC,KAEA,MAAOC,GAAYC,EAAQA,SAACd,QAAAA,EAAMe,aAAW,MACrCC,MAAOC,KAAiBC,GAAwBb,EAClDc,EACJrB,EAAAsB,cAACC,SAAO,CAAAC,IAAI,aAAcJ,GACvBD,GAICM,EACJjB,GACA,WACE,MAAQU,MAAOQ,KAAmBC,GAA0BnB,EAC5D,OACER,EAACsB,cAAAC,EAAMA,OAAC,CAAAC,IAAI,WAAWI,QAAQ,aAAcD,GAC1CD,EAGN,CAPD,GAgBF,OACE1B,EAACsB,cAAAO,EAASA,cACJhB,EACJC,IAAKA,EACLZ,GAAIa,EACJe,UAAWC,EAAAA,QAAgB,OAC3BC,eAAgB,CAAEF,UAAWC,EAAOE,QAAY,WAChD9B,KAAMA,EACNE,QAASA,EACTK,OAAQA,GAERV,EAACsB,cAAAY,EAAWA,YACV,CAAAvB,UAAWA,EACXC,QAASA,EACTV,GAAIiC,EAAOA,QAACpB,GACZT,MAAOA,EACPD,QAASA,IAEXL,EAAAsB,cAACc,EAAAA,iBACC,CAAAlC,GAAImC,EAAaA,cAACtB,GAClBe,UAAWC,EAAAA,QAAiB,QAC5BO,kBAAgB,GAEflC,GAEHJ,EAAAsB,cAACiB,gBAAa,CAAClC,QAASA,EAASI,aAAcA,GAC5C,CAACgB,EAAiBJ,IAErBrB,EAAAsB,cAAA,QAAA,CACEkB,WAAS,EAAA,eACI,EACbC,MAAO,CACLC,SAAU,WACVC,MAAO,EACPC,OAAQ,EACRC,QAAS,GAEXC,UAAW,EACXC,UAAW,EACXC,UA9CyBC,IAEX,UAAdA,EAAMzB,KACRjB,EAAc2C,SACf,IA6CD"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});require("../../node_modules/style-inject/dist/style-inject.es.cjs.js").default('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.Dialog-module_dialog__91qHi{align-items:center}@media only screen and (min-width:50em){.Dialog-module_container__SXyt2{margin-top:0;max-height:90%;width:30rem}}.Dialog-module_content__RTnpE{padding-top:0}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkRpYWxvZy5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7Ozs7RUFjRSxDQUNGLDZCQUNFLGtCQUNGLENBRUEsd0NBQ0UsZ0NBRUUsWUFBYSxDQUNiLGNBQWUsQ0FGZixXQUdGLENBQ0YsQ0FDQSw4QkFDRSxhQUNGIiwiZmlsZSI6IkRpYWxvZy5tb2R1bGUuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi8qIVxuICogQ29weXJpZ2h0IDIwMjIgT25lV2VsY29tZSBCLlYuXG4gKlxuICogICAgTGljZW5zZWQgdW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__91qHi",container:"Dialog-module_container__SXyt2",content:"Dialog-module_content__RTnpE"};
|
|
2
|
+
//# sourceMappingURL=Dialog.module.scss.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dialog.module.scss.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";var e=require("react"),s=require("../../BaseModal/BaseModalActions/BaseModalActions.cjs.js"),c=require("./DialogActions.module.scss.cjs.js");const a=e.forwardRef((({children:a,cancelAction:o,onClose:l,...n},t)=>e.createElement(s.BaseModalActions,{...n,cancelAction:o,cancelActionsClassName:c.default["cancel-action"],onClose:l,ref:t,className:c.default.actions},a)));exports.DialogActions=a;
|
|
2
2
|
//# sourceMappingURL=DialogActions.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogActions.cjs.js","sources":["../../../../../../../src/components/Notifications/Dialog/DialogActions/DialogActions.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef } from \"react\";\nimport {\n BaseModalActions,\n Props as BaseModalActionsProps,\n CancelAction\n} from \"../../BaseModal/BaseModalActions/BaseModalActions\";\nimport classes from \"./DialogActions.module.scss\";\n\nexport interface Props extends ComponentPropsWithRef<any>, BaseModalActionsProps {\n cancelAction?: CancelAction;\n}\n\nconst DialogActionsComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { children, cancelAction, onClose, ...rest }: Props,\n ref\n) => {\n return (\n <BaseModalActions\n {...rest}\n cancelAction={cancelAction}\n cancelActionsClassName={classes[\"cancel-action\"]}\n onClose={onClose}\n ref={ref}\n className={classes[\"actions\"]}\n >\n {children}\n </BaseModalActions>\n );\n};\n\nexport const DialogActions = React.forwardRef(DialogActionsComponent);\n"],"names":["
|
|
1
|
+
{"version":3,"file":"DialogActions.cjs.js","sources":["../../../../../../../src/components/Notifications/Dialog/DialogActions/DialogActions.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef } from \"react\";\nimport {\n BaseModalActions,\n Props as BaseModalActionsProps,\n CancelAction\n} from \"../../BaseModal/BaseModalActions/BaseModalActions\";\nimport classes from \"./DialogActions.module.scss\";\n\nexport interface Props extends ComponentPropsWithRef<any>, BaseModalActionsProps {\n cancelAction?: CancelAction;\n}\n\nconst DialogActionsComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { children, cancelAction, onClose, ...rest }: Props,\n ref\n) => {\n return (\n <BaseModalActions\n {...rest}\n cancelAction={cancelAction}\n cancelActionsClassName={classes[\"cancel-action\"]}\n onClose={onClose}\n ref={ref}\n className={classes[\"actions\"]}\n >\n {children}\n </BaseModalActions>\n );\n};\n\nexport const DialogActions = React.forwardRef(DialogActionsComponent);\n"],"names":["DialogActions","React","forwardRef","children","cancelAction","onClose","rest","ref","createElement","BaseModalActions","cancelActionsClassName","classes","className"],"mappings":"0JA4BA,MAkBaA,EAAgBC,EAAMC,YAlB6C,EAC5EC,WAAUC,eAAcC,aAAYC,GACtCC,IAGEN,EAAAO,cAACC,EAAAA,iBAAgB,IACXH,EACJF,aAAcA,EACdM,uBAAwBC,UAAQ,iBAChCN,QAASA,EACTE,IAAKA,EACLK,UAAWD,EAAAA,QAAiB,SAE3BR"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});require("../../../node_modules/style-inject/dist/style-inject.es.cjs.js").default('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.DialogActions-module_actions__K5DW4 *+*{margin-left:.5rem}@media screen and (max-width:640px){.DialogActions-module_actions__K5DW4 .DialogActions-module_cancel-action__0GxwH{align-items:flex-end;display:block;flex-direction:column;margin-bottom:.5rem;margin-left:0}.DialogActions-module_actions__K5DW4 .DialogActions-module_cancel-action__0GxwH>*{width:100%}}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkRpYWxvZ0FjdGlvbnMubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7O0VBY0UsQ0FDRix5Q0FDRSxpQkFDRixDQUNBLG9DQUNFLGdGQUdFLG9CQUFxQixDQUZyQixhQUFjLENBQ2QscUJBQXNCLENBR3RCLG1CQUFxQixDQURyQixhQUVGLENBQ0Esa0ZBQ0UsVUFDRixDQUNGIiwiZmlsZSI6IkRpYWxvZ0FjdGlvbnMubW9kdWxlLnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIvKiFcbiA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47XG4gICAgYWxpZ24taXRlbXM6IGZsZXgtZW5kO1xuICAgIG1hcmdpbi1sZWZ0OiAwO1xuICAgIG1hcmdpbi1ib3R0b206IDAuNXJlbTtcbiAgfVxuICAuYWN0aW9ucyAuY2FuY2VsLWFjdGlvbiA+ICoge1xuICAgIHdpZHRoOiAxMDAlO1xuICB9XG59Il19 */'),exports.default={actions:"DialogActions-module_actions__K5DW4","cancel-action":"DialogActions-module_cancel-action__0GxwH"};
|
|
2
|
+
//# sourceMappingURL=DialogActions.module.scss.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DialogActions.module.scss.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";var e=require("react"),t=require("../../../Typography/Typography.cjs.js"),a=require("./DialogTitle.module.scss.cjs.js"),c=require("../../../Icon/Icon.cjs.js"),l=require("../../../Button/IconButton.cjs.js");const n=e.forwardRef((({id:n,title:o,titleIcon:i,caption:r,onClose:s,...m},u)=>e.createElement("div",{...m,ref:u,className:a.default.header},e.createElement("div",{className:`${a.default.headline} ${r?a.default["with-caption"]:a.default["no-caption"]}`},i&&e.createElement("div",{className:a.default["title-icon"]},"boolean"==typeof i?e.createElement(c.Icon,{icon:c.Icons.InfoCircle}):i),e.createElement("div",{className:a.default["title-wrapper"]},e.createElement(t.Typography,{id:n,className:a.default.title,spacing:i&&{marginLeft:2},tag:"h1",variant:"h4"},o),r&&e.createElement(t.Typography,{className:a.default.caption,spacing:{marginLeft:2},variant:"sub-text"},r))),s&&e.createElement(l.IconButton,{onClick:s,className:a.default["close-button"],title:"close modal"},e.createElement(c.Icon,{icon:c.Icons.Times})))));exports.DialogTitle=n;
|
|
2
2
|
//# sourceMappingURL=DialogTitle.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogTitle.cjs.js","sources":["../../../../../../../src/components/Notifications/Dialog/DialogTitle/DialogTitle.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef } from \"react\";\nimport { Typography } from \"../../../Typography/Typography\";\nimport classes from \"./DialogTitle.module.scss\";\nimport { Icon, Icons } from \"../../../Icon/Icon\";\nimport { IconButton } from \"../../../Button/IconButton\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id: string;\n title: string;\n titleIcon?: React.ReactNode;\n caption?: string;\n onClose?: (event: React.MouseEvent<HTMLButtonElement>) => void;\n}\n\nconst DialogTitleComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { id, title, titleIcon, caption, onClose, ...rest }: Props,\n ref\n) => {\n return (\n <div {...rest} ref={ref} className={classes[\"header\"]}>\n <div\n className={`${classes[\"headline\"]} ${caption ? classes[\"with-caption\"] : classes[\"no-caption\"]}`}\n >\n {titleIcon && (\n <div className={classes[\"title-icon\"]}>\n {typeof titleIcon === \"boolean\" ? <Icon icon={Icons.InfoCircle} /> : titleIcon}\n </div>\n )}\n <div className={classes[\"title-wrapper\"]}>\n <Typography\n id={id}\n className={classes[\"title\"]}\n spacing={titleIcon && { marginLeft: 2 }}\n tag=\"h1\"\n variant=\"h4\"\n >\n {title}\n </Typography>\n {caption && (\n <Typography\n className={classes[\"caption\"]}\n spacing={{ marginLeft: 2 }}\n variant=\"sub-text\"\n >\n {caption}\n </Typography>\n )}\n </div>\n </div>\n {onClose && (\n <IconButton onClick={onClose} className={classes[\"close-button\"]} title=\"close modal\">\n <Icon icon={Icons.Times} />\n </IconButton>\n )}\n </div>\n );\n};\n\nexport const DialogTitle = React.forwardRef(DialogTitleComponent);\n"],"names":["
|
|
1
|
+
{"version":3,"file":"DialogTitle.cjs.js","sources":["../../../../../../../src/components/Notifications/Dialog/DialogTitle/DialogTitle.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef } from \"react\";\nimport { Typography } from \"../../../Typography/Typography\";\nimport classes from \"./DialogTitle.module.scss\";\nimport { Icon, Icons } from \"../../../Icon/Icon\";\nimport { IconButton } from \"../../../Button/IconButton\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id: string;\n title: string;\n titleIcon?: React.ReactNode;\n caption?: string;\n onClose?: (event: React.MouseEvent<HTMLButtonElement>) => void;\n}\n\nconst DialogTitleComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { id, title, titleIcon, caption, onClose, ...rest }: Props,\n ref\n) => {\n return (\n <div {...rest} ref={ref} className={classes[\"header\"]}>\n <div\n className={`${classes[\"headline\"]} ${caption ? classes[\"with-caption\"] : classes[\"no-caption\"]}`}\n >\n {titleIcon && (\n <div className={classes[\"title-icon\"]}>\n {typeof titleIcon === \"boolean\" ? <Icon icon={Icons.InfoCircle} /> : titleIcon}\n </div>\n )}\n <div className={classes[\"title-wrapper\"]}>\n <Typography\n id={id}\n className={classes[\"title\"]}\n spacing={titleIcon && { marginLeft: 2 }}\n tag=\"h1\"\n variant=\"h4\"\n >\n {title}\n </Typography>\n {caption && (\n <Typography\n className={classes[\"caption\"]}\n spacing={{ marginLeft: 2 }}\n variant=\"sub-text\"\n >\n {caption}\n </Typography>\n )}\n </div>\n </div>\n {onClose && (\n <IconButton onClick={onClose} className={classes[\"close-button\"]} title=\"close modal\">\n <Icon icon={Icons.Times} />\n </IconButton>\n )}\n </div>\n );\n};\n\nexport const DialogTitle = React.forwardRef(DialogTitleComponent);\n"],"names":["DialogTitle","React","forwardRef","id","title","titleIcon","caption","onClose","rest","ref","createElement","className","classes","default","Icon","icon","Icons","InfoCircle","Typography","spacing","marginLeft","tag","variant","IconButton","onClick","Times"],"mappings":"2NA8BA,MA4CaA,EAAcC,EAAMC,YA5C6C,EAC1EC,KAAIC,QAAOC,YAAWC,UAASC,aAAYC,GAC7CC,IAGER,EAAAS,cAAA,MAAA,IAASF,EAAMC,IAAKA,EAAKE,UAAWC,EAAOC,QAAS,QAClDZ,EACES,cAAA,MAAA,CAAAC,UAAW,GAAGC,EAAAA,QAAkB,YAAKN,EAAUM,EAAAA,QAAQ,gBAAkBA,EAAAA,QAAQ,iBAEhFP,GACCJ,EAAKS,cAAA,MAAA,CAAAC,UAAWC,EAAOC,QAAC,eACA,kBAAdR,EAA0BJ,EAACS,cAAAI,EAAAA,KAAK,CAAAC,KAAMC,EAAAA,MAAMC,aAAiBZ,GAGzEJ,EAAAS,cAAA,MAAA,CAAKC,UAAWC,EAAAA,QAAQ,kBACtBX,EAAAS,cAACQ,EAAAA,WAAU,CACTf,GAAIA,EACJQ,UAAWC,UAAe,MAC1BO,QAASd,GAAa,CAAEe,WAAY,GACpCC,IAAI,KACJC,QAAQ,MAEPlB,GAEFE,GACCL,EAACS,cAAAQ,EAAAA,WACC,CAAAP,UAAWC,EAAOC,QAAU,QAC5BM,QAAS,CAAEC,WAAY,GACvBE,QAAQ,YAEPhB,KAKRC,GACCN,EAAAS,cAACa,EAAAA,WAAW,CAAAC,QAASjB,EAASI,UAAWC,EAAAA,QAAQ,gBAAiBR,MAAM,eACtEH,EAAAS,cAACI,EAAAA,KAAI,CAACC,KAAMC,EAAAA,MAAMS"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});require("../../../node_modules/style-inject/dist/style-inject.es.cjs.js").default('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.DialogTitle-module_header__maiky{align-items:center;display:flex;justify-content:space-between;margin:1rem 1.5rem}.DialogTitle-module_headline__TItnb{display:flex}.DialogTitle-module_headline__TItnb.DialogTitle-module_with-caption__2Bu7z{align-items:flex-start}.DialogTitle-module_headline__TItnb.DialogTitle-module_no-caption__4-QI4{align-items:center}.DialogTitle-module_title__2Date{line-height:1;margin:0}.DialogTitle-module_title-icon__RFCV->[data-icon]{font-size:1.25rem}.DialogTitle-module_caption__08LUu{color:var(--color-blue-grey500)}.DialogTitle-module_close-button__EO320{flex-shrink:0}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkRpYWxvZ1RpdGxlLm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7OztFQWNFLENBQ0Ysa0NBR0Usa0JBQW1CLENBRG5CLFlBQWEsQ0FFYiw2QkFBOEIsQ0FIOUIsa0JBSUYsQ0FFQSxvQ0FDRSxZQUNGLENBQ0EsMkVBQ0Usc0JBQ0YsQ0FDQSx5RUFDRSxrQkFDRixDQUVBLGlDQUVFLGFBQWMsQ0FEZCxRQUVGLENBQ0Esa0RBQ0UsaUJBQ0YsQ0FFQSxtQ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50ZXI7XG4gIGp1c3RpZnktY29udGVudDogc3BhY2UtYmV0d2Vlbjtcbn1cblxuLmhlYWRsaW5lIHtcbiAgZGlzcGxheTogZmxleDtcbn1cbi5oZWFkbGluZS53aXRoLWNhcHRpb24ge1xuICBhbGlnbi1pdGVtczogZmxleC1zdGFydDtcbn1cbi5oZWFkbGluZS5uby1jYXB0aW9uIHtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbn1cblxuLnRpdGxlIHtcbiAgbWFyZ2luOiAwO1xuICBsaW5lLWhlaWdodDogMTtcbn1cbi50aXRsZS1pY29uID4gW2RhdGEtaWNvbl0ge1xuICBmb250LXNpemU6IDEuMjVyZW07XG59XG5cbi5jYXB0aW9uIHtcbiAgY29sb3I6IHZhcigtLWNvbG9yLWJsdWUtZ3JleTUwMCk7XG59XG5cbi5jbG9zZS1idXR0b24ge1xuICBmbGV4LXNocmluazogMDtcbn0iXX0= */'),exports.default={header:"DialogTitle-module_header__maiky",headline:"DialogTitle-module_headline__TItnb","with-caption":"DialogTitle-module_with-caption__2Bu7z","no-caption":"DialogTitle-module_no-caption__4-QI4",title:"DialogTitle-module_title__2Date","title-icon":"DialogTitle-module_title-icon__RFCV-",caption:"DialogTitle-module_caption__08LUu","close-button":"DialogTitle-module_close-button__EO320"};
|
|
2
|
+
//# sourceMappingURL=DialogTitle.module.scss.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DialogTitle.module.scss.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/cjs/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.cjs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";var e=require("react"),a=require("../../Dialog/Dialog.cjs.js"),n=require("../../../Typography/Typography.cjs.js");const i=e.forwardRef((({open:i,onKeepEditing:o,onDiscardChanges:r,discardChangesButtonLabel:t,keepEditingButtonLabel:c,contentLabel:l,titleLabel:s,cancelAction:g,...p},d)=>e.createElement(a.Dialog,{...p,ref:d,open:i,title:s,onClose:o,cancelAction:g,primaryAction:{label:t,onClick:r},secondaryAction:{label:c,onClick:o},disableEscapeKeyDown:!1},e.createElement(n.Typography,{variant:"body",spacing:{margin:0}},l))));exports.DiscardChangesDialog=i;
|
|
2
2
|
//# sourceMappingURL=DiscardChangesDialog.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DiscardChangesDialog.cjs.js","sources":["../../../../../../../src/components/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef } from \"react\";\nimport { Dialog } from \"../../Dialog/Dialog\";\nimport { Typography } from \"../../../Typography/Typography\";\nimport { DataAttributeKey } from \"../../../../interfaces\";\nimport { CancelAction } from \"../../BaseModal/BaseModalActions/BaseModalActions\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n open: boolean;\n discardChangesButtonLabel: string;\n keepEditingButtonLabel: string;\n cancelAction?: CancelAction;\n contentLabel: string;\n titleLabel: string;\n [dataAttribute: DataAttributeKey]: any;\n onKeepEditing: () => void;\n onDiscardChanges: () => void;\n}\n\nconst DiscardChangesDialogComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n {\n open,\n onKeepEditing,\n onDiscardChanges,\n discardChangesButtonLabel,\n keepEditingButtonLabel,\n contentLabel,\n titleLabel,\n cancelAction,\n ...rest\n }: Props,\n ref\n) => {\n return (\n <Dialog\n {...rest}\n ref={ref}\n open={open}\n title={titleLabel}\n onClose={onKeepEditing}\n cancelAction={cancelAction}\n primaryAction={{\n label: discardChangesButtonLabel,\n onClick: onDiscardChanges\n }}\n secondaryAction={{\n label: keepEditingButtonLabel,\n onClick: onKeepEditing\n }}\n disableEscapeKeyDown={false}\n >\n <Typography variant=\"body\" spacing={{ margin: 0 }}>\n {contentLabel}\n </Typography>\n </Dialog>\n );\n};\n\nexport const DiscardChangesDialog = React.forwardRef(DiscardChangesDialogComponent);\n"],"names":["
|
|
1
|
+
{"version":3,"file":"DiscardChangesDialog.cjs.js","sources":["../../../../../../../src/components/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef } from \"react\";\nimport { Dialog } from \"../../Dialog/Dialog\";\nimport { Typography } from \"../../../Typography/Typography\";\nimport { DataAttributeKey } from \"../../../../interfaces\";\nimport { CancelAction } from \"../../BaseModal/BaseModalActions/BaseModalActions\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n open: boolean;\n discardChangesButtonLabel: string;\n keepEditingButtonLabel: string;\n cancelAction?: CancelAction;\n contentLabel: string;\n titleLabel: string;\n [dataAttribute: DataAttributeKey]: any;\n onKeepEditing: () => void;\n onDiscardChanges: () => void;\n}\n\nconst DiscardChangesDialogComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n {\n open,\n onKeepEditing,\n onDiscardChanges,\n discardChangesButtonLabel,\n keepEditingButtonLabel,\n contentLabel,\n titleLabel,\n cancelAction,\n ...rest\n }: Props,\n ref\n) => {\n return (\n <Dialog\n {...rest}\n ref={ref}\n open={open}\n title={titleLabel}\n onClose={onKeepEditing}\n cancelAction={cancelAction}\n primaryAction={{\n label: discardChangesButtonLabel,\n onClick: onDiscardChanges\n }}\n secondaryAction={{\n label: keepEditingButtonLabel,\n onClick: onKeepEditing\n }}\n disableEscapeKeyDown={false}\n >\n <Typography variant=\"body\" spacing={{ margin: 0 }}>\n {contentLabel}\n </Typography>\n </Dialog>\n );\n};\n\nexport const DiscardChangesDialog = React.forwardRef(DiscardChangesDialogComponent);\n"],"names":["DiscardChangesDialog","React","forwardRef","open","onKeepEditing","onDiscardChanges","discardChangesButtonLabel","keepEditingButtonLabel","contentLabel","titleLabel","cancelAction","rest","ref","createElement","Dialog","title","onClose","primaryAction","label","onClick","secondaryAction","disableEscapeKeyDown","Typography","variant","spacing","margin"],"mappings":"+HAkCA,MAuCaA,EAAuBC,EAAMC,YAvC6C,EAEnFC,OACAC,gBACAC,mBACAC,4BACAC,yBACAC,eACAC,aACAC,kBACGC,GAELC,IAGEX,EAACY,cAAAC,EAAMA,OACD,IAAAH,EACJC,IAAKA,EACLT,KAAMA,EACNY,MAAON,EACPO,QAASZ,EACTM,aAAcA,EACdO,cAAe,CACbC,MAAOZ,EACPa,QAASd,GAEXe,gBAAiB,CACfF,MAAOX,EACPY,QAASf,GAEXiB,sBAAsB,GAEtBpB,EAAAY,cAACS,aAAW,CAAAC,QAAQ,OAAOC,QAAS,CAAEC,OAAQ,IAC3CjB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";var e=require("react"),a=require("../BaseModal/BaseModal.cjs.js"),s=require("../BaseModal/BaseModalHeader/BaseModalHeader.cjs.js"),r=require("./DiscardChangesDialog/DiscardChangesDialog.cjs.js");exports.DiscardChangesModal=({id:d,children:o,headerProps:l,discardChangedDialogProps:n,modalRef:i,dialogRef:t,onClose:c,hasUnsavedChanges:g,...h})=>{const[C,D]=e.useState(!1),u=()=>g()?D(!0):c();return e.createElement(e.Fragment,null,e.createElement(a.BaseModal,{id:d,ref:i,onClose:u,...h},e.createElement(s.BaseModalHeader,{...l,id:`${d}-label`,onClose:u}),o),e.createElement(r.DiscardChangesDialog,{...n,ref:t,open:C,onKeepEditing:()=>{D(!1)},onDiscardChanges:()=>{D(!1),c()}}))};
|
|
2
2
|
//# sourceMappingURL=DiscardChangesModal.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DiscardChangesModal.cjs.js","sources":["../../../../../../src/components/Notifications/DiscardChangesModal/DiscardChangesModal.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { Fragment, useState } from \"react\";\nimport { Modal, Props as ModalProps } from \"../Modal/Modal\";\nimport { ModalHeader, Props as ModalHeaderProps } from \"../Modal/ModalHeader/ModalHeader\";\nimport {\n DiscardChangesDialog,\n Props as DiscardChangesDialogProps\n} from \"./DiscardChangesDialog/DiscardChangesDialog\";\n\nexport interface Props extends Omit<ModalProps, \"onClose\"> {\n hasUnsavedChanges: () => boolean;\n onClose: (event?: React.MouseEvent<HTMLElement>) => unknown;\n headerProps: Omit<ModalHeaderProps, \"onClose\" | \"id\">;\n discardChangedDialogProps: Omit<\n DiscardChangesDialogProps,\n \"open\" | \"onKeepEditing\" | \"onDiscardChanges\"\n >;\n modalRef?: React.RefObject<HTMLDivElement>;\n dialogRef?: React.RefObject<HTMLDivElement>;\n}\n\nexport const DiscardChangesModal = ({\n id,\n children,\n headerProps,\n discardChangedDialogProps,\n modalRef,\n dialogRef,\n onClose,\n hasUnsavedChanges,\n ...rest\n}: Props) => {\n const [openDiscardChangesDialog, setOpenDiscardChangesDialog] = useState(false);\n\n const onCloseWrapper = () =>\n hasUnsavedChanges() ? setOpenDiscardChangesDialog(true) : onClose();\n\n const onDialogKeepEditing = () => {\n setOpenDiscardChangesDialog(false);\n };\n\n const onDialogDiscardChanges = () => {\n setOpenDiscardChangesDialog(false);\n onClose();\n };\n\n return (\n <Fragment>\n <Modal id={id} ref={modalRef} onClose={onCloseWrapper} {...rest}>\n <ModalHeader {...headerProps} id={`${id}-label`} onClose={onCloseWrapper} />\n {children}\n </Modal>\n <DiscardChangesDialog\n {...discardChangedDialogProps}\n ref={dialogRef}\n open={openDiscardChangesDialog}\n onKeepEditing={onDialogKeepEditing}\n onDiscardChanges={onDialogDiscardChanges}\n />\n </Fragment>\n );\n};\n"],"names":["
|
|
1
|
+
{"version":3,"file":"DiscardChangesModal.cjs.js","sources":["../../../../../../src/components/Notifications/DiscardChangesModal/DiscardChangesModal.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { Fragment, useState } from \"react\";\nimport { Modal, Props as ModalProps } from \"../Modal/Modal\";\nimport { ModalHeader, Props as ModalHeaderProps } from \"../Modal/ModalHeader/ModalHeader\";\nimport {\n DiscardChangesDialog,\n Props as DiscardChangesDialogProps\n} from \"./DiscardChangesDialog/DiscardChangesDialog\";\n\nexport interface Props extends Omit<ModalProps, \"onClose\"> {\n hasUnsavedChanges: () => boolean;\n onClose: (event?: React.MouseEvent<HTMLElement>) => unknown;\n headerProps: Omit<ModalHeaderProps, \"onClose\" | \"id\">;\n discardChangedDialogProps: Omit<\n DiscardChangesDialogProps,\n \"open\" | \"onKeepEditing\" | \"onDiscardChanges\"\n >;\n modalRef?: React.RefObject<HTMLDivElement>;\n dialogRef?: React.RefObject<HTMLDivElement>;\n}\n\nexport const DiscardChangesModal = ({\n id,\n children,\n headerProps,\n discardChangedDialogProps,\n modalRef,\n dialogRef,\n onClose,\n hasUnsavedChanges,\n ...rest\n}: Props) => {\n const [openDiscardChangesDialog, setOpenDiscardChangesDialog] = useState(false);\n\n const onCloseWrapper = () =>\n hasUnsavedChanges() ? setOpenDiscardChangesDialog(true) : onClose();\n\n const onDialogKeepEditing = () => {\n setOpenDiscardChangesDialog(false);\n };\n\n const onDialogDiscardChanges = () => {\n setOpenDiscardChangesDialog(false);\n onClose();\n };\n\n return (\n <Fragment>\n <Modal id={id} ref={modalRef} onClose={onCloseWrapper} {...rest}>\n <ModalHeader {...headerProps} id={`${id}-label`} onClose={onCloseWrapper} />\n {children}\n </Modal>\n <DiscardChangesDialog\n {...discardChangedDialogProps}\n ref={dialogRef}\n open={openDiscardChangesDialog}\n onKeepEditing={onDialogKeepEditing}\n onDiscardChanges={onDialogDiscardChanges}\n />\n </Fragment>\n );\n};\n"],"names":["id","children","headerProps","discardChangedDialogProps","modalRef","dialogRef","onClose","hasUnsavedChanges","rest","openDiscardChangesDialog","setOpenDiscardChangesDialog","useState","onCloseWrapper","React","Fragment","createElement","Modal","ref","ModalHeader","DiscardChangesDialog","open","onKeepEditing","onDiscardChanges"],"mappings":"4OAoCmC,EACjCA,KACAC,WACAC,cACAC,4BACAC,WACAC,YACAC,UACAC,uBACGC,MAEH,MAAOC,EAA0BC,GAA+BC,EAAQA,UAAC,GAEnEC,EAAiB,IACrBL,IAAsBG,GAA4B,GAAQJ,IAW5D,OACEO,gBAACC,EAAAA,SAAQ,KACPD,EAAAE,cAACC,YAAK,CAAChB,GAAIA,EAAIiB,IAAKb,EAAUE,QAASM,KAAoBJ,GACzDK,EAAAE,cAACG,kBAAW,IAAKhB,EAAaF,GAAI,GAAGA,UAAYM,QAASM,IACzDX,GAEHY,EAACE,cAAAI,EAAoBA,yBACfhB,EACJc,IAAKZ,EACLe,KAAMX,EACNY,cAnBsB,KAC1BX,GAA4B,EAAM,EAmB9BY,iBAhByB,KAC7BZ,GAA4B,GAC5BJ,GAAS,IAiBT"}
|