@onewelcome/react-lib-components 12.0.2 → 12.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Breadcrumbs/Breadcrumbs.cjs.js +1 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.cjs.js.map +1 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.es.js.map +1 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.module.scss.cjs.js +2 -2
- package/dist/components/Breadcrumbs/Breadcrumbs.module.scss.es.js +5 -5
- package/dist/components/Button/BaseButton.cjs.js +1 -1
- package/dist/components/Button/BaseButton.cjs.js.map +1 -1
- package/dist/components/Button/BaseButton.es.js.map +1 -1
- package/dist/components/Button/BaseButton.module.scss.cjs.js +2 -2
- package/dist/components/Button/BaseButton.module.scss.es.js +4 -4
- package/dist/components/Button/Button.cjs.js +1 -1
- package/dist/components/Button/Button.cjs.js.map +1 -1
- package/dist/components/Button/Button.es.js.map +1 -1
- package/dist/components/Button/Button.module.scss.cjs.js +2 -2
- package/dist/components/Button/Button.module.scss.es.js +17 -17
- package/dist/components/Button/IconButton.cjs.js.map +1 -1
- package/dist/components/Button/IconButton.es.js.map +1 -1
- package/dist/components/Button/IconButton.module.scss.cjs.js +2 -2
- package/dist/components/Button/IconButton.module.scss.es.js +18 -18
- package/dist/components/Button/Spinner.cjs.js.map +1 -1
- package/dist/components/Button/Spinner.es.js.map +1 -1
- package/dist/components/ContextMenu/ContextMenu.cjs.js +1 -1
- package/dist/components/ContextMenu/ContextMenu.cjs.js.map +1 -1
- package/dist/components/ContextMenu/ContextMenu.es.js +28 -11
- package/dist/components/ContextMenu/ContextMenu.es.js.map +1 -1
- package/dist/components/ContextMenu/ContextMenu.module.scss.cjs.js +2 -2
- package/dist/components/ContextMenu/ContextMenu.module.scss.es.js +8 -5
- package/dist/components/ContextMenu/ContextMenu.module.scss.es.js.map +1 -1
- package/dist/components/ContextMenu/ContextMenuDivider.cjs.js.map +1 -1
- package/dist/components/ContextMenu/ContextMenuDivider.es.js.map +1 -1
- package/dist/components/ContextMenu/ContextMenuDivider.module.scss.cjs.js +2 -2
- package/dist/components/ContextMenu/ContextMenuDivider.module.scss.es.js +2 -2
- package/dist/components/ContextMenu/ContextMenuItem.cjs.js +1 -1
- package/dist/components/ContextMenu/ContextMenuItem.cjs.js.map +1 -1
- package/dist/components/ContextMenu/ContextMenuItem.es.js.map +1 -1
- package/dist/components/ContextMenu/ContextMenuItem.module.scss.cjs.js +2 -2
- package/dist/components/ContextMenu/ContextMenuItem.module.scss.es.js +3 -3
- package/dist/components/ContextMenu/ContextMenuService.cjs.js +1 -1
- package/dist/components/ContextMenu/ContextMenuService.cjs.js.map +1 -1
- package/dist/components/ContextMenu/ContextMenuService.es.js.map +1 -1
- package/dist/components/DataGrid/DataGrid.cjs.js +1 -1
- package/dist/components/DataGrid/DataGrid.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGrid.es.js.map +1 -1
- package/dist/components/DataGrid/DataGrid.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGrid.module.scss.es.js +6 -6
- package/dist/components/DataGrid/DataGridActions/DataGridActions.cjs.js +1 -1
- package/dist/components/DataGrid/DataGridActions/DataGridActions.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridActions/DataGridActions.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridActions/DataGridActions.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridActions/DataGridActions.module.scss.es.js +6 -6
- package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.cjs.js +1 -1
- package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.es.js +7 -7
- package/dist/components/DataGrid/DataGridBody/DataGridBody.cjs.js +1 -1
- package/dist/components/DataGrid/DataGridBody/DataGridBody.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridBody/DataGridBody.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridBody/DataGridBody.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridBody/DataGridBody.module.scss.es.js +2 -2
- package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.cjs.js +1 -1
- package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.es.js +5 -5
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.cjs.js +1 -1
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.es.js +4 -4
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.cjs.js +1 -1
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.es.js +5 -5
- package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.cjs.js +1 -1
- package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.es.js +2 -1
- package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.es.js +24 -24
- package/dist/components/DataGrid/DataGridBody/DataGridRow/useNestedRow.cjs.js +1 -1
- package/dist/components/DataGrid/DataGridBody/DataGridRow/useNestedRow.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridBody/DataGridRow/useNestedRow.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridDateFilter.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridDateFilter.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilter.cjs.js +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilter.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilter.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilter.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridFilters/DataGridFilter.module.scss.es.js +9 -9
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterPopover.cjs.js +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterPopover.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterPopover.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterService.cjs.js +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterService.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterService.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterTag.cjs.js +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterTag.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterTag.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterValueSelect.cjs.js +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterValueSelect.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterValueSelect.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilters.interfaces.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilters.interfaces.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridSearchbar.cjs.js +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridSearchbar.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridSearchbar.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.cjs.js +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.module.scss.es.js +8 -8
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbarWrapper.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbarWrapper.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.cjs.js +1 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.module.scss.es.js +17 -17
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerCalendarSection.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerCalendarSection.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerInputSection.cjs.js +1 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerInputSection.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerInputSection.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimeService.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimeService.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/SideMenu.cjs.js +1 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/SideMenu.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/SideMenu.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/FilterKeyMapper.cjs.js +1 -1
- package/dist/components/DataGrid/DataGridFilters/FilterKeyMapper.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/FilterKeyMapper.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/useFiltersReducer.cjs.js +1 -1
- package/dist/components/DataGrid/DataGridFilters/useFiltersReducer.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/useFiltersReducer.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.cjs.js +1 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.module.scss.es.js +3 -3
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.cjs.js +1 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.es.js +7 -7
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.cjs.js.map +1 -1
- package/dist/components/DatePicker/DatePicker.es.js +1 -1
- package/dist/components/DatePicker/DatePicker.es.js.map +1 -1
- package/dist/components/DatePicker/DatePicker.module.scss.cjs.js +2 -2
- package/dist/components/DatePicker/DatePicker.module.scss.es.js +31 -31
- package/dist/components/Form/Checkbox/Checkbox.cjs.js +1 -1
- package/dist/components/Form/Checkbox/Checkbox.cjs.js.map +1 -1
- package/dist/components/Form/Checkbox/Checkbox.es.js.map +1 -1
- package/dist/components/Form/Checkbox/Checkbox.module.scss.cjs.js +2 -2
- package/dist/components/Form/Checkbox/Checkbox.module.scss.es.js +13 -13
- package/dist/components/Form/Fieldset/Fieldset.cjs.js +1 -1
- package/dist/components/Form/Fieldset/Fieldset.cjs.js.map +1 -1
- package/dist/components/Form/Fieldset/Fieldset.es.js.map +1 -1
- package/dist/components/Form/Fieldset/Fieldset.module.scss.cjs.js +2 -2
- package/dist/components/Form/Fieldset/Fieldset.module.scss.es.js +5 -5
- package/dist/components/Form/FileUpload/FileItem/FileItem.cjs.js +1 -1
- package/dist/components/Form/FileUpload/FileItem/FileItem.cjs.js.map +1 -1
- package/dist/components/Form/FileUpload/FileItem/FileItem.es.js.map +1 -1
- package/dist/components/Form/FileUpload/FileItem/FileItem.module.scss.cjs.js +2 -2
- package/dist/components/Form/FileUpload/FileItem/FileItem.module.scss.es.js +18 -18
- package/dist/components/Form/FileUpload/FileUpload.cjs.js +1 -1
- package/dist/components/Form/FileUpload/FileUpload.cjs.js.map +1 -1
- package/dist/components/Form/FileUpload/FileUpload.es.js +17 -4
- package/dist/components/Form/FileUpload/FileUpload.es.js.map +1 -1
- package/dist/components/Form/FileUpload/FileUpload.module.scss.cjs.js +2 -2
- package/dist/components/Form/FileUpload/FileUpload.module.scss.es.js +16 -16
- package/dist/components/Form/Form.cjs.js +1 -1
- package/dist/components/Form/Form.cjs.js.map +1 -1
- package/dist/components/Form/Form.es.js.map +1 -1
- package/dist/components/Form/Form.module.scss.cjs.js +2 -2
- package/dist/components/Form/Form.module.scss.es.js +2 -2
- package/dist/components/Form/FormControl/FormControl.cjs.js +1 -1
- package/dist/components/Form/FormControl/FormControl.cjs.js.map +1 -1
- package/dist/components/Form/FormControl/FormControl.es.js.map +1 -1
- package/dist/components/Form/FormControl/FormControl.module.scss.cjs.js +2 -2
- package/dist/components/Form/FormControl/FormControl.module.scss.es.js +13 -13
- package/dist/components/Form/FormErrorText/FormErrorText.cjs.js.map +1 -1
- package/dist/components/Form/FormErrorText/FormErrorText.es.js.map +1 -1
- package/dist/components/Form/FormErrorText/FormErrorText.module.scss.cjs.js +2 -2
- package/dist/components/Form/FormErrorText/FormErrorText.module.scss.es.js +5 -5
- package/dist/components/Form/FormGroup/FormGroup.cjs.js +1 -1
- package/dist/components/Form/FormGroup/FormGroup.cjs.js.map +1 -1
- package/dist/components/Form/FormGroup/FormGroup.es.js.map +1 -1
- package/dist/components/Form/FormGroup/FormGroup.module.scss.cjs.js +2 -2
- package/dist/components/Form/FormGroup/FormGroup.module.scss.es.js +3 -3
- package/dist/components/Form/FormHelperText/FormHelperText.cjs.js +1 -1
- package/dist/components/Form/FormHelperText/FormHelperText.cjs.js.map +1 -1
- package/dist/components/Form/FormHelperText/FormHelperText.es.js.map +1 -1
- package/dist/components/Form/FormHelperText/FormHelperText.module.scss.cjs.js +2 -2
- package/dist/components/Form/FormHelperText/FormHelperText.module.scss.es.js +4 -4
- package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.cjs.js +1 -1
- package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.cjs.js.map +1 -1
- package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.es.js.map +1 -1
- package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.cjs.js +2 -2
- package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.es.js +6 -6
- package/dist/components/Form/FormStatusIndicator/FormStatusIndicator.cjs.js.map +1 -1
- package/dist/components/Form/FormStatusIndicator/FormStatusIndicator.es.js.map +1 -1
- package/dist/components/Form/Input/Input.cjs.js +1 -1
- package/dist/components/Form/Input/Input.cjs.js.map +1 -1
- package/dist/components/Form/Input/Input.es.js.map +1 -1
- package/dist/components/Form/Input/Input.module.scss.cjs.js +2 -2
- package/dist/components/Form/Input/Input.module.scss.es.js +9 -9
- package/dist/components/Form/Label/Label.cjs.js +1 -1
- package/dist/components/Form/Label/Label.cjs.js.map +1 -1
- package/dist/components/Form/Label/Label.es.js.map +1 -1
- package/dist/components/Form/Label/Label.module.scss.cjs.js +2 -2
- package/dist/components/Form/Label/Label.module.scss.es.js +2 -2
- package/dist/components/Form/Radio/Radio.cjs.js +1 -1
- package/dist/components/Form/Radio/Radio.cjs.js.map +1 -1
- package/dist/components/Form/Radio/Radio.es.js.map +1 -1
- package/dist/components/Form/Radio/Radio.module.scss.cjs.js +2 -2
- package/dist/components/Form/Radio/Radio.module.scss.es.js +11 -11
- package/dist/components/Form/Select/MultiSelect/MultiOption.cjs.js +1 -1
- package/dist/components/Form/Select/MultiSelect/MultiOption.cjs.js.map +1 -1
- package/dist/components/Form/Select/MultiSelect/MultiOption.es.js.map +1 -1
- package/dist/components/Form/Select/MultiSelect/MultiSelect.cjs.js +1 -1
- package/dist/components/Form/Select/MultiSelect/MultiSelect.cjs.js.map +1 -1
- package/dist/components/Form/Select/MultiSelect/MultiSelect.es.js.map +1 -1
- package/dist/components/Form/Select/MultiSelect/MultiSelect.module.scss.cjs.js +2 -2
- package/dist/components/Form/Select/MultiSelect/MultiSelect.module.scss.es.js +15 -15
- package/dist/components/Form/Select/MultiSelect/SelectButton.cjs.js +1 -1
- package/dist/components/Form/Select/MultiSelect/SelectButton.cjs.js.map +1 -1
- package/dist/components/Form/Select/MultiSelect/SelectButton.es.js.map +1 -1
- package/dist/components/Form/Select/MultiSelect/SelectButton.module.scss.cjs.js +2 -2
- package/dist/components/Form/Select/MultiSelect/SelectButton.module.scss.es.js +2 -2
- package/dist/components/Form/Select/MultiSelect/SelectedOptions.cjs.js +1 -1
- package/dist/components/Form/Select/MultiSelect/SelectedOptions.cjs.js.map +1 -1
- package/dist/components/Form/Select/MultiSelect/SelectedOptions.es.js.map +1 -1
- package/dist/components/Form/Select/MultiSelect/SelectedOptions.module.scss.cjs.js +2 -2
- package/dist/components/Form/Select/MultiSelect/SelectedOptions.module.scss.es.js +4 -4
- package/dist/components/Form/Select/MultiSelect/useArrowNavigation.cjs.js +1 -1
- package/dist/components/Form/Select/MultiSelect/useArrowNavigation.cjs.js.map +1 -1
- package/dist/components/Form/Select/MultiSelect/useArrowNavigation.es.js.map +1 -1
- package/dist/components/Form/Select/MultiSelect/useMultiSelect.cjs.js +1 -1
- package/dist/components/Form/Select/MultiSelect/useMultiSelect.cjs.js.map +1 -1
- package/dist/components/Form/Select/MultiSelect/useMultiSelect.es.js.map +1 -1
- package/dist/components/Form/Select/MultiSelect/useSearch.cjs.js +1 -1
- package/dist/components/Form/Select/MultiSelect/useSearch.cjs.js.map +1 -1
- package/dist/components/Form/Select/MultiSelect/useSearch.es.js.map +1 -1
- package/dist/components/Form/Select/Select.interfaces.cjs.js.map +1 -1
- package/dist/components/Form/Select/Select.interfaces.es.js.map +1 -1
- package/dist/components/Form/Select/SingleSelect/Option.cjs.js +1 -1
- package/dist/components/Form/Select/SingleSelect/Option.cjs.js.map +1 -1
- package/dist/components/Form/Select/SingleSelect/Option.es.js.map +1 -1
- package/dist/components/Form/Select/SingleSelect/Select.cjs.js +1 -1
- package/dist/components/Form/Select/SingleSelect/Select.cjs.js.map +1 -1
- package/dist/components/Form/Select/SingleSelect/Select.es.js.map +1 -1
- package/dist/components/Form/Select/SingleSelect/Select.module.scss.cjs.js +2 -2
- package/dist/components/Form/Select/SingleSelect/Select.module.scss.es.js +17 -17
- package/dist/components/Form/Select/SingleSelect/useArrowNavigation.cjs.js +1 -1
- package/dist/components/Form/Select/SingleSelect/useArrowNavigation.cjs.js.map +1 -1
- package/dist/components/Form/Select/SingleSelect/useArrowNavigation.es.js.map +1 -1
- package/dist/components/Form/Select/SingleSelect/useSearch.cjs.js +1 -1
- package/dist/components/Form/Select/SingleSelect/useSearch.cjs.js.map +1 -1
- package/dist/components/Form/Select/SingleSelect/useSearch.es.js.map +1 -1
- package/dist/components/Form/Select/useAddNewBtn.cjs.js +1 -1
- package/dist/components/Form/Select/useAddNewBtn.cjs.js.map +1 -1
- package/dist/components/Form/Select/useAddNewBtn.es.js.map +1 -1
- package/dist/components/Form/Select/useAddNewBtn.module.scss.cjs.js +2 -2
- package/dist/components/Form/Select/useAddNewBtn.module.scss.es.js +4 -4
- package/dist/components/Form/Select/useSelectPositionList.cjs.js +1 -1
- package/dist/components/Form/Select/useSelectPositionList.cjs.js.map +1 -1
- package/dist/components/Form/Select/useSelectPositionList.es.js.map +1 -1
- package/dist/components/Form/Textarea/Textarea.cjs.js +1 -1
- package/dist/components/Form/Textarea/Textarea.cjs.js.map +1 -1
- package/dist/components/Form/Textarea/Textarea.es.js.map +1 -1
- package/dist/components/Form/Textarea/Textarea.module.scss.cjs.js +2 -2
- package/dist/components/Form/Textarea/Textarea.module.scss.es.js +6 -6
- package/dist/components/Form/Toggle/Toggle.cjs.js +1 -1
- package/dist/components/Form/Toggle/Toggle.cjs.js.map +1 -1
- package/dist/components/Form/Toggle/Toggle.es.js.map +1 -1
- package/dist/components/Form/Toggle/Toggle.module.scss.cjs.js +2 -2
- package/dist/components/Form/Toggle/Toggle.module.scss.es.js +18 -18
- package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.cjs.js +1 -1
- package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.cjs.js.map +1 -1
- package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.es.js.map +1 -1
- package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.cjs.js +2 -2
- package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.es.js +3 -3
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.cjs.js +1 -1
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.cjs.js.map +1 -1
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.es.js.map +1 -1
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss.cjs.js +2 -2
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss.es.js +4 -4
- package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.cjs.js +1 -1
- package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.cjs.js.map +1 -1
- package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.es.js.map +1 -1
- package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.cjs.js +2 -2
- package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.es.js +3 -3
- package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.cjs.js +1 -1
- package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.cjs.js.map +1 -1
- package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.es.js.map +1 -1
- package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.cjs.js +2 -2
- package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.es.js +3 -3
- package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.cjs.js +1 -1
- package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.cjs.js.map +1 -1
- package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.es.js.map +1 -1
- package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.cjs.js +2 -2
- package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.es.js +3 -3
- package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.cjs.js +1 -1
- package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.cjs.js.map +1 -1
- package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.es.js.map +1 -1
- package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.cjs.js +2 -2
- package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.es.js +8 -8
- package/dist/components/Form/Wrapper/Wrapper/Wrapper.cjs.js +1 -1
- package/dist/components/Form/Wrapper/Wrapper/Wrapper.cjs.js.map +1 -1
- package/dist/components/Form/Wrapper/Wrapper/Wrapper.es.js.map +1 -1
- package/dist/components/Form/Wrapper/Wrapper/Wrapper.module.scss.cjs.js +2 -2
- package/dist/components/Form/Wrapper/Wrapper/Wrapper.module.scss.es.js +6 -6
- package/dist/components/Icon/Icon.cjs.js +1 -1
- package/dist/components/Icon/Icon.cjs.js.map +1 -1
- package/dist/components/Icon/Icon.es.js.map +1 -1
- package/dist/components/Icon/Icon.module.scss.cjs.js +2 -2
- package/dist/components/Icon/Icon.module.scss.es.js +107 -107
- package/dist/components/InlineEditing/InlineCheckbox/InlineCheckbox.cjs.js +1 -1
- package/dist/components/InlineEditing/InlineCheckbox/InlineCheckbox.cjs.js.map +1 -1
- package/dist/components/InlineEditing/InlineCheckbox/InlineCheckbox.es.js +11 -9
- package/dist/components/InlineEditing/InlineCheckbox/InlineCheckbox.es.js.map +1 -1
- package/dist/components/InlineEditing/InlineEditingContext.cjs.js +1 -1
- package/dist/components/InlineEditing/InlineEditingContext.cjs.js.map +1 -1
- package/dist/components/InlineEditing/InlineEditingContext.es.js +40 -2
- package/dist/components/InlineEditing/InlineEditingContext.es.js.map +1 -1
- package/dist/components/InlineEditing/InlineEditingSelect/InlineSelect.cjs.js +1 -1
- package/dist/components/InlineEditing/InlineEditingSelect/InlineSelect.cjs.js.map +1 -1
- package/dist/components/InlineEditing/InlineEditingSelect/InlineSelect.es.js +13 -10
- package/dist/components/InlineEditing/InlineEditingSelect/InlineSelect.es.js.map +1 -1
- package/dist/components/Layout/Card/Card.cjs.js.map +1 -1
- package/dist/components/Layout/Card/Card.es.js.map +1 -1
- package/dist/components/Layout/Card/Card.module.scss.cjs.js +2 -2
- package/dist/components/Layout/Card/Card.module.scss.es.js +12 -12
- package/dist/components/Layout/ContentHeader/ContentHeader.cjs.js +1 -1
- package/dist/components/Layout/ContentHeader/ContentHeader.cjs.js.map +1 -1
- package/dist/components/Layout/ContentHeader/ContentHeader.es.js.map +1 -1
- package/dist/components/Layout/ContentHeader/ContentHeader.module.scss.cjs.js +2 -2
- package/dist/components/Layout/ContentHeader/ContentHeader.module.scss.es.js +12 -12
- package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.cjs.js.map +1 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.es.js.map +1 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.cjs.js +2 -2
- package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.es.js +4 -4
- package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.cjs.js +1 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.cjs.js.map +1 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.es.js +1 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.es.js.map +1 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.cjs.js +2 -2
- package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.es.js +2 -2
- package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.cjs.js.map +1 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.es.js.map +1 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.cjs.js +2 -2
- package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.es.js +3 -3
- package/dist/components/Link/Link.cjs.js +1 -1
- package/dist/components/Link/Link.cjs.js.map +1 -1
- package/dist/components/Link/Link.es.js.map +1 -1
- package/dist/components/Link/Link.module.scss.cjs.js +2 -2
- package/dist/components/Link/Link.module.scss.es.js +19 -16
- package/dist/components/Link/Link.module.scss.es.js.map +1 -1
- package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.cjs.js.map +1 -1
- package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.es.js.map +1 -1
- package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.module.scss.es.js +11 -11
- package/dist/components/Notifications/Alert/AlertContainer/useAlertContainerHeightAnimation.cjs.js +1 -1
- package/dist/components/Notifications/Alert/AlertContainer/useAlertContainerHeightAnimation.cjs.js.map +1 -1
- package/dist/components/Notifications/Alert/AlertContainer/useAlertContainerHeightAnimation.es.js.map +1 -1
- package/dist/components/Notifications/Alert/AlertItem/AlertItem.cjs.js +1 -1
- package/dist/components/Notifications/Alert/AlertItem/AlertItem.cjs.js.map +1 -1
- package/dist/components/Notifications/Alert/AlertItem/AlertItem.es.js.map +1 -1
- package/dist/components/Notifications/Alert/AlertItem/AlertItem.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/Alert/AlertItem/AlertItem.module.scss.es.js +22 -22
- package/dist/components/Notifications/Alert/AlertProvider/AlertContext.cjs.js.map +1 -1
- package/dist/components/Notifications/Alert/AlertProvider/AlertContext.es.js.map +1 -1
- package/dist/components/Notifications/Alert/AlertProvider/AlertProvider.cjs.js +1 -1
- package/dist/components/Notifications/Alert/AlertProvider/AlertProvider.cjs.js.map +1 -1
- package/dist/components/Notifications/Alert/AlertProvider/AlertProvider.es.js.map +1 -1
- package/dist/components/Notifications/Alert/useAlert.cjs.js.map +1 -1
- package/dist/components/Notifications/Alert/useAlert.es.js.map +1 -1
- package/dist/components/Notifications/Banner/Banner.cjs.js +1 -1
- package/dist/components/Notifications/Banner/Banner.cjs.js.map +1 -1
- package/dist/components/Notifications/Banner/Banner.es.js.map +1 -1
- package/dist/components/Notifications/Banner/Banner.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/Banner/Banner.module.scss.es.js +9 -9
- package/dist/components/Notifications/BaseModal/BaseModal.cjs.js +1 -1
- package/dist/components/Notifications/BaseModal/BaseModal.cjs.js.map +1 -1
- package/dist/components/Notifications/BaseModal/BaseModal.es.js +1 -1
- package/dist/components/Notifications/BaseModal/BaseModal.es.js.map +1 -1
- package/dist/components/Notifications/BaseModal/BaseModal.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/BaseModal/BaseModal.module.scss.es.js +5 -5
- package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.cjs.js +1 -1
- package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.cjs.js.map +1 -1
- package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.es.js.map +1 -1
- package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.es.js +4 -4
- package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.cjs.js +1 -1
- package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.cjs.js.map +1 -1
- package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.es.js.map +1 -1
- package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.es.js +2 -2
- package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.cjs.js +1 -1
- package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.cjs.js.map +1 -1
- package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.es.js.map +1 -1
- package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.es.js +6 -6
- package/dist/components/Notifications/Dialog/Dialog.cjs.js +1 -1
- package/dist/components/Notifications/Dialog/Dialog.cjs.js.map +1 -1
- package/dist/components/Notifications/Dialog/Dialog.es.js +2 -2
- package/dist/components/Notifications/Dialog/Dialog.es.js.map +1 -1
- package/dist/components/Notifications/Dialog/Dialog.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/Dialog/Dialog.module.scss.es.js +4 -4
- package/dist/components/Notifications/Dialog/DialogActions/DialogActions.cjs.js +1 -1
- package/dist/components/Notifications/Dialog/DialogActions/DialogActions.cjs.js.map +1 -1
- package/dist/components/Notifications/Dialog/DialogActions/DialogActions.es.js.map +1 -1
- package/dist/components/Notifications/Dialog/DialogActions/DialogActions.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/Dialog/DialogActions/DialogActions.module.scss.es.js +3 -3
- package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.cjs.js +1 -1
- package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.cjs.js.map +1 -1
- package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.es.js.map +1 -1
- package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.es.js +10 -10
- package/dist/components/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.cjs.js +1 -1
- package/dist/components/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.cjs.js.map +1 -1
- package/dist/components/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.es.js.map +1 -1
- package/dist/components/Notifications/DiscardChangesModal/DiscardChangesModal.cjs.js.map +1 -1
- package/dist/components/Notifications/DiscardChangesModal/DiscardChangesModal.es.js.map +1 -1
- package/dist/components/Notifications/NotificationProvider/NotificationContext.cjs.js +1 -1
- package/dist/components/Notifications/NotificationProvider/NotificationContext.cjs.js.map +1 -1
- package/dist/components/Notifications/NotificationProvider/NotificationContext.es.js +1 -1
- package/dist/components/Notifications/NotificationProvider/NotificationContext.es.js.map +1 -1
- package/dist/components/Notifications/NotificationProvider/NotificationService.es.js.map +1 -1
- package/dist/components/Notifications/SideSheet/SideSheet.cjs.js +1 -1
- package/dist/components/Notifications/SideSheet/SideSheet.cjs.js.map +1 -1
- package/dist/components/Notifications/SideSheet/SideSheet.es.js.map +1 -1
- package/dist/components/Notifications/SideSheet/SideSheet.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/SideSheet/SideSheet.module.scss.es.js +13 -13
- package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.cjs.js.map +1 -1
- package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.es.js.map +1 -1
- package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.module.scss.es.js +2 -2
- package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.cjs.js.map +1 -1
- package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.es.js.map +1 -1
- package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.module.scss.es.js +2 -2
- package/dist/components/Notifications/SlideInModal/SlideInModal.cjs.js +1 -1
- package/dist/components/Notifications/SlideInModal/SlideInModal.cjs.js.map +1 -1
- package/dist/components/Notifications/SlideInModal/SlideInModal.es.js.map +1 -1
- package/dist/components/Notifications/SlideInModal/SlideInModal.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/SlideInModal/SlideInModal.module.scss.es.js +10 -10
- package/dist/components/Pagination/Pagination.cjs.js +1 -1
- package/dist/components/Pagination/Pagination.cjs.js.map +1 -1
- package/dist/components/Pagination/Pagination.es.js.map +1 -1
- package/dist/components/Pagination/Pagination.module.scss.cjs.js +2 -2
- package/dist/components/Pagination/Pagination.module.scss.es.js +14 -14
- package/dist/components/Popover/Popover.cjs.js +1 -1
- package/dist/components/Popover/Popover.cjs.js.map +1 -1
- package/dist/components/Popover/Popover.es.js.map +1 -1
- package/dist/components/Popover/Popover.module.scss.cjs.js +2 -2
- package/dist/components/Popover/Popover.module.scss.es.js +3 -3
- package/dist/components/ProgressBar/ProgressBar.cjs.js +1 -1
- package/dist/components/ProgressBar/ProgressBar.cjs.js.map +1 -1
- package/dist/components/ProgressBar/ProgressBar.es.js.map +1 -1
- package/dist/components/ProgressBar/ProgressBar.module.scss.cjs.js +2 -2
- package/dist/components/ProgressBar/ProgressBar.module.scss.es.js +9 -9
- package/dist/components/RequiredSign/RequiredSign.cjs.js.map +1 -1
- package/dist/components/RequiredSign/RequiredSign.es.js.map +1 -1
- package/dist/components/Skeleton/Skeleton.cjs.js +1 -1
- package/dist/components/Skeleton/Skeleton.cjs.js.map +1 -1
- package/dist/components/Skeleton/Skeleton.es.js.map +1 -1
- package/dist/components/Skeleton/Skeleton.module.scss.cjs.js +2 -2
- package/dist/components/Skeleton/Skeleton.module.scss.es.js +5 -5
- package/dist/components/Spinner/Spinner.cjs.js.map +1 -1
- package/dist/components/Spinner/Spinner.es.js.map +1 -1
- package/dist/components/Spinner/Spinner.module.scss.cjs.js +2 -2
- package/dist/components/Spinner/Spinner.module.scss.es.js +3 -3
- package/dist/components/Stepper/Step.cjs.js.map +1 -1
- package/dist/components/Stepper/Step.es.js.map +1 -1
- package/dist/components/Stepper/Step.module.scss.cjs.js +2 -2
- package/dist/components/Stepper/Step.module.scss.es.js +22 -22
- package/dist/components/Stepper/Stepper.cjs.js +1 -1
- package/dist/components/Stepper/Stepper.cjs.js.map +1 -1
- package/dist/components/Stepper/Stepper.es.js.map +1 -1
- package/dist/components/Stepper/Stepper.module.scss.cjs.js +2 -2
- package/dist/components/Stepper/Stepper.module.scss.es.js +4 -4
- package/dist/components/Tabs/Tab.cjs.js.map +1 -1
- package/dist/components/Tabs/Tab.es.js.map +1 -1
- package/dist/components/Tabs/Tab.module.scss.cjs.js +2 -2
- package/dist/components/Tabs/Tab.module.scss.es.js +3 -3
- package/dist/components/Tabs/TabButton.cjs.js +1 -1
- package/dist/components/Tabs/TabButton.cjs.js.map +1 -1
- package/dist/components/Tabs/TabButton.es.js.map +1 -1
- package/dist/components/Tabs/TabButton.module.scss.cjs.js +2 -2
- package/dist/components/Tabs/TabButton.module.scss.es.js +12 -12
- package/dist/components/Tabs/Tabs.cjs.js +1 -1
- package/dist/components/Tabs/Tabs.cjs.js.map +1 -1
- package/dist/components/Tabs/Tabs.es.js.map +1 -1
- package/dist/components/Tabs/Tabs.module.scss.cjs.js +2 -2
- package/dist/components/Tabs/Tabs.module.scss.es.js +10 -10
- package/dist/components/Tag/RemoveButton.cjs.js +1 -1
- package/dist/components/Tag/RemoveButton.cjs.js.map +1 -1
- package/dist/components/Tag/RemoveButton.es.js.map +1 -1
- package/dist/components/Tag/RemoveButton.module.scss.cjs.js +2 -2
- package/dist/components/Tag/RemoveButton.module.scss.es.js +3 -3
- package/dist/components/Tag/Tag.cjs.js +1 -1
- package/dist/components/Tag/Tag.cjs.js.map +1 -1
- package/dist/components/Tag/Tag.es.js.map +1 -1
- package/dist/components/Tag/Tag.module.scss.cjs.js +2 -2
- package/dist/components/Tag/Tag.module.scss.es.js +6 -6
- package/dist/components/TextEllipsis/TextEllipsis.cjs.js +1 -1
- package/dist/components/TextEllipsis/TextEllipsis.cjs.js.map +1 -1
- package/dist/components/TextEllipsis/TextEllipsis.es.js.map +1 -1
- package/dist/components/TextEllipsis/TextEllipsis.module.scss.cjs.js +2 -2
- package/dist/components/TextEllipsis/TextEllipsis.module.scss.es.js +3 -3
- package/dist/components/Tiles/Tile.cjs.js +1 -1
- package/dist/components/Tiles/Tile.cjs.js.map +1 -1
- package/dist/components/Tiles/Tile.es.js.map +1 -1
- package/dist/components/Tiles/Tile.module.scss.cjs.js +2 -2
- package/dist/components/Tiles/Tile.module.scss.es.js +8 -8
- package/dist/components/Tiles/Tiles.cjs.js +1 -1
- package/dist/components/Tiles/Tiles.cjs.js.map +1 -1
- package/dist/components/Tiles/Tiles.es.js.map +1 -1
- package/dist/components/Tiles/Tiles.module.scss.cjs.js +2 -2
- package/dist/components/Tiles/Tiles.module.scss.es.js +2 -2
- package/dist/components/Tooltip/Tooltip.cjs.js +1 -1
- package/dist/components/Tooltip/Tooltip.cjs.js.map +1 -1
- package/dist/components/Tooltip/Tooltip.es.js +1 -1
- package/dist/components/Tooltip/Tooltip.es.js.map +1 -1
- package/dist/components/Tooltip/Tooltip.module.scss.cjs.js +2 -2
- package/dist/components/Tooltip/Tooltip.module.scss.es.js +27 -27
- package/dist/components/Typography/Typography.cjs.js +1 -1
- package/dist/components/Typography/Typography.cjs.js.map +1 -1
- package/dist/components/Typography/Typography.es.js.map +1 -1
- package/dist/components/Typography/Typography.module.scss.cjs.js +2 -2
- package/dist/components/Typography/Typography.module.scss.es.js +13 -13
- package/dist/components/_BaseStyling_/BaseStyling.cjs.js +1 -1
- package/dist/components/_BaseStyling_/BaseStyling.cjs.js.map +1 -1
- package/dist/components/_BaseStyling_/BaseStyling.es.js.map +1 -1
- package/dist/components/admin/layout/LeftNav/LeftNav.cjs.js +1 -1
- package/dist/components/admin/layout/LeftNav/LeftNav.cjs.js.map +1 -1
- package/dist/components/admin/layout/LeftNav/LeftNav.es.js +2 -0
- package/dist/components/admin/layout/LeftNav/LeftNav.es.js.map +1 -1
- package/dist/components/admin/layout/LeftNav/LeftNav.module.scss.cjs.js +2 -2
- package/dist/components/admin/layout/LeftNav/LeftNav.module.scss.es.js +5 -5
- package/dist/components/admin/layout/LeftNav/LeftNavItem/ButtonLeftNavItem.cjs.js +1 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/ButtonLeftNavItem.cjs.js.map +1 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/ButtonLeftNavItem.es.js +2 -0
- package/dist/components/admin/layout/LeftNav/LeftNavItem/ButtonLeftNavItem.es.js.map +1 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.cjs.js +1 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.cjs.js.map +1 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.es.js.map +1 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.module.scss.cjs.js +2 -2
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.module.scss.es.js +14 -14
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LinkLeftNavItem.cjs.js +1 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LinkLeftNavItem.cjs.js.map +1 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LinkLeftNavItem.es.js +90 -2
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LinkLeftNavItem.es.js.map +1 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/useKeyboardNavigation.cjs.js.map +1 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/useKeyboardNavigation.es.js.map +1 -1
- package/dist/components/admin/layout/LeftNav/useRefItems.cjs.js +1 -1
- package/dist/components/admin/layout/LeftNav/useRefItems.cjs.js.map +1 -1
- package/dist/components/admin/layout/LeftNav/useRefItems.es.js.map +1 -1
- package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.cjs.js +1 -1
- package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.cjs.js.map +1 -1
- package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.es.js +1 -1
- package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.es.js.map +1 -1
- package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.cjs.js +2 -2
- package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.es.js +3 -3
- package/dist/components/admin/layout/ProfileMenu/ProfileMenu.cjs.js +2 -0
- package/dist/components/admin/layout/ProfileMenu/ProfileMenu.cjs.js.map +1 -0
- package/dist/components/admin/layout/ProfileMenu/ProfileMenu.es.js +33 -0
- package/dist/components/admin/layout/ProfileMenu/ProfileMenu.es.js.map +1 -0
- package/dist/components/admin/layout/ProfileMenu/ProfileMenu.module.scss.cjs.js +3 -0
- package/dist/components/admin/layout/ProfileMenu/ProfileMenu.module.scss.cjs.js.map +1 -0
- package/dist/components/admin/layout/ProfileMenu/ProfileMenu.module.scss.es.js +25 -0
- package/dist/components/admin/layout/ProfileMenu/ProfileMenu.module.scss.es.js.map +1 -0
- package/dist/components/admin/layout/TopNavBar/TopNavBar.cjs.js +2 -0
- package/dist/components/admin/layout/TopNavBar/TopNavBar.cjs.js.map +1 -0
- package/dist/components/admin/layout/TopNavBar/TopNavBar.es.js +45 -0
- package/dist/components/admin/layout/TopNavBar/TopNavBar.es.js.map +1 -0
- package/dist/components/admin/layout/TopNavBar/TopNavBar.module.scss.cjs.js +3 -0
- package/dist/components/admin/layout/TopNavBar/TopNavBar.module.scss.cjs.js.map +1 -0
- package/dist/components/admin/layout/TopNavBar/TopNavBar.module.scss.es.js +25 -0
- package/dist/components/admin/layout/TopNavBar/TopNavBar.module.scss.es.js.map +1 -0
- package/dist/components/miscellaneous/IdentityProviderButton.cjs.js.map +1 -1
- package/dist/components/miscellaneous/IdentityProviderButton.es.js.map +1 -1
- package/dist/components/miscellaneous/IdentityProviderButton.module.scss.cjs.js +2 -2
- package/dist/components/miscellaneous/IdentityProviderButton.module.scss.es.js +3 -3
- package/dist/components/withReadOnly.cjs.js +1 -1
- package/dist/components/withReadOnly.cjs.js.map +1 -1
- package/dist/components/withReadOnly.es.js.map +1 -1
- package/dist/hooks/useAnimation.cjs.js +1 -1
- package/dist/hooks/useAnimation.cjs.js.map +1 -1
- package/dist/hooks/useAnimation.es.js.map +1 -1
- package/dist/hooks/useClickOutside.cjs.js +1 -1
- package/dist/hooks/useClickOutside.cjs.js.map +1 -1
- package/dist/hooks/useClickOutside.es.js.map +1 -1
- package/dist/hooks/useDebouncedCallback.cjs.js +1 -1
- package/dist/hooks/useDebouncedCallback.cjs.js.map +1 -1
- package/dist/hooks/useDebouncedCallback.es.js.map +1 -1
- package/dist/hooks/useDescribedBy.cjs.js.map +1 -1
- package/dist/hooks/useDescribedBy.es.js.map +1 -1
- package/dist/hooks/useDetermineStatusIcon.cjs.js.map +1 -1
- package/dist/hooks/useDetermineStatusIcon.es.js.map +1 -1
- package/dist/hooks/useFormSelector.cjs.js.map +1 -1
- package/dist/hooks/useFormSelector.es.js.map +1 -1
- package/dist/hooks/useFullHeightCollapse.cjs.js.map +1 -1
- package/dist/hooks/useFullHeightCollapse.es.js.map +1 -1
- package/dist/hooks/useGetDomRoot.cjs.js +1 -1
- package/dist/hooks/useGetDomRoot.cjs.js.map +1 -1
- package/dist/hooks/useGetDomRoot.es.js.map +1 -1
- package/dist/hooks/usePosition.cjs.js +1 -1
- package/dist/hooks/usePosition.cjs.js.map +1 -1
- package/dist/hooks/usePosition.es.js.map +1 -1
- package/dist/hooks/useRepeatFocus.cjs.js +1 -1
- package/dist/hooks/useRepeatFocus.cjs.js.map +1 -1
- package/dist/hooks/useRepeatFocus.es.js +6 -23
- package/dist/hooks/useRepeatFocus.es.js.map +1 -1
- package/dist/hooks/useRepeater.cjs.js +1 -1
- package/dist/hooks/useRepeater.cjs.js.map +1 -1
- package/dist/hooks/useRepeater.es.js.map +1 -1
- package/dist/hooks/useScreenSize.cjs.js +1 -1
- package/dist/hooks/useScreenSize.cjs.js.map +1 -1
- package/dist/hooks/useScreenSize.es.js.map +1 -1
- package/dist/hooks/useSpacing.cjs.js +1 -1
- package/dist/hooks/useSpacing.cjs.js.map +1 -1
- package/dist/hooks/useSpacing.es.js.map +1 -1
- package/dist/hooks/useUploadFile.cjs.js +1 -1
- package/dist/hooks/useUploadFile.cjs.js.map +1 -1
- package/dist/hooks/useUploadFile.es.js.map +1 -1
- package/dist/hooks/useWrapper.cjs.js.map +1 -1
- package/dist/hooks/useWrapper.es.js.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +48 -4
- package/dist/index.es.js +6 -0
- package/dist/index.es.js.map +1 -1
- package/dist/node_modules/tabbable/dist/index.esm.cjs.js +2 -0
- package/dist/node_modules/tabbable/dist/index.esm.cjs.js.map +1 -0
- package/dist/node_modules/tabbable/dist/index.esm.es.js +322 -0
- package/dist/node_modules/tabbable/dist/index.esm.es.js.map +1 -0
- package/dist/readyclasses.module.scss.cjs.js +2 -2
- package/dist/readyclasses.module.scss.es.js +5 -5
- package/dist/util/helper.cjs.js +1 -1
- package/dist/util/helper.cjs.js.map +1 -1
- package/dist/util/helper.es.js +1 -1
- package/dist/util/helper.es.js.map +1 -1
- package/dist/utils/focusManagement.cjs.js +2 -0
- package/dist/utils/focusManagement.cjs.js.map +1 -0
- package/dist/utils/focusManagement.es.js +8 -0
- package/dist/utils/focusManagement.es.js.map +1 -0
- package/dist/utils/statusUtils.cjs.js.map +1 -1
- package/dist/utils/statusUtils.es.js.map +1 -1
- package/dist/variables.cjs.js.map +1 -1
- package/dist/variables.es.js.map +1 -1
- package/package.json +26 -21
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var n=document.createElement("style");n.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 */.
|
|
2
|
-
const banner = "
|
|
3
|
-
const container = "
|
|
4
|
-
const headline = "
|
|
5
|
-
const content = "
|
|
6
|
-
const icon = "
|
|
7
|
-
const info = "
|
|
8
|
-
const warning = "
|
|
9
|
-
const error = "
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var n=document.createElement("style");n.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 */.Banner_banner_jyx43{padding:1rem 1.25rem;background-color:var(--light);display:flex;border-width:0 0 0 var(--banner-border-width);border-style:solid;flex-grow:0;border-radius:var(--banner-border-radius)}.Banner_banner_jyx43 .Banner_container_jyx43{display:block;margin-left:1rem;flex:1;color:var(--default)}.Banner_banner_jyx43 .Banner_headline_jyx43{margin-bottom:.25rem}.Banner_banner_jyx43 .Banner_content_jyx43{margin-bottom:0}.Banner_banner_jyx43 .Banner_icon_jyx43{margin-top:.1rem;font-size:var(--font-size-big);line-height:var(--default-line-height)}.Banner_banner_jyx43.Banner_info_jyx43{border-color:var(--info)}.Banner_banner_jyx43.Banner_info_jyx43 .Banner_icon_jyx43,.Banner_banner_jyx43.Banner_info_jyx43 .Banner_headline_jyx43{color:var(--info)}.Banner_banner_jyx43.Banner_warning_jyx43{border-color:var(--warning)}.Banner_banner_jyx43.Banner_warning_jyx43 .Banner_icon_jyx43,.Banner_banner_jyx43.Banner_warning_jyx43 .Banner_headline_jyx43{color:var(--warning)}.Banner_banner_jyx43.Banner_error_jyx43{border-color:var(--error)}.Banner_banner_jyx43.Banner_error_jyx43 .Banner_icon_jyx43,.Banner_banner_jyx43.Banner_error_jyx43 .Banner_headline_jyx43{color:var(--error)}')),document.head.appendChild(n)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
|
|
2
|
+
const banner = "Banner_banner_jyx43";
|
|
3
|
+
const container = "Banner_container_jyx43";
|
|
4
|
+
const headline = "Banner_headline_jyx43";
|
|
5
|
+
const content = "Banner_content_jyx43";
|
|
6
|
+
const icon = "Banner_icon_jyx43";
|
|
7
|
+
const info = "Banner_info_jyx43";
|
|
8
|
+
const warning = "Banner_warning_jyx43";
|
|
9
|
+
const error = "Banner_error_jyx43";
|
|
10
10
|
const classes = {
|
|
11
11
|
banner,
|
|
12
12
|
container,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),a=require("react-dom"),o=require("../../../hooks/useGetDomRoot.cjs.js"),l=require("./BaseModal.module.scss.cjs.js"),d=require("./BaseModalContext.cjs.js"),t=require("../../../hooks/useRepeatFocus.cjs.js"),s="overflow",r=a=>{e.useEffect((
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),a=require("react-dom"),o=require("../../../hooks/useGetDomRoot.cjs.js"),l=require("./BaseModal.module.scss.cjs.js"),d=require("./BaseModalContext.cjs.js"),t=require("../../../hooks/useRepeatFocus.cjs.js"),s="overflow",r=a=>{e.useEffect(()=>{a?document.body.style[s]="hidden":0===document.querySelectorAll("[role=dialog][data-hidden=false]").length&&document.body.style.removeProperty(s)},[a])},n=e.forwardRef(({id:s,children:n,open:i,onClose:c,className:u="",containerProps:m,backdropProps:p,labelledby:b,describedby:f,disableEscapeKeyDown:y=!1,disableBackdrop:h=!1,disableContentAutoFocus:v=!1,hideBackdrop:E=!1,forceContainerOpen:j=!1,zIndex:x,domRoot:$,...g},k)=>{r(i);const C=e.useRef(null),N=k||e.createRef(),{root:R}=o.useGetDomRoot($,C);t.useRepeatFocus(N,i),e.useEffect(()=>{var e;i&&!v&&(null==(e=N.current)||e.focus())},[i]);const q=()=>e.Children.map(n,a=>e.isValidElement(a)?e.cloneElement(a,{onClose:a.props.onClose??c}):a);return e.createElement("div",{ref:C},a.createPortal(e.createElement("div",{...g,ref:N,id:s,className:`${l.default.modal} ${i?l.default.visible:""} ${u}`,role:"dialog","aria-modal":"true","aria-labelledby":b??d.labelId(s),"aria-describedby":f??d.descriptionId(s),"aria-hidden":!i,tabIndex:-1,"data-hidden":!i,onKeyDown:e=>{y||"Escape"!==e.key||(e.stopPropagation(),null==c||c())},style:{zIndex:x}},E?null:e.createElement("div",{...p,"aria-hidden":!0,className:`${l.default.backdrop} ${(null==p?void 0:p.className)??""}`,onClick:()=>!h&&c&&c()}),j?e.createElement("div",{...m,"aria-hidden":!i,"data-element":"dialog",hidden:!i,style:{zIndex:x&&x+1},className:`${l.default.container} ${(null==m?void 0:m.className)??""}`},q()):i&&e.createElement("div",{...m,"data-element":"dialog",style:{zIndex:x&&x+1},className:`${l.default.container} ${(null==m?void 0:m.className)??""}`},q())),R))});exports.BaseModal=n,exports.useSetBodyScroll=r;
|
|
2
2
|
//# sourceMappingURL=BaseModal.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseModal.cjs.js","sources":["../../../../src/components/Notifications/BaseModal/BaseModal.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, {\n ForwardRefRenderFunction,\n ComponentPropsWithRef,\n useEffect,\n useRef,\n ReactElement,\n RefObject,\n createRef\n} from \"react\";\nimport { createPortal } from \"react-dom\";\nimport { useGetDomRoot } from \"../../../hooks/useGetDomRoot\";\nimport classes from \"./BaseModal.module.scss\";\nimport { labelId, descriptionId } from \"./BaseModalContext\";\nimport { useRepeatFocus } from \"../../../hooks/useRepeatFocus\";\n\nconst SCROLL_PROPERTY_NAME = \"overflow\";\nconst SCROLL_PROPERTY_VALUE = \"hidden\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id: string;\n children: React.ReactNode;\n open: boolean;\n onClose?: (event?: React.MouseEvent<HTMLElement>) => unknown;\n className?: string;\n containerProps?: ComponentPropsWithRef<\"div\">;\n backdropProps?: ComponentPropsWithRef<\"div\">;\n labelledby?: string;\n describedby?: string;\n disableEscapeKeyDown?: boolean;\n disableBackdrop?: boolean;\n disableContentAutoFocus?: boolean;\n hideBackdrop?: boolean;\n forceContainerOpen?: boolean;\n zIndex?: number;\n domRoot?: HTMLElement;\n}\n\nexport const useSetBodyScroll = (open: boolean) => {\n const hideBodyScroll = () => {\n document.body.style[SCROLL_PROPERTY_NAME] = SCROLL_PROPERTY_VALUE;\n };\n\n const showBodyScroll = () => {\n const allModalsClosed =\n document.querySelectorAll(\"[role=dialog][data-hidden=false]\").length === 0;\n if (allModalsClosed) {\n document.body.style.removeProperty(SCROLL_PROPERTY_NAME);\n }\n };\n\n useEffect(() => {\n if (open) {\n hideBodyScroll();\n } else {\n showBodyScroll();\n }\n }, [open]);\n};\n\nconst BaseModalComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n {\n id,\n children,\n open,\n onClose,\n className = \"\",\n containerProps,\n backdropProps,\n labelledby,\n describedby,\n disableEscapeKeyDown = false,\n disableBackdrop = false,\n disableContentAutoFocus = false,\n hideBackdrop = false,\n forceContainerOpen = false,\n zIndex,\n domRoot,\n ...rest\n }: Props,\n ref\n) => {\n useSetBodyScroll(open);\n const wrappingDivRef = useRef<HTMLDivElement>(null);\n const modalRef = (ref as RefObject<HTMLDivElement>) || createRef<HTMLDivElement>();\n const { root } = useGetDomRoot(domRoot, wrappingDivRef);\n\n const handleEscKeyPress = (event: React.KeyboardEvent<HTMLDivElement>) => {\n if (!disableEscapeKeyDown && event.key === \"Escape\") {\n event.stopPropagation();\n onClose?.();\n }\n };\n\n useRepeatFocus(modalRef);\n\n useEffect(() => {\n if (open && !disableContentAutoFocus) {\n modalRef.current?.focus();\n }\n }, [open]);\n\n const handleBackdropClick = () => !disableBackdrop && onClose && onClose();\n\n const renderChildren = () =>\n React.Children.map(children, child => {\n if (React.isValidElement(child)) {\n return React.cloneElement(child as ReactElement, {\n onClose: child.props.onClose ?? onClose\n });\n }\n return child;\n });\n\n return (\n <div ref={wrappingDivRef}>\n {createPortal(\n <div\n {...rest}\n ref={modalRef}\n id={id}\n className={`${classes[\"modal\"]} ${open ? classes[\"visible\"] : \"\"} ${className}`}\n role=\"dialog\"\n aria-modal=\"true\"\n aria-labelledby={labelledby ?? labelId(id)}\n aria-describedby={describedby ?? descriptionId(id)}\n aria-hidden={!open}\n tabIndex={-1}\n data-hidden={!open}\n onKeyDown={handleEscKeyPress}\n style={{ zIndex }}\n >\n {!hideBackdrop ? (\n <div\n {...backdropProps}\n aria-hidden={true}\n className={`${classes[\"backdrop\"]} ${backdropProps?.className ?? \"\"}`}\n onClick={handleBackdropClick}\n ></div>\n ) : null}\n {forceContainerOpen ? (\n <div\n {...containerProps}\n aria-hidden={!open}\n data-element=\"dialog\"\n hidden={!open}\n style={{ zIndex: zIndex && zIndex + 1 }}\n className={`${classes[\"container\"]} ${containerProps?.className ?? \"\"}`}\n >\n {renderChildren()}\n </div>\n ) : (\n open && (\n <div\n {...containerProps}\n data-element=\"dialog\"\n style={{ zIndex: zIndex && zIndex + 1 }}\n className={`${classes[\"container\"]} ${containerProps?.className ?? \"\"}`}\n >\n {renderChildren()}\n </div>\n )\n )}\n </div>,\n root\n )}\n </div>\n );\n};\n\nexport const BaseModal = React.forwardRef(BaseModalComponent);\n"],"names":["SCROLL_PROPERTY_NAME","useSetBodyScroll","open","useEffect","document","body","style","querySelectorAll","length","removeProperty","BaseModal","React","forwardRef","id","children","onClose","className","containerProps","backdropProps","labelledby","describedby","disableEscapeKeyDown","disableBackdrop","disableContentAutoFocus","hideBackdrop","forceContainerOpen","zIndex","domRoot","rest","ref","wrappingDivRef","useRef","modalRef","createRef","root","useGetDomRoot","useRepeatFocus","_a","current","focus","renderChildren","Children","map","child","isValidElement","cloneElement","props","createElement","createPortal","classes","
|
|
1
|
+
{"version":3,"file":"BaseModal.cjs.js","sources":["../../../../src/components/Notifications/BaseModal/BaseModal.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, {\n ForwardRefRenderFunction,\n ComponentPropsWithRef,\n useEffect,\n useRef,\n ReactElement,\n RefObject,\n createRef\n} from \"react\";\nimport { createPortal } from \"react-dom\";\nimport { useGetDomRoot } from \"../../../hooks/useGetDomRoot\";\nimport classes from \"./BaseModal.module.scss\";\nimport { labelId, descriptionId } from \"./BaseModalContext\";\nimport { useRepeatFocus } from \"../../../hooks/useRepeatFocus\";\n\nconst SCROLL_PROPERTY_NAME = \"overflow\";\nconst SCROLL_PROPERTY_VALUE = \"hidden\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id: string;\n children: React.ReactNode;\n open: boolean;\n onClose?: (event?: React.MouseEvent<HTMLElement>) => unknown;\n className?: string;\n containerProps?: ComponentPropsWithRef<\"div\">;\n backdropProps?: ComponentPropsWithRef<\"div\">;\n labelledby?: string;\n describedby?: string;\n disableEscapeKeyDown?: boolean;\n disableBackdrop?: boolean;\n disableContentAutoFocus?: boolean;\n hideBackdrop?: boolean;\n forceContainerOpen?: boolean;\n zIndex?: number;\n domRoot?: HTMLElement;\n}\n\nexport const useSetBodyScroll = (open: boolean) => {\n const hideBodyScroll = () => {\n document.body.style[SCROLL_PROPERTY_NAME] = SCROLL_PROPERTY_VALUE;\n };\n\n const showBodyScroll = () => {\n const allModalsClosed =\n document.querySelectorAll(\"[role=dialog][data-hidden=false]\").length === 0;\n if (allModalsClosed) {\n document.body.style.removeProperty(SCROLL_PROPERTY_NAME);\n }\n };\n\n useEffect(() => {\n if (open) {\n hideBodyScroll();\n } else {\n showBodyScroll();\n }\n }, [open]);\n};\n\nconst BaseModalComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n {\n id,\n children,\n open,\n onClose,\n className = \"\",\n containerProps,\n backdropProps,\n labelledby,\n describedby,\n disableEscapeKeyDown = false,\n disableBackdrop = false,\n disableContentAutoFocus = false,\n hideBackdrop = false,\n forceContainerOpen = false,\n zIndex,\n domRoot,\n ...rest\n }: Props,\n ref\n) => {\n useSetBodyScroll(open);\n const wrappingDivRef = useRef<HTMLDivElement>(null);\n const modalRef = (ref as RefObject<HTMLDivElement>) || createRef<HTMLDivElement>();\n const { root } = useGetDomRoot(domRoot, wrappingDivRef);\n\n const handleEscKeyPress = (event: React.KeyboardEvent<HTMLDivElement>) => {\n if (!disableEscapeKeyDown && event.key === \"Escape\") {\n event.stopPropagation();\n onClose?.();\n }\n };\n\n useRepeatFocus(modalRef, open);\n\n useEffect(() => {\n if (open && !disableContentAutoFocus) {\n modalRef.current?.focus();\n }\n }, [open]);\n\n const handleBackdropClick = () => !disableBackdrop && onClose && onClose();\n\n const renderChildren = () =>\n React.Children.map(children, child => {\n if (React.isValidElement(child)) {\n return React.cloneElement(child as ReactElement, {\n onClose: child.props.onClose ?? onClose\n });\n }\n return child;\n });\n\n return (\n <div ref={wrappingDivRef}>\n {createPortal(\n <div\n {...rest}\n ref={modalRef}\n id={id}\n className={`${classes[\"modal\"]} ${open ? classes[\"visible\"] : \"\"} ${className}`}\n role=\"dialog\"\n aria-modal=\"true\"\n aria-labelledby={labelledby ?? labelId(id)}\n aria-describedby={describedby ?? descriptionId(id)}\n aria-hidden={!open}\n tabIndex={-1}\n data-hidden={!open}\n onKeyDown={handleEscKeyPress}\n style={{ zIndex }}\n >\n {!hideBackdrop ? (\n <div\n {...backdropProps}\n aria-hidden={true}\n className={`${classes[\"backdrop\"]} ${backdropProps?.className ?? \"\"}`}\n onClick={handleBackdropClick}\n ></div>\n ) : null}\n {forceContainerOpen ? (\n <div\n {...containerProps}\n aria-hidden={!open}\n data-element=\"dialog\"\n hidden={!open}\n style={{ zIndex: zIndex && zIndex + 1 }}\n className={`${classes[\"container\"]} ${containerProps?.className ?? \"\"}`}\n >\n {renderChildren()}\n </div>\n ) : (\n open && (\n <div\n {...containerProps}\n data-element=\"dialog\"\n style={{ zIndex: zIndex && zIndex + 1 }}\n className={`${classes[\"container\"]} ${containerProps?.className ?? \"\"}`}\n >\n {renderChildren()}\n </div>\n )\n )}\n </div>,\n root\n )}\n </div>\n );\n};\n\nexport const BaseModal = React.forwardRef(BaseModalComponent);\n"],"names":["SCROLL_PROPERTY_NAME","useSetBodyScroll","open","useEffect","document","body","style","querySelectorAll","length","removeProperty","BaseModal","React","forwardRef","id","children","onClose","className","containerProps","backdropProps","labelledby","describedby","disableEscapeKeyDown","disableBackdrop","disableContentAutoFocus","hideBackdrop","forceContainerOpen","zIndex","domRoot","rest","ref","wrappingDivRef","useRef","modalRef","createRef","root","useGetDomRoot","useRepeatFocus","_a","current","focus","renderChildren","Children","map","child","isValidElement","cloneElement","props","createElement","createPortal","classes","role","labelId","descriptionId","tabIndex","onKeyDown","event","key","stopPropagation","onClick","hidden"],"mappings":"sTA+BMA,EAAuB,WAsBhBC,EAAoBC,IAa/BC,EAAAA,UAAU,KACJD,EAZJE,SAASC,KAAKC,MAAMN,GAvBM,SA4BiD,IAAzEI,SAASG,iBAAiB,oCAAoCC,QAE9DJ,SAASC,KAAKC,MAAMG,eAAeT,IAUpC,CAACE,KAiHOQ,EAAYC,EAAMC,WA9G6C,EAExEC,KACAC,WACAZ,OACAa,UACAC,YAAY,GACZC,iBACAC,gBACAC,aACAC,cACAC,wBAAuB,EACvBC,mBAAkB,EAClBC,2BAA0B,EAC1BC,gBAAe,EACfC,sBAAqB,EACrBC,SACAC,aACGC,GAELC,KAEA5B,EAAiBC,GACjB,MAAM4B,EAAiBC,EAAAA,OAAuB,MACxCC,EAAYH,GAAqCI,eACjDC,KAAEA,GAASC,gBAAcR,EAASG,GASxCM,EAAAA,eAAeJ,EAAU9B,GAEzBC,EAAAA,UAAU,WACJD,IAASqB,IACX,OAAAc,EAAAL,EAASM,UAATD,EAAkBE,UAEnB,CAACrC,IAEJ,MAEMsC,EAAiB,IACrB7B,EAAM8B,SAASC,IAAI5B,EAAU6B,GACvBhC,EAAMiC,eAAeD,GAChBhC,EAAMkC,aAAaF,EAAuB,CAC/C5B,QAAS4B,EAAMG,MAAM/B,SAAWA,IAG7B4B,GAGX,SACEI,cAAC,MAAA,CAAIlB,IAAKC,GACPkB,EAAAA,aACCrC,EAAAoC,cAAC,MAAA,IACKnB,EACJC,IAAKG,EACLnB,KACAG,UAAW,GAAGiC,EAAAA,QAAe,SAAK/C,EAAO+C,EAAAA,QAAiB,QAAI,MAAMjC,IACpEkC,KAAK,SACL,aAAW,OACX,kBAAiB/B,GAAcgC,EAAAA,QAAQtC,GACvC,mBAAkBO,GAAegC,EAAAA,cAAcvC,GAC/C,eAAcX,EACdmD,UAAU,EACV,eAAcnD,EACdoD,UA1CmBC,IACpBlC,GAAsC,WAAdkC,EAAMC,MACjCD,EAAME,kBACN,MAAA1C,GAAAA,MAwCIT,MAAO,CAAEoB,WAEPF,EAOE,KANFb,EAAAoC,cAAC,MAAA,IACK7B,EACJ,eAAa,EACbF,UAAW,GAAGiC,EAAAA,QAAkB,aAAK,MAAA/B,OAAA,EAAAA,EAAeF,YAAa,KACjE0C,QAnCgB,KAAOpC,GAAmBP,GAAWA,MAsCxDU,EACCd,EAAAoC,cAAC,MAAA,IACK9B,EACJ,eAAcf,EACd,eAAa,SACbyD,QAASzD,EACTI,MAAO,CAAEoB,OAAQA,GAAUA,EAAS,GACpCV,UAAW,GAAGiC,EAAAA,QAAmB,cAAK,MAAAhC,OAAA,EAAAA,EAAgBD,YAAa,MAElEwB,KAGHtC,GACES,EAAAoC,cAAC,MAAA,IACK9B,EACJ,eAAa,SACbX,MAAO,CAAEoB,OAAQA,GAAUA,EAAS,GACpCV,UAAW,GAAGiC,EAAAA,QAAmB,cAAK,MAAAhC,OAAA,EAAAA,EAAgBD,YAAa,MAElEwB,MAKTN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseModal.es.js","sources":["../../../../src/components/Notifications/BaseModal/BaseModal.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, {\n ForwardRefRenderFunction,\n ComponentPropsWithRef,\n useEffect,\n useRef,\n ReactElement,\n RefObject,\n createRef\n} from \"react\";\nimport { createPortal } from \"react-dom\";\nimport { useGetDomRoot } from \"../../../hooks/useGetDomRoot\";\nimport classes from \"./BaseModal.module.scss\";\nimport { labelId, descriptionId } from \"./BaseModalContext\";\nimport { useRepeatFocus } from \"../../../hooks/useRepeatFocus\";\n\nconst SCROLL_PROPERTY_NAME = \"overflow\";\nconst SCROLL_PROPERTY_VALUE = \"hidden\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id: string;\n children: React.ReactNode;\n open: boolean;\n onClose?: (event?: React.MouseEvent<HTMLElement>) => unknown;\n className?: string;\n containerProps?: ComponentPropsWithRef<\"div\">;\n backdropProps?: ComponentPropsWithRef<\"div\">;\n labelledby?: string;\n describedby?: string;\n disableEscapeKeyDown?: boolean;\n disableBackdrop?: boolean;\n disableContentAutoFocus?: boolean;\n hideBackdrop?: boolean;\n forceContainerOpen?: boolean;\n zIndex?: number;\n domRoot?: HTMLElement;\n}\n\nexport const useSetBodyScroll = (open: boolean) => {\n const hideBodyScroll = () => {\n document.body.style[SCROLL_PROPERTY_NAME] = SCROLL_PROPERTY_VALUE;\n };\n\n const showBodyScroll = () => {\n const allModalsClosed =\n document.querySelectorAll(\"[role=dialog][data-hidden=false]\").length === 0;\n if (allModalsClosed) {\n document.body.style.removeProperty(SCROLL_PROPERTY_NAME);\n }\n };\n\n useEffect(() => {\n if (open) {\n hideBodyScroll();\n } else {\n showBodyScroll();\n }\n }, [open]);\n};\n\nconst BaseModalComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n {\n id,\n children,\n open,\n onClose,\n className = \"\",\n containerProps,\n backdropProps,\n labelledby,\n describedby,\n disableEscapeKeyDown = false,\n disableBackdrop = false,\n disableContentAutoFocus = false,\n hideBackdrop = false,\n forceContainerOpen = false,\n zIndex,\n domRoot,\n ...rest\n }: Props,\n ref\n) => {\n useSetBodyScroll(open);\n const wrappingDivRef = useRef<HTMLDivElement>(null);\n const modalRef = (ref as RefObject<HTMLDivElement>) || createRef<HTMLDivElement>();\n const { root } = useGetDomRoot(domRoot, wrappingDivRef);\n\n const handleEscKeyPress = (event: React.KeyboardEvent<HTMLDivElement>) => {\n if (!disableEscapeKeyDown && event.key === \"Escape\") {\n event.stopPropagation();\n onClose?.();\n }\n };\n\n useRepeatFocus(modalRef);\n\n useEffect(() => {\n if (open && !disableContentAutoFocus) {\n modalRef.current?.focus();\n }\n }, [open]);\n\n const handleBackdropClick = () => !disableBackdrop && onClose && onClose();\n\n const renderChildren = () =>\n React.Children.map(children, child => {\n if (React.isValidElement(child)) {\n return React.cloneElement(child as ReactElement, {\n onClose: child.props.onClose ?? onClose\n });\n }\n return child;\n });\n\n return (\n <div ref={wrappingDivRef}>\n {createPortal(\n <div\n {...rest}\n ref={modalRef}\n id={id}\n className={`${classes[\"modal\"]} ${open ? classes[\"visible\"] : \"\"} ${className}`}\n role=\"dialog\"\n aria-modal=\"true\"\n aria-labelledby={labelledby ?? labelId(id)}\n aria-describedby={describedby ?? descriptionId(id)}\n aria-hidden={!open}\n tabIndex={-1}\n data-hidden={!open}\n onKeyDown={handleEscKeyPress}\n style={{ zIndex }}\n >\n {!hideBackdrop ? (\n <div\n {...backdropProps}\n aria-hidden={true}\n className={`${classes[\"backdrop\"]} ${backdropProps?.className ?? \"\"}`}\n onClick={handleBackdropClick}\n ></div>\n ) : null}\n {forceContainerOpen ? (\n <div\n {...containerProps}\n aria-hidden={!open}\n data-element=\"dialog\"\n hidden={!open}\n style={{ zIndex: zIndex && zIndex + 1 }}\n className={`${classes[\"container\"]} ${containerProps?.className ?? \"\"}`}\n >\n {renderChildren()}\n </div>\n ) : (\n open && (\n <div\n {...containerProps}\n data-element=\"dialog\"\n style={{ zIndex: zIndex && zIndex + 1 }}\n className={`${classes[\"container\"]} ${containerProps?.className ?? \"\"}`}\n >\n {renderChildren()}\n </div>\n )\n )}\n </div>,\n root\n )}\n </div>\n );\n};\n\nexport const BaseModal = React.forwardRef(BaseModalComponent);\n"],"names":[],"mappings":";;;;;;AA+BA,MAAM,uBAAuB;AAC7B,MAAM,wBAAwB;
|
|
1
|
+
{"version":3,"file":"BaseModal.es.js","sources":["../../../../src/components/Notifications/BaseModal/BaseModal.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, {\n ForwardRefRenderFunction,\n ComponentPropsWithRef,\n useEffect,\n useRef,\n ReactElement,\n RefObject,\n createRef\n} from \"react\";\nimport { createPortal } from \"react-dom\";\nimport { useGetDomRoot } from \"../../../hooks/useGetDomRoot\";\nimport classes from \"./BaseModal.module.scss\";\nimport { labelId, descriptionId } from \"./BaseModalContext\";\nimport { useRepeatFocus } from \"../../../hooks/useRepeatFocus\";\n\nconst SCROLL_PROPERTY_NAME = \"overflow\";\nconst SCROLL_PROPERTY_VALUE = \"hidden\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id: string;\n children: React.ReactNode;\n open: boolean;\n onClose?: (event?: React.MouseEvent<HTMLElement>) => unknown;\n className?: string;\n containerProps?: ComponentPropsWithRef<\"div\">;\n backdropProps?: ComponentPropsWithRef<\"div\">;\n labelledby?: string;\n describedby?: string;\n disableEscapeKeyDown?: boolean;\n disableBackdrop?: boolean;\n disableContentAutoFocus?: boolean;\n hideBackdrop?: boolean;\n forceContainerOpen?: boolean;\n zIndex?: number;\n domRoot?: HTMLElement;\n}\n\nexport const useSetBodyScroll = (open: boolean) => {\n const hideBodyScroll = () => {\n document.body.style[SCROLL_PROPERTY_NAME] = SCROLL_PROPERTY_VALUE;\n };\n\n const showBodyScroll = () => {\n const allModalsClosed =\n document.querySelectorAll(\"[role=dialog][data-hidden=false]\").length === 0;\n if (allModalsClosed) {\n document.body.style.removeProperty(SCROLL_PROPERTY_NAME);\n }\n };\n\n useEffect(() => {\n if (open) {\n hideBodyScroll();\n } else {\n showBodyScroll();\n }\n }, [open]);\n};\n\nconst BaseModalComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n {\n id,\n children,\n open,\n onClose,\n className = \"\",\n containerProps,\n backdropProps,\n labelledby,\n describedby,\n disableEscapeKeyDown = false,\n disableBackdrop = false,\n disableContentAutoFocus = false,\n hideBackdrop = false,\n forceContainerOpen = false,\n zIndex,\n domRoot,\n ...rest\n }: Props,\n ref\n) => {\n useSetBodyScroll(open);\n const wrappingDivRef = useRef<HTMLDivElement>(null);\n const modalRef = (ref as RefObject<HTMLDivElement>) || createRef<HTMLDivElement>();\n const { root } = useGetDomRoot(domRoot, wrappingDivRef);\n\n const handleEscKeyPress = (event: React.KeyboardEvent<HTMLDivElement>) => {\n if (!disableEscapeKeyDown && event.key === \"Escape\") {\n event.stopPropagation();\n onClose?.();\n }\n };\n\n useRepeatFocus(modalRef, open);\n\n useEffect(() => {\n if (open && !disableContentAutoFocus) {\n modalRef.current?.focus();\n }\n }, [open]);\n\n const handleBackdropClick = () => !disableBackdrop && onClose && onClose();\n\n const renderChildren = () =>\n React.Children.map(children, child => {\n if (React.isValidElement(child)) {\n return React.cloneElement(child as ReactElement, {\n onClose: child.props.onClose ?? onClose\n });\n }\n return child;\n });\n\n return (\n <div ref={wrappingDivRef}>\n {createPortal(\n <div\n {...rest}\n ref={modalRef}\n id={id}\n className={`${classes[\"modal\"]} ${open ? classes[\"visible\"] : \"\"} ${className}`}\n role=\"dialog\"\n aria-modal=\"true\"\n aria-labelledby={labelledby ?? labelId(id)}\n aria-describedby={describedby ?? descriptionId(id)}\n aria-hidden={!open}\n tabIndex={-1}\n data-hidden={!open}\n onKeyDown={handleEscKeyPress}\n style={{ zIndex }}\n >\n {!hideBackdrop ? (\n <div\n {...backdropProps}\n aria-hidden={true}\n className={`${classes[\"backdrop\"]} ${backdropProps?.className ?? \"\"}`}\n onClick={handleBackdropClick}\n ></div>\n ) : null}\n {forceContainerOpen ? (\n <div\n {...containerProps}\n aria-hidden={!open}\n data-element=\"dialog\"\n hidden={!open}\n style={{ zIndex: zIndex && zIndex + 1 }}\n className={`${classes[\"container\"]} ${containerProps?.className ?? \"\"}`}\n >\n {renderChildren()}\n </div>\n ) : (\n open && (\n <div\n {...containerProps}\n data-element=\"dialog\"\n style={{ zIndex: zIndex && zIndex + 1 }}\n className={`${classes[\"container\"]} ${containerProps?.className ?? \"\"}`}\n >\n {renderChildren()}\n </div>\n )\n )}\n </div>,\n root\n )}\n </div>\n );\n};\n\nexport const BaseModal = React.forwardRef(BaseModalComponent);\n"],"names":[],"mappings":";;;;;;AA+BA,MAAM,uBAAuB;AAC7B,MAAM,wBAAwB;AAqBvB,MAAM,mBAAmB,CAAC,SAAkB;AACjD,QAAM,iBAAiB,MAAM;AAC3B,aAAS,KAAK,MAAM,oBAAoB,IAAI;AAAA,EAC9C;AAEA,QAAM,iBAAiB,MAAM;AAC3B,UAAM,kBACJ,SAAS,iBAAiB,kCAAkC,EAAE,WAAW;AAC3E,QAAI,iBAAiB;AACnB,eAAS,KAAK,MAAM,eAAe,oBAAoB;AAAA,IACzD;AAAA,EACF;AAEA,YAAU,MAAM;AACd,QAAI,MAAM;AACR,qBAAA;AAAA,IACF,OAAO;AACL,qBAAA;AAAA,IACF;AAAA,EACF,GAAG,CAAC,IAAI,CAAC;AACX;AAEA,MAAM,qBAAsE,CAC1E;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,YAAY;AAAA,EACZ;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,uBAAuB;AAAA,EACvB,kBAAkB;AAAA,EAClB,0BAA0B;AAAA,EAC1B,eAAe;AAAA,EACf,qBAAqB;AAAA,EACrB;AAAA,EACA;AAAA,EACA,GAAG;AACL,GACA,QACG;AACH,mBAAiB,IAAI;AACrB,QAAM,iBAAiB,OAAuB,IAAI;AAClD,QAAM,WAAY,OAAqC,UAAA;AACvD,QAAM,EAAE,KAAA,IAAS,cAAc,SAAS,cAAc;AAEtD,QAAM,oBAAoB,CAAC,UAA+C;AACxE,QAAI,CAAC,wBAAwB,MAAM,QAAQ,UAAU;AACnD,YAAM,gBAAA;AACN;AAAA,IACF;AAAA,EACF;AAEA,iBAAe,UAAU,IAAI;AAE7B,YAAU,MAAM;;AACd,QAAI,QAAQ,CAAC,yBAAyB;AACpC,qBAAS,YAAT,mBAAkB;AAAA,IACpB;AAAA,EACF,GAAG,CAAC,IAAI,CAAC;AAET,QAAM,sBAAsB,MAAM,CAAC,mBAAmB,WAAW,QAAA;AAEjE,QAAM,iBAAiB,MACrB,MAAM,SAAS,IAAI,UAAU,CAAA,UAAS;AACpC,QAAI,MAAM,eAAe,KAAK,GAAG;AAC/B,aAAO,MAAM,aAAa,OAAuB;AAAA,QAC/C,SAAS,MAAM,MAAM,WAAW;AAAA,MAAA,CACjC;AAAA,IACH;AACA,WAAO;AAAA,EACT,CAAC;AAEH,SACE,sBAAA,cAAC,OAAA,EAAI,KAAK,eAAA,GACP;AAAA,IACC,sBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACE,GAAG;AAAA,QACJ,KAAK;AAAA,QACL;AAAA,QACA,WAAW,GAAG,QAAQ,OAAO,CAAC,IAAI,OAAO,QAAQ,SAAS,IAAI,EAAE,IAAI,SAAS;AAAA,QAC7E,MAAK;AAAA,QACL,cAAW;AAAA,QACX,mBAAiB,cAAc,QAAQ,EAAE;AAAA,QACzC,oBAAkB,eAAe,cAAc,EAAE;AAAA,QACjD,eAAa,CAAC;AAAA,QACd,UAAU;AAAA,QACV,eAAa,CAAC;AAAA,QACd,WAAW;AAAA,QACX,OAAO,EAAE,OAAA;AAAA,MAAO;AAAA,MAEf,CAAC,eACA,sBAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACE,GAAG;AAAA,UACJ,eAAa;AAAA,UACb,WAAW,GAAG,QAAQ,UAAU,CAAC,KAAI,+CAAe,cAAa,EAAE;AAAA,UACnE,SAAS;AAAA,QAAA;AAAA,MAAA,IAET;AAAA,MACH,qBACC,sBAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACE,GAAG;AAAA,UACJ,eAAa,CAAC;AAAA,UACd,gBAAa;AAAA,UACb,QAAQ,CAAC;AAAA,UACT,OAAO,EAAE,QAAQ,UAAU,SAAS,EAAA;AAAA,UACpC,WAAW,GAAG,QAAQ,WAAW,CAAC,KAAI,iDAAgB,cAAa,EAAE;AAAA,QAAA;AAAA,QAEpE,eAAA;AAAA,MAAe,IAGlB,QACE,sBAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACE,GAAG;AAAA,UACJ,gBAAa;AAAA,UACb,OAAO,EAAE,QAAQ,UAAU,SAAS,EAAA;AAAA,UACpC,WAAW,GAAG,QAAQ,WAAW,CAAC,KAAI,iDAAgB,cAAa,EAAE;AAAA,QAAA;AAAA,QAEpE,eAAA;AAAA,MAAe;AAAA,IAClB;AAAA,IAIN;AAAA,EAAA,CAEJ;AAEJ;AAEO,MAAM,YAAY,MAAM,WAAW,kBAAkB;"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.BaseModal_sr-
|
|
2
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.BaseModal_sr-only_jyx43{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.BaseModal_hidden_jyx43{display:none}.BaseModal_slide-in_jyx43{animation:BaseModal_slide-in_jyx43 .5s forwards}@media(prefers-reduced-motion:reduce){.BaseModal_slide-in_jyx43{animation-duration:.1ms}}.BaseModal_slide-out_jyx43{animation:BaseModal_slide-out_jyx43 .5s forwards}@media(prefers-reduced-motion:reduce){.BaseModal_slide-out_jyx43{animation-duration:.1ms}}@keyframes BaseModal_slide-in_jyx43{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes BaseModal_slide-out_jyx43{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 */.BaseModal_modal_jyx43{position:fixed;z-index:10;top:0;left:0;height:100vh;width:100vw;visibility:hidden;display:flex;align-items:flex-start;justify-content:center}.BaseModal_modal_jyx43 .BaseModal_backdrop_jyx43{content:"";position:absolute;width:100%;height:100%;left:0;top:0;background-color:transparent;opacity:0;transition-property:background-color;transition-duration:.5s;transition-timing-function:ease}.BaseModal_modal_jyx43 .BaseModal_backdrop_jyx43{transition-property:opacity;transition-duration:.5s;transition-timing-function:ease}@media(prefers-reduced-motion:reduce){.BaseModal_modal_jyx43 .BaseModal_backdrop_jyx43{transition-duration:.1ms}}.BaseModal_modal_jyx43.BaseModal_visible_jyx43{visibility:visible}.BaseModal_modal_jyx43.BaseModal_visible_jyx43 .BaseModal_backdrop_jyx43{background-color:var(--modal-backdrop-color);opacity:.75}.BaseModal_container_jyx43{margin-top:3.125rem;background-color:var(--modal-background-color);z-index:11;width:calc(100% - 2rem);height:auto;max-height:calc(90% - 3.125rem);display:flex;flex-direction:column}@media only screen and (min-width:50em){.BaseModal_container_jyx43{width:50rem;border-radius:2px;box-shadow:0 30px 50px var(--modal-shadow-color)}}')),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}}();
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="BaseModal_modal_jyx43",o="BaseModal_backdrop_jyx43",a="BaseModal_visible_jyx43",s="BaseModal_container_jyx43",t={modal:e,backdrop:o,visible:a,container:s};exports.backdrop=o,exports.container=s,exports.default=t,exports.modal=e,exports.visible=a;
|
|
3
3
|
//# sourceMappingURL=BaseModal.module.scss.cjs.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.BaseModal_sr-
|
|
2
|
-
const modal = "
|
|
3
|
-
const backdrop = "
|
|
4
|
-
const visible = "
|
|
5
|
-
const container = "
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.BaseModal_sr-only_jyx43{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.BaseModal_hidden_jyx43{display:none}.BaseModal_slide-in_jyx43{animation:BaseModal_slide-in_jyx43 .5s forwards}@media(prefers-reduced-motion:reduce){.BaseModal_slide-in_jyx43{animation-duration:.1ms}}.BaseModal_slide-out_jyx43{animation:BaseModal_slide-out_jyx43 .5s forwards}@media(prefers-reduced-motion:reduce){.BaseModal_slide-out_jyx43{animation-duration:.1ms}}@keyframes BaseModal_slide-in_jyx43{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes BaseModal_slide-out_jyx43{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 */.BaseModal_modal_jyx43{position:fixed;z-index:10;top:0;left:0;height:100vh;width:100vw;visibility:hidden;display:flex;align-items:flex-start;justify-content:center}.BaseModal_modal_jyx43 .BaseModal_backdrop_jyx43{content:"";position:absolute;width:100%;height:100%;left:0;top:0;background-color:transparent;opacity:0;transition-property:background-color;transition-duration:.5s;transition-timing-function:ease}.BaseModal_modal_jyx43 .BaseModal_backdrop_jyx43{transition-property:opacity;transition-duration:.5s;transition-timing-function:ease}@media(prefers-reduced-motion:reduce){.BaseModal_modal_jyx43 .BaseModal_backdrop_jyx43{transition-duration:.1ms}}.BaseModal_modal_jyx43.BaseModal_visible_jyx43{visibility:visible}.BaseModal_modal_jyx43.BaseModal_visible_jyx43 .BaseModal_backdrop_jyx43{background-color:var(--modal-backdrop-color);opacity:.75}.BaseModal_container_jyx43{margin-top:3.125rem;background-color:var(--modal-background-color);z-index:11;width:calc(100% - 2rem);height:auto;max-height:calc(90% - 3.125rem);display:flex;flex-direction:column}@media only screen and (min-width:50em){.BaseModal_container_jyx43{width:50rem;border-radius:2px;box-shadow:0 30px 50px var(--modal-shadow-color)}}')),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}}();
|
|
2
|
+
const modal = "BaseModal_modal_jyx43";
|
|
3
|
+
const backdrop = "BaseModal_backdrop_jyx43";
|
|
4
|
+
const visible = "BaseModal_visible_jyx43";
|
|
5
|
+
const container = "BaseModal_container_jyx43";
|
|
6
6
|
const classes = {
|
|
7
7
|
modal,
|
|
8
8
|
backdrop,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),t=require("./BaseModalActions.module.scss.cjs.js"),a=require("../../../Button/Button.cjs.js"),l=e.forwardRef((
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),t=require("./BaseModalActions.module.scss.cjs.js"),a=require("../../../Button/Button.cjs.js"),l=e.forwardRef(({children:l,cancelAction:c,cancelActionsClassName:s="",onClose:n,className:o="",...r},i)=>{const u=e.createRef()||i,d=e.useRef(null),f=e.useRef(null),m=e.createElement(a.Button,{variant:"text",color:"default",...null==c?void 0:c.cancelButtonProps,onClick:n},null==c?void 0:c.label);return e.createElement("div",{...r,ref:u,className:`${t.default.actions} ${o}`},c&&n&&e.createElement("div",{className:`${t.default["cancel-action"]} ${s}`,ref:d},m),l&&e.createElement("div",{ref:f,className:t.default["primary-actions"]},l))});exports.BaseModalActions=l;
|
|
2
2
|
//# sourceMappingURL=BaseModalActions.cjs.js.map
|
package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseModalActions.cjs.js","sources":["../../../../../src/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef, useRef } from \"react\";\nimport classes from \"./BaseModalActions.module.scss\";\nimport { Button, Props as ButtonProps } from \"../../../Button/Button\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n children?: React.ReactNode;\n onClose?: () => void;\n cancelAction?: CancelAction;\n cancelActionsClassName?: string;\n}\n\nexport interface CancelAction {\n label: string;\n cancelButtonProps?: ButtonProps;\n}\n\nconst BaseModalActionsComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { children, cancelAction, cancelActionsClassName = \"\", onClose, className = \"\", ...rest }: Props,\n ref\n) => {\n const innerRef = (React.createRef() as React.RefObject<HTMLDivElement>) || ref;\n const cancelButtonRef = useRef<HTMLDivElement>(null);\n const primaryActionsRef = useRef<HTMLDivElement>(null);\n\n const cancelButton = (\n <Button variant=\"text\" color=\"default\" {...cancelAction?.cancelButtonProps} onClick={onClose}>\n {cancelAction?.label}\n </Button>\n );\n\n return (\n <div {...rest} ref={innerRef} className={`${classes[\"actions\"]} ${className}`}>\n {cancelAction && onClose && (\n <div\n className={`${classes[\"cancel-action\"]} ${cancelActionsClassName}`}\n ref={cancelButtonRef}\n >\n {cancelButton}\n </div>\n )}\n {children && (\n <div ref={primaryActionsRef} className={classes[\"primary-actions\"]}>\n {children}\n </div>\n )}\n </div>\n );\n};\n\nexport const BaseModalActions = React.forwardRef(BaseModalActionsComponent);\n"],"names":["BaseModalActions","React","forwardRef","children","cancelAction","cancelActionsClassName","onClose","className","rest","ref","innerRef","createRef","cancelButtonRef","useRef","primaryActionsRef","cancelButton","createElement","Button","variant","color","cancelButtonProps","onClick","label","classes"
|
|
1
|
+
{"version":3,"file":"BaseModalActions.cjs.js","sources":["../../../../../src/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef, useRef } from \"react\";\nimport classes from \"./BaseModalActions.module.scss\";\nimport { Button, Props as ButtonProps } from \"../../../Button/Button\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n children?: React.ReactNode;\n onClose?: () => void;\n cancelAction?: CancelAction;\n cancelActionsClassName?: string;\n}\n\nexport interface CancelAction {\n label: string;\n cancelButtonProps?: ButtonProps;\n}\n\nconst BaseModalActionsComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { children, cancelAction, cancelActionsClassName = \"\", onClose, className = \"\", ...rest }: Props,\n ref\n) => {\n const innerRef = (React.createRef() as React.RefObject<HTMLDivElement>) || ref;\n const cancelButtonRef = useRef<HTMLDivElement>(null);\n const primaryActionsRef = useRef<HTMLDivElement>(null);\n\n const cancelButton = (\n <Button variant=\"text\" color=\"default\" {...cancelAction?.cancelButtonProps} onClick={onClose}>\n {cancelAction?.label}\n </Button>\n );\n\n return (\n <div {...rest} ref={innerRef} className={`${classes[\"actions\"]} ${className}`}>\n {cancelAction && onClose && (\n <div\n className={`${classes[\"cancel-action\"]} ${cancelActionsClassName}`}\n ref={cancelButtonRef}\n >\n {cancelButton}\n </div>\n )}\n {children && (\n <div ref={primaryActionsRef} className={classes[\"primary-actions\"]}>\n {children}\n </div>\n )}\n </div>\n );\n};\n\nexport const BaseModalActions = React.forwardRef(BaseModalActionsComponent);\n"],"names":["BaseModalActions","React","forwardRef","children","cancelAction","cancelActionsClassName","onClose","className","rest","ref","innerRef","createRef","cancelButtonRef","useRef","primaryActionsRef","cancelButton","createElement","Button","variant","color","cancelButtonProps","onClick","label","classes"],"mappings":"uMAiEaA,EAAmBC,EAAMC,WAjC6C,EAC/EC,WAAUC,eAAcC,yBAAyB,GAAIC,UAASC,YAAY,MAAOC,GACnFC,KAEA,MAAMC,EAAYT,EAAMU,aAAmDF,EACrEG,EAAkBC,EAAAA,OAAuB,MACzCC,EAAoBD,EAAAA,OAAuB,MAE3CE,EACJd,EAAAe,cAACC,EAAAA,OAAA,CAAOC,QAAQ,OAAOC,MAAM,aAAc,MAAAf,OAAA,EAAAA,EAAcgB,kBAAmBC,QAASf,SAClFF,WAAckB,OAInB,OACErB,EAAAe,cAAC,MAAA,IAAQR,EAAMC,IAAKC,EAAUH,UAAW,GAAGgB,EAAAA,QAAiB,WAAKhB,KAC/DH,GAAgBE,GACfL,EAAAe,cAAC,MAAA,CACCT,UAAW,GAAGgB,EAAAA,QAAQ,oBAAoBlB,IAC1CI,IAAKG,GAEJG,GAGJZ,GACCF,EAAAe,cAAC,MAAA,CAAIP,IAAKK,EAAmBP,UAAWgB,EAAAA,QAAQ,oBAC7CpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseModalActions.es.js","sources":["../../../../../src/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef, useRef } from \"react\";\nimport classes from \"./BaseModalActions.module.scss\";\nimport { Button, Props as ButtonProps } from \"../../../Button/Button\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n children?: React.ReactNode;\n onClose?: () => void;\n cancelAction?: CancelAction;\n cancelActionsClassName?: string;\n}\n\nexport interface CancelAction {\n label: string;\n cancelButtonProps?: ButtonProps;\n}\n\nconst BaseModalActionsComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { children, cancelAction, cancelActionsClassName = \"\", onClose, className = \"\", ...rest }: Props,\n ref\n) => {\n const innerRef = (React.createRef() as React.RefObject<HTMLDivElement>) || ref;\n const cancelButtonRef = useRef<HTMLDivElement>(null);\n const primaryActionsRef = useRef<HTMLDivElement>(null);\n\n const cancelButton = (\n <Button variant=\"text\" color=\"default\" {...cancelAction?.cancelButtonProps} onClick={onClose}>\n {cancelAction?.label}\n </Button>\n );\n\n return (\n <div {...rest} ref={innerRef} className={`${classes[\"actions\"]} ${className}`}>\n {cancelAction && onClose && (\n <div\n className={`${classes[\"cancel-action\"]} ${cancelActionsClassName}`}\n ref={cancelButtonRef}\n >\n {cancelButton}\n </div>\n )}\n {children && (\n <div ref={primaryActionsRef} className={classes[\"primary-actions\"]}>\n {children}\n </div>\n )}\n </div>\n );\n};\n\nexport const BaseModalActions = React.forwardRef(BaseModalActionsComponent);\n"],"names":[],"mappings":";;;AAgCA,MAAM,4BAA6E,CACjF,EAAE,UAAU,cAAc,yBAAyB,IAAI,SAAS,YAAY,IAAI,GAAG,KAAA,GACnF,QACG;
|
|
1
|
+
{"version":3,"file":"BaseModalActions.es.js","sources":["../../../../../src/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef, useRef } from \"react\";\nimport classes from \"./BaseModalActions.module.scss\";\nimport { Button, Props as ButtonProps } from \"../../../Button/Button\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n children?: React.ReactNode;\n onClose?: () => void;\n cancelAction?: CancelAction;\n cancelActionsClassName?: string;\n}\n\nexport interface CancelAction {\n label: string;\n cancelButtonProps?: ButtonProps;\n}\n\nconst BaseModalActionsComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { children, cancelAction, cancelActionsClassName = \"\", onClose, className = \"\", ...rest }: Props,\n ref\n) => {\n const innerRef = (React.createRef() as React.RefObject<HTMLDivElement>) || ref;\n const cancelButtonRef = useRef<HTMLDivElement>(null);\n const primaryActionsRef = useRef<HTMLDivElement>(null);\n\n const cancelButton = (\n <Button variant=\"text\" color=\"default\" {...cancelAction?.cancelButtonProps} onClick={onClose}>\n {cancelAction?.label}\n </Button>\n );\n\n return (\n <div {...rest} ref={innerRef} className={`${classes[\"actions\"]} ${className}`}>\n {cancelAction && onClose && (\n <div\n className={`${classes[\"cancel-action\"]} ${cancelActionsClassName}`}\n ref={cancelButtonRef}\n >\n {cancelButton}\n </div>\n )}\n {children && (\n <div ref={primaryActionsRef} className={classes[\"primary-actions\"]}>\n {children}\n </div>\n )}\n </div>\n );\n};\n\nexport const BaseModalActions = React.forwardRef(BaseModalActionsComponent);\n"],"names":[],"mappings":";;;AAgCA,MAAM,4BAA6E,CACjF,EAAE,UAAU,cAAc,yBAAyB,IAAI,SAAS,YAAY,IAAI,GAAG,KAAA,GACnF,QACG;AACH,QAAM,WAAY,MAAM,UAAA,KAAmD;AAC3E,QAAM,kBAAkB,OAAuB,IAAI;AACnD,QAAM,oBAAoB,OAAuB,IAAI;AAErD,QAAM,eACJ,sBAAA,cAAC,QAAA,EAAO,SAAQ,QAAO,OAAM,WAAW,GAAG,6CAAc,mBAAmB,SAAS,QAAA,GAClF,6CAAc,KACjB;AAGF,SACE,sBAAA,cAAC,OAAA,EAAK,GAAG,MAAM,KAAK,UAAU,WAAW,GAAG,QAAQ,SAAS,CAAC,IAAI,SAAS,GAAA,GACxE,gBAAgB,WACf,sBAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW,GAAG,QAAQ,eAAe,CAAC,IAAI,sBAAsB;AAAA,MAChE,KAAK;AAAA,IAAA;AAAA,IAEJ;AAAA,EAAA,GAGJ,YACC,sBAAA,cAAC,OAAA,EAAI,KAAK,mBAAmB,WAAW,QAAQ,iBAAiB,EAAA,GAC9D,QACH,CAEJ;AAEJ;AAEO,MAAM,mBAAmB,MAAM,WAAW,yBAAyB;"}
|
package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.cjs.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
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 */.
|
|
2
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="
|
|
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 */.BaseModalActions_actions_jyx43{margin:1.5rem 0 1rem;padding:1rem 1.5rem 0;display:flex;justify-content:space-between;border-top:1px solid var(--color-blue-grey100)}.BaseModalActions_actions_jyx43>*+*{margin-left:2rem}@media screen and (max-width:640px){.BaseModalActions_actions_jyx43{display:block}.BaseModalActions_actions_jyx43 .BaseModalActions_cancel-action_jyx43{display:none}.BaseModalActions_actions_jyx43 .BaseModalActions_primary-actions_jyx43{flex-direction:column;align-items:flex-end;margin-left:0}.BaseModalActions_actions_jyx43 .BaseModalActions_primary-actions_jyx43>*{width:100%}.BaseModalActions_actions_jyx43 .BaseModalActions_primary-actions_jyx43>*+*{margin-top:.5rem}}.BaseModalActions_primary-actions_jyx43{display:flex;flex-grow:1;justify-content:flex-end}.BaseModalActions_primary-actions_jyx43 button{white-space:nowrap}@media screen and (min-width:640px){.BaseModalActions_primary-actions_jyx43 button+button{margin-left:.5rem}}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="BaseModalActions_actions_jyx43",a={actions:o,"cancel-action":"BaseModalActions_cancel-action_jyx43","primary-actions":"BaseModalActions_primary-actions_jyx43"};exports.actions=o,exports.default=a;
|
|
3
3
|
//# sourceMappingURL=BaseModalActions.module.scss.cjs.js.map
|
package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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 */.
|
|
2
|
-
const actions = "
|
|
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 */.BaseModalActions_actions_jyx43{margin:1.5rem 0 1rem;padding:1rem 1.5rem 0;display:flex;justify-content:space-between;border-top:1px solid var(--color-blue-grey100)}.BaseModalActions_actions_jyx43>*+*{margin-left:2rem}@media screen and (max-width:640px){.BaseModalActions_actions_jyx43{display:block}.BaseModalActions_actions_jyx43 .BaseModalActions_cancel-action_jyx43{display:none}.BaseModalActions_actions_jyx43 .BaseModalActions_primary-actions_jyx43{flex-direction:column;align-items:flex-end;margin-left:0}.BaseModalActions_actions_jyx43 .BaseModalActions_primary-actions_jyx43>*{width:100%}.BaseModalActions_actions_jyx43 .BaseModalActions_primary-actions_jyx43>*+*{margin-top:.5rem}}.BaseModalActions_primary-actions_jyx43{display:flex;flex-grow:1;justify-content:flex-end}.BaseModalActions_primary-actions_jyx43 button{white-space:nowrap}@media screen and (min-width:640px){.BaseModalActions_primary-actions_jyx43 button+button{margin-left:.5rem}}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
|
|
2
|
+
const actions = "BaseModalActions_actions_jyx43";
|
|
3
3
|
const classes = {
|
|
4
4
|
actions,
|
|
5
|
-
"cancel-action": "BaseModalActions_cancel-
|
|
6
|
-
"primary-actions": "BaseModalActions_primary-
|
|
5
|
+
"cancel-action": "BaseModalActions_cancel-action_jyx43",
|
|
6
|
+
"primary-actions": "BaseModalActions_primary-actions_jyx43"
|
|
7
7
|
};
|
|
8
8
|
export {
|
|
9
9
|
actions,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),t=require("./BaseModalContent.module.scss.cjs.js"),r=e.forwardRef((
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),t=require("./BaseModalContent.module.scss.cjs.js"),r=e.forwardRef(({id:r,children:s,className:c="",disableAutoFocus:o=!1,...a},n)=>{const u=e.createRef();return e.useEffect(()=>{var e,t;!o&&n?null==(e=n.current)||e.focus():o||null==(t=u.current)||t.focus()},[]),e.createElement("div",{...a,ref:n??u,id:r,className:`${t.default.content} ${c}`,tabIndex:-1},s)});exports.BaseModalContent=r;
|
|
2
2
|
//# sourceMappingURL=BaseModalContent.cjs.js.map
|
package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseModalContent.cjs.js","sources":["../../../../../src/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, {\n ForwardRefRenderFunction,\n ComponentPropsWithRef,\n createRef,\n useEffect\n} from \"react\";\nimport classes from \"./BaseModalContent.module.scss\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id?: string;\n children: React.ReactNode;\n className?: string;\n disableAutoFocus?: boolean;\n}\n\nconst BaseModalContentComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { id, children, className = \"\", disableAutoFocus = false, ...rest }: Props,\n ref\n) => {\n const contentRef = createRef<HTMLDivElement>();\n\n useEffect(() => {\n if (!disableAutoFocus && ref) {\n (ref as React.RefObject<HTMLDivElement>).current?.focus();\n } else if (!disableAutoFocus) {\n contentRef.current?.focus();\n }\n }, []);\n\n /**tabIndex is set to be able to do focus on that element which we need for catching keyDown events */\n return (\n <div\n {...rest}\n ref={ref ?? contentRef}\n id={id}\n className={`${classes[\"content\"]} ${className}`}\n tabIndex={-1}\n >\n {children}\n </div>\n );\n};\n\nexport const BaseModalContent = React.forwardRef(BaseModalContentComponent);\n"],"names":["BaseModalContent","React","forwardRef","id","children","className","disableAutoFocus","rest","ref","contentRef","createRef","useEffect","_a","current","focus","_b","createElement","classes","
|
|
1
|
+
{"version":3,"file":"BaseModalContent.cjs.js","sources":["../../../../../src/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, {\n ForwardRefRenderFunction,\n ComponentPropsWithRef,\n createRef,\n useEffect\n} from \"react\";\nimport classes from \"./BaseModalContent.module.scss\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id?: string;\n children: React.ReactNode;\n className?: string;\n disableAutoFocus?: boolean;\n}\n\nconst BaseModalContentComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { id, children, className = \"\", disableAutoFocus = false, ...rest }: Props,\n ref\n) => {\n const contentRef = createRef<HTMLDivElement>();\n\n useEffect(() => {\n if (!disableAutoFocus && ref) {\n (ref as React.RefObject<HTMLDivElement>).current?.focus();\n } else if (!disableAutoFocus) {\n contentRef.current?.focus();\n }\n }, []);\n\n /**tabIndex is set to be able to do focus on that element which we need for catching keyDown events */\n return (\n <div\n {...rest}\n ref={ref ?? contentRef}\n id={id}\n className={`${classes[\"content\"]} ${className}`}\n tabIndex={-1}\n >\n {children}\n </div>\n );\n};\n\nexport const BaseModalContent = React.forwardRef(BaseModalContentComponent);\n"],"names":["BaseModalContent","React","forwardRef","id","children","className","disableAutoFocus","rest","ref","contentRef","createRef","useEffect","_a","current","focus","_b","createElement","classes","tabIndex"],"mappings":"4JA2DaA,EAAmBC,EAAMC,WA5B6C,EAC/EC,KAAIC,WAAUC,YAAY,GAAIC,oBAAmB,KAAUC,GAC7DC,KAEA,MAAMC,EAAaC,EAAAA,YAWnB,OATAC,EAAAA,UAAU,cACHL,GAAoBE,EACtB,OAAAI,EAAAJ,EAAwCK,UAAxCD,EAAiDE,QACxCR,GACV,OAAAS,EAAAN,EAAWI,UAAXE,EAAoBD,SAErB,IAIDb,EAAAe,cAAC,MAAA,IACKT,EACJC,IAAKA,GAAOC,EACZN,KACAE,UAAW,GAAGY,EAAAA,QAAiB,WAAKZ,IACpCa,UAAU,GAETd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseModalContent.es.js","sources":["../../../../../src/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, {\n ForwardRefRenderFunction,\n ComponentPropsWithRef,\n createRef,\n useEffect\n} from \"react\";\nimport classes from \"./BaseModalContent.module.scss\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id?: string;\n children: React.ReactNode;\n className?: string;\n disableAutoFocus?: boolean;\n}\n\nconst BaseModalContentComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { id, children, className = \"\", disableAutoFocus = false, ...rest }: Props,\n ref\n) => {\n const contentRef = createRef<HTMLDivElement>();\n\n useEffect(() => {\n if (!disableAutoFocus && ref) {\n (ref as React.RefObject<HTMLDivElement>).current?.focus();\n } else if (!disableAutoFocus) {\n contentRef.current?.focus();\n }\n }, []);\n\n /**tabIndex is set to be able to do focus on that element which we need for catching keyDown events */\n return (\n <div\n {...rest}\n ref={ref ?? contentRef}\n id={id}\n className={`${classes[\"content\"]} ${className}`}\n tabIndex={-1}\n >\n {children}\n </div>\n );\n};\n\nexport const BaseModalContent = React.forwardRef(BaseModalContentComponent);\n"],"names":[],"mappings":";;AA+BA,MAAM,4BAA6E,CACjF,EAAE,IAAI,UAAU,YAAY,IAAI,mBAAmB,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"BaseModalContent.es.js","sources":["../../../../../src/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, {\n ForwardRefRenderFunction,\n ComponentPropsWithRef,\n createRef,\n useEffect\n} from \"react\";\nimport classes from \"./BaseModalContent.module.scss\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id?: string;\n children: React.ReactNode;\n className?: string;\n disableAutoFocus?: boolean;\n}\n\nconst BaseModalContentComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { id, children, className = \"\", disableAutoFocus = false, ...rest }: Props,\n ref\n) => {\n const contentRef = createRef<HTMLDivElement>();\n\n useEffect(() => {\n if (!disableAutoFocus && ref) {\n (ref as React.RefObject<HTMLDivElement>).current?.focus();\n } else if (!disableAutoFocus) {\n contentRef.current?.focus();\n }\n }, []);\n\n /**tabIndex is set to be able to do focus on that element which we need for catching keyDown events */\n return (\n <div\n {...rest}\n ref={ref ?? contentRef}\n id={id}\n className={`${classes[\"content\"]} ${className}`}\n tabIndex={-1}\n >\n {children}\n </div>\n );\n};\n\nexport const BaseModalContent = React.forwardRef(BaseModalContentComponent);\n"],"names":[],"mappings":";;AA+BA,MAAM,4BAA6E,CACjF,EAAE,IAAI,UAAU,YAAY,IAAI,mBAAmB,OAAO,GAAG,KAAA,GAC7D,QACG;AACH,QAAM,aAAa,UAAA;AAEnB,YAAU,MAAM;;AACd,QAAI,CAAC,oBAAoB,KAAK;AAC3B,gBAAwC,YAAxC,mBAAiD;AAAA,IACpD,WAAW,CAAC,kBAAkB;AAC5B,uBAAW,YAAX,mBAAoB;AAAA,IACtB;AAAA,EACF,GAAG,CAAA,CAAE;AAGL,SACE,sBAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACE,GAAG;AAAA,MACJ,KAAK,OAAO;AAAA,MACZ;AAAA,MACA,WAAW,GAAG,QAAQ,SAAS,CAAC,IAAI,SAAS;AAAA,MAC7C,UAAU;AAAA,IAAA;AAAA,IAET;AAAA,EAAA;AAGP;AAEO,MAAM,mBAAmB,MAAM,WAAW,yBAAyB;"}
|
package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.cjs.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
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 */.
|
|
2
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="
|
|
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 */.BaseModalContent_content_jyx43{padding:1.25rem 1.5rem 0;overflow-y:auto;flex:1;outline:none;font-size:var(--modal-content-font-size);line-height:1.43;overflow-wrap:break-word}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="BaseModalContent_content_jyx43",t={content:e};exports.content=e,exports.default=t;
|
|
3
3
|
//# sourceMappingURL=BaseModalContent.module.scss.cjs.js.map
|
package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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 */.
|
|
2
|
-
const content = "
|
|
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 */.BaseModalContent_content_jyx43{padding:1.25rem 1.5rem 0;overflow-y:auto;flex:1;outline:none;font-size:var(--modal-content-font-size);line-height:1.43;overflow-wrap:break-word}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
|
|
2
|
+
const content = "BaseModalContent_content_jyx43";
|
|
3
3
|
const classes = {
|
|
4
4
|
content
|
|
5
5
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),a=require("./BaseModalHeader.module.scss.cjs.js"),t=require("../../../Button/IconButton.cjs.js"),r=require("../../../Icon/Icon.cjs.js"),s=require("../../../Typography/Typography.cjs.js"),l=e.forwardRef((
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),a=require("./BaseModalHeader.module.scss.cjs.js"),t=require("../../../Button/IconButton.cjs.js"),r=require("../../../Icon/Icon.cjs.js"),s=require("../../../Typography/Typography.cjs.js"),l=e.forwardRef(({id:l,title:c,children:o,onClose:n,description:i,className:d,...m},u)=>e.createElement("div",{...m,ref:u,className:`${a.default.header} ${d}`},e.createElement("div",{className:a.default.headline},e.createElement("div",{className:a.default["title-wrapper"]},e.createElement(s.Typography,{id:l,className:a.default.title,tag:"h1",spacing:{marginBottom:0},variant:"h4"},c),i&&e.createElement(s.Typography,{id:l,className:a.default.title,tag:"span",spacing:{marginBottom:0},variant:"body"},i)),e.createElement(t.IconButton,{onClick:n,className:a.default.closeBtn,title:"close modal"},e.createElement(r.Icon,{icon:r.Icons.Times}))),o));exports.BaseModalHeader=l;
|
|
2
2
|
//# sourceMappingURL=BaseModalHeader.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseModalHeader.cjs.js","sources":["../../../../../src/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef } from \"react\";\nimport classes from \"./BaseModalHeader.module.scss\";\nimport { IconButton } from \"../../../Button/IconButton\";\nimport { Icon, Icons } from \"../../../Icon/Icon\";\nimport { Typography } from \"../../../Typography/Typography\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id: string;\n title: string;\n description?: string;\n children?: React.ReactNode;\n onClose?: (event: React.MouseEvent<HTMLButtonElement>) => void;\n}\n\nconst BaseModalHeaderComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { id, title, children, onClose, description, className, ...rest }: Props,\n ref\n) => {\n return (\n <div {...rest} ref={ref} className={`${classes[\"header\"]} ${className}`}>\n <div className={classes[\"headline\"]}>\n <div className={classes[\"title-wrapper\"]}>\n <Typography\n id={id}\n className={classes[\"title\"]}\n tag=\"h1\"\n spacing={{ marginBottom: 0 }}\n variant=\"h4\"\n >\n {title}\n </Typography>\n {description && (\n <Typography\n id={id}\n className={classes[\"title\"]}\n tag=\"span\"\n spacing={{ marginBottom: 0 }}\n variant=\"body\"\n >\n {description}\n </Typography>\n )}\n </div>\n <IconButton onClick={onClose} className={classes[\"closeBtn\"]} title=\"close modal\">\n <Icon icon={Icons.Times} />\n </IconButton>\n </div>\n {children}\n </div>\n );\n};\n\nexport const BaseModalHeader = React.forwardRef(BaseModalHeaderComponent);\n"],"names":["BaseModalHeader","React","forwardRef","id","title","children","onClose","description","className","rest","ref","createElement","classes","
|
|
1
|
+
{"version":3,"file":"BaseModalHeader.cjs.js","sources":["../../../../../src/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef } from \"react\";\nimport classes from \"./BaseModalHeader.module.scss\";\nimport { IconButton } from \"../../../Button/IconButton\";\nimport { Icon, Icons } from \"../../../Icon/Icon\";\nimport { Typography } from \"../../../Typography/Typography\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id: string;\n title: string;\n description?: string;\n children?: React.ReactNode;\n onClose?: (event: React.MouseEvent<HTMLButtonElement>) => void;\n}\n\nconst BaseModalHeaderComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { id, title, children, onClose, description, className, ...rest }: Props,\n ref\n) => {\n return (\n <div {...rest} ref={ref} className={`${classes[\"header\"]} ${className}`}>\n <div className={classes[\"headline\"]}>\n <div className={classes[\"title-wrapper\"]}>\n <Typography\n id={id}\n className={classes[\"title\"]}\n tag=\"h1\"\n spacing={{ marginBottom: 0 }}\n variant=\"h4\"\n >\n {title}\n </Typography>\n {description && (\n <Typography\n id={id}\n className={classes[\"title\"]}\n tag=\"span\"\n spacing={{ marginBottom: 0 }}\n variant=\"body\"\n >\n {description}\n </Typography>\n )}\n </div>\n <IconButton onClick={onClose} className={classes[\"closeBtn\"]} title=\"close modal\">\n <Icon icon={Icons.Times} />\n </IconButton>\n </div>\n {children}\n </div>\n );\n};\n\nexport const BaseModalHeader = React.forwardRef(BaseModalHeaderComponent);\n"],"names":["BaseModalHeader","React","forwardRef","id","title","children","onClose","description","className","rest","ref","createElement","classes","Typography","tag","spacing","marginBottom","variant","IconButton","onClick","Icon","icon","Icons","Times"],"mappings":"oSAoEaA,EAAkBC,EAAMC,WAtC6C,EAC9EC,KAAIC,QAAOC,WAAUC,UAASC,cAAaC,eAAcC,GAC3DC,MAGEC,cAAC,MAAA,IAAQF,EAAMC,MAAUF,UAAW,GAAGI,EAAAA,QAAgB,UAAKJ,KAC1DP,EAAAU,cAAC,MAAA,CAAIH,UAAWI,EAAAA,QAAkB,0BAC/B,MAAA,CAAIJ,UAAWI,EAAAA,QAAQ,kBACtBX,EAAAU,cAACE,EAAAA,WAAA,CACCV,KACAK,UAAWI,EAAAA,QAAe,MAC1BE,IAAI,KACJC,QAAS,CAAEC,aAAc,GACzBC,QAAQ,MAEPb,GAEFG,GACCN,EAAAU,cAACE,EAAAA,WAAA,CACCV,KACAK,UAAWI,EAAAA,QAAe,MAC1BE,IAAI,OACJC,QAAS,CAAEC,aAAc,GACzBC,QAAQ,QAEPV,IAIPN,EAAAU,cAACO,aAAA,CAAWC,QAASb,EAASE,UAAWI,UAAkB,SAAGR,MAAM,eAClEH,EAAAU,cAACS,EAAAA,MAAKC,KAAMC,EAAAA,MAAMC,UAGrBlB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseModalHeader.es.js","sources":["../../../../../src/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef } from \"react\";\nimport classes from \"./BaseModalHeader.module.scss\";\nimport { IconButton } from \"../../../Button/IconButton\";\nimport { Icon, Icons } from \"../../../Icon/Icon\";\nimport { Typography } from \"../../../Typography/Typography\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id: string;\n title: string;\n description?: string;\n children?: React.ReactNode;\n onClose?: (event: React.MouseEvent<HTMLButtonElement>) => void;\n}\n\nconst BaseModalHeaderComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { id, title, children, onClose, description, className, ...rest }: Props,\n ref\n) => {\n return (\n <div {...rest} ref={ref} className={`${classes[\"header\"]} ${className}`}>\n <div className={classes[\"headline\"]}>\n <div className={classes[\"title-wrapper\"]}>\n <Typography\n id={id}\n className={classes[\"title\"]}\n tag=\"h1\"\n spacing={{ marginBottom: 0 }}\n variant=\"h4\"\n >\n {title}\n </Typography>\n {description && (\n <Typography\n id={id}\n className={classes[\"title\"]}\n tag=\"span\"\n spacing={{ marginBottom: 0 }}\n variant=\"body\"\n >\n {description}\n </Typography>\n )}\n </div>\n <IconButton onClick={onClose} className={classes[\"closeBtn\"]} title=\"close modal\">\n <Icon icon={Icons.Times} />\n </IconButton>\n </div>\n {children}\n </div>\n );\n};\n\nexport const BaseModalHeader = React.forwardRef(BaseModalHeaderComponent);\n"],"names":[],"mappings":";;;;;AA8BA,MAAM,2BAA4E,CAChF,EAAE,IAAI,OAAO,UAAU,SAAS,aAAa,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"BaseModalHeader.es.js","sources":["../../../../../src/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef } from \"react\";\nimport classes from \"./BaseModalHeader.module.scss\";\nimport { IconButton } from \"../../../Button/IconButton\";\nimport { Icon, Icons } from \"../../../Icon/Icon\";\nimport { Typography } from \"../../../Typography/Typography\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id: string;\n title: string;\n description?: string;\n children?: React.ReactNode;\n onClose?: (event: React.MouseEvent<HTMLButtonElement>) => void;\n}\n\nconst BaseModalHeaderComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { id, title, children, onClose, description, className, ...rest }: Props,\n ref\n) => {\n return (\n <div {...rest} ref={ref} className={`${classes[\"header\"]} ${className}`}>\n <div className={classes[\"headline\"]}>\n <div className={classes[\"title-wrapper\"]}>\n <Typography\n id={id}\n className={classes[\"title\"]}\n tag=\"h1\"\n spacing={{ marginBottom: 0 }}\n variant=\"h4\"\n >\n {title}\n </Typography>\n {description && (\n <Typography\n id={id}\n className={classes[\"title\"]}\n tag=\"span\"\n spacing={{ marginBottom: 0 }}\n variant=\"body\"\n >\n {description}\n </Typography>\n )}\n </div>\n <IconButton onClick={onClose} className={classes[\"closeBtn\"]} title=\"close modal\">\n <Icon icon={Icons.Times} />\n </IconButton>\n </div>\n {children}\n </div>\n );\n};\n\nexport const BaseModalHeader = React.forwardRef(BaseModalHeaderComponent);\n"],"names":[],"mappings":";;;;;AA8BA,MAAM,2BAA4E,CAChF,EAAE,IAAI,OAAO,UAAU,SAAS,aAAa,WAAW,GAAG,KAAA,GAC3D,QACG;AACH,SACE,sBAAA,cAAC,OAAA,EAAK,GAAG,MAAM,KAAU,WAAW,GAAG,QAAQ,QAAQ,CAAC,IAAI,SAAS,MACnE,sBAAA,cAAC,OAAA,EAAI,WAAW,QAAQ,UAAU,EAAA,uCAC/B,OAAA,EAAI,WAAW,QAAQ,eAAe,EAAA,GACrC,sBAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC;AAAA,MACA,WAAW,QAAQ,OAAO;AAAA,MAC1B,KAAI;AAAA,MACJ,SAAS,EAAE,cAAc,EAAA;AAAA,MACzB,SAAQ;AAAA,IAAA;AAAA,IAEP;AAAA,EAAA,GAEF,eACC,sBAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC;AAAA,MACA,WAAW,QAAQ,OAAO;AAAA,MAC1B,KAAI;AAAA,MACJ,SAAS,EAAE,cAAc,EAAA;AAAA,MACzB,SAAQ;AAAA,IAAA;AAAA,IAEP;AAAA,EAAA,CAGP,GACA,sBAAA,cAAC,YAAA,EAAW,SAAS,SAAS,WAAW,QAAQ,UAAU,GAAG,OAAM,cAAA,GAClE,sBAAA,cAAC,QAAK,MAAM,MAAM,OAAO,CAC3B,CACF,GACC,QACH;AAEJ;AAEO,MAAM,kBAAkB,MAAM,WAAW,wBAAwB;"}
|
package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.cjs.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
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 */.
|
|
2
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="
|
|
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 */.BaseModalHeader_header_jyx43{min-width:80px;padding:1.25rem 1.5rem 0;border-top-left-radius:8px;border-top-right-radius:8px}.BaseModalHeader_header_jyx43 .BaseModalHeader_headline_jyx43{display:flex;align-items:center;justify-content:space-between}.BaseModalHeader_header_jyx43 .BaseModalHeader_headline_jyx43 .BaseModalHeader_title-wrapper_jyx43{min-width:0}.BaseModalHeader_header_jyx43 .BaseModalHeader_headline_jyx43 .BaseModalHeader_title_jyx43{min-width:0;margin:0;color:var(--modal-title-color);overflow-wrap:break-word}.BaseModalHeader_header_jyx43 .BaseModalHeader_closeBtn_jyx43{flex-shrink:0;align-self:flex-start}')),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}}();
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="BaseModalHeader_header_jyx43",a="BaseModalHeader_headline_jyx43",t="BaseModalHeader_title_jyx43",l="BaseModalHeader_closeBtn_jyx43",r={header:e,headline:a,"title-wrapper":"BaseModalHeader_title-wrapper_jyx43",title:t,closeBtn:l};exports.closeBtn=l,exports.default=r,exports.header=e,exports.headline=a,exports.title=t;
|
|
3
3
|
//# sourceMappingURL=BaseModalHeader.module.scss.cjs.js.map
|
package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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 */.
|
|
2
|
-
const header = "
|
|
3
|
-
const headline = "
|
|
4
|
-
const title = "
|
|
5
|
-
const closeBtn = "
|
|
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 */.BaseModalHeader_header_jyx43{min-width:80px;padding:1.25rem 1.5rem 0;border-top-left-radius:8px;border-top-right-radius:8px}.BaseModalHeader_header_jyx43 .BaseModalHeader_headline_jyx43{display:flex;align-items:center;justify-content:space-between}.BaseModalHeader_header_jyx43 .BaseModalHeader_headline_jyx43 .BaseModalHeader_title-wrapper_jyx43{min-width:0}.BaseModalHeader_header_jyx43 .BaseModalHeader_headline_jyx43 .BaseModalHeader_title_jyx43{min-width:0;margin:0;color:var(--modal-title-color);overflow-wrap:break-word}.BaseModalHeader_header_jyx43 .BaseModalHeader_closeBtn_jyx43{flex-shrink:0;align-self:flex-start}')),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}}();
|
|
2
|
+
const header = "BaseModalHeader_header_jyx43";
|
|
3
|
+
const headline = "BaseModalHeader_headline_jyx43";
|
|
4
|
+
const title = "BaseModalHeader_title_jyx43";
|
|
5
|
+
const closeBtn = "BaseModalHeader_closeBtn_jyx43";
|
|
6
6
|
const classes = {
|
|
7
7
|
header,
|
|
8
8
|
headline,
|
|
9
|
-
"title-wrapper": "BaseModalHeader_title-
|
|
9
|
+
"title-wrapper": "BaseModalHeader_title-wrapper_jyx43",
|
|
10
10
|
title,
|
|
11
11
|
closeBtn
|
|
12
12
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),t=require("../BaseModal/BaseModal.cjs.js"),o=require("../BaseModal/BaseModalContent/BaseModalContent.cjs.js"),a=require("./DialogActions/DialogActions.cjs.js"),n=require("./Dialog.module.scss.cjs.js"),i=require("./DialogTitle/DialogTitle.cjs.js"),l=require("../../Button/Button.cjs.js"),s=require("../BaseModal/BaseModalContext.cjs.js"),r=require("../../../util/helper.cjs.js"),c={inert:!0},u=e.forwardRef((
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),t=require("../BaseModal/BaseModal.cjs.js"),o=require("../BaseModal/BaseModalContent/BaseModalContent.cjs.js"),a=require("./DialogActions/DialogActions.cjs.js"),n=require("./Dialog.module.scss.cjs.js"),i=require("./DialogTitle/DialogTitle.cjs.js"),l=require("../../Button/Button.cjs.js"),s=require("../BaseModal/BaseModalContext.cjs.js"),r=require("../../../util/helper.cjs.js"),c={inert:!0},u=e.forwardRef(({id:u,open:d,children:j,onClose:m,title:p,primaryAction:g,secondaryAction:B,cancelAction:y,zIndex:C,titleIcon:D,caption:M,...b},q)=>{const[A]=e.useState(u??r.generateID(20)),{label:f,...E}=g,I=e.createElement(l.Button,{key:"primary",...E},f),x=B&&function(){const{label:t,...o}=B;return e.createElement(l.Button,{key:"tertiary",variant:"outline",...o},t)}();return e.createElement(t.BaseModal,{...b,ref:q,id:A,className:n.default.dialog,containerProps:{className:n.default.container},open:d,onClose:m,zIndex:C,disableContentAutoFocus:!0},e.createElement(i.DialogTitle,{titleIcon:D,caption:M,id:s.labelId(A),title:p,onClose:m}),e.createElement(o.BaseModalContent,{id:s.descriptionId(A),className:n.default.content,disableAutoFocus:!0},j),e.createElement(a.DialogActions,{onClose:m,cancelAction:y},[x,I]),e.createElement("input",{autoFocus:!0,...c,style:{position:"absolute",width:0,height:0,opacity:0},maxLength:0,tabIndex:-1,onKeyDown:e=>{"Enter"===e.key&&g.onClick()}}))});exports.Dialog=u;
|
|
2
2
|
//# sourceMappingURL=Dialog.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.cjs.js","sources":["../../../../src/components/Notifications/Dialog/Dialog.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef, useState } from \"react\";\nimport { BaseModal } from \"../BaseModal/BaseModal\";\nimport { BaseModalContent } from \"../BaseModal/BaseModalContent/BaseModalContent\";\nimport { DialogActions } from \"./DialogActions/DialogActions\";\nimport classes from \"./Dialog.module.scss\";\nimport { DialogTitle } from \"./DialogTitle/DialogTitle\";\nimport { Button, Props as ButtonProps } from \"../../Button/Button\";\nimport { labelId, descriptionId } from \"../BaseModal/BaseModalContext\";\nimport { generateID } from \"../../../util/helper\";\nimport { CancelAction } from \"../BaseModal/BaseModalActions/BaseModalActions\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id?: string;\n open: boolean;\n children: React.ReactNode;\n onClose?: () => void;\n title: string;\n primaryAction: Action;\n secondaryAction?: Action;\n cancelAction?: CancelAction;\n zIndex?: number;\n disableEscapeKeyDown?: boolean;\n titleIcon?: React.ReactNode;\n caption?: string;\n}\n\nexport interface Action extends Omit<ButtonProps, \"variant\" | \"ref\"> {\n label: string;\n onClick: (event?: React.MouseEvent<HTMLButtonElement>) => unknown;\n}\n\nconst hideFromAccessibility: React.InputHTMLAttributes<HTMLInputElement> = {\n // it's new HTML attribute\n inert: true\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n} as any;\n\nconst DialogComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n {\n id,\n open,\n children,\n onClose,\n title,\n primaryAction,\n secondaryAction,\n cancelAction,\n zIndex,\n titleIcon,\n caption,\n ...rest\n }: Props,\n ref\n) => {\n const [dialogId] = useState(id ?? generateID(20));\n const { label: primaryLabel, ...restOfPrimaryAction } = primaryAction;\n const PrimaryButton = (\n <Button key=\"primary\" {...restOfPrimaryAction}>\n {primaryLabel}\n </Button>\n );\n\n const SecondaryButton =\n secondaryAction &&\n (function () {\n const { label: secondaryLabel, ...restOfSecondaryAction } = secondaryAction;\n return (\n <Button key=\"tertiary\" variant=\"outline\" {...restOfSecondaryAction}>\n {secondaryLabel}\n </Button>\n );\n })();\n\n const onHiddenInputKeyPress = (event: React.KeyboardEvent<HTMLInputElement>) => {\n /** It has to be here because then we will need to check if user doesn't click tab to select action button and want to do another action then primary one? */\n if (event.key === \"Enter\") {\n primaryAction.onClick();\n }\n };\n\n return (\n <BaseModal\n {...rest}\n ref={ref}\n id={dialogId}\n className={classes[\"dialog\"]}\n containerProps={{ className: classes[\"container\"] }}\n open={open}\n onClose={onClose}\n zIndex={zIndex}\n disableContentAutoFocus\n >\n <DialogTitle\n titleIcon={titleIcon}\n caption={caption}\n id={labelId(dialogId)}\n title={title}\n onClose={onClose}\n />\n <BaseModalContent\n id={descriptionId(dialogId)}\n className={classes[\"content\"]}\n disableAutoFocus\n >\n {children}\n </BaseModalContent>\n <DialogActions onClose={onClose} cancelAction={cancelAction}>\n {[SecondaryButton, PrimaryButton]}\n </DialogActions>\n <input\n autoFocus\n {...hideFromAccessibility}\n style={{\n position: \"absolute\",\n width: 0,\n height: 0,\n opacity: 0\n }}\n maxLength={0}\n tabIndex={-1}\n onKeyDown={onHiddenInputKeyPress}\n />\n </BaseModal>\n );\n};\n\nexport const Dialog = React.forwardRef(DialogComponent);\n"],"names":["hideFromAccessibility","inert","Dialog","React","forwardRef","id","open","children","onClose","title","primaryAction","secondaryAction","cancelAction","zIndex","titleIcon","caption","rest","ref","dialogId","useState","generateID","label","primaryLabel","restOfPrimaryAction","PrimaryButton","createElement","Button","key","SecondaryButton","secondaryLabel","restOfSecondaryAction","variant","BaseModal","className","classes","containerProps","
|
|
1
|
+
{"version":3,"file":"Dialog.cjs.js","sources":["../../../../src/components/Notifications/Dialog/Dialog.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef, useState } from \"react\";\nimport { BaseModal } from \"../BaseModal/BaseModal\";\nimport { BaseModalContent } from \"../BaseModal/BaseModalContent/BaseModalContent\";\nimport { DialogActions } from \"./DialogActions/DialogActions\";\nimport classes from \"./Dialog.module.scss\";\nimport { DialogTitle } from \"./DialogTitle/DialogTitle\";\nimport { Button, Props as ButtonProps } from \"../../Button/Button\";\nimport { labelId, descriptionId } from \"../BaseModal/BaseModalContext\";\nimport { generateID } from \"../../../util/helper\";\nimport { CancelAction } from \"../BaseModal/BaseModalActions/BaseModalActions\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id?: string;\n open: boolean;\n children: React.ReactNode;\n onClose?: () => void;\n title: string;\n primaryAction: Action;\n secondaryAction?: Action;\n cancelAction?: CancelAction;\n zIndex?: number;\n disableEscapeKeyDown?: boolean;\n titleIcon?: React.ReactNode;\n caption?: string;\n}\n\nexport interface Action extends Omit<ButtonProps, \"variant\" | \"ref\"> {\n label: string;\n onClick: (event?: React.MouseEvent<HTMLButtonElement>) => unknown;\n}\n\nconst hideFromAccessibility: React.InputHTMLAttributes<HTMLInputElement> = {\n // it's new HTML attribute\n inert: true\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n} as any;\n\nconst DialogComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n {\n id,\n open,\n children,\n onClose,\n title,\n primaryAction,\n secondaryAction,\n cancelAction,\n zIndex,\n titleIcon,\n caption,\n ...rest\n }: Props,\n ref\n) => {\n const [dialogId] = useState(id ?? generateID(20));\n const { label: primaryLabel, ...restOfPrimaryAction } = primaryAction;\n const PrimaryButton = (\n <Button key=\"primary\" {...restOfPrimaryAction}>\n {primaryLabel}\n </Button>\n );\n\n const SecondaryButton =\n secondaryAction &&\n (function () {\n const { label: secondaryLabel, ...restOfSecondaryAction } = secondaryAction;\n return (\n <Button key=\"tertiary\" variant=\"outline\" {...restOfSecondaryAction}>\n {secondaryLabel}\n </Button>\n );\n })();\n\n const onHiddenInputKeyPress = (event: React.KeyboardEvent<HTMLInputElement>) => {\n /** It has to be here because then we will need to check if user doesn't click tab to select action button and want to do another action then primary one? */\n if (event.key === \"Enter\") {\n primaryAction.onClick();\n }\n };\n\n return (\n <BaseModal\n {...rest}\n ref={ref}\n id={dialogId}\n className={classes[\"dialog\"]}\n containerProps={{ className: classes[\"container\"] }}\n open={open}\n onClose={onClose}\n zIndex={zIndex}\n disableContentAutoFocus\n >\n <DialogTitle\n titleIcon={titleIcon}\n caption={caption}\n id={labelId(dialogId)}\n title={title}\n onClose={onClose}\n />\n <BaseModalContent\n id={descriptionId(dialogId)}\n className={classes[\"content\"]}\n disableAutoFocus\n >\n {children}\n </BaseModalContent>\n <DialogActions onClose={onClose} cancelAction={cancelAction}>\n {[SecondaryButton, PrimaryButton]}\n </DialogActions>\n <input\n autoFocus\n {...hideFromAccessibility}\n style={{\n position: \"absolute\",\n width: 0,\n height: 0,\n opacity: 0\n }}\n maxLength={0}\n tabIndex={-1}\n onKeyDown={onHiddenInputKeyPress}\n />\n </BaseModal>\n );\n};\n\nexport const Dialog = React.forwardRef(DialogComponent);\n"],"names":["hideFromAccessibility","inert","Dialog","React","forwardRef","id","open","children","onClose","title","primaryAction","secondaryAction","cancelAction","zIndex","titleIcon","caption","rest","ref","dialogId","useState","generateID","label","primaryLabel","restOfPrimaryAction","PrimaryButton","createElement","Button","key","SecondaryButton","secondaryLabel","restOfSecondaryAction","variant","BaseModal","className","classes","containerProps","disableContentAutoFocus","DialogTitle","labelId","BaseModalContent","descriptionId","disableAutoFocus","DialogActions","autoFocus","style","position","width","height","opacity","maxLength","tabIndex","onKeyDown","event","onClick"],"mappings":"meA+CMA,EAAqE,CAEzEC,OAAO,GA6FIC,EAASC,EAAMC,WAzF6C,EAErEC,KACAC,OACAC,WACAC,UACAC,QACAC,gBACAC,kBACAC,eACAC,SACAC,YACAC,aACGC,GAELC,KAEA,MAAOC,GAAYC,EAAAA,SAASd,GAAMe,EAAAA,WAAW,MACrCC,MAAOC,KAAiBC,GAAwBb,EAClDc,EACJrB,EAAAsB,cAACC,EAAAA,OAAA,CAAOC,IAAI,aAAcJ,GACvBD,GAICM,EACJjB,cAEE,MAAQU,MAAOQ,KAAmBC,GAA0BnB,EAC5D,OACER,EAAAsB,cAACC,EAAAA,QAAOC,IAAI,WAAWI,QAAQ,aAAcD,GAC1CD,EAGP,IASF,OACE1B,EAAAsB,cAACO,EAAAA,UAAA,IACKhB,EACJC,MACAZ,GAAIa,EACJe,UAAWC,EAAAA,QAAgB,OAC3BC,eAAgB,CAAEF,UAAWC,EAAAA,QAAmB,WAChD5B,OACAE,UACAK,SACAuB,yBAAuB,GAEvBjC,EAAAsB,cAACY,EAAAA,YAAA,CACCvB,YACAC,UACAV,GAAIiC,EAAAA,QAAQpB,GACZT,QACAD,YAEFL,EAAAsB,cAACc,EAAAA,iBAAA,CACClC,GAAImC,EAAAA,cAActB,GAClBe,UAAWC,EAAAA,QAAiB,QAC5BO,kBAAgB,GAEflC,mBAEFmC,EAAAA,cAAA,CAAclC,UAAkBI,gBAC9B,CAACgB,EAAiBJ,IAErBrB,EAAAsB,cAAC,QAAA,CACCkB,WAAS,KACL3C,EACJ4C,MAAO,CACLC,SAAU,WACVC,MAAO,EACPC,OAAQ,EACRC,QAAS,GAEXC,UAAW,EACXC,UAAU,EACVC,UA/CyBC,IAEX,UAAdA,EAAMzB,KACRjB,EAAc2C"}
|
|
@@ -29,10 +29,10 @@ const DialogComponent = ({
|
|
|
29
29
|
const [dialogId] = useState(id ?? generateID(20));
|
|
30
30
|
const { label: primaryLabel, ...restOfPrimaryAction } = primaryAction;
|
|
31
31
|
const PrimaryButton = /* @__PURE__ */ React.createElement(Button, { key: "primary", ...restOfPrimaryAction }, primaryLabel);
|
|
32
|
-
const SecondaryButton = secondaryAction && function() {
|
|
32
|
+
const SecondaryButton = secondaryAction && (function() {
|
|
33
33
|
const { label: secondaryLabel, ...restOfSecondaryAction } = secondaryAction;
|
|
34
34
|
return /* @__PURE__ */ React.createElement(Button, { key: "tertiary", variant: "outline", ...restOfSecondaryAction }, secondaryLabel);
|
|
35
|
-
}();
|
|
35
|
+
})();
|
|
36
36
|
const onHiddenInputKeyPress = (event) => {
|
|
37
37
|
if (event.key === "Enter") {
|
|
38
38
|
primaryAction.onClick();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.es.js","sources":["../../../../src/components/Notifications/Dialog/Dialog.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef, useState } from \"react\";\nimport { BaseModal } from \"../BaseModal/BaseModal\";\nimport { BaseModalContent } from \"../BaseModal/BaseModalContent/BaseModalContent\";\nimport { DialogActions } from \"./DialogActions/DialogActions\";\nimport classes from \"./Dialog.module.scss\";\nimport { DialogTitle } from \"./DialogTitle/DialogTitle\";\nimport { Button, Props as ButtonProps } from \"../../Button/Button\";\nimport { labelId, descriptionId } from \"../BaseModal/BaseModalContext\";\nimport { generateID } from \"../../../util/helper\";\nimport { CancelAction } from \"../BaseModal/BaseModalActions/BaseModalActions\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id?: string;\n open: boolean;\n children: React.ReactNode;\n onClose?: () => void;\n title: string;\n primaryAction: Action;\n secondaryAction?: Action;\n cancelAction?: CancelAction;\n zIndex?: number;\n disableEscapeKeyDown?: boolean;\n titleIcon?: React.ReactNode;\n caption?: string;\n}\n\nexport interface Action extends Omit<ButtonProps, \"variant\" | \"ref\"> {\n label: string;\n onClick: (event?: React.MouseEvent<HTMLButtonElement>) => unknown;\n}\n\nconst hideFromAccessibility: React.InputHTMLAttributes<HTMLInputElement> = {\n // it's new HTML attribute\n inert: true\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n} as any;\n\nconst DialogComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n {\n id,\n open,\n children,\n onClose,\n title,\n primaryAction,\n secondaryAction,\n cancelAction,\n zIndex,\n titleIcon,\n caption,\n ...rest\n }: Props,\n ref\n) => {\n const [dialogId] = useState(id ?? generateID(20));\n const { label: primaryLabel, ...restOfPrimaryAction } = primaryAction;\n const PrimaryButton = (\n <Button key=\"primary\" {...restOfPrimaryAction}>\n {primaryLabel}\n </Button>\n );\n\n const SecondaryButton =\n secondaryAction &&\n (function () {\n const { label: secondaryLabel, ...restOfSecondaryAction } = secondaryAction;\n return (\n <Button key=\"tertiary\" variant=\"outline\" {...restOfSecondaryAction}>\n {secondaryLabel}\n </Button>\n );\n })();\n\n const onHiddenInputKeyPress = (event: React.KeyboardEvent<HTMLInputElement>) => {\n /** It has to be here because then we will need to check if user doesn't click tab to select action button and want to do another action then primary one? */\n if (event.key === \"Enter\") {\n primaryAction.onClick();\n }\n };\n\n return (\n <BaseModal\n {...rest}\n ref={ref}\n id={dialogId}\n className={classes[\"dialog\"]}\n containerProps={{ className: classes[\"container\"] }}\n open={open}\n onClose={onClose}\n zIndex={zIndex}\n disableContentAutoFocus\n >\n <DialogTitle\n titleIcon={titleIcon}\n caption={caption}\n id={labelId(dialogId)}\n title={title}\n onClose={onClose}\n />\n <BaseModalContent\n id={descriptionId(dialogId)}\n className={classes[\"content\"]}\n disableAutoFocus\n >\n {children}\n </BaseModalContent>\n <DialogActions onClose={onClose} cancelAction={cancelAction}>\n {[SecondaryButton, PrimaryButton]}\n </DialogActions>\n <input\n autoFocus\n {...hideFromAccessibility}\n style={{\n position: \"absolute\",\n width: 0,\n height: 0,\n opacity: 0\n }}\n maxLength={0}\n tabIndex={-1}\n onKeyDown={onHiddenInputKeyPress}\n />\n </BaseModal>\n );\n};\n\nexport const Dialog = React.forwardRef(DialogComponent);\n"],"names":[],"mappings":";;;;;;;;;AA+CA,MAAM,wBAAqE;AAAA;AAAA,EAEzE,OAAO;AAAA;AAET;AAEA,MAAM,kBAAmE,CACvE;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,GACA,QACG;AACH,QAAM,CAAC,QAAQ,IAAI,SAAS,MAAM,WAAW,EAAE,CAAC;AAChD,QAAM,EAAE,OAAO,cAAc,GAAG,
|
|
1
|
+
{"version":3,"file":"Dialog.es.js","sources":["../../../../src/components/Notifications/Dialog/Dialog.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef, useState } from \"react\";\nimport { BaseModal } from \"../BaseModal/BaseModal\";\nimport { BaseModalContent } from \"../BaseModal/BaseModalContent/BaseModalContent\";\nimport { DialogActions } from \"./DialogActions/DialogActions\";\nimport classes from \"./Dialog.module.scss\";\nimport { DialogTitle } from \"./DialogTitle/DialogTitle\";\nimport { Button, Props as ButtonProps } from \"../../Button/Button\";\nimport { labelId, descriptionId } from \"../BaseModal/BaseModalContext\";\nimport { generateID } from \"../../../util/helper\";\nimport { CancelAction } from \"../BaseModal/BaseModalActions/BaseModalActions\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n id?: string;\n open: boolean;\n children: React.ReactNode;\n onClose?: () => void;\n title: string;\n primaryAction: Action;\n secondaryAction?: Action;\n cancelAction?: CancelAction;\n zIndex?: number;\n disableEscapeKeyDown?: boolean;\n titleIcon?: React.ReactNode;\n caption?: string;\n}\n\nexport interface Action extends Omit<ButtonProps, \"variant\" | \"ref\"> {\n label: string;\n onClick: (event?: React.MouseEvent<HTMLButtonElement>) => unknown;\n}\n\nconst hideFromAccessibility: React.InputHTMLAttributes<HTMLInputElement> = {\n // it's new HTML attribute\n inert: true\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n} as any;\n\nconst DialogComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n {\n id,\n open,\n children,\n onClose,\n title,\n primaryAction,\n secondaryAction,\n cancelAction,\n zIndex,\n titleIcon,\n caption,\n ...rest\n }: Props,\n ref\n) => {\n const [dialogId] = useState(id ?? generateID(20));\n const { label: primaryLabel, ...restOfPrimaryAction } = primaryAction;\n const PrimaryButton = (\n <Button key=\"primary\" {...restOfPrimaryAction}>\n {primaryLabel}\n </Button>\n );\n\n const SecondaryButton =\n secondaryAction &&\n (function () {\n const { label: secondaryLabel, ...restOfSecondaryAction } = secondaryAction;\n return (\n <Button key=\"tertiary\" variant=\"outline\" {...restOfSecondaryAction}>\n {secondaryLabel}\n </Button>\n );\n })();\n\n const onHiddenInputKeyPress = (event: React.KeyboardEvent<HTMLInputElement>) => {\n /** It has to be here because then we will need to check if user doesn't click tab to select action button and want to do another action then primary one? */\n if (event.key === \"Enter\") {\n primaryAction.onClick();\n }\n };\n\n return (\n <BaseModal\n {...rest}\n ref={ref}\n id={dialogId}\n className={classes[\"dialog\"]}\n containerProps={{ className: classes[\"container\"] }}\n open={open}\n onClose={onClose}\n zIndex={zIndex}\n disableContentAutoFocus\n >\n <DialogTitle\n titleIcon={titleIcon}\n caption={caption}\n id={labelId(dialogId)}\n title={title}\n onClose={onClose}\n />\n <BaseModalContent\n id={descriptionId(dialogId)}\n className={classes[\"content\"]}\n disableAutoFocus\n >\n {children}\n </BaseModalContent>\n <DialogActions onClose={onClose} cancelAction={cancelAction}>\n {[SecondaryButton, PrimaryButton]}\n </DialogActions>\n <input\n autoFocus\n {...hideFromAccessibility}\n style={{\n position: \"absolute\",\n width: 0,\n height: 0,\n opacity: 0\n }}\n maxLength={0}\n tabIndex={-1}\n onKeyDown={onHiddenInputKeyPress}\n />\n </BaseModal>\n );\n};\n\nexport const Dialog = React.forwardRef(DialogComponent);\n"],"names":[],"mappings":";;;;;;;;;AA+CA,MAAM,wBAAqE;AAAA;AAAA,EAEzE,OAAO;AAAA;AAET;AAEA,MAAM,kBAAmE,CACvE;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,GACA,QACG;AACH,QAAM,CAAC,QAAQ,IAAI,SAAS,MAAM,WAAW,EAAE,CAAC;AAChD,QAAM,EAAE,OAAO,cAAc,GAAG,wBAAwB;AACxD,QAAM,gBACJ,sBAAA,cAAC,QAAA,EAAO,KAAI,WAAW,GAAG,uBACvB,YACH;AAGF,QAAM,kBACJ,oBACC,WAAY;AACX,UAAM,EAAE,OAAO,gBAAgB,GAAG,0BAA0B;AAC5D,WACE,sBAAA,cAAC,UAAO,KAAI,YAAW,SAAQ,WAAW,GAAG,yBAC1C,cACH;AAAA,EAEJ,GAAA;AAEF,QAAM,wBAAwB,CAAC,UAAiD;AAE9E,QAAI,MAAM,QAAQ,SAAS;AACzB,oBAAc,QAAA;AAAA,IAChB;AAAA,EACF;AAEA,SACE,sBAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACE,GAAG;AAAA,MACJ;AAAA,MACA,IAAI;AAAA,MACJ,WAAW,QAAQ,QAAQ;AAAA,MAC3B,gBAAgB,EAAE,WAAW,QAAQ,WAAW,EAAA;AAAA,MAChD;AAAA,MACA;AAAA,MACA;AAAA,MACA,yBAAuB;AAAA,IAAA;AAAA,IAEvB,sBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC;AAAA,QACA;AAAA,QACA,IAAI,QAAQ,QAAQ;AAAA,QACpB;AAAA,QACA;AAAA,MAAA;AAAA,IAAA;AAAA,IAEF,sBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,IAAI,cAAc,QAAQ;AAAA,QAC1B,WAAW,QAAQ,SAAS;AAAA,QAC5B,kBAAgB;AAAA,MAAA;AAAA,MAEf;AAAA,IAAA;AAAA,wCAEF,eAAA,EAAc,SAAkB,gBAC9B,CAAC,iBAAiB,aAAa,CAClC;AAAA,IACA,sBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAS;AAAA,QACR,GAAG;AAAA,QACJ,OAAO;AAAA,UACL,UAAU;AAAA,UACV,OAAO;AAAA,UACP,QAAQ;AAAA,UACR,SAAS;AAAA,QAAA;AAAA,QAEX,WAAW;AAAA,QACX,UAAU;AAAA,QACV,WAAW;AAAA,MAAA;AAAA,IAAA;AAAA,EACb;AAGN;AAEO,MAAM,SAAS,MAAM,WAAW,eAAe;"}
|