@onewelcome/react-lib-components 10.1.0 → 11.1.0-delta
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/package.json +3 -3
- package/dist/components/Breadcrumbs/Breadcrumbs.cjs.js +0 -2
- package/dist/components/Breadcrumbs/Breadcrumbs.cjs.js.map +0 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.es.js +0 -46
- package/dist/components/Breadcrumbs/Breadcrumbs.es.js.map +0 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.module.scss.cjs.js +0 -3
- package/dist/components/Breadcrumbs/Breadcrumbs.module.scss.cjs.js.map +0 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.module.scss.es.js +0 -17
- package/dist/components/Breadcrumbs/Breadcrumbs.module.scss.es.js.map +0 -1
- package/dist/components/Button/BaseButton.cjs.js +0 -2
- package/dist/components/Button/BaseButton.cjs.js.map +0 -1
- package/dist/components/Button/BaseButton.es.js +0 -32
- package/dist/components/Button/BaseButton.es.js.map +0 -1
- package/dist/components/Button/BaseButton.module.scss.cjs.js +0 -3
- package/dist/components/Button/BaseButton.module.scss.cjs.js.map +0 -1
- package/dist/components/Button/BaseButton.module.scss.es.js +0 -14
- package/dist/components/Button/BaseButton.module.scss.es.js.map +0 -1
- package/dist/components/Button/Button.cjs.js +0 -2
- package/dist/components/Button/Button.cjs.js.map +0 -1
- package/dist/components/Button/Button.es.js +0 -42
- package/dist/components/Button/Button.es.js.map +0 -1
- package/dist/components/Button/Button.module.scss.cjs.js +0 -3
- package/dist/components/Button/Button.module.scss.cjs.js.map +0 -1
- package/dist/components/Button/Button.module.scss.es.js +0 -41
- package/dist/components/Button/Button.module.scss.es.js.map +0 -1
- package/dist/components/Button/IconButton.cjs.js +0 -2
- package/dist/components/Button/IconButton.cjs.js.map +0 -1
- package/dist/components/Button/IconButton.es.js +0 -30
- package/dist/components/Button/IconButton.es.js.map +0 -1
- package/dist/components/Button/IconButton.module.scss.cjs.js +0 -3
- package/dist/components/Button/IconButton.module.scss.cjs.js.map +0 -1
- package/dist/components/Button/IconButton.module.scss.es.js +0 -42
- package/dist/components/Button/IconButton.module.scss.es.js.map +0 -1
- package/dist/components/Button/Spinner.cjs.js +0 -2
- package/dist/components/Button/Spinner.cjs.js.map +0 -1
- package/dist/components/Button/Spinner.es.js +0 -23
- package/dist/components/Button/Spinner.es.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenu.cjs.js +0 -2
- package/dist/components/ContextMenu/ContextMenu.cjs.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenu.es.js +0 -155
- package/dist/components/ContextMenu/ContextMenu.es.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenu.module.scss.cjs.js +0 -3
- package/dist/components/ContextMenu/ContextMenu.module.scss.cjs.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenu.module.scss.es.js +0 -13
- package/dist/components/ContextMenu/ContextMenu.module.scss.es.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenuDivider.cjs.js +0 -2
- package/dist/components/ContextMenu/ContextMenuDivider.cjs.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenuDivider.es.js +0 -9
- package/dist/components/ContextMenu/ContextMenuDivider.es.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenuDivider.module.scss.cjs.js +0 -3
- package/dist/components/ContextMenu/ContextMenuDivider.module.scss.cjs.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenuDivider.module.scss.es.js +0 -8
- package/dist/components/ContextMenu/ContextMenuDivider.module.scss.es.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenuItem.cjs.js +0 -2
- package/dist/components/ContextMenu/ContextMenuItem.cjs.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenuItem.es.js +0 -56
- package/dist/components/ContextMenu/ContextMenuItem.es.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenuItem.module.scss.cjs.js +0 -3
- package/dist/components/ContextMenu/ContextMenuItem.module.scss.cjs.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenuItem.module.scss.es.js +0 -11
- package/dist/components/ContextMenu/ContextMenuItem.module.scss.es.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenuService.cjs.js +0 -2
- package/dist/components/ContextMenu/ContextMenuService.cjs.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenuService.es.js +0 -124
- package/dist/components/ContextMenu/ContextMenuService.es.js.map +0 -1
- package/dist/components/DataGrid/DataGrid.cjs.js +0 -2
- package/dist/components/DataGrid/DataGrid.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGrid.es.js +0 -147
- package/dist/components/DataGrid/DataGrid.es.js.map +0 -1
- package/dist/components/DataGrid/DataGrid.module.scss.cjs.js +0 -3
- package/dist/components/DataGrid/DataGrid.module.scss.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGrid.module.scss.es.js +0 -16
- package/dist/components/DataGrid/DataGrid.module.scss.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridActions/DataGridActions.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridActions/DataGridActions.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridActions/DataGridActions.es.js +0 -93
- package/dist/components/DataGrid/DataGridActions/DataGridActions.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridActions/DataGridActions.module.scss.cjs.js +0 -3
- package/dist/components/DataGrid/DataGridActions/DataGridActions.module.scss.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridActions/DataGridActions.module.scss.es.js +0 -18
- package/dist/components/DataGrid/DataGridActions/DataGridActions.module.scss.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.es.js +0 -71
- package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.cjs.js +0 -3
- package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.es.js +0 -23
- package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridBody.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridBody/DataGridBody.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridBody.es.js +0 -57
- package/dist/components/DataGrid/DataGridBody/DataGridBody.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridBody.module.scss.cjs.js +0 -3
- package/dist/components/DataGrid/DataGridBody/DataGridBody.module.scss.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridBody.module.scss.es.js +0 -10
- package/dist/components/DataGrid/DataGridBody/DataGridBody.module.scss.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.es.js +0 -63
- package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.cjs.js +0 -3
- package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.es.js +0 -17
- package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.es.js +0 -18
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.cjs.js +0 -3
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.es.js +0 -16
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.es.js +0 -11
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.cjs.js +0 -3
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.es.js +0 -11
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.es.js +0 -126
- package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.cjs.js +0 -3
- package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.es.js +0 -42
- package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridRow/useNestedRow.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridBody/DataGridRow/useNestedRow.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridRow/useNestedRow.es.js +0 -99
- package/dist/components/DataGrid/DataGridBody/DataGridRow/useNestedRow.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridDateFilter.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DataGridDateFilter.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridDateFilter.es.js +0 -45
- package/dist/components/DataGrid/DataGridFilters/DataGridDateFilter.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilter.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DataGridFilter.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilter.es.js +0 -110
- package/dist/components/DataGrid/DataGridFilters/DataGridFilter.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilter.module.scss.cjs.js +0 -3
- package/dist/components/DataGrid/DataGridFilters/DataGridFilter.module.scss.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilter.module.scss.es.js +0 -23
- package/dist/components/DataGrid/DataGridFilters/DataGridFilter.module.scss.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterPopover.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterPopover.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterPopover.es.js +0 -116
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterPopover.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterService.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterService.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterService.es.js +0 -81
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterService.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterTag.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterTag.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterTag.es.js +0 -64
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterTag.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterValueSelect.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterValueSelect.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterValueSelect.es.js +0 -89
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterValueSelect.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilters.interfaces.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DataGridFilters.interfaces.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilters.interfaces.es.js +0 -17
- package/dist/components/DataGrid/DataGridFilters/DataGridFilters.interfaces.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridSearchbar.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DataGridSearchbar.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridSearchbar.es.js +0 -45
- package/dist/components/DataGrid/DataGridFilters/DataGridSearchbar.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.es.js +0 -89
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.module.scss.cjs.js +0 -3
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.module.scss.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.module.scss.es.js +0 -20
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.module.scss.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbarWrapper.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbarWrapper.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbarWrapper.es.js +0 -11
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbarWrapper.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.es.js +0 -186
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.module.scss.cjs.js +0 -3
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.module.scss.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.module.scss.es.js +0 -35
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.module.scss.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerCalendarSection.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerCalendarSection.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerCalendarSection.es.js +0 -70
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerCalendarSection.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerInputSection.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerInputSection.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerInputSection.es.js +0 -80
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerInputSection.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimeService.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimeService.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimeService.es.js +0 -22
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimeService.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/SideMenu.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/SideMenu.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/SideMenu.es.js +0 -27
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/SideMenu.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/FilterKeyMapper.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/FilterKeyMapper.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/FilterKeyMapper.es.js +0 -32
- package/dist/components/DataGrid/DataGridFilters/FilterKeyMapper.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/useFiltersReducer.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/useFiltersReducer.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/useFiltersReducer.es.js +0 -50
- package/dist/components/DataGrid/DataGridFilters/useFiltersReducer.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.es.js +0 -75
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.module.scss.cjs.js +0 -3
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.module.scss.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.module.scss.es.js +0 -11
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.module.scss.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.es.js +0 -38
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.cjs.js +0 -3
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.es.js +0 -21
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.es.js.map +0 -1
- package/dist/components/DatePicker/DatePicker.cjs.js +0 -2
- package/dist/components/DatePicker/DatePicker.cjs.js.map +0 -1
- package/dist/components/DatePicker/DatePicker.es.js +0 -57
- package/dist/components/DatePicker/DatePicker.es.js.map +0 -1
- package/dist/components/DatePicker/DatePicker.module.scss.cjs.js +0 -3
- package/dist/components/DatePicker/DatePicker.module.scss.cjs.js.map +0 -1
- package/dist/components/DatePicker/DatePicker.module.scss.es.js +0 -39
- package/dist/components/DatePicker/DatePicker.module.scss.es.js.map +0 -1
- package/dist/components/Form/Checkbox/Checkbox.cjs.js +0 -2
- package/dist/components/Form/Checkbox/Checkbox.cjs.js.map +0 -1
- package/dist/components/Form/Checkbox/Checkbox.es.js +0 -154
- package/dist/components/Form/Checkbox/Checkbox.es.js.map +0 -1
- package/dist/components/Form/Checkbox/Checkbox.module.scss.cjs.js +0 -3
- package/dist/components/Form/Checkbox/Checkbox.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Checkbox/Checkbox.module.scss.es.js +0 -33
- package/dist/components/Form/Checkbox/Checkbox.module.scss.es.js.map +0 -1
- package/dist/components/Form/Fieldset/Fieldset.cjs.js +0 -2
- package/dist/components/Form/Fieldset/Fieldset.cjs.js.map +0 -1
- package/dist/components/Form/Fieldset/Fieldset.es.js +0 -90
- package/dist/components/Form/Fieldset/Fieldset.es.js.map +0 -1
- package/dist/components/Form/Fieldset/Fieldset.module.scss.cjs.js +0 -3
- package/dist/components/Form/Fieldset/Fieldset.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Fieldset/Fieldset.module.scss.es.js +0 -17
- package/dist/components/Form/Fieldset/Fieldset.module.scss.es.js.map +0 -1
- package/dist/components/Form/FileUpload/FileItem/FileItem.cjs.js +0 -2
- package/dist/components/Form/FileUpload/FileItem/FileItem.cjs.js.map +0 -1
- package/dist/components/Form/FileUpload/FileItem/FileItem.es.js +0 -224
- package/dist/components/Form/FileUpload/FileItem/FileItem.es.js.map +0 -1
- package/dist/components/Form/FileUpload/FileItem/FileItem.module.scss.cjs.js +0 -3
- package/dist/components/Form/FileUpload/FileItem/FileItem.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/FileUpload/FileItem/FileItem.module.scss.es.js +0 -32
- package/dist/components/Form/FileUpload/FileItem/FileItem.module.scss.es.js.map +0 -1
- package/dist/components/Form/FileUpload/FileUpload.cjs.js +0 -2
- package/dist/components/Form/FileUpload/FileUpload.cjs.js.map +0 -1
- package/dist/components/Form/FileUpload/FileUpload.es.js +0 -210
- package/dist/components/Form/FileUpload/FileUpload.es.js.map +0 -1
- package/dist/components/Form/FileUpload/FileUpload.module.scss.cjs.js +0 -3
- package/dist/components/Form/FileUpload/FileUpload.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/FileUpload/FileUpload.module.scss.es.js +0 -32
- package/dist/components/Form/FileUpload/FileUpload.module.scss.es.js.map +0 -1
- package/dist/components/Form/Form.cjs.js +0 -2
- package/dist/components/Form/Form.cjs.js.map +0 -1
- package/dist/components/Form/Form.es.js +0 -10
- package/dist/components/Form/Form.es.js.map +0 -1
- package/dist/components/Form/Form.module.scss.cjs.js +0 -3
- package/dist/components/Form/Form.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Form.module.scss.es.js +0 -10
- package/dist/components/Form/Form.module.scss.es.js.map +0 -1
- package/dist/components/Form/FormControl/FormControl.cjs.js +0 -2
- package/dist/components/Form/FormControl/FormControl.cjs.js.map +0 -1
- package/dist/components/Form/FormControl/FormControl.es.js +0 -31
- package/dist/components/Form/FormControl/FormControl.es.js.map +0 -1
- package/dist/components/Form/FormControl/FormControl.module.scss.cjs.js +0 -3
- package/dist/components/Form/FormControl/FormControl.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/FormControl/FormControl.module.scss.es.js +0 -37
- package/dist/components/Form/FormControl/FormControl.module.scss.es.js.map +0 -1
- package/dist/components/Form/FormErrorText/FormErrorText.cjs.js +0 -2
- package/dist/components/Form/FormErrorText/FormErrorText.cjs.js.map +0 -1
- package/dist/components/Form/FormErrorText/FormErrorText.es.js +0 -39
- package/dist/components/Form/FormErrorText/FormErrorText.es.js.map +0 -1
- package/dist/components/Form/FormErrorText/FormErrorText.module.scss.cjs.js +0 -3
- package/dist/components/Form/FormErrorText/FormErrorText.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/FormErrorText/FormErrorText.module.scss.es.js +0 -11
- package/dist/components/Form/FormErrorText/FormErrorText.module.scss.es.js.map +0 -1
- package/dist/components/Form/FormGroup/FormGroup.cjs.js +0 -2
- package/dist/components/Form/FormGroup/FormGroup.cjs.js.map +0 -1
- package/dist/components/Form/FormGroup/FormGroup.es.js +0 -50
- package/dist/components/Form/FormGroup/FormGroup.es.js.map +0 -1
- package/dist/components/Form/FormGroup/FormGroup.module.scss.cjs.js +0 -3
- package/dist/components/Form/FormGroup/FormGroup.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/FormGroup/FormGroup.module.scss.es.js +0 -9
- package/dist/components/Form/FormGroup/FormGroup.module.scss.es.js.map +0 -1
- package/dist/components/Form/FormHelperText/FormHelperText.cjs.js +0 -2
- package/dist/components/Form/FormHelperText/FormHelperText.cjs.js.map +0 -1
- package/dist/components/Form/FormHelperText/FormHelperText.es.js +0 -15
- package/dist/components/Form/FormHelperText/FormHelperText.es.js.map +0 -1
- package/dist/components/Form/FormHelperText/FormHelperText.module.scss.cjs.js +0 -3
- package/dist/components/Form/FormHelperText/FormHelperText.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/FormHelperText/FormHelperText.module.scss.es.js +0 -14
- package/dist/components/Form/FormHelperText/FormHelperText.module.scss.es.js.map +0 -1
- package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.cjs.js +0 -2
- package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.cjs.js.map +0 -1
- package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.es.js +0 -72
- package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.es.js.map +0 -1
- package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.cjs.js +0 -3
- package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.es.js +0 -18
- package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.es.js.map +0 -1
- package/dist/components/Form/FormStatusIndicator/FormStatusIndicator.cjs.js +0 -2
- package/dist/components/Form/FormStatusIndicator/FormStatusIndicator.cjs.js.map +0 -1
- package/dist/components/Form/FormStatusIndicator/FormStatusIndicator.es.js +0 -54
- package/dist/components/Form/FormStatusIndicator/FormStatusIndicator.es.js.map +0 -1
- package/dist/components/Form/Input/Input.cjs.js +0 -2
- package/dist/components/Form/Input/Input.cjs.js.map +0 -1
- package/dist/components/Form/Input/Input.es.js +0 -95
- package/dist/components/Form/Input/Input.es.js.map +0 -1
- package/dist/components/Form/Input/Input.module.scss.cjs.js +0 -3
- package/dist/components/Form/Input/Input.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Input/Input.module.scss.es.js +0 -27
- package/dist/components/Form/Input/Input.module.scss.es.js.map +0 -1
- package/dist/components/Form/Label/Label.cjs.js +0 -2
- package/dist/components/Form/Label/Label.cjs.js.map +0 -1
- package/dist/components/Form/Label/Label.es.js +0 -19
- package/dist/components/Form/Label/Label.es.js.map +0 -1
- package/dist/components/Form/Label/Label.module.scss.cjs.js +0 -3
- package/dist/components/Form/Label/Label.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Label/Label.module.scss.es.js +0 -10
- package/dist/components/Form/Label/Label.module.scss.es.js.map +0 -1
- package/dist/components/Form/Radio/Radio.cjs.js +0 -2
- package/dist/components/Form/Radio/Radio.cjs.js.map +0 -1
- package/dist/components/Form/Radio/Radio.es.js +0 -105
- package/dist/components/Form/Radio/Radio.es.js.map +0 -1
- package/dist/components/Form/Radio/Radio.module.scss.cjs.js +0 -3
- package/dist/components/Form/Radio/Radio.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Radio/Radio.module.scss.es.js +0 -27
- package/dist/components/Form/Radio/Radio.module.scss.es.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/MultiOption.cjs.js +0 -2
- package/dist/components/Form/Select/MultiSelect/MultiOption.cjs.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/MultiOption.es.js +0 -40
- package/dist/components/Form/Select/MultiSelect/MultiOption.es.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/MultiSelect.cjs.js +0 -2
- package/dist/components/Form/Select/MultiSelect/MultiSelect.cjs.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/MultiSelect.es.js +0 -386
- package/dist/components/Form/Select/MultiSelect/MultiSelect.es.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/MultiSelect.module.scss.cjs.js +0 -3
- package/dist/components/Form/Select/MultiSelect/MultiSelect.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/MultiSelect.module.scss.es.js +0 -37
- package/dist/components/Form/Select/MultiSelect/MultiSelect.module.scss.es.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/SelectButton.cjs.js +0 -2
- package/dist/components/Form/Select/MultiSelect/SelectButton.cjs.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/SelectButton.es.js +0 -20
- package/dist/components/Form/Select/MultiSelect/SelectButton.es.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/SelectButton.module.scss.cjs.js +0 -3
- package/dist/components/Form/Select/MultiSelect/SelectButton.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/SelectButton.module.scss.es.js +0 -10
- package/dist/components/Form/Select/MultiSelect/SelectButton.module.scss.es.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/SelectedOptions.cjs.js +0 -2
- package/dist/components/Form/Select/MultiSelect/SelectedOptions.cjs.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/SelectedOptions.es.js +0 -30
- package/dist/components/Form/Select/MultiSelect/SelectedOptions.es.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/SelectedOptions.module.scss.cjs.js +0 -3
- package/dist/components/Form/Select/MultiSelect/SelectedOptions.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/SelectedOptions.module.scss.es.js +0 -14
- package/dist/components/Form/Select/MultiSelect/SelectedOptions.module.scss.es.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/useArrowNavigation.cjs.js +0 -2
- package/dist/components/Form/Select/MultiSelect/useArrowNavigation.cjs.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/useArrowNavigation.es.js +0 -101
- package/dist/components/Form/Select/MultiSelect/useArrowNavigation.es.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/useMultiSelect.cjs.js +0 -2
- package/dist/components/Form/Select/MultiSelect/useMultiSelect.cjs.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/useMultiSelect.es.js +0 -54
- package/dist/components/Form/Select/MultiSelect/useMultiSelect.es.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/useSearch.cjs.js +0 -2
- package/dist/components/Form/Select/MultiSelect/useSearch.cjs.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/useSearch.es.js +0 -81
- package/dist/components/Form/Select/MultiSelect/useSearch.es.js.map +0 -1
- package/dist/components/Form/Select/Select.interfaces.cjs.js +0 -2
- package/dist/components/Form/Select/Select.interfaces.cjs.js.map +0 -1
- package/dist/components/Form/Select/Select.interfaces.es.js +0 -9
- package/dist/components/Form/Select/Select.interfaces.es.js.map +0 -1
- package/dist/components/Form/Select/SingleSelect/Option.cjs.js +0 -2
- package/dist/components/Form/Select/SingleSelect/Option.cjs.js.map +0 -1
- package/dist/components/Form/Select/SingleSelect/Option.es.js +0 -68
- package/dist/components/Form/Select/SingleSelect/Option.es.js.map +0 -1
- package/dist/components/Form/Select/SingleSelect/Select.cjs.js +0 -2
- package/dist/components/Form/Select/SingleSelect/Select.cjs.js.map +0 -1
- package/dist/components/Form/Select/SingleSelect/Select.es.js +0 -245
- package/dist/components/Form/Select/SingleSelect/Select.es.js.map +0 -1
- package/dist/components/Form/Select/SingleSelect/Select.module.scss.cjs.js +0 -3
- package/dist/components/Form/Select/SingleSelect/Select.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Select/SingleSelect/Select.module.scss.es.js +0 -45
- package/dist/components/Form/Select/SingleSelect/Select.module.scss.es.js.map +0 -1
- package/dist/components/Form/Select/SingleSelect/useArrowNavigation.cjs.js +0 -2
- package/dist/components/Form/Select/SingleSelect/useArrowNavigation.cjs.js.map +0 -1
- package/dist/components/Form/Select/SingleSelect/useArrowNavigation.es.js +0 -149
- package/dist/components/Form/Select/SingleSelect/useArrowNavigation.es.js.map +0 -1
- package/dist/components/Form/Select/SingleSelect/useSearch.cjs.js +0 -2
- package/dist/components/Form/Select/SingleSelect/useSearch.cjs.js.map +0 -1
- package/dist/components/Form/Select/SingleSelect/useSearch.es.js +0 -81
- package/dist/components/Form/Select/SingleSelect/useSearch.es.js.map +0 -1
- package/dist/components/Form/Select/useAddNewBtn.cjs.js +0 -2
- package/dist/components/Form/Select/useAddNewBtn.cjs.js.map +0 -1
- package/dist/components/Form/Select/useAddNewBtn.es.js +0 -57
- package/dist/components/Form/Select/useAddNewBtn.es.js.map +0 -1
- package/dist/components/Form/Select/useAddNewBtn.module.scss.cjs.js +0 -3
- package/dist/components/Form/Select/useAddNewBtn.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Select/useAddNewBtn.module.scss.es.js +0 -12
- package/dist/components/Form/Select/useAddNewBtn.module.scss.es.js.map +0 -1
- package/dist/components/Form/Select/useSelectPositionList.cjs.js +0 -2
- package/dist/components/Form/Select/useSelectPositionList.cjs.js.map +0 -1
- package/dist/components/Form/Select/useSelectPositionList.es.js +0 -66
- package/dist/components/Form/Select/useSelectPositionList.es.js.map +0 -1
- package/dist/components/Form/Textarea/Textarea.cjs.js +0 -2
- package/dist/components/Form/Textarea/Textarea.cjs.js.map +0 -1
- package/dist/components/Form/Textarea/Textarea.es.js +0 -64
- package/dist/components/Form/Textarea/Textarea.es.js.map +0 -1
- package/dist/components/Form/Textarea/Textarea.module.scss.cjs.js +0 -3
- package/dist/components/Form/Textarea/Textarea.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Textarea/Textarea.module.scss.es.js +0 -20
- package/dist/components/Form/Textarea/Textarea.module.scss.es.js.map +0 -1
- package/dist/components/Form/Toggle/Toggle.cjs.js +0 -2
- package/dist/components/Form/Toggle/Toggle.cjs.js.map +0 -1
- package/dist/components/Form/Toggle/Toggle.es.js +0 -50
- package/dist/components/Form/Toggle/Toggle.es.js.map +0 -1
- package/dist/components/Form/Toggle/Toggle.module.scss.cjs.js +0 -3
- package/dist/components/Form/Toggle/Toggle.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Toggle/Toggle.module.scss.es.js +0 -34
- package/dist/components/Form/Toggle/Toggle.module.scss.es.js.map +0 -1
- package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.cjs.js +0 -2
- package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.es.js +0 -63
- package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.es.js.map +0 -1
- package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.cjs.js +0 -3
- package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.es.js +0 -9
- package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.es.js.map +0 -1
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.cjs.js +0 -2
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.es.js +0 -96
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.es.js.map +0 -1
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss.cjs.js +0 -3
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss.es.js +0 -12
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss.es.js.map +0 -1
- package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.cjs.js +0 -2
- package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.es.js +0 -57
- package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.es.js.map +0 -1
- package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.cjs.js +0 -3
- package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.es.js +0 -9
- package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.es.js.map +0 -1
- package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.cjs.js +0 -2
- package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.es.js +0 -74
- package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.es.js.map +0 -1
- package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.cjs.js +0 -3
- package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.es.js +0 -9
- package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.es.js.map +0 -1
- package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.cjs.js +0 -2
- package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.es.js +0 -57
- package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.es.js.map +0 -1
- package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.cjs.js +0 -3
- package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.es.js +0 -9
- package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.es.js.map +0 -1
- package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.cjs.js +0 -2
- package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.es.js +0 -115
- package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.es.js.map +0 -1
- package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.cjs.js +0 -3
- package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.es.js +0 -24
- package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.es.js.map +0 -1
- package/dist/components/Form/Wrapper/Wrapper/Wrapper.cjs.js +0 -2
- package/dist/components/Form/Wrapper/Wrapper/Wrapper.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/Wrapper/Wrapper.es.js +0 -66
- package/dist/components/Form/Wrapper/Wrapper/Wrapper.es.js.map +0 -1
- package/dist/components/Form/Wrapper/Wrapper/Wrapper.module.scss.cjs.js +0 -3
- package/dist/components/Form/Wrapper/Wrapper/Wrapper.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/Wrapper/Wrapper.module.scss.es.js +0 -20
- package/dist/components/Form/Wrapper/Wrapper/Wrapper.module.scss.es.js.map +0 -1
- package/dist/components/Icon/Icon.cjs.js +0 -2
- package/dist/components/Icon/Icon.cjs.js.map +0 -1
- package/dist/components/Icon/Icon.es.js +0 -127
- package/dist/components/Icon/Icon.es.js.map +0 -1
- package/dist/components/Icon/Icon.module.scss.cjs.js +0 -3
- package/dist/components/Icon/Icon.module.scss.cjs.js.map +0 -1
- package/dist/components/Icon/Icon.module.scss.es.js +0 -112
- package/dist/components/Icon/Icon.module.scss.es.js.map +0 -1
- package/dist/components/InlineEditing/InlineCheckbox/InlineCheckbox.cjs.js +0 -2
- package/dist/components/InlineEditing/InlineCheckbox/InlineCheckbox.cjs.js.map +0 -1
- package/dist/components/InlineEditing/InlineCheckbox/InlineCheckbox.es.js +0 -18
- package/dist/components/InlineEditing/InlineCheckbox/InlineCheckbox.es.js.map +0 -1
- package/dist/components/InlineEditing/InlineEditingContext.cjs.js +0 -2
- package/dist/components/InlineEditing/InlineEditingContext.cjs.js.map +0 -1
- package/dist/components/InlineEditing/InlineEditingContext.es.js +0 -9
- package/dist/components/InlineEditing/InlineEditingContext.es.js.map +0 -1
- package/dist/components/InlineEditing/InlineEditingSelect/InlineSelect.cjs.js +0 -2
- package/dist/components/InlineEditing/InlineEditingSelect/InlineSelect.cjs.js.map +0 -1
- package/dist/components/InlineEditing/InlineEditingSelect/InlineSelect.es.js +0 -21
- package/dist/components/InlineEditing/InlineEditingSelect/InlineSelect.es.js.map +0 -1
- package/dist/components/Layout/Card/Card.cjs.js +0 -2
- package/dist/components/Layout/Card/Card.cjs.js.map +0 -1
- package/dist/components/Layout/Card/Card.es.js +0 -55
- package/dist/components/Layout/Card/Card.es.js.map +0 -1
- package/dist/components/Layout/Card/Card.module.scss.cjs.js +0 -3
- package/dist/components/Layout/Card/Card.module.scss.cjs.js.map +0 -1
- package/dist/components/Layout/Card/Card.module.scss.es.js +0 -28
- package/dist/components/Layout/Card/Card.module.scss.es.js.map +0 -1
- package/dist/components/Layout/ContentHeader/ContentHeader.cjs.js +0 -2
- package/dist/components/Layout/ContentHeader/ContentHeader.cjs.js.map +0 -1
- package/dist/components/Layout/ContentHeader/ContentHeader.es.js +0 -81
- package/dist/components/Layout/ContentHeader/ContentHeader.es.js.map +0 -1
- package/dist/components/Layout/ContentHeader/ContentHeader.module.scss.cjs.js +0 -3
- package/dist/components/Layout/ContentHeader/ContentHeader.module.scss.cjs.js.map +0 -1
- package/dist/components/Layout/ContentHeader/ContentHeader.module.scss.es.js +0 -20
- package/dist/components/Layout/ContentHeader/ContentHeader.module.scss.es.js.map +0 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.cjs.js +0 -2
- package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.cjs.js.map +0 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.es.js +0 -20
- package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.es.js.map +0 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.cjs.js +0 -3
- package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.cjs.js.map +0 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.es.js +0 -10
- package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.es.js.map +0 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.cjs.js +0 -2
- package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.cjs.js.map +0 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.es.js +0 -27
- package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.es.js.map +0 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.cjs.js +0 -3
- package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.cjs.js.map +0 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.es.js +0 -10
- package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.es.js.map +0 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.cjs.js +0 -2
- package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.cjs.js.map +0 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.es.js +0 -9
- package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.es.js.map +0 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.cjs.js +0 -3
- package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.cjs.js.map +0 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.es.js +0 -11
- package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.es.js.map +0 -1
- package/dist/components/Link/Link.cjs.js +0 -2
- package/dist/components/Link/Link.cjs.js.map +0 -1
- package/dist/components/Link/Link.es.js +0 -69
- package/dist/components/Link/Link.es.js.map +0 -1
- package/dist/components/Link/Link.module.scss.cjs.js +0 -3
- package/dist/components/Link/Link.module.scss.cjs.js.map +0 -1
- package/dist/components/Link/Link.module.scss.es.js +0 -44
- package/dist/components/Link/Link.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.cjs.js +0 -2
- package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.cjs.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.es.js +0 -25
- package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.es.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.module.scss.es.js +0 -31
- package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertContainer/useAlertContainerHeightAnimation.cjs.js +0 -2
- package/dist/components/Notifications/Alert/AlertContainer/useAlertContainerHeightAnimation.cjs.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertContainer/useAlertContainerHeightAnimation.es.js +0 -30
- package/dist/components/Notifications/Alert/AlertContainer/useAlertContainerHeightAnimation.es.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertItem/AlertItem.cjs.js +0 -2
- package/dist/components/Notifications/Alert/AlertItem/AlertItem.cjs.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertItem/AlertItem.es.js +0 -154
- package/dist/components/Notifications/Alert/AlertItem/AlertItem.es.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertItem/AlertItem.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/Alert/AlertItem/AlertItem.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertItem/AlertItem.module.scss.es.js +0 -50
- package/dist/components/Notifications/Alert/AlertItem/AlertItem.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertProvider/AlertContext.cjs.js +0 -2
- package/dist/components/Notifications/Alert/AlertProvider/AlertContext.cjs.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertProvider/AlertContext.es.js +0 -14
- package/dist/components/Notifications/Alert/AlertProvider/AlertContext.es.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertProvider/AlertProvider.cjs.js +0 -2
- package/dist/components/Notifications/Alert/AlertProvider/AlertProvider.cjs.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertProvider/AlertProvider.es.js +0 -124
- package/dist/components/Notifications/Alert/AlertProvider/AlertProvider.es.js.map +0 -1
- package/dist/components/Notifications/Alert/useAlert.cjs.js +0 -2
- package/dist/components/Notifications/Alert/useAlert.cjs.js.map +0 -1
- package/dist/components/Notifications/Alert/useAlert.es.js +0 -16
- package/dist/components/Notifications/Alert/useAlert.es.js.map +0 -1
- package/dist/components/Notifications/Banner/Banner.cjs.js +0 -2
- package/dist/components/Notifications/Banner/Banner.cjs.js.map +0 -1
- package/dist/components/Notifications/Banner/Banner.es.js +0 -37
- package/dist/components/Notifications/Banner/Banner.es.js.map +0 -1
- package/dist/components/Notifications/Banner/Banner.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/Banner/Banner.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/Banner/Banner.module.scss.es.js +0 -31
- package/dist/components/Notifications/Banner/Banner.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModal.cjs.js +0 -2
- package/dist/components/Notifications/BaseModal/BaseModal.cjs.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModal.es.js +0 -129
- package/dist/components/Notifications/BaseModal/BaseModal.es.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModal.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/BaseModal/BaseModal.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModal.module.scss.es.js +0 -19
- package/dist/components/Notifications/BaseModal/BaseModal.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.cjs.js +0 -2
- package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.cjs.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.es.js +0 -22
- package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.es.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.es.js +0 -12
- package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.cjs.js +0 -2
- package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.cjs.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.es.js +0 -29
- package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.es.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.es.js +0 -10
- package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalContext.cjs.js +0 -2
- package/dist/components/Notifications/BaseModal/BaseModalContext.cjs.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalContext.es.js +0 -7
- package/dist/components/Notifications/BaseModal/BaseModalContext.es.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.cjs.js +0 -2
- package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.cjs.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.es.js +0 -33
- package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.es.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.es.js +0 -20
- package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/Dialog/Dialog.cjs.js +0 -2
- package/dist/components/Notifications/Dialog/Dialog.cjs.js.map +0 -1
- package/dist/components/Notifications/Dialog/Dialog.es.js +0 -96
- package/dist/components/Notifications/Dialog/Dialog.es.js.map +0 -1
- package/dist/components/Notifications/Dialog/Dialog.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/Dialog/Dialog.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/Dialog/Dialog.module.scss.es.js +0 -16
- package/dist/components/Notifications/Dialog/Dialog.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/Dialog/DialogActions/DialogActions.cjs.js +0 -2
- package/dist/components/Notifications/Dialog/DialogActions/DialogActions.cjs.js.map +0 -1
- package/dist/components/Notifications/Dialog/DialogActions/DialogActions.es.js +0 -22
- package/dist/components/Notifications/Dialog/DialogActions/DialogActions.es.js.map +0 -1
- package/dist/components/Notifications/Dialog/DialogActions/DialogActions.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/Dialog/DialogActions/DialogActions.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/Dialog/DialogActions/DialogActions.module.scss.es.js +0 -11
- package/dist/components/Notifications/Dialog/DialogActions/DialogActions.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.cjs.js +0 -2
- package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.cjs.js.map +0 -1
- package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.es.js +0 -38
- package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.es.js.map +0 -1
- package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.es.js +0 -24
- package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.cjs.js +0 -2
- package/dist/components/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.cjs.js.map +0 -1
- package/dist/components/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.es.js +0 -41
- package/dist/components/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.es.js.map +0 -1
- package/dist/components/Notifications/DiscardChangesModal/DiscardChangesModal.cjs.js +0 -2
- package/dist/components/Notifications/DiscardChangesModal/DiscardChangesModal.cjs.js.map +0 -1
- package/dist/components/Notifications/DiscardChangesModal/DiscardChangesModal.es.js +0 -39
- package/dist/components/Notifications/DiscardChangesModal/DiscardChangesModal.es.js.map +0 -1
- package/dist/components/Notifications/NotificationProvider/NotificationContext.cjs.js +0 -2
- package/dist/components/Notifications/NotificationProvider/NotificationContext.cjs.js.map +0 -1
- package/dist/components/Notifications/NotificationProvider/NotificationContext.es.js +0 -146
- package/dist/components/Notifications/NotificationProvider/NotificationContext.es.js.map +0 -1
- package/dist/components/Notifications/NotificationProvider/NotificationService.cjs.js +0 -2
- package/dist/components/Notifications/NotificationProvider/NotificationService.cjs.js.map +0 -1
- package/dist/components/Notifications/NotificationProvider/NotificationService.es.js +0 -19
- package/dist/components/Notifications/NotificationProvider/NotificationService.es.js.map +0 -1
- package/dist/components/Notifications/SideSheet/SideSheet.cjs.js +0 -2
- package/dist/components/Notifications/SideSheet/SideSheet.cjs.js.map +0 -1
- package/dist/components/Notifications/SideSheet/SideSheet.es.js +0 -68
- package/dist/components/Notifications/SideSheet/SideSheet.es.js.map +0 -1
- package/dist/components/Notifications/SideSheet/SideSheet.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/SideSheet/SideSheet.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/SideSheet/SideSheet.module.scss.es.js +0 -29
- package/dist/components/Notifications/SideSheet/SideSheet.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.cjs.js +0 -2
- package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.cjs.js.map +0 -1
- package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.es.js +0 -8
- package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.es.js.map +0 -1
- package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.module.scss.es.js +0 -8
- package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.cjs.js +0 -2
- package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.cjs.js.map +0 -1
- package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.es.js +0 -8
- package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.es.js.map +0 -1
- package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.module.scss.es.js +0 -8
- package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/SlideInModal/SlideInModal.cjs.js +0 -2
- package/dist/components/Notifications/SlideInModal/SlideInModal.cjs.js.map +0 -1
- package/dist/components/Notifications/SlideInModal/SlideInModal.es.js +0 -41
- package/dist/components/Notifications/SlideInModal/SlideInModal.es.js.map +0 -1
- package/dist/components/Notifications/SlideInModal/SlideInModal.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/SlideInModal/SlideInModal.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/SlideInModal/SlideInModal.module.scss.es.js +0 -24
- package/dist/components/Notifications/SlideInModal/SlideInModal.module.scss.es.js.map +0 -1
- package/dist/components/Pagination/Pagination.cjs.js +0 -2
- package/dist/components/Pagination/Pagination.cjs.js.map +0 -1
- package/dist/components/Pagination/Pagination.es.js +0 -147
- package/dist/components/Pagination/Pagination.es.js.map +0 -1
- package/dist/components/Pagination/Pagination.module.scss.cjs.js +0 -3
- package/dist/components/Pagination/Pagination.module.scss.cjs.js.map +0 -1
- package/dist/components/Pagination/Pagination.module.scss.es.js +0 -32
- package/dist/components/Pagination/Pagination.module.scss.es.js.map +0 -1
- package/dist/components/Popover/Popover.cjs.js +0 -2
- package/dist/components/Popover/Popover.cjs.js.map +0 -1
- package/dist/components/Popover/Popover.es.js +0 -107
- package/dist/components/Popover/Popover.es.js.map +0 -1
- package/dist/components/Popover/Popover.module.scss.cjs.js +0 -3
- package/dist/components/Popover/Popover.module.scss.cjs.js.map +0 -1
- package/dist/components/Popover/Popover.module.scss.es.js +0 -13
- package/dist/components/Popover/Popover.module.scss.es.js.map +0 -1
- package/dist/components/ProgressBar/ProgressBar.cjs.js +0 -2
- package/dist/components/ProgressBar/ProgressBar.cjs.js.map +0 -1
- package/dist/components/ProgressBar/ProgressBar.es.js +0 -40
- package/dist/components/ProgressBar/ProgressBar.es.js.map +0 -1
- package/dist/components/ProgressBar/ProgressBar.module.scss.cjs.js +0 -3
- package/dist/components/ProgressBar/ProgressBar.module.scss.cjs.js.map +0 -1
- package/dist/components/ProgressBar/ProgressBar.module.scss.es.js +0 -27
- package/dist/components/ProgressBar/ProgressBar.module.scss.es.js.map +0 -1
- package/dist/components/RequiredSign/RequiredSign.cjs.js +0 -2
- package/dist/components/RequiredSign/RequiredSign.cjs.js.map +0 -1
- package/dist/components/RequiredSign/RequiredSign.es.js +0 -10
- package/dist/components/RequiredSign/RequiredSign.es.js.map +0 -1
- package/dist/components/Skeleton/Skeleton.cjs.js +0 -2
- package/dist/components/Skeleton/Skeleton.cjs.js.map +0 -1
- package/dist/components/Skeleton/Skeleton.es.js +0 -25
- package/dist/components/Skeleton/Skeleton.es.js.map +0 -1
- package/dist/components/Skeleton/Skeleton.module.scss.cjs.js +0 -3
- package/dist/components/Skeleton/Skeleton.module.scss.cjs.js.map +0 -1
- package/dist/components/Skeleton/Skeleton.module.scss.es.js +0 -17
- package/dist/components/Skeleton/Skeleton.module.scss.es.js.map +0 -1
- package/dist/components/Spinner/Spinner.cjs.js +0 -2
- package/dist/components/Spinner/Spinner.cjs.js.map +0 -1
- package/dist/components/Spinner/Spinner.es.js +0 -49
- package/dist/components/Spinner/Spinner.es.js.map +0 -1
- package/dist/components/Spinner/Spinner.module.scss.cjs.js +0 -3
- package/dist/components/Spinner/Spinner.module.scss.cjs.js.map +0 -1
- package/dist/components/Spinner/Spinner.module.scss.es.js +0 -13
- package/dist/components/Spinner/Spinner.module.scss.es.js.map +0 -1
- package/dist/components/Stepper/Step.cjs.js +0 -2
- package/dist/components/Stepper/Step.cjs.js.map +0 -1
- package/dist/components/Stepper/Step.es.js +0 -75
- package/dist/components/Stepper/Step.es.js.map +0 -1
- package/dist/components/Stepper/Step.module.scss.cjs.js +0 -3
- package/dist/components/Stepper/Step.module.scss.cjs.js.map +0 -1
- package/dist/components/Stepper/Step.module.scss.es.js +0 -50
- package/dist/components/Stepper/Step.module.scss.es.js.map +0 -1
- package/dist/components/Stepper/Stepper.cjs.js +0 -2
- package/dist/components/Stepper/Stepper.cjs.js.map +0 -1
- package/dist/components/Stepper/Stepper.es.js +0 -30
- package/dist/components/Stepper/Stepper.es.js.map +0 -1
- package/dist/components/Stepper/Stepper.module.scss.cjs.js +0 -3
- package/dist/components/Stepper/Stepper.module.scss.cjs.js.map +0 -1
- package/dist/components/Stepper/Stepper.module.scss.es.js +0 -14
- package/dist/components/Stepper/Stepper.module.scss.es.js.map +0 -1
- package/dist/components/Tabs/Tab.cjs.js +0 -2
- package/dist/components/Tabs/Tab.cjs.js.map +0 -1
- package/dist/components/Tabs/Tab.es.js +0 -18
- package/dist/components/Tabs/Tab.es.js.map +0 -1
- package/dist/components/Tabs/Tab.module.scss.cjs.js +0 -3
- package/dist/components/Tabs/Tab.module.scss.cjs.js.map +0 -1
- package/dist/components/Tabs/Tab.module.scss.es.js +0 -13
- package/dist/components/Tabs/Tab.module.scss.es.js.map +0 -1
- package/dist/components/Tabs/TabButton.cjs.js +0 -2
- package/dist/components/Tabs/TabButton.cjs.js.map +0 -1
- package/dist/components/Tabs/TabButton.es.js +0 -32
- package/dist/components/Tabs/TabButton.es.js.map +0 -1
- package/dist/components/Tabs/TabButton.module.scss.cjs.js +0 -3
- package/dist/components/Tabs/TabButton.module.scss.cjs.js.map +0 -1
- package/dist/components/Tabs/TabButton.module.scss.es.js +0 -26
- package/dist/components/Tabs/TabButton.module.scss.es.js.map +0 -1
- package/dist/components/Tabs/Tabs.cjs.js +0 -2
- package/dist/components/Tabs/Tabs.cjs.js.map +0 -1
- package/dist/components/Tabs/Tabs.es.js +0 -148
- package/dist/components/Tabs/Tabs.es.js.map +0 -1
- package/dist/components/Tabs/Tabs.module.scss.cjs.js +0 -3
- package/dist/components/Tabs/Tabs.module.scss.cjs.js.map +0 -1
- package/dist/components/Tabs/Tabs.module.scss.es.js +0 -28
- package/dist/components/Tabs/Tabs.module.scss.es.js.map +0 -1
- package/dist/components/Tag/RemoveButton.cjs.js +0 -2
- package/dist/components/Tag/RemoveButton.cjs.js.map +0 -1
- package/dist/components/Tag/RemoveButton.es.js +0 -24
- package/dist/components/Tag/RemoveButton.es.js.map +0 -1
- package/dist/components/Tag/RemoveButton.module.scss.cjs.js +0 -3
- package/dist/components/Tag/RemoveButton.module.scss.cjs.js.map +0 -1
- package/dist/components/Tag/RemoveButton.module.scss.es.js +0 -13
- package/dist/components/Tag/RemoveButton.module.scss.es.js.map +0 -1
- package/dist/components/Tag/Tag.cjs.js +0 -2
- package/dist/components/Tag/Tag.cjs.js.map +0 -1
- package/dist/components/Tag/Tag.es.js +0 -47
- package/dist/components/Tag/Tag.es.js.map +0 -1
- package/dist/components/Tag/Tag.module.scss.cjs.js +0 -3
- package/dist/components/Tag/Tag.module.scss.cjs.js.map +0 -1
- package/dist/components/Tag/Tag.module.scss.es.js +0 -18
- package/dist/components/Tag/Tag.module.scss.es.js.map +0 -1
- package/dist/components/TextEllipsis/TextEllipsis.cjs.js +0 -2
- package/dist/components/TextEllipsis/TextEllipsis.cjs.js.map +0 -1
- package/dist/components/TextEllipsis/TextEllipsis.es.js +0 -47
- package/dist/components/TextEllipsis/TextEllipsis.es.js.map +0 -1
- package/dist/components/TextEllipsis/TextEllipsis.module.scss.cjs.js +0 -3
- package/dist/components/TextEllipsis/TextEllipsis.module.scss.cjs.js.map +0 -1
- package/dist/components/TextEllipsis/TextEllipsis.module.scss.es.js +0 -11
- package/dist/components/TextEllipsis/TextEllipsis.module.scss.es.js.map +0 -1
- package/dist/components/Tiles/Tile.cjs.js +0 -2
- package/dist/components/Tiles/Tile.cjs.js.map +0 -1
- package/dist/components/Tiles/Tile.es.js +0 -48
- package/dist/components/Tiles/Tile.es.js.map +0 -1
- package/dist/components/Tiles/Tile.module.scss.cjs.js +0 -3
- package/dist/components/Tiles/Tile.module.scss.cjs.js.map +0 -1
- package/dist/components/Tiles/Tile.module.scss.es.js +0 -28
- package/dist/components/Tiles/Tile.module.scss.es.js.map +0 -1
- package/dist/components/Tiles/Tiles.cjs.js +0 -2
- package/dist/components/Tiles/Tiles.cjs.js.map +0 -1
- package/dist/components/Tiles/Tiles.es.js +0 -55
- package/dist/components/Tiles/Tiles.es.js.map +0 -1
- package/dist/components/Tiles/Tiles.module.scss.cjs.js +0 -3
- package/dist/components/Tiles/Tiles.module.scss.cjs.js.map +0 -1
- package/dist/components/Tiles/Tiles.module.scss.es.js +0 -10
- package/dist/components/Tiles/Tiles.module.scss.es.js.map +0 -1
- package/dist/components/Tooltip/Tooltip.cjs.js +0 -2
- package/dist/components/Tooltip/Tooltip.cjs.js.map +0 -1
- package/dist/components/Tooltip/Tooltip.es.js +0 -207
- package/dist/components/Tooltip/Tooltip.es.js.map +0 -1
- package/dist/components/Tooltip/Tooltip.module.scss.cjs.js +0 -3
- package/dist/components/Tooltip/Tooltip.module.scss.cjs.js.map +0 -1
- package/dist/components/Tooltip/Tooltip.module.scss.es.js +0 -59
- package/dist/components/Tooltip/Tooltip.module.scss.es.js.map +0 -1
- package/dist/components/Typography/Typography.cjs.js +0 -2
- package/dist/components/Typography/Typography.cjs.js.map +0 -1
- package/dist/components/Typography/Typography.es.js +0 -61
- package/dist/components/Typography/Typography.es.js.map +0 -1
- package/dist/components/Typography/Typography.module.scss.cjs.js +0 -3
- package/dist/components/Typography/Typography.module.scss.cjs.js.map +0 -1
- package/dist/components/Typography/Typography.module.scss.es.js +0 -33
- package/dist/components/Typography/Typography.module.scss.es.js.map +0 -1
- package/dist/components/_BaseStyling_/BaseStyling.cjs.js +0 -2
- package/dist/components/_BaseStyling_/BaseStyling.cjs.js.map +0 -1
- package/dist/components/_BaseStyling_/BaseStyling.es.js +0 -231
- package/dist/components/_BaseStyling_/BaseStyling.es.js.map +0 -1
- package/dist/components/_BaseStyling_/buttonBaseStyling.cjs.js +0 -2
- package/dist/components/_BaseStyling_/buttonBaseStyling.cjs.js.map +0 -1
- package/dist/components/_BaseStyling_/buttonBaseStyling.es.js +0 -86
- package/dist/components/_BaseStyling_/buttonBaseStyling.es.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNav.cjs.js +0 -2
- package/dist/components/admin/layout/LeftNav/LeftNav.cjs.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNav.es.js +0 -55
- package/dist/components/admin/layout/LeftNav/LeftNav.es.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNav.module.scss.cjs.js +0 -3
- package/dist/components/admin/layout/LeftNav/LeftNav.module.scss.cjs.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNav.module.scss.es.js +0 -17
- package/dist/components/admin/layout/LeftNav/LeftNav.module.scss.es.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/ButtonLeftNavItem.cjs.js +0 -2
- package/dist/components/admin/layout/LeftNav/LeftNavItem/ButtonLeftNavItem.cjs.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/ButtonLeftNavItem.es.js +0 -121
- package/dist/components/admin/layout/LeftNav/LeftNavItem/ButtonLeftNavItem.es.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.cjs.js +0 -2
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.cjs.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.es.js +0 -13
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.es.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.module.scss.cjs.js +0 -3
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.module.scss.cjs.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.module.scss.es.js +0 -24
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.module.scss.es.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LinkLeftNavItem.cjs.js +0 -2
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LinkLeftNavItem.cjs.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LinkLeftNavItem.es.js +0 -63
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LinkLeftNavItem.es.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/useKeyboardNavigation.cjs.js +0 -2
- package/dist/components/admin/layout/LeftNav/LeftNavItem/useKeyboardNavigation.cjs.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/useKeyboardNavigation.es.js +0 -52
- package/dist/components/admin/layout/LeftNav/LeftNavItem/useKeyboardNavigation.es.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/useRefItems.cjs.js +0 -2
- package/dist/components/admin/layout/LeftNav/useRefItems.cjs.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/useRefItems.es.js +0 -201
- package/dist/components/admin/layout/LeftNav/useRefItems.es.js.map +0 -1
- package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.cjs.js +0 -2
- package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.cjs.js.map +0 -1
- package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.es.js +0 -18
- package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.es.js.map +0 -1
- package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.cjs.js +0 -3
- package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.cjs.js.map +0 -1
- package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.es.js +0 -9
- package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.es.js.map +0 -1
- package/dist/components/miscellaneous/IdentityProviderButton.cjs.js +0 -2
- package/dist/components/miscellaneous/IdentityProviderButton.cjs.js.map +0 -1
- package/dist/components/miscellaneous/IdentityProviderButton.es.js +0 -55
- package/dist/components/miscellaneous/IdentityProviderButton.es.js.map +0 -1
- package/dist/components/miscellaneous/IdentityProviderButton.module.scss.cjs.js +0 -3
- package/dist/components/miscellaneous/IdentityProviderButton.module.scss.cjs.js.map +0 -1
- package/dist/components/miscellaneous/IdentityProviderButton.module.scss.es.js +0 -9
- package/dist/components/miscellaneous/IdentityProviderButton.module.scss.es.js.map +0 -1
- package/dist/components/withReadOnly.cjs.js +0 -2
- package/dist/components/withReadOnly.cjs.js.map +0 -1
- package/dist/components/withReadOnly.es.js +0 -76
- package/dist/components/withReadOnly.es.js.map +0 -1
- package/dist/hooks/useAnimation.cjs.js +0 -2
- package/dist/hooks/useAnimation.cjs.js.map +0 -1
- package/dist/hooks/useAnimation.es.js +0 -23
- package/dist/hooks/useAnimation.es.js.map +0 -1
- package/dist/hooks/useClickOutside.cjs.js +0 -2
- package/dist/hooks/useClickOutside.cjs.js.map +0 -1
- package/dist/hooks/useClickOutside.es.js +0 -23
- package/dist/hooks/useClickOutside.es.js.map +0 -1
- package/dist/hooks/useDebouncedCallback.cjs.js +0 -2
- package/dist/hooks/useDebouncedCallback.cjs.js.map +0 -1
- package/dist/hooks/useDebouncedCallback.es.js +0 -17
- package/dist/hooks/useDebouncedCallback.es.js.map +0 -1
- package/dist/hooks/useDetermineStatusIcon.cjs.js +0 -2
- package/dist/hooks/useDetermineStatusIcon.cjs.js.map +0 -1
- package/dist/hooks/useDetermineStatusIcon.es.js +0 -18
- package/dist/hooks/useDetermineStatusIcon.es.js.map +0 -1
- package/dist/hooks/useFormSelector.cjs.js +0 -2
- package/dist/hooks/useFormSelector.cjs.js.map +0 -1
- package/dist/hooks/useFormSelector.es.js +0 -30
- package/dist/hooks/useFormSelector.es.js.map +0 -1
- package/dist/hooks/useFullHeightCollapse.cjs.js +0 -2
- package/dist/hooks/useFullHeightCollapse.cjs.js.map +0 -1
- package/dist/hooks/useFullHeightCollapse.es.js +0 -18
- package/dist/hooks/useFullHeightCollapse.es.js.map +0 -1
- package/dist/hooks/useGetDomRoot.cjs.js +0 -2
- package/dist/hooks/useGetDomRoot.cjs.js.map +0 -1
- package/dist/hooks/useGetDomRoot.es.js +0 -21
- package/dist/hooks/useGetDomRoot.es.js.map +0 -1
- package/dist/hooks/usePosition.cjs.js +0 -2
- package/dist/hooks/usePosition.cjs.js.map +0 -1
- package/dist/hooks/usePosition.es.js +0 -214
- package/dist/hooks/usePosition.es.js.map +0 -1
- package/dist/hooks/useRepeatFocus.cjs.js +0 -2
- package/dist/hooks/useRepeatFocus.cjs.js.map +0 -1
- package/dist/hooks/useRepeatFocus.es.js +0 -56
- package/dist/hooks/useRepeatFocus.es.js.map +0 -1
- package/dist/hooks/useRepeater.cjs.js +0 -2
- package/dist/hooks/useRepeater.cjs.js.map +0 -1
- package/dist/hooks/useRepeater.es.js +0 -27
- package/dist/hooks/useRepeater.es.js.map +0 -1
- package/dist/hooks/useScreenSize.cjs.js +0 -2
- package/dist/hooks/useScreenSize.cjs.js.map +0 -1
- package/dist/hooks/useScreenSize.es.js +0 -36
- package/dist/hooks/useScreenSize.es.js.map +0 -1
- package/dist/hooks/useSpacing.cjs.js +0 -2
- package/dist/hooks/useSpacing.cjs.js.map +0 -1
- package/dist/hooks/useSpacing.es.js +0 -17
- package/dist/hooks/useSpacing.es.js.map +0 -1
- package/dist/hooks/useUploadFile.cjs.js +0 -2
- package/dist/hooks/useUploadFile.cjs.js.map +0 -1
- package/dist/hooks/useUploadFile.es.js +0 -81
- package/dist/hooks/useUploadFile.es.js.map +0 -1
- package/dist/hooks/useWrapper.cjs.js +0 -2
- package/dist/hooks/useWrapper.cjs.js.map +0 -1
- package/dist/hooks/useWrapper.es.js +0 -19
- package/dist/hooks/useWrapper.es.js.map +0 -1
- package/dist/index.cjs.js +0 -2
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.d.ts +0 -1825
- package/dist/index.es.js +0 -183
- package/dist/index.es.js.map +0 -1
- package/dist/readyclasses.module.scss.cjs.js +0 -3
- package/dist/readyclasses.module.scss.cjs.js.map +0 -1
- package/dist/readyclasses.module.scss.es.js +0 -13
- package/dist/readyclasses.module.scss.es.js.map +0 -1
- package/dist/util/helper.cjs.js +0 -2
- package/dist/util/helper.cjs.js.map +0 -1
- package/dist/util/helper.es.js +0 -145
- package/dist/util/helper.es.js.map +0 -1
- package/dist/utils/statusUtils.cjs.js +0 -2
- package/dist/utils/statusUtils.cjs.js.map +0 -1
- package/dist/utils/statusUtils.es.js +0 -27
- package/dist/utils/statusUtils.es.js.map +0 -1
- package/dist/variables.cjs.js +0 -2
- package/dist/variables.cjs.js.map +0 -1
- package/dist/variables.es.js +0 -28
- package/dist/variables.es.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
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":"gSA0EaA,EAAcC,EAAMC,YA5C6C,EAC1EC,KAAIC,QAAOC,YAAWC,UAASC,aAAYC,GAC7CC,IAGER,EAAAS,cAAC,UAAQF,EAAMC,MAAUE,UAAWC,EAAAA,QAAgB,QAClDX,EAAAS,cAAC,MAAA,CACCC,UAAW,GAAGC,UAAkB,YAAKN,EAAUM,EAAAA,QAAQ,gBAAkBA,EAAQC,QAAA,iBAEhFR,GACEJ,EAAAS,cAAA,MAAA,CAAIC,UAAWC,EAAAC,QAAQ,eACA,kBAAdR,kBAA2BS,OAAK,CAAAC,KAAMC,QAAMC,aAAiBZ,GAGxEJ,EAAAS,cAAA,MAAA,CAAIC,UAAWC,EAAAA,QAAQ,kBACtBX,EAAAS,cAACQ,EAAAA,WAAA,CACCf,KACAQ,UAAWC,UAAe,MAC1BO,QAASd,GAAa,CAAEe,WAAY,GACpCC,IAAI,KACJC,QAAQ,MAEPlB,GAEFE,GACCL,EAAAS,cAACQ,EAAAA,WAAA,CACCP,UAAWC,UAAiB,QAC5BO,QAAS,CAAEC,WAAY,GACvBE,QAAQ,YAEPhB,KAKRC,GACCN,EAAAS,cAACa,cAAWC,QAASjB,EAASI,UAAWC,EAAAA,QAAQ,gBAAiBR,MAAM,eACrEH,EAAAS,cAAAI,EAAAA,KAAA,CAAKC,KAAMC,EAAMA,MAAAS"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Typography } from "../../../Typography/Typography.es.js";
|
|
3
|
-
import classes from "./DialogTitle.module.scss.es.js";
|
|
4
|
-
import { Icon, Icons } from "../../../Icon/Icon.es.js";
|
|
5
|
-
import { IconButton } from "../../../Button/IconButton.es.js";
|
|
6
|
-
const DialogTitleComponent = ({ id, title, titleIcon, caption, onClose, ...rest }, ref) => {
|
|
7
|
-
return /* @__PURE__ */ React.createElement("div", { ...rest, ref, className: classes["header"] }, /* @__PURE__ */ React.createElement(
|
|
8
|
-
"div",
|
|
9
|
-
{
|
|
10
|
-
className: `${classes["headline"]} ${caption ? classes["with-caption"] : classes["no-caption"]}`
|
|
11
|
-
},
|
|
12
|
-
titleIcon && /* @__PURE__ */ React.createElement("div", { className: classes["title-icon"] }, typeof titleIcon === "boolean" ? /* @__PURE__ */ React.createElement(Icon, { icon: Icons.InfoCircle }) : titleIcon),
|
|
13
|
-
/* @__PURE__ */ React.createElement("div", { className: classes["title-wrapper"] }, /* @__PURE__ */ React.createElement(
|
|
14
|
-
Typography,
|
|
15
|
-
{
|
|
16
|
-
id,
|
|
17
|
-
className: classes["title"],
|
|
18
|
-
spacing: titleIcon && { marginLeft: 2 },
|
|
19
|
-
tag: "h1",
|
|
20
|
-
variant: "h4"
|
|
21
|
-
},
|
|
22
|
-
title
|
|
23
|
-
), caption && /* @__PURE__ */ React.createElement(
|
|
24
|
-
Typography,
|
|
25
|
-
{
|
|
26
|
-
className: classes["caption"],
|
|
27
|
-
spacing: { marginLeft: 2 },
|
|
28
|
-
variant: "sub-text"
|
|
29
|
-
},
|
|
30
|
-
caption
|
|
31
|
-
))
|
|
32
|
-
), onClose && /* @__PURE__ */ React.createElement(IconButton, { onClick: onClose, className: classes["close-button"], title: "close modal" }, /* @__PURE__ */ React.createElement(Icon, { icon: Icons.Times })));
|
|
33
|
-
};
|
|
34
|
-
const DialogTitle = React.forwardRef(DialogTitleComponent);
|
|
35
|
-
export {
|
|
36
|
-
DialogTitle
|
|
37
|
-
};
|
|
38
|
-
//# sourceMappingURL=DialogTitle.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DialogTitle.es.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":[],"mappings":";;;;;AA8BA,MAAM,uBAAwE,CAC5E,EAAE,IAAI,OAAO,WAAW,SAAS,SAAS,GAAG,KAAK,GAClD,QACG;AAED,SAAA,sBAAA,cAAC,SAAK,GAAG,MAAM,KAAU,WAAW,QAAQ,QAAQ,EAClD,GAAA,sBAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW,GAAG,QAAQ,UAAU,CAAC,IAAI,UAAU,QAAQ,cAAc,IAAI,QAAQ,YAAY,CAAC;AAAA,IAAA;AAAA,IAE7F,aACE,sBAAA,cAAA,OAAA,EAAI,WAAW,QAAQ,YAAY,EACjC,GAAA,OAAO,cAAc,gDAAa,MAAK,EAAA,MAAM,MAAM,YAAY,IAAK,SACvE;AAAA,IAED,sBAAA,cAAA,OAAA,EAAI,WAAW,QAAQ,eAAe,KACrC,sBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC;AAAA,QACA,WAAW,QAAQ,OAAO;AAAA,QAC1B,SAAS,aAAa,EAAE,YAAY,EAAE;AAAA,QACtC,KAAI;AAAA,QACJ,SAAQ;AAAA,MAAA;AAAA,MAEP;AAAA,IAAA,GAEF,WACC,sBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAW,QAAQ,SAAS;AAAA,QAC5B,SAAS,EAAE,YAAY,EAAE;AAAA,QACzB,SAAQ;AAAA,MAAA;AAAA,MAEP;AAAA,IAGP,CAAA;AAAA,EAAA,GAED,WACC,sBAAA,cAAC,cAAW,SAAS,SAAS,WAAW,QAAQ,cAAc,GAAG,OAAM,iBACrE,sBAAA,cAAA,MAAA,EAAK,MAAM,MAAM,MAAO,CAAA,CAC3B,CAEJ;AAEJ;AAEa,MAAA,cAAc,MAAM,WAAW,oBAAoB;"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\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_header_uJyTX{margin:1rem 1.5rem;display:flex;align-items:center;justify-content:space-between}.DialogTitle_header_uJyTX .DialogTitle_headline_uJyTX{display:flex;min-width:0}.DialogTitle_header_uJyTX .DialogTitle_headline_uJyTX.DialogTitle_with-caption_uJyTX{align-items:flex-start}.DialogTitle_header_uJyTX .DialogTitle_headline_uJyTX.DialogTitle_no-caption_uJyTX{align-items:center}.DialogTitle_header_uJyTX .DialogTitle_headline_uJyTX .DialogTitle_title-wrapper_uJyTX{min-width:0}.DialogTitle_header_uJyTX .DialogTitle_headline_uJyTX .DialogTitle_title_uJyTX{margin:0;line-height:1;color:var(--modal-title-color);overflow-wrap:break-word}.DialogTitle_header_uJyTX .DialogTitle_headline_uJyTX .DialogTitle_title-icon_uJyTX>[data-icon]{font-size:var(--font-size-big)}.DialogTitle_header_uJyTX .DialogTitle_caption_uJyTX{color:var(--color-blue-grey500)}.DialogTitle_header_uJyTX .DialogTitle_close-button_uJyTX{flex-shrink:0}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
|
|
2
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="DialogTitle_header_uJyTX",t="DialogTitle_headline_uJyTX",i="DialogTitle_title_uJyTX",l="DialogTitle_caption_uJyTX",o={header:e,headline:t,"with-caption":"DialogTitle_with-caption_uJyTX","no-caption":"DialogTitle_no-caption_uJyTX","title-wrapper":"DialogTitle_title-wrapper_uJyTX",title:i,"title-icon":"DialogTitle_title-icon_uJyTX",caption:l,"close-button":"DialogTitle_close-button_uJyTX"};exports.caption=l,exports.default=o,exports.header=e,exports.headline=t,exports.title=i;
|
|
3
|
-
//# sourceMappingURL=DialogTitle.module.scss.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DialogTitle.module.scss.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\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_header_uJyTX{margin:1rem 1.5rem;display:flex;align-items:center;justify-content:space-between}.DialogTitle_header_uJyTX .DialogTitle_headline_uJyTX{display:flex;min-width:0}.DialogTitle_header_uJyTX .DialogTitle_headline_uJyTX.DialogTitle_with-caption_uJyTX{align-items:flex-start}.DialogTitle_header_uJyTX .DialogTitle_headline_uJyTX.DialogTitle_no-caption_uJyTX{align-items:center}.DialogTitle_header_uJyTX .DialogTitle_headline_uJyTX .DialogTitle_title-wrapper_uJyTX{min-width:0}.DialogTitle_header_uJyTX .DialogTitle_headline_uJyTX .DialogTitle_title_uJyTX{margin:0;line-height:1;color:var(--modal-title-color);overflow-wrap:break-word}.DialogTitle_header_uJyTX .DialogTitle_headline_uJyTX .DialogTitle_title-icon_uJyTX>[data-icon]{font-size:var(--font-size-big)}.DialogTitle_header_uJyTX .DialogTitle_caption_uJyTX{color:var(--color-blue-grey500)}.DialogTitle_header_uJyTX .DialogTitle_close-button_uJyTX{flex-shrink:0}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
|
|
2
|
-
const header = "DialogTitle_header_uJyTX";
|
|
3
|
-
const headline = "DialogTitle_headline_uJyTX";
|
|
4
|
-
const title = "DialogTitle_title_uJyTX";
|
|
5
|
-
const caption = "DialogTitle_caption_uJyTX";
|
|
6
|
-
const classes = {
|
|
7
|
-
header,
|
|
8
|
-
headline,
|
|
9
|
-
"with-caption": "DialogTitle_with-caption_uJyTX",
|
|
10
|
-
"no-caption": "DialogTitle_no-caption_uJyTX",
|
|
11
|
-
"title-wrapper": "DialogTitle_title-wrapper_uJyTX",
|
|
12
|
-
title,
|
|
13
|
-
"title-icon": "DialogTitle_title-icon_uJyTX",
|
|
14
|
-
caption,
|
|
15
|
-
"close-button": "DialogTitle_close-button_uJyTX"
|
|
16
|
-
};
|
|
17
|
-
export {
|
|
18
|
-
caption,
|
|
19
|
-
classes as default,
|
|
20
|
-
header,
|
|
21
|
-
headline,
|
|
22
|
-
title
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=DialogTitle.module.scss.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DialogTitle.module.scss.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),a=require("../../Dialog/Dialog.cjs.js"),o=require("../../../Typography/Typography.cjs.js"),n=e.forwardRef((({open:n,onKeepEditing:t,onDiscardChanges:i,discardChangesButtonLabel:r,keepEditingButtonLabel:c,contentLabel:l,titleLabel:s,cancelAction:g,...p},d)=>e.createElement(a.Dialog,{...p,ref:d,open:n,title:s,onClose:t,cancelAction:g,primaryAction:{label:r,onClick:i},secondaryAction:{label:c,onClick:t},disableEscapeKeyDown:!1},e.createElement(o.Typography,{variant:"body",spacing:{margin:0}},l))));exports.DiscardChangesDialog=n;
|
|
2
|
-
//# sourceMappingURL=DiscardChangesDialog.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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\n /* eslint-disable-next-line @typescript-eslint/no-explicit-any */\n [dataAttribute: DataAttributeKey]: any;\n\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":"oMA4EaA,EAAuBC,EAAMC,YAvC6C,EAEnFC,OACAC,gBACAC,mBACAC,4BACAC,yBACAC,eACAC,aACAC,kBACGC,GAELC,IAGEX,EAAAY,cAACC,EAAAA,OAAA,IACKH,EACJC,MACAT,OACAY,MAAON,EACPO,QAASZ,EACTM,eACAO,cAAe,CACbC,MAAOZ,EACPa,QAASd,GAEXe,gBAAiB,CACfF,MAAOX,EACPY,QAASf,GAEXiB,sBAAsB,GAEtBpB,EAAAY,cAACS,cAAWC,QAAQ,OAAOC,QAAS,CAAEC,OAAQ,IAC3CjB"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Dialog } from "../../Dialog/Dialog.es.js";
|
|
3
|
-
import { Typography } from "../../../Typography/Typography.es.js";
|
|
4
|
-
const DiscardChangesDialogComponent = ({
|
|
5
|
-
open,
|
|
6
|
-
onKeepEditing,
|
|
7
|
-
onDiscardChanges,
|
|
8
|
-
discardChangesButtonLabel,
|
|
9
|
-
keepEditingButtonLabel,
|
|
10
|
-
contentLabel,
|
|
11
|
-
titleLabel,
|
|
12
|
-
cancelAction,
|
|
13
|
-
...rest
|
|
14
|
-
}, ref) => {
|
|
15
|
-
return /* @__PURE__ */ React.createElement(
|
|
16
|
-
Dialog,
|
|
17
|
-
{
|
|
18
|
-
...rest,
|
|
19
|
-
ref,
|
|
20
|
-
open,
|
|
21
|
-
title: titleLabel,
|
|
22
|
-
onClose: onKeepEditing,
|
|
23
|
-
cancelAction,
|
|
24
|
-
primaryAction: {
|
|
25
|
-
label: discardChangesButtonLabel,
|
|
26
|
-
onClick: onDiscardChanges
|
|
27
|
-
},
|
|
28
|
-
secondaryAction: {
|
|
29
|
-
label: keepEditingButtonLabel,
|
|
30
|
-
onClick: onKeepEditing
|
|
31
|
-
},
|
|
32
|
-
disableEscapeKeyDown: false
|
|
33
|
-
},
|
|
34
|
-
/* @__PURE__ */ React.createElement(Typography, { variant: "body", spacing: { margin: 0 } }, contentLabel)
|
|
35
|
-
);
|
|
36
|
-
};
|
|
37
|
-
const DiscardChangesDialog = React.forwardRef(DiscardChangesDialogComponent);
|
|
38
|
-
export {
|
|
39
|
-
DiscardChangesDialog
|
|
40
|
-
};
|
|
41
|
-
//# sourceMappingURL=DiscardChangesDialog.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DiscardChangesDialog.es.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\n /* eslint-disable-next-line @typescript-eslint/no-explicit-any */\n [dataAttribute: DataAttributeKey]: any;\n\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":[],"mappings":";;;AAqCA,MAAM,gCAAiF,CACrF;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,GACA,QACG;AAED,SAAA,sBAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACE,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,MACA,OAAO;AAAA,MACP,SAAS;AAAA,MACT;AAAA,MACA,eAAe;AAAA,QACb,OAAO;AAAA,QACP,SAAS;AAAA,MACX;AAAA,MACA,iBAAiB;AAAA,QACf,OAAO;AAAA,QACP,SAAS;AAAA,MACX;AAAA,MACA,sBAAsB;AAAA,IAAA;AAAA,IAEtB,sBAAA,cAAC,cAAW,SAAQ,QAAO,SAAS,EAAE,QAAQ,EAAE,EAAA,GAC7C,YACH;AAAA,EACF;AAEJ;AAEa,MAAA,uBAAuB,MAAM,WAAW,6BAA6B;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),a=require("./DiscardChangesDialog/DiscardChangesDialog.cjs.js"),s=require("../BaseModal/BaseModal.cjs.js"),r=require("../BaseModal/BaseModalHeader/BaseModalHeader.cjs.js");exports.DiscardChangesModal=({id:o,children:d,headerProps:l,discardChangedDialogProps:n,modalRef:i,dialogRef:t,onClose:c,hasUnsavedChanges:g,...h})=>{const[u,C]=e.useState(!1),D=()=>g()?C(!0):c();return e.createElement(e.Fragment,null,e.createElement(s.BaseModal,{id:o,ref:i,onClose:D,...h},e.createElement(r.BaseModalHeader,{...l,id:`${o}-label`,onClose:D}),d),e.createElement(a.DiscardChangesDialog,{...n,ref:t,open:u,onKeepEditing:()=>{C(!1)},onDiscardChanges:()=>{C(!1),c()}}))};
|
|
2
|
-
//# sourceMappingURL=DiscardChangesModal.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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","createElement","Fragment","Modal","ref","ModalHeader","BaseModalHeader","DiscardChangesDialog","open","onKeepEditing","onDiscardChanges"],"mappings":"iTAoCmC,EACjCA,KACAC,WACAC,cACAC,4BACAC,WACAC,YACAC,UACAC,uBACGC,MAEH,MAAOC,EAA0BC,GAA+BC,EAAAA,UAAS,GAEnEC,EAAiB,IACrBL,IAAsBG,GAA4B,GAAQJ,IAY1D,OAAAO,EAAAC,cAACC,EAAAA,cACEF,EAAAC,cAAAE,EAAAA,UAAA,CAAMhB,KAAQiB,IAAKb,EAAUE,QAASM,KAAoBJ,mBACxDU,EAAaC,gBAAA,IAAGjB,EAAaF,GAAI,GAAGA,UAAYM,QAASM,IACzDX,GAEHY,EAAAC,cAACM,EAAAA,qBAAA,IACKjB,EACJc,IAAKZ,EACLgB,KAAMZ,EACNa,cAnBsB,KAC1BZ,GAA4B,EAAK,EAmB7Ba,iBAhByB,KAC7Bb,GAA4B,GACpBJ,GAAA,IAgBR"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import React, { useState, Fragment } from "react";
|
|
2
|
-
import { DiscardChangesDialog } from "./DiscardChangesDialog/DiscardChangesDialog.es.js";
|
|
3
|
-
import { BaseModal } from "../BaseModal/BaseModal.es.js";
|
|
4
|
-
import { BaseModalHeader } from "../BaseModal/BaseModalHeader/BaseModalHeader.es.js";
|
|
5
|
-
const DiscardChangesModal = ({
|
|
6
|
-
id,
|
|
7
|
-
children,
|
|
8
|
-
headerProps,
|
|
9
|
-
discardChangedDialogProps,
|
|
10
|
-
modalRef,
|
|
11
|
-
dialogRef,
|
|
12
|
-
onClose,
|
|
13
|
-
hasUnsavedChanges,
|
|
14
|
-
...rest
|
|
15
|
-
}) => {
|
|
16
|
-
const [openDiscardChangesDialog, setOpenDiscardChangesDialog] = useState(false);
|
|
17
|
-
const onCloseWrapper = () => hasUnsavedChanges() ? setOpenDiscardChangesDialog(true) : onClose();
|
|
18
|
-
const onDialogKeepEditing = () => {
|
|
19
|
-
setOpenDiscardChangesDialog(false);
|
|
20
|
-
};
|
|
21
|
-
const onDialogDiscardChanges = () => {
|
|
22
|
-
setOpenDiscardChangesDialog(false);
|
|
23
|
-
onClose();
|
|
24
|
-
};
|
|
25
|
-
return /* @__PURE__ */ React.createElement(Fragment, null, /* @__PURE__ */ React.createElement(BaseModal, { id, ref: modalRef, onClose: onCloseWrapper, ...rest }, /* @__PURE__ */ React.createElement(BaseModalHeader, { ...headerProps, id: `${id}-label`, onClose: onCloseWrapper }), children), /* @__PURE__ */ React.createElement(
|
|
26
|
-
DiscardChangesDialog,
|
|
27
|
-
{
|
|
28
|
-
...discardChangedDialogProps,
|
|
29
|
-
ref: dialogRef,
|
|
30
|
-
open: openDiscardChangesDialog,
|
|
31
|
-
onKeepEditing: onDialogKeepEditing,
|
|
32
|
-
onDiscardChanges: onDialogDiscardChanges
|
|
33
|
-
}
|
|
34
|
-
));
|
|
35
|
-
};
|
|
36
|
-
export {
|
|
37
|
-
DiscardChangesModal
|
|
38
|
-
};
|
|
39
|
-
//# sourceMappingURL=DiscardChangesModal.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DiscardChangesModal.es.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":["Modal","ModalHeader"],"mappings":";;;;AAoCO,MAAM,sBAAsB,CAAC;AAAA,EAClC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAa;AACX,QAAM,CAAC,0BAA0B,2BAA2B,IAAI,SAAS,KAAK;AAE9E,QAAM,iBAAiB,MACrB,kBAAA,IAAsB,4BAA4B,IAAI,IAAI,QAAQ;AAEpE,QAAM,sBAAsB,MAAM;AAChC,gCAA4B,KAAK;AAAA,EACnC;AAEA,QAAM,yBAAyB,MAAM;AACnC,gCAA4B,KAAK;AACzB,YAAA;AAAA,EACV;AAGE,SAAA,sBAAA,cAAC,gBACE,sBAAA,cAAAA,WAAA,EAAM,IAAQ,KAAK,UAAU,SAAS,gBAAiB,GAAG,KAAA,uCACxDC,iBAAa,EAAA,GAAG,aAAa,IAAI,GAAG,EAAE,UAAU,SAAS,eAAgB,CAAA,GACzE,QACH,GACA,sBAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACE,GAAG;AAAA,MACJ,KAAK;AAAA,MACL,MAAM;AAAA,MACN,eAAe;AAAA,MACf,kBAAkB;AAAA,IAAA;AAAA,EAAA,CAEtB;AAEJ;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),t=require("./NotificationService.cjs.js"),a=require("../../../util/helper.cjs.js"),s=require("../Alert/useAlert.cjs.js"),i={notifications:[]},r=({translations:i={},dispatchFn:r})=>{const{enqueueErrorAlert:n,enqueueSuccessAlert:d}=s.useAlert(),{state:{notifications:c}}=o(),l=a.deepMerge(t.defaultTranslations,i),u=e=>{if(e.message)return e.message;switch(e.status){case 500:default:return l.messages.general;case 400:return l.messages.badRequest;case 401:return l.messages.unauthorized;case 403:return l.messages.forbidden;case 404:return l.messages.notFound;case 502:case 503:return l.messages.unavailable;case 504:return l.messages.timeout}};return e.useEffect((()=>{c.forEach((e=>{e.status&&e.handled&&(401===e.status||403===e.status)?r({type:"remove",payload:{id:e.id}}):e.status&&!e.handled&&"error"===e.type?(n({title:e.title??l.general.error,content:u(e),onClose:()=>r({type:"remove",payload:{id:e.id}})}),r({type:"handled",payload:{id:e.id,handled:!0}})):e.title&&!e.handled&&"success"===e.type&&(d({title:e.title??l.general.success,content:e.message,onClose:()=>r({type:"remove",payload:{id:e.id}})}),r({type:"handled",payload:{id:e.id,handled:!0}}))}))}),[c.length]),null},n=e.createContext({state:i,dispatch:()=>{}}),o=()=>{const t=e.useContext(n),a=e.useCallback((e=>{t.dispatch({type:"add",payload:e})}),[t]),s=e.useCallback((e=>{t.dispatch({type:"remove",payload:{id:e}})}),[t]),i=e.useCallback((()=>{t.dispatch({type:"reset"})}),[t]);return{state:t.state,addNotification:a,removeNotification:s,resetNotifications:i}},d=(e,t)=>{switch(t.type){case"add":return{...e,notifications:[...e.notifications,{...t.payload,id:a.generateID(),handled:!1}]};case"remove":return{...e,notifications:e.notifications.filter((e=>{var a;return e.id!==(null==(a=t.payload)?void 0:a.id)}))};case"handled":return{...e,notifications:e.notifications.map((e=>{var a;return e.id===(null==(a=t.payload)?void 0:a.id)?{...e,handled:!0}:e}))};case"reset":return{...e,notifications:[]};default:return e}};exports.NotificationContext=n,exports.NotificationHandler=r,exports.NotificationProvider=({children:t,translations:a})=>{const[s,o]=e.useReducer(d,i);return e.createElement(n.Provider,{value:{state:s,dispatch:o}},t,e.createElement(r,{translations:a,dispatchFn:o}))},exports.notificationReducer=d,exports.useNotificationContext=o;
|
|
2
|
-
//# sourceMappingURL=NotificationContext.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationContext.cjs.js","sources":["../../../../src/components/Notifications/NotificationProvider/NotificationContext.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 ReactNode,\n createContext,\n useCallback,\n useContext,\n useEffect,\n useReducer\n} from \"react\";\nimport {\n Notification,\n ErrorNotification,\n SuccessNotification,\n Translations,\n AddNotification\n} from \"./notification.interfaces\";\nimport { defaultTranslations } from \"./NotificationService\";\nimport { deepMerge, generateID } from \"../../../util/helper\";\nimport { DeepPartial } from \"../../../interfaces\";\nimport { useAlert } from \"../Alert/useAlert\";\n\ninterface NotificationState {\n notifications: Notification<ErrorNotification | SuccessNotification>[];\n}\n\nexport interface NotificationAction {\n type: \"add\" | \"remove\" | \"handled\" | \"reset\";\n payload?: Notification<ErrorNotification | SuccessNotification> & {\n id?: string;\n handled?: boolean;\n };\n}\n\nconst initialState: NotificationState = {\n notifications: []\n};\n\nexport interface NotificationHandlerProps {\n translations?: DeepPartial<Translations>;\n dispatchFn: React.Dispatch<NotificationAction>;\n}\n\nexport const NotificationHandler = ({\n translations = {},\n dispatchFn\n}: NotificationHandlerProps) => {\n const { enqueueErrorAlert, enqueueSuccessAlert } = useAlert();\n const {\n state: { notifications }\n } = useNotificationContext();\n\n const mergedTranslations = deepMerge<Translations>(defaultTranslations, translations);\n\n const determineNotificationMessage = (notification: Notification<ErrorNotification>) => {\n if (notification.message) {\n return notification.message;\n }\n\n switch (notification.status) {\n case 500:\n return mergedTranslations.messages.general;\n case 400:\n return mergedTranslations.messages.badRequest;\n case 401:\n return mergedTranslations.messages.unauthorized;\n case 403:\n return mergedTranslations.messages.forbidden;\n case 404:\n return mergedTranslations.messages.notFound;\n case 502:\n case 503:\n return mergedTranslations.messages.unavailable;\n case 504:\n return mergedTranslations.messages.timeout;\n default:\n return mergedTranslations.messages.general;\n }\n };\n\n useEffect(() => {\n notifications.forEach(notification => {\n if (\n notification.status &&\n notification.handled &&\n (notification.status === 401 || notification.status === 403)\n ) {\n dispatchFn({ type: \"remove\", payload: { id: notification.id } });\n } else if (notification.status && !notification.handled && notification.type === \"error\") {\n enqueueErrorAlert({\n title: notification.title ?? mergedTranslations.general.error,\n content: determineNotificationMessage(notification as Notification<ErrorNotification>),\n onClose: () => dispatchFn({ type: \"remove\", payload: { id: notification.id } })\n });\n dispatchFn({ type: \"handled\", payload: { id: notification.id, handled: true } });\n } else if (notification.title && !notification.handled && notification.type === \"success\") {\n enqueueSuccessAlert({\n title: notification.title ?? mergedTranslations.general.success,\n content: notification.message,\n onClose: () => dispatchFn({ type: \"remove\", payload: { id: notification.id } })\n });\n\n dispatchFn({ type: \"handled\", payload: { id: notification.id, handled: true } });\n }\n });\n }, [notifications.length]);\n\n return null;\n};\n\nexport const NotificationContext = createContext<{\n state: NotificationState;\n dispatch: React.Dispatch<NotificationAction>;\n}>({\n state: initialState,\n dispatch: () => undefined\n});\n\nexport interface Props {\n children?: ReactNode;\n translations?: DeepPartial<Translations>;\n}\n\nexport const NotificationProvider = ({ children, translations }: Props) => {\n const [state, dispatch] = useReducer(notificationReducer, initialState);\n\n return (\n <NotificationContext.Provider value={{ state, dispatch }}>\n {children}\n <NotificationHandler translations={translations} dispatchFn={dispatch} />\n </NotificationContext.Provider>\n );\n};\n\nexport const useNotificationContext = () => {\n const ctx = useContext(NotificationContext);\n\n const addNotification = useCallback(\n (notification: AddNotification) => {\n ctx.dispatch({ type: \"add\", payload: notification });\n },\n [ctx]\n );\n\n const removeNotification = useCallback(\n (id: string) => {\n ctx.dispatch({ type: \"remove\", payload: { id } });\n },\n [ctx]\n );\n\n const resetNotifications = useCallback(() => {\n ctx.dispatch({ type: \"reset\" });\n }, [ctx]);\n\n return {\n state: ctx.state,\n addNotification,\n removeNotification,\n resetNotifications\n };\n};\n\nexport const notificationReducer = (\n state: NotificationState,\n action: NotificationAction\n): NotificationState => {\n switch (action.type) {\n case \"add\":\n return {\n ...state,\n notifications: [\n ...state.notifications,\n {\n ...action.payload,\n id: generateID(),\n handled: false\n }\n ]\n };\n case \"remove\":\n return {\n ...state,\n notifications: state.notifications.filter(\n notification => notification.id !== action.payload?.id\n )\n };\n case \"handled\":\n return {\n ...state,\n notifications: state.notifications.map(notification =>\n notification.id === action.payload?.id ? { ...notification, handled: true } : notification\n )\n };\n case \"reset\":\n return {\n ...state,\n notifications: []\n };\n default:\n return state;\n }\n};\n"],"names":["initialState","notifications","NotificationHandler","translations","dispatchFn","enqueueErrorAlert","enqueueSuccessAlert","useAlert","state","useNotificationContext","mergedTranslations","deepMerge","defaultTranslations","determineNotificationMessage","notification","message","status","messages","general","badRequest","unauthorized","forbidden","notFound","unavailable","timeout","useEffect","forEach","handled","type","payload","id","title","error","content","onClose","success","length","NotificationContext","createContext","dispatch","ctx","useContext","addNotification","useCallback","removeNotification","resetNotifications","notificationReducer","action","generateID","filter","_a","map","children","useReducer","React","createElement","Provider","value"],"mappings":"kOAgDMA,EAAkC,CACtCC,cAAe,IAQJC,EAAsB,EACjCC,eAAe,CAAC,EAChBC,iBAEA,MAAMC,kBAAEA,EAAAC,oBAAmBA,GAAwBC,cAEjDC,OAAOP,cAAEA,IACPQ,IAEEC,EAAqBC,EAAAA,UAAwBC,EAAAA,oBAAqBT,GAElEU,EAAgCC,IACpC,GAAIA,EAAaC,QACf,OAAOD,EAAaC,QAGtB,OAAQD,EAAaE,QACnB,KAAK,IAeL,QACE,OAAON,EAAmBO,SAASC,QAdrC,KAAK,IACH,OAAOR,EAAmBO,SAASE,WACrC,KAAK,IACH,OAAOT,EAAmBO,SAASG,aACrC,KAAK,IACH,OAAOV,EAAmBO,SAASI,UACrC,KAAK,IACH,OAAOX,EAAmBO,SAASK,SACrC,KAAK,IACL,KAAK,IACH,OAAOZ,EAAmBO,SAASM,YACrC,KAAK,IACH,OAAOb,EAAmBO,SAASO,QAEA,EA+BlC,OA3BPC,EAAAA,WAAU,KACMxB,EAAAyB,SAAwBZ,IAElCA,EAAaE,QACbF,EAAaa,UACY,MAAxBb,EAAaE,QAA0C,MAAxBF,EAAaE,QAElCZ,EAAA,CAAEwB,KAAM,SAAUC,QAAS,CAAEC,GAAIhB,EAAagB,MAChDhB,EAAaE,SAAWF,EAAaa,SAAiC,UAAtBb,EAAac,MACpDvB,EAAA,CAChB0B,MAAOjB,EAAaiB,OAASrB,EAAmBQ,QAAQc,MACxDC,QAASpB,EAA6BC,GACtCoB,QAAS,IAAM9B,EAAW,CAAEwB,KAAM,SAAUC,QAAS,CAAEC,GAAIhB,EAAagB,QAE/D1B,EAAA,CAAEwB,KAAM,UAAWC,QAAS,CAAEC,GAAIhB,EAAagB,GAAIH,SAAS,MAC9Db,EAAaiB,QAAUjB,EAAaa,SAAiC,YAAtBb,EAAac,OACjDtB,EAAA,CAClByB,MAAOjB,EAAaiB,OAASrB,EAAmBQ,QAAQiB,QACxDF,QAASnB,EAAaC,QACtBmB,QAAS,IAAM9B,EAAW,CAAEwB,KAAM,SAAUC,QAAS,CAAEC,GAAIhB,EAAagB,QAG/D1B,EAAA,CAAEwB,KAAM,UAAWC,QAAS,CAAEC,GAAIhB,EAAagB,GAAIH,SAAS,KAAQ,GAElF,GACA,CAAC1B,EAAcmC,SAEX,IAAA,EAGIC,EAAsBC,EAAAA,cAGhC,CACD9B,MAAOR,EACPuC,SAAU,KACZ,IAkBa9B,EAAyB,KAC9B,MAAA+B,EAAMC,aAAWJ,GAEjBK,EAAkBC,EAAAA,aACrB7B,IACC0B,EAAID,SAAS,CAAEX,KAAM,MAAOC,QAASf,GAAc,GAErD,CAAC0B,IAGGI,EAAqBD,EAAAA,aACxBb,IACKU,EAAAD,SAAS,CAAEX,KAAM,SAAUC,QAAS,CAAEC,OAAM,GAElD,CAACU,IAGGK,EAAqBF,EAAAA,aAAY,KACrCH,EAAID,SAAS,CAAEX,KAAM,SAAS,GAC7B,CAACY,IAEG,MAAA,CACLhC,MAAOgC,EAAIhC,MACXkC,kBACAE,qBACAC,qBACF,EAGWC,EAAsB,CACjCtC,EACAuC,KAEA,OAAQA,EAAOnB,MACb,IAAK,MACI,MAAA,IACFpB,EACHP,cAAe,IACVO,EAAMP,cACT,IACK8C,EAAOlB,QACVC,GAAIkB,EAAAA,aACJrB,SAAS,KAIjB,IAAK,SACI,MAAA,IACFnB,EACHP,cAAeO,EAAMP,cAAcgD,QACjBnC,UAAa,OAAAA,EAAAgB,MAAO,OAAAoB,EAAOH,EAAAlB,cAAS,EAAAqB,EAAApB,GAAA,KAG1D,IAAK,UACI,MAAA,IACFtB,EACHP,cAAeO,EAAMP,cAAckD,KAAIrC,UACxB,OAAAA,EAAAgB,MAAO,OAAAoB,EAAOH,EAAAlB,cAAS,EAAAqB,EAAApB,IAAK,IAAKhB,EAAca,SAAS,GAASb,CAAA,KAGpF,IAAK,QACI,MAAA,IACFN,EACHP,cAAe,IAEnB,QACS,OAAAO,EAAA,2FA7EuB,EAAG4C,WAAUjD,mBAC/C,MAAOK,EAAO+B,GAAYc,EAAAA,WAAWP,EAAqB9C,GAGvD,OAAAsD,EAAAC,cAAAlB,EAAoBmB,SAApB,CAA6BC,MAAO,CAAEjD,QAAO+B,aAC3Ca,EACAE,EAAAC,cAAArD,EAAA,CAAoBC,eAA4BC,WAAYmC,IAC/D"}
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
import React, { useReducer, createContext, useContext, useCallback, useEffect } from "react";
|
|
2
|
-
import { defaultTranslations } from "./NotificationService.es.js";
|
|
3
|
-
import { generateID, deepMerge } from "../../../util/helper.es.js";
|
|
4
|
-
import { useAlert } from "../Alert/useAlert.es.js";
|
|
5
|
-
const initialState = {
|
|
6
|
-
notifications: []
|
|
7
|
-
};
|
|
8
|
-
const NotificationHandler = ({
|
|
9
|
-
translations = {},
|
|
10
|
-
dispatchFn
|
|
11
|
-
}) => {
|
|
12
|
-
const { enqueueErrorAlert, enqueueSuccessAlert } = useAlert();
|
|
13
|
-
const {
|
|
14
|
-
state: { notifications }
|
|
15
|
-
} = useNotificationContext();
|
|
16
|
-
const mergedTranslations = deepMerge(defaultTranslations, translations);
|
|
17
|
-
const determineNotificationMessage = (notification) => {
|
|
18
|
-
if (notification.message) {
|
|
19
|
-
return notification.message;
|
|
20
|
-
}
|
|
21
|
-
switch (notification.status) {
|
|
22
|
-
case 500:
|
|
23
|
-
return mergedTranslations.messages.general;
|
|
24
|
-
case 400:
|
|
25
|
-
return mergedTranslations.messages.badRequest;
|
|
26
|
-
case 401:
|
|
27
|
-
return mergedTranslations.messages.unauthorized;
|
|
28
|
-
case 403:
|
|
29
|
-
return mergedTranslations.messages.forbidden;
|
|
30
|
-
case 404:
|
|
31
|
-
return mergedTranslations.messages.notFound;
|
|
32
|
-
case 502:
|
|
33
|
-
case 503:
|
|
34
|
-
return mergedTranslations.messages.unavailable;
|
|
35
|
-
case 504:
|
|
36
|
-
return mergedTranslations.messages.timeout;
|
|
37
|
-
default:
|
|
38
|
-
return mergedTranslations.messages.general;
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
useEffect(() => {
|
|
42
|
-
notifications.forEach((notification) => {
|
|
43
|
-
if (notification.status && notification.handled && (notification.status === 401 || notification.status === 403)) {
|
|
44
|
-
dispatchFn({ type: "remove", payload: { id: notification.id } });
|
|
45
|
-
} else if (notification.status && !notification.handled && notification.type === "error") {
|
|
46
|
-
enqueueErrorAlert({
|
|
47
|
-
title: notification.title ?? mergedTranslations.general.error,
|
|
48
|
-
content: determineNotificationMessage(notification),
|
|
49
|
-
onClose: () => dispatchFn({ type: "remove", payload: { id: notification.id } })
|
|
50
|
-
});
|
|
51
|
-
dispatchFn({ type: "handled", payload: { id: notification.id, handled: true } });
|
|
52
|
-
} else if (notification.title && !notification.handled && notification.type === "success") {
|
|
53
|
-
enqueueSuccessAlert({
|
|
54
|
-
title: notification.title ?? mergedTranslations.general.success,
|
|
55
|
-
content: notification.message,
|
|
56
|
-
onClose: () => dispatchFn({ type: "remove", payload: { id: notification.id } })
|
|
57
|
-
});
|
|
58
|
-
dispatchFn({ type: "handled", payload: { id: notification.id, handled: true } });
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
}, [notifications.length]);
|
|
62
|
-
return null;
|
|
63
|
-
};
|
|
64
|
-
const NotificationContext = createContext({
|
|
65
|
-
state: initialState,
|
|
66
|
-
dispatch: () => void 0
|
|
67
|
-
});
|
|
68
|
-
const NotificationProvider = ({ children, translations }) => {
|
|
69
|
-
const [state, dispatch] = useReducer(notificationReducer, initialState);
|
|
70
|
-
return /* @__PURE__ */ React.createElement(NotificationContext.Provider, { value: { state, dispatch } }, children, /* @__PURE__ */ React.createElement(NotificationHandler, { translations, dispatchFn: dispatch }));
|
|
71
|
-
};
|
|
72
|
-
const useNotificationContext = () => {
|
|
73
|
-
const ctx = useContext(NotificationContext);
|
|
74
|
-
const addNotification = useCallback(
|
|
75
|
-
(notification) => {
|
|
76
|
-
ctx.dispatch({ type: "add", payload: notification });
|
|
77
|
-
},
|
|
78
|
-
[ctx]
|
|
79
|
-
);
|
|
80
|
-
const removeNotification = useCallback(
|
|
81
|
-
(id) => {
|
|
82
|
-
ctx.dispatch({ type: "remove", payload: { id } });
|
|
83
|
-
},
|
|
84
|
-
[ctx]
|
|
85
|
-
);
|
|
86
|
-
const resetNotifications = useCallback(() => {
|
|
87
|
-
ctx.dispatch({ type: "reset" });
|
|
88
|
-
}, [ctx]);
|
|
89
|
-
return {
|
|
90
|
-
state: ctx.state,
|
|
91
|
-
addNotification,
|
|
92
|
-
removeNotification,
|
|
93
|
-
resetNotifications
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
const notificationReducer = (state, action) => {
|
|
97
|
-
switch (action.type) {
|
|
98
|
-
case "add":
|
|
99
|
-
return {
|
|
100
|
-
...state,
|
|
101
|
-
notifications: [
|
|
102
|
-
...state.notifications,
|
|
103
|
-
{
|
|
104
|
-
...action.payload,
|
|
105
|
-
id: generateID(),
|
|
106
|
-
handled: false
|
|
107
|
-
}
|
|
108
|
-
]
|
|
109
|
-
};
|
|
110
|
-
case "remove":
|
|
111
|
-
return {
|
|
112
|
-
...state,
|
|
113
|
-
notifications: state.notifications.filter(
|
|
114
|
-
(notification) => {
|
|
115
|
-
var _a;
|
|
116
|
-
return notification.id !== ((_a = action.payload) == null ? void 0 : _a.id);
|
|
117
|
-
}
|
|
118
|
-
)
|
|
119
|
-
};
|
|
120
|
-
case "handled":
|
|
121
|
-
return {
|
|
122
|
-
...state,
|
|
123
|
-
notifications: state.notifications.map(
|
|
124
|
-
(notification) => {
|
|
125
|
-
var _a;
|
|
126
|
-
return notification.id === ((_a = action.payload) == null ? void 0 : _a.id) ? { ...notification, handled: true } : notification;
|
|
127
|
-
}
|
|
128
|
-
)
|
|
129
|
-
};
|
|
130
|
-
case "reset":
|
|
131
|
-
return {
|
|
132
|
-
...state,
|
|
133
|
-
notifications: []
|
|
134
|
-
};
|
|
135
|
-
default:
|
|
136
|
-
return state;
|
|
137
|
-
}
|
|
138
|
-
};
|
|
139
|
-
export {
|
|
140
|
-
NotificationContext,
|
|
141
|
-
NotificationHandler,
|
|
142
|
-
NotificationProvider,
|
|
143
|
-
notificationReducer,
|
|
144
|
-
useNotificationContext
|
|
145
|
-
};
|
|
146
|
-
//# sourceMappingURL=NotificationContext.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationContext.es.js","sources":["../../../../src/components/Notifications/NotificationProvider/NotificationContext.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 ReactNode,\n createContext,\n useCallback,\n useContext,\n useEffect,\n useReducer\n} from \"react\";\nimport {\n Notification,\n ErrorNotification,\n SuccessNotification,\n Translations,\n AddNotification\n} from \"./notification.interfaces\";\nimport { defaultTranslations } from \"./NotificationService\";\nimport { deepMerge, generateID } from \"../../../util/helper\";\nimport { DeepPartial } from \"../../../interfaces\";\nimport { useAlert } from \"../Alert/useAlert\";\n\ninterface NotificationState {\n notifications: Notification<ErrorNotification | SuccessNotification>[];\n}\n\nexport interface NotificationAction {\n type: \"add\" | \"remove\" | \"handled\" | \"reset\";\n payload?: Notification<ErrorNotification | SuccessNotification> & {\n id?: string;\n handled?: boolean;\n };\n}\n\nconst initialState: NotificationState = {\n notifications: []\n};\n\nexport interface NotificationHandlerProps {\n translations?: DeepPartial<Translations>;\n dispatchFn: React.Dispatch<NotificationAction>;\n}\n\nexport const NotificationHandler = ({\n translations = {},\n dispatchFn\n}: NotificationHandlerProps) => {\n const { enqueueErrorAlert, enqueueSuccessAlert } = useAlert();\n const {\n state: { notifications }\n } = useNotificationContext();\n\n const mergedTranslations = deepMerge<Translations>(defaultTranslations, translations);\n\n const determineNotificationMessage = (notification: Notification<ErrorNotification>) => {\n if (notification.message) {\n return notification.message;\n }\n\n switch (notification.status) {\n case 500:\n return mergedTranslations.messages.general;\n case 400:\n return mergedTranslations.messages.badRequest;\n case 401:\n return mergedTranslations.messages.unauthorized;\n case 403:\n return mergedTranslations.messages.forbidden;\n case 404:\n return mergedTranslations.messages.notFound;\n case 502:\n case 503:\n return mergedTranslations.messages.unavailable;\n case 504:\n return mergedTranslations.messages.timeout;\n default:\n return mergedTranslations.messages.general;\n }\n };\n\n useEffect(() => {\n notifications.forEach(notification => {\n if (\n notification.status &&\n notification.handled &&\n (notification.status === 401 || notification.status === 403)\n ) {\n dispatchFn({ type: \"remove\", payload: { id: notification.id } });\n } else if (notification.status && !notification.handled && notification.type === \"error\") {\n enqueueErrorAlert({\n title: notification.title ?? mergedTranslations.general.error,\n content: determineNotificationMessage(notification as Notification<ErrorNotification>),\n onClose: () => dispatchFn({ type: \"remove\", payload: { id: notification.id } })\n });\n dispatchFn({ type: \"handled\", payload: { id: notification.id, handled: true } });\n } else if (notification.title && !notification.handled && notification.type === \"success\") {\n enqueueSuccessAlert({\n title: notification.title ?? mergedTranslations.general.success,\n content: notification.message,\n onClose: () => dispatchFn({ type: \"remove\", payload: { id: notification.id } })\n });\n\n dispatchFn({ type: \"handled\", payload: { id: notification.id, handled: true } });\n }\n });\n }, [notifications.length]);\n\n return null;\n};\n\nexport const NotificationContext = createContext<{\n state: NotificationState;\n dispatch: React.Dispatch<NotificationAction>;\n}>({\n state: initialState,\n dispatch: () => undefined\n});\n\nexport interface Props {\n children?: ReactNode;\n translations?: DeepPartial<Translations>;\n}\n\nexport const NotificationProvider = ({ children, translations }: Props) => {\n const [state, dispatch] = useReducer(notificationReducer, initialState);\n\n return (\n <NotificationContext.Provider value={{ state, dispatch }}>\n {children}\n <NotificationHandler translations={translations} dispatchFn={dispatch} />\n </NotificationContext.Provider>\n );\n};\n\nexport const useNotificationContext = () => {\n const ctx = useContext(NotificationContext);\n\n const addNotification = useCallback(\n (notification: AddNotification) => {\n ctx.dispatch({ type: \"add\", payload: notification });\n },\n [ctx]\n );\n\n const removeNotification = useCallback(\n (id: string) => {\n ctx.dispatch({ type: \"remove\", payload: { id } });\n },\n [ctx]\n );\n\n const resetNotifications = useCallback(() => {\n ctx.dispatch({ type: \"reset\" });\n }, [ctx]);\n\n return {\n state: ctx.state,\n addNotification,\n removeNotification,\n resetNotifications\n };\n};\n\nexport const notificationReducer = (\n state: NotificationState,\n action: NotificationAction\n): NotificationState => {\n switch (action.type) {\n case \"add\":\n return {\n ...state,\n notifications: [\n ...state.notifications,\n {\n ...action.payload,\n id: generateID(),\n handled: false\n }\n ]\n };\n case \"remove\":\n return {\n ...state,\n notifications: state.notifications.filter(\n notification => notification.id !== action.payload?.id\n )\n };\n case \"handled\":\n return {\n ...state,\n notifications: state.notifications.map(notification =>\n notification.id === action.payload?.id ? { ...notification, handled: true } : notification\n )\n };\n case \"reset\":\n return {\n ...state,\n notifications: []\n };\n default:\n return state;\n }\n};\n"],"names":[],"mappings":";;;;AAgDA,MAAM,eAAkC;AAAA,EACtC,eAAe,CAAA;AACjB;AAOO,MAAM,sBAAsB,CAAC;AAAA,EAClC,eAAe,CAAC;AAAA,EAChB;AACF,MAAgC;AAC9B,QAAM,EAAE,mBAAmB,oBAAoB,IAAI,SAAS;AACtD,QAAA;AAAA,IACJ,OAAO,EAAE,cAAc;AAAA,MACrB,uBAAuB;AAErB,QAAA,qBAAqB,UAAwB,qBAAqB,YAAY;AAE9E,QAAA,+BAA+B,CAAC,iBAAkD;AACtF,QAAI,aAAa,SAAS;AACxB,aAAO,aAAa;AAAA,IAAA;AAGtB,YAAQ,aAAa,QAAQ;AAAA,MAC3B,KAAK;AACH,eAAO,mBAAmB,SAAS;AAAA,MACrC,KAAK;AACH,eAAO,mBAAmB,SAAS;AAAA,MACrC,KAAK;AACH,eAAO,mBAAmB,SAAS;AAAA,MACrC,KAAK;AACH,eAAO,mBAAmB,SAAS;AAAA,MACrC,KAAK;AACH,eAAO,mBAAmB,SAAS;AAAA,MACrC,KAAK;AAAA,MACL,KAAK;AACH,eAAO,mBAAmB,SAAS;AAAA,MACrC,KAAK;AACH,eAAO,mBAAmB,SAAS;AAAA,MACrC;AACE,eAAO,mBAAmB,SAAS;AAAA,IAAA;AAAA,EAEzC;AAEA,YAAU,MAAM;AACd,kBAAc,QAAQ,CAAgB,iBAAA;AAElC,UAAA,aAAa,UACb,aAAa,YACZ,aAAa,WAAW,OAAO,aAAa,WAAW,MACxD;AACW,mBAAA,EAAE,MAAM,UAAU,SAAS,EAAE,IAAI,aAAa,GAAG,GAAG;AAAA,MAAA,WACtD,aAAa,UAAU,CAAC,aAAa,WAAW,aAAa,SAAS,SAAS;AACtE,0BAAA;AAAA,UAChB,OAAO,aAAa,SAAS,mBAAmB,QAAQ;AAAA,UACxD,SAAS,6BAA6B,YAA+C;AAAA,UACrF,SAAS,MAAM,WAAW,EAAE,MAAM,UAAU,SAAS,EAAE,IAAI,aAAa,KAAM,CAAA;AAAA,QAAA,CAC/E;AACU,mBAAA,EAAE,MAAM,WAAW,SAAS,EAAE,IAAI,aAAa,IAAI,SAAS,KAAK,EAAA,CAAG;AAAA,MAAA,WACtE,aAAa,SAAS,CAAC,aAAa,WAAW,aAAa,SAAS,WAAW;AACrE,4BAAA;AAAA,UAClB,OAAO,aAAa,SAAS,mBAAmB,QAAQ;AAAA,UACxD,SAAS,aAAa;AAAA,UACtB,SAAS,MAAM,WAAW,EAAE,MAAM,UAAU,SAAS,EAAE,IAAI,aAAa,KAAM,CAAA;AAAA,QAAA,CAC/E;AAEU,mBAAA,EAAE,MAAM,WAAW,SAAS,EAAE,IAAI,aAAa,IAAI,SAAS,KAAK,EAAA,CAAG;AAAA,MAAA;AAAA,IACjF,CACD;AAAA,EAAA,GACA,CAAC,cAAc,MAAM,CAAC;AAElB,SAAA;AACT;AAEO,MAAM,sBAAsB,cAGhC;AAAA,EACD,OAAO;AAAA,EACP,UAAU,MAAM;AAClB,CAAC;AAOM,MAAM,uBAAuB,CAAC,EAAE,UAAU,mBAA0B;AACzE,QAAM,CAAC,OAAO,QAAQ,IAAI,WAAW,qBAAqB,YAAY;AAEtE,SACG,sBAAA,cAAA,oBAAoB,UAApB,EAA6B,OAAO,EAAE,OAAO,SAAS,EAAA,GACpD,UACA,sBAAA,cAAA,qBAAA,EAAoB,cAA4B,YAAY,UAAU,CACzE;AAEJ;AAEO,MAAM,yBAAyB,MAAM;AACpC,QAAA,MAAM,WAAW,mBAAmB;AAE1C,QAAM,kBAAkB;AAAA,IACtB,CAAC,iBAAkC;AACjC,UAAI,SAAS,EAAE,MAAM,OAAO,SAAS,cAAc;AAAA,IACrD;AAAA,IACA,CAAC,GAAG;AAAA,EACN;AAEA,QAAM,qBAAqB;AAAA,IACzB,CAAC,OAAe;AACV,UAAA,SAAS,EAAE,MAAM,UAAU,SAAS,EAAE,GAAA,GAAM;AAAA,IAClD;AAAA,IACA,CAAC,GAAG;AAAA,EACN;AAEM,QAAA,qBAAqB,YAAY,MAAM;AAC3C,QAAI,SAAS,EAAE,MAAM,QAAA,CAAS;AAAA,EAAA,GAC7B,CAAC,GAAG,CAAC;AAED,SAAA;AAAA,IACL,OAAO,IAAI;AAAA,IACX;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF;AAEa,MAAA,sBAAsB,CACjC,OACA,WACsB;AACtB,UAAQ,OAAO,MAAM;AAAA,IACnB,KAAK;AACI,aAAA;AAAA,QACL,GAAG;AAAA,QACH,eAAe;AAAA,UACb,GAAG,MAAM;AAAA,UACT;AAAA,YACE,GAAG,OAAO;AAAA,YACV,IAAI,WAAW;AAAA,YACf,SAAS;AAAA,UAAA;AAAA,QACX;AAAA,MAEJ;AAAA,IACF,KAAK;AACI,aAAA;AAAA,QACL,GAAG;AAAA,QACH,eAAe,MAAM,cAAc;AAAA,UACjC,CAAgB,iBAAA;;AAAA,gCAAa,SAAO,YAAO,YAAP,mBAAgB;AAAA;AAAA,QAAA;AAAA,MAExD;AAAA,IACF,KAAK;AACI,aAAA;AAAA,QACL,GAAG;AAAA,QACH,eAAe,MAAM,cAAc;AAAA,UAAI,CAAA,iBACrC;;AAAA,gCAAa,SAAO,YAAO,YAAP,mBAAgB,MAAK,EAAE,GAAG,cAAc,SAAS,KAAA,IAAS;AAAA;AAAA,QAAA;AAAA,MAElF;AAAA,IACF,KAAK;AACI,aAAA;AAAA,QACL,GAAG;AAAA,QACH,eAAe,CAAA;AAAA,MACjB;AAAA,IACF;AACS,aAAA;AAAA,EAAA;AAEb;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),exports.defaultTranslations={general:{error:"Error",success:"Success"},messages:{general:"Something went wrong. Please try again later.",badRequest:"Bad request",unauthorized:"You are not authorized to perform this action.",forbidden:"You are not allowed to perform this action.",notFound:"The requested resource could not be found.",timeout:"The request timed out.",unavailable:"The server is currently unavailable. Please try again later."}};
|
|
2
|
-
//# sourceMappingURL=NotificationService.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationService.cjs.js","sources":["../../../../src/components/Notifications/NotificationProvider/NotificationService.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\nimport { Translations } from \"./notification.interfaces\";\n\nexport const defaultTranslations: Translations = {\n general: {\n error: \"Error\",\n success: \"Success\"\n },\n messages: {\n general: \"Something went wrong. Please try again later.\",\n badRequest: \"Bad request\",\n unauthorized: \"You are not authorized to perform this action.\",\n forbidden: \"You are not allowed to perform this action.\",\n notFound: \"The requested resource could not be found.\",\n timeout: \"The request timed out.\",\n unavailable: \"The server is currently unavailable. Please try again later.\"\n }\n};\n"],"names":["general","error","success","messages","badRequest","unauthorized","forbidden","notFound","timeout","unavailable"],"mappings":"4GAkBiD,CAC/CA,QAAS,CACPC,MAAO,QACPC,QAAS,WAEXC,SAAU,CACRH,QAAS,gDACTI,WAAY,cACZC,aAAc,iDACdC,UAAW,8CACXC,SAAU,6CACVC,QAAS,yBACTC,YAAa"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
const defaultTranslations = {
|
|
2
|
-
general: {
|
|
3
|
-
error: "Error",
|
|
4
|
-
success: "Success"
|
|
5
|
-
},
|
|
6
|
-
messages: {
|
|
7
|
-
general: "Something went wrong. Please try again later.",
|
|
8
|
-
badRequest: "Bad request",
|
|
9
|
-
unauthorized: "You are not authorized to perform this action.",
|
|
10
|
-
forbidden: "You are not allowed to perform this action.",
|
|
11
|
-
notFound: "The requested resource could not be found.",
|
|
12
|
-
timeout: "The request timed out.",
|
|
13
|
-
unavailable: "The server is currently unavailable. Please try again later."
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
export {
|
|
17
|
-
defaultTranslations
|
|
18
|
-
};
|
|
19
|
-
//# sourceMappingURL=NotificationService.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationService.es.js","sources":["../../../../src/components/Notifications/NotificationProvider/NotificationService.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\nimport { Translations } from \"./notification.interfaces\";\n\nexport const defaultTranslations: Translations = {\n general: {\n error: \"Error\",\n success: \"Success\"\n },\n messages: {\n general: \"Something went wrong. Please try again later.\",\n badRequest: \"Bad request\",\n unauthorized: \"You are not authorized to perform this action.\",\n forbidden: \"You are not allowed to perform this action.\",\n notFound: \"The requested resource could not be found.\",\n timeout: \"The request timed out.\",\n unavailable: \"The server is currently unavailable. Please try again later.\"\n }\n};\n"],"names":[],"mappings":"AAkBO,MAAM,sBAAoC;AAAA,EAC/C,SAAS;AAAA,IACP,OAAO;AAAA,IACP,SAAS;AAAA,EACX;AAAA,EACA,UAAU;AAAA,IACR,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,WAAW;AAAA,IACX,UAAU;AAAA,IACV,SAAS;AAAA,IACT,aAAa;AAAA,EAAA;AAEjB;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),t=require("./SideSheet.module.scss.cjs.js"),a=require("../../Button/IconButton.cjs.js"),n=require("../../Icon/Icon.cjs.js"),l=require("../BaseModal/BaseModal.cjs.js"),s=e.forwardRef((({children:s,id:o,open:r,handleButtonProps:d,...c},i)=>{const[u,m]=e.useState("hide"),[h,f]=e.useState(!1),p=e.useRef(null),S=(null==d?void 0:d.title)??"Side sheet handle",E={width:"1.5rem",height:"3.5rem",borderTopLeftRadius:"4px",borderBottomLeftRadius:"4px"},B=e.useCallback((e=>{e.target===p.current&&(m((e=>e?"":"hide")),!r&&h&&f(!1))}),[r]);return e.useEffect((()=>{r&&f(r)}),[r]),e.createElement(e.Fragment,null,d&&!r&&e.createElement("div",{className:t.default["collapsed-sheet"]},e.createElement("div",{className:t.default.handle},e.createElement(a.IconButton,{style:E,className:t.default["handle-button"],onClick:d.onOpen,title:S},e.createElement(n.Icon,{size:"0.9rem",icon:n.Icons.SideSheetHandle})))),e.createElement(l.BaseModal,{...c,id:o,open:h,className:`${t.default["slide-in-modal"]} ${r?t.default.visible:""} ${r?"":t.default[u]}`,containerProps:{className:t.default.container},hideBackdrop:!0,onTransitionEnd:B,ref:i??p},d&&e.createElement("div",{className:t.default.handle},e.createElement(a.IconButton,{style:E,title:S,onClick:d.onClose},e.createElement(n.Icon,{size:"0.9rem",icon:n.Icons.SideSheetHandle}))),s))}));exports.SideSheet=s;
|
|
2
|
-
//# sourceMappingURL=SideSheet.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SideSheet.cjs.js","sources":["../../../../src/components/Notifications/SideSheet/SideSheet.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 TransitionEventHandler,\n useState,\n useRef,\n useCallback,\n useEffect\n} from \"react\";\nimport { Props as ModalProps, Modal } from \"../Modal/Modal\";\nimport classes from \"./SideSheet.module.scss\";\nimport { IconButton } from \"../../Button/IconButton\";\nimport { Icon, Icons } from \"../../Icon/Icon\";\n\nexport interface Props extends Omit<ModalProps, \"hideBackdrop\" | \"disableBackdrop\"> {\n handleButtonProps?: {\n onOpen: () => void;\n onClose: () => void;\n title?: string;\n };\n}\n\nconst SideSheetComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { children, id, open, handleButtonProps, ...rest }: Props,\n ref\n) => {\n const [classHideOnTransition, setClassHideOnTransition] = useState<string>(\"hide\");\n const [controlledOpen, setControlledOpen] = useState(false);\n const containerRef = useRef(null);\n const handleTitle = handleButtonProps?.title ?? \"Side sheet handle\";\n const handleButtonStyle = {\n width: \"1.5rem\",\n height: \"3.5rem\",\n borderTopLeftRadius: \"4px\",\n borderBottomLeftRadius: \"4px\"\n };\n\n const onTransitionEnd: TransitionEventHandler<HTMLDivElement> = useCallback(\n e => {\n if (e.target === containerRef.current) {\n setClassHideOnTransition(prev => (prev ? \"\" : \"hide\"));\n if (!open && controlledOpen) {\n setControlledOpen(false);\n }\n }\n },\n [open]\n );\n\n useEffect(() => {\n open && setControlledOpen(open);\n }, [open]);\n\n return (\n <>\n {handleButtonProps && !open && (\n <div className={classes[\"collapsed-sheet\"]}>\n <div className={classes[\"handle\"]}>\n <IconButton\n style={handleButtonStyle}\n className={classes[\"handle-button\"]}\n onClick={handleButtonProps.onOpen}\n title={handleTitle}\n >\n <Icon size=\"0.9rem\" icon={Icons.SideSheetHandle} />\n </IconButton>\n </div>\n </div>\n )}\n <Modal\n {...rest}\n id={id}\n open={controlledOpen}\n className={`${classes[\"slide-in-modal\"]} ${open ? classes[\"visible\"] : \"\"} ${\n !open ? classes[classHideOnTransition] : \"\"\n }`}\n containerProps={{ className: classes[\"container\"] }}\n hideBackdrop={true}\n onTransitionEnd={onTransitionEnd}\n ref={ref ?? containerRef}\n >\n {handleButtonProps && (\n <div className={classes[\"handle\"]}>\n <IconButton\n style={handleButtonStyle}\n title={handleTitle}\n onClick={handleButtonProps.onClose}\n >\n <Icon size=\"0.9rem\" icon={Icons.SideSheetHandle} />\n </IconButton>\n </div>\n )}\n {children}\n </Modal>\n </>\n );\n};\n\nexport const SideSheet = React.forwardRef(SideSheetComponent);\n"],"names":["SideSheet","React","forwardRef","children","id","open","handleButtonProps","rest","ref","classHideOnTransition","setClassHideOnTransition","useState","controlledOpen","setControlledOpen","containerRef","useRef","handleTitle","title","handleButtonStyle","width","height","borderTopLeftRadius","borderBottomLeftRadius","onTransitionEnd","useCallback","e","target","current","prev","useEffect","createElement","Fragment","className","classes","default","IconButton","style","onClick","onOpen","Icon","size","icon","Icons","SideSheetHandle","Modal","BaseModal","containerProps","hideBackdrop","onClose"],"mappings":"gRAiHaA,EAAYC,EAAMC,YA5E6C,EACxEC,WAAUC,KAAIC,OAAMC,uBAAsBC,GAC5CC,KAEA,MAAOC,EAAuBC,GAA4BC,EAAAA,SAAiB,SACpEC,EAAgBC,GAAqBF,EAAAA,UAAS,GAC/CG,EAAeC,SAAO,MACtBC,SAAcV,WAAmBW,QAAS,oBAC1CC,EAAoB,CACxBC,MAAO,SACPC,OAAQ,SACRC,oBAAqB,MACrBC,uBAAwB,OAGpBC,EAA0DC,EAAAA,aACzDC,IACCA,EAAEC,SAAWZ,EAAaa,UACHjB,GAAAkB,GAASA,EAAO,GAAK,UACzCvB,GAAQO,GACXC,GAAkB,GACpB,GAGJ,CAACR,IAOH,OAJAwB,EAAAA,WAAU,KACRxB,GAAQQ,EAAkBR,EAAI,GAC7B,CAACA,IAICJ,EAAA6B,cAAA7B,EAAA8B,SAAA,KAAAzB,IAAsBD,mBACpB,MAAI,CAAA2B,UAAWC,EAAQC,QAAA,oBACrBjC,EAAA6B,cAAA,MAAA,CAAIE,UAAWC,UAAgB,QAC9BhC,EAAA6B,cAACK,EAAAA,WAAA,CACCC,MAAOlB,EACPc,UAAWC,UAAQ,iBACnBI,QAAS/B,EAAkBgC,OAC3BrB,MAAOD,mBAENuB,EAAAA,KAAK,CAAAC,KAAK,SAASC,KAAMC,QAAMC,qBAKxC1C,EAAA6B,cAACc,EAAAC,UAAA,IACKtC,EACJH,KACAC,KAAMO,EACNoB,UAAW,GAAGC,UAAQ,qBAAqB5B,EAAO4B,UAAiB,QAAI,MACpE5B,EAAwC,GAAjC4B,EAAQC,QAAAzB,KAElBqC,eAAgB,CAAEd,UAAWC,EAAAC,QAAmB,WAChDa,cAAc,EACdxB,kBACAf,IAAKA,GAAOM,GAEXR,GACEL,EAAA6B,cAAA,MAAA,CAAIE,UAAWC,EAAAA,QAAgB,QAC9BhC,EAAA6B,cAACK,EAAAA,WAAA,CACCC,MAAOlB,EACPD,MAAOD,EACPqB,QAAS/B,EAAkB0C,yBAE1BT,EAAAA,KAAK,CAAAC,KAAK,SAASC,KAAMC,QAAMC,oBAIrCxC,GAEL"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import React, { useState, useRef, useCallback, useEffect } from "react";
|
|
2
|
-
import classes from "./SideSheet.module.scss.es.js";
|
|
3
|
-
import { IconButton } from "../../Button/IconButton.es.js";
|
|
4
|
-
import { Icon, Icons } from "../../Icon/Icon.es.js";
|
|
5
|
-
import { BaseModal } from "../BaseModal/BaseModal.es.js";
|
|
6
|
-
const SideSheetComponent = ({ children, id, open, handleButtonProps, ...rest }, ref) => {
|
|
7
|
-
const [classHideOnTransition, setClassHideOnTransition] = useState("hide");
|
|
8
|
-
const [controlledOpen, setControlledOpen] = useState(false);
|
|
9
|
-
const containerRef = useRef(null);
|
|
10
|
-
const handleTitle = (handleButtonProps == null ? void 0 : handleButtonProps.title) ?? "Side sheet handle";
|
|
11
|
-
const handleButtonStyle = {
|
|
12
|
-
width: "1.5rem",
|
|
13
|
-
height: "3.5rem",
|
|
14
|
-
borderTopLeftRadius: "4px",
|
|
15
|
-
borderBottomLeftRadius: "4px"
|
|
16
|
-
};
|
|
17
|
-
const onTransitionEnd = useCallback(
|
|
18
|
-
(e) => {
|
|
19
|
-
if (e.target === containerRef.current) {
|
|
20
|
-
setClassHideOnTransition((prev) => prev ? "" : "hide");
|
|
21
|
-
if (!open && controlledOpen) {
|
|
22
|
-
setControlledOpen(false);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
[open]
|
|
27
|
-
);
|
|
28
|
-
useEffect(() => {
|
|
29
|
-
open && setControlledOpen(open);
|
|
30
|
-
}, [open]);
|
|
31
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, handleButtonProps && !open && /* @__PURE__ */ React.createElement("div", { className: classes["collapsed-sheet"] }, /* @__PURE__ */ React.createElement("div", { className: classes["handle"] }, /* @__PURE__ */ React.createElement(
|
|
32
|
-
IconButton,
|
|
33
|
-
{
|
|
34
|
-
style: handleButtonStyle,
|
|
35
|
-
className: classes["handle-button"],
|
|
36
|
-
onClick: handleButtonProps.onOpen,
|
|
37
|
-
title: handleTitle
|
|
38
|
-
},
|
|
39
|
-
/* @__PURE__ */ React.createElement(Icon, { size: "0.9rem", icon: Icons.SideSheetHandle })
|
|
40
|
-
))), /* @__PURE__ */ React.createElement(
|
|
41
|
-
BaseModal,
|
|
42
|
-
{
|
|
43
|
-
...rest,
|
|
44
|
-
id,
|
|
45
|
-
open: controlledOpen,
|
|
46
|
-
className: `${classes["slide-in-modal"]} ${open ? classes["visible"] : ""} ${!open ? classes[classHideOnTransition] : ""}`,
|
|
47
|
-
containerProps: { className: classes["container"] },
|
|
48
|
-
hideBackdrop: true,
|
|
49
|
-
onTransitionEnd,
|
|
50
|
-
ref: ref ?? containerRef
|
|
51
|
-
},
|
|
52
|
-
handleButtonProps && /* @__PURE__ */ React.createElement("div", { className: classes["handle"] }, /* @__PURE__ */ React.createElement(
|
|
53
|
-
IconButton,
|
|
54
|
-
{
|
|
55
|
-
style: handleButtonStyle,
|
|
56
|
-
title: handleTitle,
|
|
57
|
-
onClick: handleButtonProps.onClose
|
|
58
|
-
},
|
|
59
|
-
/* @__PURE__ */ React.createElement(Icon, { size: "0.9rem", icon: Icons.SideSheetHandle })
|
|
60
|
-
)),
|
|
61
|
-
children
|
|
62
|
-
));
|
|
63
|
-
};
|
|
64
|
-
const SideSheet = React.forwardRef(SideSheetComponent);
|
|
65
|
-
export {
|
|
66
|
-
SideSheet
|
|
67
|
-
};
|
|
68
|
-
//# sourceMappingURL=SideSheet.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SideSheet.es.js","sources":["../../../../src/components/Notifications/SideSheet/SideSheet.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 TransitionEventHandler,\n useState,\n useRef,\n useCallback,\n useEffect\n} from \"react\";\nimport { Props as ModalProps, Modal } from \"../Modal/Modal\";\nimport classes from \"./SideSheet.module.scss\";\nimport { IconButton } from \"../../Button/IconButton\";\nimport { Icon, Icons } from \"../../Icon/Icon\";\n\nexport interface Props extends Omit<ModalProps, \"hideBackdrop\" | \"disableBackdrop\"> {\n handleButtonProps?: {\n onOpen: () => void;\n onClose: () => void;\n title?: string;\n };\n}\n\nconst SideSheetComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { children, id, open, handleButtonProps, ...rest }: Props,\n ref\n) => {\n const [classHideOnTransition, setClassHideOnTransition] = useState<string>(\"hide\");\n const [controlledOpen, setControlledOpen] = useState(false);\n const containerRef = useRef(null);\n const handleTitle = handleButtonProps?.title ?? \"Side sheet handle\";\n const handleButtonStyle = {\n width: \"1.5rem\",\n height: \"3.5rem\",\n borderTopLeftRadius: \"4px\",\n borderBottomLeftRadius: \"4px\"\n };\n\n const onTransitionEnd: TransitionEventHandler<HTMLDivElement> = useCallback(\n e => {\n if (e.target === containerRef.current) {\n setClassHideOnTransition(prev => (prev ? \"\" : \"hide\"));\n if (!open && controlledOpen) {\n setControlledOpen(false);\n }\n }\n },\n [open]\n );\n\n useEffect(() => {\n open && setControlledOpen(open);\n }, [open]);\n\n return (\n <>\n {handleButtonProps && !open && (\n <div className={classes[\"collapsed-sheet\"]}>\n <div className={classes[\"handle\"]}>\n <IconButton\n style={handleButtonStyle}\n className={classes[\"handle-button\"]}\n onClick={handleButtonProps.onOpen}\n title={handleTitle}\n >\n <Icon size=\"0.9rem\" icon={Icons.SideSheetHandle} />\n </IconButton>\n </div>\n </div>\n )}\n <Modal\n {...rest}\n id={id}\n open={controlledOpen}\n className={`${classes[\"slide-in-modal\"]} ${open ? classes[\"visible\"] : \"\"} ${\n !open ? classes[classHideOnTransition] : \"\"\n }`}\n containerProps={{ className: classes[\"container\"] }}\n hideBackdrop={true}\n onTransitionEnd={onTransitionEnd}\n ref={ref ?? containerRef}\n >\n {handleButtonProps && (\n <div className={classes[\"handle\"]}>\n <IconButton\n style={handleButtonStyle}\n title={handleTitle}\n onClick={handleButtonProps.onClose}\n >\n <Icon size=\"0.9rem\" icon={Icons.SideSheetHandle} />\n </IconButton>\n </div>\n )}\n {children}\n </Modal>\n </>\n );\n};\n\nexport const SideSheet = React.forwardRef(SideSheetComponent);\n"],"names":["Modal"],"mappings":";;;;;AAqCA,MAAM,qBAAsE,CAC1E,EAAE,UAAU,IAAI,MAAM,mBAAmB,GAAG,KAAK,GACjD,QACG;AACH,QAAM,CAAC,uBAAuB,wBAAwB,IAAI,SAAiB,MAAM;AACjF,QAAM,CAAC,gBAAgB,iBAAiB,IAAI,SAAS,KAAK;AACpD,QAAA,eAAe,OAAO,IAAI;AAC1B,QAAA,eAAc,uDAAmB,UAAS;AAChD,QAAM,oBAAoB;AAAA,IACxB,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,qBAAqB;AAAA,IACrB,wBAAwB;AAAA,EAC1B;AAEA,QAAM,kBAA0D;AAAA,IAC9D,CAAK,MAAA;AACC,UAAA,EAAE,WAAW,aAAa,SAAS;AACZ,iCAAA,CAAA,SAAS,OAAO,KAAK,MAAO;AACjD,YAAA,CAAC,QAAQ,gBAAgB;AAC3B,4BAAkB,KAAK;AAAA,QAAA;AAAA,MACzB;AAAA,IAEJ;AAAA,IACA,CAAC,IAAI;AAAA,EACP;AAEA,YAAU,MAAM;AACd,YAAQ,kBAAkB,IAAI;AAAA,EAAA,GAC7B,CAAC,IAAI,CAAC;AAET,SAEK,sBAAA,cAAA,MAAA,UAAA,MAAA,qBAAqB,CAAC,4CACpB,OAAI,EAAA,WAAW,QAAQ,iBAAiB,KACtC,sBAAA,cAAA,OAAA,EAAI,WAAW,QAAQ,QAAQ,EAC9B,GAAA,sBAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,OAAO;AAAA,MACP,WAAW,QAAQ,eAAe;AAAA,MAClC,SAAS,kBAAkB;AAAA,MAC3B,OAAO;AAAA,IAAA;AAAA,wCAEN,MAAK,EAAA,MAAK,UAAS,MAAM,MAAM,gBAAiB,CAAA;AAAA,EAAA,CAErD,CACF,GAEF,sBAAA;AAAA,IAACA;AAAAA,IAAA;AAAA,MACE,GAAG;AAAA,MACJ;AAAA,MACA,MAAM;AAAA,MACN,WAAW,GAAG,QAAQ,gBAAgB,CAAC,IAAI,OAAO,QAAQ,SAAS,IAAI,EAAE,IACvE,CAAC,OAAO,QAAQ,qBAAqB,IAAI,EAC3C;AAAA,MACA,gBAAgB,EAAE,WAAW,QAAQ,WAAW,EAAE;AAAA,MAClD,cAAc;AAAA,MACd;AAAA,MACA,KAAK,OAAO;AAAA,IAAA;AAAA,IAEX,qBACE,sBAAA,cAAA,OAAA,EAAI,WAAW,QAAQ,QAAQ,KAC9B,sBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,OAAO;AAAA,QACP,OAAO;AAAA,QACP,SAAS,kBAAkB;AAAA,MAAA;AAAA,0CAE1B,MAAK,EAAA,MAAK,UAAS,MAAM,MAAM,gBAAiB,CAAA;AAAA,IAAA,CAErD;AAAA,IAED;AAAA,EAAA,CAEL;AAEJ;AAEa,MAAA,YAAY,MAAM,WAAW,kBAAkB;"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.SideSheet_sr-only_uJyTX{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.SideSheet_hidden_uJyTX{display:none}.SideSheet_slide-in_uJyTX{animation:SideSheet_slide-in_uJyTX .5s forwards}@media (prefers-reduced-motion: reduce){.SideSheet_slide-in_uJyTX{animation-duration:.1ms}}.SideSheet_slide-out_uJyTX{animation:SideSheet_slide-out_uJyTX .5s forwards}@media (prefers-reduced-motion: reduce){.SideSheet_slide-out_uJyTX{animation-duration:.1ms}}@keyframes SideSheet_slide-in_uJyTX{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes SideSheet_slide-out_uJyTX{0%{transform:translateY(0)}to{transform:translateY(100vh)}}/*!\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 */.SideSheet_slide-in-modal_uJyTX{right:0;left:auto;justify-content:flex-end;min-width:25rem;width:33vw;max-width:40rem;visibility:visible;transform:translate(calc(100% - .5rem));transition-property:transform;transition-duration:.5s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion: reduce){.SideSheet_slide-in-modal_uJyTX{transition-duration:.1ms}}.SideSheet_slide-in-modal_uJyTX.SideSheet_hide_uJyTX{visibility:hidden}.SideSheet_slide-in-modal_uJyTX.SideSheet_visible_uJyTX{visibility:visible;transform:translate(0)}.SideSheet_slide-in-modal_uJyTX.SideSheet_visible_uJyTX #SideSheet_backdrop-slide_uJyTX{background-color:transparent}.SideSheet_handle_uJyTX{position:absolute;top:13.25rem;left:calc(-1.5 * var(--font-size));display:flex;align-items:center;justify-content:center;width:1.5rem;height:2.5rem;padding:.5rem 0;border-top-left-radius:4px;border-bottom-left-radius:4px;background-color:var(--modal-background-color);box-shadow:-4px 4px 5px 0 var(--side-sheet-shadow-color-one),-4px 3px 14px 0 var(--side-sheet-shadow-color-two),-4px 8px 10px 0 var(--side-sheet-shadow-color-two)}.SideSheet_handle-button_uJyTX{transform:rotateY(180deg)}.SideSheet_collapsed-sheet_uJyTX{position:absolute;top:0;right:0;width:.5rem;height:100vh;background-color:var(--modal-background-color);box-shadow:0 4px 5px 0 var(--side-sheet-shadow-color-one),0 3px 14px 0 var(--side-sheet-shadow-color-two),0 8px 10px 0 var(--side-sheet-shadow-color-two)}.SideSheet_container_uJyTX{margin-top:0;width:50rem;height:100%;max-height:unset;border-radius:0;box-shadow:0 4px 5px 0 var(--side-sheet-shadow-color-one),0 3px 14px 0 var(--side-sheet-shadow-color-two),0 8px 10px 0 var(--side-sheet-shadow-color-two)}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
|
|
2
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="SideSheet_hidden_uJyTX",d="SideSheet_hide_uJyTX",i="SideSheet_visible_uJyTX",t="SideSheet_handle_uJyTX",l="SideSheet_container_uJyTX",s={"sr-only":"SideSheet_sr-only_uJyTX",hidden:e,"slide-in":"SideSheet_slide-in_uJyTX","slide-out":"SideSheet_slide-out_uJyTX","slide-in-modal":"SideSheet_slide-in-modal_uJyTX",hide:d,visible:i,"backdrop-slide":"SideSheet_backdrop-slide_uJyTX",handle:t,"handle-button":"SideSheet_handle-button_uJyTX","collapsed-sheet":"SideSheet_collapsed-sheet_uJyTX",container:l};exports.container=l,exports.default=s,exports.handle=t,exports.hidden=e,exports.hide=d,exports.visible=i;
|
|
3
|
-
//# sourceMappingURL=SideSheet.module.scss.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SideSheet.module.scss.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|