@onewelcome/react-lib-components 12.0.1 → 12.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Breadcrumbs/Breadcrumbs.module.scss.cjs.js +2 -2
- package/dist/components/Breadcrumbs/Breadcrumbs.module.scss.es.js +5 -5
- package/dist/components/Button/BaseButton.module.scss.cjs.js +2 -2
- package/dist/components/Button/BaseButton.module.scss.es.js +4 -4
- package/dist/components/Button/Button.module.scss.cjs.js +2 -2
- package/dist/components/Button/Button.module.scss.es.js +17 -17
- package/dist/components/Button/IconButton.module.scss.cjs.js +2 -2
- package/dist/components/Button/IconButton.module.scss.es.js +18 -18
- package/dist/components/ContextMenu/ContextMenu.module.scss.cjs.js +2 -2
- package/dist/components/ContextMenu/ContextMenu.module.scss.es.js +5 -5
- package/dist/components/ContextMenu/ContextMenuDivider.module.scss.cjs.js +2 -2
- package/dist/components/ContextMenu/ContextMenuDivider.module.scss.es.js +2 -2
- package/dist/components/ContextMenu/ContextMenuItem.module.scss.cjs.js +2 -2
- package/dist/components/ContextMenu/ContextMenuItem.module.scss.es.js +3 -3
- package/dist/components/DataGrid/DataGrid.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGrid.module.scss.es.js +6 -6
- package/dist/components/DataGrid/DataGridActions/DataGridActions.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridActions/DataGridActions.module.scss.es.js +6 -6
- package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.es.js +7 -7
- package/dist/components/DataGrid/DataGridBody/DataGridBody.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridBody/DataGridBody.module.scss.es.js +2 -2
- package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.es.js +5 -5
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.es.js +4 -4
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.es.js +5 -5
- package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.es.js +24 -24
- package/dist/components/DataGrid/DataGridFilters/DataGridFilter.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridFilters/DataGridFilter.module.scss.es.js +9 -9
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.module.scss.es.js +8 -8
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.module.scss.es.js +17 -17
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.module.scss.es.js +3 -3
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.es.js +7 -7
- package/dist/components/DatePicker/DatePicker.module.scss.cjs.js +2 -2
- package/dist/components/DatePicker/DatePicker.module.scss.es.js +31 -31
- package/dist/components/Form/Checkbox/Checkbox.cjs.js +1 -1
- package/dist/components/Form/Checkbox/Checkbox.cjs.js.map +1 -1
- package/dist/components/Form/Checkbox/Checkbox.es.js +1 -0
- package/dist/components/Form/Checkbox/Checkbox.es.js.map +1 -1
- package/dist/components/Form/Checkbox/Checkbox.module.scss.cjs.js +2 -2
- package/dist/components/Form/Checkbox/Checkbox.module.scss.es.js +13 -13
- package/dist/components/Form/Fieldset/Fieldset.module.scss.cjs.js +2 -2
- package/dist/components/Form/Fieldset/Fieldset.module.scss.es.js +5 -5
- package/dist/components/Form/FileUpload/FileItem/FileItem.module.scss.cjs.js +2 -2
- package/dist/components/Form/FileUpload/FileItem/FileItem.module.scss.es.js +18 -18
- package/dist/components/Form/FileUpload/FileUpload.cjs.js +1 -1
- package/dist/components/Form/FileUpload/FileUpload.cjs.js.map +1 -1
- package/dist/components/Form/FileUpload/FileUpload.es.js +1 -0
- package/dist/components/Form/FileUpload/FileUpload.es.js.map +1 -1
- package/dist/components/Form/FileUpload/FileUpload.module.scss.cjs.js +2 -2
- package/dist/components/Form/FileUpload/FileUpload.module.scss.es.js +16 -16
- package/dist/components/Form/Form.module.scss.cjs.js +2 -2
- package/dist/components/Form/Form.module.scss.es.js +2 -2
- package/dist/components/Form/FormControl/FormControl.module.scss.cjs.js +2 -2
- package/dist/components/Form/FormControl/FormControl.module.scss.es.js +13 -13
- package/dist/components/Form/FormErrorText/FormErrorText.module.scss.cjs.js +2 -2
- package/dist/components/Form/FormErrorText/FormErrorText.module.scss.es.js +5 -5
- package/dist/components/Form/FormGroup/FormGroup.module.scss.cjs.js +2 -2
- package/dist/components/Form/FormGroup/FormGroup.module.scss.es.js +3 -3
- package/dist/components/Form/FormHelperText/FormHelperText.module.scss.cjs.js +2 -2
- package/dist/components/Form/FormHelperText/FormHelperText.module.scss.es.js +4 -4
- package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.cjs.js +2 -2
- package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.es.js +6 -6
- package/dist/components/Form/Input/Input.cjs.js +1 -1
- package/dist/components/Form/Input/Input.cjs.js.map +1 -1
- package/dist/components/Form/Input/Input.es.js +1 -0
- package/dist/components/Form/Input/Input.es.js.map +1 -1
- package/dist/components/Form/Input/Input.module.scss.cjs.js +2 -2
- package/dist/components/Form/Input/Input.module.scss.es.js +9 -9
- package/dist/components/Form/Label/Label.module.scss.cjs.js +2 -2
- package/dist/components/Form/Label/Label.module.scss.es.js +2 -2
- package/dist/components/Form/Radio/Radio.cjs.js +1 -1
- package/dist/components/Form/Radio/Radio.cjs.js.map +1 -1
- package/dist/components/Form/Radio/Radio.es.js +1 -0
- package/dist/components/Form/Radio/Radio.es.js.map +1 -1
- package/dist/components/Form/Radio/Radio.module.scss.cjs.js +2 -2
- package/dist/components/Form/Radio/Radio.module.scss.es.js +11 -11
- package/dist/components/Form/Select/MultiSelect/MultiSelect.module.scss.cjs.js +2 -2
- package/dist/components/Form/Select/MultiSelect/MultiSelect.module.scss.es.js +15 -15
- package/dist/components/Form/Select/MultiSelect/SelectButton.module.scss.cjs.js +2 -2
- package/dist/components/Form/Select/MultiSelect/SelectButton.module.scss.es.js +2 -2
- package/dist/components/Form/Select/MultiSelect/SelectedOptions.module.scss.cjs.js +2 -2
- package/dist/components/Form/Select/MultiSelect/SelectedOptions.module.scss.es.js +4 -4
- package/dist/components/Form/Select/SingleSelect/Select.module.scss.cjs.js +2 -2
- package/dist/components/Form/Select/SingleSelect/Select.module.scss.es.js +17 -17
- package/dist/components/Form/Select/useAddNewBtn.module.scss.cjs.js +2 -2
- package/dist/components/Form/Select/useAddNewBtn.module.scss.es.js +4 -4
- package/dist/components/Form/Textarea/Textarea.cjs.js +1 -1
- package/dist/components/Form/Textarea/Textarea.cjs.js.map +1 -1
- package/dist/components/Form/Textarea/Textarea.es.js +1 -0
- package/dist/components/Form/Textarea/Textarea.es.js.map +1 -1
- package/dist/components/Form/Textarea/Textarea.module.scss.cjs.js +2 -2
- package/dist/components/Form/Textarea/Textarea.module.scss.es.js +6 -6
- package/dist/components/Form/Toggle/Toggle.module.scss.cjs.js +2 -2
- package/dist/components/Form/Toggle/Toggle.module.scss.es.js +18 -18
- package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.cjs.js +2 -2
- package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.es.js +3 -3
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss.cjs.js +2 -2
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss.es.js +4 -4
- package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.cjs.js +2 -2
- package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.es.js +3 -3
- package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.cjs.js +2 -2
- package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.es.js +3 -3
- package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.cjs.js +2 -2
- package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.es.js +3 -3
- package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.cjs.js +2 -2
- package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.es.js +8 -8
- package/dist/components/Form/Wrapper/Wrapper/Wrapper.module.scss.cjs.js +2 -2
- package/dist/components/Form/Wrapper/Wrapper/Wrapper.module.scss.es.js +6 -6
- package/dist/components/Icon/Icon.module.scss.cjs.js +2 -2
- package/dist/components/Icon/Icon.module.scss.es.js +107 -107
- package/dist/components/Layout/Card/Card.module.scss.cjs.js +2 -2
- package/dist/components/Layout/Card/Card.module.scss.es.js +12 -12
- package/dist/components/Layout/ContentHeader/ContentHeader.module.scss.cjs.js +2 -2
- package/dist/components/Layout/ContentHeader/ContentHeader.module.scss.es.js +12 -12
- package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.cjs.js +2 -2
- package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.es.js +4 -4
- package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.cjs.js +2 -2
- package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.es.js +2 -2
- package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.cjs.js +2 -2
- package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.es.js +3 -3
- package/dist/components/Link/Link.module.scss.cjs.js +2 -2
- package/dist/components/Link/Link.module.scss.es.js +16 -16
- package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.module.scss.es.js +11 -11
- package/dist/components/Notifications/Alert/AlertItem/AlertItem.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/Alert/AlertItem/AlertItem.module.scss.es.js +22 -22
- package/dist/components/Notifications/Banner/Banner.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/Banner/Banner.module.scss.es.js +9 -9
- package/dist/components/Notifications/BaseModal/BaseModal.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/BaseModal/BaseModal.module.scss.es.js +5 -5
- package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.es.js +4 -4
- package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.es.js +2 -2
- package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.es.js +6 -6
- package/dist/components/Notifications/Dialog/Dialog.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/Dialog/Dialog.module.scss.es.js +4 -4
- package/dist/components/Notifications/Dialog/DialogActions/DialogActions.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/Dialog/DialogActions/DialogActions.module.scss.es.js +3 -3
- package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.es.js +10 -10
- package/dist/components/Notifications/SideSheet/SideSheet.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/SideSheet/SideSheet.module.scss.es.js +13 -13
- package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.module.scss.es.js +2 -2
- package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.module.scss.es.js +2 -2
- package/dist/components/Notifications/SlideInModal/SlideInModal.module.scss.cjs.js +2 -2
- package/dist/components/Notifications/SlideInModal/SlideInModal.module.scss.es.js +10 -10
- package/dist/components/Pagination/Pagination.module.scss.cjs.js +2 -2
- package/dist/components/Pagination/Pagination.module.scss.es.js +14 -14
- package/dist/components/Popover/Popover.module.scss.cjs.js +2 -2
- package/dist/components/Popover/Popover.module.scss.es.js +3 -3
- package/dist/components/ProgressBar/ProgressBar.module.scss.cjs.js +2 -2
- package/dist/components/ProgressBar/ProgressBar.module.scss.es.js +9 -9
- package/dist/components/Skeleton/Skeleton.module.scss.cjs.js +2 -2
- package/dist/components/Skeleton/Skeleton.module.scss.es.js +5 -5
- package/dist/components/Spinner/Spinner.module.scss.cjs.js +2 -2
- package/dist/components/Spinner/Spinner.module.scss.es.js +3 -3
- package/dist/components/Stepper/Step.module.scss.cjs.js +2 -2
- package/dist/components/Stepper/Step.module.scss.es.js +22 -22
- package/dist/components/Stepper/Stepper.module.scss.cjs.js +2 -2
- package/dist/components/Stepper/Stepper.module.scss.es.js +4 -4
- package/dist/components/Tabs/Tab.module.scss.cjs.js +2 -2
- package/dist/components/Tabs/Tab.module.scss.es.js +3 -3
- package/dist/components/Tabs/TabButton.module.scss.cjs.js +2 -2
- package/dist/components/Tabs/TabButton.module.scss.es.js +12 -12
- package/dist/components/Tabs/Tabs.module.scss.cjs.js +2 -2
- package/dist/components/Tabs/Tabs.module.scss.es.js +10 -10
- package/dist/components/Tag/RemoveButton.module.scss.cjs.js +2 -2
- package/dist/components/Tag/RemoveButton.module.scss.es.js +3 -3
- package/dist/components/Tag/Tag.module.scss.cjs.js +2 -2
- package/dist/components/Tag/Tag.module.scss.es.js +6 -6
- package/dist/components/TextEllipsis/TextEllipsis.module.scss.cjs.js +2 -2
- package/dist/components/TextEllipsis/TextEllipsis.module.scss.es.js +3 -3
- package/dist/components/Tiles/Tile.module.scss.cjs.js +2 -2
- package/dist/components/Tiles/Tile.module.scss.es.js +8 -8
- package/dist/components/Tiles/Tiles.module.scss.cjs.js +2 -2
- package/dist/components/Tiles/Tiles.module.scss.es.js +2 -2
- package/dist/components/Tooltip/Tooltip.module.scss.cjs.js +2 -2
- package/dist/components/Tooltip/Tooltip.module.scss.es.js +27 -27
- package/dist/components/Typography/Typography.module.scss.cjs.js +2 -2
- package/dist/components/Typography/Typography.module.scss.es.js +13 -13
- package/dist/components/admin/layout/LeftNav/LeftNav.module.scss.cjs.js +2 -2
- package/dist/components/admin/layout/LeftNav/LeftNav.module.scss.es.js +5 -5
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.module.scss.cjs.js +2 -2
- package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.module.scss.es.js +14 -14
- package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.cjs.js +2 -2
- package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.es.js +3 -3
- package/dist/components/miscellaneous/IdentityProviderButton.module.scss.cjs.js +2 -2
- package/dist/components/miscellaneous/IdentityProviderButton.module.scss.es.js +3 -3
- package/dist/readyclasses.module.scss.cjs.js +2 -2
- package/dist/readyclasses.module.scss.es.js +5 -5
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode('.Input_sr-
|
|
2
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode('.Input_sr-only_vc4dh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.Input_hidden_vc4dh{display:none}.Input_slide-in_vc4dh{animation:Input_slide-in_vc4dh .5s forwards}@media (prefers-reduced-motion: reduce){.Input_slide-in_vc4dh{animation-duration:.1ms}}.Input_slide-out_vc4dh{animation:Input_slide-out_vc4dh .5s forwards}@media (prefers-reduced-motion: reduce){.Input_slide-out_vc4dh{animation-duration:.1ms}}@keyframes Input_slide-in_vc4dh{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes Input_slide-out_vc4dh{0%{transform:translateY(0)}to{transform:translateY(100vh)}}/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.Input_input-wrapper_vc4dh{position:relative;display:flex;align-items:center;border:0;border-radius:var(--input-border-radius);background-color:var(--input-background-color);padding:0 calc(.5 * var(--font-size));transition-property:background-color;transition-duration:.2s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion: reduce){.Input_input-wrapper_vc4dh{transition-duration:.1ms}}.Input_input-wrapper_vc4dh input:-webkit-autofill,.Input_input-wrapper_vc4dh input:-webkit-autofill:hover,.Input_input-wrapper_vc4dh input:-webkit-autofill:focus,.Input_input-wrapper_vc4dh input:-webkit-autofill:active{-webkit-transition:background-color 5000s ease-in-out 0s!important;transition:background-color 5000s ease-in-out 0s!important}.Input_input-wrapper_vc4dh input:-webkit-autofill~.Input_outline_vc4dh:after,.Input_input-wrapper_vc4dh input:-webkit-autofill:hover~.Input_outline_vc4dh:after,.Input_input-wrapper_vc4dh input:-webkit-autofill:focus~.Input_outline_vc4dh:after,.Input_input-wrapper_vc4dh input:-webkit-autofill:active~.Input_outline_vc4dh:after{content:"";position:absolute;display:block;width:100%;height:100%;border-radius:var(--input-border-radius)}@media all and (-webkit-min-device-pixel-ratio: 0) and (-webkit-min-device-pixel-ratio: 0),all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.Input_input-wrapper_vc4dh input:-webkit-autofill~.Input_outline_vc4dh:after,.Input_input-wrapper_vc4dh input:-webkit-autofill:hover~.Input_outline_vc4dh:after,.Input_input-wrapper_vc4dh input:-webkit-autofill:focus~.Input_outline_vc4dh:after,.Input_input-wrapper_vc4dh input:-webkit-autofill:active~.Input_outline_vc4dh:after{background-color:#e8f0fe}}@media not all and (-webkit-min-device-pixel-ratio: 0),not all and (min-resolution: .001dpcm){.Input_input-wrapper_vc4dh input:-webkit-autofill~.Input_outline_vc4dh:after,.Input_input-wrapper_vc4dh input:-webkit-autofill:hover~.Input_outline_vc4dh:after,.Input_input-wrapper_vc4dh input:-webkit-autofill:focus~.Input_outline_vc4dh:after,.Input_input-wrapper_vc4dh input:-webkit-autofill:active~.Input_outline_vc4dh:after{background-color:#faffbd}}.Input_input-wrapper_vc4dh:hover .Input_outline_vc4dh{border-color:var(--input-border-color);background-color:var(--input-hover-background-color)}.Input_input-wrapper_vc4dh .Input_outline_vc4dh.Input_disabled_vc4dh{border-color:var(--disabled);background-color:var(--input-disabled-background-color)}.Input_input-wrapper_vc4dh .Input_outline_vc4dh.Input_error_vc4dh{border-color:var(--error)}.Input_input-wrapper_vc4dh [data-icon-status=success],.Input_input-wrapper_vc4dh [data-icon-status=error]{height:100%;width:calc(1.25 * var(--font-size));box-sizing:border-box;font-size:var(--icon-font-big);display:flex;align-items:center;justify-content:center;z-index:2}.Input_input-wrapper_vc4dh [data-icon-status=success]:before,.Input_input-wrapper_vc4dh [data-icon-status=error]:before{font-size:var(--icon-font-big);height:calc(1.25 * var(--font-size));width:calc(1.25 * var(--font-size));display:flex;align-items:center;justify-content:center}.Input_input-wrapper_vc4dh [data-icon-status=success]{color:var(--success)}.Input_input-wrapper_vc4dh [data-icon-status=error]{color:var(--error)}.Input_input-wrapper_vc4dh[data-readonlyview=true]{color:var(--read-only-text-color)}.Input_input-wrapper_vc4dh[data-readonlyview=true] .Input_Input-module_vc4dh{border-color:var(--read-only-border-color)}.Input_input-wrapper_vc4dh[data-readonlyview=true] span.Input_outline_vc4dh{color:var(--read-only-text-color);border-color:var(--read-only-border-color);background-color:var(--color-white)}.Input_input-wrapper_vc4dh[data-readonlyview=true]:hover .Input_outline_vc4dh{color:var(--read-only-text-color);background-color:var(--color-white);border-color:var(--read-only-border-color)}.Input_input-wrapper_vc4dh [data-prefix],.Input_input-wrapper_vc4dh [data-suffix]{display:block;z-index:1;transition-property:all;transition-duration:.2s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion: reduce){.Input_input-wrapper_vc4dh [data-prefix],.Input_input-wrapper_vc4dh [data-suffix]{transition-duration:.1ms}}.Input_input-wrapper_vc4dh.Input_focus_vc4dh:not(.Input_disabled_vc4dh):not([data-readonlyview=true]),.Input_input-wrapper_vc4dh[data-readonlyview=true]:focus:not(.Input_disabled_vc4dh),.Input_input-wrapper_vc4dh[data-readonlyview=true]:focus-visible:not(.Input_disabled_vc4dh){position:relative;z-index:2;outline:calc(.125 * var(--font-size)) solid var(--color-focus);outline-offset:calc(.125 * var(--font-size));border-radius:var(--focus-border-radius)}.Input_input_vc4dh{padding:0;height:calc(2.75 * var(--font-size));color:var(--color-blue-grey900);font-size:var(--input-font-size);font-family:var(--font-family);box-sizing:border-box;border:0;border-radius:var(--input-border-radius);background-color:transparent;z-index:1}.Input_input_vc4dh:not(.Input_shrink-width-for-date-icon_vc4dh){width:100%}.Input_input_vc4dh:disabled{cursor:not-allowed;color:var(--greyed-out)}.Input_input_vc4dh.Input_shrink-width-for-date-icon_vc4dh{width:auto}.Input_input_vc4dh{transition-property:all;transition-duration:.2s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion: reduce){.Input_input_vc4dh{transition-duration:.1ms}}.Input_input_vc4dh:focus:not(:disabled){outline:none}[data-readonlyview=true] .Input_outline_vc4dh{border-color:var(--read-only-border-color)}.Input_outline_vc4dh{pointer-events:none;position:absolute;margin:0;padding:0;top:0;right:0;bottom:0;left:0;border-color:var(--input-border-color);border-style:var(--input-border-style);border-width:var(--input-border-width);border-radius:var(--input-border-radius);transition-property:all;transition-duration:.2s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion: reduce){.Input_outline_vc4dh{transition-duration:.1ms}}.Input_error_vc4dh input{padding-right:calc(1.25 * var(--font-size))}.Input_error_vc4dh input.Input_remove-extra-indent_vc4dh{padding-right:0}.Input_success_vc4dh input{padding-right:calc(1.25 * var(--font-size))}@media only screen and (min-width: 30em){.Input_input-wrapper_vc4dh{padding:0 calc(.5 * var(--font-size))}}')),document.head.appendChild(t)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="Input_outline_vc4dh",t="Input_disabled_vc4dh",s="Input_error_vc4dh",r="Input_focus_vc4dh",u="Input_input_vc4dh",o="Input_success_vc4dh",p={"input-wrapper":"Input_input-wrapper_vc4dh",outline:e,disabled:t,error:s,focus:r,input:u,"shrink-width-for-date-icon":"Input_shrink-width-for-date-icon_vc4dh",success:o};exports.default=p,exports.disabled=t,exports.error=s,exports.focus=r,exports.input=u,exports.outline=e,exports.success=o;
|
|
3
3
|
//# sourceMappingURL=Input.module.scss.cjs.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode('.Input_sr-
|
|
2
|
-
const outline = "
|
|
3
|
-
const disabled = "
|
|
4
|
-
const error = "
|
|
5
|
-
const focus = "
|
|
6
|
-
const input = "
|
|
7
|
-
const success = "
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode('.Input_sr-only_vc4dh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.Input_hidden_vc4dh{display:none}.Input_slide-in_vc4dh{animation:Input_slide-in_vc4dh .5s forwards}@media (prefers-reduced-motion: reduce){.Input_slide-in_vc4dh{animation-duration:.1ms}}.Input_slide-out_vc4dh{animation:Input_slide-out_vc4dh .5s forwards}@media (prefers-reduced-motion: reduce){.Input_slide-out_vc4dh{animation-duration:.1ms}}@keyframes Input_slide-in_vc4dh{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes Input_slide-out_vc4dh{0%{transform:translateY(0)}to{transform:translateY(100vh)}}/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.Input_input-wrapper_vc4dh{position:relative;display:flex;align-items:center;border:0;border-radius:var(--input-border-radius);background-color:var(--input-background-color);padding:0 calc(.5 * var(--font-size));transition-property:background-color;transition-duration:.2s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion: reduce){.Input_input-wrapper_vc4dh{transition-duration:.1ms}}.Input_input-wrapper_vc4dh input:-webkit-autofill,.Input_input-wrapper_vc4dh input:-webkit-autofill:hover,.Input_input-wrapper_vc4dh input:-webkit-autofill:focus,.Input_input-wrapper_vc4dh input:-webkit-autofill:active{-webkit-transition:background-color 5000s ease-in-out 0s!important;transition:background-color 5000s ease-in-out 0s!important}.Input_input-wrapper_vc4dh input:-webkit-autofill~.Input_outline_vc4dh:after,.Input_input-wrapper_vc4dh input:-webkit-autofill:hover~.Input_outline_vc4dh:after,.Input_input-wrapper_vc4dh input:-webkit-autofill:focus~.Input_outline_vc4dh:after,.Input_input-wrapper_vc4dh input:-webkit-autofill:active~.Input_outline_vc4dh:after{content:"";position:absolute;display:block;width:100%;height:100%;border-radius:var(--input-border-radius)}@media all and (-webkit-min-device-pixel-ratio: 0) and (-webkit-min-device-pixel-ratio: 0),all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.Input_input-wrapper_vc4dh input:-webkit-autofill~.Input_outline_vc4dh:after,.Input_input-wrapper_vc4dh input:-webkit-autofill:hover~.Input_outline_vc4dh:after,.Input_input-wrapper_vc4dh input:-webkit-autofill:focus~.Input_outline_vc4dh:after,.Input_input-wrapper_vc4dh input:-webkit-autofill:active~.Input_outline_vc4dh:after{background-color:#e8f0fe}}@media not all and (-webkit-min-device-pixel-ratio: 0),not all and (min-resolution: .001dpcm){.Input_input-wrapper_vc4dh input:-webkit-autofill~.Input_outline_vc4dh:after,.Input_input-wrapper_vc4dh input:-webkit-autofill:hover~.Input_outline_vc4dh:after,.Input_input-wrapper_vc4dh input:-webkit-autofill:focus~.Input_outline_vc4dh:after,.Input_input-wrapper_vc4dh input:-webkit-autofill:active~.Input_outline_vc4dh:after{background-color:#faffbd}}.Input_input-wrapper_vc4dh:hover .Input_outline_vc4dh{border-color:var(--input-border-color);background-color:var(--input-hover-background-color)}.Input_input-wrapper_vc4dh .Input_outline_vc4dh.Input_disabled_vc4dh{border-color:var(--disabled);background-color:var(--input-disabled-background-color)}.Input_input-wrapper_vc4dh .Input_outline_vc4dh.Input_error_vc4dh{border-color:var(--error)}.Input_input-wrapper_vc4dh [data-icon-status=success],.Input_input-wrapper_vc4dh [data-icon-status=error]{height:100%;width:calc(1.25 * var(--font-size));box-sizing:border-box;font-size:var(--icon-font-big);display:flex;align-items:center;justify-content:center;z-index:2}.Input_input-wrapper_vc4dh [data-icon-status=success]:before,.Input_input-wrapper_vc4dh [data-icon-status=error]:before{font-size:var(--icon-font-big);height:calc(1.25 * var(--font-size));width:calc(1.25 * var(--font-size));display:flex;align-items:center;justify-content:center}.Input_input-wrapper_vc4dh [data-icon-status=success]{color:var(--success)}.Input_input-wrapper_vc4dh [data-icon-status=error]{color:var(--error)}.Input_input-wrapper_vc4dh[data-readonlyview=true]{color:var(--read-only-text-color)}.Input_input-wrapper_vc4dh[data-readonlyview=true] .Input_Input-module_vc4dh{border-color:var(--read-only-border-color)}.Input_input-wrapper_vc4dh[data-readonlyview=true] span.Input_outline_vc4dh{color:var(--read-only-text-color);border-color:var(--read-only-border-color);background-color:var(--color-white)}.Input_input-wrapper_vc4dh[data-readonlyview=true]:hover .Input_outline_vc4dh{color:var(--read-only-text-color);background-color:var(--color-white);border-color:var(--read-only-border-color)}.Input_input-wrapper_vc4dh [data-prefix],.Input_input-wrapper_vc4dh [data-suffix]{display:block;z-index:1;transition-property:all;transition-duration:.2s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion: reduce){.Input_input-wrapper_vc4dh [data-prefix],.Input_input-wrapper_vc4dh [data-suffix]{transition-duration:.1ms}}.Input_input-wrapper_vc4dh.Input_focus_vc4dh:not(.Input_disabled_vc4dh):not([data-readonlyview=true]),.Input_input-wrapper_vc4dh[data-readonlyview=true]:focus:not(.Input_disabled_vc4dh),.Input_input-wrapper_vc4dh[data-readonlyview=true]:focus-visible:not(.Input_disabled_vc4dh){position:relative;z-index:2;outline:calc(.125 * var(--font-size)) solid var(--color-focus);outline-offset:calc(.125 * var(--font-size));border-radius:var(--focus-border-radius)}.Input_input_vc4dh{padding:0;height:calc(2.75 * var(--font-size));color:var(--color-blue-grey900);font-size:var(--input-font-size);font-family:var(--font-family);box-sizing:border-box;border:0;border-radius:var(--input-border-radius);background-color:transparent;z-index:1}.Input_input_vc4dh:not(.Input_shrink-width-for-date-icon_vc4dh){width:100%}.Input_input_vc4dh:disabled{cursor:not-allowed;color:var(--greyed-out)}.Input_input_vc4dh.Input_shrink-width-for-date-icon_vc4dh{width:auto}.Input_input_vc4dh{transition-property:all;transition-duration:.2s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion: reduce){.Input_input_vc4dh{transition-duration:.1ms}}.Input_input_vc4dh:focus:not(:disabled){outline:none}[data-readonlyview=true] .Input_outline_vc4dh{border-color:var(--read-only-border-color)}.Input_outline_vc4dh{pointer-events:none;position:absolute;margin:0;padding:0;top:0;right:0;bottom:0;left:0;border-color:var(--input-border-color);border-style:var(--input-border-style);border-width:var(--input-border-width);border-radius:var(--input-border-radius);transition-property:all;transition-duration:.2s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion: reduce){.Input_outline_vc4dh{transition-duration:.1ms}}.Input_error_vc4dh input{padding-right:calc(1.25 * var(--font-size))}.Input_error_vc4dh input.Input_remove-extra-indent_vc4dh{padding-right:0}.Input_success_vc4dh input{padding-right:calc(1.25 * var(--font-size))}@media only screen and (min-width: 30em){.Input_input-wrapper_vc4dh{padding:0 calc(.5 * var(--font-size))}}')),document.head.appendChild(t)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
|
|
2
|
+
const outline = "Input_outline_vc4dh";
|
|
3
|
+
const disabled = "Input_disabled_vc4dh";
|
|
4
|
+
const error = "Input_error_vc4dh";
|
|
5
|
+
const focus = "Input_focus_vc4dh";
|
|
6
|
+
const input = "Input_input_vc4dh";
|
|
7
|
+
const success = "Input_success_vc4dh";
|
|
8
8
|
const classes = {
|
|
9
|
-
"input-wrapper": "Input_input-
|
|
9
|
+
"input-wrapper": "Input_input-wrapper_vc4dh",
|
|
10
10
|
outline,
|
|
11
11
|
disabled,
|
|
12
12
|
error,
|
|
13
13
|
focus,
|
|
14
14
|
input,
|
|
15
|
-
"shrink-width-for-date-icon": "Input_shrink-width-for-date-
|
|
15
|
+
"shrink-width-for-date-icon": "Input_shrink-width-for-date-icon_vc4dh",
|
|
16
16
|
success
|
|
17
17
|
};
|
|
18
18
|
export {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.
|
|
2
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.Label_label_vc4dh{cursor:text;color:var(--greyed-out);font-size:var(--font-size)}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="Label_label_vc4dh",l={label:e};exports.default=l,exports.label=e;
|
|
3
3
|
//# sourceMappingURL=Label.module.scss.cjs.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.
|
|
2
|
-
const label = "
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.Label_label_vc4dh{cursor:text;color:var(--greyed-out);font-size:var(--font-size)}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
|
|
2
|
+
const label = "Label_label_vc4dh";
|
|
3
3
|
const classes = {
|
|
4
4
|
label
|
|
5
5
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),r=require("../../Icon/Icon.cjs.js"),a=require("./Radio.module.scss.cjs.js"),t=require("../../../hooks/useFormSelector.cjs.js"),o=require("../FormSelectorWrapper/FormSelectorWrapper.cjs.js"),s=require("../../withReadOnly.cjs.js").withReadOnly(e.forwardRef((({children:s,disabled:l,className:n,value:
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),r=require("../../Icon/Icon.cjs.js"),a=require("./Radio.module.scss.cjs.js"),t=require("../../../hooks/useFormSelector.cjs.js"),o=require("../FormSelectorWrapper/FormSelectorWrapper.cjs.js"),s=require("../../withReadOnly.cjs.js").withReadOnly(e.forwardRef((({children:s,disabled:l,className:n,value:i,name:c,helperText:d,parentErrorId:p,parentHelperId:u,error:m,errorMessage:f,errorMessageProps:h,checked:b=!1,formSelectorWrapperProps:g,helperProps:j,onChange:I,...E},y)=>{const{errorId:v,identifier:N,describedBy:F}=t.useFormSelector({name:c,helperText:d,parentErrorId:p,errorMessage:f,error:m,parentHelperId:u}),P=e=>{if(l)return;const r=e.nativeEvent||e,a=new r.constructor(r.type,r);Object.defineProperty(a,"target",{writable:!0,value:{value:i}}),null==I||I(a)},S="string"!=typeof s,q=[a.default["native-input"]],w=[a.default.input,a.default.radio],x=[a.default.input,a.default.circle];return m&&q.push(a.default.error),l&&w.push(a.default.disabled)&&x.push(a.default.disabled),e.createElement(o.FormSelectorWrapper,{...g,className:`${a.default["radio-wrapper"]} ${n??""}`,containerProps:{className:a.default["radio-container"]},helperText:d,helperProps:j,parentErrorId:p,errorId:v,errorMessage:f,errorMessageProps:{...h,className:`${null==h?void 0:h.className} ${a.default["error-message"]}`},error:m,disabled:l,identifier:N},e.createElement("input",{...E,ref:y,disabled:l,"aria-disabled":l,tabIndex:0,className:q.join(" "),onChange:P,checked:b,"aria-checked":b,"aria-describedby":F,name:c,value:i,id:`${N}-radio`,type:"radio"}),b?e.createElement(r.Icon,{className:w.join(" "),icon:r.Icons.Radio}):e.createElement(e.Fragment,null),b?e.createElement(e.Fragment,null):e.createElement(r.Icon,{className:x.join(" "),icon:r.Icons.Circle}),e.createElement("label",{className:S?a.default["no-margin-top"]:"",onClick:P,htmlFor:`${N}-radio`},s))})));exports.Radio=s;
|
|
2
2
|
//# sourceMappingURL=Radio.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Radio.cjs.js","sources":["../../../../src/components/Form/Radio/Radio.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef } from \"react\";\nimport { Icon, Icons } from \"../../Icon/Icon\";\nimport { Props as HelperProps } from \"../FormHelperText/FormHelperText\";\nimport classes from \"./Radio.module.scss\";\nimport { useFormSelector } from \"../../../hooks/useFormSelector\";\nimport { FormSelector } from \"../form.interfaces\";\nimport {\n FormSelectorWrapper,\n Props as FormSelectorWrapperProps\n} from \"../FormSelectorWrapper/FormSelectorWrapper\";\nimport { withReadOnly } from \"../../withReadOnly\";\n\nexport interface Props extends ComponentPropsWithRef<\"input\">, Omit<FormSelector, \"success\"> {\n children: string | React.ReactNode;\n value: string;\n formSelectorWrapperProps?: FormSelectorWrapperProps;\n helperProps?: HelperProps;\n}\n\nconst RadioComponent: ForwardRefRenderFunction<HTMLInputElement, Props> = (\n {\n children,\n disabled,\n className,\n value,\n name,\n helperText,\n parentErrorId,\n parentHelperId,\n error,\n errorMessage,\n errorMessageProps,\n checked = false,\n formSelectorWrapperProps,\n helperProps,\n onChange,\n ...rest\n }: Props,\n ref\n) => {\n const { errorId, identifier, describedBy } = useFormSelector({\n name,\n helperText,\n parentErrorId,\n errorMessage,\n error,\n parentHelperId\n });\n\n const onChangeHandler = (\n event: React.ChangeEvent<HTMLInputElement> | React.MouseEvent | React.KeyboardEvent\n ) => {\n if (disabled) {\n return;\n }\n /** We have to clone the native event we got here and change the \"target\" property to the value. Otherwise, this regular event has \"on\" as it's event.target.value, which is useless. */\n /* eslint-disable-next-line @typescript-eslint/no-explicit-any */\n const nativeEvent: any = event.nativeEvent || event;\n const clonedEvent = new nativeEvent.constructor(nativeEvent.type, nativeEvent);\n\n Object.defineProperty(clonedEvent, \"target\", {\n writable: true,\n value: { value: value }\n });\n\n onChange?.(clonedEvent);\n };\n\n const customLabel = typeof children !== \"string\";\n\n const nativeInputClasses = [classes[\"native-input\"]];\n const checkedRadioClasses = [classes[\"input\"], classes[\"radio\"]];\n const uncheckedRadioClasses = [classes[\"input\"], classes[\"circle\"]];\n error && nativeInputClasses.push(classes[\"error\"]);\n disabled &&\n checkedRadioClasses.push(classes[\"disabled\"]) &&\n uncheckedRadioClasses.push(classes[\"disabled\"]);\n return (\n <FormSelectorWrapper\n {...formSelectorWrapperProps}\n className={`${classes[\"radio-wrapper\"]} ${className ?? \"\"}`}\n containerProps={{ className: classes[\"radio-container\"] }}\n helperText={helperText}\n helperProps={helperProps}\n parentErrorId={parentErrorId}\n errorId={errorId}\n errorMessage={errorMessage}\n errorMessageProps={{\n ...errorMessageProps,\n className: `${errorMessageProps?.className} ${classes[\"error-message\"]}`\n }}\n error={error}\n disabled={disabled}\n identifier={identifier}\n >\n <input\n {...rest}\n ref={ref}\n disabled={disabled}\n tabIndex={0}\n className={nativeInputClasses.join(\" \")}\n onChange={onChangeHandler}\n checked={checked}\n aria-checked={checked}\n aria-describedby={describedBy}\n name={name}\n value={value}\n id={`${identifier}-radio`}\n type=\"radio\"\n />\n\n {checked ? <Icon className={checkedRadioClasses.join(\" \")} icon={Icons.Radio} /> : <></>}\n {!checked ? <Icon className={uncheckedRadioClasses.join(\" \")} icon={Icons.Circle} /> : <></>}\n\n <label\n className={customLabel ? classes[\"no-margin-top\"] : \"\"}\n onClick={onChangeHandler}\n htmlFor={`${identifier}-radio`}\n >\n {children}\n </label>\n </FormSelectorWrapper>\n );\n};\n\nexport const Radio = withReadOnly(React.forwardRef(RadioComponent));\n"],"names":["Radio","withReadOnly","React","forwardRef","children","disabled","className","value","name","helperText","parentErrorId","parentHelperId","error","errorMessage","errorMessageProps","checked","formSelectorWrapperProps","helperProps","onChange","rest","ref","errorId","identifier","describedBy","useFormSelector","onChangeHandler","event","nativeEvent","clonedEvent","constructor","type","Object","defineProperty","writable","customLabel","nativeInputClasses","classes","checkedRadioClasses","default","uncheckedRadioClasses","push","createElement","FormSelectorWrapper","containerProps","tabIndex","join","id","Icon","icon","Icons","Fragment","Circle","onClick","htmlFor"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Radio.cjs.js","sources":["../../../../src/components/Form/Radio/Radio.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef } from \"react\";\nimport { Icon, Icons } from \"../../Icon/Icon\";\nimport { Props as HelperProps } from \"../FormHelperText/FormHelperText\";\nimport classes from \"./Radio.module.scss\";\nimport { useFormSelector } from \"../../../hooks/useFormSelector\";\nimport { FormSelector } from \"../form.interfaces\";\nimport {\n FormSelectorWrapper,\n Props as FormSelectorWrapperProps\n} from \"../FormSelectorWrapper/FormSelectorWrapper\";\nimport { withReadOnly } from \"../../withReadOnly\";\n\nexport interface Props extends ComponentPropsWithRef<\"input\">, Omit<FormSelector, \"success\"> {\n children: string | React.ReactNode;\n value: string;\n formSelectorWrapperProps?: FormSelectorWrapperProps;\n helperProps?: HelperProps;\n}\n\nconst RadioComponent: ForwardRefRenderFunction<HTMLInputElement, Props> = (\n {\n children,\n disabled,\n className,\n value,\n name,\n helperText,\n parentErrorId,\n parentHelperId,\n error,\n errorMessage,\n errorMessageProps,\n checked = false,\n formSelectorWrapperProps,\n helperProps,\n onChange,\n ...rest\n }: Props,\n ref\n) => {\n const { errorId, identifier, describedBy } = useFormSelector({\n name,\n helperText,\n parentErrorId,\n errorMessage,\n error,\n parentHelperId\n });\n\n const onChangeHandler = (\n event: React.ChangeEvent<HTMLInputElement> | React.MouseEvent | React.KeyboardEvent\n ) => {\n if (disabled) {\n return;\n }\n /** We have to clone the native event we got here and change the \"target\" property to the value. Otherwise, this regular event has \"on\" as it's event.target.value, which is useless. */\n /* eslint-disable-next-line @typescript-eslint/no-explicit-any */\n const nativeEvent: any = event.nativeEvent || event;\n const clonedEvent = new nativeEvent.constructor(nativeEvent.type, nativeEvent);\n\n Object.defineProperty(clonedEvent, \"target\", {\n writable: true,\n value: { value: value }\n });\n\n onChange?.(clonedEvent);\n };\n\n const customLabel = typeof children !== \"string\";\n\n const nativeInputClasses = [classes[\"native-input\"]];\n const checkedRadioClasses = [classes[\"input\"], classes[\"radio\"]];\n const uncheckedRadioClasses = [classes[\"input\"], classes[\"circle\"]];\n error && nativeInputClasses.push(classes[\"error\"]);\n disabled &&\n checkedRadioClasses.push(classes[\"disabled\"]) &&\n uncheckedRadioClasses.push(classes[\"disabled\"]);\n return (\n <FormSelectorWrapper\n {...formSelectorWrapperProps}\n className={`${classes[\"radio-wrapper\"]} ${className ?? \"\"}`}\n containerProps={{ className: classes[\"radio-container\"] }}\n helperText={helperText}\n helperProps={helperProps}\n parentErrorId={parentErrorId}\n errorId={errorId}\n errorMessage={errorMessage}\n errorMessageProps={{\n ...errorMessageProps,\n className: `${errorMessageProps?.className} ${classes[\"error-message\"]}`\n }}\n error={error}\n disabled={disabled}\n identifier={identifier}\n >\n <input\n {...rest}\n ref={ref}\n disabled={disabled}\n aria-disabled={disabled}\n tabIndex={0}\n className={nativeInputClasses.join(\" \")}\n onChange={onChangeHandler}\n checked={checked}\n aria-checked={checked}\n aria-describedby={describedBy}\n name={name}\n value={value}\n id={`${identifier}-radio`}\n type=\"radio\"\n />\n\n {checked ? <Icon className={checkedRadioClasses.join(\" \")} icon={Icons.Radio} /> : <></>}\n {!checked ? <Icon className={uncheckedRadioClasses.join(\" \")} icon={Icons.Circle} /> : <></>}\n\n <label\n className={customLabel ? classes[\"no-margin-top\"] : \"\"}\n onClick={onChangeHandler}\n htmlFor={`${identifier}-radio`}\n >\n {children}\n </label>\n </FormSelectorWrapper>\n );\n};\n\nexport const Radio = withReadOnly(React.forwardRef(RadioComponent));\n"],"names":["Radio","withReadOnly","React","forwardRef","children","disabled","className","value","name","helperText","parentErrorId","parentHelperId","error","errorMessage","errorMessageProps","checked","formSelectorWrapperProps","helperProps","onChange","rest","ref","errorId","identifier","describedBy","useFormSelector","onChangeHandler","event","nativeEvent","clonedEvent","constructor","type","Object","defineProperty","writable","customLabel","nativeInputClasses","classes","checkedRadioClasses","default","uncheckedRadioClasses","push","createElement","FormSelectorWrapper","containerProps","tabIndex","join","id","Icon","icon","Icons","Fragment","Circle","onClick","htmlFor"],"mappings":"uSA8IaA,uCAAQC,aAAaC,EAAMC,YA3GkC,EAEtEC,WACAC,WACAC,YACAC,QACAC,OACAC,aACAC,gBACAC,iBACAC,QACAC,eACAC,oBACAC,WAAU,EACVC,2BACAC,cACAC,cACGC,GAELC,KAEA,MAAMC,QAAEA,EAASC,WAAAA,EAAAC,YAAYA,GAAgBC,EAAAA,gBAAgB,CAC3DhB,OACAC,aACAC,gBACAG,eACAD,QACAD,mBAGIc,EACJC,IAEA,GAAIrB,EACF,OAII,MAAAsB,EAAmBD,EAAMC,aAAeD,EACxCE,EAAc,IAAID,EAAYE,YAAYF,EAAYG,KAAMH,GAE3DI,OAAAC,eAAeJ,EAAa,SAAU,CAC3CK,UAAU,EACV1B,MAAO,CAAEA,WAGA,MAAAW,GAAAA,EAAAU,EAAA,EAGPM,EAAkC,iBAAb9B,EAErB+B,EAAqB,CAACC,UAAQ,iBAC9BC,EAAsB,CAACD,EAAAE,QAAe,MAAGF,EAAAA,QAAe,OACxDG,EAAwB,CAACH,EAAAE,QAAe,MAAGF,EAAAA,QAAgB,QAM/D,OALFxB,GAASuB,EAAmBK,KAAKJ,EAAQE,QAAO,OAE9CjC,GAAAgC,EAAoBG,KAAKJ,EAAAA,QAAkB,WAC3CG,EAAsBC,KAAKJ,UAAkB,UAE7ClC,EAAAuC,cAACC,EAAAA,oBAAA,IACK1B,EACJV,UAAW,GAAG8B,UAAQ,oBAAoB9B,GAAa,KACvDqC,eAAgB,CAAErC,UAAW8B,EAAAE,QAAQ,oBACrC7B,aACAQ,cACAP,gBACAW,UACAR,eACAC,kBAAmB,IACdA,EACHR,UAAW,GAAsB,MAAnBQ,OAAmB,EAAAA,EAAAR,aAAa8B,EAAAA,QAAQ,oBAExDxB,QACAP,WACAiB,cAEApB,EAAAuC,cAAC,QAAA,IACKtB,EACJC,MACAf,WACA,gBAAeA,EACfuC,SAAU,EACVtC,UAAW6B,EAAmBU,KAAK,KACnC3B,SAAUO,EACVV,UACA,eAAcA,EACd,mBAAkBQ,EAClBf,OACAD,QACAuC,GAAI,GAAGxB,UACPQ,KAAK,UAGNf,IAAU0B,cAACM,EAAAA,KAAK,CAAAzC,UAAW+B,EAAoBQ,KAAK,KAAMG,KAAMC,EAAAA,MAAMjD,QAAcE,EAAAuC,cAAAvC,EAAAgD,SAAA,MACnFnC,EAAuFb,EAAAuC,cAAAvC,EAAAgD,SAAA,MAA5EhD,EAAAuC,cAAAM,EAAAA,KAAA,CAAKzC,UAAWiC,EAAsBM,KAAK,KAAMG,KAAMC,EAAMA,MAAAE,SAE1EjD,EAAAuC,cAAC,QAAA,CACCnC,UAAW4B,EAAcE,UAAQ,iBAAmB,GACpDgB,QAAS3B,EACT4B,QAAS,GAAG/B,WAEXlB,GAEL"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Radio.es.js","sources":["../../../../src/components/Form/Radio/Radio.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef } from \"react\";\nimport { Icon, Icons } from \"../../Icon/Icon\";\nimport { Props as HelperProps } from \"../FormHelperText/FormHelperText\";\nimport classes from \"./Radio.module.scss\";\nimport { useFormSelector } from \"../../../hooks/useFormSelector\";\nimport { FormSelector } from \"../form.interfaces\";\nimport {\n FormSelectorWrapper,\n Props as FormSelectorWrapperProps\n} from \"../FormSelectorWrapper/FormSelectorWrapper\";\nimport { withReadOnly } from \"../../withReadOnly\";\n\nexport interface Props extends ComponentPropsWithRef<\"input\">, Omit<FormSelector, \"success\"> {\n children: string | React.ReactNode;\n value: string;\n formSelectorWrapperProps?: FormSelectorWrapperProps;\n helperProps?: HelperProps;\n}\n\nconst RadioComponent: ForwardRefRenderFunction<HTMLInputElement, Props> = (\n {\n children,\n disabled,\n className,\n value,\n name,\n helperText,\n parentErrorId,\n parentHelperId,\n error,\n errorMessage,\n errorMessageProps,\n checked = false,\n formSelectorWrapperProps,\n helperProps,\n onChange,\n ...rest\n }: Props,\n ref\n) => {\n const { errorId, identifier, describedBy } = useFormSelector({\n name,\n helperText,\n parentErrorId,\n errorMessage,\n error,\n parentHelperId\n });\n\n const onChangeHandler = (\n event: React.ChangeEvent<HTMLInputElement> | React.MouseEvent | React.KeyboardEvent\n ) => {\n if (disabled) {\n return;\n }\n /** We have to clone the native event we got here and change the \"target\" property to the value. Otherwise, this regular event has \"on\" as it's event.target.value, which is useless. */\n /* eslint-disable-next-line @typescript-eslint/no-explicit-any */\n const nativeEvent: any = event.nativeEvent || event;\n const clonedEvent = new nativeEvent.constructor(nativeEvent.type, nativeEvent);\n\n Object.defineProperty(clonedEvent, \"target\", {\n writable: true,\n value: { value: value }\n });\n\n onChange?.(clonedEvent);\n };\n\n const customLabel = typeof children !== \"string\";\n\n const nativeInputClasses = [classes[\"native-input\"]];\n const checkedRadioClasses = [classes[\"input\"], classes[\"radio\"]];\n const uncheckedRadioClasses = [classes[\"input\"], classes[\"circle\"]];\n error && nativeInputClasses.push(classes[\"error\"]);\n disabled &&\n checkedRadioClasses.push(classes[\"disabled\"]) &&\n uncheckedRadioClasses.push(classes[\"disabled\"]);\n return (\n <FormSelectorWrapper\n {...formSelectorWrapperProps}\n className={`${classes[\"radio-wrapper\"]} ${className ?? \"\"}`}\n containerProps={{ className: classes[\"radio-container\"] }}\n helperText={helperText}\n helperProps={helperProps}\n parentErrorId={parentErrorId}\n errorId={errorId}\n errorMessage={errorMessage}\n errorMessageProps={{\n ...errorMessageProps,\n className: `${errorMessageProps?.className} ${classes[\"error-message\"]}`\n }}\n error={error}\n disabled={disabled}\n identifier={identifier}\n >\n <input\n {...rest}\n ref={ref}\n disabled={disabled}\n tabIndex={0}\n className={nativeInputClasses.join(\" \")}\n onChange={onChangeHandler}\n checked={checked}\n aria-checked={checked}\n aria-describedby={describedBy}\n name={name}\n value={value}\n id={`${identifier}-radio`}\n type=\"radio\"\n />\n\n {checked ? <Icon className={checkedRadioClasses.join(\" \")} icon={Icons.Radio} /> : <></>}\n {!checked ? <Icon className={uncheckedRadioClasses.join(\" \")} icon={Icons.Circle} /> : <></>}\n\n <label\n className={customLabel ? classes[\"no-margin-top\"] : \"\"}\n onClick={onChangeHandler}\n htmlFor={`${identifier}-radio`}\n >\n {children}\n </label>\n </FormSelectorWrapper>\n );\n};\n\nexport const Radio = withReadOnly(React.forwardRef(RadioComponent));\n"],"names":[],"mappings":";;;;;;AAmCA,MAAM,iBAAoE,CACxE;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,UAAU;AAAA,EACV;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,GACA,QACG;AACH,QAAM,EAAE,SAAS,YAAY,YAAA,IAAgB,gBAAgB;AAAA,IAC3D;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA,CACD;AAEK,QAAA,kBAAkB,CACtB,UACG;AACH,QAAI,UAAU;AACZ;AAAA,IAAA;AAII,UAAA,cAAmB,MAAM,eAAe;AAC9C,UAAM,cAAc,IAAI,YAAY,YAAY,YAAY,MAAM,WAAW;AAEtE,WAAA,eAAe,aAAa,UAAU;AAAA,MAC3C,UAAU;AAAA,MACV,OAAO,EAAE,MAAa;AAAA,IAAA,CACvB;AAED,yCAAW;AAAA,EACb;AAEM,QAAA,cAAc,OAAO,aAAa;AAExC,QAAM,qBAAqB,CAAC,QAAQ,cAAc,CAAC;AACnD,QAAM,sBAAsB,CAAC,QAAQ,OAAO,GAAG,QAAQ,OAAO,CAAC;AAC/D,QAAM,wBAAwB,CAAC,QAAQ,OAAO,GAAG,QAAQ,QAAQ,CAAC;AAClE,WAAS,mBAAmB,KAAK,QAAQ,OAAO,CAAC;AAE/C,cAAA,oBAAoB,KAAK,QAAQ,UAAU,CAAC,KAC5C,sBAAsB,KAAK,QAAQ,UAAU,CAAC;AAE9C,SAAA,sBAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,QAAQ,eAAe,CAAC,IAAI,aAAa,EAAE;AAAA,MACzD,gBAAgB,EAAE,WAAW,QAAQ,iBAAiB,EAAE;AAAA,MACxD;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA,mBAAmB;AAAA,QACjB,GAAG;AAAA,QACH,WAAW,GAAG,uDAAmB,SAAS,IAAI,QAAQ,eAAe,CAAC;AAAA,MACxE;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IAAA;AAAA,IAEA,sBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACE,GAAG;AAAA,QACJ;AAAA,QACA;AAAA,QACA,UAAU;AAAA,QACV,WAAW,mBAAmB,KAAK,GAAG;AAAA,QACtC,UAAU;AAAA,QACV;AAAA,QACA,gBAAc;AAAA,QACd,oBAAkB;AAAA,QAClB;AAAA,QACA;AAAA,QACA,IAAI,GAAG,UAAU;AAAA,QACjB,MAAK;AAAA,MAAA;AAAA,IACP;AAAA,IAEC,UAAU,sBAAA,cAAC,MAAK,EAAA,WAAW,oBAAoB,KAAK,GAAG,GAAG,MAAM,MAAM,MAAO,CAAA,IAAO,sBAAA,cAAA,MAAA,UAAA,IAAA;AAAA,IACpF,CAAC,UAAW,sBAAA,cAAA,MAAA,EAAK,WAAW,sBAAsB,KAAK,GAAG,GAAG,MAAM,MAAM,OAAA,CAAQ,IAAO,sBAAA,cAAA,MAAA,UAAA,IAAA;AAAA,IAEzF,sBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAW,cAAc,QAAQ,eAAe,IAAI;AAAA,QACpD,SAAS;AAAA,QACT,SAAS,GAAG,UAAU;AAAA,MAAA;AAAA,MAErB;AAAA,IAAA;AAAA,EAEL;AAEJ;AAEO,MAAM,QAAQ,aAAa,MAAM,WAAW,cAAc,CAAC;"}
|
|
1
|
+
{"version":3,"file":"Radio.es.js","sources":["../../../../src/components/Form/Radio/Radio.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { ForwardRefRenderFunction, ComponentPropsWithRef } from \"react\";\nimport { Icon, Icons } from \"../../Icon/Icon\";\nimport { Props as HelperProps } from \"../FormHelperText/FormHelperText\";\nimport classes from \"./Radio.module.scss\";\nimport { useFormSelector } from \"../../../hooks/useFormSelector\";\nimport { FormSelector } from \"../form.interfaces\";\nimport {\n FormSelectorWrapper,\n Props as FormSelectorWrapperProps\n} from \"../FormSelectorWrapper/FormSelectorWrapper\";\nimport { withReadOnly } from \"../../withReadOnly\";\n\nexport interface Props extends ComponentPropsWithRef<\"input\">, Omit<FormSelector, \"success\"> {\n children: string | React.ReactNode;\n value: string;\n formSelectorWrapperProps?: FormSelectorWrapperProps;\n helperProps?: HelperProps;\n}\n\nconst RadioComponent: ForwardRefRenderFunction<HTMLInputElement, Props> = (\n {\n children,\n disabled,\n className,\n value,\n name,\n helperText,\n parentErrorId,\n parentHelperId,\n error,\n errorMessage,\n errorMessageProps,\n checked = false,\n formSelectorWrapperProps,\n helperProps,\n onChange,\n ...rest\n }: Props,\n ref\n) => {\n const { errorId, identifier, describedBy } = useFormSelector({\n name,\n helperText,\n parentErrorId,\n errorMessage,\n error,\n parentHelperId\n });\n\n const onChangeHandler = (\n event: React.ChangeEvent<HTMLInputElement> | React.MouseEvent | React.KeyboardEvent\n ) => {\n if (disabled) {\n return;\n }\n /** We have to clone the native event we got here and change the \"target\" property to the value. Otherwise, this regular event has \"on\" as it's event.target.value, which is useless. */\n /* eslint-disable-next-line @typescript-eslint/no-explicit-any */\n const nativeEvent: any = event.nativeEvent || event;\n const clonedEvent = new nativeEvent.constructor(nativeEvent.type, nativeEvent);\n\n Object.defineProperty(clonedEvent, \"target\", {\n writable: true,\n value: { value: value }\n });\n\n onChange?.(clonedEvent);\n };\n\n const customLabel = typeof children !== \"string\";\n\n const nativeInputClasses = [classes[\"native-input\"]];\n const checkedRadioClasses = [classes[\"input\"], classes[\"radio\"]];\n const uncheckedRadioClasses = [classes[\"input\"], classes[\"circle\"]];\n error && nativeInputClasses.push(classes[\"error\"]);\n disabled &&\n checkedRadioClasses.push(classes[\"disabled\"]) &&\n uncheckedRadioClasses.push(classes[\"disabled\"]);\n return (\n <FormSelectorWrapper\n {...formSelectorWrapperProps}\n className={`${classes[\"radio-wrapper\"]} ${className ?? \"\"}`}\n containerProps={{ className: classes[\"radio-container\"] }}\n helperText={helperText}\n helperProps={helperProps}\n parentErrorId={parentErrorId}\n errorId={errorId}\n errorMessage={errorMessage}\n errorMessageProps={{\n ...errorMessageProps,\n className: `${errorMessageProps?.className} ${classes[\"error-message\"]}`\n }}\n error={error}\n disabled={disabled}\n identifier={identifier}\n >\n <input\n {...rest}\n ref={ref}\n disabled={disabled}\n aria-disabled={disabled}\n tabIndex={0}\n className={nativeInputClasses.join(\" \")}\n onChange={onChangeHandler}\n checked={checked}\n aria-checked={checked}\n aria-describedby={describedBy}\n name={name}\n value={value}\n id={`${identifier}-radio`}\n type=\"radio\"\n />\n\n {checked ? <Icon className={checkedRadioClasses.join(\" \")} icon={Icons.Radio} /> : <></>}\n {!checked ? <Icon className={uncheckedRadioClasses.join(\" \")} icon={Icons.Circle} /> : <></>}\n\n <label\n className={customLabel ? classes[\"no-margin-top\"] : \"\"}\n onClick={onChangeHandler}\n htmlFor={`${identifier}-radio`}\n >\n {children}\n </label>\n </FormSelectorWrapper>\n );\n};\n\nexport const Radio = withReadOnly(React.forwardRef(RadioComponent));\n"],"names":[],"mappings":";;;;;;AAmCA,MAAM,iBAAoE,CACxE;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,UAAU;AAAA,EACV;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,GACA,QACG;AACH,QAAM,EAAE,SAAS,YAAY,YAAA,IAAgB,gBAAgB;AAAA,IAC3D;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA,CACD;AAEK,QAAA,kBAAkB,CACtB,UACG;AACH,QAAI,UAAU;AACZ;AAAA,IAAA;AAII,UAAA,cAAmB,MAAM,eAAe;AAC9C,UAAM,cAAc,IAAI,YAAY,YAAY,YAAY,MAAM,WAAW;AAEtE,WAAA,eAAe,aAAa,UAAU;AAAA,MAC3C,UAAU;AAAA,MACV,OAAO,EAAE,MAAa;AAAA,IAAA,CACvB;AAED,yCAAW;AAAA,EACb;AAEM,QAAA,cAAc,OAAO,aAAa;AAExC,QAAM,qBAAqB,CAAC,QAAQ,cAAc,CAAC;AACnD,QAAM,sBAAsB,CAAC,QAAQ,OAAO,GAAG,QAAQ,OAAO,CAAC;AAC/D,QAAM,wBAAwB,CAAC,QAAQ,OAAO,GAAG,QAAQ,QAAQ,CAAC;AAClE,WAAS,mBAAmB,KAAK,QAAQ,OAAO,CAAC;AAE/C,cAAA,oBAAoB,KAAK,QAAQ,UAAU,CAAC,KAC5C,sBAAsB,KAAK,QAAQ,UAAU,CAAC;AAE9C,SAAA,sBAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,QAAQ,eAAe,CAAC,IAAI,aAAa,EAAE;AAAA,MACzD,gBAAgB,EAAE,WAAW,QAAQ,iBAAiB,EAAE;AAAA,MACxD;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA,mBAAmB;AAAA,QACjB,GAAG;AAAA,QACH,WAAW,GAAG,uDAAmB,SAAS,IAAI,QAAQ,eAAe,CAAC;AAAA,MACxE;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IAAA;AAAA,IAEA,sBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACE,GAAG;AAAA,QACJ;AAAA,QACA;AAAA,QACA,iBAAe;AAAA,QACf,UAAU;AAAA,QACV,WAAW,mBAAmB,KAAK,GAAG;AAAA,QACtC,UAAU;AAAA,QACV;AAAA,QACA,gBAAc;AAAA,QACd,oBAAkB;AAAA,QAClB;AAAA,QACA;AAAA,QACA,IAAI,GAAG,UAAU;AAAA,QACjB,MAAK;AAAA,MAAA;AAAA,IACP;AAAA,IAEC,UAAU,sBAAA,cAAC,MAAK,EAAA,WAAW,oBAAoB,KAAK,GAAG,GAAG,MAAM,MAAM,MAAO,CAAA,IAAO,sBAAA,cAAA,MAAA,UAAA,IAAA;AAAA,IACpF,CAAC,UAAW,sBAAA,cAAA,MAAA,EAAK,WAAW,sBAAsB,KAAK,GAAG,GAAG,MAAM,MAAM,OAAA,CAAQ,IAAO,sBAAA,cAAA,MAAA,UAAA,IAAA;AAAA,IAEzF,sBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAW,cAAc,QAAQ,eAAe,IAAI;AAAA,QACpD,SAAS;AAAA,QACT,SAAS,GAAG,UAAU;AAAA,MAAA;AAAA,MAErB;AAAA,IAAA;AAAA,EAEL;AAEJ;AAEO,MAAM,QAAQ,aAAa,MAAM,WAAW,cAAc,CAAC;"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var o=document.createElement("style");o.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.Radio_radio-
|
|
2
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r="
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var o=document.createElement("style");o.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.Radio_radio-wrapper_vc4dh{position:relative}.Radio_radio-wrapper_vc4dh+.Radio_radio-wrapper_vc4dh{margin-top:.75rem}.Radio_error_vc4dh{color:var(--error)}.Radio_error-message_vc4dh{margin-top:.25rem;margin-left:calc(1.75 * var(--font-size));font-size:var(--font-size-sub)}.Radio_helper-text_vc4dh{margin-top:.25rem;margin-left:1.75rem}.Radio_error-icon_vc4dh{margin-right:.5rem;font-size:var(--font-size-big)}.Radio_radio-container_vc4dh{display:flex}.Radio_radio-container_vc4dh label{display:inline-block;margin-left:calc(.5 * var(--font-size));font-size:var(--font-size-form-label);font-family:var(--font-family);margin-top:.15rem}.Radio_radio-container_vc4dh label.Radio_no-margin-top_vc4dh{margin-top:0}.Radio_disabled_vc4dh .Radio_radio-container_vc4dh label{cursor:not-allowed}.Radio_native-input_vc4dh{position:absolute;top:0;left:0;opacity:0;margin:0;width:var(--font-size-big);height:var(--font-size-big);z-index:2}.Radio_native-input_vc4dh+span[data-icon=true]:before{display:block;width:var(--font-size-big);height:var(--font-size-big)}.Radio_native-input_vc4dh:checked+*{color:var(--radio-checked-color)}.Radio_native-input_vc4dh:checked+*.Radio_disabled_vc4dh{color:var(--disabled);cursor:not-allowed;pointer-events:none}.Radio_native-input_vc4dh:focus-visible+*{border-radius:100%;outline:2px solid var(--color-focus);outline-offset:2px}.Radio_native-input_vc4dh.Radio_error_vc4dh+*{border-radius:100%}.Radio_native-input_vc4dh.Radio_error_vc4dh:hover+.Radio_radio_vc4dh:before{outline-color:var(--radio-hover-background-color)}.Radio_native-input_vc4dh.Radio_error_vc4dh:active+.Radio_radio_vc4dh:before{outline-color:var(--radio-pressed-background-color)}.Radio_native-input_vc4dh:hover+.Radio_input_vc4dh.Radio_circle_vc4dh:not(.Radio_disabled_vc4dh){background-color:var(--radio-hover-background-color)}.Radio_native-input_vc4dh:active+.Radio_input_vc4dh.Radio_circle_vc4dh:not(.Radio_disabled_vc4dh){background-color:var(--radio-pressed-background-color)}.Radio_native-input_vc4dh:hover+.Radio_input_vc4dh.Radio_radio_vc4dh:not(.Radio_disabled_vc4dh){background-color:var(--radio-hover-background-color);color:var(--radio-hover-color)}.Radio_native-input_vc4dh:active+.Radio_input_vc4dh.Radio_radio_vc4dh:not(.Radio_disabled_vc4dh){color:var(--radio-pressed-color);background-color:var(--radio-pressed-background-color)}.Radio_input_vc4dh{font-size:var(--font-size-big);width:var(--font-size-big);height:var(--font-size-big);z-index:1;border-radius:100%;color:var(--color-blue-grey500)}.Radio_input_vc4dh:active{border-radius:100%}.Radio_disabled_vc4dh .Radio_input_vc4dh{color:var(--disabled)}.Radio_disabled_vc4dh{color:var(--disabled);pointer-events:none}[data-readonlyview=true] .Radio_radio-wrapper_vc4dh{color:var(--read-only-text-color)}[data-readonlyview=true] .Radio_radio-wrapper_vc4dh span.Radio_input_vc4dh{color:var(--read-only-text-color);cursor:not-allowed}[data-readonlyview=true] .Radio_radio-wrapper_vc4dh span.Radio_input_vc4dh:before{outline:1px solid var(--read-only-border-color);outline-offset:-1px;border-radius:50%}[data-readonlyview=true] .Radio_radio-wrapper_vc4dh label{-webkit-user-select:text;user-select:text}.Radio_radio-container_vc4dh input[type=radio][data-readonlyview=true]~span.Radio_input_vc4dh{color:var(--read-only-text-color);cursor:not-allowed}.Radio_radio-container_vc4dh input[type=radio][data-readonlyview=true]~span.Radio_input_vc4dh:before{outline:1px solid var(--read-only-border-color);outline-offset:-1px;border-radius:50%}.Radio_radio-container_vc4dh input[type=radio][data-readonlyview=true]~label{-webkit-user-select:text;user-select:text;pointer-events:none}.Radio_radio-container_vc4dh input[type=radio][data-readonlyview=true] :focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}')),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r="Radio_error_vc4dh",o="Radio_disabled_vc4dh",e="Radio_radio_vc4dh",i="Radio_input_vc4dh",d="Radio_circle_vc4dh",a={"radio-wrapper":"Radio_radio-wrapper_vc4dh",error:r,"error-message":"Radio_error-message_vc4dh","radio-container":"Radio_radio-container_vc4dh","no-margin-top":"Radio_no-margin-top_vc4dh",disabled:o,"native-input":"Radio_native-input_vc4dh",radio:e,input:i,circle:d};exports.circle=d,exports.default=a,exports.disabled=o,exports.error=r,exports.input=i,exports.radio=e;
|
|
3
3
|
//# sourceMappingURL=Radio.module.scss.cjs.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var o=document.createElement("style");o.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.Radio_radio-
|
|
2
|
-
const error = "
|
|
3
|
-
const disabled = "
|
|
4
|
-
const radio = "
|
|
5
|
-
const input = "
|
|
6
|
-
const circle = "
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var o=document.createElement("style");o.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.Radio_radio-wrapper_vc4dh{position:relative}.Radio_radio-wrapper_vc4dh+.Radio_radio-wrapper_vc4dh{margin-top:.75rem}.Radio_error_vc4dh{color:var(--error)}.Radio_error-message_vc4dh{margin-top:.25rem;margin-left:calc(1.75 * var(--font-size));font-size:var(--font-size-sub)}.Radio_helper-text_vc4dh{margin-top:.25rem;margin-left:1.75rem}.Radio_error-icon_vc4dh{margin-right:.5rem;font-size:var(--font-size-big)}.Radio_radio-container_vc4dh{display:flex}.Radio_radio-container_vc4dh label{display:inline-block;margin-left:calc(.5 * var(--font-size));font-size:var(--font-size-form-label);font-family:var(--font-family);margin-top:.15rem}.Radio_radio-container_vc4dh label.Radio_no-margin-top_vc4dh{margin-top:0}.Radio_disabled_vc4dh .Radio_radio-container_vc4dh label{cursor:not-allowed}.Radio_native-input_vc4dh{position:absolute;top:0;left:0;opacity:0;margin:0;width:var(--font-size-big);height:var(--font-size-big);z-index:2}.Radio_native-input_vc4dh+span[data-icon=true]:before{display:block;width:var(--font-size-big);height:var(--font-size-big)}.Radio_native-input_vc4dh:checked+*{color:var(--radio-checked-color)}.Radio_native-input_vc4dh:checked+*.Radio_disabled_vc4dh{color:var(--disabled);cursor:not-allowed;pointer-events:none}.Radio_native-input_vc4dh:focus-visible+*{border-radius:100%;outline:2px solid var(--color-focus);outline-offset:2px}.Radio_native-input_vc4dh.Radio_error_vc4dh+*{border-radius:100%}.Radio_native-input_vc4dh.Radio_error_vc4dh:hover+.Radio_radio_vc4dh:before{outline-color:var(--radio-hover-background-color)}.Radio_native-input_vc4dh.Radio_error_vc4dh:active+.Radio_radio_vc4dh:before{outline-color:var(--radio-pressed-background-color)}.Radio_native-input_vc4dh:hover+.Radio_input_vc4dh.Radio_circle_vc4dh:not(.Radio_disabled_vc4dh){background-color:var(--radio-hover-background-color)}.Radio_native-input_vc4dh:active+.Radio_input_vc4dh.Radio_circle_vc4dh:not(.Radio_disabled_vc4dh){background-color:var(--radio-pressed-background-color)}.Radio_native-input_vc4dh:hover+.Radio_input_vc4dh.Radio_radio_vc4dh:not(.Radio_disabled_vc4dh){background-color:var(--radio-hover-background-color);color:var(--radio-hover-color)}.Radio_native-input_vc4dh:active+.Radio_input_vc4dh.Radio_radio_vc4dh:not(.Radio_disabled_vc4dh){color:var(--radio-pressed-color);background-color:var(--radio-pressed-background-color)}.Radio_input_vc4dh{font-size:var(--font-size-big);width:var(--font-size-big);height:var(--font-size-big);z-index:1;border-radius:100%;color:var(--color-blue-grey500)}.Radio_input_vc4dh:active{border-radius:100%}.Radio_disabled_vc4dh .Radio_input_vc4dh{color:var(--disabled)}.Radio_disabled_vc4dh{color:var(--disabled);pointer-events:none}[data-readonlyview=true] .Radio_radio-wrapper_vc4dh{color:var(--read-only-text-color)}[data-readonlyview=true] .Radio_radio-wrapper_vc4dh span.Radio_input_vc4dh{color:var(--read-only-text-color);cursor:not-allowed}[data-readonlyview=true] .Radio_radio-wrapper_vc4dh span.Radio_input_vc4dh:before{outline:1px solid var(--read-only-border-color);outline-offset:-1px;border-radius:50%}[data-readonlyview=true] .Radio_radio-wrapper_vc4dh label{-webkit-user-select:text;user-select:text}.Radio_radio-container_vc4dh input[type=radio][data-readonlyview=true]~span.Radio_input_vc4dh{color:var(--read-only-text-color);cursor:not-allowed}.Radio_radio-container_vc4dh input[type=radio][data-readonlyview=true]~span.Radio_input_vc4dh:before{outline:1px solid var(--read-only-border-color);outline-offset:-1px;border-radius:50%}.Radio_radio-container_vc4dh input[type=radio][data-readonlyview=true]~label{-webkit-user-select:text;user-select:text;pointer-events:none}.Radio_radio-container_vc4dh input[type=radio][data-readonlyview=true] :focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}')),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
|
|
2
|
+
const error = "Radio_error_vc4dh";
|
|
3
|
+
const disabled = "Radio_disabled_vc4dh";
|
|
4
|
+
const radio = "Radio_radio_vc4dh";
|
|
5
|
+
const input = "Radio_input_vc4dh";
|
|
6
|
+
const circle = "Radio_circle_vc4dh";
|
|
7
7
|
const classes = {
|
|
8
|
-
"radio-wrapper": "Radio_radio-
|
|
8
|
+
"radio-wrapper": "Radio_radio-wrapper_vc4dh",
|
|
9
9
|
error,
|
|
10
|
-
"error-message": "Radio_error-
|
|
11
|
-
"radio-container": "Radio_radio-
|
|
12
|
-
"no-margin-top": "Radio_no-margin-
|
|
10
|
+
"error-message": "Radio_error-message_vc4dh",
|
|
11
|
+
"radio-container": "Radio_radio-container_vc4dh",
|
|
12
|
+
"no-margin-top": "Radio_no-margin-top_vc4dh",
|
|
13
13
|
disabled,
|
|
14
|
-
"native-input": "Radio_native-
|
|
14
|
+
"native-input": "Radio_native-input_vc4dh",
|
|
15
15
|
radio,
|
|
16
16
|
input,
|
|
17
17
|
circle
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.MultiSelect_sr-
|
|
2
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.MultiSelect_sr-only_vc4dh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.MultiSelect_hidden_vc4dh{display:none}.MultiSelect_slide-in_vc4dh{animation:MultiSelect_slide-in_vc4dh .5s forwards}@media (prefers-reduced-motion: reduce){.MultiSelect_slide-in_vc4dh{animation-duration:.1ms}}.MultiSelect_slide-out_vc4dh{animation:MultiSelect_slide-out_vc4dh .5s forwards}@media (prefers-reduced-motion: reduce){.MultiSelect_slide-out_vc4dh{animation-duration:.1ms}}@keyframes MultiSelect_slide-in_vc4dh{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes MultiSelect_slide-out_vc4dh{0%{transform:translateY(0)}to{transform:translateY(100vh)}}/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.MultiSelect_select_vc4dh{position:relative;box-sizing:border-box;border:0;border-radius:var(--input-border-radius);background-color:var(--input-background-color);font-size:var(--form-control-font-size);transition-property:background-color;transition-duration:.2s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion: reduce){.MultiSelect_select_vc4dh{transition-duration:.1ms}}.MultiSelect_select_vc4dh [data-display]{color:var(--color-default);font-family:var(--font-family)}.MultiSelect_select_vc4dh.MultiSelect_expanded_vc4dh .MultiSelect_list-wrapper_vc4dh{background:var(--light)}.MultiSelect_select_vc4dh:not(.MultiSelect_expanded_vc4dh):has(button:focus){position:relative;z-index:2;outline:calc(.125 * var(--font-size)) solid var(--color-focus);outline-offset:calc(.125 * var(--font-size));border-radius:var(--focus-border-radius)}.MultiSelect_select_vc4dh:not(.MultiSelect_expanded_vc4dh) .MultiSelect_custom-select_vc4dh:focus:not(.MultiSelect_error_vc4dh){border-color:var(--input-border-color);border-width:var(--input-border-width);padding:0 calc(.5 * var(--font-size) - var(--input-border-width))}.MultiSelect_select_vc4dh:hover:not(.MultiSelect_disabled_vc4dh):not(.MultiSelect_expanded_vc4dh):not(.MultiSelect_error_vc4dh) .MultiSelect_custom-select_vc4dh:not(:focus){border-color:var(--input-border-color);border-width:var(--input-border-width);background-color:var(--color-blue-grey25)}.MultiSelect_select_vc4dh .MultiSelect_custom-select_vc4dh{box-sizing:border-box;width:100%;min-height:calc(2.875 * var(--font-size) - 2 * var(--input-border-width));padding:0 calc(.5 * var(--font-size) - var(--input-border-width));background-color:transparent;border-color:var(--color-blue-grey500);border-style:var(--input-border-style);border-width:var(--input-border-width);border-radius:var(--input-border-radius);font-size:var(--form-control-font-size);transition-property:background-color,border-color;transition-duration:.2s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion: reduce){.MultiSelect_select_vc4dh .MultiSelect_custom-select_vc4dh{transition-duration:.1ms}}.MultiSelect_select_vc4dh .MultiSelect_custom-select_vc4dh:focus-visible,.MultiSelect_select_vc4dh .MultiSelect_custom-select_vc4dh:focus{outline:none}.MultiSelect_select_vc4dh .MultiSelect_custom-select_vc4dh.MultiSelect_error_vc4dh{border-color:var(--error)}.MultiSelect_select_vc4dh .MultiSelect_custom-select_vc4dh.MultiSelect_error_vc4dh:focus{border-width:var(--input-border-width)}.MultiSelect_select_vc4dh .MultiSelect_custom-select_vc4dh.MultiSelect_disabled_vc4dh{border-color:var(--color-disabled);pointer-events:none}.MultiSelect_select_vc4dh .MultiSelect_custom-select_vc4dh .MultiSelect_display-container_vc4dh{flex:1;display:flex;align-items:center;padding:.1875rem 0;gap:.375rem}.MultiSelect_select_vc4dh .MultiSelect_list-wrapper-container_vc4dh{position:relative}.MultiSelect_select_vc4dh .MultiSelect_list-wrapper_vc4dh{border-color:var(--light-grey-border);border-style:var(--input-border-style);border-width:var(--input-border-width);border-radius:var(--input-border-radius);box-shadow:0 4px 5px #01053233;box-shadow:0 3px 14px #0105321f;box-shadow:0 8px 10px #01053224;position:absolute;z-index:11;left:0;width:100%;overflow:auto}.MultiSelect_select_vc4dh ul{box-sizing:border-box;padding:.25rem 0;width:100%;margin:0;list-style:none;background-color:var(--light);border-radius:var(--input-border-radius);color:var(--default);text-align:left;overflow:auto;max-height:25rem}.MultiSelect_select_vc4dh ul li{padding:.62rem .75rem;font-size:var(--form-control-font-size);font-family:var(--font-family);margin:0;position:relative;line-height:1.43;box-sizing:border-box;min-height:2.5rem;cursor:pointer}.MultiSelect_select_vc4dh ul li:after{content:"";position:absolute;top:0;left:0;background-color:transparent;width:100%;height:100%;opacity:.05}.MultiSelect_select_vc4dh ul li:focus,.MultiSelect_select_vc4dh ul li.MultiSelect_focus_vc4dh{outline:none}.MultiSelect_select_vc4dh ul li:focus:before,.MultiSelect_select_vc4dh ul li.MultiSelect_focus_vc4dh:before{content:"";position:absolute;top:0;left:.125rem;height:100%;width:calc(100% - .25rem);opacity:1;z-index:101;outline:calc(.125 * var(--font-size)) solid var(--color-focus);outline-offset:0;border-radius:var(--focus-border-radius)}.MultiSelect_select_vc4dh ul li:hover:after,.MultiSelect_select_vc4dh ul li:active:after{background-color:var(--color-primary)}.MultiSelect_select_vc4dh ul li:active:after{opacity:.1}.MultiSelect_select_vc4dh ul li.MultiSelect_disabled_vc4dh{color:var(--greyed-out);background-color:var(--disabled);pointer-events:none}.MultiSelect_status_vc4dh{padding:.3125rem;display:flex;align-items:center}.MultiSelect_status_vc4dh [data-icon-status=success]{color:var(--success);font-size:var(--font-size-big)}.MultiSelect_status_vc4dh [data-icon-status=error]{color:var(--error);font-size:var(--font-size-big)}.MultiSelect_status_vc4dh .MultiSelect_chevron-icon_vc4dh{color:var(--default);font-size:var(--font-size-small)}.MultiSelect_status_vc4dh *+*{margin-left:1.25rem}.MultiSelect_placeholder_vc4dh{color:var(--greyed-out)}.MultiSelect_select-search_vc4dh{flex:1;box-sizing:border-box;border-bottom-left-radius:0;border-bottom-right-radius:0;border:0;background-color:transparent;color:var(--default);font-family:var(--font-family);font-size:calc(.83 * var(--font-size));line-height:1.3333;margin:0;padding:0}.MultiSelect_select-search_vc4dh:focus-visible,.MultiSelect_select-search_vc4dh:focus{outline:none}.MultiSelect_disabled_vc4dh{cursor:not-allowed;color:var(--greyed-out);background-color:var(--color-blue-grey25)}.MultiSelect_disabled_vc4dh>*{pointer-events:none}@media only screen and (min-width: 30em){.MultiSelect_select_vc4dh .MultiSelect_custom-select_vc4dh{padding:0 calc(.5 * var(--font-size) - var(--input-border-width))}.MultiSelect_select_vc4dh:not(.MultiSelect_expanded_vc4dh) .MultiSelect_custom-select_vc4dh:focus:not(.MultiSelect_error_vc4dh){padding:0 calc(.5 * var(--font-size) - var(--input-border-width))}}[data-readonlyview=true] .MultiSelect_custom-select_vc4dh{color:var(--read-only-text-color);border-color:var(--read-only-border-color);background-color:var(--color-white)}[data-readonlyview=true] .MultiSelect_custom-select_vc4dh.MultiSelect_error_vc4dh,[data-readonlyview=true] .MultiSelect_custom-select_vc4dh.MultiSelect_success_vc4dh{border-color:var(--read-only-border-color)}[data-readonlyview=true] .MultiSelect_custom-select_vc4dh button{pointer-events:none}[data-readonlyview=true] .MultiSelect_status_vc4dh .MultiSelect_chevron-icon_vc4dh{visibility:hidden}[data-readonlyview=true]:hover:not(.MultiSelect_disabled_vc4dh):not(.MultiSelect_expanded_vc4dh):not(.MultiSelect_error_vc4dh) .MultiSelect_custom-select_vc4dh:not(:focus){color:var(--read-only-text-color);border-color:var(--read-only-border-color);background-color:var(--color-white)}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}}();
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="MultiSelect_select_vc4dh",t="MultiSelect_expanded_vc4dh",c="MultiSelect_error_vc4dh",l="MultiSelect_disabled_vc4dh",s="MultiSelect_focus_vc4dh",r="MultiSelect_status_vc4dh",d="MultiSelect_placeholder_vc4dh",o="MultiSelect_success_vc4dh",i={select:e,expanded:t,"list-wrapper":"MultiSelect_list-wrapper_vc4dh","custom-select":"MultiSelect_custom-select_vc4dh",error:c,disabled:l,"display-container":"MultiSelect_display-container_vc4dh","list-wrapper-container":"MultiSelect_list-wrapper-container_vc4dh",focus:s,status:r,"chevron-icon":"MultiSelect_chevron-icon_vc4dh",placeholder:d,"select-search":"MultiSelect_select-search_vc4dh",success:o};exports.default=i,exports.disabled=l,exports.error=c,exports.expanded=t,exports.focus=s,exports.placeholder=d,exports.select=e,exports.status=r,exports.success=o;
|
|
3
3
|
//# sourceMappingURL=MultiSelect.module.scss.cjs.js.map
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.MultiSelect_sr-
|
|
2
|
-
const select = "
|
|
3
|
-
const expanded = "
|
|
4
|
-
const error = "
|
|
5
|
-
const disabled = "
|
|
6
|
-
const focus = "
|
|
7
|
-
const status = "
|
|
8
|
-
const placeholder = "
|
|
9
|
-
const success = "
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.MultiSelect_sr-only_vc4dh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.MultiSelect_hidden_vc4dh{display:none}.MultiSelect_slide-in_vc4dh{animation:MultiSelect_slide-in_vc4dh .5s forwards}@media (prefers-reduced-motion: reduce){.MultiSelect_slide-in_vc4dh{animation-duration:.1ms}}.MultiSelect_slide-out_vc4dh{animation:MultiSelect_slide-out_vc4dh .5s forwards}@media (prefers-reduced-motion: reduce){.MultiSelect_slide-out_vc4dh{animation-duration:.1ms}}@keyframes MultiSelect_slide-in_vc4dh{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes MultiSelect_slide-out_vc4dh{0%{transform:translateY(0)}to{transform:translateY(100vh)}}/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.MultiSelect_select_vc4dh{position:relative;box-sizing:border-box;border:0;border-radius:var(--input-border-radius);background-color:var(--input-background-color);font-size:var(--form-control-font-size);transition-property:background-color;transition-duration:.2s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion: reduce){.MultiSelect_select_vc4dh{transition-duration:.1ms}}.MultiSelect_select_vc4dh [data-display]{color:var(--color-default);font-family:var(--font-family)}.MultiSelect_select_vc4dh.MultiSelect_expanded_vc4dh .MultiSelect_list-wrapper_vc4dh{background:var(--light)}.MultiSelect_select_vc4dh:not(.MultiSelect_expanded_vc4dh):has(button:focus){position:relative;z-index:2;outline:calc(.125 * var(--font-size)) solid var(--color-focus);outline-offset:calc(.125 * var(--font-size));border-radius:var(--focus-border-radius)}.MultiSelect_select_vc4dh:not(.MultiSelect_expanded_vc4dh) .MultiSelect_custom-select_vc4dh:focus:not(.MultiSelect_error_vc4dh){border-color:var(--input-border-color);border-width:var(--input-border-width);padding:0 calc(.5 * var(--font-size) - var(--input-border-width))}.MultiSelect_select_vc4dh:hover:not(.MultiSelect_disabled_vc4dh):not(.MultiSelect_expanded_vc4dh):not(.MultiSelect_error_vc4dh) .MultiSelect_custom-select_vc4dh:not(:focus){border-color:var(--input-border-color);border-width:var(--input-border-width);background-color:var(--color-blue-grey25)}.MultiSelect_select_vc4dh .MultiSelect_custom-select_vc4dh{box-sizing:border-box;width:100%;min-height:calc(2.875 * var(--font-size) - 2 * var(--input-border-width));padding:0 calc(.5 * var(--font-size) - var(--input-border-width));background-color:transparent;border-color:var(--color-blue-grey500);border-style:var(--input-border-style);border-width:var(--input-border-width);border-radius:var(--input-border-radius);font-size:var(--form-control-font-size);transition-property:background-color,border-color;transition-duration:.2s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion: reduce){.MultiSelect_select_vc4dh .MultiSelect_custom-select_vc4dh{transition-duration:.1ms}}.MultiSelect_select_vc4dh .MultiSelect_custom-select_vc4dh:focus-visible,.MultiSelect_select_vc4dh .MultiSelect_custom-select_vc4dh:focus{outline:none}.MultiSelect_select_vc4dh .MultiSelect_custom-select_vc4dh.MultiSelect_error_vc4dh{border-color:var(--error)}.MultiSelect_select_vc4dh .MultiSelect_custom-select_vc4dh.MultiSelect_error_vc4dh:focus{border-width:var(--input-border-width)}.MultiSelect_select_vc4dh .MultiSelect_custom-select_vc4dh.MultiSelect_disabled_vc4dh{border-color:var(--color-disabled);pointer-events:none}.MultiSelect_select_vc4dh .MultiSelect_custom-select_vc4dh .MultiSelect_display-container_vc4dh{flex:1;display:flex;align-items:center;padding:.1875rem 0;gap:.375rem}.MultiSelect_select_vc4dh .MultiSelect_list-wrapper-container_vc4dh{position:relative}.MultiSelect_select_vc4dh .MultiSelect_list-wrapper_vc4dh{border-color:var(--light-grey-border);border-style:var(--input-border-style);border-width:var(--input-border-width);border-radius:var(--input-border-radius);box-shadow:0 4px 5px #01053233;box-shadow:0 3px 14px #0105321f;box-shadow:0 8px 10px #01053224;position:absolute;z-index:11;left:0;width:100%;overflow:auto}.MultiSelect_select_vc4dh ul{box-sizing:border-box;padding:.25rem 0;width:100%;margin:0;list-style:none;background-color:var(--light);border-radius:var(--input-border-radius);color:var(--default);text-align:left;overflow:auto;max-height:25rem}.MultiSelect_select_vc4dh ul li{padding:.62rem .75rem;font-size:var(--form-control-font-size);font-family:var(--font-family);margin:0;position:relative;line-height:1.43;box-sizing:border-box;min-height:2.5rem;cursor:pointer}.MultiSelect_select_vc4dh ul li:after{content:"";position:absolute;top:0;left:0;background-color:transparent;width:100%;height:100%;opacity:.05}.MultiSelect_select_vc4dh ul li:focus,.MultiSelect_select_vc4dh ul li.MultiSelect_focus_vc4dh{outline:none}.MultiSelect_select_vc4dh ul li:focus:before,.MultiSelect_select_vc4dh ul li.MultiSelect_focus_vc4dh:before{content:"";position:absolute;top:0;left:.125rem;height:100%;width:calc(100% - .25rem);opacity:1;z-index:101;outline:calc(.125 * var(--font-size)) solid var(--color-focus);outline-offset:0;border-radius:var(--focus-border-radius)}.MultiSelect_select_vc4dh ul li:hover:after,.MultiSelect_select_vc4dh ul li:active:after{background-color:var(--color-primary)}.MultiSelect_select_vc4dh ul li:active:after{opacity:.1}.MultiSelect_select_vc4dh ul li.MultiSelect_disabled_vc4dh{color:var(--greyed-out);background-color:var(--disabled);pointer-events:none}.MultiSelect_status_vc4dh{padding:.3125rem;display:flex;align-items:center}.MultiSelect_status_vc4dh [data-icon-status=success]{color:var(--success);font-size:var(--font-size-big)}.MultiSelect_status_vc4dh [data-icon-status=error]{color:var(--error);font-size:var(--font-size-big)}.MultiSelect_status_vc4dh .MultiSelect_chevron-icon_vc4dh{color:var(--default);font-size:var(--font-size-small)}.MultiSelect_status_vc4dh *+*{margin-left:1.25rem}.MultiSelect_placeholder_vc4dh{color:var(--greyed-out)}.MultiSelect_select-search_vc4dh{flex:1;box-sizing:border-box;border-bottom-left-radius:0;border-bottom-right-radius:0;border:0;background-color:transparent;color:var(--default);font-family:var(--font-family);font-size:calc(.83 * var(--font-size));line-height:1.3333;margin:0;padding:0}.MultiSelect_select-search_vc4dh:focus-visible,.MultiSelect_select-search_vc4dh:focus{outline:none}.MultiSelect_disabled_vc4dh{cursor:not-allowed;color:var(--greyed-out);background-color:var(--color-blue-grey25)}.MultiSelect_disabled_vc4dh>*{pointer-events:none}@media only screen and (min-width: 30em){.MultiSelect_select_vc4dh .MultiSelect_custom-select_vc4dh{padding:0 calc(.5 * var(--font-size) - var(--input-border-width))}.MultiSelect_select_vc4dh:not(.MultiSelect_expanded_vc4dh) .MultiSelect_custom-select_vc4dh:focus:not(.MultiSelect_error_vc4dh){padding:0 calc(.5 * var(--font-size) - var(--input-border-width))}}[data-readonlyview=true] .MultiSelect_custom-select_vc4dh{color:var(--read-only-text-color);border-color:var(--read-only-border-color);background-color:var(--color-white)}[data-readonlyview=true] .MultiSelect_custom-select_vc4dh.MultiSelect_error_vc4dh,[data-readonlyview=true] .MultiSelect_custom-select_vc4dh.MultiSelect_success_vc4dh{border-color:var(--read-only-border-color)}[data-readonlyview=true] .MultiSelect_custom-select_vc4dh button{pointer-events:none}[data-readonlyview=true] .MultiSelect_status_vc4dh .MultiSelect_chevron-icon_vc4dh{visibility:hidden}[data-readonlyview=true]:hover:not(.MultiSelect_disabled_vc4dh):not(.MultiSelect_expanded_vc4dh):not(.MultiSelect_error_vc4dh) .MultiSelect_custom-select_vc4dh:not(:focus){color:var(--read-only-text-color);border-color:var(--read-only-border-color);background-color:var(--color-white)}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}}();
|
|
2
|
+
const select = "MultiSelect_select_vc4dh";
|
|
3
|
+
const expanded = "MultiSelect_expanded_vc4dh";
|
|
4
|
+
const error = "MultiSelect_error_vc4dh";
|
|
5
|
+
const disabled = "MultiSelect_disabled_vc4dh";
|
|
6
|
+
const focus = "MultiSelect_focus_vc4dh";
|
|
7
|
+
const status = "MultiSelect_status_vc4dh";
|
|
8
|
+
const placeholder = "MultiSelect_placeholder_vc4dh";
|
|
9
|
+
const success = "MultiSelect_success_vc4dh";
|
|
10
10
|
const classes = {
|
|
11
11
|
select,
|
|
12
12
|
expanded,
|
|
13
|
-
"list-wrapper": "MultiSelect_list-
|
|
14
|
-
"custom-select": "MultiSelect_custom-
|
|
13
|
+
"list-wrapper": "MultiSelect_list-wrapper_vc4dh",
|
|
14
|
+
"custom-select": "MultiSelect_custom-select_vc4dh",
|
|
15
15
|
error,
|
|
16
16
|
disabled,
|
|
17
|
-
"display-container": "MultiSelect_display-
|
|
18
|
-
"list-wrapper-container": "MultiSelect_list-wrapper-
|
|
17
|
+
"display-container": "MultiSelect_display-container_vc4dh",
|
|
18
|
+
"list-wrapper-container": "MultiSelect_list-wrapper-container_vc4dh",
|
|
19
19
|
focus,
|
|
20
20
|
status,
|
|
21
|
-
"chevron-icon": "MultiSelect_chevron-
|
|
21
|
+
"chevron-icon": "MultiSelect_chevron-icon_vc4dh",
|
|
22
22
|
placeholder,
|
|
23
|
-
"select-search": "MultiSelect_select-
|
|
23
|
+
"select-search": "MultiSelect_select-search_vc4dh",
|
|
24
24
|
success
|
|
25
25
|
};
|
|
26
26
|
export {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.
|
|
2
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.SelectButton_btn_vc4dh{position:absolute;top:0;left:0;height:100%;width:100%;border:0;padding:0;background:none;cursor:pointer;outline:0}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="SelectButton_btn_vc4dh",t={btn:e};exports.btn=e,exports.default=t;
|
|
3
3
|
//# sourceMappingURL=SelectButton.module.scss.cjs.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.
|
|
2
|
-
const btn = "
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.SelectButton_btn_vc4dh{position:absolute;top:0;left:0;height:100%;width:100%;border:0;padding:0;background:none;cursor:pointer;outline:0}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
|
|
2
|
+
const btn = "SelectButton_btn_vc4dh";
|
|
3
3
|
const classes = {
|
|
4
4
|
btn
|
|
5
5
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.
|
|
2
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.SelectedOptions_options_vc4dh{position:relative;display:flex;gap:.375rem;flex-wrap:wrap;cursor:pointer}.SelectedOptions_tag_vc4dh{cursor:text}.SelectedOptions_tag_vc4dh .SelectedOptions_remove-btn_vc4dh{cursor:pointer}[data-readonlyview=true] .SelectedOptions_tag_vc4dh .SelectedOptions_remove-btn_vc4dh{display:none}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="SelectedOptions_options_vc4dh",t="SelectedOptions_tag_vc4dh",o={options:e,tag:t,"remove-btn":"SelectedOptions_remove-btn_vc4dh"};exports.default=o,exports.options=e,exports.tag=t;
|
|
3
3
|
//# sourceMappingURL=SelectedOptions.module.scss.cjs.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.
|
|
2
|
-
const options = "
|
|
3
|
-
const tag = "
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.SelectedOptions_options_vc4dh{position:relative;display:flex;gap:.375rem;flex-wrap:wrap;cursor:pointer}.SelectedOptions_tag_vc4dh{cursor:text}.SelectedOptions_tag_vc4dh .SelectedOptions_remove-btn_vc4dh{cursor:pointer}[data-readonlyview=true] .SelectedOptions_tag_vc4dh .SelectedOptions_remove-btn_vc4dh{display:none}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
|
|
2
|
+
const options = "SelectedOptions_options_vc4dh";
|
|
3
|
+
const tag = "SelectedOptions_tag_vc4dh";
|
|
4
4
|
const classes = {
|
|
5
5
|
options,
|
|
6
6
|
tag,
|
|
7
|
-
"remove-btn": "SelectedOptions_remove-
|
|
7
|
+
"remove-btn": "SelectedOptions_remove-btn_vc4dh"
|
|
8
8
|
};
|
|
9
9
|
export {
|
|
10
10
|
classes as default,
|