@onewelcome/react-lib-components 8.9.1 → 8.11.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/dist/cjs/Breadcrumbs/Breadcrumbs.cjs.js +1 -1
- package/dist/cjs/Breadcrumbs/Breadcrumbs.cjs.js.map +1 -1
- package/dist/cjs/Breadcrumbs/Breadcrumbs.module.scss.cjs.js +1 -1
- package/dist/cjs/Button/BaseButton.cjs.js.map +1 -1
- package/dist/cjs/Button/BaseButton.module.scss.cjs.js +1 -1
- package/dist/cjs/Button/Button.module.scss.cjs.js +1 -1
- package/dist/cjs/Button/IconButton.cjs.js +1 -1
- package/dist/cjs/Button/IconButton.cjs.js.map +1 -1
- package/dist/cjs/Button/IconButton.module.scss.cjs.js +1 -1
- package/dist/cjs/ContextMenu/ContextMenu.module.scss.cjs.js +1 -1
- package/dist/cjs/ContextMenu/ContextMenuItem.cjs.js +1 -1
- package/dist/cjs/ContextMenu/ContextMenuItem.cjs.js.map +1 -1
- package/dist/cjs/ContextMenu/ContextMenuItem.module.scss.cjs.js +1 -1
- package/dist/cjs/DataGrid/DataGrid.cjs.js.map +1 -1
- package/dist/cjs/DataGrid/DataGrid.module.scss.cjs.js +1 -1
- package/dist/cjs/DataGrid/DataGridActions/DataGridActions.module.scss.cjs.js +1 -1
- package/dist/cjs/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.cjs.js +1 -1
- package/dist/cjs/DataGrid/DataGridBody/DataGridBody.cjs.js.map +1 -1
- package/dist/cjs/DataGrid/DataGridBody/DataGridBody.module.scss.cjs.js +1 -1
- package/dist/cjs/DataGrid/DataGridBody/DataGridCell/DataGridCell.cjs.js +1 -1
- package/dist/cjs/DataGrid/DataGridBody/DataGridCell/DataGridCell.cjs.js.map +1 -1
- package/dist/cjs/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.cjs.js +1 -1
- package/dist/cjs/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.cjs.js +1 -1
- package/dist/cjs/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.cjs.js +1 -1
- package/dist/cjs/DataGrid/DataGridBody/DataGridRow/DataGridRow.cjs.js.map +1 -1
- package/dist/cjs/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.cjs.js +1 -1
- package/dist/cjs/DataGrid/DataGridFilters/DataGridFilter.module.scss.cjs.js +1 -1
- package/dist/cjs/DataGrid/DataGridFilters/DataGridToolbar.module.scss.cjs.js +1 -1
- package/dist/cjs/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.module.scss.cjs.js +1 -1
- package/dist/cjs/DataGrid/DataGridHeader/DataGridHeader.cjs.js +1 -1
- package/dist/cjs/DataGrid/DataGridHeader/DataGridHeader.cjs.js.map +1 -1
- package/dist/cjs/DataGrid/DataGridHeader/DataGridHeader.module.scss.cjs.js +1 -1
- package/dist/cjs/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.cjs.js +1 -1
- package/dist/cjs/DatePicker/DatePicker.cjs.js.map +1 -1
- package/dist/cjs/DatePicker/DatePicker.module.scss.cjs.js +1 -1
- package/dist/cjs/Form/Checkbox/Checkbox.module.scss.cjs.js +1 -1
- package/dist/cjs/Form/Fieldset/Fieldset.cjs.js.map +1 -1
- package/dist/cjs/Form/Fieldset/Fieldset.module.scss.cjs.js +1 -1
- package/dist/cjs/Form/FileUpload/FileItem/FileItem.cjs.js +1 -1
- package/dist/cjs/Form/FileUpload/FileItem/FileItem.cjs.js.map +1 -1
- package/dist/cjs/Form/FileUpload/FileItem/FileItem.module.scss.cjs.js +1 -1
- package/dist/cjs/Form/FileUpload/FileUpload.cjs.js +1 -1
- package/dist/cjs/Form/FileUpload/FileUpload.cjs.js.map +1 -1
- package/dist/cjs/Form/FileUpload/FileUpload.module.scss.cjs.js +1 -1
- package/dist/cjs/Form/Form.module.scss.cjs.js +1 -1
- package/dist/cjs/Form/FormControl/FormControl.module.scss.cjs.js +1 -1
- package/dist/cjs/Form/FormGroup/FormGroup.module.scss.cjs.js +1 -1
- package/dist/cjs/Form/FormHelperText/FormHelperText.module.scss.cjs.js +1 -1
- package/dist/cjs/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.cjs.js +1 -1
- package/dist/cjs/Form/Input/Input.module.scss.cjs.js +1 -1
- package/dist/cjs/Form/Label/Label.module.scss.cjs.js +1 -1
- package/dist/cjs/Form/Radio/Radio.cjs.js.map +1 -1
- package/dist/cjs/Form/Radio/Radio.module.scss.cjs.js +1 -1
- package/dist/cjs/Form/Select/MultiSelect/MultiOption.cjs.js +1 -1
- package/dist/cjs/Form/Select/MultiSelect/MultiOption.cjs.js.map +1 -1
- package/dist/cjs/Form/Select/MultiSelect/MultiSelect.module.scss.cjs.js +1 -1
- package/dist/cjs/Form/Select/MultiSelect/SelectButton.module.scss.cjs.js +1 -1
- package/dist/cjs/Form/Select/MultiSelect/SelectedOptions.module.scss.cjs.js +1 -1
- package/dist/cjs/Form/Select/MultiSelect/useSearch.cjs.js.map +1 -1
- package/dist/cjs/Form/Select/SingleSelect/Option.cjs.js +1 -1
- package/dist/cjs/Form/Select/SingleSelect/Option.cjs.js.map +1 -1
- package/dist/cjs/Form/Select/SingleSelect/Select.module.scss.cjs.js +1 -1
- package/dist/cjs/Form/Select/useAddNewBtn.module.scss.cjs.js +1 -1
- package/dist/cjs/Form/Textarea/Textarea.module.scss.cjs.js +1 -1
- package/dist/cjs/Form/Toggle/Toggle.module.scss.cjs.js +1 -1
- package/dist/cjs/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.cjs.js +1 -1
- package/dist/cjs/Form/Wrapper/InputWrapper/InputWrapper.module.scss.cjs.js +1 -1
- package/dist/cjs/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.cjs.js +1 -1
- package/dist/cjs/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.cjs.js +1 -1
- package/dist/cjs/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.cjs.js +1 -1
- package/dist/cjs/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.cjs.js +1 -1
- package/dist/cjs/Form/Wrapper/Wrapper/Wrapper.module.scss.cjs.js +1 -1
- package/dist/cjs/Icon/Icon.cjs.js +1 -1
- package/dist/cjs/Icon/Icon.cjs.js.map +1 -1
- package/dist/cjs/Icon/Icon.module.scss.cjs.js +1 -1
- package/dist/cjs/Layout/ContentHeader/ContentHeader.cjs.js +1 -1
- package/dist/cjs/Layout/ContentHeader/ContentHeader.cjs.js.map +1 -1
- package/dist/cjs/Layout/ContentHeader/ContentHeader.module.scss.cjs.js +1 -1
- package/dist/cjs/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.cjs.js +1 -1
- package/dist/cjs/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.cjs.js +1 -1
- package/dist/cjs/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.cjs.js +1 -1
- package/dist/cjs/Link/Link.cjs.js.map +1 -1
- package/dist/cjs/Link/Link.module.scss.cjs.js +1 -1
- package/dist/cjs/Notifications/Alert/AlertContainer/AlertContainer.module.scss.cjs.js +1 -1
- package/dist/cjs/Notifications/Alert/AlertItem/AlertItem.module.scss.cjs.js +1 -1
- package/dist/cjs/Notifications/Banner/Banner.module.scss.cjs.js +1 -1
- package/dist/cjs/Notifications/BaseModal/BaseModal.module.scss.cjs.js +1 -1
- package/dist/cjs/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.cjs.js +1 -1
- package/dist/cjs/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.cjs.js +1 -1
- package/dist/cjs/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.cjs.js +1 -1
- package/dist/cjs/Notifications/Dialog/Dialog.module.scss.cjs.js +1 -1
- package/dist/cjs/Notifications/Dialog/DialogActions/DialogActions.cjs.js.map +1 -1
- package/dist/cjs/Notifications/Dialog/DialogActions/DialogActions.module.scss.cjs.js +1 -1
- package/dist/cjs/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.cjs.js +1 -1
- package/dist/cjs/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.cjs.js.map +1 -1
- package/dist/cjs/Notifications/SideSheet/SideSheet.module.scss.cjs.js +1 -1
- package/dist/cjs/Notifications/SideSheet/SideSheetContent/SideSheetContent.module.scss.cjs.js +1 -1
- package/dist/cjs/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.module.scss.cjs.js +1 -1
- package/dist/cjs/Notifications/SlideInModal/SlideInModal.module.scss.cjs.js +1 -1
- package/dist/cjs/Pagination/Pagination.cjs.js.map +1 -1
- package/dist/cjs/Pagination/Pagination.module.scss.cjs.js +1 -1
- package/dist/cjs/Popover/Popover.module.scss.cjs.js +1 -1
- package/dist/cjs/ProgressBar/ProgressBar.module.scss.cjs.js +1 -1
- package/dist/cjs/Skeleton/Skeleton.module.scss.cjs.js +1 -1
- package/dist/cjs/Spinner/Spinner.module.scss.cjs.js +1 -1
- package/dist/cjs/Stepper/Step.module.scss.cjs.js +1 -1
- package/dist/cjs/Stepper/Stepper.module.scss.cjs.js +1 -1
- package/dist/cjs/Tabs/Tab.cjs.js.map +1 -1
- package/dist/cjs/Tabs/Tab.module.scss.cjs.js +1 -1
- package/dist/cjs/Tabs/TabButton.cjs.js +1 -1
- package/dist/cjs/Tabs/TabButton.cjs.js.map +1 -1
- package/dist/cjs/Tabs/TabButton.module.scss.cjs.js +1 -1
- package/dist/cjs/Tabs/Tabs.cjs.js.map +1 -1
- package/dist/cjs/Tabs/Tabs.module.scss.cjs.js +1 -1
- package/dist/cjs/Tag/RemoveButton.module.scss.cjs.js +1 -1
- package/dist/cjs/Tag/Tag.cjs.js.map +1 -1
- package/dist/cjs/Tag/Tag.module.scss.cjs.js +1 -1
- package/dist/cjs/TextEllipsis/TextEllipsis.module.scss.cjs.js +1 -1
- package/dist/cjs/Tiles/Tile.module.scss.cjs.js +1 -1
- package/dist/cjs/Tiles/Tiles.module.scss.cjs.js +1 -1
- package/dist/cjs/Tooltip/Tooltip.cjs.js.map +1 -1
- package/dist/cjs/Tooltip/Tooltip.module.scss.cjs.js +1 -1
- package/dist/cjs/Typography/Typography.cjs.js +1 -1
- package/dist/cjs/Typography/Typography.cjs.js.map +1 -1
- package/dist/cjs/Typography/Typography.module.scss.cjs.js +1 -1
- package/dist/cjs/_BaseStyling_/BaseStyling.cjs.js +1 -1
- package/dist/cjs/_BaseStyling_/BaseStyling.cjs.js.map +1 -1
- package/dist/cjs/admin/layout/LeftNav/LeftNav.cjs.js +2 -0
- package/dist/cjs/admin/layout/LeftNav/LeftNav.cjs.js.map +1 -0
- package/dist/cjs/admin/layout/LeftNav/LeftNav.module.scss.cjs.js +2 -0
- package/dist/cjs/admin/layout/LeftNav/LeftNav.module.scss.cjs.js.map +1 -0
- package/dist/cjs/admin/layout/LeftNav/LeftNavItem/ButtonLeftNavItem.cjs.js +2 -0
- package/dist/cjs/admin/layout/LeftNav/LeftNavItem/ButtonLeftNavItem.cjs.js.map +1 -0
- package/dist/cjs/admin/layout/LeftNav/LeftNavItem/LeftNavItem.cjs.js +2 -0
- package/dist/cjs/admin/layout/LeftNav/LeftNavItem/LeftNavItem.cjs.js.map +1 -0
- package/dist/cjs/admin/layout/LeftNav/LeftNavItem/LeftNavItem.module.scss.cjs.js +2 -0
- package/dist/cjs/admin/layout/LeftNav/LeftNavItem/LeftNavItem.module.scss.cjs.js.map +1 -0
- package/dist/cjs/admin/layout/LeftNav/LeftNavItem/LinkLeftNavItem.cjs.js +2 -0
- package/dist/cjs/admin/layout/LeftNav/LeftNavItem/LinkLeftNavItem.cjs.js.map +1 -0
- package/dist/cjs/admin/layout/LeftNav/LeftNavItem/useKeyboardNavigation.cjs.js +2 -0
- package/dist/cjs/admin/layout/LeftNav/LeftNavItem/useKeyboardNavigation.cjs.js.map +1 -0
- package/dist/cjs/admin/layout/LeftNav/useRefItems.cjs.js +2 -0
- package/dist/cjs/admin/layout/LeftNav/useRefItems.cjs.js.map +1 -0
- package/dist/cjs/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.cjs.js +1 -1
- package/dist/cjs/miscellaneous/IdentityProviderButton.cjs.js +1 -1
- package/dist/cjs/miscellaneous/IdentityProviderButton.cjs.js.map +1 -1
- package/dist/cjs/miscellaneous/IdentityProviderButton.module.scss.cjs.js +1 -1
- package/dist/cjs/node_modules/@remix-run/router/dist/router.cjs.js +12 -0
- package/dist/cjs/node_modules/@remix-run/router/dist/router.cjs.js.map +1 -0
- package/dist/cjs/node_modules/react-router/dist/index.cjs.js +12 -0
- package/dist/cjs/node_modules/react-router/dist/index.cjs.js.map +1 -0
- package/dist/cjs/node_modules/react-router-dom/dist/index.cjs.js +12 -0
- package/dist/cjs/node_modules/react-router-dom/dist/index.cjs.js.map +1 -0
- package/dist/cjs/src/components/DataGrid/DataGrid.d.ts +1 -1
- package/dist/cjs/src/components/DataGrid/DataGridBody/DataGridBody.d.ts +1 -1
- package/dist/cjs/src/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.d.ts +1 -1
- package/dist/cjs/src/components/Form/Checkbox/Checkbox.d.ts +1 -1
- package/dist/cjs/src/components/Form/Fieldset/Fieldset.d.ts +1 -1
- package/dist/cjs/src/components/Form/FileUpload/FileItem/FileItem.d.ts +1 -1
- package/dist/cjs/src/components/Form/FileUpload/FileUpload.d.ts +1 -1
- package/dist/cjs/src/components/Form/Input/Input.d.ts +1 -1
- package/dist/cjs/src/components/Form/Radio/Radio.d.ts +1 -1
- package/dist/cjs/src/components/Form/Select/MultiSelect/MultiSelect.d.ts +1 -1
- package/dist/cjs/src/components/Form/Select/SingleSelect/Select.d.ts +1 -1
- package/dist/cjs/src/components/Form/Textarea/Textarea.d.ts +1 -1
- package/dist/cjs/src/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.d.ts +1 -1
- package/dist/cjs/src/components/Form/Wrapper/InputWrapper/InputWrapper.d.ts +1 -1
- package/dist/cjs/src/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.d.ts +1 -1
- package/dist/cjs/src/components/Form/Wrapper/RadioWrapper/RadioWrapper.d.ts +1 -1
- package/dist/cjs/src/components/Form/Wrapper/SelectWrapper/SelectWrapper.d.ts +1 -1
- package/dist/cjs/src/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.d.ts +1 -1
- package/dist/cjs/src/components/Icon/Icon.d.ts +1 -0
- package/dist/cjs/src/components/Layout/ContentHeader/ContentHeader.d.ts +16 -2
- package/dist/cjs/src/components/Typography/Typography.d.ts +1 -1
- package/dist/cjs/src/components/_BaseStyling_/BaseStyling.d.ts +10 -2
- package/dist/cjs/src/components/admin/layout/LeftNav/LeftNav.d.ts +10 -0
- package/dist/cjs/src/components/admin/layout/LeftNav/LeftNav.interfaces.d.ts +13 -0
- package/dist/cjs/src/components/admin/layout/LeftNav/LeftNav.test.d.ts +1 -0
- package/dist/cjs/src/components/admin/layout/LeftNav/LeftNavItem/ButtonLeftNavItem.d.ts +13 -0
- package/dist/cjs/src/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.d.ts +3 -0
- package/dist/cjs/src/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.interface.d.ts +10 -0
- package/dist/cjs/src/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.test.d.ts +1 -0
- package/dist/cjs/src/components/admin/layout/LeftNav/LeftNavItem/LinkLeftNavItem.d.ts +10 -0
- package/dist/cjs/src/components/admin/layout/LeftNav/LeftNavItem/useKeyboardNavigation.d.ts +12 -0
- package/dist/cjs/src/components/admin/layout/LeftNav/useRefItems.d.ts +22 -0
- package/dist/cjs/src/components/admin/layout/LeftNav/useRefItems.test.d.ts +1 -0
- package/dist/cjs/src/components/miscellaneous/IdentityProviderButton.d.ts +1 -0
- package/dist/cjs/src/components/withReadOnly.d.ts +1 -1
- package/dist/cjs/src/hooks/useDebouncedCallback.cjs.js.map +1 -1
- package/dist/cjs/src/hooks/useRepeatFocus.cjs.js.map +1 -1
- package/dist/cjs/src/index.cjs.js +1 -1
- package/dist/cjs/src/index.d.ts +3 -1
- package/dist/cjs/src/readyclasses.module.scss.cjs.js +1 -1
- package/dist/cjs/src/util/helper.cjs.js +1 -1
- package/dist/cjs/src/util/helper.cjs.js.map +1 -1
- package/dist/cjs/src/util/helper.d.ts +1 -2
- package/dist/cjs/withReadOnly.cjs.js.map +1 -1
- package/dist/esm/Breadcrumbs/Breadcrumbs.esm.js +9 -9
- package/dist/esm/Breadcrumbs/Breadcrumbs.esm.js.map +1 -1
- package/dist/esm/Breadcrumbs/Breadcrumbs.module.scss.esm.js +2 -2
- package/dist/esm/Button/BaseButton.esm.js +7 -6
- package/dist/esm/Button/BaseButton.esm.js.map +1 -1
- package/dist/esm/Button/BaseButton.module.scss.esm.js +2 -2
- package/dist/esm/Button/Button.esm.js +6 -6
- package/dist/esm/Button/Button.esm.js.map +1 -1
- package/dist/esm/Button/Button.module.scss.esm.js +2 -2
- package/dist/esm/Button/IconButton.esm.js +6 -9
- package/dist/esm/Button/IconButton.esm.js.map +1 -1
- package/dist/esm/Button/IconButton.module.scss.esm.js +2 -2
- package/dist/esm/Button/Spinner.esm.js +3 -3
- package/dist/esm/Button/Spinner.esm.js.map +1 -1
- package/dist/esm/ContextMenu/ContextMenu.esm.js +10 -10
- package/dist/esm/ContextMenu/ContextMenu.esm.js.map +1 -1
- package/dist/esm/ContextMenu/ContextMenu.module.scss.esm.js +2 -2
- package/dist/esm/ContextMenu/ContextMenuItem.esm.js +5 -5
- package/dist/esm/ContextMenu/ContextMenuItem.esm.js.map +1 -1
- package/dist/esm/ContextMenu/ContextMenuItem.module.scss.esm.js +2 -2
- package/dist/esm/DataGrid/DataGrid.esm.js +11 -11
- package/dist/esm/DataGrid/DataGrid.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGrid.module.scss.esm.js +2 -2
- package/dist/esm/DataGrid/DataGridActions/DataGridActions.esm.js +14 -14
- package/dist/esm/DataGrid/DataGridActions/DataGridActions.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGridActions/DataGridActions.module.scss.esm.js +2 -2
- package/dist/esm/DataGrid/DataGridActions/DataGridColumnsToggle.esm.js +11 -11
- package/dist/esm/DataGrid/DataGridActions/DataGridColumnsToggle.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.esm.js +2 -2
- package/dist/esm/DataGrid/DataGridBody/DataGridBody.esm.js +10 -10
- package/dist/esm/DataGrid/DataGridBody/DataGridBody.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGridBody/DataGridBody.module.scss.esm.js +2 -2
- package/dist/esm/DataGrid/DataGridBody/DataGridCell/DataGridCell.esm.js +13 -12
- package/dist/esm/DataGrid/DataGridBody/DataGridCell/DataGridCell.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.esm.js +2 -2
- package/dist/esm/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.esm.js +4 -4
- package/dist/esm/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.esm.js +2 -2
- package/dist/esm/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.esm.js +6 -6
- package/dist/esm/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.esm.js +2 -2
- package/dist/esm/DataGrid/DataGridBody/DataGridRow/DataGridRow.esm.js +15 -15
- package/dist/esm/DataGrid/DataGridBody/DataGridRow/DataGridRow.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.esm.js +2 -2
- package/dist/esm/DataGrid/DataGridBody/DataGridRow/useNestedRow.esm.js +4 -4
- package/dist/esm/DataGrid/DataGridBody/DataGridRow/useNestedRow.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGridFilters/DataGridDateFilter.esm.js +4 -4
- package/dist/esm/DataGrid/DataGridFilters/DataGridDateFilter.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGridFilters/DataGridFilter.esm.js +4 -4
- package/dist/esm/DataGrid/DataGridFilters/DataGridFilter.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGridFilters/DataGridFilter.module.scss.esm.js +2 -2
- package/dist/esm/DataGrid/DataGridFilters/DataGridFilterPopover.esm.js +12 -12
- package/dist/esm/DataGrid/DataGridFilters/DataGridFilterPopover.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGridFilters/DataGridFilterTag.esm.js +17 -17
- package/dist/esm/DataGrid/DataGridFilters/DataGridFilterTag.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGridFilters/DataGridSearchbar.esm.js +3 -3
- package/dist/esm/DataGrid/DataGridFilters/DataGridSearchbar.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGridFilters/DataGridToolbar.esm.js +8 -8
- package/dist/esm/DataGrid/DataGridFilters/DataGridToolbar.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGridFilters/DataGridToolbar.module.scss.esm.js +2 -2
- package/dist/esm/DataGrid/DataGridFilters/DataGridToolbarWrapper.esm.js +5 -5
- package/dist/esm/DataGrid/DataGridFilters/DataGridToolbarWrapper.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.esm.js +13 -13
- package/dist/esm/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.module.scss.esm.js +2 -2
- package/dist/esm/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerCalendarSection.esm.js +8 -8
- package/dist/esm/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerCalendarSection.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerInputSection.esm.js +4 -4
- package/dist/esm/DataGrid/DataGridFilters/DateTimePicker/DateTimePickerInputSection.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGridFilters/DateTimePicker/SideMenu.esm.js +3 -3
- package/dist/esm/DataGrid/DataGridFilters/DateTimePicker/SideMenu.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGridHeader/DataGridHeader.esm.js +8 -8
- package/dist/esm/DataGrid/DataGridHeader/DataGridHeader.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGridHeader/DataGridHeader.module.scss.esm.js +2 -2
- package/dist/esm/DataGrid/DataGridHeader/DataGridHeaderCell.esm.js +7 -7
- package/dist/esm/DataGrid/DataGridHeader/DataGridHeaderCell.esm.js.map +1 -1
- package/dist/esm/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.esm.js +2 -2
- package/dist/esm/DatePicker/DatePicker.esm.js +3 -3
- package/dist/esm/DatePicker/DatePicker.esm.js.map +1 -1
- package/dist/esm/DatePicker/DatePicker.module.scss.esm.js +2 -2
- package/dist/esm/Form/Checkbox/Checkbox.esm.js +12 -12
- package/dist/esm/Form/Checkbox/Checkbox.esm.js.map +1 -1
- package/dist/esm/Form/Checkbox/Checkbox.module.scss.esm.js +2 -2
- package/dist/esm/Form/Fieldset/Fieldset.esm.js +11 -10
- package/dist/esm/Form/Fieldset/Fieldset.esm.js.map +1 -1
- package/dist/esm/Form/Fieldset/Fieldset.module.scss.esm.js +2 -2
- package/dist/esm/Form/FileUpload/FileItem/FileItem.esm.js +18 -18
- package/dist/esm/Form/FileUpload/FileItem/FileItem.esm.js.map +1 -1
- package/dist/esm/Form/FileUpload/FileItem/FileItem.module.scss.esm.js +2 -2
- package/dist/esm/Form/FileUpload/FileUpload.esm.js +22 -22
- package/dist/esm/Form/FileUpload/FileUpload.esm.js.map +1 -1
- package/dist/esm/Form/FileUpload/FileUpload.module.scss.esm.js +2 -2
- package/dist/esm/Form/Form.esm.js +3 -3
- package/dist/esm/Form/Form.esm.js.map +1 -1
- package/dist/esm/Form/Form.module.scss.esm.js +2 -2
- package/dist/esm/Form/FormControl/FormControl.esm.js +6 -6
- package/dist/esm/Form/FormControl/FormControl.esm.js.map +1 -1
- package/dist/esm/Form/FormControl/FormControl.module.scss.esm.js +2 -2
- package/dist/esm/Form/FormGroup/FormGroup.esm.js +9 -9
- package/dist/esm/Form/FormGroup/FormGroup.esm.js.map +1 -1
- package/dist/esm/Form/FormGroup/FormGroup.module.scss.esm.js +2 -2
- package/dist/esm/Form/FormHelperText/FormHelperText.esm.js +3 -3
- package/dist/esm/Form/FormHelperText/FormHelperText.esm.js.map +1 -1
- package/dist/esm/Form/FormHelperText/FormHelperText.module.scss.esm.js +2 -2
- package/dist/esm/Form/FormSelectorWrapper/FormSelectorWrapper.esm.js +5 -5
- package/dist/esm/Form/FormSelectorWrapper/FormSelectorWrapper.esm.js.map +1 -1
- package/dist/esm/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.esm.js +2 -2
- package/dist/esm/Form/Input/Input.esm.js +8 -8
- package/dist/esm/Form/Input/Input.esm.js.map +1 -1
- package/dist/esm/Form/Input/Input.module.scss.esm.js +2 -2
- package/dist/esm/Form/Label/Label.esm.js +3 -3
- package/dist/esm/Form/Label/Label.esm.js.map +1 -1
- package/dist/esm/Form/Label/Label.module.scss.esm.js +2 -2
- package/dist/esm/Form/Radio/Radio.esm.js +8 -7
- package/dist/esm/Form/Radio/Radio.esm.js.map +1 -1
- package/dist/esm/Form/Radio/Radio.module.scss.esm.js +2 -2
- package/dist/esm/Form/Select/MultiSelect/MultiOption.esm.js +4 -4
- package/dist/esm/Form/Select/MultiSelect/MultiOption.esm.js.map +1 -1
- package/dist/esm/Form/Select/MultiSelect/MultiSelect.esm.js +24 -24
- package/dist/esm/Form/Select/MultiSelect/MultiSelect.esm.js.map +1 -1
- package/dist/esm/Form/Select/MultiSelect/MultiSelect.module.scss.esm.js +2 -2
- package/dist/esm/Form/Select/MultiSelect/SelectButton.esm.js +3 -3
- package/dist/esm/Form/Select/MultiSelect/SelectButton.esm.js.map +1 -1
- package/dist/esm/Form/Select/MultiSelect/SelectButton.module.scss.esm.js +2 -2
- package/dist/esm/Form/Select/MultiSelect/SelectedOptions.esm.js +3 -3
- package/dist/esm/Form/Select/MultiSelect/SelectedOptions.esm.js.map +1 -1
- package/dist/esm/Form/Select/MultiSelect/SelectedOptions.module.scss.esm.js +2 -2
- package/dist/esm/Form/Select/MultiSelect/useMultiSelect.esm.js +2 -2
- package/dist/esm/Form/Select/MultiSelect/useMultiSelect.esm.js.map +1 -1
- package/dist/esm/Form/Select/MultiSelect/useSearch.esm.js +2 -2
- package/dist/esm/Form/Select/MultiSelect/useSearch.esm.js.map +1 -1
- package/dist/esm/Form/Select/SingleSelect/Option.esm.js +4 -4
- package/dist/esm/Form/Select/SingleSelect/Option.esm.js.map +1 -1
- package/dist/esm/Form/Select/SingleSelect/Select.esm.js +22 -22
- package/dist/esm/Form/Select/SingleSelect/Select.esm.js.map +1 -1
- package/dist/esm/Form/Select/SingleSelect/Select.module.scss.esm.js +2 -2
- package/dist/esm/Form/Select/SingleSelect/useSearch.esm.js +2 -2
- package/dist/esm/Form/Select/SingleSelect/useSearch.esm.js.map +1 -1
- package/dist/esm/Form/Select/useAddNewBtn.esm.js +3 -3
- package/dist/esm/Form/Select/useAddNewBtn.esm.js.map +1 -1
- package/dist/esm/Form/Select/useAddNewBtn.module.scss.esm.js +2 -2
- package/dist/esm/Form/Textarea/Textarea.esm.js +6 -6
- package/dist/esm/Form/Textarea/Textarea.esm.js.map +1 -1
- package/dist/esm/Form/Textarea/Textarea.module.scss.esm.js +2 -2
- package/dist/esm/Form/Toggle/Toggle.esm.js +5 -5
- package/dist/esm/Form/Toggle/Toggle.esm.js.map +1 -1
- package/dist/esm/Form/Toggle/Toggle.module.scss.esm.js +2 -2
- package/dist/esm/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.esm.js +5 -5
- package/dist/esm/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.esm.js.map +1 -1
- package/dist/esm/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.esm.js +2 -2
- package/dist/esm/Form/Wrapper/InputWrapper/InputWrapper.esm.js +4 -4
- package/dist/esm/Form/Wrapper/InputWrapper/InputWrapper.esm.js.map +1 -1
- package/dist/esm/Form/Wrapper/InputWrapper/InputWrapper.module.scss.esm.js +2 -2
- package/dist/esm/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.esm.js +4 -4
- package/dist/esm/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.esm.js.map +1 -1
- package/dist/esm/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.esm.js +2 -2
- package/dist/esm/Form/Wrapper/RadioWrapper/RadioWrapper.esm.js +6 -6
- package/dist/esm/Form/Wrapper/RadioWrapper/RadioWrapper.esm.js.map +1 -1
- package/dist/esm/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.esm.js +2 -2
- package/dist/esm/Form/Wrapper/SelectWrapper/SelectWrapper.esm.js +4 -4
- package/dist/esm/Form/Wrapper/SelectWrapper/SelectWrapper.esm.js.map +1 -1
- package/dist/esm/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.esm.js +2 -2
- package/dist/esm/Form/Wrapper/TextareaWrapper/TextareaWrapper.esm.js +5 -5
- package/dist/esm/Form/Wrapper/TextareaWrapper/TextareaWrapper.esm.js.map +1 -1
- package/dist/esm/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.esm.js +2 -2
- package/dist/esm/Form/Wrapper/Wrapper/Wrapper.esm.js +7 -7
- package/dist/esm/Form/Wrapper/Wrapper/Wrapper.esm.js.map +1 -1
- package/dist/esm/Form/Wrapper/Wrapper/Wrapper.module.scss.esm.js +2 -2
- package/dist/esm/Icon/Icon.esm.js +4 -3
- package/dist/esm/Icon/Icon.esm.js.map +1 -1
- package/dist/esm/Icon/Icon.module.scss.esm.js +2 -2
- package/dist/esm/Layout/ContentHeader/ContentHeader.esm.js +37 -9
- package/dist/esm/Layout/ContentHeader/ContentHeader.esm.js.map +1 -1
- package/dist/esm/Layout/ContentHeader/ContentHeader.module.scss.esm.js +2 -2
- package/dist/esm/Layout/FormPage/FormWithStepper/FormSection/FormSection.esm.js +6 -6
- package/dist/esm/Layout/FormPage/FormWithStepper/FormSection/FormSection.esm.js.map +1 -1
- package/dist/esm/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.esm.js +2 -2
- package/dist/esm/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.esm.js +3 -3
- package/dist/esm/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.esm.js.map +1 -1
- package/dist/esm/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.esm.js +2 -2
- package/dist/esm/Layout/FormPage/FormWithStepper/FormWithStepper.esm.js +3 -3
- package/dist/esm/Layout/FormPage/FormWithStepper/FormWithStepper.esm.js.map +1 -1
- package/dist/esm/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.esm.js +2 -2
- package/dist/esm/Link/Link.esm.js +5 -5
- package/dist/esm/Link/Link.esm.js.map +1 -1
- package/dist/esm/Link/Link.module.scss.esm.js +2 -2
- package/dist/esm/Notifications/Alert/AlertContainer/AlertContainer.esm.js +2 -2
- package/dist/esm/Notifications/Alert/AlertContainer/AlertContainer.esm.js.map +1 -1
- package/dist/esm/Notifications/Alert/AlertContainer/AlertContainer.module.scss.esm.js +2 -2
- package/dist/esm/Notifications/Alert/AlertItem/AlertItem.esm.js +11 -11
- package/dist/esm/Notifications/Alert/AlertItem/AlertItem.esm.js.map +1 -1
- package/dist/esm/Notifications/Alert/AlertItem/AlertItem.module.scss.esm.js +2 -2
- package/dist/esm/Notifications/Alert/AlertProvider/AlertProvider.esm.js +4 -4
- package/dist/esm/Notifications/Alert/AlertProvider/AlertProvider.esm.js.map +1 -1
- package/dist/esm/Notifications/Banner/Banner.esm.js +7 -7
- package/dist/esm/Notifications/Banner/Banner.esm.js.map +1 -1
- package/dist/esm/Notifications/Banner/Banner.module.scss.esm.js +2 -2
- package/dist/esm/Notifications/BaseModal/BaseModal.esm.js +8 -8
- package/dist/esm/Notifications/BaseModal/BaseModal.esm.js.map +1 -1
- package/dist/esm/Notifications/BaseModal/BaseModal.module.scss.esm.js +2 -2
- package/dist/esm/Notifications/BaseModal/BaseModalActions/BaseModalActions.esm.js +7 -7
- package/dist/esm/Notifications/BaseModal/BaseModalActions/BaseModalActions.esm.js.map +1 -1
- package/dist/esm/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.esm.js +2 -2
- package/dist/esm/Notifications/BaseModal/BaseModalContent/BaseModalContent.esm.js +3 -3
- package/dist/esm/Notifications/BaseModal/BaseModalContent/BaseModalContent.esm.js.map +1 -1
- package/dist/esm/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.esm.js +2 -2
- package/dist/esm/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.esm.js +9 -9
- package/dist/esm/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.esm.js.map +1 -1
- package/dist/esm/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.esm.js +2 -2
- package/dist/esm/Notifications/Dialog/Dialog.esm.js +9 -9
- package/dist/esm/Notifications/Dialog/Dialog.esm.js.map +1 -1
- package/dist/esm/Notifications/Dialog/Dialog.module.scss.esm.js +2 -2
- package/dist/esm/Notifications/Dialog/DialogActions/DialogActions.esm.js +3 -3
- package/dist/esm/Notifications/Dialog/DialogActions/DialogActions.esm.js.map +1 -1
- package/dist/esm/Notifications/Dialog/DialogActions/DialogActions.module.scss.esm.js +2 -2
- package/dist/esm/Notifications/Dialog/DialogTitle/DialogTitle.esm.js +10 -10
- package/dist/esm/Notifications/Dialog/DialogTitle/DialogTitle.esm.js.map +1 -1
- package/dist/esm/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.esm.js +2 -2
- package/dist/esm/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.esm.js +4 -4
- package/dist/esm/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.esm.js.map +1 -1
- package/dist/esm/Notifications/DiscardChangesModal/DiscardChangesModal.esm.js +5 -5
- package/dist/esm/Notifications/DiscardChangesModal/DiscardChangesModal.esm.js.map +1 -1
- package/dist/esm/Notifications/NotificationProvider/NotificationContext.esm.js +3 -3
- package/dist/esm/Notifications/NotificationProvider/NotificationContext.esm.js.map +1 -1
- package/dist/esm/Notifications/SideSheet/SideSheet.esm.js +11 -11
- package/dist/esm/Notifications/SideSheet/SideSheet.esm.js.map +1 -1
- package/dist/esm/Notifications/SideSheet/SideSheet.module.scss.esm.js +2 -2
- package/dist/esm/Notifications/SideSheet/SideSheetContent/SideSheetContent.esm.js +2 -2
- package/dist/esm/Notifications/SideSheet/SideSheetContent/SideSheetContent.esm.js.map +1 -1
- package/dist/esm/Notifications/SideSheet/SideSheetContent/SideSheetContent.module.scss.esm.js +2 -2
- package/dist/esm/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.esm.js +2 -2
- package/dist/esm/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.esm.js.map +1 -1
- package/dist/esm/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.module.scss.esm.js +2 -2
- package/dist/esm/Notifications/SlideInModal/SlideInModal.esm.js +3 -3
- package/dist/esm/Notifications/SlideInModal/SlideInModal.esm.js.map +1 -1
- package/dist/esm/Notifications/SlideInModal/SlideInModal.module.scss.esm.js +2 -2
- package/dist/esm/Pagination/Pagination.esm.js +31 -30
- package/dist/esm/Pagination/Pagination.esm.js.map +1 -1
- package/dist/esm/Pagination/Pagination.module.scss.esm.js +2 -2
- package/dist/esm/Popover/Popover.esm.js +4 -4
- package/dist/esm/Popover/Popover.esm.js.map +1 -1
- package/dist/esm/Popover/Popover.module.scss.esm.js +2 -2
- package/dist/esm/ProgressBar/ProgressBar.esm.js +10 -10
- package/dist/esm/ProgressBar/ProgressBar.esm.js.map +1 -1
- package/dist/esm/ProgressBar/ProgressBar.module.scss.esm.js +2 -2
- package/dist/esm/Skeleton/Skeleton.esm.js +3 -3
- package/dist/esm/Skeleton/Skeleton.esm.js.map +1 -1
- package/dist/esm/Skeleton/Skeleton.module.scss.esm.js +2 -2
- package/dist/esm/Spinner/Spinner.esm.js +4 -4
- package/dist/esm/Spinner/Spinner.esm.js.map +1 -1
- package/dist/esm/Spinner/Spinner.module.scss.esm.js +2 -2
- package/dist/esm/Stepper/Step.esm.js +10 -10
- package/dist/esm/Stepper/Step.esm.js.map +1 -1
- package/dist/esm/Stepper/Step.module.scss.esm.js +2 -2
- package/dist/esm/Stepper/Stepper.esm.js +2 -2
- package/dist/esm/Stepper/Stepper.esm.js.map +1 -1
- package/dist/esm/Stepper/Stepper.module.scss.esm.js +2 -2
- package/dist/esm/Tabs/Tab.esm.js +2 -2
- package/dist/esm/Tabs/Tab.esm.js.map +1 -1
- package/dist/esm/Tabs/Tab.module.scss.esm.js +2 -2
- package/dist/esm/Tabs/TabButton.esm.js +5 -5
- package/dist/esm/Tabs/TabButton.esm.js.map +1 -1
- package/dist/esm/Tabs/TabButton.module.scss.esm.js +2 -2
- package/dist/esm/Tabs/Tabs.esm.js +14 -12
- package/dist/esm/Tabs/Tabs.esm.js.map +1 -1
- package/dist/esm/Tabs/Tabs.module.scss.esm.js +2 -2
- package/dist/esm/Tag/RemoveButton.esm.js +4 -4
- package/dist/esm/Tag/RemoveButton.esm.js.map +1 -1
- package/dist/esm/Tag/RemoveButton.module.scss.esm.js +2 -2
- package/dist/esm/Tag/Tag.esm.js +7 -7
- package/dist/esm/Tag/Tag.esm.js.map +1 -1
- package/dist/esm/Tag/Tag.module.scss.esm.js +2 -2
- package/dist/esm/TextEllipsis/TextEllipsis.esm.js +4 -4
- package/dist/esm/TextEllipsis/TextEllipsis.esm.js.map +1 -1
- package/dist/esm/TextEllipsis/TextEllipsis.module.scss.esm.js +2 -2
- package/dist/esm/Tiles/Tile.esm.js +11 -11
- package/dist/esm/Tiles/Tile.esm.js.map +1 -1
- package/dist/esm/Tiles/Tile.module.scss.esm.js +2 -2
- package/dist/esm/Tiles/Tiles.esm.js +6 -6
- package/dist/esm/Tiles/Tiles.esm.js.map +1 -1
- package/dist/esm/Tiles/Tiles.module.scss.esm.js +2 -2
- package/dist/esm/Tooltip/Tooltip.esm.js +12 -11
- package/dist/esm/Tooltip/Tooltip.esm.js.map +1 -1
- package/dist/esm/Tooltip/Tooltip.module.scss.esm.js +2 -2
- package/dist/esm/Typography/Typography.esm.js +4 -4
- package/dist/esm/Typography/Typography.esm.js.map +1 -1
- package/dist/esm/Typography/Typography.module.scss.esm.js +2 -2
- package/dist/esm/_BaseStyling_/BaseStyling.esm.js +17 -8
- package/dist/esm/_BaseStyling_/BaseStyling.esm.js.map +1 -1
- package/dist/esm/admin/layout/LeftNav/LeftNav.esm.js +41 -0
- package/dist/esm/admin/layout/LeftNav/LeftNav.esm.js.map +1 -0
- package/dist/esm/admin/layout/LeftNav/LeftNav.module.scss.esm.js +8 -0
- package/dist/esm/admin/layout/LeftNav/LeftNav.module.scss.esm.js.map +1 -0
- package/dist/esm/admin/layout/LeftNav/LeftNavItem/ButtonLeftNavItem.esm.js +74 -0
- package/dist/esm/admin/layout/LeftNav/LeftNavItem/ButtonLeftNavItem.esm.js.map +1 -0
- package/dist/esm/admin/layout/LeftNav/LeftNavItem/LeftNavItem.esm.js +28 -0
- package/dist/esm/admin/layout/LeftNav/LeftNavItem/LeftNavItem.esm.js.map +1 -0
- package/dist/esm/admin/layout/LeftNav/LeftNavItem/LeftNavItem.module.scss.esm.js +8 -0
- package/dist/esm/admin/layout/LeftNav/LeftNavItem/LeftNavItem.module.scss.esm.js.map +1 -0
- package/dist/esm/admin/layout/LeftNav/LeftNavItem/LinkLeftNavItem.esm.js +59 -0
- package/dist/esm/admin/layout/LeftNav/LeftNavItem/LinkLeftNavItem.esm.js.map +1 -0
- package/dist/esm/admin/layout/LeftNav/LeftNavItem/useKeyboardNavigation.esm.js +56 -0
- package/dist/esm/admin/layout/LeftNav/LeftNavItem/useKeyboardNavigation.esm.js.map +1 -0
- package/dist/esm/admin/layout/LeftNav/useRefItems.esm.js +236 -0
- package/dist/esm/admin/layout/LeftNav/useRefItems.esm.js.map +1 -0
- package/dist/esm/admin/layout/MicrofrontendContainer/MicrofrontendContainer.esm.js +4 -4
- package/dist/esm/admin/layout/MicrofrontendContainer/MicrofrontendContainer.esm.js.map +1 -1
- package/dist/esm/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.esm.js +2 -2
- package/dist/esm/miscellaneous/IdentityProviderButton.esm.js +5 -5
- package/dist/esm/miscellaneous/IdentityProviderButton.esm.js.map +1 -1
- package/dist/esm/miscellaneous/IdentityProviderButton.module.scss.esm.js +2 -2
- package/dist/esm/node_modules/@remix-run/router/dist/router.esm.js +373 -0
- package/dist/esm/node_modules/@remix-run/router/dist/router.esm.js.map +1 -0
- package/dist/esm/node_modules/react-router/dist/index.esm.js +328 -0
- package/dist/esm/node_modules/react-router/dist/index.esm.js.map +1 -0
- package/dist/esm/node_modules/react-router-dom/dist/index.esm.js +609 -0
- package/dist/esm/node_modules/react-router-dom/dist/index.esm.js.map +1 -0
- package/dist/esm/src/components/DataGrid/DataGrid.d.ts +1 -1
- package/dist/esm/src/components/DataGrid/DataGridBody/DataGridBody.d.ts +1 -1
- package/dist/esm/src/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.d.ts +1 -1
- package/dist/esm/src/components/Form/Checkbox/Checkbox.d.ts +1 -1
- package/dist/esm/src/components/Form/Fieldset/Fieldset.d.ts +1 -1
- package/dist/esm/src/components/Form/FileUpload/FileItem/FileItem.d.ts +1 -1
- package/dist/esm/src/components/Form/FileUpload/FileUpload.d.ts +1 -1
- package/dist/esm/src/components/Form/Input/Input.d.ts +1 -1
- package/dist/esm/src/components/Form/Radio/Radio.d.ts +1 -1
- package/dist/esm/src/components/Form/Select/MultiSelect/MultiSelect.d.ts +1 -1
- package/dist/esm/src/components/Form/Select/SingleSelect/Select.d.ts +1 -1
- package/dist/esm/src/components/Form/Textarea/Textarea.d.ts +1 -1
- package/dist/esm/src/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.d.ts +1 -1
- package/dist/esm/src/components/Form/Wrapper/InputWrapper/InputWrapper.d.ts +1 -1
- package/dist/esm/src/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.d.ts +1 -1
- package/dist/esm/src/components/Form/Wrapper/RadioWrapper/RadioWrapper.d.ts +1 -1
- package/dist/esm/src/components/Form/Wrapper/SelectWrapper/SelectWrapper.d.ts +1 -1
- package/dist/esm/src/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.d.ts +1 -1
- package/dist/esm/src/components/Icon/Icon.d.ts +1 -0
- package/dist/esm/src/components/Layout/ContentHeader/ContentHeader.d.ts +16 -2
- package/dist/esm/src/components/Typography/Typography.d.ts +1 -1
- package/dist/esm/src/components/_BaseStyling_/BaseStyling.d.ts +10 -2
- package/dist/esm/src/components/admin/layout/LeftNav/LeftNav.d.ts +10 -0
- package/dist/esm/src/components/admin/layout/LeftNav/LeftNav.interfaces.d.ts +13 -0
- package/dist/esm/src/components/admin/layout/LeftNav/LeftNav.test.d.ts +1 -0
- package/dist/esm/src/components/admin/layout/LeftNav/LeftNavItem/ButtonLeftNavItem.d.ts +13 -0
- package/dist/esm/src/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.d.ts +3 -0
- package/dist/esm/src/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.interface.d.ts +10 -0
- package/dist/esm/src/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.test.d.ts +1 -0
- package/dist/esm/src/components/admin/layout/LeftNav/LeftNavItem/LinkLeftNavItem.d.ts +10 -0
- package/dist/esm/src/components/admin/layout/LeftNav/LeftNavItem/useKeyboardNavigation.d.ts +12 -0
- package/dist/esm/src/components/admin/layout/LeftNav/useRefItems.d.ts +22 -0
- package/dist/esm/src/components/admin/layout/LeftNav/useRefItems.test.d.ts +1 -0
- package/dist/esm/src/components/miscellaneous/IdentityProviderButton.d.ts +1 -0
- package/dist/esm/src/components/withReadOnly.d.ts +1 -1
- package/dist/esm/src/hooks/useDebouncedCallback.esm.js +5 -3
- package/dist/esm/src/hooks/useDebouncedCallback.esm.js.map +1 -1
- package/dist/esm/src/hooks/useDetermineStatusIcon.esm.js +3 -3
- package/dist/esm/src/hooks/useDetermineStatusIcon.esm.js.map +1 -1
- package/dist/esm/src/hooks/useRepeatFocus.esm.js +6 -3
- package/dist/esm/src/hooks/useRepeatFocus.esm.js.map +1 -1
- package/dist/esm/src/hooks/useRepeater.esm.js +2 -2
- package/dist/esm/src/hooks/useRepeater.esm.js.map +1 -1
- package/dist/esm/src/index.d.ts +3 -1
- package/dist/esm/src/index.esm.js +1 -0
- package/dist/esm/src/index.esm.js.map +1 -1
- package/dist/esm/src/readyclasses.module.scss.esm.js +2 -2
- package/dist/esm/src/util/helper.d.ts +1 -2
- package/dist/esm/src/util/helper.esm.js +7 -6
- package/dist/esm/src/util/helper.esm.js.map +1 -1
- package/dist/esm/withReadOnly.esm.js +3 -3
- package/dist/esm/withReadOnly.esm.js.map +1 -1
- package/package.json +12 -12
- package/src/_functions.scss +19 -0
- package/src/components/Breadcrumbs/Breadcrumbs.module.scss +1 -1
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +1 -1
- package/src/components/Button/BaseButton.tsx +2 -1
- package/src/components/Button/Button.module.scss +3 -2
- package/src/components/Button/IconButton.module.scss +10 -9
- package/src/components/Button/IconButton.tsx +9 -5
- package/src/components/ContextMenu/ContextMenuItem.module.scss +2 -2
- package/src/components/ContextMenu/ContextMenuItem.tsx +1 -1
- package/src/components/DataGrid/DataGrid.tsx +2 -2
- package/src/components/DataGrid/DataGridBody/DataGridBody.tsx +2 -2
- package/src/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.tsx +4 -2
- package/src/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss +3 -2
- package/src/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.tsx +1 -1
- package/src/components/DataGrid/DataGridFilters/DataGridFilter.module.scss +2 -1
- package/src/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.module.scss +9 -7
- package/src/components/DataGrid/DataGridHeader/DataGridHeader.tsx +1 -1
- package/src/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss +1 -1
- package/src/components/DatePicker/DatePicker.module.scss +10 -6
- package/src/components/DatePicker/DatePicker.tsx +2 -1
- package/src/components/Form/Checkbox/Checkbox.module.scss +9 -6
- package/src/components/Form/Fieldset/Fieldset.tsx +4 -3
- package/src/components/Form/FileUpload/FileItem/FileItem.module.scss +7 -7
- package/src/components/Form/FileUpload/FileItem/FileItem.tsx +1 -1
- package/src/components/Form/FileUpload/FileUpload.module.scss +2 -2
- package/src/components/Form/FileUpload/FileUpload.tsx +6 -5
- package/src/components/Form/FormGroup/FormGroup.module.scss +2 -2
- package/src/components/Form/FormSection/FormSection.module.scss +1 -1
- package/src/components/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss +3 -1
- package/src/components/Form/Input/Input.module.scss +5 -4
- package/src/components/Form/Radio/Radio.module.scss +11 -9
- package/src/components/Form/Radio/Radio.tsx +1 -0
- package/src/components/Form/Select/MultiSelect/MultiOption.tsx +1 -1
- package/src/components/Form/Select/MultiSelect/MultiSelect.module.scss +7 -5
- package/src/components/Form/Select/MultiSelect/useSearch.tsx +1 -0
- package/src/components/Form/Select/SingleSelect/Option.tsx +1 -1
- package/src/components/Form/Select/SingleSelect/Select.module.scss +6 -5
- package/src/components/Form/Select/useAddNewBtn.module.scss +2 -1
- package/src/components/Form/Textarea/Textarea.module.scss +4 -4
- package/src/components/Form/Toggle/Toggle.module.scss +11 -10
- package/src/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss +3 -1
- package/src/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss +2 -2
- package/src/components/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss +1 -1
- package/src/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss +1 -1
- package/src/components/Icon/Icon.module.scss +5 -1
- package/src/components/Icon/Icon.tsx +1 -0
- package/src/components/Layout/ContentHeader/ContentHeader.module.scss +53 -1
- package/src/components/Layout/ContentHeader/ContentHeader.tsx +82 -6
- package/src/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss +1 -1
- package/src/components/Link/Link.tsx +1 -0
- package/src/components/Notifications/Alert/AlertItem/AlertItem.module.scss +9 -9
- package/src/components/Notifications/Banner/Banner.module.scss +1 -1
- package/src/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss +2 -2
- package/src/components/Notifications/Dialog/DialogActions/DialogActions.tsx +1 -0
- package/src/components/Notifications/Dialog/DialogTitle/DialogTitle.module.scss +1 -1
- package/src/components/Notifications/DiscardChangesModal/DiscardChangesDialog/DiscardChangesDialog.tsx +3 -0
- package/src/components/Notifications/SideSheet/SideSheet.module.scss +2 -1
- package/src/components/Pagination/Pagination.module.scss +7 -5
- package/src/components/Pagination/Pagination.tsx +3 -1
- package/src/components/Tabs/Tab.tsx +1 -0
- package/src/components/Tabs/TabButton.module.scss +5 -3
- package/src/components/Tabs/TabButton.tsx +1 -1
- package/src/components/Tabs/Tabs.tsx +6 -2
- package/src/components/Tag/RemoveButton.module.scss +1 -1
- package/src/components/Tag/Tag.module.scss +1 -3
- package/src/components/Tag/Tag.tsx +1 -1
- package/src/components/Tooltip/Tooltip.module.scss +4 -4
- package/src/components/Tooltip/Tooltip.tsx +3 -1
- package/src/components/Typography/Typography.module.scss +1 -1
- package/src/components/Typography/Typography.tsx +3 -2
- package/src/components/_BaseStyling_/BaseStyling.tsx +25 -7
- package/src/components/admin/layout/LeftNav/LeftNav.interfaces.ts +30 -0
- package/src/components/admin/layout/LeftNav/LeftNav.module.scss +52 -0
- package/src/components/admin/layout/LeftNav/LeftNav.tsx +81 -0
- package/src/components/admin/layout/LeftNav/LeftNavItem/ButtonLeftNavItem.tsx +153 -0
- package/src/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.interface.ts +27 -0
- package/src/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.module.scss +217 -0
- package/src/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.tsx +34 -0
- package/src/components/admin/layout/LeftNav/LeftNavItem/LinkLeftNavItem.tsx +105 -0
- package/src/components/admin/layout/LeftNav/LeftNavItem/useKeyboardNavigation.ts +64 -0
- package/src/components/admin/layout/LeftNav/useRefItems.ts +280 -0
- package/src/components/miscellaneous/IdentityProviderButton.tsx +4 -1
- package/src/components/withReadOnly.tsx +3 -3
- package/src/font/icomoon.eot +0 -0
- package/src/font/icomoon.svg +1 -0
- package/src/font/icomoon.ttf +0 -0
- package/src/font/icomoon.woff +0 -0
- package/src/font/selection.json +1 -1
- package/src/hooks/useDebouncedCallback.tsx +2 -0
- package/src/hooks/useRepeatFocus.tsx +9 -3
- package/src/index.ts +6 -1
- package/src/mixins.module.scss +34 -1
- package/src/util/helper.tsx +12 -8
- package/src/variables.scss +11 -0
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default, { useMemo } from 'react';
|
|
2
2
|
import { Typography } from '../../Typography/Typography.esm.js';
|
|
3
3
|
import classes from './ContentHeader.module.scss.esm.js';
|
|
4
|
+
import { IconButton } from '../../Button/IconButton.esm.js';
|
|
5
|
+
import { Icons, Icon } from '../../Icon/Icon.esm.js';
|
|
6
|
+
import { Tag } from '../../Tag/Tag.esm.js';
|
|
7
|
+
import { TextEllipsis } from '../../TextEllipsis/TextEllipsis.esm.js';
|
|
4
8
|
|
|
5
9
|
/*
|
|
6
10
|
* Copyright 2022 OneWelcome B.V.
|
|
@@ -17,14 +21,38 @@ import classes from './ContentHeader.module.scss.esm.js';
|
|
|
17
21
|
* See the License for the specific language governing permissions and
|
|
18
22
|
* limitations under the License.
|
|
19
23
|
*/
|
|
20
|
-
const ContentHeaderComponent = ({ title, children, buttons, collapsed, subtitle, ...rest }) => {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
const ContentHeaderComponent = ({ title, children, buttons, collapsed, subtitle, navigation, tags, error, errorMessage, errorTagText, ...rest }) => {
|
|
25
|
+
const errorTag = (React__default.createElement(Tag, { icon: Icons.Forbidden, backgroundColor: "var(--color-red50)", color: "var(--color-red900)" }, errorTagText || "Blocked"));
|
|
26
|
+
const getTags = () => tags !== null && tags !== void 0 ? tags : [];
|
|
27
|
+
const renderTags = useMemo(() => {
|
|
28
|
+
if (error && collapsed) {
|
|
29
|
+
return [errorTag, ...getTags().filter(tag => tag.props.variant !== "enabled")];
|
|
30
|
+
}
|
|
31
|
+
else if (error) {
|
|
32
|
+
return getTags().filter(tag => tag.props.variant !== "enabled");
|
|
33
|
+
}
|
|
34
|
+
return getTags();
|
|
35
|
+
}, [tags, error, collapsed]);
|
|
36
|
+
return (React__default.createElement("div", { className: classes["header-background-color"] },
|
|
37
|
+
React__default.createElement("div", { className: `${classes["header"]} ${rest.className} ${collapsed ? classes["collapsed-header"] : ""}`, ...rest },
|
|
38
|
+
React__default.createElement("div", null,
|
|
39
|
+
navigation && !collapsed && (React__default.createElement(IconButton, { onClick: () => {
|
|
40
|
+
navigation.navigateFN(-1);
|
|
41
|
+
}, className: classes["back-arrow"], iconSize: "s" },
|
|
42
|
+
React__default.createElement(Icon, { icon: Icons.ArrowLeft }),
|
|
43
|
+
React__default.createElement("span", { className: classes["back-text"] }, navigation.displayText ? navigation.displayText : "Back"))),
|
|
44
|
+
React__default.createElement(Typography, { className: classes["header-text"], variant: "h1" },
|
|
45
|
+
navigation && collapsed && (React__default.createElement(IconButton, { onClick: () => {
|
|
46
|
+
navigation.navigateFN(-1);
|
|
47
|
+
}, className: classes["back-arrow"] },
|
|
48
|
+
React__default.createElement(Icon, { icon: Icons.ArrowLeft }))),
|
|
49
|
+
React__default.createElement(TextEllipsis, { "data-testid": "content-header-title" }, title),
|
|
50
|
+
React__default.createElement("span", { className: classes["header-tags"] }, renderTags.map((tag, index) => (React__default.createElement(React__default.Fragment, { key: tag.key || index }, tag))))),
|
|
51
|
+
subtitle && !error && (React__default.createElement(Typography, { className: `${classes["header-subtitle"]} ${collapsed ? classes["hide-text"] : ""}`, variant: "h4" }, subtitle)),
|
|
52
|
+
React__default.createElement(Typography, { className: `${collapsed ? classes["hide-text"] : ""}`, variant: "body", spacing: { margin: 0 } }, error ? (React__default.createElement(React__default.Fragment, null,
|
|
53
|
+
errorTag,
|
|
54
|
+
React__default.createElement("span", { className: classes["error-text"] }, errorMessage))) : (children))),
|
|
55
|
+
buttons && React__default.createElement("div", { className: classes["buttons-wrapper"] }, buttons))));
|
|
28
56
|
};
|
|
29
57
|
const ContentHeader = ContentHeaderComponent;
|
|
30
58
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentHeader.esm.js","sources":["../../../../../../src/components/Layout/ContentHeader/ContentHeader.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, { HTMLAttributes, ReactElement } from \"react\";\nimport { Button, Props as ButtonProps } from \"../../Button/Button\";\nimport { Typography } from \"../../Typography/Typography\";\n\nimport classes from \"./ContentHeader.module.scss\";\n\nexport interface Props extends HTMLAttributes<HTMLDivElement> {\n title: string;\n subtitle?: string;\n buttons?: ReactElement<ButtonProps, typeof Button> | ReactElement<ButtonProps, typeof Button>[];\n collapsed?: boolean;\n}\n\nexport const ContentHeaderComponent = ({\n title,\n children,\n buttons,\n collapsed,\n subtitle,\n ...rest\n}: Props) => {\n return (\n <div className={classes[\"header-background-color\"]}>\n <div\n className={`${classes[\"header\"]} ${rest.className} ${collapsed ? classes[\"collapsed-header\"] : \"\"}`}\n {...rest}\n >\n <div>\n <Typography className={classes[\"header-text\"]} variant={\"h1\"}>\n {title}\n </Typography>\n {subtitle && (\n <Typography\n className={`${classes[\"header-subtitle\"]} ${collapsed ? classes[\"hide-text\"] : \"\"}`}\n variant
|
|
1
|
+
{"version":3,"file":"ContentHeader.esm.js","sources":["../../../../../../src/components/Layout/ContentHeader/ContentHeader.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, { HTMLAttributes, ReactElement, useMemo } from \"react\";\nimport { Button, Props as ButtonProps } from \"../../Button/Button\";\nimport { Typography } from \"../../Typography/Typography\";\n\nimport classes from \"./ContentHeader.module.scss\";\nimport { IconButton } from \"../../Button/IconButton\";\nimport { Icon, Icons } from \"../../Icon/Icon\";\nimport { NavigateFunction } from \"react-router-dom\";\nimport { Tag, Props as TagProps } from \"../../Tag/Tag\";\nimport { TextEllipsis } from \"../../TextEllipsis/TextEllipsis\";\n\nexport interface ContentHeaderNavigationProps {\n displayText?: string;\n navigateFN: NavigateFunction;\n}\n\nexport interface Props extends HTMLAttributes<HTMLDivElement> {\n title: string;\n /**\n * @deprecated pass text as children\n */\n subtitle?: string;\n buttons?: ReactElement<ButtonProps, typeof Button> | ReactElement<ButtonProps, typeof Button>[];\n collapsed?: boolean;\n navigation?: ContentHeaderNavigationProps;\n tags?: ReactElement<TagProps, typeof Tag>[];\n error?: boolean;\n errorMessage?: string;\n errorTagText?: string;\n}\n\nexport const ContentHeaderComponent = ({\n title,\n children,\n buttons,\n collapsed,\n subtitle,\n navigation,\n tags,\n error,\n errorMessage,\n errorTagText,\n ...rest\n}: Props) => {\n const errorTag = (\n <Tag icon={Icons.Forbidden} backgroundColor=\"var(--color-red50)\" color=\"var(--color-red900)\">\n {errorTagText || \"Blocked\"}\n </Tag>\n );\n\n const getTags = () => tags ?? [];\n\n const renderTags = useMemo(() => {\n if (error && collapsed) {\n return [errorTag, ...getTags().filter(tag => tag.props.variant !== \"enabled\")];\n } else if (error) {\n return getTags().filter(tag => tag.props.variant !== \"enabled\");\n }\n return getTags();\n }, [tags, error, collapsed]);\n\n return (\n <div className={classes[\"header-background-color\"]}>\n <div\n className={`${classes[\"header\"]} ${rest.className} ${collapsed ? classes[\"collapsed-header\"] : \"\"}`}\n {...rest}\n >\n <div>\n {navigation && !collapsed && (\n <IconButton\n onClick={() => {\n navigation.navigateFN(-1);\n }}\n className={classes[\"back-arrow\"]}\n iconSize=\"s\"\n >\n <Icon icon={Icons.ArrowLeft} />\n <span className={classes[\"back-text\"]}>\n {navigation.displayText ? navigation.displayText : \"Back\"}\n </span>\n </IconButton>\n )}\n <Typography className={classes[\"header-text\"]} variant={\"h1\"}>\n {navigation && collapsed && (\n <IconButton\n onClick={() => {\n navigation.navigateFN(-1);\n }}\n className={classes[\"back-arrow\"]}\n >\n <Icon icon={Icons.ArrowLeft} />\n </IconButton>\n )}\n <TextEllipsis data-testid={\"content-header-title\"}>{title}</TextEllipsis>\n <span className={classes[\"header-tags\"]}>\n {renderTags.map((tag, index) => (\n <React.Fragment key={tag.key || index}>{tag}</React.Fragment>\n ))}\n </span>\n </Typography>\n {subtitle && !error && (\n <Typography\n className={`${classes[\"header-subtitle\"]} ${collapsed ? classes[\"hide-text\"] : \"\"}`}\n variant=\"h4\"\n >\n {subtitle}\n </Typography>\n )}\n <Typography\n className={`${collapsed ? classes[\"hide-text\"] : \"\"}`}\n variant=\"body\"\n spacing={{ margin: 0 }}\n >\n {error ? (\n <>\n {errorTag}\n <span className={classes[\"error-text\"]}>{errorMessage}</span>\n </>\n ) : (\n children\n )}\n </Typography>\n </div>\n {buttons && <div className={classes[\"buttons-wrapper\"]}>{buttons}</div>}\n </div>\n </div>\n );\n};\n\nexport const ContentHeader = ContentHeaderComponent;\n"],"names":["React"],"mappings":";;;;;;;;AAAA;;;;;;;;;;;;;;AAcG;AAiCI,MAAM,sBAAsB,GAAG,CAAC,EACrC,KAAK,EACL,QAAQ,EACR,OAAO,EACP,SAAS,EACT,QAAQ,EACR,UAAU,EACV,IAAI,EACJ,KAAK,EACL,YAAY,EACZ,YAAY,EACZ,GAAG,IAAI,EACD,KAAI;IACV,MAAM,QAAQ,IACZA,cAAC,CAAA,aAAA,CAAA,GAAG,IAAC,IAAI,EAAE,KAAK,CAAC,SAAS,EAAE,eAAe,EAAC,oBAAoB,EAAC,KAAK,EAAC,qBAAqB,EACzF,EAAA,YAAY,IAAI,SAAS,CACtB,CACP,CAAC;AAEF,IAAA,MAAM,OAAO,GAAG,MAAM,IAAI,KAAJ,IAAA,IAAA,IAAI,KAAJ,KAAA,CAAA,GAAA,IAAI,GAAI,EAAE,CAAC;AAEjC,IAAA,MAAM,UAAU,GAAG,OAAO,CAAC,MAAK;AAC9B,QAAA,IAAI,KAAK,IAAI,SAAS,EAAE;YACtB,OAAO,CAAC,QAAQ,EAAE,GAAG,OAAO,EAAE,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,CAAC,KAAK,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC;SAChF;aAAM,IAAI,KAAK,EAAE;AAChB,YAAA,OAAO,OAAO,EAAE,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,CAAC,KAAK,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC;SACjE;QACD,OAAO,OAAO,EAAE,CAAC;KAClB,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC;AAE7B,IAAA,QACEA,cAAK,CAAA,aAAA,CAAA,KAAA,EAAA,EAAA,SAAS,EAAE,OAAO,CAAC,yBAAyB,CAAC,EAAA;QAChDA,cACE,CAAA,aAAA,CAAA,KAAA,EAAA,EAAA,SAAS,EAAE,CAAA,EAAG,OAAO,CAAC,QAAQ,CAAC,CAAI,CAAA,EAAA,IAAI,CAAC,SAAS,CAAI,CAAA,EAAA,SAAS,GAAG,OAAO,CAAC,kBAAkB,CAAC,GAAG,EAAE,CAAE,CAAA,EAAA,GAC/F,IAAI,EAAA;AAER,YAAAA,cAAA,CAAA,aAAA,CAAA,KAAA,EAAA,IAAA;gBACG,UAAU,IAAI,CAAC,SAAS,KACvBA,cAAC,CAAA,aAAA,CAAA,UAAU,EACT,EAAA,OAAO,EAAE,MAAK;AACZ,wBAAA,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;qBAC3B,EACD,SAAS,EAAE,OAAO,CAAC,YAAY,CAAC,EAChC,QAAQ,EAAC,GAAG,EAAA;AAEZ,oBAAAA,cAAA,CAAA,aAAA,CAAC,IAAI,EAAC,EAAA,IAAI,EAAE,KAAK,CAAC,SAAS,EAAI,CAAA;oBAC/BA,cAAM,CAAA,aAAA,CAAA,MAAA,EAAA,EAAA,SAAS,EAAE,OAAO,CAAC,WAAW,CAAC,EAAA,EAClC,UAAU,CAAC,WAAW,GAAG,UAAU,CAAC,WAAW,GAAG,MAAM,CACpD,CACI,CACd;gBACDA,cAAC,CAAA,aAAA,CAAA,UAAU,EAAC,EAAA,SAAS,EAAE,OAAO,CAAC,aAAa,CAAC,EAAE,OAAO,EAAE,IAAI,EAAA;oBACzD,UAAU,IAAI,SAAS,KACtBA,cAAA,CAAA,aAAA,CAAC,UAAU,EACT,EAAA,OAAO,EAAE,MAAK;AACZ,4BAAA,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;AAC5B,yBAAC,EACD,SAAS,EAAE,OAAO,CAAC,YAAY,CAAC,EAAA;wBAEhCA,cAAC,CAAA,aAAA,CAAA,IAAI,IAAC,IAAI,EAAE,KAAK,CAAC,SAAS,EAAI,CAAA,CACpB,CACd;AACD,oBAAAA,cAAA,CAAA,aAAA,CAAC,YAAY,EAAA,EAAA,aAAA,EAAc,sBAAsB,EAAA,EAAG,KAAK,CAAgB;AACzE,oBAAAA,cAAA,CAAA,aAAA,CAAA,MAAA,EAAA,EAAM,SAAS,EAAE,OAAO,CAAC,aAAa,CAAC,EACpC,EAAA,UAAU,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,KAAK,MACzBA,cAAA,CAAA,aAAA,CAACA,cAAK,CAAC,QAAQ,EAAC,EAAA,GAAG,EAAE,GAAG,CAAC,GAAG,IAAI,KAAK,EAAG,EAAA,GAAG,CAAkB,CAC9D,CAAC,CACG,CACI;AACZ,gBAAA,QAAQ,IAAI,CAAC,KAAK,KACjBA,6BAAC,UAAU,EAAA,EACT,SAAS,EAAE,GAAG,OAAO,CAAC,iBAAiB,CAAC,IAAI,SAAS,GAAG,OAAO,CAAC,WAAW,CAAC,GAAG,EAAE,CAAE,CAAA,EACnF,OAAO,EAAC,IAAI,EAEX,EAAA,QAAQ,CACE,CACd;AACD,gBAAAA,cAAA,CAAA,aAAA,CAAC,UAAU,EAAA,EACT,SAAS,EAAE,GAAG,SAAS,GAAG,OAAO,CAAC,WAAW,CAAC,GAAG,EAAE,CAAE,CAAA,EACrD,OAAO,EAAC,MAAM,EACd,OAAO,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,EAErB,EAAA,KAAK,IACJA,cAAA,CAAA,aAAA,CAAAA,cAAA,CAAA,QAAA,EAAA,IAAA;oBACG,QAAQ;AACT,oBAAAA,cAAA,CAAA,aAAA,CAAA,MAAA,EAAA,EAAM,SAAS,EAAE,OAAO,CAAC,YAAY,CAAC,IAAG,YAAY,CAAQ,CAC5D,KAEH,QAAQ,CACT,CACU,CACT;AACL,YAAA,OAAO,IAAIA,cAAA,CAAA,aAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAE,OAAO,CAAC,iBAAiB,CAAC,EAAA,EAAG,OAAO,CAAO,CACnE,CACF,EACN;AACJ,EAAE;AAEK,MAAM,aAAa,GAAG;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import styleInject from '../../node_modules/style-inject/dist/style-inject.es.esm.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var classes = {"header":"
|
|
3
|
+
var css_248z = ".ContentHeader_header_Pphm5{align-items:flex-end;display:flex;gap:2rem;justify-content:space-between;max-width:105rem;padding:2rem;-webkit-transition:.5s;transition:.5s;z-index:1}.ContentHeader_header_Pphm5.ContentHeader_collapsed-header_Pphm5{align-items:center;padding:1rem 2rem;-webkit-transition:.5s;transition:.5s}.ContentHeader_header-background-color_Pphm5{background-color:var(--color-blue-grey25)}.ContentHeader_header_Pphm5 button.ContentHeader_back-arrow_Pphm5{display:block;gap:.5rem;height:1rem;width:1rem}.ContentHeader_hide-text_Pphm5{display:none}.ContentHeader_header-text_Pphm5{align-items:center;color:var(--color-blue-grey900);display:flex;font-weight:500;line-height:1.25;margin:0;max-width:65vw}@media screen and (max-width:900px){.ContentHeader_header-text_Pphm5{max-width:unset}.ContentHeader_header-text_Pphm5 div{text-wrap:wrap}}.ContentHeader_header-text_Pphm5 div{align-self:center;vertical-align:middle}.ContentHeader_header-text_Pphm5 button.ContentHeader_back-arrow_Pphm5{height:2.5rem;margin-right:.5rem;width:2.5rem}.ContentHeader_header-tags_Pphm5{display:flex;gap:.5rem;margin-left:1rem}.ContentHeader_header-subtitle_Pphm5{color:var(--color-blue-grey400);font-weight:500}.ContentHeader_back-text_Pphm5{font-size:.875rem;font-weight:400;margin-left:.5rem}.ContentHeader_error-text_Pphm5{color:var(--color-red500);margin-left:.5rem;vertical-align:middle}.ContentHeader_buttons-wrapper_Pphm5{display:flex;flex-shrink:0;gap:1rem;justify-content:flex-end}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNvbnRlbnRIZWFkZXIubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsNEJBRUUsb0JBQXFCLENBRHJCLFlBQWEsQ0FHYixRQUFTLENBRFQsNkJBQThCLENBTTlCLGdCQUFpQixDQUpqQixZQUFhLENBRWIsc0JBQXdCLENBQ3hCLGNBQWdCLENBRmhCLFNBSUYsQ0FDQSxpRUFJRSxrQkFBbUIsQ0FIbkIsaUJBQTRCLENBQzVCLHNCQUF3QixDQUN4QixjQUVGLENBQ0EsNkNBQ0UseUNBQ0YsQ0FDQSxrRUFHRSxhQUFjLENBQ2QsU0FBVyxDQUZYLFdBQVksQ0FEWixVQUlGLENBRUEsK0JBQ0UsWUFDRixDQUVBLGlDQU1FLGtCQUFtQixDQUhuQiwrQkFBZ0MsQ0FFaEMsWUFBYSxDQUhiLGVBQWdCLENBRWhCLGdCQUFpQixDQUhqQixRQUFTLENBTVQsY0FDRixDQUNBLG9DQUNFLGlDQUNFLGVBQ0YsQ0FDQSxxQ0FDRSxjQUNGLENBQ0YsQ0FDQSxxQ0FFRSxpQkFBa0IsQ0FEbEIscUJBRUYsQ0FDQSx1RUFHRSxhQUFjLENBRmQsa0JBQW9CLENBQ3BCLFlBRUYsQ0FFQSxpQ0FDRSxZQUFhLENBRWIsU0FBVyxDQURYLGdCQUVGLENBRUEscUNBQ0UsK0JBQWdDLENBQ2hDLGVBQ0YsQ0FFQSwrQkFDRSxpQkFBbUIsQ0FDbkIsZUFBZ0IsQ0FDaEIsaUJBQ0YsQ0FFQSxnQ0FDRSx5QkFBMEIsQ0FFMUIsaUJBQW1CLENBRG5CLHFCQUVGLENBRUEscUNBQ0UsWUFBYSxDQUViLGFBQWMsQ0FDZCxRQUFTLENBRlQsd0JBR0YiLCJmaWxlIjoiQ29udGVudEhlYWRlci5tb2R1bGUuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5oZWFkZXIge1xuICBkaXNwbGF5OiBmbGV4O1xuICBhbGlnbi1pdGVtczogZmxleC1lbmQ7XG4gIGp1c3RpZnktY29udGVudDogc3BhY2UtYmV0d2VlbjtcbiAgZ2FwOiAycmVtO1xuICBwYWRkaW5nOiAycmVtO1xuICB6LWluZGV4OiAxO1xuICAtd2Via2l0LXRyYW5zaXRpb246IDAuNXM7XG4gIHRyYW5zaXRpb246IDAuNXM7XG4gIG1heC13aWR0aDogMTA1cmVtO1xufVxuLmhlYWRlci5jb2xsYXBzZWQtaGVhZGVyIHtcbiAgcGFkZGluZzogMXJlbSAycmVtIDFyZW0gMnJlbTtcbiAgLXdlYmtpdC10cmFuc2l0aW9uOiAwLjVzO1xuICB0cmFuc2l0aW9uOiAwLjVzO1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xufVxuLmhlYWRlci1iYWNrZ3JvdW5kLWNvbG9yIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogdmFyKC0tY29sb3ItYmx1ZS1ncmV5MjUpO1xufVxuLmhlYWRlciBidXR0b24uYmFjay1hcnJvdyB7XG4gIHdpZHRoOiAxcmVtO1xuICBoZWlnaHQ6IDFyZW07XG4gIGRpc3BsYXk6IGJsb2NrO1xuICBnYXA6IDAuNXJlbTtcbn1cblxuLmhpZGUtdGV4dCB7XG4gIGRpc3BsYXk6IG5vbmU7XG59XG5cbi5oZWFkZXItdGV4dCB7XG4gIG1hcmdpbjogMDtcbiAgZm9udC13ZWlnaHQ6IDUwMDtcbiAgY29sb3I6IHZhcigtLWNvbG9yLWJsdWUtZ3JleTkwMCk7XG4gIGxpbmUtaGVpZ2h0OiAxLjI1O1xuICBkaXNwbGF5OiBmbGV4O1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xuICBtYXgtd2lkdGg6IDY1dnc7XG59XG5AbWVkaWEgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiA5MDBweCkge1xuICAuaGVhZGVyLXRleHQge1xuICAgIG1heC13aWR0aDogdW5zZXQ7XG4gIH1cbiAgLmhlYWRlci10ZXh0IGRpdiB7XG4gICAgdGV4dC13cmFwOiB3cmFwO1xuICB9XG59XG4uaGVhZGVyLXRleHQgZGl2IHtcbiAgdmVydGljYWwtYWxpZ246IG1pZGRsZTtcbiAgYWxpZ24tc2VsZjogY2VudGVyO1xufVxuLmhlYWRlci10ZXh0IGJ1dHRvbi5iYWNrLWFycm93IHtcbiAgbWFyZ2luLXJpZ2h0OiAwLjVyZW07XG4gIHdpZHRoOiAyLjVyZW07XG4gIGhlaWdodDogMi41cmVtO1xufVxuXG4uaGVhZGVyLXRhZ3Mge1xuICBkaXNwbGF5OiBmbGV4O1xuICBtYXJnaW4tbGVmdDogMXJlbTtcbiAgZ2FwOiAwLjVyZW07XG59XG5cbi5oZWFkZXItc3VidGl0bGUge1xuICBjb2xvcjogdmFyKC0tY29sb3ItYmx1ZS1ncmV5NDAwKTtcbiAgZm9udC13ZWlnaHQ6IDUwMDtcbn1cblxuLmJhY2stdGV4dCB7XG4gIGZvbnQtc2l6ZTogMC44NzVyZW07XG4gIGZvbnQtd2VpZ2h0OiA0MDA7XG4gIG1hcmdpbi1sZWZ0OiAwLjVyZW07XG59XG5cbi5lcnJvci10ZXh0IHtcbiAgY29sb3I6IHZhcigtLWNvbG9yLXJlZDUwMCk7XG4gIHZlcnRpY2FsLWFsaWduOiBtaWRkbGU7XG4gIG1hcmdpbi1sZWZ0OiAwLjVyZW07XG59XG5cbi5idXR0b25zLXdyYXBwZXIge1xuICBkaXNwbGF5OiBmbGV4O1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGZsZXgtZW5kO1xuICBmbGV4LXNocmluazogMDtcbiAgZ2FwOiAxcmVtO1xufSJdfQ== */";
|
|
4
|
+
var classes = {"header":"ContentHeader_header_Pphm5","collapsed-header":"ContentHeader_collapsed-header_Pphm5","header-background-color":"ContentHeader_header-background-color_Pphm5","back-arrow":"ContentHeader_back-arrow_Pphm5","hide-text":"ContentHeader_hide-text_Pphm5","header-text":"ContentHeader_header-text_Pphm5","header-tags":"ContentHeader_header-tags_Pphm5","header-subtitle":"ContentHeader_header-subtitle_Pphm5","back-text":"ContentHeader_back-text_Pphm5","error-text":"ContentHeader_error-text_Pphm5","buttons-wrapper":"ContentHeader_buttons-wrapper_Pphm5"};
|
|
5
5
|
styleInject(css_248z);
|
|
6
6
|
|
|
7
7
|
export { classes as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import classes from './FormSection.module.scss.esm.js';
|
|
3
3
|
import { Typography } from '../../../../Typography/Typography.esm.js';
|
|
4
4
|
|
|
@@ -18,13 +18,13 @@ import { Typography } from '../../../../Typography/Typography.esm.js';
|
|
|
18
18
|
* limitations under the License.
|
|
19
19
|
*/
|
|
20
20
|
const FormSectionComponent = ({ header, subtext, children, ...rest }, ref) => {
|
|
21
|
-
return (
|
|
22
|
-
header && (
|
|
23
|
-
|
|
24
|
-
subtext && (
|
|
21
|
+
return (React__default.createElement("div", { ...rest, className: classes["section-wrapper"], ref: ref },
|
|
22
|
+
header && (React__default.createElement("div", { className: classes["section-header-wrapper"] },
|
|
23
|
+
React__default.createElement(Typography, { variant: "h4", className: classes["section-header"], spacing: { marginBottom: 0 } }, header),
|
|
24
|
+
subtext && (React__default.createElement(Typography, { variant: "sub-text", spacing: { marginBottom: 0 } }, subtext)))),
|
|
25
25
|
children));
|
|
26
26
|
};
|
|
27
|
-
const FormSection =
|
|
27
|
+
const FormSection = React__default.forwardRef(FormSectionComponent);
|
|
28
28
|
|
|
29
29
|
export { FormSection, FormSectionComponent };
|
|
30
30
|
//# sourceMappingURL=FormSection.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormSection.esm.js","sources":["../../../../../../../../src/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.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, { ComponentPropsWithRef, ForwardRefRenderFunction } from \"react\";\nimport classes from \"./FormSection.module.scss\";\nimport { Typography } from \"../../../../Typography/Typography\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n header?: string;\n subtext?: string;\n}\n\nexport const FormSectionComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { header, subtext, children, ...rest },\n ref\n) => {\n return (\n <div {...rest} className={classes[\"section-wrapper\"]} ref={ref}>\n {header && (\n <div className={classes[\"section-header-wrapper\"]}>\n <Typography\n variant=\"h4\"\n className={classes[\"section-header\"]}\n spacing={{ marginBottom: 0 }}\n >\n {header}\n </Typography>\n {subtext && (\n <Typography variant=\"sub-text\" spacing={{ marginBottom: 0 }}>\n {subtext}\n </Typography>\n )}\n </div>\n )}\n {children}\n </div>\n );\n};\n\nexport const FormSection = React.forwardRef(FormSectionComponent);\n"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;AAcG;AAWU,MAAA,oBAAoB,GAAoD,CACnF,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EACtC,GAAG,KACD;AACF,IAAA,
|
|
1
|
+
{"version":3,"file":"FormSection.esm.js","sources":["../../../../../../../../src/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.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, { ComponentPropsWithRef, ForwardRefRenderFunction } from \"react\";\nimport classes from \"./FormSection.module.scss\";\nimport { Typography } from \"../../../../Typography/Typography\";\n\nexport interface Props extends ComponentPropsWithRef<\"div\"> {\n header?: string;\n subtext?: string;\n}\n\nexport const FormSectionComponent: ForwardRefRenderFunction<HTMLDivElement, Props> = (\n { header, subtext, children, ...rest },\n ref\n) => {\n return (\n <div {...rest} className={classes[\"section-wrapper\"]} ref={ref}>\n {header && (\n <div className={classes[\"section-header-wrapper\"]}>\n <Typography\n variant=\"h4\"\n className={classes[\"section-header\"]}\n spacing={{ marginBottom: 0 }}\n >\n {header}\n </Typography>\n {subtext && (\n <Typography variant=\"sub-text\" spacing={{ marginBottom: 0 }}>\n {subtext}\n </Typography>\n )}\n </div>\n )}\n {children}\n </div>\n );\n};\n\nexport const FormSection = React.forwardRef(FormSectionComponent);\n"],"names":["React"],"mappings":";;;;AAAA;;;;;;;;;;;;;;AAcG;AAWU,MAAA,oBAAoB,GAAoD,CACnF,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EACtC,GAAG,KACD;AACF,IAAA,QACEA,cAAA,CAAA,aAAA,CAAA,KAAA,EAAA,EAAA,GAAS,IAAI,EAAE,SAAS,EAAE,OAAO,CAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,GAAG,EAAA;QAC3D,MAAM,KACLA,cAAK,CAAA,aAAA,CAAA,KAAA,EAAA,EAAA,SAAS,EAAE,OAAO,CAAC,wBAAwB,CAAC,EAAA;YAC/CA,cAAC,CAAA,aAAA,CAAA,UAAU,IACT,OAAO,EAAC,IAAI,EACZ,SAAS,EAAE,OAAO,CAAC,gBAAgB,CAAC,EACpC,OAAO,EAAE,EAAE,YAAY,EAAE,CAAC,EAAE,EAE3B,EAAA,MAAM,CACI;YACZ,OAAO,KACNA,cAAC,CAAA,aAAA,CAAA,UAAU,IAAC,OAAO,EAAC,UAAU,EAAC,OAAO,EAAE,EAAE,YAAY,EAAE,CAAC,EAAE,IACxD,OAAO,CACG,CACd,CACG,CACP;QACA,QAAQ,CACL,EACN;AACJ,EAAE;AAEW,MAAA,WAAW,GAAGA,cAAK,CAAC,UAAU,CAAC,oBAAoB;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import styleInject from '../../../../node_modules/style-inject/dist/style-inject.es.esm.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".FormSection_section-
|
|
4
|
-
var classes = {"section-wrapper":"FormSection_section-
|
|
3
|
+
var css_248z = ".FormSection_section-wrapper_Pphm5{padding-bottom:4rem}.FormSection_section-header-wrapper_Pphm5{margin-bottom:1rem}.FormSection_section-header_Pphm5{color:var(--color-primary500);line-height:1.6}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkZvcm1TZWN0aW9uLm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLG1DQUNFLG1CQUNGLENBRUEsMENBQ0Usa0JBQ0YsQ0FFQSxrQ0FFRSw2QkFBOEIsQ0FEOUIsZUFFRiIsImZpbGUiOiJGb3JtU2VjdGlvbi5tb2R1bGUuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5zZWN0aW9uLXdyYXBwZXIge1xuICBwYWRkaW5nLWJvdHRvbTogNHJlbTtcbn1cblxuLnNlY3Rpb24taGVhZGVyLXdyYXBwZXIge1xuICBtYXJnaW4tYm90dG9tOiAxcmVtO1xufVxuXG4uc2VjdGlvbi1oZWFkZXIge1xuICBsaW5lLWhlaWdodDogMS42O1xuICBjb2xvcjogdmFyKC0tY29sb3ItcHJpbWFyeTUwMCk7XG59Il19 */";
|
|
4
|
+
var classes = {"section-wrapper":"FormSection_section-wrapper_Pphm5","section-header-wrapper":"FormSection_section-header-wrapper_Pphm5","section-header":"FormSection_section-header_Pphm5"};
|
|
5
5
|
styleInject(css_248z);
|
|
6
6
|
|
|
7
7
|
export { classes as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import classes from './FormStepper.module.scss.esm.js';
|
|
3
3
|
import { Stepper } from '../../../../Stepper/Stepper.esm.js';
|
|
4
4
|
|
|
@@ -36,8 +36,8 @@ const FormStepper = ({ steps, direction, textPosition, ...rest }) => {
|
|
|
36
36
|
}
|
|
37
37
|
return step;
|
|
38
38
|
});
|
|
39
|
-
return (
|
|
40
|
-
|
|
39
|
+
return (React__default.createElement("div", { className: classes["stepper"] },
|
|
40
|
+
React__default.createElement(Stepper, { ...rest, steps: stepper, direction: direction, textPosition: textPosition })));
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
export { FormStepper };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormStepper.esm.js","sources":["../../../../../../../../src/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.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 classes from \"./FormStepper.module.scss\";\nimport { Stepper, Props as StepperProps } from \"../../../../Stepper/Stepper\";\nimport { Props as StepProps } from \"../../../../Stepper/Step\";\n\nexport interface FormStepProps extends StepProps {\n targetScrollViewId?: string;\n}\n\nexport interface Props extends StepperProps {\n steps: FormStepProps[];\n}\n\nexport const FormStepper = ({ steps, direction, textPosition, ...rest }: Props) => {\n const stepper = steps.map(step => {\n const { targetScrollViewId, ...stepRest } = step;\n\n if (targetScrollViewId && !step.onClick) {\n return {\n ...stepRest,\n onClick: () => {\n try {\n document.getElementById(targetScrollViewId)?.scrollIntoView();\n } catch (e) {\n throw new Error(\"Target element not found in the DOM.\");\n }\n }\n };\n }\n return step;\n });\n\n return (\n <div className={classes[\"stepper\"]}>\n <Stepper {...rest} steps={stepper} direction={direction} textPosition={textPosition} />\n </div>\n );\n};\n"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;AAcG;AAeU,MAAA,WAAW,GAAG,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,GAAG,IAAI,EAAS,KAAI;IAChF,MAAM,OAAO,GAAG,KAAK,CAAC,GAAG,CAAC,IAAI,IAAG;QAC/B,MAAM,EAAE,kBAAkB,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC;AAEjD,QAAA,IAAI,kBAAkB,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACvC,OAAO;AACL,gBAAA,GAAG,QAAQ;gBACX,OAAO,EAAE,MAAK;;AACZ,oBAAA,IAAI;wBACF,CAAA,EAAA,GAAA,QAAQ,CAAC,cAAc,CAAC,kBAAkB,CAAC,MAAA,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAE,cAAc,EAAE,CAAC;qBAC/D;oBAAC,OAAO,CAAC,EAAE;AACV,wBAAA,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;qBACzD;iBACF;aACF,CAAC;SACH;AACD,QAAA,OAAO,IAAI,CAAC;AACd,KAAC,CAAC,CAAC;AAEH,IAAA,
|
|
1
|
+
{"version":3,"file":"FormStepper.esm.js","sources":["../../../../../../../../src/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.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 classes from \"./FormStepper.module.scss\";\nimport { Stepper, Props as StepperProps } from \"../../../../Stepper/Stepper\";\nimport { Props as StepProps } from \"../../../../Stepper/Step\";\n\nexport interface FormStepProps extends StepProps {\n targetScrollViewId?: string;\n}\n\nexport interface Props extends StepperProps {\n steps: FormStepProps[];\n}\n\nexport const FormStepper = ({ steps, direction, textPosition, ...rest }: Props) => {\n const stepper = steps.map(step => {\n const { targetScrollViewId, ...stepRest } = step;\n\n if (targetScrollViewId && !step.onClick) {\n return {\n ...stepRest,\n onClick: () => {\n try {\n document.getElementById(targetScrollViewId)?.scrollIntoView();\n } catch (e) {\n throw new Error(\"Target element not found in the DOM.\");\n }\n }\n };\n }\n return step;\n });\n\n return (\n <div className={classes[\"stepper\"]}>\n <Stepper {...rest} steps={stepper} direction={direction} textPosition={textPosition} />\n </div>\n );\n};\n"],"names":["React"],"mappings":";;;;AAAA;;;;;;;;;;;;;;AAcG;AAeU,MAAA,WAAW,GAAG,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,GAAG,IAAI,EAAS,KAAI;IAChF,MAAM,OAAO,GAAG,KAAK,CAAC,GAAG,CAAC,IAAI,IAAG;QAC/B,MAAM,EAAE,kBAAkB,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC;AAEjD,QAAA,IAAI,kBAAkB,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACvC,OAAO;AACL,gBAAA,GAAG,QAAQ;gBACX,OAAO,EAAE,MAAK;;AACZ,oBAAA,IAAI;wBACF,CAAA,EAAA,GAAA,QAAQ,CAAC,cAAc,CAAC,kBAAkB,CAAC,MAAA,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAE,cAAc,EAAE,CAAC;qBAC/D;oBAAC,OAAO,CAAC,EAAE;AACV,wBAAA,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;qBACzD;iBACF;aACF,CAAC;SACH;AACD,QAAA,OAAO,IAAI,CAAC;AACd,KAAC,CAAC,CAAC;AAEH,IAAA,QACEA,cAAK,CAAA,aAAA,CAAA,KAAA,EAAA,EAAA,SAAS,EAAE,OAAO,CAAC,SAAS,CAAC,EAAA;AAChC,QAAAA,cAAA,CAAA,aAAA,CAAC,OAAO,EAAK,EAAA,GAAA,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,YAAY,EAAI,CAAA,CACnF,EACN;AACJ;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import styleInject from '../../../../node_modules/style-inject/dist/style-inject.es.esm.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var classes = {"stepper":"
|
|
3
|
+
var css_248z = ".FormStepper_stepper_Pphm5{position:sticky;top:0}.FormStepper_stepper_Pphm5>div:first-child{align-items:flex-start;height:auto;min-height:15rem}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkZvcm1TdGVwcGVyLm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWVBLDJCQUNFLGVBQWdCLENBQ2hCLEtBQ0YsQ0FDQSwyQ0FHRSxzQkFBdUIsQ0FGdkIsV0FBWSxDQUNaLGdCQUVGIiwiZmlsZSI6IkZvcm1TdGVwcGVyLm1vZHVsZS5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIENvcHlyaWdodCAyMDIyIE9uZVdlbGNvbWUgQi5WLlxuICpcbiAqICAgIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiAgICB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiAgICBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgICAgaHR0cDovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wXG4gKlxuICogICAgVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0aW5nLCBzb2Z0d2FyZVxuICogICAgZGlzdHJpYnV0ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIEJBU0lTLFxuICogICAgV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiAgICBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiAgICBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuLnN0ZXBwZXIge1xuICBwb3NpdGlvbjogc3RpY2t5O1xuICB0b3A6IDA7XG59XG4uc3RlcHBlciA+IGRpdjpmaXJzdC1jaGlsZCB7XG4gIGhlaWdodDogYXV0bztcbiAgbWluLWhlaWdodDogMTVyZW07XG4gIGFsaWduLWl0ZW1zOiBmbGV4LXN0YXJ0O1xufSJdfQ== */";
|
|
4
|
+
var classes = {"stepper":"FormStepper_stepper_Pphm5"};
|
|
5
5
|
styleInject(css_248z);
|
|
6
6
|
|
|
7
7
|
export { classes as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import classes from './FormWithStepper.module.scss.esm.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
@@ -17,9 +17,9 @@ import classes from './FormWithStepper.module.scss.esm.js';
|
|
|
17
17
|
* limitations under the License.
|
|
18
18
|
*/
|
|
19
19
|
const FormWithStepper = ({ children, stepper, ...rest }) => {
|
|
20
|
-
return (
|
|
20
|
+
return (React__default.createElement("div", { className: `${classes["content"]} ${rest.className}`, ...rest },
|
|
21
21
|
stepper,
|
|
22
|
-
|
|
22
|
+
React__default.createElement("div", { className: classes["form-section"] }, children)));
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
export { FormWithStepper };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormWithStepper.esm.js","sources":["../../../../../../../src/components/Layout/FormPage/FormWithStepper/FormWithStepper.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, { HTMLAttributes, ReactElement } from \"react\";\nimport { Props as FormStepperProps, FormStepper } from \"./FormStepper/FormStepper\";\nimport classes from \"./FormWithStepper.module.scss\";\n\nexport interface Props extends HTMLAttributes<HTMLDivElement> {\n stepper?: ReactElement<FormStepperProps, typeof FormStepper>;\n}\n\nexport const FormWithStepper = ({ children, stepper, ...rest }: Props) => {\n return (\n <div className={`${classes[\"content\"]} ${rest.className}`} {...rest}>\n {stepper}\n <div className={classes[\"form-section\"]}>{children}</div>\n </div>\n );\n};\n"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;AAcG;AAUI,MAAM,eAAe,GAAG,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,IAAI,EAAS,KAAI;AACvE,IAAA,
|
|
1
|
+
{"version":3,"file":"FormWithStepper.esm.js","sources":["../../../../../../../src/components/Layout/FormPage/FormWithStepper/FormWithStepper.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, { HTMLAttributes, ReactElement } from \"react\";\nimport { Props as FormStepperProps, FormStepper } from \"./FormStepper/FormStepper\";\nimport classes from \"./FormWithStepper.module.scss\";\n\nexport interface Props extends HTMLAttributes<HTMLDivElement> {\n stepper?: ReactElement<FormStepperProps, typeof FormStepper>;\n}\n\nexport const FormWithStepper = ({ children, stepper, ...rest }: Props) => {\n return (\n <div className={`${classes[\"content\"]} ${rest.className}`} {...rest}>\n {stepper}\n <div className={classes[\"form-section\"]}>{children}</div>\n </div>\n );\n};\n"],"names":["React"],"mappings":";;;AAAA;;;;;;;;;;;;;;AAcG;AAUI,MAAM,eAAe,GAAG,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,IAAI,EAAS,KAAI;AACvE,IAAA,QACEA,cAAA,CAAA,aAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAE,GAAG,OAAO,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,SAAS,CAAA,CAAE,KAAM,IAAI,EAAA;QAChE,OAAO;QACRA,cAAK,CAAA,aAAA,CAAA,KAAA,EAAA,EAAA,SAAS,EAAE,OAAO,CAAC,cAAc,CAAC,EAAA,EAAG,QAAQ,CAAO,CACrD,EACN;AACJ;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import styleInject from '../../../node_modules/style-inject/dist/style-inject.es.esm.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var classes = {"content":"
|
|
3
|
+
var css_248z = ".FormWithStepper_content_Pphm5{background-color:var(--color-white);display:flex;font-family:var(--font-family);gap:3.5rem;height:calc(100vh - 13.25rem);margin:0 auto;overflow:auto;position:relative;scroll-behavior:smooth}.FormWithStepper_content_Pphm5 .FormWithStepper_form-section_Pphm5{display:flex;flex:0 0 72%;flex-direction:column}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkZvcm1XaXRoU3RlcHBlci5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFlQSwrQkFNRSxtQ0FBb0MsQ0FGcEMsWUFBYSxDQUZiLDhCQUErQixDQUcvQixVQUFXLENBRVgsNkJBQThCLENBTjlCLGFBQWMsQ0FPZCxhQUFjLENBTGQsaUJBQWtCLENBTWxCLHNCQUNGLENBQ0EsbUVBQ0UsWUFBYSxDQUViLFlBQWEsQ0FEYixxQkFFRiIsImZpbGUiOiJGb3JtV2l0aFN0ZXBwZXIubW9kdWxlLnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogQ29weXJpZ2h0IDIwMjIgT25lV2VsY29tZSBCLlYuXG4gKlxuICogICAgTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlIFwiTGljZW5zZVwiKTtcbiAqICAgIHlvdSBtYXkgbm90IHVzZSB0aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS5cbiAqICAgIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdFxuICpcbiAqICAgICAgICBodHRwOi8vd3d3LmFwYWNoZS5vcmcvbGljZW5zZXMvTElDRU5TRS0yLjBcbiAqXG4gKiAgICBVbmxlc3MgcmVxdWlyZWQgYnkgYXBwbGljYWJsZSBsYXcgb3IgYWdyZWVkIHRvIGluIHdyaXRpbmcsIHNvZnR3YXJlXG4gKiAgICBkaXN0cmlidXRlZCB1bmRlciB0aGUgTGljZW5zZSBpcyBkaXN0cmlidXRlZCBvbiBhbiBcIkFTIElTXCIgQkFTSVMsXG4gKiAgICBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkgS0lORCwgZWl0aGVyIGV4cHJlc3Mgb3IgaW1wbGllZC5cbiAqICAgIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhlIHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmRcbiAqICAgIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuICovXG4uY29udGVudCB7XG4gIG1hcmdpbjogMCBhdXRvO1xuICBmb250LWZhbWlseTogdmFyKC0tZm9udC1mYW1pbHkpO1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGdhcDogMy41cmVtO1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1jb2xvci13aGl0ZSk7XG4gIGhlaWdodDogY2FsYygxMDB2aCAtIDEzLjI1cmVtKTtcbiAgb3ZlcmZsb3c6IGF1dG87XG4gIHNjcm9sbC1iZWhhdmlvcjogc21vb3RoO1xufVxuLmNvbnRlbnQgLmZvcm0tc2VjdGlvbiB7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gIGZsZXg6IDAgMCA3MiU7XG59Il19 */";
|
|
4
|
+
var classes = {"content":"FormWithStepper_content_Pphm5","form-section":"FormWithStepper_form-section_Pphm5"};
|
|
5
5
|
styleInject(css_248z);
|
|
6
6
|
|
|
7
7
|
export { classes as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import classes from './Link.module.scss.esm.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
@@ -32,7 +32,7 @@ const LinkComponent = ({ children, className, disabled = false, prefixIcon = und
|
|
|
32
32
|
disabled && classNames.push(classes["disabled"]);
|
|
33
33
|
className && classNames.push(className);
|
|
34
34
|
if (component) {
|
|
35
|
-
return
|
|
35
|
+
return React__default.createElement(component, {
|
|
36
36
|
...rest,
|
|
37
37
|
ref: ref,
|
|
38
38
|
to: to,
|
|
@@ -43,13 +43,13 @@ const LinkComponent = ({ children, className, disabled = false, prefixIcon = und
|
|
|
43
43
|
}
|
|
44
44
|
}, children);
|
|
45
45
|
}
|
|
46
|
-
return (
|
|
46
|
+
return (React__default.createElement("a", { ...rest, ref: ref, download: type === "download", rel: type === "external" ? "noopener noreferer" : undefined, href: !disabled ? to : undefined, className: classNames.join(" "), "aria-disabled": disabled, target: determineTarget(), style: {
|
|
47
47
|
...rest.style
|
|
48
48
|
} },
|
|
49
49
|
prefixIcon,
|
|
50
|
-
|
|
50
|
+
React__default.createElement("span", { "data-underline": "true" }, children)));
|
|
51
51
|
};
|
|
52
|
-
const Link =
|
|
52
|
+
const Link = React__default.forwardRef(LinkComponent);
|
|
53
53
|
|
|
54
54
|
export { Link };
|
|
55
55
|
//# sourceMappingURL=Link.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Link.esm.js","sources":["../../../../../src/components/Link/Link.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 ForwardRefExoticComponent,\n ReactElement\n} from \"react\";\nimport classes from \"./Link.module.scss\";\nimport { IconProps, Icon } from \"../../index\";\n\nexport type AnchorType = \"external\" | \"internal\" | \"download\";\n\nexport interface Props extends ComponentPropsWithRef<\"a\"> {\n prefixIcon?: ReactElement<IconProps, typeof Icon>;\n color?: \"primary\" | \"success\" | \"danger\" | \"warning\";\n display?: \"link\" | \"button\";\n buttonVariant?: \"outline\" | \"text\" | \"fill\";\n type?: AnchorType;\n to: string;\n disabled?: boolean;\n component?: ForwardRefExoticComponent<any>;\n}\n\nconst LinkComponent: ForwardRefRenderFunction<HTMLAnchorElement, Props> = (\n {\n children,\n className,\n disabled = false,\n prefixIcon = undefined,\n to,\n color = \"primary\",\n type = \"internal\",\n display = \"link\",\n buttonVariant = \"fill\",\n component,\n ...rest\n }: Props,\n ref\n) => {\n const determineTarget = () => {\n if (rest.target) {\n return rest.target;\n }\n\n if (type === \"external\") {\n return \"_blank\";\n }\n\n return \"\";\n };\n\n const classNames = [classes[color]];\n display === \"link\" && classNames.push(classes[\"link\"]);\n display === \"button\" && classNames.push(classes[\"button\"], classes[buttonVariant]);\n disabled && classNames.push(classes[\"disabled\"]);\n className && classNames.push(className);\n\n if (component) {\n return React.createElement(\n component,\n {\n ...rest,\n ref: ref,\n to: to,\n className: classNames.join(\" \"),\n \"aria-disabled\": disabled,\n style: {\n ...rest.style\n }\n },\n children\n );\n }\n\n return (\n <a\n {...rest}\n ref={ref}\n download={type === \"download\"}\n rel={type === \"external\" ? \"noopener noreferer\" : undefined}\n href={!disabled ? to : undefined}\n className={classNames.join(\" \")}\n aria-disabled={disabled}\n target={determineTarget()}\n style={{\n ...rest.style\n }}\n >\n {prefixIcon}\n <span data-underline=\"true\">{children}</span>\n </a>\n );\n};\n\nexport const Link = React.forwardRef(LinkComponent);\n"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;AAcG;
|
|
1
|
+
{"version":3,"file":"Link.esm.js","sources":["../../../../../src/components/Link/Link.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 ForwardRefExoticComponent,\n ReactElement\n} from \"react\";\nimport classes from \"./Link.module.scss\";\nimport { IconProps, Icon } from \"../../index\";\n\nexport type AnchorType = \"external\" | \"internal\" | \"download\";\n\nexport interface Props extends ComponentPropsWithRef<\"a\"> {\n prefixIcon?: ReactElement<IconProps, typeof Icon>;\n color?: \"primary\" | \"success\" | \"danger\" | \"warning\";\n display?: \"link\" | \"button\";\n buttonVariant?: \"outline\" | \"text\" | \"fill\";\n type?: AnchorType;\n to: string;\n disabled?: boolean;\n /* eslint-disable-next-line @typescript-eslint/no-explicit-any */\n component?: ForwardRefExoticComponent<any>;\n}\n\nconst LinkComponent: ForwardRefRenderFunction<HTMLAnchorElement, Props> = (\n {\n children,\n className,\n disabled = false,\n prefixIcon = undefined,\n to,\n color = \"primary\",\n type = \"internal\",\n display = \"link\",\n buttonVariant = \"fill\",\n component,\n ...rest\n }: Props,\n ref\n) => {\n const determineTarget = () => {\n if (rest.target) {\n return rest.target;\n }\n\n if (type === \"external\") {\n return \"_blank\";\n }\n\n return \"\";\n };\n\n const classNames = [classes[color]];\n display === \"link\" && classNames.push(classes[\"link\"]);\n display === \"button\" && classNames.push(classes[\"button\"], classes[buttonVariant]);\n disabled && classNames.push(classes[\"disabled\"]);\n className && classNames.push(className);\n\n if (component) {\n return React.createElement(\n component,\n {\n ...rest,\n ref: ref,\n to: to,\n className: classNames.join(\" \"),\n \"aria-disabled\": disabled,\n style: {\n ...rest.style\n }\n },\n children\n );\n }\n\n return (\n <a\n {...rest}\n ref={ref}\n download={type === \"download\"}\n rel={type === \"external\" ? \"noopener noreferer\" : undefined}\n href={!disabled ? to : undefined}\n className={classNames.join(\" \")}\n aria-disabled={disabled}\n target={determineTarget()}\n style={{\n ...rest.style\n }}\n >\n {prefixIcon}\n <span data-underline=\"true\">{children}</span>\n </a>\n );\n};\n\nexport const Link = React.forwardRef(LinkComponent);\n"],"names":["React"],"mappings":";;;AAAA;;;;;;;;;;;;;;AAcG;AAyBH,MAAM,aAAa,GAAuD,CACxE,EACE,QAAQ,EACR,SAAS,EACT,QAAQ,GAAG,KAAK,EAChB,UAAU,GAAG,SAAS,EACtB,EAAE,EACF,KAAK,GAAG,SAAS,EACjB,IAAI,GAAG,UAAU,EACjB,OAAO,GAAG,MAAM,EAChB,aAAa,GAAG,MAAM,EACtB,SAAS,EACT,GAAG,IAAI,EACD,EACR,GAAG,KACD;IACF,MAAM,eAAe,GAAG,MAAK;AAC3B,QAAA,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,OAAO,IAAI,CAAC,MAAM,CAAC;SACpB;AAED,QAAA,IAAI,IAAI,KAAK,UAAU,EAAE;AACvB,YAAA,OAAO,QAAQ,CAAC;SACjB;AAED,QAAA,OAAO,EAAE,CAAC;AACZ,KAAC,CAAC;IAEF,MAAM,UAAU,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC;AACpC,IAAA,OAAO,KAAK,MAAM,IAAI,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;AACvD,IAAA,OAAO,KAAK,QAAQ,IAAI,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;IACnF,QAAQ,IAAI,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AACjD,IAAA,SAAS,IAAI,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAExC,IAAI,SAAS,EAAE;AACb,QAAA,OAAOA,cAAK,CAAC,aAAa,CACxB,SAAS,EACT;AACE,YAAA,GAAG,IAAI;AACP,YAAA,GAAG,EAAE,GAAG;AACR,YAAA,EAAE,EAAE,EAAE;AACN,YAAA,SAAS,EAAE,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC;AAC/B,YAAA,eAAe,EAAE,QAAQ;AACzB,YAAA,KAAK,EAAE;gBACL,GAAG,IAAI,CAAC,KAAK;AACd,aAAA;SACF,EACD,QAAQ,CACT,CAAC;KACH;IAED,QACEA,cACM,CAAA,aAAA,CAAA,GAAA,EAAA,EAAA,GAAA,IAAI,EACR,GAAG,EAAE,GAAG,EACR,QAAQ,EAAE,IAAI,KAAK,UAAU,EAC7B,GAAG,EAAE,IAAI,KAAK,UAAU,GAAG,oBAAoB,GAAG,SAAS,EAC3D,IAAI,EAAE,CAAC,QAAQ,GAAG,EAAE,GAAG,SAAS,EAChC,SAAS,EAAE,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,EAAA,eAAA,EAChB,QAAQ,EACvB,MAAM,EAAE,eAAe,EAAE,EACzB,KAAK,EAAE;YACL,GAAG,IAAI,CAAC,KAAK;AACd,SAAA,EAAA;QAEA,UAAU;AACX,QAAAA,cAAA,CAAA,aAAA,CAAA,MAAA,EAAA,EAAA,gBAAA,EAAqB,MAAM,EAAE,EAAA,QAAQ,CAAQ,CAC3C,EACJ;AACJ,CAAC,CAAC;AAEW,MAAA,IAAI,GAAGA,cAAK,CAAC,UAAU,CAAC,aAAa;;;;"}
|