@onewelcome/react-lib-components 11.0.0 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/dist/components/Breadcrumbs/Breadcrumbs.cjs.js +0 -2
- package/dist/components/Breadcrumbs/Breadcrumbs.cjs.js.map +0 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.es.js +0 -46
- package/dist/components/Breadcrumbs/Breadcrumbs.es.js.map +0 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.module.scss.cjs.js +0 -3
- package/dist/components/Breadcrumbs/Breadcrumbs.module.scss.cjs.js.map +0 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.module.scss.es.js +0 -17
- package/dist/components/Breadcrumbs/Breadcrumbs.module.scss.es.js.map +0 -1
- package/dist/components/Button/BaseButton.cjs.js +0 -2
- package/dist/components/Button/BaseButton.cjs.js.map +0 -1
- package/dist/components/Button/BaseButton.es.js +0 -32
- package/dist/components/Button/BaseButton.es.js.map +0 -1
- package/dist/components/Button/BaseButton.module.scss.cjs.js +0 -3
- package/dist/components/Button/BaseButton.module.scss.cjs.js.map +0 -1
- package/dist/components/Button/BaseButton.module.scss.es.js +0 -14
- package/dist/components/Button/BaseButton.module.scss.es.js.map +0 -1
- package/dist/components/Button/Button.cjs.js +0 -2
- package/dist/components/Button/Button.cjs.js.map +0 -1
- package/dist/components/Button/Button.es.js +0 -42
- package/dist/components/Button/Button.es.js.map +0 -1
- package/dist/components/Button/Button.module.scss.cjs.js +0 -3
- package/dist/components/Button/Button.module.scss.cjs.js.map +0 -1
- package/dist/components/Button/Button.module.scss.es.js +0 -41
- package/dist/components/Button/Button.module.scss.es.js.map +0 -1
- package/dist/components/Button/IconButton.cjs.js +0 -2
- package/dist/components/Button/IconButton.cjs.js.map +0 -1
- package/dist/components/Button/IconButton.es.js +0 -30
- package/dist/components/Button/IconButton.es.js.map +0 -1
- package/dist/components/Button/IconButton.module.scss.cjs.js +0 -3
- package/dist/components/Button/IconButton.module.scss.cjs.js.map +0 -1
- package/dist/components/Button/IconButton.module.scss.es.js +0 -42
- package/dist/components/Button/IconButton.module.scss.es.js.map +0 -1
- package/dist/components/Button/Spinner.cjs.js +0 -2
- package/dist/components/Button/Spinner.cjs.js.map +0 -1
- package/dist/components/Button/Spinner.es.js +0 -23
- package/dist/components/Button/Spinner.es.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenu.cjs.js +0 -2
- package/dist/components/ContextMenu/ContextMenu.cjs.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenu.es.js +0 -155
- package/dist/components/ContextMenu/ContextMenu.es.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenu.module.scss.cjs.js +0 -3
- package/dist/components/ContextMenu/ContextMenu.module.scss.cjs.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenu.module.scss.es.js +0 -13
- package/dist/components/ContextMenu/ContextMenu.module.scss.es.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenuDivider.cjs.js +0 -2
- package/dist/components/ContextMenu/ContextMenuDivider.cjs.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenuDivider.es.js +0 -9
- package/dist/components/ContextMenu/ContextMenuDivider.es.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenuDivider.module.scss.cjs.js +0 -3
- package/dist/components/ContextMenu/ContextMenuDivider.module.scss.cjs.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenuDivider.module.scss.es.js +0 -8
- package/dist/components/ContextMenu/ContextMenuDivider.module.scss.es.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenuItem.cjs.js +0 -2
- package/dist/components/ContextMenu/ContextMenuItem.cjs.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenuItem.es.js +0 -56
- package/dist/components/ContextMenu/ContextMenuItem.es.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenuItem.module.scss.cjs.js +0 -3
- package/dist/components/ContextMenu/ContextMenuItem.module.scss.cjs.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenuItem.module.scss.es.js +0 -11
- package/dist/components/ContextMenu/ContextMenuItem.module.scss.es.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenuService.cjs.js +0 -2
- package/dist/components/ContextMenu/ContextMenuService.cjs.js.map +0 -1
- package/dist/components/ContextMenu/ContextMenuService.es.js +0 -124
- package/dist/components/ContextMenu/ContextMenuService.es.js.map +0 -1
- package/dist/components/DataGrid/DataGrid.cjs.js +0 -2
- package/dist/components/DataGrid/DataGrid.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGrid.es.js +0 -147
- package/dist/components/DataGrid/DataGrid.es.js.map +0 -1
- package/dist/components/DataGrid/DataGrid.module.scss.cjs.js +0 -3
- package/dist/components/DataGrid/DataGrid.module.scss.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGrid.module.scss.es.js +0 -16
- package/dist/components/DataGrid/DataGrid.module.scss.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridActions/DataGridActions.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridActions/DataGridActions.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridActions/DataGridActions.es.js +0 -93
- package/dist/components/DataGrid/DataGridActions/DataGridActions.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridActions/DataGridActions.module.scss.cjs.js +0 -3
- package/dist/components/DataGrid/DataGridActions/DataGridActions.module.scss.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridActions/DataGridActions.module.scss.es.js +0 -18
- package/dist/components/DataGrid/DataGridActions/DataGridActions.module.scss.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.es.js +0 -71
- package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.cjs.js +0 -3
- package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.es.js +0 -23
- package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridBody.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridBody/DataGridBody.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridBody.es.js +0 -57
- package/dist/components/DataGrid/DataGridBody/DataGridBody.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridBody.module.scss.cjs.js +0 -3
- package/dist/components/DataGrid/DataGridBody/DataGridBody.module.scss.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridBody.module.scss.es.js +0 -10
- package/dist/components/DataGrid/DataGridBody/DataGridBody.module.scss.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.es.js +0 -63
- package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.cjs.js +0 -3
- package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.es.js +0 -17
- package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.es.js +0 -18
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.cjs.js +0 -3
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.es.js +0 -16
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.es.js +0 -11
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.cjs.js +0 -3
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.es.js +0 -11
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.es.js +0 -126
- package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.cjs.js +0 -3
- package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.es.js +0 -42
- package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridRow/useNestedRow.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridBody/DataGridRow/useNestedRow.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridBody/DataGridRow/useNestedRow.es.js +0 -99
- package/dist/components/DataGrid/DataGridBody/DataGridRow/useNestedRow.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridDateFilter.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DataGridDateFilter.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridDateFilter.es.js +0 -45
- package/dist/components/DataGrid/DataGridFilters/DataGridDateFilter.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilter.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DataGridFilter.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilter.es.js +0 -110
- package/dist/components/DataGrid/DataGridFilters/DataGridFilter.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilter.module.scss.cjs.js +0 -3
- package/dist/components/DataGrid/DataGridFilters/DataGridFilter.module.scss.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilter.module.scss.es.js +0 -23
- package/dist/components/DataGrid/DataGridFilters/DataGridFilter.module.scss.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterPopover.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterPopover.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterPopover.es.js +0 -116
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterPopover.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterService.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterService.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterService.es.js +0 -81
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterService.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterTag.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterTag.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterTag.es.js +0 -64
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterTag.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterValueSelect.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterValueSelect.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterValueSelect.es.js +0 -89
- package/dist/components/DataGrid/DataGridFilters/DataGridFilterValueSelect.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilters.interfaces.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DataGridFilters.interfaces.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridFilters.interfaces.es.js +0 -17
- package/dist/components/DataGrid/DataGridFilters/DataGridFilters.interfaces.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridSearchbar.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DataGridSearchbar.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridSearchbar.es.js +0 -45
- package/dist/components/DataGrid/DataGridFilters/DataGridSearchbar.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.es.js +0 -89
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.module.scss.cjs.js +0 -3
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.module.scss.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.module.scss.es.js +0 -20
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.module.scss.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbarWrapper.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbarWrapper.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbarWrapper.es.js +0 -11
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbarWrapper.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.es.js +0 -186
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.module.scss.cjs.js +0 -3
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.module.scss.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.module.scss.es.js +0 -35
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.module.scss.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerCalendarSection.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerCalendarSection.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerCalendarSection.es.js +0 -70
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerCalendarSection.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerInputSection.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerInputSection.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerInputSection.es.js +0 -80
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerInputSection.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimeService.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimeService.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimeService.es.js +0 -22
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimeService.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/SideMenu.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/SideMenu.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/SideMenu.es.js +0 -27
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/SideMenu.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/FilterKeyMapper.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/FilterKeyMapper.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/FilterKeyMapper.es.js +0 -32
- package/dist/components/DataGrid/DataGridFilters/FilterKeyMapper.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/useFiltersReducer.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridFilters/useFiltersReducer.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridFilters/useFiltersReducer.es.js +0 -50
- package/dist/components/DataGrid/DataGridFilters/useFiltersReducer.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.es.js +0 -75
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.module.scss.cjs.js +0 -3
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.module.scss.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.module.scss.es.js +0 -11
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.module.scss.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.cjs.js +0 -2
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.es.js +0 -38
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.es.js.map +0 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.cjs.js +0 -3
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.cjs.js.map +0 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.es.js +0 -21
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.es.js.map +0 -1
- package/dist/components/DatePicker/DatePicker.cjs.js +0 -2
- package/dist/components/DatePicker/DatePicker.cjs.js.map +0 -1
- package/dist/components/DatePicker/DatePicker.es.js +0 -57
- package/dist/components/DatePicker/DatePicker.es.js.map +0 -1
- package/dist/components/DatePicker/DatePicker.module.scss.cjs.js +0 -3
- package/dist/components/DatePicker/DatePicker.module.scss.cjs.js.map +0 -1
- package/dist/components/DatePicker/DatePicker.module.scss.es.js +0 -39
- package/dist/components/DatePicker/DatePicker.module.scss.es.js.map +0 -1
- package/dist/components/Form/Checkbox/Checkbox.cjs.js +0 -2
- package/dist/components/Form/Checkbox/Checkbox.cjs.js.map +0 -1
- package/dist/components/Form/Checkbox/Checkbox.es.js +0 -154
- package/dist/components/Form/Checkbox/Checkbox.es.js.map +0 -1
- package/dist/components/Form/Checkbox/Checkbox.module.scss.cjs.js +0 -3
- package/dist/components/Form/Checkbox/Checkbox.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Checkbox/Checkbox.module.scss.es.js +0 -33
- package/dist/components/Form/Checkbox/Checkbox.module.scss.es.js.map +0 -1
- package/dist/components/Form/Fieldset/Fieldset.cjs.js +0 -2
- package/dist/components/Form/Fieldset/Fieldset.cjs.js.map +0 -1
- package/dist/components/Form/Fieldset/Fieldset.es.js +0 -90
- package/dist/components/Form/Fieldset/Fieldset.es.js.map +0 -1
- package/dist/components/Form/Fieldset/Fieldset.module.scss.cjs.js +0 -3
- package/dist/components/Form/Fieldset/Fieldset.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Fieldset/Fieldset.module.scss.es.js +0 -17
- package/dist/components/Form/Fieldset/Fieldset.module.scss.es.js.map +0 -1
- package/dist/components/Form/FileUpload/FileItem/FileItem.cjs.js +0 -2
- package/dist/components/Form/FileUpload/FileItem/FileItem.cjs.js.map +0 -1
- package/dist/components/Form/FileUpload/FileItem/FileItem.es.js +0 -224
- package/dist/components/Form/FileUpload/FileItem/FileItem.es.js.map +0 -1
- package/dist/components/Form/FileUpload/FileItem/FileItem.module.scss.cjs.js +0 -3
- package/dist/components/Form/FileUpload/FileItem/FileItem.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/FileUpload/FileItem/FileItem.module.scss.es.js +0 -32
- package/dist/components/Form/FileUpload/FileItem/FileItem.module.scss.es.js.map +0 -1
- package/dist/components/Form/FileUpload/FileUpload.cjs.js +0 -2
- package/dist/components/Form/FileUpload/FileUpload.cjs.js.map +0 -1
- package/dist/components/Form/FileUpload/FileUpload.es.js +0 -210
- package/dist/components/Form/FileUpload/FileUpload.es.js.map +0 -1
- package/dist/components/Form/FileUpload/FileUpload.module.scss.cjs.js +0 -3
- package/dist/components/Form/FileUpload/FileUpload.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/FileUpload/FileUpload.module.scss.es.js +0 -32
- package/dist/components/Form/FileUpload/FileUpload.module.scss.es.js.map +0 -1
- package/dist/components/Form/Form.cjs.js +0 -2
- package/dist/components/Form/Form.cjs.js.map +0 -1
- package/dist/components/Form/Form.es.js +0 -10
- package/dist/components/Form/Form.es.js.map +0 -1
- package/dist/components/Form/Form.module.scss.cjs.js +0 -3
- package/dist/components/Form/Form.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Form.module.scss.es.js +0 -10
- package/dist/components/Form/Form.module.scss.es.js.map +0 -1
- package/dist/components/Form/FormControl/FormControl.cjs.js +0 -2
- package/dist/components/Form/FormControl/FormControl.cjs.js.map +0 -1
- package/dist/components/Form/FormControl/FormControl.es.js +0 -31
- package/dist/components/Form/FormControl/FormControl.es.js.map +0 -1
- package/dist/components/Form/FormControl/FormControl.module.scss.cjs.js +0 -3
- package/dist/components/Form/FormControl/FormControl.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/FormControl/FormControl.module.scss.es.js +0 -37
- package/dist/components/Form/FormControl/FormControl.module.scss.es.js.map +0 -1
- package/dist/components/Form/FormErrorText/FormErrorText.cjs.js +0 -2
- package/dist/components/Form/FormErrorText/FormErrorText.cjs.js.map +0 -1
- package/dist/components/Form/FormErrorText/FormErrorText.es.js +0 -39
- package/dist/components/Form/FormErrorText/FormErrorText.es.js.map +0 -1
- package/dist/components/Form/FormErrorText/FormErrorText.module.scss.cjs.js +0 -3
- package/dist/components/Form/FormErrorText/FormErrorText.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/FormErrorText/FormErrorText.module.scss.es.js +0 -11
- package/dist/components/Form/FormErrorText/FormErrorText.module.scss.es.js.map +0 -1
- package/dist/components/Form/FormGroup/FormGroup.cjs.js +0 -2
- package/dist/components/Form/FormGroup/FormGroup.cjs.js.map +0 -1
- package/dist/components/Form/FormGroup/FormGroup.es.js +0 -50
- package/dist/components/Form/FormGroup/FormGroup.es.js.map +0 -1
- package/dist/components/Form/FormGroup/FormGroup.module.scss.cjs.js +0 -3
- package/dist/components/Form/FormGroup/FormGroup.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/FormGroup/FormGroup.module.scss.es.js +0 -9
- package/dist/components/Form/FormGroup/FormGroup.module.scss.es.js.map +0 -1
- package/dist/components/Form/FormHelperText/FormHelperText.cjs.js +0 -2
- package/dist/components/Form/FormHelperText/FormHelperText.cjs.js.map +0 -1
- package/dist/components/Form/FormHelperText/FormHelperText.es.js +0 -15
- package/dist/components/Form/FormHelperText/FormHelperText.es.js.map +0 -1
- package/dist/components/Form/FormHelperText/FormHelperText.module.scss.cjs.js +0 -3
- package/dist/components/Form/FormHelperText/FormHelperText.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/FormHelperText/FormHelperText.module.scss.es.js +0 -14
- package/dist/components/Form/FormHelperText/FormHelperText.module.scss.es.js.map +0 -1
- package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.cjs.js +0 -2
- package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.cjs.js.map +0 -1
- package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.es.js +0 -72
- package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.es.js.map +0 -1
- package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.cjs.js +0 -3
- package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.es.js +0 -18
- package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.es.js.map +0 -1
- package/dist/components/Form/FormStatusIndicator/FormStatusIndicator.cjs.js +0 -2
- package/dist/components/Form/FormStatusIndicator/FormStatusIndicator.cjs.js.map +0 -1
- package/dist/components/Form/FormStatusIndicator/FormStatusIndicator.es.js +0 -54
- package/dist/components/Form/FormStatusIndicator/FormStatusIndicator.es.js.map +0 -1
- package/dist/components/Form/Input/Input.cjs.js +0 -2
- package/dist/components/Form/Input/Input.cjs.js.map +0 -1
- package/dist/components/Form/Input/Input.es.js +0 -95
- package/dist/components/Form/Input/Input.es.js.map +0 -1
- package/dist/components/Form/Input/Input.module.scss.cjs.js +0 -3
- package/dist/components/Form/Input/Input.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Input/Input.module.scss.es.js +0 -27
- package/dist/components/Form/Input/Input.module.scss.es.js.map +0 -1
- package/dist/components/Form/Label/Label.cjs.js +0 -2
- package/dist/components/Form/Label/Label.cjs.js.map +0 -1
- package/dist/components/Form/Label/Label.es.js +0 -19
- package/dist/components/Form/Label/Label.es.js.map +0 -1
- package/dist/components/Form/Label/Label.module.scss.cjs.js +0 -3
- package/dist/components/Form/Label/Label.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Label/Label.module.scss.es.js +0 -10
- package/dist/components/Form/Label/Label.module.scss.es.js.map +0 -1
- package/dist/components/Form/Radio/Radio.cjs.js +0 -2
- package/dist/components/Form/Radio/Radio.cjs.js.map +0 -1
- package/dist/components/Form/Radio/Radio.es.js +0 -105
- package/dist/components/Form/Radio/Radio.es.js.map +0 -1
- package/dist/components/Form/Radio/Radio.module.scss.cjs.js +0 -3
- package/dist/components/Form/Radio/Radio.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Radio/Radio.module.scss.es.js +0 -27
- package/dist/components/Form/Radio/Radio.module.scss.es.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/MultiOption.cjs.js +0 -2
- package/dist/components/Form/Select/MultiSelect/MultiOption.cjs.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/MultiOption.es.js +0 -40
- package/dist/components/Form/Select/MultiSelect/MultiOption.es.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/MultiSelect.cjs.js +0 -2
- package/dist/components/Form/Select/MultiSelect/MultiSelect.cjs.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/MultiSelect.es.js +0 -386
- package/dist/components/Form/Select/MultiSelect/MultiSelect.es.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/MultiSelect.module.scss.cjs.js +0 -3
- package/dist/components/Form/Select/MultiSelect/MultiSelect.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/MultiSelect.module.scss.es.js +0 -37
- package/dist/components/Form/Select/MultiSelect/MultiSelect.module.scss.es.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/SelectButton.cjs.js +0 -2
- package/dist/components/Form/Select/MultiSelect/SelectButton.cjs.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/SelectButton.es.js +0 -20
- package/dist/components/Form/Select/MultiSelect/SelectButton.es.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/SelectButton.module.scss.cjs.js +0 -3
- package/dist/components/Form/Select/MultiSelect/SelectButton.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/SelectButton.module.scss.es.js +0 -10
- package/dist/components/Form/Select/MultiSelect/SelectButton.module.scss.es.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/SelectedOptions.cjs.js +0 -2
- package/dist/components/Form/Select/MultiSelect/SelectedOptions.cjs.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/SelectedOptions.es.js +0 -30
- package/dist/components/Form/Select/MultiSelect/SelectedOptions.es.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/SelectedOptions.module.scss.cjs.js +0 -3
- package/dist/components/Form/Select/MultiSelect/SelectedOptions.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/SelectedOptions.module.scss.es.js +0 -14
- package/dist/components/Form/Select/MultiSelect/SelectedOptions.module.scss.es.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/useArrowNavigation.cjs.js +0 -2
- package/dist/components/Form/Select/MultiSelect/useArrowNavigation.cjs.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/useArrowNavigation.es.js +0 -101
- package/dist/components/Form/Select/MultiSelect/useArrowNavigation.es.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/useMultiSelect.cjs.js +0 -2
- package/dist/components/Form/Select/MultiSelect/useMultiSelect.cjs.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/useMultiSelect.es.js +0 -54
- package/dist/components/Form/Select/MultiSelect/useMultiSelect.es.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/useSearch.cjs.js +0 -2
- package/dist/components/Form/Select/MultiSelect/useSearch.cjs.js.map +0 -1
- package/dist/components/Form/Select/MultiSelect/useSearch.es.js +0 -87
- package/dist/components/Form/Select/MultiSelect/useSearch.es.js.map +0 -1
- package/dist/components/Form/Select/Select.interfaces.cjs.js +0 -2
- package/dist/components/Form/Select/Select.interfaces.cjs.js.map +0 -1
- package/dist/components/Form/Select/Select.interfaces.es.js +0 -9
- package/dist/components/Form/Select/Select.interfaces.es.js.map +0 -1
- package/dist/components/Form/Select/SingleSelect/Option.cjs.js +0 -2
- package/dist/components/Form/Select/SingleSelect/Option.cjs.js.map +0 -1
- package/dist/components/Form/Select/SingleSelect/Option.es.js +0 -68
- package/dist/components/Form/Select/SingleSelect/Option.es.js.map +0 -1
- package/dist/components/Form/Select/SingleSelect/Select.cjs.js +0 -2
- package/dist/components/Form/Select/SingleSelect/Select.cjs.js.map +0 -1
- package/dist/components/Form/Select/SingleSelect/Select.es.js +0 -245
- package/dist/components/Form/Select/SingleSelect/Select.es.js.map +0 -1
- package/dist/components/Form/Select/SingleSelect/Select.module.scss.cjs.js +0 -3
- package/dist/components/Form/Select/SingleSelect/Select.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Select/SingleSelect/Select.module.scss.es.js +0 -45
- package/dist/components/Form/Select/SingleSelect/Select.module.scss.es.js.map +0 -1
- package/dist/components/Form/Select/SingleSelect/useArrowNavigation.cjs.js +0 -2
- package/dist/components/Form/Select/SingleSelect/useArrowNavigation.cjs.js.map +0 -1
- package/dist/components/Form/Select/SingleSelect/useArrowNavigation.es.js +0 -149
- package/dist/components/Form/Select/SingleSelect/useArrowNavigation.es.js.map +0 -1
- package/dist/components/Form/Select/SingleSelect/useSearch.cjs.js +0 -2
- package/dist/components/Form/Select/SingleSelect/useSearch.cjs.js.map +0 -1
- package/dist/components/Form/Select/SingleSelect/useSearch.es.js +0 -83
- package/dist/components/Form/Select/SingleSelect/useSearch.es.js.map +0 -1
- package/dist/components/Form/Select/useAddNewBtn.cjs.js +0 -2
- package/dist/components/Form/Select/useAddNewBtn.cjs.js.map +0 -1
- package/dist/components/Form/Select/useAddNewBtn.es.js +0 -57
- package/dist/components/Form/Select/useAddNewBtn.es.js.map +0 -1
- package/dist/components/Form/Select/useAddNewBtn.module.scss.cjs.js +0 -3
- package/dist/components/Form/Select/useAddNewBtn.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Select/useAddNewBtn.module.scss.es.js +0 -12
- package/dist/components/Form/Select/useAddNewBtn.module.scss.es.js.map +0 -1
- package/dist/components/Form/Select/useSelectPositionList.cjs.js +0 -2
- package/dist/components/Form/Select/useSelectPositionList.cjs.js.map +0 -1
- package/dist/components/Form/Select/useSelectPositionList.es.js +0 -66
- package/dist/components/Form/Select/useSelectPositionList.es.js.map +0 -1
- package/dist/components/Form/Textarea/Textarea.cjs.js +0 -2
- package/dist/components/Form/Textarea/Textarea.cjs.js.map +0 -1
- package/dist/components/Form/Textarea/Textarea.es.js +0 -64
- package/dist/components/Form/Textarea/Textarea.es.js.map +0 -1
- package/dist/components/Form/Textarea/Textarea.module.scss.cjs.js +0 -3
- package/dist/components/Form/Textarea/Textarea.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Textarea/Textarea.module.scss.es.js +0 -20
- package/dist/components/Form/Textarea/Textarea.module.scss.es.js.map +0 -1
- package/dist/components/Form/Toggle/Toggle.cjs.js +0 -2
- package/dist/components/Form/Toggle/Toggle.cjs.js.map +0 -1
- package/dist/components/Form/Toggle/Toggle.es.js +0 -50
- package/dist/components/Form/Toggle/Toggle.es.js.map +0 -1
- package/dist/components/Form/Toggle/Toggle.module.scss.cjs.js +0 -3
- package/dist/components/Form/Toggle/Toggle.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Toggle/Toggle.module.scss.es.js +0 -34
- package/dist/components/Form/Toggle/Toggle.module.scss.es.js.map +0 -1
- package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.cjs.js +0 -2
- package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.es.js +0 -63
- package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.es.js.map +0 -1
- package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.cjs.js +0 -3
- package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.es.js +0 -9
- package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.es.js.map +0 -1
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.cjs.js +0 -2
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.es.js +0 -96
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.es.js.map +0 -1
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss.cjs.js +0 -3
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss.es.js +0 -12
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss.es.js.map +0 -1
- package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.cjs.js +0 -2
- package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.es.js +0 -57
- package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.es.js.map +0 -1
- package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.cjs.js +0 -3
- package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.es.js +0 -9
- package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.es.js.map +0 -1
- package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.cjs.js +0 -2
- package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.es.js +0 -74
- package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.es.js.map +0 -1
- package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.cjs.js +0 -3
- package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.es.js +0 -9
- package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.es.js.map +0 -1
- package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.cjs.js +0 -2
- package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.es.js +0 -57
- package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.es.js.map +0 -1
- package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.cjs.js +0 -3
- package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.es.js +0 -9
- package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.es.js.map +0 -1
- package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.cjs.js +0 -2
- package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.es.js +0 -115
- package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.es.js.map +0 -1
- package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.cjs.js +0 -3
- package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.es.js +0 -24
- package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.es.js.map +0 -1
- package/dist/components/Form/Wrapper/Wrapper/Wrapper.cjs.js +0 -2
- package/dist/components/Form/Wrapper/Wrapper/Wrapper.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/Wrapper/Wrapper.es.js +0 -66
- package/dist/components/Form/Wrapper/Wrapper/Wrapper.es.js.map +0 -1
- package/dist/components/Form/Wrapper/Wrapper/Wrapper.module.scss.cjs.js +0 -3
- package/dist/components/Form/Wrapper/Wrapper/Wrapper.module.scss.cjs.js.map +0 -1
- package/dist/components/Form/Wrapper/Wrapper/Wrapper.module.scss.es.js +0 -20
- package/dist/components/Form/Wrapper/Wrapper/Wrapper.module.scss.es.js.map +0 -1
- package/dist/components/Icon/Icon.cjs.js +0 -2
- package/dist/components/Icon/Icon.cjs.js.map +0 -1
- package/dist/components/Icon/Icon.es.js +0 -127
- package/dist/components/Icon/Icon.es.js.map +0 -1
- package/dist/components/Icon/Icon.module.scss.cjs.js +0 -3
- package/dist/components/Icon/Icon.module.scss.cjs.js.map +0 -1
- package/dist/components/Icon/Icon.module.scss.es.js +0 -112
- package/dist/components/Icon/Icon.module.scss.es.js.map +0 -1
- package/dist/components/InlineEditing/InlineCheckbox/InlineCheckbox.cjs.js +0 -2
- package/dist/components/InlineEditing/InlineCheckbox/InlineCheckbox.cjs.js.map +0 -1
- package/dist/components/InlineEditing/InlineCheckbox/InlineCheckbox.es.js +0 -18
- package/dist/components/InlineEditing/InlineCheckbox/InlineCheckbox.es.js.map +0 -1
- package/dist/components/InlineEditing/InlineEditingContext.cjs.js +0 -2
- package/dist/components/InlineEditing/InlineEditingContext.cjs.js.map +0 -1
- package/dist/components/InlineEditing/InlineEditingContext.es.js +0 -9
- package/dist/components/InlineEditing/InlineEditingContext.es.js.map +0 -1
- package/dist/components/InlineEditing/InlineEditingSelect/InlineSelect.cjs.js +0 -2
- package/dist/components/InlineEditing/InlineEditingSelect/InlineSelect.cjs.js.map +0 -1
- package/dist/components/InlineEditing/InlineEditingSelect/InlineSelect.es.js +0 -21
- package/dist/components/InlineEditing/InlineEditingSelect/InlineSelect.es.js.map +0 -1
- package/dist/components/Layout/Card/Card.cjs.js +0 -2
- package/dist/components/Layout/Card/Card.cjs.js.map +0 -1
- package/dist/components/Layout/Card/Card.es.js +0 -55
- package/dist/components/Layout/Card/Card.es.js.map +0 -1
- package/dist/components/Layout/Card/Card.module.scss.cjs.js +0 -3
- package/dist/components/Layout/Card/Card.module.scss.cjs.js.map +0 -1
- package/dist/components/Layout/Card/Card.module.scss.es.js +0 -28
- package/dist/components/Layout/Card/Card.module.scss.es.js.map +0 -1
- package/dist/components/Layout/ContentHeader/ContentHeader.cjs.js +0 -2
- package/dist/components/Layout/ContentHeader/ContentHeader.cjs.js.map +0 -1
- package/dist/components/Layout/ContentHeader/ContentHeader.es.js +0 -81
- package/dist/components/Layout/ContentHeader/ContentHeader.es.js.map +0 -1
- package/dist/components/Layout/ContentHeader/ContentHeader.module.scss.cjs.js +0 -3
- package/dist/components/Layout/ContentHeader/ContentHeader.module.scss.cjs.js.map +0 -1
- package/dist/components/Layout/ContentHeader/ContentHeader.module.scss.es.js +0 -20
- package/dist/components/Layout/ContentHeader/ContentHeader.module.scss.es.js.map +0 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.cjs.js +0 -2
- package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.cjs.js.map +0 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.es.js +0 -20
- package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.es.js.map +0 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.cjs.js +0 -3
- package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.cjs.js.map +0 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.es.js +0 -10
- package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.es.js.map +0 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.cjs.js +0 -2
- package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.cjs.js.map +0 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.es.js +0 -27
- package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.es.js.map +0 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.cjs.js +0 -3
- package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.cjs.js.map +0 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.es.js +0 -10
- package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.es.js.map +0 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.cjs.js +0 -2
- package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.cjs.js.map +0 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.es.js +0 -9
- package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.es.js.map +0 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.cjs.js +0 -3
- package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.cjs.js.map +0 -1
- package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.es.js +0 -11
- package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.es.js.map +0 -1
- package/dist/components/Link/Link.cjs.js +0 -2
- package/dist/components/Link/Link.cjs.js.map +0 -1
- package/dist/components/Link/Link.es.js +0 -69
- package/dist/components/Link/Link.es.js.map +0 -1
- package/dist/components/Link/Link.module.scss.cjs.js +0 -3
- package/dist/components/Link/Link.module.scss.cjs.js.map +0 -1
- package/dist/components/Link/Link.module.scss.es.js +0 -44
- package/dist/components/Link/Link.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.cjs.js +0 -2
- package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.cjs.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.es.js +0 -25
- package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.es.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.module.scss.es.js +0 -31
- package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertContainer/useAlertContainerHeightAnimation.cjs.js +0 -2
- package/dist/components/Notifications/Alert/AlertContainer/useAlertContainerHeightAnimation.cjs.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertContainer/useAlertContainerHeightAnimation.es.js +0 -30
- package/dist/components/Notifications/Alert/AlertContainer/useAlertContainerHeightAnimation.es.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertItem/AlertItem.cjs.js +0 -2
- package/dist/components/Notifications/Alert/AlertItem/AlertItem.cjs.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertItem/AlertItem.es.js +0 -154
- package/dist/components/Notifications/Alert/AlertItem/AlertItem.es.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertItem/AlertItem.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/Alert/AlertItem/AlertItem.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertItem/AlertItem.module.scss.es.js +0 -50
- package/dist/components/Notifications/Alert/AlertItem/AlertItem.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertProvider/AlertContext.cjs.js +0 -2
- package/dist/components/Notifications/Alert/AlertProvider/AlertContext.cjs.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertProvider/AlertContext.es.js +0 -14
- package/dist/components/Notifications/Alert/AlertProvider/AlertContext.es.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertProvider/AlertProvider.cjs.js +0 -2
- package/dist/components/Notifications/Alert/AlertProvider/AlertProvider.cjs.js.map +0 -1
- package/dist/components/Notifications/Alert/AlertProvider/AlertProvider.es.js +0 -124
- package/dist/components/Notifications/Alert/AlertProvider/AlertProvider.es.js.map +0 -1
- package/dist/components/Notifications/Alert/useAlert.cjs.js +0 -2
- package/dist/components/Notifications/Alert/useAlert.cjs.js.map +0 -1
- package/dist/components/Notifications/Alert/useAlert.es.js +0 -16
- package/dist/components/Notifications/Alert/useAlert.es.js.map +0 -1
- package/dist/components/Notifications/Banner/Banner.cjs.js +0 -2
- package/dist/components/Notifications/Banner/Banner.cjs.js.map +0 -1
- package/dist/components/Notifications/Banner/Banner.es.js +0 -37
- package/dist/components/Notifications/Banner/Banner.es.js.map +0 -1
- package/dist/components/Notifications/Banner/Banner.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/Banner/Banner.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/Banner/Banner.module.scss.es.js +0 -31
- package/dist/components/Notifications/Banner/Banner.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModal.cjs.js +0 -2
- package/dist/components/Notifications/BaseModal/BaseModal.cjs.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModal.es.js +0 -129
- package/dist/components/Notifications/BaseModal/BaseModal.es.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModal.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/BaseModal/BaseModal.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModal.module.scss.es.js +0 -19
- package/dist/components/Notifications/BaseModal/BaseModal.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.cjs.js +0 -2
- package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.cjs.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.es.js +0 -22
- package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.es.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.es.js +0 -12
- package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.cjs.js +0 -2
- package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.cjs.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.es.js +0 -29
- package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.es.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.es.js +0 -10
- package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalContext.cjs.js +0 -2
- package/dist/components/Notifications/BaseModal/BaseModalContext.cjs.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalContext.es.js +0 -7
- package/dist/components/Notifications/BaseModal/BaseModalContext.es.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.cjs.js +0 -2
- package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.cjs.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.es.js +0 -33
- package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.es.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.es.js +0 -20
- package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/Dialog/Dialog.cjs.js +0 -2
- package/dist/components/Notifications/Dialog/Dialog.cjs.js.map +0 -1
- package/dist/components/Notifications/Dialog/Dialog.es.js +0 -96
- package/dist/components/Notifications/Dialog/Dialog.es.js.map +0 -1
- package/dist/components/Notifications/Dialog/Dialog.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/Dialog/Dialog.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/Dialog/Dialog.module.scss.es.js +0 -16
- package/dist/components/Notifications/Dialog/Dialog.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/Dialog/DialogActions/DialogActions.cjs.js +0 -2
- package/dist/components/Notifications/Dialog/DialogActions/DialogActions.cjs.js.map +0 -1
- package/dist/components/Notifications/Dialog/DialogActions/DialogActions.es.js +0 -22
- package/dist/components/Notifications/Dialog/DialogActions/DialogActions.es.js.map +0 -1
- package/dist/components/Notifications/Dialog/DialogActions/DialogActions.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/Dialog/DialogActions/DialogActions.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/Dialog/DialogActions/DialogActions.module.scss.es.js +0 -11
- package/dist/components/Notifications/Dialog/DialogActions/DialogActions.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.cjs.js +0 -2
- package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.cjs.js.map +0 -1
- package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.es.js +0 -38
- package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.es.js.map +0 -1
- package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.es.js +0 -24
- package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.cjs.js +0 -2
- package/dist/components/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.cjs.js.map +0 -1
- package/dist/components/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.es.js +0 -41
- package/dist/components/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.es.js.map +0 -1
- package/dist/components/Notifications/DiscardChangesModal/DiscardChangesModal.cjs.js +0 -2
- package/dist/components/Notifications/DiscardChangesModal/DiscardChangesModal.cjs.js.map +0 -1
- package/dist/components/Notifications/DiscardChangesModal/DiscardChangesModal.es.js +0 -39
- package/dist/components/Notifications/DiscardChangesModal/DiscardChangesModal.es.js.map +0 -1
- package/dist/components/Notifications/NotificationProvider/NotificationContext.cjs.js +0 -2
- package/dist/components/Notifications/NotificationProvider/NotificationContext.cjs.js.map +0 -1
- package/dist/components/Notifications/NotificationProvider/NotificationContext.es.js +0 -146
- package/dist/components/Notifications/NotificationProvider/NotificationContext.es.js.map +0 -1
- package/dist/components/Notifications/NotificationProvider/NotificationService.cjs.js +0 -2
- package/dist/components/Notifications/NotificationProvider/NotificationService.cjs.js.map +0 -1
- package/dist/components/Notifications/NotificationProvider/NotificationService.es.js +0 -19
- package/dist/components/Notifications/NotificationProvider/NotificationService.es.js.map +0 -1
- package/dist/components/Notifications/SideSheet/SideSheet.cjs.js +0 -2
- package/dist/components/Notifications/SideSheet/SideSheet.cjs.js.map +0 -1
- package/dist/components/Notifications/SideSheet/SideSheet.es.js +0 -68
- package/dist/components/Notifications/SideSheet/SideSheet.es.js.map +0 -1
- package/dist/components/Notifications/SideSheet/SideSheet.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/SideSheet/SideSheet.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/SideSheet/SideSheet.module.scss.es.js +0 -29
- package/dist/components/Notifications/SideSheet/SideSheet.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.cjs.js +0 -2
- package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.cjs.js.map +0 -1
- package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.es.js +0 -8
- package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.es.js.map +0 -1
- package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.module.scss.es.js +0 -8
- package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.cjs.js +0 -2
- package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.cjs.js.map +0 -1
- package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.es.js +0 -8
- package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.es.js.map +0 -1
- package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.module.scss.es.js +0 -8
- package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.module.scss.es.js.map +0 -1
- package/dist/components/Notifications/SlideInModal/SlideInModal.cjs.js +0 -2
- package/dist/components/Notifications/SlideInModal/SlideInModal.cjs.js.map +0 -1
- package/dist/components/Notifications/SlideInModal/SlideInModal.es.js +0 -41
- package/dist/components/Notifications/SlideInModal/SlideInModal.es.js.map +0 -1
- package/dist/components/Notifications/SlideInModal/SlideInModal.module.scss.cjs.js +0 -3
- package/dist/components/Notifications/SlideInModal/SlideInModal.module.scss.cjs.js.map +0 -1
- package/dist/components/Notifications/SlideInModal/SlideInModal.module.scss.es.js +0 -24
- package/dist/components/Notifications/SlideInModal/SlideInModal.module.scss.es.js.map +0 -1
- package/dist/components/Pagination/Pagination.cjs.js +0 -2
- package/dist/components/Pagination/Pagination.cjs.js.map +0 -1
- package/dist/components/Pagination/Pagination.es.js +0 -147
- package/dist/components/Pagination/Pagination.es.js.map +0 -1
- package/dist/components/Pagination/Pagination.module.scss.cjs.js +0 -3
- package/dist/components/Pagination/Pagination.module.scss.cjs.js.map +0 -1
- package/dist/components/Pagination/Pagination.module.scss.es.js +0 -32
- package/dist/components/Pagination/Pagination.module.scss.es.js.map +0 -1
- package/dist/components/Popover/Popover.cjs.js +0 -2
- package/dist/components/Popover/Popover.cjs.js.map +0 -1
- package/dist/components/Popover/Popover.es.js +0 -107
- package/dist/components/Popover/Popover.es.js.map +0 -1
- package/dist/components/Popover/Popover.module.scss.cjs.js +0 -3
- package/dist/components/Popover/Popover.module.scss.cjs.js.map +0 -1
- package/dist/components/Popover/Popover.module.scss.es.js +0 -13
- package/dist/components/Popover/Popover.module.scss.es.js.map +0 -1
- package/dist/components/ProgressBar/ProgressBar.cjs.js +0 -2
- package/dist/components/ProgressBar/ProgressBar.cjs.js.map +0 -1
- package/dist/components/ProgressBar/ProgressBar.es.js +0 -40
- package/dist/components/ProgressBar/ProgressBar.es.js.map +0 -1
- package/dist/components/ProgressBar/ProgressBar.module.scss.cjs.js +0 -3
- package/dist/components/ProgressBar/ProgressBar.module.scss.cjs.js.map +0 -1
- package/dist/components/ProgressBar/ProgressBar.module.scss.es.js +0 -27
- package/dist/components/ProgressBar/ProgressBar.module.scss.es.js.map +0 -1
- package/dist/components/RequiredSign/RequiredSign.cjs.js +0 -2
- package/dist/components/RequiredSign/RequiredSign.cjs.js.map +0 -1
- package/dist/components/RequiredSign/RequiredSign.es.js +0 -10
- package/dist/components/RequiredSign/RequiredSign.es.js.map +0 -1
- package/dist/components/Skeleton/Skeleton.cjs.js +0 -2
- package/dist/components/Skeleton/Skeleton.cjs.js.map +0 -1
- package/dist/components/Skeleton/Skeleton.es.js +0 -25
- package/dist/components/Skeleton/Skeleton.es.js.map +0 -1
- package/dist/components/Skeleton/Skeleton.module.scss.cjs.js +0 -3
- package/dist/components/Skeleton/Skeleton.module.scss.cjs.js.map +0 -1
- package/dist/components/Skeleton/Skeleton.module.scss.es.js +0 -17
- package/dist/components/Skeleton/Skeleton.module.scss.es.js.map +0 -1
- package/dist/components/Spinner/Spinner.cjs.js +0 -2
- package/dist/components/Spinner/Spinner.cjs.js.map +0 -1
- package/dist/components/Spinner/Spinner.es.js +0 -49
- package/dist/components/Spinner/Spinner.es.js.map +0 -1
- package/dist/components/Spinner/Spinner.module.scss.cjs.js +0 -3
- package/dist/components/Spinner/Spinner.module.scss.cjs.js.map +0 -1
- package/dist/components/Spinner/Spinner.module.scss.es.js +0 -13
- package/dist/components/Spinner/Spinner.module.scss.es.js.map +0 -1
- package/dist/components/Stepper/Step.cjs.js +0 -2
- package/dist/components/Stepper/Step.cjs.js.map +0 -1
- package/dist/components/Stepper/Step.es.js +0 -75
- package/dist/components/Stepper/Step.es.js.map +0 -1
- package/dist/components/Stepper/Step.module.scss.cjs.js +0 -3
- package/dist/components/Stepper/Step.module.scss.cjs.js.map +0 -1
- package/dist/components/Stepper/Step.module.scss.es.js +0 -50
- package/dist/components/Stepper/Step.module.scss.es.js.map +0 -1
- package/dist/components/Stepper/Stepper.cjs.js +0 -2
- package/dist/components/Stepper/Stepper.cjs.js.map +0 -1
- package/dist/components/Stepper/Stepper.es.js +0 -30
- package/dist/components/Stepper/Stepper.es.js.map +0 -1
- package/dist/components/Stepper/Stepper.module.scss.cjs.js +0 -3
- package/dist/components/Stepper/Stepper.module.scss.cjs.js.map +0 -1
- package/dist/components/Stepper/Stepper.module.scss.es.js +0 -14
- package/dist/components/Stepper/Stepper.module.scss.es.js.map +0 -1
- package/dist/components/Tabs/Tab.cjs.js +0 -2
- package/dist/components/Tabs/Tab.cjs.js.map +0 -1
- package/dist/components/Tabs/Tab.es.js +0 -18
- package/dist/components/Tabs/Tab.es.js.map +0 -1
- package/dist/components/Tabs/Tab.module.scss.cjs.js +0 -3
- package/dist/components/Tabs/Tab.module.scss.cjs.js.map +0 -1
- package/dist/components/Tabs/Tab.module.scss.es.js +0 -13
- package/dist/components/Tabs/Tab.module.scss.es.js.map +0 -1
- package/dist/components/Tabs/TabButton.cjs.js +0 -2
- package/dist/components/Tabs/TabButton.cjs.js.map +0 -1
- package/dist/components/Tabs/TabButton.es.js +0 -32
- package/dist/components/Tabs/TabButton.es.js.map +0 -1
- package/dist/components/Tabs/TabButton.module.scss.cjs.js +0 -3
- package/dist/components/Tabs/TabButton.module.scss.cjs.js.map +0 -1
- package/dist/components/Tabs/TabButton.module.scss.es.js +0 -26
- package/dist/components/Tabs/TabButton.module.scss.es.js.map +0 -1
- package/dist/components/Tabs/Tabs.cjs.js +0 -2
- package/dist/components/Tabs/Tabs.cjs.js.map +0 -1
- package/dist/components/Tabs/Tabs.es.js +0 -148
- package/dist/components/Tabs/Tabs.es.js.map +0 -1
- package/dist/components/Tabs/Tabs.module.scss.cjs.js +0 -3
- package/dist/components/Tabs/Tabs.module.scss.cjs.js.map +0 -1
- package/dist/components/Tabs/Tabs.module.scss.es.js +0 -28
- package/dist/components/Tabs/Tabs.module.scss.es.js.map +0 -1
- package/dist/components/Tag/RemoveButton.cjs.js +0 -2
- package/dist/components/Tag/RemoveButton.cjs.js.map +0 -1
- package/dist/components/Tag/RemoveButton.es.js +0 -24
- package/dist/components/Tag/RemoveButton.es.js.map +0 -1
- package/dist/components/Tag/RemoveButton.module.scss.cjs.js +0 -3
- package/dist/components/Tag/RemoveButton.module.scss.cjs.js.map +0 -1
- package/dist/components/Tag/RemoveButton.module.scss.es.js +0 -13
- package/dist/components/Tag/RemoveButton.module.scss.es.js.map +0 -1
- package/dist/components/Tag/Tag.cjs.js +0 -2
- package/dist/components/Tag/Tag.cjs.js.map +0 -1
- package/dist/components/Tag/Tag.es.js +0 -47
- package/dist/components/Tag/Tag.es.js.map +0 -1
- package/dist/components/Tag/Tag.module.scss.cjs.js +0 -3
- package/dist/components/Tag/Tag.module.scss.cjs.js.map +0 -1
- package/dist/components/Tag/Tag.module.scss.es.js +0 -18
- package/dist/components/Tag/Tag.module.scss.es.js.map +0 -1
- package/dist/components/TextEllipsis/TextEllipsis.cjs.js +0 -2
- package/dist/components/TextEllipsis/TextEllipsis.cjs.js.map +0 -1
- package/dist/components/TextEllipsis/TextEllipsis.es.js +0 -47
- package/dist/components/TextEllipsis/TextEllipsis.es.js.map +0 -1
- package/dist/components/TextEllipsis/TextEllipsis.module.scss.cjs.js +0 -3
- package/dist/components/TextEllipsis/TextEllipsis.module.scss.cjs.js.map +0 -1
- package/dist/components/TextEllipsis/TextEllipsis.module.scss.es.js +0 -11
- package/dist/components/TextEllipsis/TextEllipsis.module.scss.es.js.map +0 -1
- package/dist/components/Tiles/Tile.cjs.js +0 -2
- package/dist/components/Tiles/Tile.cjs.js.map +0 -1
- package/dist/components/Tiles/Tile.es.js +0 -48
- package/dist/components/Tiles/Tile.es.js.map +0 -1
- package/dist/components/Tiles/Tile.module.scss.cjs.js +0 -3
- package/dist/components/Tiles/Tile.module.scss.cjs.js.map +0 -1
- package/dist/components/Tiles/Tile.module.scss.es.js +0 -28
- package/dist/components/Tiles/Tile.module.scss.es.js.map +0 -1
- package/dist/components/Tiles/Tiles.cjs.js +0 -2
- package/dist/components/Tiles/Tiles.cjs.js.map +0 -1
- package/dist/components/Tiles/Tiles.es.js +0 -55
- package/dist/components/Tiles/Tiles.es.js.map +0 -1
- package/dist/components/Tiles/Tiles.module.scss.cjs.js +0 -3
- package/dist/components/Tiles/Tiles.module.scss.cjs.js.map +0 -1
- package/dist/components/Tiles/Tiles.module.scss.es.js +0 -10
- package/dist/components/Tiles/Tiles.module.scss.es.js.map +0 -1
- package/dist/components/Tooltip/Tooltip.cjs.js +0 -2
- package/dist/components/Tooltip/Tooltip.cjs.js.map +0 -1
- package/dist/components/Tooltip/Tooltip.es.js +0 -207
- package/dist/components/Tooltip/Tooltip.es.js.map +0 -1
- package/dist/components/Tooltip/Tooltip.module.scss.cjs.js +0 -3
- package/dist/components/Tooltip/Tooltip.module.scss.cjs.js.map +0 -1
- package/dist/components/Tooltip/Tooltip.module.scss.es.js +0 -59
- package/dist/components/Tooltip/Tooltip.module.scss.es.js.map +0 -1
- package/dist/components/Typography/Typography.cjs.js +0 -2
- package/dist/components/Typography/Typography.cjs.js.map +0 -1
- package/dist/components/Typography/Typography.es.js +0 -61
- package/dist/components/Typography/Typography.es.js.map +0 -1
- package/dist/components/Typography/Typography.module.scss.cjs.js +0 -3
- package/dist/components/Typography/Typography.module.scss.cjs.js.map +0 -1
- package/dist/components/Typography/Typography.module.scss.es.js +0 -33
- package/dist/components/Typography/Typography.module.scss.es.js.map +0 -1
- package/dist/components/_BaseStyling_/BaseStyling.cjs.js +0 -2
- package/dist/components/_BaseStyling_/BaseStyling.cjs.js.map +0 -1
- package/dist/components/_BaseStyling_/BaseStyling.es.js +0 -231
- package/dist/components/_BaseStyling_/BaseStyling.es.js.map +0 -1
- package/dist/components/_BaseStyling_/buttonBaseStyling.cjs.js +0 -2
- package/dist/components/_BaseStyling_/buttonBaseStyling.cjs.js.map +0 -1
- package/dist/components/_BaseStyling_/buttonBaseStyling.es.js +0 -86
- package/dist/components/_BaseStyling_/buttonBaseStyling.es.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNav.cjs.js +0 -2
- package/dist/components/admin/layout/LeftNav/LeftNav.cjs.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNav.es.js +0 -55
- package/dist/components/admin/layout/LeftNav/LeftNav.es.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNav.module.scss.cjs.js +0 -3
- package/dist/components/admin/layout/LeftNav/LeftNav.module.scss.cjs.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNav.module.scss.es.js +0 -17
- package/dist/components/admin/layout/LeftNav/LeftNav.module.scss.es.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/ButtonLeftNavItem.cjs.js +0 -2
- package/dist/components/admin/layout/LeftNav/LeftNavItem/ButtonLeftNavItem.cjs.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/ButtonLeftNavItem.es.js +0 -121
- package/dist/components/admin/layout/LeftNav/LeftNavItem/ButtonLeftNavItem.es.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.cjs.js +0 -2
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.cjs.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.es.js +0 -13
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.es.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.module.scss.cjs.js +0 -3
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.module.scss.cjs.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.module.scss.es.js +0 -24
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.module.scss.es.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LinkLeftNavItem.cjs.js +0 -2
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LinkLeftNavItem.cjs.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LinkLeftNavItem.es.js +0 -63
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LinkLeftNavItem.es.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/useKeyboardNavigation.cjs.js +0 -2
- package/dist/components/admin/layout/LeftNav/LeftNavItem/useKeyboardNavigation.cjs.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/LeftNavItem/useKeyboardNavigation.es.js +0 -52
- package/dist/components/admin/layout/LeftNav/LeftNavItem/useKeyboardNavigation.es.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/useRefItems.cjs.js +0 -2
- package/dist/components/admin/layout/LeftNav/useRefItems.cjs.js.map +0 -1
- package/dist/components/admin/layout/LeftNav/useRefItems.es.js +0 -201
- package/dist/components/admin/layout/LeftNav/useRefItems.es.js.map +0 -1
- package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.cjs.js +0 -2
- package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.cjs.js.map +0 -1
- package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.es.js +0 -18
- package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.es.js.map +0 -1
- package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.cjs.js +0 -3
- package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.cjs.js.map +0 -1
- package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.es.js +0 -9
- package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.es.js.map +0 -1
- package/dist/components/miscellaneous/IdentityProviderButton.cjs.js +0 -2
- package/dist/components/miscellaneous/IdentityProviderButton.cjs.js.map +0 -1
- package/dist/components/miscellaneous/IdentityProviderButton.es.js +0 -55
- package/dist/components/miscellaneous/IdentityProviderButton.es.js.map +0 -1
- package/dist/components/miscellaneous/IdentityProviderButton.module.scss.cjs.js +0 -3
- package/dist/components/miscellaneous/IdentityProviderButton.module.scss.cjs.js.map +0 -1
- package/dist/components/miscellaneous/IdentityProviderButton.module.scss.es.js +0 -9
- package/dist/components/miscellaneous/IdentityProviderButton.module.scss.es.js.map +0 -1
- package/dist/components/withReadOnly.cjs.js +0 -2
- package/dist/components/withReadOnly.cjs.js.map +0 -1
- package/dist/components/withReadOnly.es.js +0 -76
- package/dist/components/withReadOnly.es.js.map +0 -1
- package/dist/hooks/useAnimation.cjs.js +0 -2
- package/dist/hooks/useAnimation.cjs.js.map +0 -1
- package/dist/hooks/useAnimation.es.js +0 -23
- package/dist/hooks/useAnimation.es.js.map +0 -1
- package/dist/hooks/useClickOutside.cjs.js +0 -2
- package/dist/hooks/useClickOutside.cjs.js.map +0 -1
- package/dist/hooks/useClickOutside.es.js +0 -23
- package/dist/hooks/useClickOutside.es.js.map +0 -1
- package/dist/hooks/useDebouncedCallback.cjs.js +0 -2
- package/dist/hooks/useDebouncedCallback.cjs.js.map +0 -1
- package/dist/hooks/useDebouncedCallback.es.js +0 -17
- package/dist/hooks/useDebouncedCallback.es.js.map +0 -1
- package/dist/hooks/useDetermineStatusIcon.cjs.js +0 -2
- package/dist/hooks/useDetermineStatusIcon.cjs.js.map +0 -1
- package/dist/hooks/useDetermineStatusIcon.es.js +0 -18
- package/dist/hooks/useDetermineStatusIcon.es.js.map +0 -1
- package/dist/hooks/useFormSelector.cjs.js +0 -2
- package/dist/hooks/useFormSelector.cjs.js.map +0 -1
- package/dist/hooks/useFormSelector.es.js +0 -30
- package/dist/hooks/useFormSelector.es.js.map +0 -1
- package/dist/hooks/useFullHeightCollapse.cjs.js +0 -2
- package/dist/hooks/useFullHeightCollapse.cjs.js.map +0 -1
- package/dist/hooks/useFullHeightCollapse.es.js +0 -18
- package/dist/hooks/useFullHeightCollapse.es.js.map +0 -1
- package/dist/hooks/useGetDomRoot.cjs.js +0 -2
- package/dist/hooks/useGetDomRoot.cjs.js.map +0 -1
- package/dist/hooks/useGetDomRoot.es.js +0 -21
- package/dist/hooks/useGetDomRoot.es.js.map +0 -1
- package/dist/hooks/usePosition.cjs.js +0 -2
- package/dist/hooks/usePosition.cjs.js.map +0 -1
- package/dist/hooks/usePosition.es.js +0 -214
- package/dist/hooks/usePosition.es.js.map +0 -1
- package/dist/hooks/useRepeatFocus.cjs.js +0 -2
- package/dist/hooks/useRepeatFocus.cjs.js.map +0 -1
- package/dist/hooks/useRepeatFocus.es.js +0 -56
- package/dist/hooks/useRepeatFocus.es.js.map +0 -1
- package/dist/hooks/useRepeater.cjs.js +0 -2
- package/dist/hooks/useRepeater.cjs.js.map +0 -1
- package/dist/hooks/useRepeater.es.js +0 -27
- package/dist/hooks/useRepeater.es.js.map +0 -1
- package/dist/hooks/useScreenSize.cjs.js +0 -2
- package/dist/hooks/useScreenSize.cjs.js.map +0 -1
- package/dist/hooks/useScreenSize.es.js +0 -36
- package/dist/hooks/useScreenSize.es.js.map +0 -1
- package/dist/hooks/useSpacing.cjs.js +0 -2
- package/dist/hooks/useSpacing.cjs.js.map +0 -1
- package/dist/hooks/useSpacing.es.js +0 -17
- package/dist/hooks/useSpacing.es.js.map +0 -1
- package/dist/hooks/useUploadFile.cjs.js +0 -2
- package/dist/hooks/useUploadFile.cjs.js.map +0 -1
- package/dist/hooks/useUploadFile.es.js +0 -81
- package/dist/hooks/useUploadFile.es.js.map +0 -1
- package/dist/hooks/useWrapper.cjs.js +0 -2
- package/dist/hooks/useWrapper.cjs.js.map +0 -1
- package/dist/hooks/useWrapper.es.js +0 -19
- package/dist/hooks/useWrapper.es.js.map +0 -1
- package/dist/index.cjs.js +0 -2
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.d.ts +0 -1825
- package/dist/index.es.js +0 -183
- package/dist/index.es.js.map +0 -1
- package/dist/readyclasses.module.scss.cjs.js +0 -3
- package/dist/readyclasses.module.scss.cjs.js.map +0 -1
- package/dist/readyclasses.module.scss.es.js +0 -13
- package/dist/readyclasses.module.scss.es.js.map +0 -1
- package/dist/util/helper.cjs.js +0 -2
- package/dist/util/helper.cjs.js.map +0 -1
- package/dist/util/helper.es.js +0 -145
- package/dist/util/helper.es.js.map +0 -1
- package/dist/utils/statusUtils.cjs.js +0 -2
- package/dist/utils/statusUtils.cjs.js.map +0 -1
- package/dist/utils/statusUtils.es.js +0 -27
- package/dist/utils/statusUtils.es.js.map +0 -1
- package/dist/variables.cjs.js +0 -2
- package/dist/variables.cjs.js.map +0 -1
- package/dist/variables.es.js +0 -28
- package/dist/variables.es.js.map +0 -1
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import React, { createRef } from "react";
|
|
2
|
-
import { FormHelperText } from "../FormHelperText/FormHelperText.es.js";
|
|
3
|
-
import classes from "./FormSelectorWrapper.module.scss.es.js";
|
|
4
|
-
import { useInlineEditing } from "../../InlineEditing/InlineEditingContext.es.js";
|
|
5
|
-
import { RequiredSign } from "../../RequiredSign/RequiredSign.es.js";
|
|
6
|
-
import { FormErrorText } from "../FormErrorText/FormErrorText.es.js";
|
|
7
|
-
import { FormStatusIndicator } from "../FormStatusIndicator/FormStatusIndicator.es.js";
|
|
8
|
-
const FormSelectorWrapperComponent = ({
|
|
9
|
-
children,
|
|
10
|
-
className,
|
|
11
|
-
nestedChildren,
|
|
12
|
-
containerProps,
|
|
13
|
-
helperProps,
|
|
14
|
-
error,
|
|
15
|
-
disabled,
|
|
16
|
-
helperText,
|
|
17
|
-
success,
|
|
18
|
-
errorMessage,
|
|
19
|
-
errorMessageProps,
|
|
20
|
-
parentErrorId,
|
|
21
|
-
errorId,
|
|
22
|
-
identifier,
|
|
23
|
-
required,
|
|
24
|
-
...rest
|
|
25
|
-
}, ref) => {
|
|
26
|
-
const helperRef = (helperProps == null ? void 0 : helperProps.ref) ?? createRef();
|
|
27
|
-
const { enabled } = useInlineEditing();
|
|
28
|
-
const hasHelperText = helperText ?? (helperProps == null ? void 0 : helperProps.children);
|
|
29
|
-
const showHelperText = !error && hasHelperText;
|
|
30
|
-
const showErrorText = error && (errorMessage || (errorMessageProps == null ? void 0 : errorMessageProps.children));
|
|
31
|
-
return /* @__PURE__ */ React.createElement(
|
|
32
|
-
"div",
|
|
33
|
-
{
|
|
34
|
-
...rest,
|
|
35
|
-
ref,
|
|
36
|
-
className: `${error ? classes["error"] : ""} ${disabled ? classes["disabled"] : ""} ${className ?? ""}`
|
|
37
|
-
},
|
|
38
|
-
/* @__PURE__ */ React.createElement(
|
|
39
|
-
"div",
|
|
40
|
-
{
|
|
41
|
-
...containerProps,
|
|
42
|
-
className: `${containerProps == null ? void 0 : containerProps.className} ${classes["children-container"]}`
|
|
43
|
-
},
|
|
44
|
-
children,
|
|
45
|
-
enabled && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(RequiredSign, { className: classes["required"] }), /* @__PURE__ */ React.createElement(FormStatusIndicator, { success, error }, /* @__PURE__ */ React.createElement(React.Fragment, null)))
|
|
46
|
-
),
|
|
47
|
-
!enabled && (showHelperText || showErrorText) && (showErrorText ? /* @__PURE__ */ React.createElement(
|
|
48
|
-
FormErrorText,
|
|
49
|
-
{
|
|
50
|
-
error,
|
|
51
|
-
errorMessage,
|
|
52
|
-
errorMessageProps,
|
|
53
|
-
errorId
|
|
54
|
-
}
|
|
55
|
-
) : /* @__PURE__ */ React.createElement(
|
|
56
|
-
FormHelperText,
|
|
57
|
-
{
|
|
58
|
-
...helperProps,
|
|
59
|
-
ref: helperRef,
|
|
60
|
-
id: identifier,
|
|
61
|
-
className: `${classes["helper-text"]} ${(helperProps == null ? void 0 : helperProps.className) ?? ""}`
|
|
62
|
-
},
|
|
63
|
-
(helperProps == null ? void 0 : helperProps.children) || helperText
|
|
64
|
-
)),
|
|
65
|
-
nestedChildren
|
|
66
|
-
);
|
|
67
|
-
};
|
|
68
|
-
const FormSelectorWrapper = React.forwardRef(FormSelectorWrapperComponent);
|
|
69
|
-
export {
|
|
70
|
-
FormSelectorWrapper
|
|
71
|
-
};
|
|
72
|
-
//# sourceMappingURL=FormSelectorWrapper.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormSelectorWrapper.es.js","sources":["../../../../src/components/Form/FormSelectorWrapper/FormSelectorWrapper.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 ReactNode\n} from \"react\";\nimport { KeyValuePair } from \"../../../interfaces\";\nimport { FormSelector } from \"../form.interfaces\";\nimport { FormHelperText, Props as FormHelperTextProps } from \"../FormHelperText/FormHelperText\";\nimport classes from \"./FormSelectorWrapper.module.scss\";\nimport { useInlineEditing } from \"../../InlineEditing/InlineEditingContext\";\nimport { RequiredSign } from \"../../RequiredSign/RequiredSign\";\nimport { FormErrorText } from \"../FormErrorText/FormErrorText\";\nimport { FormStatusIndicator } from \"../FormStatusIndicator/FormStatusIndicator\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\">, FormSelector {\n children?: ReactNode;\n nestedChildren?: ReactNode;\n containerProps?: ComponentPropsWithRef<\"div\"> & KeyValuePair;\n helperProps?: FormHelperTextProps;\n disabled?: boolean;\n errorId?: string;\n identifier?: string;\n required?: boolean;\n}\n\nconst FormSelectorWrapperComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n {\n children,\n className,\n nestedChildren,\n containerProps,\n helperProps,\n error,\n disabled,\n helperText,\n success,\n errorMessage,\n errorMessageProps,\n parentErrorId,\n errorId,\n identifier,\n required,\n ...rest\n }: Props,\n ref\n) => {\n const helperRef = helperProps?.ref ?? createRef();\n const { enabled } = useInlineEditing();\n\n const hasHelperText = helperText ?? helperProps?.children;\n const showHelperText = !error && hasHelperText;\n const showErrorText = error && (errorMessage || errorMessageProps?.children);\n\n return (\n <div\n {...rest}\n ref={ref}\n className={`${error ? classes[\"error\"] : \"\"} ${disabled ? classes[\"disabled\"] : \"\"} ${\n className ?? \"\"\n }`}\n >\n <div\n {...containerProps}\n className={`${containerProps?.className} ${classes[\"children-container\"]}`}\n >\n {children}\n {enabled && (\n <>\n <RequiredSign className={classes[\"required\"]} />\n <FormStatusIndicator success={success} error={error}>\n <></>\n </FormStatusIndicator>\n </>\n )}\n </div>\n {!enabled &&\n (showHelperText || showErrorText) &&\n (showErrorText ? (\n <FormErrorText\n error={error}\n errorMessage={errorMessage}\n errorMessageProps={errorMessageProps}\n errorId={errorId}\n />\n ) : (\n <FormHelperText\n {...helperProps}\n ref={helperRef}\n id={identifier}\n className={`${classes[\"helper-text\"]} ${helperProps?.className ?? \"\"}`}\n >\n {helperProps?.children || helperText}\n </FormHelperText>\n ))}\n {nestedChildren}\n </div>\n );\n};\n\nexport const FormSelectorWrapper = React.forwardRef(FormSelectorWrapperComponent);\n"],"names":[],"mappings":";;;;;;;AA0CA,MAAM,+BAAgF,CACpF;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;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;AACG,QAAA,aAAY,2CAAa,QAAO,UAAU;AAC1C,QAAA,EAAE,QAAQ,IAAI,iBAAiB;AAE/B,QAAA,gBAAgB,eAAc,2CAAa;AAC3C,QAAA,iBAAiB,CAAC,SAAS;AAC3B,QAAA,gBAAgB,UAAU,iBAAgB,uDAAmB;AAGjE,SAAA,sBAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACE,GAAG;AAAA,MACJ;AAAA,MACA,WAAW,GAAG,QAAQ,QAAQ,OAAO,IAAI,EAAE,IAAI,WAAW,QAAQ,UAAU,IAAI,EAAE,IAChF,aAAa,EACf;AAAA,IAAA;AAAA,IAEA,sBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACE,GAAG;AAAA,QACJ,WAAW,GAAG,iDAAgB,SAAS,IAAI,QAAQ,oBAAoB,CAAC;AAAA,MAAA;AAAA,MAEvE;AAAA,MACA,WACC,sBAAA,cAAA,MAAA,UAAA,MACG,sBAAA,cAAA,cAAA,EAAa,WAAW,QAAQ,UAAU,GAAG,uCAC7C,qBAAoB,EAAA,SAAkB,SACrC,sBAAA,cAAA,MAAA,UAAA,IAAE,CACJ,CACF;AAAA,IAEJ;AAAA,IACC,CAAC,YACC,kBAAkB,mBAClB,gBACC,sBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,IAGF,IAAA,sBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACE,GAAG;AAAA,QACJ,KAAK;AAAA,QACL,IAAI;AAAA,QACJ,WAAW,GAAG,QAAQ,aAAa,CAAC,KAAI,2CAAa,cAAa,EAAE;AAAA,MAAA;AAAA,OAEnE,2CAAa,aAAY;AAAA,IAAA;AAAA,IAG/B;AAAA,EACH;AAEJ;AAEa,MAAA,sBAAsB,MAAM,WAAW,4BAA4B;"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.FormSelectorWrapper_error_HO9cY input+span{outline:var(--error) solid 1px;outline-offset:-1px;border-radius:2px;overflow:hidden}.FormSelectorWrapper_helper-text_HO9cY{margin-top:.25rem;margin-left:calc(1.75 * var(--font-size))}.FormSelectorWrapper_children-container_HO9cY>span:nth-of-type(2){margin-right:.5rem}.FormSelectorWrapper_children-container_HO9cY [data-icon-status=success]{color:var(--success);font-size:var(--font-size-big)}.FormSelectorWrapper_children-container_HO9cY [data-icon-status=error]{color:var(--error);font-size:var(--font-size-big)}.FormSelectorWrapper_children-container_HO9cY [data-icon-status=info]{color:var(--default);font-size:var(--font-size-big)}.FormSelectorWrapper_disabled_HO9cY input{color:var(--disabled)}.FormSelectorWrapper_disabled_HO9cY input:disabled{cursor:not-allowed}.FormSelectorWrapper_disabled_HO9cY label{cursor:not-allowed}.FormSelectorWrapper_required_HO9cY{color:var(--error)}')),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}}();
|
|
2
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="FormSelectorWrapper_error_HO9cY",r="FormSelectorWrapper_disabled_HO9cY",o="FormSelectorWrapper_required_HO9cY",t={error:e,"helper-text":"FormSelectorWrapper_helper-text_HO9cY","children-container":"FormSelectorWrapper_children-container_HO9cY",disabled:r,required:o};exports.default=t,exports.disabled=r,exports.error=e,exports.required=o;
|
|
3
|
-
//# sourceMappingURL=FormSelectorWrapper.module.scss.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormSelectorWrapper.module.scss.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.FormSelectorWrapper_error_HO9cY input+span{outline:var(--error) solid 1px;outline-offset:-1px;border-radius:2px;overflow:hidden}.FormSelectorWrapper_helper-text_HO9cY{margin-top:.25rem;margin-left:calc(1.75 * var(--font-size))}.FormSelectorWrapper_children-container_HO9cY>span:nth-of-type(2){margin-right:.5rem}.FormSelectorWrapper_children-container_HO9cY [data-icon-status=success]{color:var(--success);font-size:var(--font-size-big)}.FormSelectorWrapper_children-container_HO9cY [data-icon-status=error]{color:var(--error);font-size:var(--font-size-big)}.FormSelectorWrapper_children-container_HO9cY [data-icon-status=info]{color:var(--default);font-size:var(--font-size-big)}.FormSelectorWrapper_disabled_HO9cY input{color:var(--disabled)}.FormSelectorWrapper_disabled_HO9cY input:disabled{cursor:not-allowed}.FormSelectorWrapper_disabled_HO9cY label{cursor:not-allowed}.FormSelectorWrapper_required_HO9cY{color:var(--error)}')),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}}();
|
|
2
|
-
const error = "FormSelectorWrapper_error_HO9cY";
|
|
3
|
-
const disabled = "FormSelectorWrapper_disabled_HO9cY";
|
|
4
|
-
const required = "FormSelectorWrapper_required_HO9cY";
|
|
5
|
-
const classes = {
|
|
6
|
-
error,
|
|
7
|
-
"helper-text": "FormSelectorWrapper_helper-text_HO9cY",
|
|
8
|
-
"children-container": "FormSelectorWrapper_children-container_HO9cY",
|
|
9
|
-
disabled,
|
|
10
|
-
required
|
|
11
|
-
};
|
|
12
|
-
export {
|
|
13
|
-
classes as default,
|
|
14
|
-
disabled,
|
|
15
|
-
error,
|
|
16
|
-
required
|
|
17
|
-
};
|
|
18
|
-
//# sourceMappingURL=FormSelectorWrapper.module.scss.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormSelectorWrapper.module.scss.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),t=require("../../InlineEditing/InlineEditingContext.cjs.js"),s=require("../../../hooks/useDetermineStatusIcon.cjs.js"),r=require("../../../utils/statusUtils.cjs.js"),o=require("../../Tooltip/Tooltip.cjs.js"),i=require("../../Icon/Icon.cjs.js");exports.FormStatusIndicator=({isReadOnlyView:n,success:c,error:u,children:a})=>{const{enabled:l,tooltipText:d,...j}=t.useInlineEditing(),I=l&&d,g=j.success??c,p=j.error??u,m=s.useDetermineStatusIcon({success:g,error:p});if(I&&!n){const t=r.getStatusState({success:g,error:p},!0);return e.createElement(o.Tooltip,{label:e.createElement(i.Icon,{"data-testid":"tooltip-icon","data-icon-status":t,icon:r.getStatusIcon({success:g,error:p})}),location:"right",position:"center"},d)}return e.createElement(e.Fragment,null,m||!n&&a)};
|
|
2
|
-
//# sourceMappingURL=FormStatusIndicator.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormStatusIndicator.cjs.js","sources":["../../../../src/components/Form/FormStatusIndicator/FormStatusIndicator.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 from \"react\";\nimport { useInlineEditing } from \"../../InlineEditing/InlineEditingContext\";\nimport { useDetermineStatusIcon } from \"../../../hooks/useDetermineStatusIcon\";\nimport { getStatusIcon, getStatusState } from \"../../../utils/statusUtils\";\nimport { Tooltip } from \"../../Tooltip/Tooltip\";\nimport { Icon } from \"../../Icon/Icon\";\n\nexport interface FormStatusIndicatorProps {\n isReadOnlyView?: boolean;\n success?: boolean;\n error?: boolean;\n children: React.ReactNode;\n}\n\nexport const FormStatusIndicator: React.FC<FormStatusIndicatorProps> = ({\n isReadOnlyView,\n success,\n error,\n children\n}) => {\n const { enabled, tooltipText, ...restProps } = useInlineEditing();\n const showTooltip = enabled && tooltipText;\n const isSuccess = restProps.success ?? success;\n const isError = restProps.error ?? error;\n const statusIcon = useDetermineStatusIcon({\n success: isSuccess,\n error: isError\n });\n\n if (showTooltip && !isReadOnlyView) {\n const status = getStatusState(\n {\n success: isSuccess,\n error: isError\n },\n true\n );\n return (\n <Tooltip\n label={\n <Icon\n data-testid=\"tooltip-icon\"\n data-icon-status={status}\n icon={getStatusIcon({\n success: isSuccess,\n error: isError\n })}\n />\n }\n location=\"right\"\n position=\"center\"\n >\n {tooltipText}\n </Tooltip>\n );\n }\n\n return <>{statusIcon || (!isReadOnlyView && children)}</>;\n};\n"],"names":["isReadOnlyView","success","error","children","enabled","tooltipText","restProps","useInlineEditing","showTooltip","isSuccess","isError","statusIcon","useDetermineStatusIcon","status","getStatusState","React","createElement","Tooltip","label","Icon","icon","getStatusIcon","location","position","Fragment"],"mappings":"yXA8BuE,EACrEA,iBACAC,UACAC,QACAC,eAEA,MAAMC,QAAEA,EAASC,YAAAA,KAAgBC,GAAcC,EAAAA,mBACzCC,EAAcJ,GAAWC,EACzBI,EAAYH,EAAUL,SAAWA,EACjCS,EAAUJ,EAAUJ,OAASA,EAC7BS,EAAaC,EAAAA,uBAAuB,CACxCX,QAASQ,EACTP,MAAOQ,IAGL,GAAAF,IAAgBR,EAAgB,CAClC,MAAMa,EAASC,EAAAA,eACb,CACEb,QAASQ,EACTP,MAAOQ,IAET,GAGA,OAAAK,EAAAC,cAACC,EAAAA,QAAA,CACCC,MACEH,EAAAC,cAACG,EAAAA,KAAA,CACC,cAAY,eACZ,mBAAkBN,EAClBO,KAAMC,EAAAA,cAAc,CAClBpB,QAASQ,EACTP,MAAOQ,MAIbY,SAAS,QACTC,SAAS,UAERlB,EACH,CAIM,OAAAU,EAAAC,cAAAD,EAAAS,SAAA,KAAAb,IAAgBX,GAAkBG,EAAU"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { useInlineEditing } from "../../InlineEditing/InlineEditingContext.es.js";
|
|
3
|
-
import { useDetermineStatusIcon } from "../../../hooks/useDetermineStatusIcon.es.js";
|
|
4
|
-
import { getStatusIcon, getStatusState } from "../../../utils/statusUtils.es.js";
|
|
5
|
-
import { Tooltip } from "../../Tooltip/Tooltip.es.js";
|
|
6
|
-
import { Icon } from "../../Icon/Icon.es.js";
|
|
7
|
-
const FormStatusIndicator = ({
|
|
8
|
-
isReadOnlyView,
|
|
9
|
-
success,
|
|
10
|
-
error,
|
|
11
|
-
children
|
|
12
|
-
}) => {
|
|
13
|
-
const { enabled, tooltipText, ...restProps } = useInlineEditing();
|
|
14
|
-
const showTooltip = enabled && tooltipText;
|
|
15
|
-
const isSuccess = restProps.success ?? success;
|
|
16
|
-
const isError = restProps.error ?? error;
|
|
17
|
-
const statusIcon = useDetermineStatusIcon({
|
|
18
|
-
success: isSuccess,
|
|
19
|
-
error: isError
|
|
20
|
-
});
|
|
21
|
-
if (showTooltip && !isReadOnlyView) {
|
|
22
|
-
const status = getStatusState(
|
|
23
|
-
{
|
|
24
|
-
success: isSuccess,
|
|
25
|
-
error: isError
|
|
26
|
-
},
|
|
27
|
-
true
|
|
28
|
-
);
|
|
29
|
-
return /* @__PURE__ */ React.createElement(
|
|
30
|
-
Tooltip,
|
|
31
|
-
{
|
|
32
|
-
label: /* @__PURE__ */ React.createElement(
|
|
33
|
-
Icon,
|
|
34
|
-
{
|
|
35
|
-
"data-testid": "tooltip-icon",
|
|
36
|
-
"data-icon-status": status,
|
|
37
|
-
icon: getStatusIcon({
|
|
38
|
-
success: isSuccess,
|
|
39
|
-
error: isError
|
|
40
|
-
})
|
|
41
|
-
}
|
|
42
|
-
),
|
|
43
|
-
location: "right",
|
|
44
|
-
position: "center"
|
|
45
|
-
},
|
|
46
|
-
tooltipText
|
|
47
|
-
);
|
|
48
|
-
}
|
|
49
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, statusIcon || !isReadOnlyView && children);
|
|
50
|
-
};
|
|
51
|
-
export {
|
|
52
|
-
FormStatusIndicator
|
|
53
|
-
};
|
|
54
|
-
//# sourceMappingURL=FormStatusIndicator.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormStatusIndicator.es.js","sources":["../../../../src/components/Form/FormStatusIndicator/FormStatusIndicator.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 from \"react\";\nimport { useInlineEditing } from \"../../InlineEditing/InlineEditingContext\";\nimport { useDetermineStatusIcon } from \"../../../hooks/useDetermineStatusIcon\";\nimport { getStatusIcon, getStatusState } from \"../../../utils/statusUtils\";\nimport { Tooltip } from \"../../Tooltip/Tooltip\";\nimport { Icon } from \"../../Icon/Icon\";\n\nexport interface FormStatusIndicatorProps {\n isReadOnlyView?: boolean;\n success?: boolean;\n error?: boolean;\n children: React.ReactNode;\n}\n\nexport const FormStatusIndicator: React.FC<FormStatusIndicatorProps> = ({\n isReadOnlyView,\n success,\n error,\n children\n}) => {\n const { enabled, tooltipText, ...restProps } = useInlineEditing();\n const showTooltip = enabled && tooltipText;\n const isSuccess = restProps.success ?? success;\n const isError = restProps.error ?? error;\n const statusIcon = useDetermineStatusIcon({\n success: isSuccess,\n error: isError\n });\n\n if (showTooltip && !isReadOnlyView) {\n const status = getStatusState(\n {\n success: isSuccess,\n error: isError\n },\n true\n );\n return (\n <Tooltip\n label={\n <Icon\n data-testid=\"tooltip-icon\"\n data-icon-status={status}\n icon={getStatusIcon({\n success: isSuccess,\n error: isError\n })}\n />\n }\n location=\"right\"\n position=\"center\"\n >\n {tooltipText}\n </Tooltip>\n );\n }\n\n return <>{statusIcon || (!isReadOnlyView && children)}</>;\n};\n"],"names":[],"mappings":";;;;;;AA8BO,MAAM,sBAA0D,CAAC;AAAA,EACtE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,EAAE,SAAS,aAAa,GAAG,UAAA,IAAc,iBAAiB;AAChE,QAAM,cAAc,WAAW;AACzB,QAAA,YAAY,UAAU,WAAW;AACjC,QAAA,UAAU,UAAU,SAAS;AACnC,QAAM,aAAa,uBAAuB;AAAA,IACxC,SAAS;AAAA,IACT,OAAO;AAAA,EAAA,CACR;AAEG,MAAA,eAAe,CAAC,gBAAgB;AAClC,UAAM,SAAS;AAAA,MACb;AAAA,QACE,SAAS;AAAA,QACT,OAAO;AAAA,MACT;AAAA,MACA;AAAA,IACF;AAEE,WAAA,sBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,OACE,sBAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,eAAY;AAAA,YACZ,oBAAkB;AAAA,YAClB,MAAM,cAAc;AAAA,cAClB,SAAS;AAAA,cACT,OAAO;AAAA,YACR,CAAA;AAAA,UAAA;AAAA,QACH;AAAA,QAEF,UAAS;AAAA,QACT,UAAS;AAAA,MAAA;AAAA,MAER;AAAA,IACH;AAAA,EAAA;AAIJ,SAAU,sBAAA,cAAA,MAAA,UAAA,MAAA,cAAe,CAAC,kBAAkB,QAAU;AACxD;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),s=require("./Input.module.scss.cjs.js"),a=require("../../../readyclasses.module.scss.cjs.js"),t=require("../../../hooks/useDetermineStatusIcon.cjs.js"),u=require("../../withReadOnly.cjs.js"),l=["date","time","datetime-local"],r=u.withReadOnly(e.forwardRef((({error:u=!1,success:r=!1,className:n,name:d,style:i,wrapperProps:o,type:c,labeledBy:f,prefix:p,suffix:m,disabled:h,onFocus:y,onBlur:x,readOnlyView:b,...j},w)=>{const[v,E]=e.useState(!1),N=e.useRef(null),I=e.useRef(null);e.useEffect((()=>{if(void 0===d)throw new Error("Please give your <Input /> component a 'name' attribute")}),[]);const q=[s.default.input],O=s=>"string"==typeof s?e.createElement("span",null,s):s;l.includes(c)&&q.push(s.default["shrink-width-for-date-icon"]),n&&q.push(n);const R=[s.default["input-wrapper"]],S=[s.default.outline];(null==o?void 0:o.className)&&R.push(o.className),"hidden"===c&&R.push(a.default.hidden),p&&R.push(s.default.prefix),m&&R.push(s.default.suffix),h&&R.push(s.default.disabled)&&S.push(s.default.disabled),u&&R.push(s.default.error)&&S.push(s.default.error),v&&R.push(s.default.focus)&&S.push(s.default.focus),r&&R.push(s.default.success);const g=t.useDetermineStatusIcon({success:r,error:u}),k=j["data-readonlyview"];return e.createElement("div",{ref:N,...o,style:{...i},"data-readonlyview":k,className:`${s.default["input-wrapper"]} ${R.join(" ")}`,tabIndex:k?0:-1},p&&e.createElement("div",{"data-prefix":!0,className:s.default.prefix},O(p)),e.createElement("input",{...j,ref:w,"aria-readonly":k,readOnly:k,onFocus:e=>{E(!0),null==y||y(e)},onBlur:e=>{E(!1),null==x||x(e)},"aria-labelledby":f,type:c,name:d,disabled:h,className:q.join(" "),spellCheck:j.spellCheck??!1,tabIndex:k?-1:0}),g,m&&e.createElement("div",{ref:I,"data-suffix":!0,className:s.default.suffix},O(m)),e.createElement("span",{className:S.join(" ")}))})));exports.Input=r,exports.dateTypes=l;
|
|
2
|
-
//# sourceMappingURL=Input.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Input.cjs.js","sources":["../../../../src/components/Form/Input/Input.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 Ref,\n useEffect,\n useRef,\n useState,\n ReactNode\n} from \"react\";\nimport classes from \"./Input.module.scss\";\nimport readyclasses from \"../../../readyclasses.module.scss\";\nimport { FormElement } from \"../form.interfaces\";\nimport { useDetermineStatusIcon } from \"../../../hooks/useDetermineStatusIcon\";\nimport { MergeElementProps } from \"../../../interfaces\";\nimport { withReadOnly } from \"../../withReadOnly\";\n\nexport const dateTypes = [\"date\", \"time\", \"datetime-local\"] as const;\n\nexport type Type =\n | \"text\"\n | \"email\"\n | \"file\"\n | \"number\"\n | \"password\"\n | \"search\"\n | \"tel\"\n | \"url\"\n | \"hidden\"\n | (typeof dateTypes)[number];\n\nexport type Props = MergeElementProps<\n \"input\",\n FormElement & {\n wrapperProps?: ComponentPropsWithRef<\"div\">;\n labeledBy?: string;\n type: Type;\n suffix?: ReactNode;\n prefix?: ReactNode;\n readOnlyView?: boolean;\n }\n>;\n\nconst InputComponent: ForwardRefRenderFunction<HTMLInputElement, Props> = (\n {\n error = false,\n success = false,\n className,\n name,\n style,\n wrapperProps,\n type,\n labeledBy,\n prefix,\n suffix,\n disabled,\n onFocus,\n onBlur,\n readOnlyView,\n ...rest\n }: Props,\n ref: Ref<HTMLInputElement>\n) => {\n const [focus, setFocus] = useState(false);\n const inputWrapperRef = useRef<HTMLDivElement>(null);\n const suffixRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n if (name === undefined) {\n throw new Error(\"Please give your <Input /> component a 'name' attribute\");\n }\n }, []);\n\n const inputClassNames = [classes[\"input\"]];\n\n const renderElement = (el: ReactNode) => {\n return typeof el === \"string\" ? <span>{el}</span> : el;\n };\n\n (dateTypes as ReadonlyArray<string>).includes(type) &&\n inputClassNames.push(classes[\"shrink-width-for-date-icon\"]);\n className && inputClassNames.push(className);\n\n const wrapperClasses = [classes[\"input-wrapper\"]];\n const outlineClasses = [classes[\"outline\"]];\n\n wrapperProps?.className && wrapperClasses.push(wrapperProps.className);\n type === \"hidden\" && wrapperClasses.push(readyclasses[\"hidden\"]);\n prefix && wrapperClasses.push(classes[\"prefix\"]);\n suffix && wrapperClasses.push(classes[\"suffix\"]);\n disabled && wrapperClasses.push(classes[\"disabled\"]) && outlineClasses.push(classes[\"disabled\"]);\n error && wrapperClasses.push(classes[\"error\"]) && outlineClasses.push(classes[\"error\"]);\n focus && wrapperClasses.push(classes[\"focus\"]) && outlineClasses.push(classes[\"focus\"]);\n success && wrapperClasses.push(classes[\"success\"]);\n\n const icon = useDetermineStatusIcon({ success, error });\n const readOnlyMode = rest[\"data-readonlyview\"] as boolean;\n\n return (\n <div\n ref={inputWrapperRef}\n {...wrapperProps}\n style={{ ...style }}\n data-readonlyview={readOnlyMode}\n className={`${classes[\"input-wrapper\"]} ${wrapperClasses.join(\" \")}`}\n tabIndex={readOnlyMode ? 0 : -1}\n >\n {prefix && (\n <div data-prefix className={classes[\"prefix\"]}>\n {renderElement(prefix)}\n </div>\n )}\n <input\n {...rest}\n ref={ref}\n aria-readonly={readOnlyMode}\n readOnly={readOnlyMode}\n onFocus={event => {\n setFocus(true);\n onFocus?.(event);\n }}\n onBlur={event => {\n setFocus(false);\n onBlur?.(event);\n }}\n aria-labelledby={labeledBy}\n type={type}\n name={name}\n disabled={disabled}\n className={inputClassNames.join(\" \")}\n spellCheck={rest.spellCheck ?? false}\n tabIndex={readOnlyMode ? -1 : 0}\n />\n {icon}\n {suffix && (\n <div ref={suffixRef} data-suffix className={classes[\"suffix\"]}>\n {renderElement(suffix)}\n </div>\n )}\n\n <span className={outlineClasses.join(\" \")}></span>\n </div>\n );\n};\n\nexport const Input = withReadOnly(React.forwardRef(InputComponent));\n"],"names":["dateTypes","Input","withReadOnly","React","forwardRef","error","success","className","name","style","wrapperProps","type","labeledBy","prefix","suffix","disabled","onFocus","onBlur","readOnlyView","rest","ref","focus","setFocus","useState","inputWrapperRef","useRef","suffixRef","useEffect","Error","inputClassNames","classes","renderElement","el","createElement","includes","push","wrapperClasses","outlineClasses","readyclasses","default","icon","useDetermineStatusIcon","readOnlyMode","join","tabIndex","readOnly","event","spellCheck"],"mappings":"wSAgCaA,EAAY,CAAC,OAAQ,OAAQ,kBAgI7BC,EAAQC,EAAAA,aAAaC,EAAMC,YAtGkC,EAEtEC,SAAQ,EACRC,WAAU,EACVC,YACAC,OACAC,QACAC,eACAC,OACAC,YACAC,SACAC,SACAC,WACAC,UACAC,SACAC,kBACGC,GAELC,KAEA,MAAOC,EAAOC,GAAYC,EAAAA,UAAS,GAC7BC,EAAkBC,SAAuB,MACzCC,EAAYD,SAAuB,MAEzCE,EAAAA,WAAU,KACR,QAAa,IAATnB,EACI,MAAA,IAAIoB,MAAM,0DAAyD,GAE1E,IAEH,MAAMC,EAAkB,CAACC,UAAe,OAElCC,EAAiBC,GACA,iBAAPA,EAAmB7B,EAAA8B,cAAA,OAAA,KAAMD,GAAaA,EAGjBhC,EAAAkC,SAASvB,IAC5CkB,EAAgBM,KAAKL,EAAAA,QAAQ,+BAClBvB,GAAAsB,EAAgBM,KAAK5B,GAElC,MAAM6B,EAAiB,CAACN,UAAQ,kBAC1BO,EAAiB,CAACP,UAAiB,UAEzC,MAAApB,OAAA,EAAAA,EAAcH,YAAa6B,EAAeD,KAAKzB,EAAaH,WACnD,WAATI,GAAqByB,EAAeD,KAAKG,EAAAC,QAAqB,QAC9D1B,GAAUuB,EAAeD,KAAKL,EAAQS,QAAQ,QAC9CzB,GAAUsB,EAAeD,KAAKL,EAAQS,QAAQ,QAClCxB,GAAAqB,EAAeD,KAAKL,EAAAA,QAAkB,WAAMO,EAAeF,KAAKL,UAAkB,UACrFzB,GAAA+B,EAAeD,KAAKL,EAAAA,QAAe,QAAMO,EAAeF,KAAKL,UAAe,OAC5ET,GAAAe,EAAeD,KAAKL,EAAAA,QAAe,QAAMO,EAAeF,KAAKL,UAAe,OACrFxB,GAAW8B,EAAeD,KAAKL,EAAQS,QAAS,SAEhD,MAAMC,EAAOC,EAAAA,uBAAuB,CAAEnC,UAASD,UACzCqC,EAAevB,EAAK,qBAGxB,OAAAhB,EAAA8B,cAAC,MAAA,CACCb,IAAKI,KACDd,EACJD,MAAO,IAAKA,GACZ,oBAAmBiC,EACnBnC,UAAW,GAAGuB,EAAQS,QAAA,oBAAoBH,EAAeO,KAAK,OAC9DC,SAAUF,EAAe,GAAI,GAE5B7B,GACEV,EAAA8B,cAAA,MAAA,CAAI,eAAW,EAAC1B,UAAWuB,EAAAS,QAAgB,QACzCR,EAAclB,IAGnBV,EAAA8B,cAAC,QAAA,IACKd,EACJC,MACA,gBAAesB,EACfG,SAAUH,EACV1B,QAAkB8B,IAChBxB,GAAS,GACC,MAAAN,GAAAA,EAAA8B,EAAA,EAEZ7B,OAAiB6B,IACfxB,GAAS,GACA,MAAAL,GAAAA,EAAA6B,EAAA,EAEX,kBAAiBlC,EACjBD,OACAH,OACAO,WACAR,UAAWsB,EAAgBc,KAAK,KAChCI,WAAY5B,EAAK4B,aAAc,EAC/BH,SAAUF,GAAoB,EAAA,IAE/BF,EACA1B,GACCX,EAAA8B,cAAC,MAAI,CAAAb,IAAKM,EAAW,eAAW,EAACnB,UAAWuB,EAAAA,QAAgB,QACzDC,EAAcjB,oBAIlB,OAAK,CAAAP,UAAW8B,EAAeM,KAAK,OACvC"}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import React, { useState, useRef, useEffect } from "react";
|
|
2
|
-
import classes from "./Input.module.scss.es.js";
|
|
3
|
-
import readyclasses from "../../../readyclasses.module.scss.es.js";
|
|
4
|
-
import { useDetermineStatusIcon } from "../../../hooks/useDetermineStatusIcon.es.js";
|
|
5
|
-
import { withReadOnly } from "../../withReadOnly.es.js";
|
|
6
|
-
const dateTypes = ["date", "time", "datetime-local"];
|
|
7
|
-
const InputComponent = ({
|
|
8
|
-
error = false,
|
|
9
|
-
success = false,
|
|
10
|
-
className,
|
|
11
|
-
name,
|
|
12
|
-
style,
|
|
13
|
-
wrapperProps,
|
|
14
|
-
type,
|
|
15
|
-
labeledBy,
|
|
16
|
-
prefix,
|
|
17
|
-
suffix,
|
|
18
|
-
disabled,
|
|
19
|
-
onFocus,
|
|
20
|
-
onBlur,
|
|
21
|
-
readOnlyView,
|
|
22
|
-
...rest
|
|
23
|
-
}, ref) => {
|
|
24
|
-
const [focus, setFocus] = useState(false);
|
|
25
|
-
const inputWrapperRef = useRef(null);
|
|
26
|
-
const suffixRef = useRef(null);
|
|
27
|
-
useEffect(() => {
|
|
28
|
-
if (name === void 0) {
|
|
29
|
-
throw new Error("Please give your <Input /> component a 'name' attribute");
|
|
30
|
-
}
|
|
31
|
-
}, []);
|
|
32
|
-
const inputClassNames = [classes["input"]];
|
|
33
|
-
const renderElement = (el) => {
|
|
34
|
-
return typeof el === "string" ? /* @__PURE__ */ React.createElement("span", null, el) : el;
|
|
35
|
-
};
|
|
36
|
-
dateTypes.includes(type) && inputClassNames.push(classes["shrink-width-for-date-icon"]);
|
|
37
|
-
className && inputClassNames.push(className);
|
|
38
|
-
const wrapperClasses = [classes["input-wrapper"]];
|
|
39
|
-
const outlineClasses = [classes["outline"]];
|
|
40
|
-
(wrapperProps == null ? void 0 : wrapperProps.className) && wrapperClasses.push(wrapperProps.className);
|
|
41
|
-
type === "hidden" && wrapperClasses.push(readyclasses["hidden"]);
|
|
42
|
-
prefix && wrapperClasses.push(classes["prefix"]);
|
|
43
|
-
suffix && wrapperClasses.push(classes["suffix"]);
|
|
44
|
-
disabled && wrapperClasses.push(classes["disabled"]) && outlineClasses.push(classes["disabled"]);
|
|
45
|
-
error && wrapperClasses.push(classes["error"]) && outlineClasses.push(classes["error"]);
|
|
46
|
-
focus && wrapperClasses.push(classes["focus"]) && outlineClasses.push(classes["focus"]);
|
|
47
|
-
success && wrapperClasses.push(classes["success"]);
|
|
48
|
-
const icon = useDetermineStatusIcon({ success, error });
|
|
49
|
-
const readOnlyMode = rest["data-readonlyview"];
|
|
50
|
-
return /* @__PURE__ */ React.createElement(
|
|
51
|
-
"div",
|
|
52
|
-
{
|
|
53
|
-
ref: inputWrapperRef,
|
|
54
|
-
...wrapperProps,
|
|
55
|
-
style: { ...style },
|
|
56
|
-
"data-readonlyview": readOnlyMode,
|
|
57
|
-
className: `${classes["input-wrapper"]} ${wrapperClasses.join(" ")}`,
|
|
58
|
-
tabIndex: readOnlyMode ? 0 : -1
|
|
59
|
-
},
|
|
60
|
-
prefix && /* @__PURE__ */ React.createElement("div", { "data-prefix": true, className: classes["prefix"] }, renderElement(prefix)),
|
|
61
|
-
/* @__PURE__ */ React.createElement(
|
|
62
|
-
"input",
|
|
63
|
-
{
|
|
64
|
-
...rest,
|
|
65
|
-
ref,
|
|
66
|
-
"aria-readonly": readOnlyMode,
|
|
67
|
-
readOnly: readOnlyMode,
|
|
68
|
-
onFocus: (event) => {
|
|
69
|
-
setFocus(true);
|
|
70
|
-
onFocus == null ? void 0 : onFocus(event);
|
|
71
|
-
},
|
|
72
|
-
onBlur: (event) => {
|
|
73
|
-
setFocus(false);
|
|
74
|
-
onBlur == null ? void 0 : onBlur(event);
|
|
75
|
-
},
|
|
76
|
-
"aria-labelledby": labeledBy,
|
|
77
|
-
type,
|
|
78
|
-
name,
|
|
79
|
-
disabled,
|
|
80
|
-
className: inputClassNames.join(" "),
|
|
81
|
-
spellCheck: rest.spellCheck ?? false,
|
|
82
|
-
tabIndex: readOnlyMode ? -1 : 0
|
|
83
|
-
}
|
|
84
|
-
),
|
|
85
|
-
icon,
|
|
86
|
-
suffix && /* @__PURE__ */ React.createElement("div", { ref: suffixRef, "data-suffix": true, className: classes["suffix"] }, renderElement(suffix)),
|
|
87
|
-
/* @__PURE__ */ React.createElement("span", { className: outlineClasses.join(" ") })
|
|
88
|
-
);
|
|
89
|
-
};
|
|
90
|
-
const Input = withReadOnly(React.forwardRef(InputComponent));
|
|
91
|
-
export {
|
|
92
|
-
Input,
|
|
93
|
-
dateTypes
|
|
94
|
-
};
|
|
95
|
-
//# sourceMappingURL=Input.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Input.es.js","sources":["../../../../src/components/Form/Input/Input.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 Ref,\n useEffect,\n useRef,\n useState,\n ReactNode\n} from \"react\";\nimport classes from \"./Input.module.scss\";\nimport readyclasses from \"../../../readyclasses.module.scss\";\nimport { FormElement } from \"../form.interfaces\";\nimport { useDetermineStatusIcon } from \"../../../hooks/useDetermineStatusIcon\";\nimport { MergeElementProps } from \"../../../interfaces\";\nimport { withReadOnly } from \"../../withReadOnly\";\n\nexport const dateTypes = [\"date\", \"time\", \"datetime-local\"] as const;\n\nexport type Type =\n | \"text\"\n | \"email\"\n | \"file\"\n | \"number\"\n | \"password\"\n | \"search\"\n | \"tel\"\n | \"url\"\n | \"hidden\"\n | (typeof dateTypes)[number];\n\nexport type Props = MergeElementProps<\n \"input\",\n FormElement & {\n wrapperProps?: ComponentPropsWithRef<\"div\">;\n labeledBy?: string;\n type: Type;\n suffix?: ReactNode;\n prefix?: ReactNode;\n readOnlyView?: boolean;\n }\n>;\n\nconst InputComponent: ForwardRefRenderFunction<HTMLInputElement, Props> = (\n {\n error = false,\n success = false,\n className,\n name,\n style,\n wrapperProps,\n type,\n labeledBy,\n prefix,\n suffix,\n disabled,\n onFocus,\n onBlur,\n readOnlyView,\n ...rest\n }: Props,\n ref: Ref<HTMLInputElement>\n) => {\n const [focus, setFocus] = useState(false);\n const inputWrapperRef = useRef<HTMLDivElement>(null);\n const suffixRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n if (name === undefined) {\n throw new Error(\"Please give your <Input /> component a 'name' attribute\");\n }\n }, []);\n\n const inputClassNames = [classes[\"input\"]];\n\n const renderElement = (el: ReactNode) => {\n return typeof el === \"string\" ? <span>{el}</span> : el;\n };\n\n (dateTypes as ReadonlyArray<string>).includes(type) &&\n inputClassNames.push(classes[\"shrink-width-for-date-icon\"]);\n className && inputClassNames.push(className);\n\n const wrapperClasses = [classes[\"input-wrapper\"]];\n const outlineClasses = [classes[\"outline\"]];\n\n wrapperProps?.className && wrapperClasses.push(wrapperProps.className);\n type === \"hidden\" && wrapperClasses.push(readyclasses[\"hidden\"]);\n prefix && wrapperClasses.push(classes[\"prefix\"]);\n suffix && wrapperClasses.push(classes[\"suffix\"]);\n disabled && wrapperClasses.push(classes[\"disabled\"]) && outlineClasses.push(classes[\"disabled\"]);\n error && wrapperClasses.push(classes[\"error\"]) && outlineClasses.push(classes[\"error\"]);\n focus && wrapperClasses.push(classes[\"focus\"]) && outlineClasses.push(classes[\"focus\"]);\n success && wrapperClasses.push(classes[\"success\"]);\n\n const icon = useDetermineStatusIcon({ success, error });\n const readOnlyMode = rest[\"data-readonlyview\"] as boolean;\n\n return (\n <div\n ref={inputWrapperRef}\n {...wrapperProps}\n style={{ ...style }}\n data-readonlyview={readOnlyMode}\n className={`${classes[\"input-wrapper\"]} ${wrapperClasses.join(\" \")}`}\n tabIndex={readOnlyMode ? 0 : -1}\n >\n {prefix && (\n <div data-prefix className={classes[\"prefix\"]}>\n {renderElement(prefix)}\n </div>\n )}\n <input\n {...rest}\n ref={ref}\n aria-readonly={readOnlyMode}\n readOnly={readOnlyMode}\n onFocus={event => {\n setFocus(true);\n onFocus?.(event);\n }}\n onBlur={event => {\n setFocus(false);\n onBlur?.(event);\n }}\n aria-labelledby={labeledBy}\n type={type}\n name={name}\n disabled={disabled}\n className={inputClassNames.join(\" \")}\n spellCheck={rest.spellCheck ?? false}\n tabIndex={readOnlyMode ? -1 : 0}\n />\n {icon}\n {suffix && (\n <div ref={suffixRef} data-suffix className={classes[\"suffix\"]}>\n {renderElement(suffix)}\n </div>\n )}\n\n <span className={outlineClasses.join(\" \")}></span>\n </div>\n );\n};\n\nexport const Input = withReadOnly(React.forwardRef(InputComponent));\n"],"names":[],"mappings":";;;;;AAgCO,MAAM,YAAY,CAAC,QAAQ,QAAQ,gBAAgB;AA0B1D,MAAM,iBAAoE,CACxE;AAAA,EACE,QAAQ;AAAA,EACR,UAAU;AAAA,EACV;AAAA,EACA;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,OAAO,QAAQ,IAAI,SAAS,KAAK;AAClC,QAAA,kBAAkB,OAAuB,IAAI;AAC7C,QAAA,YAAY,OAAuB,IAAI;AAE7C,YAAU,MAAM;AACd,QAAI,SAAS,QAAW;AAChB,YAAA,IAAI,MAAM,yDAAyD;AAAA,IAAA;AAAA,EAE7E,GAAG,EAAE;AAEL,QAAM,kBAAkB,CAAC,QAAQ,OAAO,CAAC;AAEnC,QAAA,gBAAgB,CAAC,OAAkB;AACvC,WAAO,OAAO,OAAO,WAAY,sBAAA,cAAA,QAAA,MAAM,EAAG,IAAU;AAAA,EACtD;AAEC,YAAoC,SAAS,IAAI,KAChD,gBAAgB,KAAK,QAAQ,4BAA4B,CAAC;AAC/C,eAAA,gBAAgB,KAAK,SAAS;AAE3C,QAAM,iBAAiB,CAAC,QAAQ,eAAe,CAAC;AAChD,QAAM,iBAAiB,CAAC,QAAQ,SAAS,CAAC;AAE1C,gDAAc,cAAa,eAAe,KAAK,aAAa,SAAS;AACrE,WAAS,YAAY,eAAe,KAAK,aAAa,QAAQ,CAAC;AAC/D,YAAU,eAAe,KAAK,QAAQ,QAAQ,CAAC;AAC/C,YAAU,eAAe,KAAK,QAAQ,QAAQ,CAAC;AACnC,cAAA,eAAe,KAAK,QAAQ,UAAU,CAAC,KAAK,eAAe,KAAK,QAAQ,UAAU,CAAC;AACtF,WAAA,eAAe,KAAK,QAAQ,OAAO,CAAC,KAAK,eAAe,KAAK,QAAQ,OAAO,CAAC;AAC7E,WAAA,eAAe,KAAK,QAAQ,OAAO,CAAC,KAAK,eAAe,KAAK,QAAQ,OAAO,CAAC;AACtF,aAAW,eAAe,KAAK,QAAQ,SAAS,CAAC;AAEjD,QAAM,OAAO,uBAAuB,EAAE,SAAS,OAAO;AAChD,QAAA,eAAe,KAAK,mBAAmB;AAG3C,SAAA,sBAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAK;AAAA,MACJ,GAAG;AAAA,MACJ,OAAO,EAAE,GAAG,MAAM;AAAA,MAClB,qBAAmB;AAAA,MACnB,WAAW,GAAG,QAAQ,eAAe,CAAC,IAAI,eAAe,KAAK,GAAG,CAAC;AAAA,MAClE,UAAU,eAAe,IAAI;AAAA,IAAA;AAAA,IAE5B,UACE,sBAAA,cAAA,OAAA,EAAI,eAAW,MAAC,WAAW,QAAQ,QAAQ,EAAA,GACzC,cAAc,MAAM,CACvB;AAAA,IAEF,sBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACE,GAAG;AAAA,QACJ;AAAA,QACA,iBAAe;AAAA,QACf,UAAU;AAAA,QACV,SAAS,CAAS,UAAA;AAChB,mBAAS,IAAI;AACb,6CAAU;AAAA,QACZ;AAAA,QACA,QAAQ,CAAS,UAAA;AACf,mBAAS,KAAK;AACd,2CAAS;AAAA,QACX;AAAA,QACA,mBAAiB;AAAA,QACjB;AAAA,QACA;AAAA,QACA;AAAA,QACA,WAAW,gBAAgB,KAAK,GAAG;AAAA,QACnC,YAAY,KAAK,cAAc;AAAA,QAC/B,UAAU,eAAe,KAAK;AAAA,MAAA;AAAA,IAChC;AAAA,IACC;AAAA,IACA,UACC,sBAAA,cAAC,OAAI,EAAA,KAAK,WAAW,eAAW,MAAC,WAAW,QAAQ,QAAQ,EACzD,GAAA,cAAc,MAAM,CACvB;AAAA,wCAGD,QAAK,EAAA,WAAW,eAAe,KAAK,GAAG,EAAG,CAAA;AAAA,EAC7C;AAEJ;AAEO,MAAM,QAAQ,aAAa,MAAM,WAAW,cAAc,CAAC;"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode('.Input_sr-only_HO9cY{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.Input_hidden_HO9cY{display:none}.Input_slide-in_HO9cY{animation:Input_slide-in_HO9cY .5s forwards}@media (prefers-reduced-motion: reduce){.Input_slide-in_HO9cY{animation-duration:.1ms}}.Input_slide-out_HO9cY{animation:Input_slide-out_HO9cY .5s forwards}@media (prefers-reduced-motion: reduce){.Input_slide-out_HO9cY{animation-duration:.1ms}}@keyframes Input_slide-in_HO9cY{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes Input_slide-out_HO9cY{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 */.Input_input-wrapper_HO9cY{position:relative;display:flex;align-items:center;border:0;border-radius:var(--input-border-radius);background-color:var(--input-background-color);padding:0 calc(.5 * var(--font-size));transition-property:background-color;transition-duration:.2s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion: reduce){.Input_input-wrapper_HO9cY{transition-duration:.1ms}}.Input_input-wrapper_HO9cY input:-webkit-autofill,.Input_input-wrapper_HO9cY input:-webkit-autofill:hover,.Input_input-wrapper_HO9cY input:-webkit-autofill:focus,.Input_input-wrapper_HO9cY input:-webkit-autofill:active{-webkit-transition:background-color 5000s ease-in-out 0s!important;transition:background-color 5000s ease-in-out 0s!important}.Input_input-wrapper_HO9cY input:-webkit-autofill~.Input_outline_HO9cY:after,.Input_input-wrapper_HO9cY input:-webkit-autofill:hover~.Input_outline_HO9cY:after,.Input_input-wrapper_HO9cY input:-webkit-autofill:focus~.Input_outline_HO9cY:after,.Input_input-wrapper_HO9cY input:-webkit-autofill:active~.Input_outline_HO9cY:after{content:"";position:absolute;display:block;width:100%;height:100%;border-radius:var(--input-border-radius)}@media all and (-webkit-min-device-pixel-ratio: 0) and (-webkit-min-device-pixel-ratio: 0),all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.Input_input-wrapper_HO9cY input:-webkit-autofill~.Input_outline_HO9cY:after,.Input_input-wrapper_HO9cY input:-webkit-autofill:hover~.Input_outline_HO9cY:after,.Input_input-wrapper_HO9cY input:-webkit-autofill:focus~.Input_outline_HO9cY:after,.Input_input-wrapper_HO9cY input:-webkit-autofill:active~.Input_outline_HO9cY:after{background-color:#e8f0fe}}@media not all and (-webkit-min-device-pixel-ratio: 0),not all and (min-resolution: .001dpcm){.Input_input-wrapper_HO9cY input:-webkit-autofill~.Input_outline_HO9cY:after,.Input_input-wrapper_HO9cY input:-webkit-autofill:hover~.Input_outline_HO9cY:after,.Input_input-wrapper_HO9cY input:-webkit-autofill:focus~.Input_outline_HO9cY:after,.Input_input-wrapper_HO9cY input:-webkit-autofill:active~.Input_outline_HO9cY:after{background-color:#faffbd}}.Input_input-wrapper_HO9cY:hover .Input_outline_HO9cY{border-color:var(--input-border-color);background-color:var(--input-hover-background-color)}.Input_input-wrapper_HO9cY .Input_outline_HO9cY.Input_disabled_HO9cY{border-color:var(--disabled);background-color:var(--input-disabled-background-color)}.Input_input-wrapper_HO9cY .Input_outline_HO9cY.Input_error_HO9cY{border-color:var(--error)}.Input_input-wrapper_HO9cY [data-icon-status=success],.Input_input-wrapper_HO9cY [data-icon-status=error]{height:100%;width:calc(1.25 * var(--font-size));box-sizing:border-box;font-size:var(--icon-font-big);display:flex;align-items:center;justify-content:center;z-index:2}.Input_input-wrapper_HO9cY [data-icon-status=success]:before,.Input_input-wrapper_HO9cY [data-icon-status=error]:before{font-size:var(--icon-font-big);height:calc(1.25 * var(--font-size));width:calc(1.25 * var(--font-size));display:flex;align-items:center;justify-content:center}.Input_input-wrapper_HO9cY [data-icon-status=success]{color:var(--success)}.Input_input-wrapper_HO9cY [data-icon-status=error]{color:var(--error)}.Input_input-wrapper_HO9cY[data-readonlyview=true]{color:var(--read-only-text-color)}.Input_input-wrapper_HO9cY[data-readonlyview=true] .Input_Input-module_HO9cY{border-color:var(--read-only-border-color)}.Input_input-wrapper_HO9cY[data-readonlyview=true] span.Input_outline_HO9cY{color:var(--read-only-text-color);border-color:var(--read-only-border-color);background-color:var(--color-white)}.Input_input-wrapper_HO9cY[data-readonlyview=true]:hover .Input_outline_HO9cY{color:var(--read-only-text-color);background-color:var(--color-white);border-color:var(--read-only-border-color)}.Input_input-wrapper_HO9cY [data-prefix],.Input_input-wrapper_HO9cY [data-suffix]{display:block;z-index:1;transition-property:all;transition-duration:.2s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion: reduce){.Input_input-wrapper_HO9cY [data-prefix],.Input_input-wrapper_HO9cY [data-suffix]{transition-duration:.1ms}}.Input_input-wrapper_HO9cY.Input_focus_HO9cY:not(.Input_disabled_HO9cY):not([data-readonlyview=true]),.Input_input-wrapper_HO9cY[data-readonlyview=true]:focus:not(.Input_disabled_HO9cY),.Input_input-wrapper_HO9cY[data-readonlyview=true]:focus-visible:not(.Input_disabled_HO9cY){position:relative;z-index:2;outline:calc(.125 * var(--font-size)) solid var(--color-focus);outline-offset:calc(.125 * var(--font-size));border-radius:var(--focus-border-radius)}.Input_input_HO9cY{padding:0;height:calc(2.75 * var(--font-size));color:var(--color-blue-grey900);font-size:var(--input-font-size);font-family:var(--font-family);box-sizing:border-box;border:0;border-radius:var(--input-border-radius);background-color:transparent;z-index:1}.Input_input_HO9cY:not(.Input_shrink-width-for-date-icon_HO9cY){width:100%}.Input_input_HO9cY:disabled{cursor:not-allowed;color:var(--greyed-out)}.Input_input_HO9cY.Input_shrink-width-for-date-icon_HO9cY{width:auto}.Input_input_HO9cY{transition-property:all;transition-duration:.2s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion: reduce){.Input_input_HO9cY{transition-duration:.1ms}}.Input_input_HO9cY:focus:not(:disabled){outline:none}[data-readonlyview=true] .Input_outline_HO9cY{border-color:var(--read-only-border-color)}.Input_outline_HO9cY{pointer-events:none;position:absolute;margin:0;padding:0;top:0;right:0;bottom:0;left:0;border-color:var(--input-border-color);border-style:var(--input-border-style);border-width:var(--input-border-width);border-radius:var(--input-border-radius);transition-property:all;transition-duration:.2s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion: reduce){.Input_outline_HO9cY{transition-duration:.1ms}}.Input_error_HO9cY input{padding-right:calc(1.25 * var(--font-size))}.Input_error_HO9cY input.Input_remove-extra-indent_HO9cY{padding-right:0}.Input_success_HO9cY input{padding-right:calc(1.25 * var(--font-size))}@media only screen and (min-width: 30em){.Input_input-wrapper_HO9cY{padding:0 calc(.5 * var(--font-size))}}')),document.head.appendChild(t)}}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="Input_outline_HO9cY",t="Input_disabled_HO9cY",s="Input_error_HO9cY",r="Input_focus_HO9cY",u="Input_input_HO9cY",o="Input_success_HO9cY",p={"input-wrapper":"Input_input-wrapper_HO9cY",outline:e,disabled:t,error:s,focus:r,input:u,"shrink-width-for-date-icon":"Input_shrink-width-for-date-icon_HO9cY",success:o};exports.default=p,exports.disabled=t,exports.error=s,exports.focus=r,exports.input=u,exports.outline=e,exports.success=o;
|
|
3
|
-
//# sourceMappingURL=Input.module.scss.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Input.module.scss.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode('.Input_sr-only_HO9cY{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.Input_hidden_HO9cY{display:none}.Input_slide-in_HO9cY{animation:Input_slide-in_HO9cY .5s forwards}@media (prefers-reduced-motion: reduce){.Input_slide-in_HO9cY{animation-duration:.1ms}}.Input_slide-out_HO9cY{animation:Input_slide-out_HO9cY .5s forwards}@media (prefers-reduced-motion: reduce){.Input_slide-out_HO9cY{animation-duration:.1ms}}@keyframes Input_slide-in_HO9cY{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes Input_slide-out_HO9cY{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 */.Input_input-wrapper_HO9cY{position:relative;display:flex;align-items:center;border:0;border-radius:var(--input-border-radius);background-color:var(--input-background-color);padding:0 calc(.5 * var(--font-size));transition-property:background-color;transition-duration:.2s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion: reduce){.Input_input-wrapper_HO9cY{transition-duration:.1ms}}.Input_input-wrapper_HO9cY input:-webkit-autofill,.Input_input-wrapper_HO9cY input:-webkit-autofill:hover,.Input_input-wrapper_HO9cY input:-webkit-autofill:focus,.Input_input-wrapper_HO9cY input:-webkit-autofill:active{-webkit-transition:background-color 5000s ease-in-out 0s!important;transition:background-color 5000s ease-in-out 0s!important}.Input_input-wrapper_HO9cY input:-webkit-autofill~.Input_outline_HO9cY:after,.Input_input-wrapper_HO9cY input:-webkit-autofill:hover~.Input_outline_HO9cY:after,.Input_input-wrapper_HO9cY input:-webkit-autofill:focus~.Input_outline_HO9cY:after,.Input_input-wrapper_HO9cY input:-webkit-autofill:active~.Input_outline_HO9cY:after{content:"";position:absolute;display:block;width:100%;height:100%;border-radius:var(--input-border-radius)}@media all and (-webkit-min-device-pixel-ratio: 0) and (-webkit-min-device-pixel-ratio: 0),all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.Input_input-wrapper_HO9cY input:-webkit-autofill~.Input_outline_HO9cY:after,.Input_input-wrapper_HO9cY input:-webkit-autofill:hover~.Input_outline_HO9cY:after,.Input_input-wrapper_HO9cY input:-webkit-autofill:focus~.Input_outline_HO9cY:after,.Input_input-wrapper_HO9cY input:-webkit-autofill:active~.Input_outline_HO9cY:after{background-color:#e8f0fe}}@media not all and (-webkit-min-device-pixel-ratio: 0),not all and (min-resolution: .001dpcm){.Input_input-wrapper_HO9cY input:-webkit-autofill~.Input_outline_HO9cY:after,.Input_input-wrapper_HO9cY input:-webkit-autofill:hover~.Input_outline_HO9cY:after,.Input_input-wrapper_HO9cY input:-webkit-autofill:focus~.Input_outline_HO9cY:after,.Input_input-wrapper_HO9cY input:-webkit-autofill:active~.Input_outline_HO9cY:after{background-color:#faffbd}}.Input_input-wrapper_HO9cY:hover .Input_outline_HO9cY{border-color:var(--input-border-color);background-color:var(--input-hover-background-color)}.Input_input-wrapper_HO9cY .Input_outline_HO9cY.Input_disabled_HO9cY{border-color:var(--disabled);background-color:var(--input-disabled-background-color)}.Input_input-wrapper_HO9cY .Input_outline_HO9cY.Input_error_HO9cY{border-color:var(--error)}.Input_input-wrapper_HO9cY [data-icon-status=success],.Input_input-wrapper_HO9cY [data-icon-status=error]{height:100%;width:calc(1.25 * var(--font-size));box-sizing:border-box;font-size:var(--icon-font-big);display:flex;align-items:center;justify-content:center;z-index:2}.Input_input-wrapper_HO9cY [data-icon-status=success]:before,.Input_input-wrapper_HO9cY [data-icon-status=error]:before{font-size:var(--icon-font-big);height:calc(1.25 * var(--font-size));width:calc(1.25 * var(--font-size));display:flex;align-items:center;justify-content:center}.Input_input-wrapper_HO9cY [data-icon-status=success]{color:var(--success)}.Input_input-wrapper_HO9cY [data-icon-status=error]{color:var(--error)}.Input_input-wrapper_HO9cY[data-readonlyview=true]{color:var(--read-only-text-color)}.Input_input-wrapper_HO9cY[data-readonlyview=true] .Input_Input-module_HO9cY{border-color:var(--read-only-border-color)}.Input_input-wrapper_HO9cY[data-readonlyview=true] span.Input_outline_HO9cY{color:var(--read-only-text-color);border-color:var(--read-only-border-color);background-color:var(--color-white)}.Input_input-wrapper_HO9cY[data-readonlyview=true]:hover .Input_outline_HO9cY{color:var(--read-only-text-color);background-color:var(--color-white);border-color:var(--read-only-border-color)}.Input_input-wrapper_HO9cY [data-prefix],.Input_input-wrapper_HO9cY [data-suffix]{display:block;z-index:1;transition-property:all;transition-duration:.2s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion: reduce){.Input_input-wrapper_HO9cY [data-prefix],.Input_input-wrapper_HO9cY [data-suffix]{transition-duration:.1ms}}.Input_input-wrapper_HO9cY.Input_focus_HO9cY:not(.Input_disabled_HO9cY):not([data-readonlyview=true]),.Input_input-wrapper_HO9cY[data-readonlyview=true]:focus:not(.Input_disabled_HO9cY),.Input_input-wrapper_HO9cY[data-readonlyview=true]:focus-visible:not(.Input_disabled_HO9cY){position:relative;z-index:2;outline:calc(.125 * var(--font-size)) solid var(--color-focus);outline-offset:calc(.125 * var(--font-size));border-radius:var(--focus-border-radius)}.Input_input_HO9cY{padding:0;height:calc(2.75 * var(--font-size));color:var(--color-blue-grey900);font-size:var(--input-font-size);font-family:var(--font-family);box-sizing:border-box;border:0;border-radius:var(--input-border-radius);background-color:transparent;z-index:1}.Input_input_HO9cY:not(.Input_shrink-width-for-date-icon_HO9cY){width:100%}.Input_input_HO9cY:disabled{cursor:not-allowed;color:var(--greyed-out)}.Input_input_HO9cY.Input_shrink-width-for-date-icon_HO9cY{width:auto}.Input_input_HO9cY{transition-property:all;transition-duration:.2s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion: reduce){.Input_input_HO9cY{transition-duration:.1ms}}.Input_input_HO9cY:focus:not(:disabled){outline:none}[data-readonlyview=true] .Input_outline_HO9cY{border-color:var(--read-only-border-color)}.Input_outline_HO9cY{pointer-events:none;position:absolute;margin:0;padding:0;top:0;right:0;bottom:0;left:0;border-color:var(--input-border-color);border-style:var(--input-border-style);border-width:var(--input-border-width);border-radius:var(--input-border-radius);transition-property:all;transition-duration:.2s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion: reduce){.Input_outline_HO9cY{transition-duration:.1ms}}.Input_error_HO9cY input{padding-right:calc(1.25 * var(--font-size))}.Input_error_HO9cY input.Input_remove-extra-indent_HO9cY{padding-right:0}.Input_success_HO9cY input{padding-right:calc(1.25 * var(--font-size))}@media only screen and (min-width: 30em){.Input_input-wrapper_HO9cY{padding:0 calc(.5 * var(--font-size))}}')),document.head.appendChild(t)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
|
|
2
|
-
const outline = "Input_outline_HO9cY";
|
|
3
|
-
const disabled = "Input_disabled_HO9cY";
|
|
4
|
-
const error = "Input_error_HO9cY";
|
|
5
|
-
const focus = "Input_focus_HO9cY";
|
|
6
|
-
const input = "Input_input_HO9cY";
|
|
7
|
-
const success = "Input_success_HO9cY";
|
|
8
|
-
const classes = {
|
|
9
|
-
"input-wrapper": "Input_input-wrapper_HO9cY",
|
|
10
|
-
outline,
|
|
11
|
-
disabled,
|
|
12
|
-
error,
|
|
13
|
-
focus,
|
|
14
|
-
input,
|
|
15
|
-
"shrink-width-for-date-icon": "Input_shrink-width-for-date-icon_HO9cY",
|
|
16
|
-
success
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
classes as default,
|
|
20
|
-
disabled,
|
|
21
|
-
error,
|
|
22
|
-
focus,
|
|
23
|
-
input,
|
|
24
|
-
outline,
|
|
25
|
-
success
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=Input.module.scss.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Input.module.scss.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),s=require("./Label.module.scss.cjs.js"),r=require("../../../readyclasses.module.scss.cjs.js"),l=e.forwardRef((({children:l,className:a,hidden:t=!1,...c},d)=>e.createElement("label",{...c,ref:d,className:`${t?r.default["sr-only"]:""} ${s.default.label} ${a??""}`},l)));exports.Label=l;
|
|
2
|
-
//# sourceMappingURL=Label.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Label.cjs.js","sources":["../../../../src/components/Form/Label/Label.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, ReactNode } from \"react\";\nimport classes from \"./Label.module.scss\";\nimport readyclasses from \"../../../readyclasses.module.scss\";\n\nexport interface Props extends ComponentPropsWithRef<\"label\"> {\n children?: ReactNode;\n}\n\nconst LabelComponent: ForwardRefRenderFunction<HTMLLabelElement, Props> = (\n { children, className, hidden = false, ...rest }: Props,\n ref\n) => {\n return (\n <label\n {...rest}\n ref={ref}\n className={`${hidden ? readyclasses[\"sr-only\"] : \"\"} ${classes[\"label\"]} ${className ?? \"\"}`}\n >\n {children}\n </label>\n );\n};\n\nexport const Label = React.forwardRef(LabelComponent);\n"],"names":["Label","React","forwardRef","children","className","hidden","rest","ref","createElement","readyclasses","default","classes"],"mappings":"uMAuCaA,EAAQC,EAAMC,YAf+C,EACtEC,WAAUC,YAAWC,UAAS,KAAUC,GAC1CC,IAGEN,EAAAO,cAAC,QAAA,IACKF,EACJC,MACAH,UAAW,GAAGC,EAASI,EAAAC,QAAa,WAAa,MAAMC,EAAQD,QAAO,SAAKN,GAAa,MAEvFD"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import classes from "./Label.module.scss.es.js";
|
|
3
|
-
import readyclasses from "../../../readyclasses.module.scss.es.js";
|
|
4
|
-
const LabelComponent = ({ children, className, hidden = false, ...rest }, ref) => {
|
|
5
|
-
return /* @__PURE__ */ React.createElement(
|
|
6
|
-
"label",
|
|
7
|
-
{
|
|
8
|
-
...rest,
|
|
9
|
-
ref,
|
|
10
|
-
className: `${hidden ? readyclasses["sr-only"] : ""} ${classes["label"]} ${className ?? ""}`
|
|
11
|
-
},
|
|
12
|
-
children
|
|
13
|
-
);
|
|
14
|
-
};
|
|
15
|
-
const Label = React.forwardRef(LabelComponent);
|
|
16
|
-
export {
|
|
17
|
-
Label
|
|
18
|
-
};
|
|
19
|
-
//# sourceMappingURL=Label.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Label.es.js","sources":["../../../../src/components/Form/Label/Label.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, ReactNode } from \"react\";\nimport classes from \"./Label.module.scss\";\nimport readyclasses from \"../../../readyclasses.module.scss\";\n\nexport interface Props extends ComponentPropsWithRef<\"label\"> {\n children?: ReactNode;\n}\n\nconst LabelComponent: ForwardRefRenderFunction<HTMLLabelElement, Props> = (\n { children, className, hidden = false, ...rest }: Props,\n ref\n) => {\n return (\n <label\n {...rest}\n ref={ref}\n className={`${hidden ? readyclasses[\"sr-only\"] : \"\"} ${classes[\"label\"]} ${className ?? \"\"}`}\n >\n {children}\n </label>\n );\n};\n\nexport const Label = React.forwardRef(LabelComponent);\n"],"names":[],"mappings":";;;AAwBA,MAAM,iBAAoE,CACxE,EAAE,UAAU,WAAW,SAAS,OAAO,GAAG,KAAK,GAC/C,QACG;AAED,SAAA,sBAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACE,GAAG;AAAA,MACJ;AAAA,MACA,WAAW,GAAG,SAAS,aAAa,SAAS,IAAI,EAAE,IAAI,QAAQ,OAAO,CAAC,IAAI,aAAa,EAAE;AAAA,IAAA;AAAA,IAEzF;AAAA,EACH;AAEJ;AAEa,MAAA,QAAQ,MAAM,WAAW,cAAc;"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.Label_label_HO9cY{cursor:text;color:var(--greyed-out);font-size:var(--font-size)}')),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="Label_label_HO9cY",l={label:e};exports.default=l,exports.label=e;
|
|
3
|
-
//# sourceMappingURL=Label.module.scss.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Label.module.scss.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.Label_label_HO9cY{cursor:text;color:var(--greyed-out);font-size:var(--font-size)}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
|
|
2
|
-
const label = "Label_label_HO9cY";
|
|
3
|
-
const classes = {
|
|
4
|
-
label
|
|
5
|
-
};
|
|
6
|
-
export {
|
|
7
|
-
classes as default,
|
|
8
|
-
label
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=Label.module.scss.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Label.module.scss.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),r=require("../../Icon/Icon.cjs.js"),a=require("./Radio.module.scss.cjs.js"),t=require("../../../hooks/useFormSelector.cjs.js"),o=require("../FormSelectorWrapper/FormSelectorWrapper.cjs.js"),s=require("../../withReadOnly.cjs.js").withReadOnly(e.forwardRef((({children:s,disabled:l,className:n,value:c,name:i,helperText:d,parentErrorId:p,parentHelperId:u,error:m,errorMessage:f,errorMessageProps:h,checked:g=!1,formSelectorWrapperProps:j,helperProps:b,onChange:I,...E},y)=>{const{errorId:v,identifier:N,describedBy:F}=t.useFormSelector({name:i,helperText:d,parentErrorId:p,errorMessage:f,error:m,parentHelperId:u}),P=e=>{if(l)return;const r=e.nativeEvent||e,a=new r.constructor(r.type,r);Object.defineProperty(a,"target",{writable:!0,value:{value:c}}),null==I||I(a)},S="string"!=typeof s,q=[a.default["native-input"]],w=[a.default.input,a.default.radio],x=[a.default.input,a.default.circle];return m&&q.push(a.default.error),l&&w.push(a.default.disabled)&&x.push(a.default.disabled),e.createElement(o.FormSelectorWrapper,{...j,className:`${a.default["radio-wrapper"]} ${n??""}`,containerProps:{className:a.default["radio-container"]},helperText:d,helperProps:b,parentErrorId:p,errorId:v,errorMessage:f,errorMessageProps:{...h,className:`${null==h?void 0:h.className} ${a.default["error-message"]}`},error:m,disabled:l,identifier:N},e.createElement("input",{...E,ref:y,disabled:l,tabIndex:0,className:q.join(" "),onChange:P,checked:g,"aria-checked":g,"aria-describedby":F,name:i,value:c,id:`${N}-radio`,type:"radio"}),g?e.createElement(r.Icon,{className:w.join(" "),icon:r.Icons.Radio}):e.createElement(e.Fragment,null),g?e.createElement(e.Fragment,null):e.createElement(r.Icon,{className:x.join(" "),icon:r.Icons.Circle}),e.createElement("label",{className:S?a.default["no-margin-top"]:"",onClick:P,htmlFor:`${N}-radio`},s))})));exports.Radio=s;
|
|
2
|
-
//# sourceMappingURL=Radio.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Radio.cjs.js","sources":["../../../../src/components/Form/Radio/Radio.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 { Icon, Icons } from \"../../Icon/Icon\";\nimport { Props as HelperProps } from \"../FormHelperText/FormHelperText\";\nimport classes from \"./Radio.module.scss\";\nimport { useFormSelector } from \"../../../hooks/useFormSelector\";\nimport { FormSelector } from \"../form.interfaces\";\nimport {\n FormSelectorWrapper,\n Props as FormSelectorWrapperProps\n} from \"../FormSelectorWrapper/FormSelectorWrapper\";\nimport { withReadOnly } from \"../../withReadOnly\";\n\nexport interface Props extends ComponentPropsWithRef<\"input\">, Omit<FormSelector, \"success\"> {\n children: string | React.ReactNode;\n value: string;\n formSelectorWrapperProps?: FormSelectorWrapperProps;\n helperProps?: HelperProps;\n}\n\nconst RadioComponent: ForwardRefRenderFunction<HTMLInputElement, Props> = (\n {\n children,\n disabled,\n className,\n value,\n name,\n helperText,\n parentErrorId,\n parentHelperId,\n error,\n errorMessage,\n errorMessageProps,\n checked = false,\n formSelectorWrapperProps,\n helperProps,\n onChange,\n ...rest\n }: Props,\n ref\n) => {\n const { errorId, identifier, describedBy } = useFormSelector({\n name,\n helperText,\n parentErrorId,\n errorMessage,\n error,\n parentHelperId\n });\n\n const onChangeHandler = (\n event: React.ChangeEvent<HTMLInputElement> | React.MouseEvent | React.KeyboardEvent\n ) => {\n if (disabled) {\n return;\n }\n /** We have to clone the native event we got here and change the \"target\" property to the value. Otherwise, this regular event has \"on\" as it's event.target.value, which is useless. */\n /* eslint-disable-next-line @typescript-eslint/no-explicit-any */\n const nativeEvent: any = event.nativeEvent || event;\n const clonedEvent = new nativeEvent.constructor(nativeEvent.type, nativeEvent);\n\n Object.defineProperty(clonedEvent, \"target\", {\n writable: true,\n value: { value: value }\n });\n\n onChange?.(clonedEvent);\n };\n\n const customLabel = typeof children !== \"string\";\n\n const nativeInputClasses = [classes[\"native-input\"]];\n const checkedRadioClasses = [classes[\"input\"], classes[\"radio\"]];\n const uncheckedRadioClasses = [classes[\"input\"], classes[\"circle\"]];\n error && nativeInputClasses.push(classes[\"error\"]);\n disabled &&\n checkedRadioClasses.push(classes[\"disabled\"]) &&\n uncheckedRadioClasses.push(classes[\"disabled\"]);\n return (\n <FormSelectorWrapper\n {...formSelectorWrapperProps}\n className={`${classes[\"radio-wrapper\"]} ${className ?? \"\"}`}\n containerProps={{ className: classes[\"radio-container\"] }}\n helperText={helperText}\n helperProps={helperProps}\n parentErrorId={parentErrorId}\n errorId={errorId}\n errorMessage={errorMessage}\n errorMessageProps={{\n ...errorMessageProps,\n className: `${errorMessageProps?.className} ${classes[\"error-message\"]}`\n }}\n error={error}\n disabled={disabled}\n identifier={identifier}\n >\n <input\n {...rest}\n ref={ref}\n disabled={disabled}\n tabIndex={0}\n className={nativeInputClasses.join(\" \")}\n onChange={onChangeHandler}\n checked={checked}\n aria-checked={checked}\n aria-describedby={describedBy}\n name={name}\n value={value}\n id={`${identifier}-radio`}\n type=\"radio\"\n />\n\n {checked ? <Icon className={checkedRadioClasses.join(\" \")} icon={Icons.Radio} /> : <></>}\n {!checked ? <Icon className={uncheckedRadioClasses.join(\" \")} icon={Icons.Circle} /> : <></>}\n\n <label\n className={customLabel ? classes[\"no-margin-top\"] : \"\"}\n onClick={onChangeHandler}\n htmlFor={`${identifier}-radio`}\n >\n {children}\n </label>\n </FormSelectorWrapper>\n );\n};\n\nexport const Radio = withReadOnly(React.forwardRef(RadioComponent));\n"],"names":["Radio","withReadOnly","React","forwardRef","children","disabled","className","value","name","helperText","parentErrorId","parentHelperId","error","errorMessage","errorMessageProps","checked","formSelectorWrapperProps","helperProps","onChange","rest","ref","errorId","identifier","describedBy","useFormSelector","onChangeHandler","event","nativeEvent","clonedEvent","constructor","type","Object","defineProperty","writable","customLabel","nativeInputClasses","classes","checkedRadioClasses","default","uncheckedRadioClasses","push","createElement","FormSelectorWrapper","containerProps","tabIndex","join","id","Icon","icon","Icons","Fragment","Circle","onClick","htmlFor"],"mappings":"uSA6IaA,uCAAQC,aAAaC,EAAMC,YA1GkC,EAEtEC,WACAC,WACAC,YACAC,QACAC,OACAC,aACAC,gBACAC,iBACAC,QACAC,eACAC,oBACAC,WAAU,EACVC,2BACAC,cACAC,cACGC,GAELC,KAEA,MAAMC,QAAEA,EAASC,WAAAA,EAAAC,YAAYA,GAAgBC,EAAAA,gBAAgB,CAC3DhB,OACAC,aACAC,gBACAG,eACAD,QACAD,mBAGIc,EACJC,IAEA,GAAIrB,EACF,OAII,MAAAsB,EAAmBD,EAAMC,aAAeD,EACxCE,EAAc,IAAID,EAAYE,YAAYF,EAAYG,KAAMH,GAE3DI,OAAAC,eAAeJ,EAAa,SAAU,CAC3CK,UAAU,EACV1B,MAAO,CAAEA,WAGA,MAAAW,GAAAA,EAAAU,EAAA,EAGPM,EAAkC,iBAAb9B,EAErB+B,EAAqB,CAACC,UAAQ,iBAC9BC,EAAsB,CAACD,EAAAE,QAAe,MAAGF,EAAAA,QAAe,OACxDG,EAAwB,CAACH,EAAAE,QAAe,MAAGF,EAAAA,QAAgB,QAM/D,OALFxB,GAASuB,EAAmBK,KAAKJ,EAAQE,QAAO,OAE9CjC,GAAAgC,EAAoBG,KAAKJ,EAAAA,QAAkB,WAC3CG,EAAsBC,KAAKJ,UAAkB,UAE7ClC,EAAAuC,cAACC,EAAAA,oBAAA,IACK1B,EACJV,UAAW,GAAG8B,UAAQ,oBAAoB9B,GAAa,KACvDqC,eAAgB,CAAErC,UAAW8B,EAAAE,QAAQ,oBACrC7B,aACAQ,cACAP,gBACAW,UACAR,eACAC,kBAAmB,IACdA,EACHR,UAAW,GAAsB,MAAnBQ,OAAmB,EAAAA,EAAAR,aAAa8B,EAAAA,QAAQ,oBAExDxB,QACAP,WACAiB,cAEApB,EAAAuC,cAAC,QAAA,IACKtB,EACJC,MACAf,WACAuC,SAAU,EACVtC,UAAW6B,EAAmBU,KAAK,KACnC3B,SAAUO,EACVV,UACA,eAAcA,EACd,mBAAkBQ,EAClBf,OACAD,QACAuC,GAAI,GAAGxB,UACPQ,KAAK,UAGNf,IAAU0B,cAACM,EAAAA,KAAK,CAAAzC,UAAW+B,EAAoBQ,KAAK,KAAMG,KAAMC,EAAAA,MAAMjD,QAAcE,EAAAuC,cAAAvC,EAAAgD,SAAA,MACnFnC,EAAuFb,EAAAuC,cAAAvC,EAAAgD,SAAA,MAA5EhD,EAAAuC,cAAAM,EAAAA,KAAA,CAAKzC,UAAWiC,EAAsBM,KAAK,KAAMG,KAAMC,EAAMA,MAAAE,SAE1EjD,EAAAuC,cAAC,QAAA,CACCnC,UAAW4B,EAAcE,UAAQ,iBAAmB,GACpDgB,QAAS3B,EACT4B,QAAS,GAAG/B,WAEXlB,GAEL"}
|