@onewelcome/react-lib-components 13.0.2 → 13.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/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 +6 -6
- 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.cjs.js +1 -1
- package/dist/components/DataGrid/DataGrid.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGrid.es.js +10 -1
- package/dist/components/DataGrid/DataGrid.es.js.map +1 -1
- package/dist/components/DataGrid/DataGrid.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGrid.module.scss.es.js +6 -6
- package/dist/components/DataGrid/DataGridActions/DataGridActions.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/DataGridSearchbar.cjs.js +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridSearchbar.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridSearchbar.es.js +32 -4
- package/dist/components/DataGrid/DataGridFilters/DataGridSearchbar.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.module.scss.es.js +10 -8
- package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.module.scss.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.module.scss.es.js +17 -17
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.cjs.js +1 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.es.js +11 -0
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridHeader/DataGridHeader.module.scss.es.js +3 -3
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.cjs.js +1 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.cjs.js.map +1 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.es.js +97 -2
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.es.js.map +1 -1
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.cjs.js +2 -2
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.es.js +11 -8
- package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.es.js.map +1 -1
- package/dist/components/DataGrid/assets/sorting.png.cjs.js +2 -0
- package/dist/components/DataGrid/assets/sorting.png.cjs.js.map +1 -0
- package/dist/components/DataGrid/assets/sorting.png.es.js +5 -0
- package/dist/components/DataGrid/assets/sorting.png.es.js.map +1 -0
- 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.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.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 +3 -2
- 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 +10 -11
- package/dist/components/Form/Input/Input.module.scss.es.js.map +1 -1
- package/dist/components/Form/Label/Label.module.scss.cjs.js +2 -2
- package/dist/components/Form/Label/Label.module.scss.es.js +2 -2
- package/dist/components/Form/Radio/Radio.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.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.cjs.js +1 -1
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.cjs.js.map +1 -1
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.es.js +16 -1
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.es.js.map +1 -1
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss.cjs.js +2 -2
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss.es.js +6 -5
- package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss.es.js.map +1 -1
- package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.cjs.js +2 -2
- package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.es.js +3 -3
- package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.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 +17 -17
- 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/admin/layout/ProfileMenu/ProfileMenu.module.scss.cjs.js +2 -2
- package/dist/components/admin/layout/ProfileMenu/ProfileMenu.module.scss.es.js +7 -7
- package/dist/components/admin/layout/TopNavBar/TopNavBar.module.scss.cjs.js +2 -2
- package/dist/components/admin/layout/TopNavBar/TopNavBar.module.scss.es.js +13 -13
- package/dist/components/miscellaneous/IdentityProviderButton.module.scss.cjs.js +2 -2
- package/dist/components/miscellaneous/IdentityProviderButton.module.scss.es.js +3 -3
- package/dist/index.d.ts +6 -1
- package/dist/readyclasses.module.scss.cjs.js +2 -2
- package/dist/readyclasses.module.scss.es.js +5 -5
- package/package.json +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
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 */.FormControl_form-
|
|
2
|
-
const grid = "
|
|
3
|
-
const center = "
|
|
4
|
-
const middle = "
|
|
5
|
-
const start = "
|
|
6
|
-
const top = "
|
|
7
|
-
const end = "
|
|
8
|
-
const bottom = "
|
|
9
|
-
const stretch = "
|
|
10
|
-
const column = "
|
|
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 */.FormControl_form-control_k432A{font-size:var(--form-control-font-size)}.FormControl_form-control_k432A+.FormControl_form-control_k432A{margin-top:1rem}.FormControl_form-control_k432A.FormControl_grid_k432A{display:flex;flex-wrap:wrap;gap:1rem}.FormControl_form-control_k432A.FormControl_grid_k432A.FormControl_center_k432A,.FormControl_form-control_k432A.FormControl_grid_k432A.FormControl_middle_k432A{align-items:center}.FormControl_form-control_k432A.FormControl_grid_k432A.FormControl_start_k432A,.FormControl_form-control_k432A.FormControl_grid_k432A.FormControl_top_k432A{align-items:flex-start}.FormControl_form-control_k432A.FormControl_grid_k432A.FormControl_end_k432A,.FormControl_form-control_k432A.FormControl_grid_k432A.FormControl_bottom_k432A{align-items:flex-end}.FormControl_form-control_k432A.FormControl_grid_k432A.FormControl_stretch_k432A{align-items:stretch}.FormControl_form-control_k432A.FormControl_grid_k432A.FormControl_stretch_k432A>*>*{box-sizing:border-box;height:100%}.FormControl_column_k432A{flex-grow:1;flex-shrink:0}.FormControl_col-2_k432A{flex-basis:calc((100% - 1rem)/2)}.FormControl_col-3_k432A{flex-basis:calc((100% - 2rem) / 3)}')),document.head.appendChild(o)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}}();
|
|
2
|
+
const grid = "FormControl_grid_k432A";
|
|
3
|
+
const center = "FormControl_center_k432A";
|
|
4
|
+
const middle = "FormControl_middle_k432A";
|
|
5
|
+
const start = "FormControl_start_k432A";
|
|
6
|
+
const top = "FormControl_top_k432A";
|
|
7
|
+
const end = "FormControl_end_k432A";
|
|
8
|
+
const bottom = "FormControl_bottom_k432A";
|
|
9
|
+
const stretch = "FormControl_stretch_k432A";
|
|
10
|
+
const column = "FormControl_column_k432A";
|
|
11
11
|
const classes = {
|
|
12
|
-
"form-control": "FormControl_form-
|
|
12
|
+
"form-control": "FormControl_form-control_k432A",
|
|
13
13
|
grid,
|
|
14
14
|
center,
|
|
15
15
|
middle,
|
|
@@ -19,8 +19,8 @@ const classes = {
|
|
|
19
19
|
bottom,
|
|
20
20
|
stretch,
|
|
21
21
|
column,
|
|
22
|
-
"col-2": "FormControl_col-
|
|
23
|
-
"col-3": "FormControl_col-
|
|
22
|
+
"col-2": "FormControl_col-2_k432A",
|
|
23
|
+
"col-3": "FormControl_col-3_k432A"
|
|
24
24
|
};
|
|
25
25
|
export {
|
|
26
26
|
bottom,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var r=document.createElement("style");r.appendChild(document.createTextNode(".FormErrorText_error-
|
|
2
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),exports.default={"error-message":"FormErrorText_error-
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var r=document.createElement("style");r.appendChild(document.createTextNode(".FormErrorText_error-message_k432A{color:var(--error);display:flex;align-items:flex-end;line-height:1rem}.FormErrorText_error-icon_k432A{margin-right:.5rem;font-size:var(--font-size-big)}.FormErrorText_error-icon-before_k432A{margin-right:.5rem}.FormErrorText_error-icon-after_k432A{margin-left:.5rem}")),document.head.appendChild(r)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),exports.default={"error-message":"FormErrorText_error-message_k432A","error-icon":"FormErrorText_error-icon_k432A","error-icon-before":"FormErrorText_error-icon-before_k432A","error-icon-after":"FormErrorText_error-icon-after_k432A"};
|
|
3
3
|
//# sourceMappingURL=FormErrorText.module.scss.cjs.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var r=document.createElement("style");r.appendChild(document.createTextNode(".FormErrorText_error-
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var r=document.createElement("style");r.appendChild(document.createTextNode(".FormErrorText_error-message_k432A{color:var(--error);display:flex;align-items:flex-end;line-height:1rem}.FormErrorText_error-icon_k432A{margin-right:.5rem;font-size:var(--font-size-big)}.FormErrorText_error-icon-before_k432A{margin-right:.5rem}.FormErrorText_error-icon-after_k432A{margin-left:.5rem}")),document.head.appendChild(r)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
|
|
2
2
|
const classes = {
|
|
3
|
-
"error-message": "FormErrorText_error-
|
|
4
|
-
"error-icon": "FormErrorText_error-
|
|
5
|
-
"error-icon-before": "FormErrorText_error-icon-
|
|
6
|
-
"error-icon-after": "FormErrorText_error-icon-
|
|
3
|
+
"error-message": "FormErrorText_error-message_k432A",
|
|
4
|
+
"error-icon": "FormErrorText_error-icon_k432A",
|
|
5
|
+
"error-icon-before": "FormErrorText_error-icon-before_k432A",
|
|
6
|
+
"error-icon-after": "FormErrorText_error-icon-after_k432A"
|
|
7
7
|
};
|
|
8
8
|
export {
|
|
9
9
|
classes as default
|
|
@@ -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 */.FormGroup_form-
|
|
2
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),exports.default={"form-group":"FormGroup_form-
|
|
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 */.FormGroup_form-group_k432A{position:relative}.FormGroup_default-helper_k432A{font-size:var(--font-size-sub);line-height:1.33333333}')),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"}}),exports.default={"form-group":"FormGroup_form-group_k432A","default-helper":"FormGroup_default-helper_k432A"};
|
|
3
3
|
//# sourceMappingURL=FormGroup.module.scss.cjs.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
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 */.FormGroup_form-
|
|
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 */.FormGroup_form-group_k432A{position:relative}.FormGroup_default-helper_k432A{font-size:var(--font-size-sub);line-height:1.33333333}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
|
|
2
2
|
const classes = {
|
|
3
|
-
"form-group": "FormGroup_form-
|
|
4
|
-
"default-helper": "FormGroup_default-
|
|
3
|
+
"form-group": "FormGroup_form-group_k432A",
|
|
4
|
+
"default-helper": "FormGroup_default-helper_k432A"
|
|
5
5
|
};
|
|
6
6
|
export {
|
|
7
7
|
classes as default
|
|
@@ -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 */div.FormHelperText_form-helper-
|
|
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 */div.FormHelperText_form-helper-text_k432A{color:var(--input-helper-text-color);margin-bottom:0}div.FormHelperText_disabled_k432A{color:var(--greyed-out)}div.FormHelperText_error_k432A{color:var(--error)}[data-readonlyview=true] div.FormHelperText_form-helper-text_k432A{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="FormHelperText_disabled_k432A",r="FormHelperText_error_k432A",t={"form-helper-text":"FormHelperText_form-helper-text_k432A",disabled:e,error:r};exports.default=t,exports.disabled=e,exports.error=r;
|
|
3
3
|
//# sourceMappingURL=FormHelperText.module.scss.cjs.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\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 */div.FormHelperText_form-helper-
|
|
2
|
-
const disabled = "
|
|
3
|
-
const error = "
|
|
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 */div.FormHelperText_form-helper-text_k432A{color:var(--input-helper-text-color);margin-bottom:0}div.FormHelperText_disabled_k432A{color:var(--greyed-out)}div.FormHelperText_error_k432A{color:var(--error)}[data-readonlyview=true] div.FormHelperText_form-helper-text_k432A{display:none}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
|
|
2
|
+
const disabled = "FormHelperText_disabled_k432A";
|
|
3
|
+
const error = "FormHelperText_error_k432A";
|
|
4
4
|
const classes = {
|
|
5
|
-
"form-helper-text": "FormHelperText_form-helper-
|
|
5
|
+
"form-helper-text": "FormHelperText_form-helper-text_k432A",
|
|
6
6
|
disabled,
|
|
7
7
|
error
|
|
8
8
|
};
|
|
@@ -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 */.FormSelectorWrapper_error_k432A input+span{outline:var(--error) solid 1px;outline-offset:-1px;border-radius:2px;overflow:hidden}.FormSelectorWrapper_helper-text_k432A{margin-top:.25rem;margin-left:calc(1.75 * var(--font-size))}.FormSelectorWrapper_children-container_k432A>span:nth-of-type(2){margin-right:.5rem}.FormSelectorWrapper_children-container_k432A [data-icon-status=success]{color:var(--success);font-size:var(--font-size-big)}.FormSelectorWrapper_children-container_k432A [data-icon-status=error]{color:var(--error);font-size:var(--font-size-big)}.FormSelectorWrapper_children-container_k432A [data-icon-status=info]{color:var(--default);font-size:var(--font-size-big)}.FormSelectorWrapper_disabled_k432A input{color:var(--disabled)}.FormSelectorWrapper_disabled_k432A input:disabled{cursor:not-allowed}.FormSelectorWrapper_disabled_k432A label{cursor:not-allowed}.FormSelectorWrapper_required_k432A{color:var(--error)}')),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}}();
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="FormSelectorWrapper_error_k432A",r="FormSelectorWrapper_disabled_k432A",o="FormSelectorWrapper_required_k432A",t={error:e,"helper-text":"FormSelectorWrapper_helper-text_k432A","children-container":"FormSelectorWrapper_children-container_k432A",disabled:r,required:o};exports.default=t,exports.disabled=r,exports.error=e,exports.required=o;
|
|
3
3
|
//# sourceMappingURL=FormSelectorWrapper.module.scss.cjs.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
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 error = "
|
|
3
|
-
const disabled = "
|
|
4
|
-
const required = "
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.FormSelectorWrapper_error_k432A input+span{outline:var(--error) solid 1px;outline-offset:-1px;border-radius:2px;overflow:hidden}.FormSelectorWrapper_helper-text_k432A{margin-top:.25rem;margin-left:calc(1.75 * var(--font-size))}.FormSelectorWrapper_children-container_k432A>span:nth-of-type(2){margin-right:.5rem}.FormSelectorWrapper_children-container_k432A [data-icon-status=success]{color:var(--success);font-size:var(--font-size-big)}.FormSelectorWrapper_children-container_k432A [data-icon-status=error]{color:var(--error);font-size:var(--font-size-big)}.FormSelectorWrapper_children-container_k432A [data-icon-status=info]{color:var(--default);font-size:var(--font-size-big)}.FormSelectorWrapper_disabled_k432A input{color:var(--disabled)}.FormSelectorWrapper_disabled_k432A input:disabled{cursor:not-allowed}.FormSelectorWrapper_disabled_k432A label{cursor:not-allowed}.FormSelectorWrapper_required_k432A{color:var(--error)}')),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}}();
|
|
2
|
+
const error = "FormSelectorWrapper_error_k432A";
|
|
3
|
+
const disabled = "FormSelectorWrapper_disabled_k432A";
|
|
4
|
+
const required = "FormSelectorWrapper_required_k432A";
|
|
5
5
|
const classes = {
|
|
6
6
|
error,
|
|
7
|
-
"helper-text": "FormSelectorWrapper_helper-
|
|
8
|
-
"children-container": "FormSelectorWrapper_children-
|
|
7
|
+
"helper-text": "FormSelectorWrapper_helper-text_k432A",
|
|
8
|
+
"children-container": "FormSelectorWrapper_children-container_k432A",
|
|
9
9
|
disabled,
|
|
10
10
|
required
|
|
11
11
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),s=require("./Input.module.scss.cjs.js"),a=require("../../../readyclasses.module.scss.cjs.js"),t=require("../../../hooks/useDetermineStatusIcon.cjs.js"),l=require("../../withReadOnly.cjs.js"),u=["date","time","datetime-local"],
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),s=require("./Input.module.scss.cjs.js"),a=require("../../../readyclasses.module.scss.cjs.js"),t=require("../../../hooks/useDetermineStatusIcon.cjs.js"),l=require("../../withReadOnly.cjs.js"),r=require("../../Icon/Icon.cjs.js"),u=["date","time","datetime-local"],n=l.withReadOnly(e.forwardRef(({error:l=!1,success:n=!1,className:d,name:i,style:c,wrapperProps:o,type:p,labeledBy:f,prefix:m,suffix:h,disabled:y,onFocus:j,onBlur:b,readOnlyView:x,...w},I)=>{const[v,E]=e.useState(!1),N=e.useRef(null),q=e.useRef(null);e.useEffect(()=>{if(void 0===i)throw new Error("Please give your <Input /> component a 'name' attribute")},[]);const O=[s.default.input],R=u.includes(p),S=s=>"string"==typeof s?e.createElement("span",null,s):s;d&&O.push(d);const g=[s.default["input-wrapper"]],k=[s.default.outline];(null==o?void 0:o.className)&&g.push(o.className),"hidden"===p&&g.push(a.default.hidden),m&&g.push(s.default.prefix),h&&g.push(s.default.suffix),y&&g.push(s.default.disabled)&&k.push(s.default.disabled),l&&g.push(s.default.error)&&k.push(s.default.error),v&&g.push(s.default.focus)&&k.push(s.default.focus),n&&g.push(s.default.success);const B=t.useDetermineStatusIcon({success:n,error:l}),C=w["data-readonlyview"];return e.createElement("div",{ref:N,...o,style:{...c},"data-readonlyview":C,className:`${s.default["input-wrapper"]} ${g.join(" ")}`,tabIndex:C?0:-1},m&&e.createElement("div",{"data-prefix":!0,className:s.default.prefix},S(m)),e.createElement("input",{...w,ref:I,"aria-readonly":C,readOnly:C,onFocus:e=>{E(!0),null==j||j(e)},onBlur:e=>{E(!1),null==b||b(e)},"aria-labelledby":f,type:p,name:i,disabled:y,"aria-disabled":y,className:O.join(" "),spellCheck:w.spellCheck??!1,tabIndex:C?-1:0}),R?e.createElement(r.Icon,{icon:r.Icons.Calendar,"data-date-icon":!0}):B,h&&e.createElement("div",{ref:q,"data-suffix":!0,className:s.default.suffix},S(h)),e.createElement("span",{className:k.join(" ")}))}));exports.Input=n,exports.dateTypes=u;
|
|
2
2
|
//# sourceMappingURL=Input.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.cjs.js","sources":["../../../../src/components/Form/Input/Input.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, {\n ForwardRefRenderFunction,\n ComponentPropsWithRef,\n Ref,\n useEffect,\n useRef,\n useState,\n ReactNode\n} from \"react\";\nimport classes from \"./Input.module.scss\";\nimport readyclasses from \"../../../readyclasses.module.scss\";\nimport { FormElement } from \"../form.interfaces\";\nimport { useDetermineStatusIcon } from \"../../../hooks/useDetermineStatusIcon\";\nimport { MergeElementProps } from \"../../../interfaces\";\nimport { withReadOnly } from \"../../withReadOnly\";\n\nexport const dateTypes = [\"date\", \"time\", \"datetime-local\"] as const;\n\nexport type Type =\n | \"text\"\n | \"email\"\n | \"file\"\n | \"number\"\n | \"password\"\n | \"search\"\n | \"tel\"\n | \"url\"\n | \"hidden\"\n | (typeof dateTypes)[number];\n\nexport type Props = MergeElementProps<\n \"input\",\n FormElement & {\n wrapperProps?: ComponentPropsWithRef<\"div\">;\n labeledBy?: string;\n type: Type;\n suffix?: ReactNode;\n prefix?: ReactNode;\n readOnlyView?: boolean;\n }\n>;\n\nconst InputComponent: ForwardRefRenderFunction<HTMLInputElement, Props> = (\n {\n error = false,\n success = false,\n className,\n name,\n style,\n wrapperProps,\n type,\n labeledBy,\n prefix,\n suffix,\n disabled,\n onFocus,\n onBlur,\n readOnlyView,\n ...rest\n }: Props,\n ref: Ref<HTMLInputElement>\n) => {\n const [focus, setFocus] = useState(false);\n const inputWrapperRef = useRef<HTMLDivElement>(null);\n const suffixRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n if (name === undefined) {\n throw new Error(\"Please give your <Input /> component a 'name' attribute\");\n }\n }, []);\n\n const inputClassNames = [classes[\"input\"]];\n\n const renderElement = (el: ReactNode) => {\n return typeof el === \"string\" ? <span>{el}</span> : el;\n };\n\n
|
|
1
|
+
{"version":3,"file":"Input.cjs.js","sources":["../../../../src/components/Form/Input/Input.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, {\n ForwardRefRenderFunction,\n ComponentPropsWithRef,\n Ref,\n useEffect,\n useRef,\n useState,\n ReactNode\n} from \"react\";\nimport classes from \"./Input.module.scss\";\nimport readyclasses from \"../../../readyclasses.module.scss\";\nimport { FormElement } from \"../form.interfaces\";\nimport { useDetermineStatusIcon } from \"../../../hooks/useDetermineStatusIcon\";\nimport { MergeElementProps } from \"../../../interfaces\";\nimport { withReadOnly } from \"../../withReadOnly\";\nimport { Icon, Icons } from \"../../Icon/Icon\";\n\nexport const dateTypes = [\"date\", \"time\", \"datetime-local\"] as const;\n\nexport type Type =\n | \"text\"\n | \"email\"\n | \"file\"\n | \"number\"\n | \"password\"\n | \"search\"\n | \"tel\"\n | \"url\"\n | \"hidden\"\n | (typeof dateTypes)[number];\n\nexport type Props = MergeElementProps<\n \"input\",\n FormElement & {\n wrapperProps?: ComponentPropsWithRef<\"div\">;\n labeledBy?: string;\n type: Type;\n suffix?: ReactNode;\n prefix?: ReactNode;\n readOnlyView?: boolean;\n }\n>;\n\nconst InputComponent: ForwardRefRenderFunction<HTMLInputElement, Props> = (\n {\n error = false,\n success = false,\n className,\n name,\n style,\n wrapperProps,\n type,\n labeledBy,\n prefix,\n suffix,\n disabled,\n onFocus,\n onBlur,\n readOnlyView,\n ...rest\n }: Props,\n ref: Ref<HTMLInputElement>\n) => {\n const [focus, setFocus] = useState(false);\n const inputWrapperRef = useRef<HTMLDivElement>(null);\n const suffixRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n if (name === undefined) {\n throw new Error(\"Please give your <Input /> component a 'name' attribute\");\n }\n }, []);\n\n const inputClassNames = [classes[\"input\"]];\n const isDateType = (dateTypes as ReadonlyArray<string>).includes(type);\n\n const renderElement = (el: ReactNode) => {\n return typeof el === \"string\" ? <span>{el}</span> : el;\n };\n\n className && inputClassNames.push(className);\n\n const wrapperClasses = [classes[\"input-wrapper\"]];\n const outlineClasses = [classes[\"outline\"]];\n\n wrapperProps?.className && wrapperClasses.push(wrapperProps.className);\n type === \"hidden\" && wrapperClasses.push(readyclasses[\"hidden\"]);\n prefix && wrapperClasses.push(classes[\"prefix\"]);\n suffix && wrapperClasses.push(classes[\"suffix\"]);\n disabled && wrapperClasses.push(classes[\"disabled\"]) && outlineClasses.push(classes[\"disabled\"]);\n error && wrapperClasses.push(classes[\"error\"]) && outlineClasses.push(classes[\"error\"]);\n focus && wrapperClasses.push(classes[\"focus\"]) && outlineClasses.push(classes[\"focus\"]);\n success && wrapperClasses.push(classes[\"success\"]);\n\n const icon = useDetermineStatusIcon({ success, error });\n const readOnlyMode = rest[\"data-readonlyview\"] as boolean;\n\n return (\n <div\n ref={inputWrapperRef}\n {...wrapperProps}\n style={{ ...style }}\n data-readonlyview={readOnlyMode}\n className={`${classes[\"input-wrapper\"]} ${wrapperClasses.join(\" \")}`}\n tabIndex={readOnlyMode ? 0 : -1}\n >\n {prefix && (\n <div data-prefix className={classes[\"prefix\"]}>\n {renderElement(prefix)}\n </div>\n )}\n <input\n {...rest}\n ref={ref}\n aria-readonly={readOnlyMode}\n readOnly={readOnlyMode}\n onFocus={event => {\n setFocus(true);\n onFocus?.(event);\n }}\n onBlur={event => {\n setFocus(false);\n onBlur?.(event);\n }}\n aria-labelledby={labeledBy}\n type={type}\n name={name}\n disabled={disabled}\n aria-disabled={disabled}\n className={inputClassNames.join(\" \")}\n spellCheck={rest.spellCheck ?? false}\n tabIndex={readOnlyMode ? -1 : 0}\n />\n {isDateType ? <Icon icon={Icons.Calendar} data-date-icon /> : icon}\n {suffix && (\n <div ref={suffixRef} data-suffix className={classes[\"suffix\"]}>\n {renderElement(suffix)}\n </div>\n )}\n\n <span className={outlineClasses.join(\" \")}></span>\n </div>\n );\n};\n\nexport const Input = withReadOnly(React.forwardRef(InputComponent));\n"],"names":["dateTypes","Input","withReadOnly","React","forwardRef","error","success","className","name","style","wrapperProps","type","labeledBy","prefix","suffix","disabled","onFocus","onBlur","readOnlyView","rest","ref","focus","setFocus","useState","inputWrapperRef","useRef","suffixRef","useEffect","Error","inputClassNames","classes","isDateType","includes","renderElement","el","createElement","push","wrapperClasses","outlineClasses","readyclasses","icon","useDetermineStatusIcon","readOnlyMode","join","tabIndex","readOnly","event","spellCheck","Icon","Icons","Calendar"],"mappings":"4UAiCaA,EAAY,CAAC,OAAQ,OAAQ,kBAgI7BC,EAAQC,EAAAA,aAAaC,EAAMC,WAtGkC,EAEtEC,SAAQ,EACRC,WAAU,EACVC,YACAC,OACAC,QACAC,eACAC,OACAC,YACAC,SACAC,SACAC,WACAC,UACAC,SACAC,kBACGC,GAELC,KAEA,MAAOC,EAAOC,GAAYC,EAAAA,UAAS,GAC7BC,EAAkBC,EAAAA,OAAuB,MACzCC,EAAYD,EAAAA,OAAuB,MAEzCE,EAAAA,UAAU,KACR,QAAa,IAATnB,EACF,MAAM,IAAIoB,MAAM,4DAEjB,IAEH,MAAMC,EAAkB,CAACC,UAAe,OAClCC,EAAc/B,EAAoCgC,SAASrB,GAE3DsB,EAAiBC,GACA,iBAAPA,EAAkB/B,EAAAgC,cAAC,OAAA,KAAMD,GAAaA,EAGtD3B,GAAasB,EAAgBO,KAAK7B,GAElC,MAAM8B,EAAiB,CAACP,UAAQ,kBAC1BQ,EAAiB,CAACR,UAAiB,UAEzC,MAAApB,OAAA,EAAAA,EAAcH,YAAa8B,EAAeD,KAAK1B,EAAaH,WACnD,WAATI,GAAqB0B,EAAeD,KAAKG,EAAAA,QAAqB,QAC9D1B,GAAUwB,EAAeD,KAAKN,EAAAA,QAAgB,QAC9ChB,GAAUuB,EAAeD,KAAKN,EAAAA,QAAgB,QAC9Cf,GAAYsB,EAAeD,KAAKN,EAAAA,QAAkB,WAAMQ,EAAeF,KAAKN,UAAkB,UAC9FzB,GAASgC,EAAeD,KAAKN,EAAAA,QAAe,QAAMQ,EAAeF,KAAKN,UAAe,OACrFT,GAASgB,EAAeD,KAAKN,EAAAA,QAAe,QAAMQ,EAAeF,KAAKN,UAAe,OACrFxB,GAAW+B,EAAeD,KAAKN,EAAAA,QAAiB,SAEhD,MAAMU,EAAOC,EAAAA,uBAAuB,CAAEnC,UAASD,UACzCqC,EAAevB,EAAK,qBAE1B,OACEhB,EAAAgC,cAAC,MAAA,CACCf,IAAKI,KACDd,EACJD,MAAO,IAAKA,GACZ,oBAAmBiC,EACnBnC,UAAW,GAAGuB,EAAAA,QAAQ,oBAAoBO,EAAeM,KAAK,OAC9DC,SAAUF,EAAe,GAAI,GAE5B7B,GACCV,EAAAgC,cAAC,MAAA,CAAI,eAAW,EAAC5B,UAAWuB,EAAAA,QAAgB,QACzCG,EAAcpB,IAGnBV,EAAAgC,cAAC,QAAA,IACKhB,EACJC,MACA,gBAAesB,EACfG,SAAUH,EACV1B,QAAS8B,IACPxB,GAAS,GACT,MAAAN,GAAAA,EAAU8B,IAEZ7B,OAAQ6B,IACNxB,GAAS,GACT,MAAAL,GAAAA,EAAS6B,IAEX,kBAAiBlC,EACjBD,OACAH,OACAO,WACA,gBAAeA,EACfR,UAAWsB,EAAgBc,KAAK,KAChCI,WAAY5B,EAAK4B,aAAc,EAC/BH,SAAUF,GAAe,EAAK,IAE/BX,kBAAciB,EAAAA,KAAA,CAAKR,KAAMS,EAAAA,MAAMC,SAAU,kBAAc,IAAMV,EAC7D1B,GACCX,EAAAgC,cAAC,MAAA,CAAIf,IAAKM,EAAW,eAAW,EAACnB,UAAWuB,EAAAA,QAAgB,QACzDG,EAAcnB,oBAIlB,OAAA,CAAKP,UAAW+B,EAAeK,KAAK"}
|
|
@@ -3,6 +3,7 @@ import classes from "./Input.module.scss.es.js";
|
|
|
3
3
|
import readyclasses from "../../../readyclasses.module.scss.es.js";
|
|
4
4
|
import { useDetermineStatusIcon } from "../../../hooks/useDetermineStatusIcon.es.js";
|
|
5
5
|
import { withReadOnly } from "../../withReadOnly.es.js";
|
|
6
|
+
import { Icon, Icons } from "../../Icon/Icon.es.js";
|
|
6
7
|
const dateTypes = ["date", "time", "datetime-local"];
|
|
7
8
|
const InputComponent = ({
|
|
8
9
|
error = false,
|
|
@@ -30,10 +31,10 @@ const InputComponent = ({
|
|
|
30
31
|
}
|
|
31
32
|
}, []);
|
|
32
33
|
const inputClassNames = [classes["input"]];
|
|
34
|
+
const isDateType = dateTypes.includes(type);
|
|
33
35
|
const renderElement = (el) => {
|
|
34
36
|
return typeof el === "string" ? /* @__PURE__ */ React.createElement("span", null, el) : el;
|
|
35
37
|
};
|
|
36
|
-
dateTypes.includes(type) && inputClassNames.push(classes["shrink-width-for-date-icon"]);
|
|
37
38
|
className && inputClassNames.push(className);
|
|
38
39
|
const wrapperClasses = [classes["input-wrapper"]];
|
|
39
40
|
const outlineClasses = [classes["outline"]];
|
|
@@ -83,7 +84,7 @@ const InputComponent = ({
|
|
|
83
84
|
tabIndex: readOnlyMode ? -1 : 0
|
|
84
85
|
}
|
|
85
86
|
),
|
|
86
|
-
icon,
|
|
87
|
+
isDateType ? /* @__PURE__ */ React.createElement(Icon, { icon: Icons.Calendar, "data-date-icon": true }) : icon,
|
|
87
88
|
suffix && /* @__PURE__ */ React.createElement("div", { ref: suffixRef, "data-suffix": true, className: classes["suffix"] }, renderElement(suffix)),
|
|
88
89
|
/* @__PURE__ */ React.createElement("span", { className: outlineClasses.join(" ") })
|
|
89
90
|
);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.es.js","sources":["../../../../src/components/Form/Input/Input.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, {\n ForwardRefRenderFunction,\n ComponentPropsWithRef,\n Ref,\n useEffect,\n useRef,\n useState,\n ReactNode\n} from \"react\";\nimport classes from \"./Input.module.scss\";\nimport readyclasses from \"../../../readyclasses.module.scss\";\nimport { FormElement } from \"../form.interfaces\";\nimport { useDetermineStatusIcon } from \"../../../hooks/useDetermineStatusIcon\";\nimport { MergeElementProps } from \"../../../interfaces\";\nimport { withReadOnly } from \"../../withReadOnly\";\n\nexport const dateTypes = [\"date\", \"time\", \"datetime-local\"] as const;\n\nexport type Type =\n | \"text\"\n | \"email\"\n | \"file\"\n | \"number\"\n | \"password\"\n | \"search\"\n | \"tel\"\n | \"url\"\n | \"hidden\"\n | (typeof dateTypes)[number];\n\nexport type Props = MergeElementProps<\n \"input\",\n FormElement & {\n wrapperProps?: ComponentPropsWithRef<\"div\">;\n labeledBy?: string;\n type: Type;\n suffix?: ReactNode;\n prefix?: ReactNode;\n readOnlyView?: boolean;\n }\n>;\n\nconst InputComponent: ForwardRefRenderFunction<HTMLInputElement, Props> = (\n {\n error = false,\n success = false,\n className,\n name,\n style,\n wrapperProps,\n type,\n labeledBy,\n prefix,\n suffix,\n disabled,\n onFocus,\n onBlur,\n readOnlyView,\n ...rest\n }: Props,\n ref: Ref<HTMLInputElement>\n) => {\n const [focus, setFocus] = useState(false);\n const inputWrapperRef = useRef<HTMLDivElement>(null);\n const suffixRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n if (name === undefined) {\n throw new Error(\"Please give your <Input /> component a 'name' attribute\");\n }\n }, []);\n\n const inputClassNames = [classes[\"input\"]];\n\n const renderElement = (el: ReactNode) => {\n return typeof el === \"string\" ? <span>{el}</span> : el;\n };\n\n
|
|
1
|
+
{"version":3,"file":"Input.es.js","sources":["../../../../src/components/Form/Input/Input.tsx"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, {\n ForwardRefRenderFunction,\n ComponentPropsWithRef,\n Ref,\n useEffect,\n useRef,\n useState,\n ReactNode\n} from \"react\";\nimport classes from \"./Input.module.scss\";\nimport readyclasses from \"../../../readyclasses.module.scss\";\nimport { FormElement } from \"../form.interfaces\";\nimport { useDetermineStatusIcon } from \"../../../hooks/useDetermineStatusIcon\";\nimport { MergeElementProps } from \"../../../interfaces\";\nimport { withReadOnly } from \"../../withReadOnly\";\nimport { Icon, Icons } from \"../../Icon/Icon\";\n\nexport const dateTypes = [\"date\", \"time\", \"datetime-local\"] as const;\n\nexport type Type =\n | \"text\"\n | \"email\"\n | \"file\"\n | \"number\"\n | \"password\"\n | \"search\"\n | \"tel\"\n | \"url\"\n | \"hidden\"\n | (typeof dateTypes)[number];\n\nexport type Props = MergeElementProps<\n \"input\",\n FormElement & {\n wrapperProps?: ComponentPropsWithRef<\"div\">;\n labeledBy?: string;\n type: Type;\n suffix?: ReactNode;\n prefix?: ReactNode;\n readOnlyView?: boolean;\n }\n>;\n\nconst InputComponent: ForwardRefRenderFunction<HTMLInputElement, Props> = (\n {\n error = false,\n success = false,\n className,\n name,\n style,\n wrapperProps,\n type,\n labeledBy,\n prefix,\n suffix,\n disabled,\n onFocus,\n onBlur,\n readOnlyView,\n ...rest\n }: Props,\n ref: Ref<HTMLInputElement>\n) => {\n const [focus, setFocus] = useState(false);\n const inputWrapperRef = useRef<HTMLDivElement>(null);\n const suffixRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n if (name === undefined) {\n throw new Error(\"Please give your <Input /> component a 'name' attribute\");\n }\n }, []);\n\n const inputClassNames = [classes[\"input\"]];\n const isDateType = (dateTypes as ReadonlyArray<string>).includes(type);\n\n const renderElement = (el: ReactNode) => {\n return typeof el === \"string\" ? <span>{el}</span> : el;\n };\n\n className && inputClassNames.push(className);\n\n const wrapperClasses = [classes[\"input-wrapper\"]];\n const outlineClasses = [classes[\"outline\"]];\n\n wrapperProps?.className && wrapperClasses.push(wrapperProps.className);\n type === \"hidden\" && wrapperClasses.push(readyclasses[\"hidden\"]);\n prefix && wrapperClasses.push(classes[\"prefix\"]);\n suffix && wrapperClasses.push(classes[\"suffix\"]);\n disabled && wrapperClasses.push(classes[\"disabled\"]) && outlineClasses.push(classes[\"disabled\"]);\n error && wrapperClasses.push(classes[\"error\"]) && outlineClasses.push(classes[\"error\"]);\n focus && wrapperClasses.push(classes[\"focus\"]) && outlineClasses.push(classes[\"focus\"]);\n success && wrapperClasses.push(classes[\"success\"]);\n\n const icon = useDetermineStatusIcon({ success, error });\n const readOnlyMode = rest[\"data-readonlyview\"] as boolean;\n\n return (\n <div\n ref={inputWrapperRef}\n {...wrapperProps}\n style={{ ...style }}\n data-readonlyview={readOnlyMode}\n className={`${classes[\"input-wrapper\"]} ${wrapperClasses.join(\" \")}`}\n tabIndex={readOnlyMode ? 0 : -1}\n >\n {prefix && (\n <div data-prefix className={classes[\"prefix\"]}>\n {renderElement(prefix)}\n </div>\n )}\n <input\n {...rest}\n ref={ref}\n aria-readonly={readOnlyMode}\n readOnly={readOnlyMode}\n onFocus={event => {\n setFocus(true);\n onFocus?.(event);\n }}\n onBlur={event => {\n setFocus(false);\n onBlur?.(event);\n }}\n aria-labelledby={labeledBy}\n type={type}\n name={name}\n disabled={disabled}\n aria-disabled={disabled}\n className={inputClassNames.join(\" \")}\n spellCheck={rest.spellCheck ?? false}\n tabIndex={readOnlyMode ? -1 : 0}\n />\n {isDateType ? <Icon icon={Icons.Calendar} data-date-icon /> : icon}\n {suffix && (\n <div ref={suffixRef} data-suffix className={classes[\"suffix\"]}>\n {renderElement(suffix)}\n </div>\n )}\n\n <span className={outlineClasses.join(\" \")}></span>\n </div>\n );\n};\n\nexport const Input = withReadOnly(React.forwardRef(InputComponent));\n"],"names":[],"mappings":";;;;;;AAiCO,MAAM,YAAY,CAAC,QAAQ,QAAQ,gBAAgB;AA0B1D,MAAM,iBAAoE,CACxE;AAAA,EACE,QAAQ;AAAA,EACR,UAAU;AAAA,EACV;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,GACA,QACG;AACH,QAAM,CAAC,OAAO,QAAQ,IAAI,SAAS,KAAK;AACxC,QAAM,kBAAkB,OAAuB,IAAI;AACnD,QAAM,YAAY,OAAuB,IAAI;AAE7C,YAAU,MAAM;AACd,QAAI,SAAS,QAAW;AACtB,YAAM,IAAI,MAAM,yDAAyD;AAAA,IAC3E;AAAA,EACF,GAAG,CAAA,CAAE;AAEL,QAAM,kBAAkB,CAAC,QAAQ,OAAO,CAAC;AACzC,QAAM,aAAc,UAAoC,SAAS,IAAI;AAErE,QAAM,gBAAgB,CAAC,OAAkB;AACvC,WAAO,OAAO,OAAO,WAAW,sBAAA,cAAC,QAAA,MAAM,EAAG,IAAU;AAAA,EACtD;AAEA,eAAa,gBAAgB,KAAK,SAAS;AAE3C,QAAM,iBAAiB,CAAC,QAAQ,eAAe,CAAC;AAChD,QAAM,iBAAiB,CAAC,QAAQ,SAAS,CAAC;AAE1C,gDAAc,cAAa,eAAe,KAAK,aAAa,SAAS;AACrE,WAAS,YAAY,eAAe,KAAK,aAAa,QAAQ,CAAC;AAC/D,YAAU,eAAe,KAAK,QAAQ,QAAQ,CAAC;AAC/C,YAAU,eAAe,KAAK,QAAQ,QAAQ,CAAC;AAC/C,cAAY,eAAe,KAAK,QAAQ,UAAU,CAAC,KAAK,eAAe,KAAK,QAAQ,UAAU,CAAC;AAC/F,WAAS,eAAe,KAAK,QAAQ,OAAO,CAAC,KAAK,eAAe,KAAK,QAAQ,OAAO,CAAC;AACtF,WAAS,eAAe,KAAK,QAAQ,OAAO,CAAC,KAAK,eAAe,KAAK,QAAQ,OAAO,CAAC;AACtF,aAAW,eAAe,KAAK,QAAQ,SAAS,CAAC;AAEjD,QAAM,OAAO,uBAAuB,EAAE,SAAS,OAAO;AACtD,QAAM,eAAe,KAAK,mBAAmB;AAE7C,SACE,sBAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAK;AAAA,MACJ,GAAG;AAAA,MACJ,OAAO,EAAE,GAAG,MAAA;AAAA,MACZ,qBAAmB;AAAA,MACnB,WAAW,GAAG,QAAQ,eAAe,CAAC,IAAI,eAAe,KAAK,GAAG,CAAC;AAAA,MAClE,UAAU,eAAe,IAAI;AAAA,IAAA;AAAA,IAE5B,UACC,sBAAA,cAAC,OAAA,EAAI,eAAW,MAAC,WAAW,QAAQ,QAAQ,EAAA,GACzC,cAAc,MAAM,CACvB;AAAA,IAEF,sBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACE,GAAG;AAAA,QACJ;AAAA,QACA,iBAAe;AAAA,QACf,UAAU;AAAA,QACV,SAAS,CAAA,UAAS;AAChB,mBAAS,IAAI;AACb,6CAAU;AAAA,QACZ;AAAA,QACA,QAAQ,CAAA,UAAS;AACf,mBAAS,KAAK;AACd,2CAAS;AAAA,QACX;AAAA,QACA,mBAAiB;AAAA,QACjB;AAAA,QACA;AAAA,QACA;AAAA,QACA,iBAAe;AAAA,QACf,WAAW,gBAAgB,KAAK,GAAG;AAAA,QACnC,YAAY,KAAK,cAAc;AAAA,QAC/B,UAAU,eAAe,KAAK;AAAA,MAAA;AAAA,IAAA;AAAA,IAE/B,iDAAc,MAAA,EAAK,MAAM,MAAM,UAAU,kBAAc,MAAC,IAAK;AAAA,IAC7D,UACC,sBAAA,cAAC,OAAA,EAAI,KAAK,WAAW,eAAW,MAAC,WAAW,QAAQ,QAAQ,EAAA,GACzD,cAAc,MAAM,CACvB;AAAA,wCAGD,QAAA,EAAK,WAAW,eAAe,KAAK,GAAG,EAAA,CAAG;AAAA,EAAA;AAGjD;AAEO,MAAM,QAAQ,aAAa,MAAM,WAAW,cAAc,CAAC;"}
|
|
@@ -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_k432A{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.Input_hidden_k432A{display:none}.Input_slide-in_k432A{animation:Input_slide-in_k432A .5s forwards}@media(prefers-reduced-motion:reduce){.Input_slide-in_k432A{animation-duration:.1ms}}.Input_slide-out_k432A{animation:Input_slide-out_k432A .5s forwards}@media(prefers-reduced-motion:reduce){.Input_slide-out_k432A{animation-duration:.1ms}}@keyframes Input_slide-in_k432A{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes Input_slide-out_k432A{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_k432A{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_k432A{transition-duration:.1ms}}.Input_input-wrapper_k432A input:-webkit-autofill,.Input_input-wrapper_k432A input:-webkit-autofill:hover,.Input_input-wrapper_k432A input:-webkit-autofill:focus,.Input_input-wrapper_k432A 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_k432A input:-webkit-autofill~.Input_outline_k432A:after,.Input_input-wrapper_k432A input:-webkit-autofill:hover~.Input_outline_k432A:after,.Input_input-wrapper_k432A input:-webkit-autofill:focus~.Input_outline_k432A:after,.Input_input-wrapper_k432A input:-webkit-autofill:active~.Input_outline_k432A: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_k432A input:-webkit-autofill~.Input_outline_k432A:after,.Input_input-wrapper_k432A input:-webkit-autofill:hover~.Input_outline_k432A:after,.Input_input-wrapper_k432A input:-webkit-autofill:focus~.Input_outline_k432A:after,.Input_input-wrapper_k432A input:-webkit-autofill:active~.Input_outline_k432A:after{background-color:#e8f0fe}}@media not all and (-webkit-min-device-pixel-ratio:0),not all and (min-resolution:.001dpcm){.Input_input-wrapper_k432A input:-webkit-autofill~.Input_outline_k432A:after,.Input_input-wrapper_k432A input:-webkit-autofill:hover~.Input_outline_k432A:after,.Input_input-wrapper_k432A input:-webkit-autofill:focus~.Input_outline_k432A:after,.Input_input-wrapper_k432A input:-webkit-autofill:active~.Input_outline_k432A:after{background-color:#faffbd}}.Input_input-wrapper_k432A:hover .Input_outline_k432A{border-color:var(--input-border-color);background-color:var(--input-hover-background-color)}.Input_input-wrapper_k432A .Input_outline_k432A.Input_disabled_k432A{border-color:var(--disabled);background-color:var(--input-disabled-background-color)}.Input_input-wrapper_k432A .Input_outline_k432A.Input_error_k432A{border-color:var(--error)}.Input_input-wrapper_k432A [data-icon-status=success],.Input_input-wrapper_k432A [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_k432A [data-icon-status=success]:before,.Input_input-wrapper_k432A [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_k432A [data-icon-status=success]{color:var(--success)}.Input_input-wrapper_k432A [data-icon-status=error]{color:var(--error)}.Input_input-wrapper_k432A [data-date-icon]{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:1;color:var(--color-blue-grey900);pointer-events:none}.Input_input-wrapper_k432A [data-date-icon]: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_k432A.Input_error_k432A [data-date-icon]{color:var(--error)}.Input_input-wrapper_k432A.Input_success_k432A [data-date-icon]{color:var(--success)}.Input_input-wrapper_k432A.Input_disabled_k432A [data-date-icon]{color:var(--greyed-out)}.Input_input-wrapper_k432A[data-readonlyview=true]{color:var(--read-only-text-color)}.Input_input-wrapper_k432A[data-readonlyview=true] .Input_Input-module_k432A{border-color:var(--read-only-border-color)}.Input_input-wrapper_k432A[data-readonlyview=true] span.Input_outline_k432A{color:var(--read-only-text-color);border-color:var(--read-only-border-color);background-color:var(--color-white)}.Input_input-wrapper_k432A[data-readonlyview=true]:hover .Input_outline_k432A{color:var(--read-only-text-color);background-color:var(--color-white);border-color:var(--read-only-border-color)}.Input_input-wrapper_k432A [data-prefix],.Input_input-wrapper_k432A [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_k432A [data-prefix],.Input_input-wrapper_k432A [data-suffix]{transition-duration:.1ms}}.Input_input-wrapper_k432A.Input_focus_k432A:not(.Input_disabled_k432A):not([data-readonlyview=true]),.Input_input-wrapper_k432A[data-readonlyview=true]:focus:not(.Input_disabled_k432A),.Input_input-wrapper_k432A[data-readonlyview=true]:focus-visible:not(.Input_disabled_k432A){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_k432A{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_k432A:not(.Input_shrink-width-for-date-icon_k432A){width:100%}.Input_input_k432A:disabled{cursor:not-allowed;color:var(--greyed-out)}.Input_input_k432A.Input_shrink-width-for-date-icon_k432A{width:auto}.Input_input_k432A[type=date]::-webkit-calendar-picker-indicator,.Input_input_k432A[type=time]::-webkit-calendar-picker-indicator,.Input_input_k432A[type=datetime-local]::-webkit-calendar-picker-indicator{opacity:0;position:absolute;right:0;width:calc(1.25 * var(--font-size));height:100%;cursor:pointer;z-index:2}.Input_input_k432A{transition-property:all;transition-duration:.2s;transition-timing-function:ease-in-out}@media(prefers-reduced-motion:reduce){.Input_input_k432A{transition-duration:.1ms}}.Input_input_k432A:focus:not(:disabled){outline:none}.Input_input_k432A[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:none}[data-readonlyview=true] .Input_outline_k432A{border-color:var(--read-only-border-color)}.Input_outline_k432A{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_k432A{transition-duration:.1ms}}.Input_error_k432A input{padding-right:calc(1.25 * var(--font-size))}.Input_error_k432A input.Input_remove-extra-indent_k432A{padding-right:0}.Input_success_k432A input{padding-right:calc(1.25 * var(--font-size))}@media only screen and (min-width:30em){.Input_input-wrapper_k432A{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_k432A",t="Input_disabled_k432A",s="Input_error_k432A",u="Input_success_k432A",p="Input_focus_k432A",r="Input_input_k432A",o={"input-wrapper":"Input_input-wrapper_k432A",outline:e,disabled:t,error:s,success:u,focus:p,input:r};exports.default=o,exports.disabled=t,exports.error=s,exports.focus=p,exports.input=r,exports.outline=e,exports.success=u;
|
|
3
3
|
//# sourceMappingURL=Input.module.scss.cjs.js.map
|
|
@@ -1,19 +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
|
|
6
|
-
const
|
|
7
|
-
const
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode('.Input_sr-only_k432A{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.Input_hidden_k432A{display:none}.Input_slide-in_k432A{animation:Input_slide-in_k432A .5s forwards}@media(prefers-reduced-motion:reduce){.Input_slide-in_k432A{animation-duration:.1ms}}.Input_slide-out_k432A{animation:Input_slide-out_k432A .5s forwards}@media(prefers-reduced-motion:reduce){.Input_slide-out_k432A{animation-duration:.1ms}}@keyframes Input_slide-in_k432A{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes Input_slide-out_k432A{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_k432A{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_k432A{transition-duration:.1ms}}.Input_input-wrapper_k432A input:-webkit-autofill,.Input_input-wrapper_k432A input:-webkit-autofill:hover,.Input_input-wrapper_k432A input:-webkit-autofill:focus,.Input_input-wrapper_k432A 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_k432A input:-webkit-autofill~.Input_outline_k432A:after,.Input_input-wrapper_k432A input:-webkit-autofill:hover~.Input_outline_k432A:after,.Input_input-wrapper_k432A input:-webkit-autofill:focus~.Input_outline_k432A:after,.Input_input-wrapper_k432A input:-webkit-autofill:active~.Input_outline_k432A: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_k432A input:-webkit-autofill~.Input_outline_k432A:after,.Input_input-wrapper_k432A input:-webkit-autofill:hover~.Input_outline_k432A:after,.Input_input-wrapper_k432A input:-webkit-autofill:focus~.Input_outline_k432A:after,.Input_input-wrapper_k432A input:-webkit-autofill:active~.Input_outline_k432A:after{background-color:#e8f0fe}}@media not all and (-webkit-min-device-pixel-ratio:0),not all and (min-resolution:.001dpcm){.Input_input-wrapper_k432A input:-webkit-autofill~.Input_outline_k432A:after,.Input_input-wrapper_k432A input:-webkit-autofill:hover~.Input_outline_k432A:after,.Input_input-wrapper_k432A input:-webkit-autofill:focus~.Input_outline_k432A:after,.Input_input-wrapper_k432A input:-webkit-autofill:active~.Input_outline_k432A:after{background-color:#faffbd}}.Input_input-wrapper_k432A:hover .Input_outline_k432A{border-color:var(--input-border-color);background-color:var(--input-hover-background-color)}.Input_input-wrapper_k432A .Input_outline_k432A.Input_disabled_k432A{border-color:var(--disabled);background-color:var(--input-disabled-background-color)}.Input_input-wrapper_k432A .Input_outline_k432A.Input_error_k432A{border-color:var(--error)}.Input_input-wrapper_k432A [data-icon-status=success],.Input_input-wrapper_k432A [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_k432A [data-icon-status=success]:before,.Input_input-wrapper_k432A [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_k432A [data-icon-status=success]{color:var(--success)}.Input_input-wrapper_k432A [data-icon-status=error]{color:var(--error)}.Input_input-wrapper_k432A [data-date-icon]{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:1;color:var(--color-blue-grey900);pointer-events:none}.Input_input-wrapper_k432A [data-date-icon]: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_k432A.Input_error_k432A [data-date-icon]{color:var(--error)}.Input_input-wrapper_k432A.Input_success_k432A [data-date-icon]{color:var(--success)}.Input_input-wrapper_k432A.Input_disabled_k432A [data-date-icon]{color:var(--greyed-out)}.Input_input-wrapper_k432A[data-readonlyview=true]{color:var(--read-only-text-color)}.Input_input-wrapper_k432A[data-readonlyview=true] .Input_Input-module_k432A{border-color:var(--read-only-border-color)}.Input_input-wrapper_k432A[data-readonlyview=true] span.Input_outline_k432A{color:var(--read-only-text-color);border-color:var(--read-only-border-color);background-color:var(--color-white)}.Input_input-wrapper_k432A[data-readonlyview=true]:hover .Input_outline_k432A{color:var(--read-only-text-color);background-color:var(--color-white);border-color:var(--read-only-border-color)}.Input_input-wrapper_k432A [data-prefix],.Input_input-wrapper_k432A [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_k432A [data-prefix],.Input_input-wrapper_k432A [data-suffix]{transition-duration:.1ms}}.Input_input-wrapper_k432A.Input_focus_k432A:not(.Input_disabled_k432A):not([data-readonlyview=true]),.Input_input-wrapper_k432A[data-readonlyview=true]:focus:not(.Input_disabled_k432A),.Input_input-wrapper_k432A[data-readonlyview=true]:focus-visible:not(.Input_disabled_k432A){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_k432A{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_k432A:not(.Input_shrink-width-for-date-icon_k432A){width:100%}.Input_input_k432A:disabled{cursor:not-allowed;color:var(--greyed-out)}.Input_input_k432A.Input_shrink-width-for-date-icon_k432A{width:auto}.Input_input_k432A[type=date]::-webkit-calendar-picker-indicator,.Input_input_k432A[type=time]::-webkit-calendar-picker-indicator,.Input_input_k432A[type=datetime-local]::-webkit-calendar-picker-indicator{opacity:0;position:absolute;right:0;width:calc(1.25 * var(--font-size));height:100%;cursor:pointer;z-index:2}.Input_input_k432A{transition-property:all;transition-duration:.2s;transition-timing-function:ease-in-out}@media(prefers-reduced-motion:reduce){.Input_input_k432A{transition-duration:.1ms}}.Input_input_k432A:focus:not(:disabled){outline:none}.Input_input_k432A[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:none}[data-readonlyview=true] .Input_outline_k432A{border-color:var(--read-only-border-color)}.Input_outline_k432A{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_k432A{transition-duration:.1ms}}.Input_error_k432A input{padding-right:calc(1.25 * var(--font-size))}.Input_error_k432A input.Input_remove-extra-indent_k432A{padding-right:0}.Input_success_k432A input{padding-right:calc(1.25 * var(--font-size))}@media only screen and (min-width:30em){.Input_input-wrapper_k432A{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_k432A";
|
|
3
|
+
const disabled = "Input_disabled_k432A";
|
|
4
|
+
const error = "Input_error_k432A";
|
|
5
|
+
const success = "Input_success_k432A";
|
|
6
|
+
const focus = "Input_focus_k432A";
|
|
7
|
+
const input = "Input_input_k432A";
|
|
8
8
|
const classes = {
|
|
9
|
-
"input-wrapper": "Input_input-
|
|
9
|
+
"input-wrapper": "Input_input-wrapper_k432A",
|
|
10
10
|
outline,
|
|
11
11
|
disabled,
|
|
12
12
|
error,
|
|
13
|
+
success,
|
|
13
14
|
focus,
|
|
14
|
-
input
|
|
15
|
-
"shrink-width-for-date-icon": "Input_shrink-width-for-date-icon_U9kEb",
|
|
16
|
-
success
|
|
15
|
+
input
|
|
17
16
|
};
|
|
18
17
|
export {
|
|
19
18
|
classes as default,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.module.scss.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Input.module.scss.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
|
|
@@ -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_k432A{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_k432A",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_k432A{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_k432A";
|
|
3
3
|
const classes = {
|
|
4
4
|
label
|
|
5
5
|
};
|
|
@@ -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_k432A{position:relative}.Radio_radio-wrapper_k432A+.Radio_radio-wrapper_k432A{margin-top:.75rem}.Radio_error_k432A{color:var(--error)}.Radio_error-message_k432A{margin-top:.25rem;margin-left:calc(1.75 * var(--font-size));font-size:var(--font-size-sub)}.Radio_helper-text_k432A{margin-top:.25rem;margin-left:1.75rem}.Radio_error-icon_k432A{margin-right:.5rem;font-size:var(--font-size-big)}.Radio_radio-container_k432A{display:flex}.Radio_radio-container_k432A 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_k432A label.Radio_no-margin-top_k432A{margin-top:0}.Radio_disabled_k432A .Radio_radio-container_k432A label{cursor:not-allowed}.Radio_native-input_k432A{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_k432A+span[data-icon=true]:before{display:block;width:var(--font-size-big);height:var(--font-size-big)}.Radio_native-input_k432A:checked+*{color:var(--radio-checked-color)}.Radio_native-input_k432A:checked+*.Radio_disabled_k432A{color:var(--disabled);cursor:not-allowed;pointer-events:none}.Radio_native-input_k432A:focus-visible+*{border-radius:100%;outline:2px solid var(--color-focus);outline-offset:2px}.Radio_native-input_k432A.Radio_error_k432A+*{border-radius:100%}.Radio_native-input_k432A.Radio_error_k432A:hover+.Radio_radio_k432A:before{outline-color:var(--radio-hover-background-color)}.Radio_native-input_k432A.Radio_error_k432A:active+.Radio_radio_k432A:before{outline-color:var(--radio-pressed-background-color)}.Radio_native-input_k432A:hover+.Radio_input_k432A.Radio_circle_k432A:not(.Radio_disabled_k432A){background-color:var(--radio-hover-background-color)}.Radio_native-input_k432A:active+.Radio_input_k432A.Radio_circle_k432A:not(.Radio_disabled_k432A){background-color:var(--radio-pressed-background-color)}.Radio_native-input_k432A:hover+.Radio_input_k432A.Radio_radio_k432A:not(.Radio_disabled_k432A){background-color:var(--radio-hover-background-color);color:var(--radio-hover-color)}.Radio_native-input_k432A:active+.Radio_input_k432A.Radio_radio_k432A:not(.Radio_disabled_k432A){color:var(--radio-pressed-color);background-color:var(--radio-pressed-background-color)}.Radio_input_k432A{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_k432A:active{border-radius:100%}.Radio_disabled_k432A .Radio_input_k432A{color:var(--disabled)}.Radio_disabled_k432A{color:var(--disabled);pointer-events:none}[data-readonlyview=true] .Radio_radio-wrapper_k432A{color:var(--read-only-text-color)}[data-readonlyview=true] .Radio_radio-wrapper_k432A span.Radio_input_k432A{color:var(--read-only-text-color);cursor:not-allowed}[data-readonlyview=true] .Radio_radio-wrapper_k432A span.Radio_input_k432A:before{outline:1px solid var(--read-only-border-color);outline-offset:-1px;border-radius:50%}[data-readonlyview=true] .Radio_radio-wrapper_k432A label{-webkit-user-select:text;user-select:text}.Radio_radio-container_k432A input[type=radio][data-readonlyview=true]~span.Radio_input_k432A{color:var(--read-only-text-color);cursor:not-allowed}.Radio_radio-container_k432A input[type=radio][data-readonlyview=true]~span.Radio_input_k432A:before{outline:1px solid var(--read-only-border-color);outline-offset:-1px;border-radius:50%}.Radio_radio-container_k432A input[type=radio][data-readonlyview=true]~label{-webkit-user-select:text;user-select:text;pointer-events:none}.Radio_radio-container_k432A 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_k432A",o="Radio_disabled_k432A",e="Radio_radio_k432A",i="Radio_input_k432A",a="Radio_circle_k432A",d={"radio-wrapper":"Radio_radio-wrapper_k432A",error:r,"error-message":"Radio_error-message_k432A","radio-container":"Radio_radio-container_k432A","no-margin-top":"Radio_no-margin-top_k432A",disabled:o,"native-input":"Radio_native-input_k432A",radio:e,input:i,circle:a};exports.circle=a,exports.default=d,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_k432A{position:relative}.Radio_radio-wrapper_k432A+.Radio_radio-wrapper_k432A{margin-top:.75rem}.Radio_error_k432A{color:var(--error)}.Radio_error-message_k432A{margin-top:.25rem;margin-left:calc(1.75 * var(--font-size));font-size:var(--font-size-sub)}.Radio_helper-text_k432A{margin-top:.25rem;margin-left:1.75rem}.Radio_error-icon_k432A{margin-right:.5rem;font-size:var(--font-size-big)}.Radio_radio-container_k432A{display:flex}.Radio_radio-container_k432A 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_k432A label.Radio_no-margin-top_k432A{margin-top:0}.Radio_disabled_k432A .Radio_radio-container_k432A label{cursor:not-allowed}.Radio_native-input_k432A{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_k432A+span[data-icon=true]:before{display:block;width:var(--font-size-big);height:var(--font-size-big)}.Radio_native-input_k432A:checked+*{color:var(--radio-checked-color)}.Radio_native-input_k432A:checked+*.Radio_disabled_k432A{color:var(--disabled);cursor:not-allowed;pointer-events:none}.Radio_native-input_k432A:focus-visible+*{border-radius:100%;outline:2px solid var(--color-focus);outline-offset:2px}.Radio_native-input_k432A.Radio_error_k432A+*{border-radius:100%}.Radio_native-input_k432A.Radio_error_k432A:hover+.Radio_radio_k432A:before{outline-color:var(--radio-hover-background-color)}.Radio_native-input_k432A.Radio_error_k432A:active+.Radio_radio_k432A:before{outline-color:var(--radio-pressed-background-color)}.Radio_native-input_k432A:hover+.Radio_input_k432A.Radio_circle_k432A:not(.Radio_disabled_k432A){background-color:var(--radio-hover-background-color)}.Radio_native-input_k432A:active+.Radio_input_k432A.Radio_circle_k432A:not(.Radio_disabled_k432A){background-color:var(--radio-pressed-background-color)}.Radio_native-input_k432A:hover+.Radio_input_k432A.Radio_radio_k432A:not(.Radio_disabled_k432A){background-color:var(--radio-hover-background-color);color:var(--radio-hover-color)}.Radio_native-input_k432A:active+.Radio_input_k432A.Radio_radio_k432A:not(.Radio_disabled_k432A){color:var(--radio-pressed-color);background-color:var(--radio-pressed-background-color)}.Radio_input_k432A{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_k432A:active{border-radius:100%}.Radio_disabled_k432A .Radio_input_k432A{color:var(--disabled)}.Radio_disabled_k432A{color:var(--disabled);pointer-events:none}[data-readonlyview=true] .Radio_radio-wrapper_k432A{color:var(--read-only-text-color)}[data-readonlyview=true] .Radio_radio-wrapper_k432A span.Radio_input_k432A{color:var(--read-only-text-color);cursor:not-allowed}[data-readonlyview=true] .Radio_radio-wrapper_k432A span.Radio_input_k432A:before{outline:1px solid var(--read-only-border-color);outline-offset:-1px;border-radius:50%}[data-readonlyview=true] .Radio_radio-wrapper_k432A label{-webkit-user-select:text;user-select:text}.Radio_radio-container_k432A input[type=radio][data-readonlyview=true]~span.Radio_input_k432A{color:var(--read-only-text-color);cursor:not-allowed}.Radio_radio-container_k432A input[type=radio][data-readonlyview=true]~span.Radio_input_k432A:before{outline:1px solid var(--read-only-border-color);outline-offset:-1px;border-radius:50%}.Radio_radio-container_k432A input[type=radio][data-readonlyview=true]~label{-webkit-user-select:text;user-select:text;pointer-events:none}.Radio_radio-container_k432A 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_k432A";
|
|
3
|
+
const disabled = "Radio_disabled_k432A";
|
|
4
|
+
const radio = "Radio_radio_k432A";
|
|
5
|
+
const input = "Radio_input_k432A";
|
|
6
|
+
const circle = "Radio_circle_k432A";
|
|
7
7
|
const classes = {
|
|
8
|
-
"radio-wrapper": "Radio_radio-
|
|
8
|
+
"radio-wrapper": "Radio_radio-wrapper_k432A",
|
|
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_k432A",
|
|
11
|
+
"radio-container": "Radio_radio-container_k432A",
|
|
12
|
+
"no-margin-top": "Radio_no-margin-top_k432A",
|
|
13
13
|
disabled,
|
|
14
|
-
"native-input": "Radio_native-
|
|
14
|
+
"native-input": "Radio_native-input_k432A",
|
|
15
15
|
radio,
|
|
16
16
|
input,
|
|
17
17
|
circle
|