@rolster/react-components 19.12.2 → 19.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +220 -220
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/es/index.mjs +220 -220
- package/dist/es/index.mjs.map +1 -1
- package/dist/esm/components/atoms/Amount/Amount.d.ts +3 -3
- package/dist/esm/components/atoms/Amount/Amount.js +2 -2
- package/dist/esm/components/atoms/Amount/Amount.js.map +1 -1
- package/dist/esm/components/atoms/AreaText/AreaText.d.ts +1 -1
- package/dist/esm/components/atoms/AreaText/AreaText.js +2 -2
- package/dist/esm/components/atoms/AreaText/AreaText.js.map +1 -1
- package/dist/esm/components/atoms/Avatar/Avatar.d.ts +1 -1
- package/dist/esm/components/atoms/Avatar/Avatar.js +2 -2
- package/dist/esm/components/atoms/Avatar/Avatar.js.map +1 -1
- package/dist/esm/components/atoms/Badge/Badge.d.ts +1 -1
- package/dist/esm/components/atoms/Badge/Badge.js +2 -2
- package/dist/esm/components/atoms/Badge/Badge.js.map +1 -1
- package/dist/esm/components/atoms/Breadcrumb/Breadcrumb.d.ts +3 -3
- package/dist/esm/components/atoms/Breadcrumb/Breadcrumb.js +2 -2
- package/dist/esm/components/atoms/Breadcrumb/Breadcrumb.js.map +1 -1
- package/dist/esm/components/atoms/Button/Button.d.ts +1 -1
- package/dist/esm/components/atoms/Button/Button.js +2 -2
- package/dist/esm/components/atoms/Button/Button.js.map +1 -1
- package/dist/esm/components/atoms/ButtonAction/ButtonAction.d.ts +1 -1
- package/dist/esm/components/atoms/ButtonAction/ButtonAction.js +2 -2
- package/dist/esm/components/atoms/ButtonAction/ButtonAction.js.map +1 -1
- package/dist/esm/components/atoms/ButtonIcon/ButtonIcon.d.ts +3 -2
- package/dist/esm/components/atoms/ButtonIcon/ButtonIcon.js +2 -2
- package/dist/esm/components/atoms/ButtonIcon/ButtonIcon.js.map +1 -1
- package/dist/esm/components/atoms/ButtonOption/ButtonOption.js +2 -2
- package/dist/esm/components/atoms/ButtonOption/ButtonOption.js.map +1 -1
- package/dist/esm/components/atoms/CheckBox/CheckBox.d.ts +2 -2
- package/dist/esm/components/atoms/CheckBox/CheckBox.js +4 -4
- package/dist/esm/components/atoms/CheckBox/CheckBox.js.map +1 -1
- package/dist/esm/components/atoms/Chip/Chip.d.ts +1 -1
- package/dist/esm/components/atoms/Chip/Chip.js +2 -2
- package/dist/esm/components/atoms/Chip/Chip.js.map +1 -1
- package/dist/esm/components/atoms/Icon/Icon.d.ts +3 -3
- package/dist/esm/components/atoms/Icon/Icon.js +2 -2
- package/dist/esm/components/atoms/Icon/Icon.js.map +1 -1
- package/dist/esm/components/atoms/Image/Image.d.ts +1 -1
- package/dist/esm/components/atoms/Image/Image.js +2 -2
- package/dist/esm/components/atoms/Image/Image.js.map +1 -1
- package/dist/esm/components/atoms/Input/Input.d.ts +1 -1
- package/dist/esm/components/atoms/Input/Input.js +2 -2
- package/dist/esm/components/atoms/Input/Input.js.map +1 -1
- package/dist/esm/components/atoms/InputCounter/InputCounter.d.ts +1 -1
- package/dist/esm/components/atoms/InputCounter/InputCounter.js +2 -2
- package/dist/esm/components/atoms/InputCounter/InputCounter.js.map +1 -1
- package/dist/esm/components/atoms/InputDecimal/InputDecimal.d.ts +2 -1
- package/dist/esm/components/atoms/InputDecimal/InputDecimal.js +2 -2
- package/dist/esm/components/atoms/InputDecimal/InputDecimal.js.map +1 -1
- package/dist/esm/components/atoms/InputMoney/InputMoney.d.ts +2 -1
- package/dist/esm/components/atoms/InputMoney/InputMoney.js +2 -2
- package/dist/esm/components/atoms/InputMoney/InputMoney.js.map +1 -1
- package/dist/esm/components/atoms/InputNumber/InputNumber.d.ts +2 -1
- package/dist/esm/components/atoms/InputNumber/InputNumber.js +2 -2
- package/dist/esm/components/atoms/InputNumber/InputNumber.js.map +1 -1
- package/dist/esm/components/atoms/InputPassword/InputPassword.d.ts +1 -1
- package/dist/esm/components/atoms/InputPassword/InputPassword.js +2 -2
- package/dist/esm/components/atoms/InputPassword/InputPassword.js.map +1 -1
- package/dist/esm/components/atoms/InputPercentage/InputPercentage.d.ts +2 -1
- package/dist/esm/components/atoms/InputPercentage/InputPercentage.js +2 -2
- package/dist/esm/components/atoms/InputPercentage/InputPercentage.js.map +1 -1
- package/dist/esm/components/atoms/InputSearch/InputSearch.d.ts +3 -2
- package/dist/esm/components/atoms/InputSearch/InputSearch.js +2 -2
- package/dist/esm/components/atoms/InputSearch/InputSearch.js.map +1 -1
- package/dist/esm/components/atoms/InputText/InputText.d.ts +4 -1
- package/dist/esm/components/atoms/InputText/InputText.js +2 -2
- package/dist/esm/components/atoms/InputText/InputText.js.map +1 -1
- package/dist/esm/components/atoms/Label/Label.d.ts +1 -1
- package/dist/esm/components/atoms/Label/Label.js +2 -2
- package/dist/esm/components/atoms/Label/Label.js.map +1 -1
- package/dist/esm/components/atoms/Led/Led.d.ts +3 -3
- package/dist/esm/components/atoms/Led/Led.js +2 -2
- package/dist/esm/components/atoms/Led/Led.js.map +1 -1
- package/dist/esm/components/atoms/MessageIcon/MessageIcon.d.ts +1 -1
- package/dist/esm/components/atoms/MessageIcon/MessageIcon.js +2 -2
- package/dist/esm/components/atoms/MessageIcon/MessageIcon.js.map +1 -1
- package/dist/esm/components/atoms/Poster/Poster.d.ts +1 -1
- package/dist/esm/components/atoms/Poster/Poster.js +2 -2
- package/dist/esm/components/atoms/Poster/Poster.js.map +1 -1
- package/dist/esm/components/atoms/ProgressBar/ProgressBar.d.ts +1 -1
- package/dist/esm/components/atoms/ProgressBar/ProgressBar.js +2 -2
- package/dist/esm/components/atoms/ProgressBar/ProgressBar.js.map +1 -1
- package/dist/esm/components/atoms/ProgressCircular/ProgressCircular.d.ts +4 -2
- package/dist/esm/components/atoms/ProgressCircular/ProgressCircular.js +2 -2
- package/dist/esm/components/atoms/ProgressCircular/ProgressCircular.js.map +1 -1
- package/dist/esm/components/atoms/RadioButton/RadioButton.d.ts +1 -1
- package/dist/esm/components/atoms/RadioButton/RadioButton.js +2 -2
- package/dist/esm/components/atoms/RadioButton/RadioButton.js.map +1 -1
- package/dist/esm/components/atoms/Skeleton/Skeleton.d.ts +1 -1
- package/dist/esm/components/atoms/Skeleton/Skeleton.js +2 -2
- package/dist/esm/components/atoms/Skeleton/Skeleton.js.map +1 -1
- package/dist/esm/components/atoms/SkeletonText/SkeletonText.d.ts +1 -1
- package/dist/esm/components/atoms/SkeletonText/SkeletonText.js +2 -2
- package/dist/esm/components/atoms/SkeletonText/SkeletonText.js.map +1 -1
- package/dist/esm/components/atoms/Spinner/Spinner.d.ts +2 -1
- package/dist/esm/components/atoms/Spinner/Spinner.js +2 -2
- package/dist/esm/components/atoms/Spinner/Spinner.js.map +1 -1
- package/dist/esm/components/atoms/SwapHover/SwapHover.d.ts +1 -1
- package/dist/esm/components/atoms/SwapHover/SwapHover.js +2 -2
- package/dist/esm/components/atoms/SwapHover/SwapHover.js.map +1 -1
- package/dist/esm/components/atoms/Switch/Switch.d.ts +2 -2
- package/dist/esm/components/atoms/Switch/Switch.js +4 -4
- package/dist/esm/components/atoms/Switch/Switch.js.map +1 -1
- package/dist/esm/components/atoms/TabularText/TabularText.d.ts +3 -2
- package/dist/esm/components/atoms/TabularText/TabularText.js +2 -2
- package/dist/esm/components/atoms/TabularText/TabularText.js.map +1 -1
- package/dist/esm/components/definitions.d.ts +10 -2
- package/dist/esm/components/molecules/Accordion/Accordion.d.ts +1 -1
- package/dist/esm/components/molecules/Accordion/Accordion.js +2 -2
- package/dist/esm/components/molecules/Accordion/Accordion.js.map +1 -1
- package/dist/esm/components/molecules/Alert/Alert.d.ts +1 -1
- package/dist/esm/components/molecules/Alert/Alert.js +2 -2
- package/dist/esm/components/molecules/Alert/Alert.js.map +1 -1
- package/dist/esm/components/molecules/AppThemeTabs/AppThemeTabs.d.ts +3 -3
- package/dist/esm/components/molecules/AppThemeTabs/AppThemeTabs.js +2 -2
- package/dist/esm/components/molecules/AppThemeTabs/AppThemeTabs.js.map +1 -1
- package/dist/esm/components/molecules/Ballot/Ballot.d.ts +1 -1
- package/dist/esm/components/molecules/Ballot/Ballot.js +2 -2
- package/dist/esm/components/molecules/Ballot/Ballot.js.map +1 -1
- package/dist/esm/components/molecules/Body/Body.d.ts +1 -1
- package/dist/esm/components/molecules/Body/Body.js +2 -2
- package/dist/esm/components/molecules/Body/Body.js.map +1 -1
- package/dist/esm/components/molecules/ButtonProgress/ButtonProgress.d.ts +3 -3
- package/dist/esm/components/molecules/ButtonProgress/ButtonProgress.js +2 -2
- package/dist/esm/components/molecules/ButtonProgress/ButtonProgress.js.map +1 -1
- package/dist/esm/components/molecules/ButtonStepper/ButtonStepper.d.ts +1 -1
- package/dist/esm/components/molecules/ButtonStepper/ButtonStepper.js +2 -2
- package/dist/esm/components/molecules/ButtonStepper/ButtonStepper.js.map +1 -1
- package/dist/esm/components/molecules/ButtonToggle/ButtonToggle.d.ts +1 -1
- package/dist/esm/components/molecules/ButtonToggle/ButtonToggle.js +2 -2
- package/dist/esm/components/molecules/ButtonToggle/ButtonToggle.js.map +1 -1
- package/dist/esm/components/molecules/ChipGroup/ChipGroup.d.ts +2 -2
- package/dist/esm/components/molecules/ChipGroup/ChipGroup.js +2 -2
- package/dist/esm/components/molecules/ChipGroup/ChipGroup.js.map +1 -1
- package/dist/esm/components/molecules/Content/Content.d.ts +1 -1
- package/dist/esm/components/molecules/Content/Content.js +2 -2
- package/dist/esm/components/molecules/Content/Content.js.map +1 -1
- package/dist/esm/components/molecules/FieldArea/FieldArea.js +2 -2
- package/dist/esm/components/molecules/FieldArea/FieldArea.js.map +1 -1
- package/dist/esm/components/molecules/FieldDecimal/FieldDecimal.js +2 -2
- package/dist/esm/components/molecules/FieldDecimal/FieldDecimal.js.map +1 -1
- package/dist/esm/components/molecules/FieldFile/FieldFile.d.ts +1 -1
- package/dist/esm/components/molecules/FieldFile/FieldFile.js +2 -2
- package/dist/esm/components/molecules/FieldFile/FieldFile.js.map +1 -1
- package/dist/esm/components/molecules/FieldListSuggestions/FieldListSuggestions.d.ts +3 -3
- package/dist/esm/components/molecules/FieldListSuggestions/FieldListSuggestions.js +2 -2
- package/dist/esm/components/molecules/FieldListSuggestions/FieldListSuggestions.js.map +1 -1
- package/dist/esm/components/molecules/FieldMoney/FieldMoney.js +2 -2
- package/dist/esm/components/molecules/FieldMoney/FieldMoney.js.map +1 -1
- package/dist/esm/components/molecules/FieldNumber/FieldNumber.js +2 -2
- package/dist/esm/components/molecules/FieldNumber/FieldNumber.js.map +1 -1
- package/dist/esm/components/molecules/FieldPassword/FieldPassword.js +2 -2
- package/dist/esm/components/molecules/FieldPassword/FieldPassword.js.map +1 -1
- package/dist/esm/components/molecules/FieldPercentage/FieldPercentage.js +2 -2
- package/dist/esm/components/molecules/FieldPercentage/FieldPercentage.js.map +1 -1
- package/dist/esm/components/molecules/FieldReadonly/FieldReadonly.d.ts +1 -1
- package/dist/esm/components/molecules/FieldReadonly/FieldReadonly.js +2 -2
- package/dist/esm/components/molecules/FieldReadonly/FieldReadonly.js.map +1 -1
- package/dist/esm/components/molecules/FieldText/FieldText.js +2 -2
- package/dist/esm/components/molecules/FieldText/FieldText.js.map +1 -1
- package/dist/esm/components/molecules/LabelCheckBox/LabelCheckBox.d.ts +1 -1
- package/dist/esm/components/molecules/LabelCheckBox/LabelCheckBox.js +2 -2
- package/dist/esm/components/molecules/LabelCheckBox/LabelCheckBox.js.map +1 -1
- package/dist/esm/components/molecules/LabelRadioButton/LabelRadioButton.js +2 -2
- package/dist/esm/components/molecules/LabelRadioButton/LabelRadioButton.js.map +1 -1
- package/dist/esm/components/molecules/LabelSwitch/LabelSwitch.d.ts +1 -1
- package/dist/esm/components/molecules/LabelSwitch/LabelSwitch.js +2 -2
- package/dist/esm/components/molecules/LabelSwitch/LabelSwitch.js.map +1 -1
- package/dist/esm/components/molecules/MessageEmpty/MessageEmpty.d.ts +1 -1
- package/dist/esm/components/molecules/MessageEmpty/MessageEmpty.js +2 -2
- package/dist/esm/components/molecules/MessageEmpty/MessageEmpty.js.map +1 -1
- package/dist/esm/components/molecules/MessageFormError/MessageFormError.d.ts +3 -2
- package/dist/esm/components/molecules/MessageFormError/MessageFormError.js +2 -2
- package/dist/esm/components/molecules/MessageFormError/MessageFormError.js.map +1 -1
- package/dist/esm/components/molecules/Navbar/Navbar.d.ts +1 -1
- package/dist/esm/components/molecules/Navbar/Navbar.js +2 -2
- package/dist/esm/components/molecules/Navbar/Navbar.js.map +1 -1
- package/dist/esm/components/molecules/NavbarMenu/NabvarMenu.d.ts +3 -2
- package/dist/esm/components/molecules/NavbarMenu/NabvarMenu.js +2 -2
- package/dist/esm/components/molecules/NavbarMenu/NabvarMenu.js.map +1 -1
- package/dist/esm/components/molecules/Pagination/Pagination.d.ts +3 -2
- package/dist/esm/components/molecules/Pagination/Pagination.js +2 -2
- package/dist/esm/components/molecules/Pagination/Pagination.js.map +1 -1
- package/dist/esm/components/molecules/PickerDay/PickerDay.d.ts +1 -1
- package/dist/esm/components/molecules/PickerDay/PickerDay.js +2 -2
- package/dist/esm/components/molecules/PickerDay/PickerDay.js.map +1 -1
- package/dist/esm/components/molecules/PickerDayRange/PickerDayRange.d.ts +1 -1
- package/dist/esm/components/molecules/PickerDayRange/PickerDayRange.js +2 -2
- package/dist/esm/components/molecules/PickerDayRange/PickerDayRange.js.map +1 -1
- package/dist/esm/components/molecules/PickerMonth/PickerMonth.d.ts +1 -1
- package/dist/esm/components/molecules/PickerMonth/PickerMonth.js +2 -2
- package/dist/esm/components/molecules/PickerMonth/PickerMonth.js.map +1 -1
- package/dist/esm/components/molecules/PickerSelectorTitle/PickerSelectorTitle.d.ts +3 -2
- package/dist/esm/components/molecules/PickerSelectorTitle/PickerSelectorTitle.js +2 -2
- package/dist/esm/components/molecules/PickerSelectorTitle/PickerSelectorTitle.js.map +1 -1
- package/dist/esm/components/molecules/PickerYear/PickerYear.d.ts +1 -1
- package/dist/esm/components/molecules/PickerYear/PickerYear.js +2 -2
- package/dist/esm/components/molecules/PickerYear/PickerYear.js.map +1 -1
- package/dist/esm/components/molecules/Slider/Slider.d.ts +1 -1
- package/dist/esm/components/molecules/Slider/Slider.js +2 -2
- package/dist/esm/components/molecules/Slider/Slider.js.map +1 -1
- package/dist/esm/components/molecules/Tabs/Tabs.d.ts +1 -1
- package/dist/esm/components/molecules/Tabs/Tabs.js +2 -2
- package/dist/esm/components/molecules/Tabs/Tabs.js.map +1 -1
- package/dist/esm/components/molecules/Toolbar/Toolbar.d.ts +1 -1
- package/dist/esm/components/molecules/Toolbar/Toolbar.js +2 -2
- package/dist/esm/components/molecules/Toolbar/Toolbar.js.map +1 -1
- package/dist/esm/components/organisms/BottomSheet/BottomSheet.d.ts +1 -1
- package/dist/esm/components/organisms/BottomSheet/BottomSheet.js +2 -2
- package/dist/esm/components/organisms/BottomSheet/BottomSheet.js.map +1 -1
- package/dist/esm/components/organisms/Card/Card.d.ts +1 -1
- package/dist/esm/components/organisms/Card/Card.js +2 -2
- package/dist/esm/components/organisms/Card/Card.js.map +1 -1
- package/dist/esm/components/organisms/ChooserAutocomplete/ChooserAutocomplete.d.ts +2 -2
- package/dist/esm/components/organisms/ChooserAutocomplete/ChooserAutocomplete.js +2 -2
- package/dist/esm/components/organisms/ChooserAutocomplete/ChooserAutocomplete.js.map +1 -1
- package/dist/esm/components/organisms/ChooserList/ChooserList.d.ts +2 -2
- package/dist/esm/components/organisms/ChooserList/ChooserList.js +2 -2
- package/dist/esm/components/organisms/ChooserList/ChooserList.js.map +1 -1
- package/dist/esm/components/organisms/ChooserSelect/ChooserSelect.d.ts +2 -2
- package/dist/esm/components/organisms/ChooserSelect/ChooserSelect.js +2 -2
- package/dist/esm/components/organisms/ChooserSelect/ChooserSelect.js.map +1 -1
- package/dist/esm/components/organisms/Confirmation/Confirmation.d.ts +4 -4
- package/dist/esm/components/organisms/Confirmation/Confirmation.js +2 -2
- package/dist/esm/components/organisms/Confirmation/Confirmation.js.map +1 -1
- package/dist/esm/components/organisms/Datatable/Datatable.d.ts +8 -8
- package/dist/esm/components/organisms/Datatable/Datatable.js +16 -16
- package/dist/esm/components/organisms/Datatable/Datatable.js.map +1 -1
- package/dist/esm/components/organisms/Dropdown/Dropdown.d.ts +1 -1
- package/dist/esm/components/organisms/Dropdown/Dropdown.js +2 -2
- package/dist/esm/components/organisms/Dropdown/Dropdown.js.map +1 -1
- package/dist/esm/components/organisms/FieldAutocomplete/FieldAutocomplete.js +2 -2
- package/dist/esm/components/organisms/FieldAutocomplete/FieldAutocomplete.js.map +1 -1
- package/dist/esm/components/organisms/FieldClock/FieldClock.js +2 -2
- package/dist/esm/components/organisms/FieldClock/FieldClock.js.map +1 -1
- package/dist/esm/components/organisms/FieldColor/FieldColor.js +2 -2
- package/dist/esm/components/organisms/FieldColor/FieldColor.js.map +1 -1
- package/dist/esm/components/organisms/FieldDate/FieldDate.js +2 -2
- package/dist/esm/components/organisms/FieldDate/FieldDate.js.map +1 -1
- package/dist/esm/components/organisms/FieldDateRange/FieldDateRange.js +2 -2
- package/dist/esm/components/organisms/FieldDateRange/FieldDateRange.js.map +1 -1
- package/dist/esm/components/organisms/FieldList/FieldList.js +2 -2
- package/dist/esm/components/organisms/FieldList/FieldList.js.map +1 -1
- package/dist/esm/components/organisms/FieldSelect/FieldSelect.js +2 -2
- package/dist/esm/components/organisms/FieldSelect/FieldSelect.js.map +1 -1
- package/dist/esm/components/organisms/FormNavigation/FormNavigation.d.ts +1 -1
- package/dist/esm/components/organisms/FormNavigation/FormNavigation.js +2 -2
- package/dist/esm/components/organisms/FormNavigation/FormNavigation.js.map +1 -1
- package/dist/esm/components/organisms/ImageChooser/ImageChooser.d.ts +2 -1
- package/dist/esm/components/organisms/ImageChooser/ImageChooser.js +1 -1
- package/dist/esm/components/organisms/ImageChooser/ImageChooser.js.map +1 -1
- package/dist/esm/components/organisms/ImageEditor/ImageEditor.js +1 -1
- package/dist/esm/components/organisms/ImageEditor/ImageEditor.js.map +1 -1
- package/dist/esm/components/organisms/LedColor/LedColor.d.ts +2 -2
- package/dist/esm/components/organisms/LedColor/LedColor.js +2 -2
- package/dist/esm/components/organisms/LedColor/LedColor.js.map +1 -1
- package/dist/esm/components/organisms/Modal/Modal.d.ts +1 -1
- package/dist/esm/components/organisms/Modal/Modal.js +2 -2
- package/dist/esm/components/organisms/Modal/Modal.js.map +1 -1
- package/dist/esm/components/organisms/ModalClock/ModalClock.d.ts +1 -1
- package/dist/esm/components/organisms/ModalClock/ModalClock.js +2 -2
- package/dist/esm/components/organisms/ModalClock/ModalClock.js.map +1 -1
- package/dist/esm/components/organisms/ModalDate/ModalDate.d.ts +1 -1
- package/dist/esm/components/organisms/ModalDate/ModalDate.js +2 -2
- package/dist/esm/components/organisms/ModalDate/ModalDate.js.map +1 -1
- package/dist/esm/components/organisms/ModalDateRange/ModalDateRange.d.ts +1 -1
- package/dist/esm/components/organisms/ModalDateRange/ModalDateRange.js +2 -2
- package/dist/esm/components/organisms/ModalDateRange/ModalDateRange.js.map +1 -1
- package/dist/esm/components/organisms/ModalSheet/ModalSheet.d.ts +1 -1
- package/dist/esm/components/organisms/ModalSheet/ModalSheet.js +2 -2
- package/dist/esm/components/organisms/ModalSheet/ModalSheet.js.map +1 -1
- package/dist/esm/components/organisms/Notifications/Notifications.d.ts +3 -3
- package/dist/esm/components/organisms/Notifications/Notifications.js +4 -4
- package/dist/esm/components/organisms/Notifications/Notifications.js.map +1 -1
- package/dist/esm/components/organisms/PickerClock/PickerClock.d.ts +1 -1
- package/dist/esm/components/organisms/PickerClock/PickerClock.js +2 -2
- package/dist/esm/components/organisms/PickerClock/PickerClock.js.map +1 -1
- package/dist/esm/components/organisms/PickerColor/PickerColor.d.ts +1 -1
- package/dist/esm/components/organisms/PickerColor/PickerColor.js +2 -2
- package/dist/esm/components/organisms/PickerColor/PickerColor.js.map +1 -1
- package/dist/esm/components/organisms/PickerDate/PickerDate.d.ts +1 -1
- package/dist/esm/components/organisms/PickerDate/PickerDate.js +2 -2
- package/dist/esm/components/organisms/PickerDate/PickerDate.js.map +1 -1
- package/dist/esm/components/organisms/PickerDateRange/PickerDateRange.d.ts +1 -1
- package/dist/esm/components/organisms/PickerDateRange/PickerDateRange.js +2 -2
- package/dist/esm/components/organisms/PickerDateRange/PickerDateRange.js.map +1 -1
- package/dist/esm/components/organisms/Snackbar/Snackbar.d.ts +4 -4
- package/dist/esm/components/organisms/Snackbar/Snackbar.js +2 -2
- package/dist/esm/components/organisms/Snackbar/Snackbar.js.map +1 -1
- package/dist/esm/components/organisms/VirtualScroll/VirtualScroll.d.ts +3 -2
- package/dist/esm/components/organisms/VirtualScroll/VirtualScroll.js +2 -2
- package/dist/esm/components/organisms/VirtualScroll/VirtualScroll.js.map +1 -1
- package/dist/esm/types.d.ts +2 -0
- package/package.json +5 -5
|
@@ -4,7 +4,7 @@ import { renderClassStatus } from '../../../helpers/css';
|
|
|
4
4
|
import { RlsInputDecimal } from '../../atoms/InputDecimal/InputDecimal';
|
|
5
5
|
import { RlsMessageFormError } from '../MessageFormError/MessageFormError';
|
|
6
6
|
function RlsFieldDecimalComponent(props) {
|
|
7
|
-
const { children, formControl, identifier, rlsTheme } = props;
|
|
7
|
+
const { children, formControl, identifier, rlsSize, rlsTheme } = props;
|
|
8
8
|
const disabled = useMemo(() => {
|
|
9
9
|
return formControl?.disabled || props.disabled;
|
|
10
10
|
}, [formControl?.disabled, props.disabled]);
|
|
@@ -14,7 +14,7 @@ function RlsFieldDecimalComponent(props) {
|
|
|
14
14
|
focused: formControl?.focused && !disabled,
|
|
15
15
|
readonly: props.readOnly
|
|
16
16
|
}, 'rls-field-decimal');
|
|
17
|
-
return (_jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [children && _jsx("span", { className: "rls-field-box__label", children: children }), _jsx("div", { className: "rls-field-box__component", children: _jsx("div", { className: "rls-field-box__body", children: _jsx(RlsInputDecimal, { ...props }) }) }), !props.msgErrorDisabled && (_jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
|
|
17
|
+
return (_jsxs("div", { id: identifier, className: className, "rls-size": rlsSize, "rls-theme": rlsTheme, children: [children && _jsx("span", { className: "rls-field-box__label", children: children }), _jsx("div", { className: "rls-field-box__component", children: _jsx("div", { className: "rls-field-box__body", children: _jsx(RlsInputDecimal, { ...props }) }) }), !props.msgErrorDisabled && (_jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
|
|
18
18
|
}
|
|
19
19
|
export const RlsFieldDecimal = memo(RlsFieldDecimalComponent);
|
|
20
20
|
//# sourceMappingURL=FieldDecimal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldDecimal.js","sourceRoot":"","sources":["../../../../../src/components/molecules/FieldDecimal/FieldDecimal.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAExE,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAO3E,SAAS,wBAAwB,CAAC,KAAwB;IACxD,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"FieldDecimal.js","sourceRoot":"","sources":["../../../../../src/components/molecules/FieldDecimal/FieldDecimal.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAExE,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAO3E,SAAS,wBAAwB,CAAC,KAAwB;IACxD,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAEvE,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,EAAE;QAC5B,OAAO,WAAW,EAAE,QAAQ,IAAI,KAAK,CAAC,QAAQ,CAAC;IACjD,CAAC,EAAE,CAAC,WAAW,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;IAE5C,MAAM,SAAS,GAAG,iBAAiB,CACjC,eAAe,EACf;QACE,QAAQ;QACR,KAAK,EAAE,WAAW,EAAE,KAAK;QACzB,OAAO,EAAE,WAAW,EAAE,OAAO,IAAI,CAAC,QAAQ;QAC1C,QAAQ,EAAE,KAAK,CAAC,QAAQ;KACzB,EACD,mBAAmB,CACpB,CAAC;IAEF,OAAO,CACL,eACE,EAAE,EAAE,UAAU,EACd,SAAS,EAAE,SAAS,cACV,OAAO,eACN,QAAQ,aAElB,QAAQ,IAAI,eAAM,SAAS,EAAC,sBAAsB,YAAE,QAAQ,GAAQ,EAErE,cAAK,SAAS,EAAC,0BAA0B,YACvC,cAAK,SAAS,EAAC,qBAAqB,YAClC,KAAC,eAAe,OAAK,KAAK,GAAI,GAC1B,GACF,EAEL,CAAC,KAAK,CAAC,gBAAgB,IAAI,CAC1B,KAAC,mBAAmB,IAClB,SAAS,EAAC,sBAAsB,EAChC,WAAW,EAAE,WAAW,GACxB,CACH,IACG,CACP,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,CAAC,wBAAwB,CAAC,CAAC"}
|
|
@@ -10,6 +10,6 @@ interface FieldFileProps extends RlsComponent {
|
|
|
10
10
|
readOnly?: boolean;
|
|
11
11
|
value?: File;
|
|
12
12
|
}
|
|
13
|
-
declare function RlsFieldFileComponent({ accept, children, disabled: _disabled, formControl, identifier, msgErrorDisabled, onValue, placeholder, readOnly, rlsTheme, value }: FieldFileProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare function RlsFieldFileComponent({ accept, children, disabled: _disabled, formControl, identifier, msgErrorDisabled, rlsSize, onValue, placeholder, readOnly, rlsTheme, value }: FieldFileProps): import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
export declare const RlsFieldFile: import("react").MemoExoticComponent<typeof RlsFieldFileComponent>;
|
|
15
15
|
export {};
|
|
@@ -3,7 +3,7 @@ import { memo, useCallback, useMemo, useRef } from 'react';
|
|
|
3
3
|
import { renderClassStatus } from '../../../helpers/css';
|
|
4
4
|
import { RlsButtonAction } from '../../atoms/ButtonAction/ButtonAction';
|
|
5
5
|
import { RlsMessageFormError } from '../MessageFormError/MessageFormError';
|
|
6
|
-
function RlsFieldFileComponent({ accept, children, disabled: _disabled, formControl, identifier, msgErrorDisabled, onValue, placeholder, readOnly, rlsTheme, value }) {
|
|
6
|
+
function RlsFieldFileComponent({ accept, children, disabled: _disabled, formControl, identifier, msgErrorDisabled, rlsSize, onValue, placeholder, readOnly, rlsTheme, value }) {
|
|
7
7
|
const inputRef = useRef(null);
|
|
8
8
|
const disabled = useMemo(() => formControl?.disabled || _disabled, [formControl?.disabled, _disabled]);
|
|
9
9
|
const className = renderClassStatus('rls-field-box', {
|
|
@@ -39,7 +39,7 @@ function RlsFieldFileComponent({ accept, children, disabled: _disabled, formCont
|
|
|
39
39
|
inputRef.current?.click();
|
|
40
40
|
}
|
|
41
41
|
}, [readOnly, disabled]);
|
|
42
|
-
return (_jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [children && _jsx("span", { className: "rls-field-box__label", children: children }), _jsx("div", { className: "rls-field-box__component", onClick: onClickControl, children: _jsxs("div", { className: "rls-field-box__body", children: [_jsx("input", { className: "rls-input__component", readOnly: true, type: "text", value: displayValue, placeholder: placeholder }), _jsx("input", { ref: inputRef, className: "rls-field-file__input", type: "file", accept: accept, disabled: disabled || readOnly, onChange: onChangeInput }), _jsx(RlsButtonAction, { icon: currentFile ? 'close' : 'attach', disabled: disabled, onClick: onClickAction })] }) }), !msgErrorDisabled && (_jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
|
|
42
|
+
return (_jsxs("div", { id: identifier, className: className, "rls-size": rlsSize, "rls-theme": rlsTheme, children: [children && _jsx("span", { className: "rls-field-box__label", children: children }), _jsx("div", { className: "rls-field-box__component", onClick: onClickControl, children: _jsxs("div", { className: "rls-field-box__body", children: [_jsx("input", { className: "rls-input__component", readOnly: true, type: "text", value: displayValue, placeholder: placeholder }), _jsx("input", { ref: inputRef, className: "rls-field-file__input", type: "file", accept: accept, disabled: disabled || readOnly, onChange: onChangeInput }), _jsx(RlsButtonAction, { icon: currentFile ? 'close' : 'attach', disabled: disabled, onClick: onClickAction })] }) }), !msgErrorDisabled && (_jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
|
|
43
43
|
}
|
|
44
44
|
export const RlsFieldFile = memo(RlsFieldFileComponent);
|
|
45
45
|
//# sourceMappingURL=FieldFile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldFile.js","sourceRoot":"","sources":["../../../../../src/components/molecules/FieldFile/FieldFile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAc,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAGxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAa3E,SAAS,qBAAqB,CAAC,EAC7B,MAAM,EACN,QAAQ,EACR,QAAQ,EAAE,SAAS,EACnB,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,OAAO,EACP,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,KAAK,EACU;IACf,MAAM,QAAQ,GAAG,MAAM,CAAmB,IAAI,CAAC,CAAC;IAEhD,MAAM,QAAQ,GAAG,OAAO,CACtB,GAAG,EAAE,CAAC,WAAW,EAAE,QAAQ,IAAI,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YAC3B,QAAQ,CAAC,OAAO,EAAE,KAAK,EAAE,CAAC;QAC5B,CAAC;IACH,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC;IAEzB,OAAO,CACL,eACE,EAAE,EAAE,UAAU,EACd,SAAS,EAAE,SAAS,cACV,OAAO,eACN,QAAQ,aAElB,QAAQ,IAAI,eAAM,SAAS,EAAC,sBAAsB,YAAE,QAAQ,GAAQ,EAErE,cAAK,SAAS,EAAC,0BAA0B,EAAC,OAAO,EAAE,cAAc,YAC/D,eAAK,SAAS,EAAC,qBAAqB,aAClC,gBACE,SAAS,EAAC,sBAAsB,EAChC,QAAQ,QACR,IAAI,EAAC,MAAM,EACX,KAAK,EAAE,YAAY,EACnB,WAAW,EAAE,WAAW,GACxB,EAEF,gBACE,GAAG,EAAE,QAAQ,EACb,SAAS,EAAC,uBAAuB,EACjC,IAAI,EAAC,MAAM,EACX,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,IAAI,QAAQ,EAC9B,QAAQ,EAAE,aAAa,GACvB,EAEF,KAAC,eAAe,IACd,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,EACtC,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,aAAa,GACtB,IACE,GACF,EAEL,CAAC,gBAAgB,IAAI,CACpB,KAAC,mBAAmB,IAClB,SAAS,EAAC,sBAAsB,EAChC,WAAW,EAAE,WAAW,GACxB,CACH,IACG,CACP,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC,qBAAqB,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FocusEventHandler, KeyboardEventHandler, MouseEventHandler, ReactNode, RefObject } from 'react';
|
|
2
|
-
import { PropsWithRlsTheme } from '../../definitions';
|
|
2
|
+
import { PropsWithRlsSize, PropsWithRlsTheme } from '../../definitions';
|
|
3
3
|
export interface FieldListSearchControl {
|
|
4
4
|
onChange: (pattern: string) => void;
|
|
5
5
|
pattern: string;
|
|
@@ -18,7 +18,7 @@ export interface FieldListAction {
|
|
|
18
18
|
icon?: string;
|
|
19
19
|
keepOpen?: boolean;
|
|
20
20
|
}
|
|
21
|
-
interface FieldListSuggestionsProps<E = any> extends PropsWithRlsTheme {
|
|
21
|
+
interface FieldListSuggestionsProps<E = any> extends PropsWithRlsTheme, PropsWithRlsSize {
|
|
22
22
|
elements: E[];
|
|
23
23
|
onClickBackdrop: MouseEventHandler;
|
|
24
24
|
onClickElement: (element: E) => MouseEventHandler;
|
|
@@ -35,6 +35,6 @@ interface FieldListSuggestionsProps<E = any> extends PropsWithRlsTheme {
|
|
|
35
35
|
renderEmpty?: () => ReactNode;
|
|
36
36
|
searchControl?: FieldListSearchControl;
|
|
37
37
|
}
|
|
38
|
-
declare function RlsFieldListSuggestionsComponent<E = any>({ elements, action, disabled, higher, render, renderEmpty, searchControl, visible, onClickBackdrop, onClickElement, onHiddenAnchor, onKeydownElement, refAnchor, refList, refSuggestions, rlsTheme }: FieldListSuggestionsProps<E>): import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
declare function RlsFieldListSuggestionsComponent<E = any>({ elements, action, disabled, higher, render, renderEmpty, searchControl, visible, rlsSize, onClickBackdrop, onClickElement, onHiddenAnchor, onKeydownElement, refAnchor, refList, refSuggestions, rlsTheme }: FieldListSuggestionsProps<E>): import("react/jsx-runtime").JSX.Element;
|
|
39
39
|
export declare const RlsFieldListSuggestions: typeof RlsFieldListSuggestionsComponent;
|
|
40
40
|
export {};
|
|
@@ -16,7 +16,7 @@ function RlsFieldListLi({ element, onClickElement, onKeydownElement, render }) {
|
|
|
16
16
|
}, [element, onKeydownElement]);
|
|
17
17
|
return (_jsx("li", { className: "rls-field-list__element", tabIndex: -1, onClick: onClick, onKeyDown: onKeyDown, children: render(element) }));
|
|
18
18
|
}
|
|
19
|
-
function RlsFieldListSuggestionsComponent({ elements, action, disabled, higher, render, renderEmpty, searchControl, visible, onClickBackdrop, onClickElement, onHiddenAnchor, onKeydownElement, refAnchor, refList, refSuggestions, rlsTheme }) {
|
|
19
|
+
function RlsFieldListSuggestionsComponent({ elements, action, disabled, higher, render, renderEmpty, searchControl, visible, rlsSize, onClickBackdrop, onClickElement, onHiddenAnchor, onKeydownElement, refAnchor, refList, refSuggestions, rlsTheme }) {
|
|
20
20
|
const portal = useSuggestionsPortalController(visible, refAnchor, onHiddenAnchor, higher);
|
|
21
21
|
const [labels, setLabels] = useState({
|
|
22
22
|
listEmptyDescription: reactI18n('listEmptyDescription'),
|
|
@@ -46,7 +46,7 @@ function RlsFieldListSuggestionsComponent({ elements, action, disabled, higher,
|
|
|
46
46
|
}
|
|
47
47
|
}, [action?.onClick, action?.keepOpen, onClickBackdrop]);
|
|
48
48
|
const searching = searchControl?.searching ?? false;
|
|
49
|
-
const suggestions = (_jsxs("div", { ref: refSuggestions, className: className, style: portal.active ? portal.style : undefined, "rls-theme": rlsTheme ?? portal.theme, children: [_jsxs("div", { className: "rls-field-list__suggestions__body", children: [_jsxs("ul", { ref: refList, className: "rls-field-list__ul", children: [searchControl && (_jsxs("div", { className: "rls-field-list__ul__search", children: [_jsx("input", { className: "rls-field-list__ul__control", ref: searchControl.refInput, type: "text", placeholder: searchControl.placeholder, value: searchControl.pattern, onChange: onChangePattern, onFocus: searchControl.onFocus, onBlur: searchControl.onBlur, onKeyDown: searchControl.onKeyDown, disabled: disabled || searching }), searchControl.onSearch && (_jsx("button", { disabled: disabled || searching, onClick: searchControl.onSearch, children: _jsx(RlsIcon, { value: "search" }) }))] })), searching && _jsx(RlsProgressBar, { indeterminate: true }), elements.map((element, index) => (_jsx(RlsFieldListLi, { element: element, onClickElement: onClickElement, onKeydownElement: onKeydownElement, render: render }, index))), !elements.length && (_jsx("li", { className: "rls-field-list__empty", children: renderEmpty ? (renderEmpty()) : (_jsxs("div", { className: "rls-field-list__empty__description", children: [_jsx("span", { className: "rls-label-font-bold rls-truncate", children: labels.listEmptyTitle }), _jsx("p", { className: "rls-caption-font-regular", children: labels.listEmptyDescription })] })) }))] }), action && (_jsx("div", { className: "rls-field-list__action", children: _jsxs("button", { type: "button", disabled: disabled || action.disabled, onClick: onClickAction, children: [action.icon && _jsx(RlsIcon, { value: action.icon }), _jsx("span", { className: "rls-field-list__action__description", children: action.description })] }) }))] }), _jsx("div", { className: "rls-field-list__backdrop", onClick: onClickBackdrop })] }));
|
|
49
|
+
const suggestions = (_jsxs("div", { ref: refSuggestions, className: className, style: portal.active ? portal.style : undefined, "rls-size": rlsSize, "rls-theme": rlsTheme ?? portal.theme, children: [_jsxs("div", { className: "rls-field-list__suggestions__body", children: [_jsxs("ul", { ref: refList, className: "rls-field-list__ul", children: [searchControl && (_jsxs("div", { className: "rls-field-list__ul__search", children: [_jsx("input", { className: "rls-field-list__ul__control", ref: searchControl.refInput, type: "text", placeholder: searchControl.placeholder, value: searchControl.pattern, onChange: onChangePattern, onFocus: searchControl.onFocus, onBlur: searchControl.onBlur, onKeyDown: searchControl.onKeyDown, disabled: disabled || searching }), searchControl.onSearch && (_jsx("button", { disabled: disabled || searching, onClick: searchControl.onSearch, children: _jsx(RlsIcon, { value: "search" }) }))] })), searching && _jsx(RlsProgressBar, { indeterminate: true }), elements.map((element, index) => (_jsx(RlsFieldListLi, { element: element, onClickElement: onClickElement, onKeydownElement: onKeydownElement, render: render }, index))), !elements.length && (_jsx("li", { className: "rls-field-list__empty", children: renderEmpty ? (renderEmpty()) : (_jsxs("div", { className: "rls-field-list__empty__description", children: [_jsx("span", { className: "rls-label-font-bold rls-truncate", children: labels.listEmptyTitle }), _jsx("p", { className: "rls-caption-font-regular", children: labels.listEmptyDescription })] })) }))] }), action && (_jsx("div", { className: "rls-field-list__action", children: _jsxs("button", { type: "button", disabled: disabled || action.disabled, onClick: onClickAction, children: [action.icon && _jsx(RlsIcon, { value: action.icon }), _jsx("span", { className: "rls-field-list__action__description", children: action.description })] }) }))] }), _jsx("div", { className: "rls-field-list__backdrop", onClick: onClickBackdrop })] }));
|
|
50
50
|
return portal.active ? createPortal(suggestions, document.body) : suggestions;
|
|
51
51
|
}
|
|
52
52
|
export const RlsFieldListSuggestions = memo(RlsFieldListSuggestionsComponent);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldListSuggestions.js","sourceRoot":"","sources":["../../../../../src/components/molecules/FieldListSuggestions/FieldListSuggestions.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAIL,IAAI,EAIJ,WAAW,EACX,SAAS,EACT,OAAO,EACP,QAAQ,EACT,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAErE,OAAO,EAAE,8BAA8B,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"FieldListSuggestions.js","sourceRoot":"","sources":["../../../../../src/components/molecules/FieldListSuggestions/FieldListSuggestions.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAIL,IAAI,EAIJ,WAAW,EACX,SAAS,EACT,OAAO,EACP,QAAQ,EACT,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAA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AAO,EAAE,aAAa,aAErB,MAAM,CAAC,IAAI,IAAI,KAAC,OAAO,IAAC,KAAK,EAAE,MAAM,CAAC,IAAI,GAAI,EAC/C,eAAM,SAAS,EAAC,qCAAqC,YAClD,MAAM,CAAC,WAAW,GACd,IACA,GACL,CACP,IACG,EAEN,cAAK,SAAS,EAAC,0BAA0B,EAAC,OAAO,EAAE,eAAe,GAAQ,IACtE,CACP,CAAC;IAEF,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,WAAW,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC;AAChF,CAAC;AAED,MAAM,CAAC,MAAM,uBAAuB,GAAG,IAAI,CACzC,gCAAgC,CACU,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { RlsButtonAction } from '../../atoms/ButtonAction/ButtonAction';
|
|
|
5
5
|
import { RlsInputMoney } from '../../atoms/InputMoney/InputMoney';
|
|
6
6
|
import { RlsMessageFormError } from '../MessageFormError/MessageFormError';
|
|
7
7
|
function RlsFieldMoneyComponent(props) {
|
|
8
|
-
const { action, children, formControl, identifier, rlsTheme } = props;
|
|
8
|
+
const { action, children, formControl, identifier, rlsSize, rlsTheme } = props;
|
|
9
9
|
const disabled = useMemo(() => {
|
|
10
10
|
return formControl?.disabled || props.disabled;
|
|
11
11
|
}, [formControl?.disabled, props.disabled]);
|
|
@@ -15,7 +15,7 @@ function RlsFieldMoneyComponent(props) {
|
|
|
15
15
|
focused: formControl?.focused && !disabled,
|
|
16
16
|
readonly: props.readOnly
|
|
17
17
|
}, 'rls-field-money');
|
|
18
|
-
return (_jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [children && _jsx("span", { className: "rls-field-box__label", children: children }), _jsx("div", { className: "rls-field-box__component", children: _jsxs("div", { className: "rls-field-box__body", children: [_jsx(RlsInputMoney, { ...props }), action && (_jsx(RlsButtonAction, { icon: action.icon, disabled: disabled, onClick: action.onClick }))] }) }), !props.msgErrorDisabled && (_jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
|
|
18
|
+
return (_jsxs("div", { id: identifier, className: className, "rls-size": rlsSize, "rls-theme": rlsTheme, children: [children && _jsx("span", { className: "rls-field-box__label", children: children }), _jsx("div", { className: "rls-field-box__component", children: _jsxs("div", { className: "rls-field-box__body", children: [_jsx(RlsInputMoney, { ...props }), action && (_jsx(RlsButtonAction, { icon: action.icon, disabled: disabled, onClick: action.onClick }))] }) }), !props.msgErrorDisabled && (_jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
|
|
19
19
|
}
|
|
20
20
|
export const RlsFieldMoney = memo(RlsFieldMoneyComponent);
|
|
21
21
|
//# sourceMappingURL=FieldMoney.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldMoney.js","sourceRoot":"","sources":["../../../../../src/components/molecules/FieldMoney/FieldMoney.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAElE,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAO3E,SAAS,sBAAsB,CAAC,KAAsB;IACpD,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"FieldMoney.js","sourceRoot":"","sources":["../../../../../src/components/molecules/FieldMoney/FieldMoney.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,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J,CAAC;AAED,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,CAAC,sBAAsB,CAAC,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { RlsButtonAction } from '../../atoms/ButtonAction/ButtonAction';
|
|
|
5
5
|
import { RlsInputNumber } from '../../atoms/InputNumber/InputNumber';
|
|
6
6
|
import { RlsMessageFormError } from '../MessageFormError/MessageFormError';
|
|
7
7
|
function RlsFieldNumberComponent(props) {
|
|
8
|
-
const { action, children, formControl, identifier, rlsTheme } = props;
|
|
8
|
+
const { action, children, formControl, identifier, rlsSize, rlsTheme } = props;
|
|
9
9
|
const disabled = useMemo(() => {
|
|
10
10
|
return formControl?.disabled || props.disabled;
|
|
11
11
|
}, [formControl?.disabled, props.disabled]);
|
|
@@ -15,7 +15,7 @@ function RlsFieldNumberComponent(props) {
|
|
|
15
15
|
focused: formControl?.focused && !disabled,
|
|
16
16
|
readonly: props.readOnly
|
|
17
17
|
}, 'rls-field-number');
|
|
18
|
-
return (_jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [children && _jsx("span", { className: "rls-field-box__label", children: children }), _jsx("div", { className: "rls-field-box__component", children: _jsxs("div", { className: "rls-field-box__body", children: [_jsx(RlsInputNumber, { ...props }), action && (_jsx(RlsButtonAction, { icon: action.icon, disabled: disabled, onClick: action.onClick }))] }) }), !props.msgErrorDisabled && (_jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
|
|
18
|
+
return (_jsxs("div", { id: identifier, className: className, "rls-size": rlsSize, "rls-theme": rlsTheme, children: [children && _jsx("span", { className: "rls-field-box__label", children: children }), _jsx("div", { className: "rls-field-box__component", children: _jsxs("div", { className: "rls-field-box__body", children: [_jsx(RlsInputNumber, { ...props }), action && (_jsx(RlsButtonAction, { icon: action.icon, disabled: disabled, onClick: action.onClick }))] }) }), !props.msgErrorDisabled && (_jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
|
|
19
19
|
}
|
|
20
20
|
export const RlsFieldNumber = memo(RlsFieldNumberComponent);
|
|
21
21
|
//# sourceMappingURL=FieldNumber.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldNumber.js","sourceRoot":"","sources":["../../../../../src/components/molecules/FieldNumber/FieldNumber.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAErE,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAM3E,SAAS,uBAAuB,CAAC,KAAuB;IACtD,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"FieldNumber.js","sourceRoot":"","sources":["../../../../../src/components/molecules/FieldNumber/FieldNumber.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAErE,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAM3E,SAAS,uBAAuB,CAAC,KAAuB;IACtD,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,GACpE,KAAK,CAAC;IAER,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,EAAE;QAC5B,OAAO,WAAW,EAAE,QAAQ,IAAI,KAAK,CAAC,QAAQ,CAAC;IACjD,CAAC,EAAE,CAAC,WAAW,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;IAE5C,MAAM,SAAS,GAAG,iBAAiB,CACjC,eAAe,EACf;QACE,QAAQ;QACR,KAAK,EAAE,WAAW,EAAE,KAAK;QACzB,OAAO,EAAE,WAAW,EAAE,OAAO,IAAI,CAAC,QAAQ;QAC1C,QAAQ,EAAE,KAAK,CAAC,QAAQ;KACzB,EACD,kBAAkB,CACnB,CAAC;IAEF,OAAO,CACL,eACE,EAAE,EAAE,UAAU,EACd,SAAS,EAAE,SAAS,cACV,OAAO,eACN,QAAQ,aAElB,QAAQ,IAAI,eAAM,SAAS,EAAC,sBAAsB,YAAE,QAAQ,GAAQ,EAErE,cAAK,SAAS,EAAC,0BAA0B,YACvC,eAAK,SAAS,EAAC,qBAAqB,aAClC,KAAC,cAAc,OAAK,KAAK,GAAI,EAE5B,MAAM,IAAI,CACT,KAAC,eAAe,IACd,IAAI,EAAE,MAAM,CAAC,IAAI,EACjB,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,MAAM,CAAC,OAAO,GACvB,CACH,IACG,GACF,EAEL,CAAC,KAAK,CAAC,gBAAgB,IAAI,CAC1B,KAAC,mBAAmB,IAClB,SAAS,EAAC,sBAAsB,EAChC,WAAW,EAAE,WAAW,GACxB,CACH,IACG,CACP,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,cAAc,GAAG,IAAI,CAAC,uBAAuB,CAAC,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { RlsButtonAction } from '../../atoms/ButtonAction/ButtonAction';
|
|
|
5
5
|
import { RlsInputPassword } from '../../atoms/InputPassword/InputPassword';
|
|
6
6
|
import { RlsMessageFormError } from '../MessageFormError/MessageFormError';
|
|
7
7
|
function RlsFieldPasswordComponent(props) {
|
|
8
|
-
const { children, formControl, identifier, rlsTheme } = props;
|
|
8
|
+
const { children, formControl, identifier, rlsSize, rlsTheme } = props;
|
|
9
9
|
const [passwordIsActive, setPasswordIsActive] = useState(true);
|
|
10
10
|
const disabled = useMemo(() => {
|
|
11
11
|
return formControl?.disabled || props.disabled;
|
|
@@ -19,7 +19,7 @@ function RlsFieldPasswordComponent(props) {
|
|
|
19
19
|
const onTogglePassword = useCallback(() => {
|
|
20
20
|
setPasswordIsActive((password) => !password);
|
|
21
21
|
}, []);
|
|
22
|
-
return (_jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [children && _jsx("span", { className: "rls-field-box__label", children: children }), _jsx("div", { className: "rls-field-box__component", children: _jsxs("div", { className: "rls-field-box__body", children: [_jsx(RlsInputPassword, { ...props, type: passwordIsActive ? 'password' : 'text' }), _jsx(RlsButtonAction, { icon: passwordIsActive ? 'eye' : 'eye-off', onClick: onTogglePassword })] }) }), !props.msgErrorDisabled && (_jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
|
|
22
|
+
return (_jsxs("div", { id: identifier, className: className, "rls-size": rlsSize, "rls-theme": rlsTheme, children: [children && _jsx("span", { className: "rls-field-box__label", children: children }), _jsx("div", { className: "rls-field-box__component", children: _jsxs("div", { className: "rls-field-box__body", children: [_jsx(RlsInputPassword, { ...props, type: passwordIsActive ? 'password' : 'text' }), _jsx(RlsButtonAction, { icon: passwordIsActive ? 'eye' : 'eye-off', onClick: onTogglePassword })] }) }), !props.msgErrorDisabled && (_jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
|
|
23
23
|
}
|
|
24
24
|
export const RlsFieldPassword = memo(RlsFieldPasswordComponent);
|
|
25
25
|
//# sourceMappingURL=FieldPassword.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldPassword.js","sourceRoot":"","sources":["../../../../../src/components/molecules/FieldPassword/FieldPassword.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,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WAAW,EAAE,OAAO,IAAI,CAAC,QAAQ;QAC1C,QAAQ,EAAE,KAAK,CAAC,QAAQ;KACzB,EACD,oBAAoB,CACrB,CAAC;IAEF,MAAM,gBAAgB,GAAG,WAAW,CAAC,GAAG,EAAE;QACxC,mBAAmB,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC;IAC/C,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACL,eACE,EAAE,EAAE,UAAU,EACd,SAAS,EAAE,SAAS,cACV,OAAO,eACN,QAAQ,aAElB,QAAQ,IAAI,eAAM,SAAS,EAAC,sBAAsB,YAAE,QAAQ,GAAQ,EAErE,cAAK,SAAS,EAAC,0BAA0B,YACvC,eAAK,SAAS,EAAC,qBAAqB,aAClC,KAAC,gBAAgB,OACX,KAAK,EACT,IAAI,EAAE,gBAAgB,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,GAC5C,EAEF,KAAC,eAAe,IACd,IAAI,EAAE,gBAAgB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,EAC1C,OAAO,EAAE,gBAAgB,GACzB,IACE,GACF,EAEL,CAAC,KAAK,CAAC,gBAAgB,IAAI,CAC1B,KAAC,mBAAmB,IAClB,SAAS,EAAC,sBAAsB,EAChC,WAAW,EAAE,WAAW,GACxB,CACH,IACG,CACP,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,CAAC,yBAAyB,CAAC,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { RlsButtonAction } from '../../atoms/ButtonAction/ButtonAction';
|
|
|
5
5
|
import { RlsInputPercentage } from '../../atoms/InputPercentage/InputPercentage';
|
|
6
6
|
import { RlsMessageFormError } from '../MessageFormError/MessageFormError';
|
|
7
7
|
function RlsFieldPercentageComponent(props) {
|
|
8
|
-
const { action, children, formControl, identifier, rlsTheme } = props;
|
|
8
|
+
const { action, children, formControl, identifier, rlsSize, rlsTheme } = props;
|
|
9
9
|
const disabled = useMemo(() => {
|
|
10
10
|
return formControl?.disabled || props.disabled;
|
|
11
11
|
}, [formControl?.disabled, props.disabled]);
|
|
@@ -15,7 +15,7 @@ function RlsFieldPercentageComponent(props) {
|
|
|
15
15
|
focused: formControl?.focused && !disabled,
|
|
16
16
|
readonly: props.readOnly
|
|
17
17
|
}, 'rls-field-percentage');
|
|
18
|
-
return (_jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [children && _jsx("span", { className: "rls-field-box__label", children: children }), _jsx("div", { className: "rls-field-box__component", children: _jsxs("div", { className: "rls-field-box__body", children: [_jsx(RlsInputPercentage, { ...props }), action && (_jsx(RlsButtonAction, { icon: action.icon, disabled: disabled, onClick: action.onClick }))] }) }), !props.msgErrorDisabled && (_jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
|
|
18
|
+
return (_jsxs("div", { id: identifier, className: className, "rls-size": rlsSize, "rls-theme": rlsTheme, children: [children && _jsx("span", { className: "rls-field-box__label", children: children }), _jsx("div", { className: "rls-field-box__component", children: _jsxs("div", { className: "rls-field-box__body", children: [_jsx(RlsInputPercentage, { ...props }), action && (_jsx(RlsButtonAction, { icon: action.icon, disabled: disabled, onClick: action.onClick }))] }) }), !props.msgErrorDisabled && (_jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
|
|
19
19
|
}
|
|
20
20
|
export const RlsFieldPercentage = memo(RlsFieldPercentageComponent);
|
|
21
21
|
//# sourceMappingURL=FieldPercentage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldPercentage.js","sourceRoot":"","sources":["../../../../../src/components/molecules/FieldPercentage/FieldPercentage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,eAAe,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AAU,EACd,SAAS,EAAE,SAAS,cACV,OAAO,eACN,QAAQ,aAElB,QAAQ,IAAI,eAAM,SAAS,EAAC,sBAAsB,YAAE,QAAQ,GAAQ,EAErE,cAAK,SAAS,EAAC,0BAA0B,YACvC,eAAK,SAAS,EAAC,qBAAqB,aAClC,KAAC,kBAAkB,OAAK,KAAK,GAAI,EAEhC,MAAM,IAAI,CACT,KAAC,eAAe,IACd,IAAI,EAAE,MAAM,CAAC,IAAI,EACjB,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,MAAM,CAAC,OAAO,GACvB,CACH,IACG,GACF,EAEL,CAAC,KAAK,CAAC,gBAAgB,IAAI,CAC1B,KAAC,mBAAmB,IAClB,SAAS,EAAC,sBAAsB,EAChC,WAAW,EAAE,WAAW,GACxB,CACH,IACG,CACP,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,kBAAkB,GAAG,IAAI,CAAC,2BAA2B,CAAC,CAAC"}
|
|
@@ -2,6 +2,6 @@ import { RlsComponent } from '../../definitions';
|
|
|
2
2
|
interface FieldReadonlyProps extends RlsComponent {
|
|
3
3
|
value: string;
|
|
4
4
|
}
|
|
5
|
-
declare function RlsFieldReadonlyComponent({ children, identifier, rlsTheme, value }: FieldReadonlyProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function RlsFieldReadonlyComponent({ children, identifier, rlsSize, rlsTheme, value }: FieldReadonlyProps): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export declare const RlsFieldReadonly: import("react").MemoExoticComponent<typeof RlsFieldReadonlyComponent>;
|
|
7
7
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { memo } from 'react';
|
|
3
|
-
function RlsFieldReadonlyComponent({ children, identifier, rlsTheme, value }) {
|
|
4
|
-
return (_jsxs("div", { id: identifier, className: "rls-field-readonly rls-field-box", "rls-theme": rlsTheme, children: [children && _jsx("span", { className: "rls-field-box__label", children: children }), _jsx("div", { className: "rls-field-box__component", children: _jsx("div", { className: "rls-field-box__body", children: _jsx("input", { className: "rls-input__component", autoComplete: "off", type: 'text', readOnly: true, value: value }) }) })] }));
|
|
3
|
+
function RlsFieldReadonlyComponent({ children, identifier, rlsSize, rlsTheme, value }) {
|
|
4
|
+
return (_jsxs("div", { id: identifier, className: "rls-field-readonly rls-field-box", "rls-size": rlsSize, "rls-theme": rlsTheme, children: [children && _jsx("span", { className: "rls-field-box__label", children: children }), _jsx("div", { className: "rls-field-box__component", children: _jsx("div", { className: "rls-field-box__body", children: _jsx("input", { className: "rls-input__component", autoComplete: "off", type: 'text', readOnly: true, value: value }) }) })] }));
|
|
5
5
|
}
|
|
6
6
|
export const RlsFieldReadonly = memo(RlsFieldReadonlyComponent);
|
|
7
7
|
//# sourceMappingURL=FieldReadonly.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldReadonly.js","sourceRoot":"","sources":["../../../../../src/components/molecules/FieldReadonly/FieldReadonly.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAO7B,SAAS,yBAAyB,CAAC,EACjC,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,KAAK,EACc;IACnB,OAAO,CACL,eACE,EAAE,EAAE,UAAU,EACd,SAAS,EAAC,kCAAkC,
|
|
1
|
+
{"version":3,"file":"FieldReadonly.js","sourceRoot":"","sources":["../../../../../src/components/molecules/FieldReadonly/FieldReadonly.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAO7B,SAAS,yBAAyB,CAAC,EACjC,QAAQ,EACR,UAAU,EACV,OAAO,EACP,QAAQ,EACR,KAAK,EACc;IACnB,OAAO,CACL,eACE,EAAE,EAAE,UAAU,EACd,SAAS,EAAC,kCAAkC,cAClC,OAAO,eACN,QAAQ,aAElB,QAAQ,IAAI,eAAM,SAAS,EAAC,sBAAsB,YAAE,QAAQ,GAAQ,EAErE,cAAK,SAAS,EAAC,0BAA0B,YACvC,cAAK,SAAS,EAAC,qBAAqB,YAClC,gBACE,SAAS,EAAC,sBAAsB,EAChC,YAAY,EAAC,KAAK,EAClB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,IAAI,EACd,KAAK,EAAE,KAAK,GACZ,GACE,GACF,IACF,CACP,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,CAAC,yBAAyB,CAAC,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { RlsButtonAction } from '../../atoms/ButtonAction/ButtonAction';
|
|
|
5
5
|
import { RlsInputText } from '../../atoms/InputText/InputText';
|
|
6
6
|
import { RlsMessageFormError } from '../MessageFormError/MessageFormError';
|
|
7
7
|
function RlsFieldTextComponent(props) {
|
|
8
|
-
const { action, children, formControl, identifier, rlsTheme } = props;
|
|
8
|
+
const { action, children, formControl, identifier, rlsSize, rlsTheme } = props;
|
|
9
9
|
const disabled = useMemo(() => {
|
|
10
10
|
return formControl?.disabled || props.disabled;
|
|
11
11
|
}, [formControl?.disabled, props.disabled]);
|
|
@@ -15,7 +15,7 @@ function RlsFieldTextComponent(props) {
|
|
|
15
15
|
focused: formControl?.focused && !disabled,
|
|
16
16
|
readonly: props.readOnly
|
|
17
17
|
}, 'rls-field-text');
|
|
18
|
-
return (_jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [children && _jsx("span", { className: "rls-field-box__label", children: children }), _jsx("div", { className: "rls-field-box__component", children: _jsxs("div", { className: "rls-field-box__body", children: [_jsx(RlsInputText, { ...props }), action && (_jsx(RlsButtonAction, { icon: action.icon, disabled: disabled, onClick: action.onClick }))] }) }), !props.msgErrorDisabled && (_jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
|
|
18
|
+
return (_jsxs("div", { id: identifier, className: className, "rls-size": rlsSize, "rls-theme": rlsTheme, children: [children && _jsx("span", { className: "rls-field-box__label", children: children }), _jsx("div", { className: "rls-field-box__component", children: _jsxs("div", { className: "rls-field-box__body", children: [_jsx(RlsInputText, { ...props }), action && (_jsx(RlsButtonAction, { icon: action.icon, disabled: disabled, onClick: action.onClick }))] }) }), !props.msgErrorDisabled && (_jsx(RlsMessageFormError, { className: "rls-field-box__error", formControl: formControl }))] }));
|
|
19
19
|
}
|
|
20
20
|
export const RlsFieldText = memo(RlsFieldTextComponent);
|
|
21
21
|
//# sourceMappingURL=FieldText.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldText.js","sourceRoot":"","sources":["../../../../../src/components/molecules/FieldText/FieldText.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAE/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAE3E,SAAS,qBAAqB,CAAC,KAAyB;IACtD,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"FieldText.js","sourceRoot":"","sources":["../../../../../src/components/molecules/FieldText/FieldText.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAE/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAE3E,SAAS,qBAAqB,CAAC,KAAyB;IACtD,MAAM,E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, boolean>;
|
|
7
7
|
reverse?: boolean;
|
|
8
8
|
}
|
|
9
|
-
declare function RlsLabelCheckBoxComponent({ children, disabled, extended, identifier, formControl, reverse, rlsTheme }: LabelCheckBoxProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function RlsLabelCheckBoxComponent({ children, disabled, extended, identifier, formControl, reverse, rlsSize, rlsTheme }: LabelCheckBoxProps): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export declare const RlsLabelCheckBox: import("react").MemoExoticComponent<typeof RlsLabelCheckBoxComponent>;
|
|
11
11
|
export {};
|
|
@@ -3,7 +3,7 @@ import { memo } from 'react';
|
|
|
3
3
|
import { useFormToggleController } from '../../../controllers/FormToggleController';
|
|
4
4
|
import { renderClassStatus } from '../../../helpers/css';
|
|
5
5
|
import { RlsCheckBox } from '../../atoms/CheckBox/CheckBox';
|
|
6
|
-
function RlsLabelCheckBoxComponent({ children, disabled, extended, identifier, formControl, reverse, rlsTheme }) {
|
|
6
|
+
function RlsLabelCheckBoxComponent({ children, disabled, extended, identifier, formControl, reverse, rlsSize, rlsTheme }) {
|
|
7
7
|
const { checked, onToggle } = useFormToggleController({
|
|
8
8
|
disabled,
|
|
9
9
|
formControl
|
|
@@ -13,7 +13,7 @@ function RlsLabelCheckBoxComponent({ children, disabled, extended, identifier, f
|
|
|
13
13
|
extended,
|
|
14
14
|
reverse
|
|
15
15
|
});
|
|
16
|
-
return (_jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [_jsx("div", { className: "rls-label-checkbox__component", onClick: onToggle, children: _jsx(RlsCheckBox, { checked: checked, disabled: disabled }) }), _jsx("div", { className: "rls-label-checkbox__text", children: children })] }));
|
|
16
|
+
return (_jsxs("div", { id: identifier, className: className, "rls-size": rlsSize, "rls-theme": rlsTheme, children: [_jsx("div", { className: "rls-label-checkbox__component", onClick: onToggle, children: _jsx(RlsCheckBox, { checked: checked, disabled: disabled }) }), _jsx("div", { className: "rls-label-checkbox__text", children: children })] }));
|
|
17
17
|
}
|
|
18
18
|
export const RlsLabelCheckBox = memo(RlsLabelCheckBoxComponent);
|
|
19
19
|
//# sourceMappingURL=LabelCheckBox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LabelCheckBox.js","sourceRoot":"","sources":["../../../../../src/components/molecules/LabelCheckBox/LabelCheckBox.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAC7B,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AACpF,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAU5D,SAAS,yBAAyB,CAAC,EACjC,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,WAAW,EACX,OAAO,EACP,QAAQ,EACW;IACnB,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,uBAAuB,CAAC;QACpD,QAAQ;QACR,WAAW;KACZ,CAAC,CAAC;IAEH,MAAM,SAAS,GAAG,iBAAiB,CAAC,oBAAoB,EAAE;QACxD,QAAQ;QACR,QAAQ;QACR,OAAO;KACR,CAAC,CAAC;IAEH,OAAO,CACL,
|
|
1
|
+
{"version":3,"file":"LabelCheckBox.js","sourceRoot":"","sources":["../../../../../src/components/molecules/LabelCheckBox/LabelCheckBox.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAC7B,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AACpF,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAU5D,SAAS,yBAAyB,CAAC,EACjC,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,WAAW,EACX,OAAO,EACP,OAAO,EACP,QAAQ,EACW;IACnB,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,uBAAuB,CAAC;QACpD,QAAQ;QACR,WAAW;KACZ,CAAC,CAAC;IAEH,MAAM,SAAS,GAAG,iBAAiB,CAAC,oBAAoB,EAAE;QACxD,QAAQ;QACR,QAAQ;QACR,OAAO;KACR,CAAC,CAAC;IAEH,OAAO,CACL,eACE,EAAE,EAAE,UAAU,EACd,SAAS,EAAE,SAAS,cACV,OAAO,eACN,QAAQ,aAEnB,cAAK,SAAS,EAAC,+BAA+B,EAAC,OAAO,EAAE,QAAQ,YAC9D,KAAC,WAAW,IAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,GAAI,GACjD,EAEN,cAAK,SAAS,EAAC,0BAA0B,YAAE,QAAQ,GAAO,IACtD,CACP,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,CAAC,yBAAyB,CAAC,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { memo } from 'react';
|
|
|
3
3
|
import { useFormSingleSelectionController } from '../../../controllers/FormSingleSelectionController';
|
|
4
4
|
import { renderClassStatus } from '../../../helpers/css';
|
|
5
5
|
import { RlsRadioButton } from '../../atoms/RadioButton/RadioButton';
|
|
6
|
-
function RlsLabelRadioButtonComponent({ children, disabled, extended, identifier, formControl, onValue, reverse, rlsTheme, value }) {
|
|
6
|
+
function RlsLabelRadioButtonComponent({ children, disabled, extended, identifier, formControl, rlsSize, onValue, reverse, rlsTheme, value }) {
|
|
7
7
|
const { checked, onSelect } = useFormSingleSelectionController({
|
|
8
8
|
disabled,
|
|
9
9
|
formControl,
|
|
@@ -15,7 +15,7 @@ function RlsLabelRadioButtonComponent({ children, disabled, extended, identifier
|
|
|
15
15
|
extended,
|
|
16
16
|
reverse
|
|
17
17
|
});
|
|
18
|
-
return (_jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [_jsx("div", { className: "rls-label-radiobutton__component", onClick: onSelect, children: _jsx(RlsRadioButton, { checked: checked, disabled: disabled }) }), _jsx("div", { className: "rls-label-radiobutton__text", children: children })] }));
|
|
18
|
+
return (_jsxs("div", { id: identifier, className: className, "rls-size": rlsSize, "rls-theme": rlsTheme, children: [_jsx("div", { className: "rls-label-radiobutton__component", onClick: onSelect, children: _jsx(RlsRadioButton, { checked: checked, disabled: disabled }) }), _jsx("div", { className: "rls-label-radiobutton__text", children: children })] }));
|
|
19
19
|
}
|
|
20
20
|
export const RlsLabelRadioButton = memo(RlsLabelRadioButtonComponent);
|
|
21
21
|
//# sourceMappingURL=LabelRadioButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LabelRadioButton.js","sourceRoot":"","sources":["../../../../../src/components/molecules/LabelRadioButton/LabelRadioButton.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAa,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,gCAAgC,EAAE,MAAM,oDAAoD,CAAC;AACtG,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AA0BrE,SAAS,4BAA4B,CAAU,EAC7C,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,WAAW,EACX,OAAO,EACP,OAAO,EACP,QAAQ,EACR,KAAK,EACoB;IACzB,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,gCAAgC,CAAI;QAChE,QAAQ;QACR,WAAW;QACX,OAAO;QACP,KAAK;KACN,CAAC,CAAC;IAEH,MAAM,SAAS,GAAG,iBAAiB,CAAC,uBAAuB,EAAE;QAC3D,QAAQ;QACR,QAAQ;QACR,OAAO;KACR,CAAC,CAAC;IAEH,OAAO,CACL,
|
|
1
|
+
{"version":3,"file":"LabelRadioButton.js","sourceRoot":"","sources":["../../../../../src/components/molecules/LabelRadioButton/LabelRadioButton.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAa,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,gCAAgC,EAAE,MAAM,oDAAoD,CAAC;AACtG,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AA0BrE,SAAS,4BAA4B,CAAU,EAC7C,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,WAAW,EACX,OAAO,EACP,OAAO,EACP,OAAO,EACP,QAAQ,EACR,KAAK,EACoB;IACzB,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,gCAAgC,CAAI;QAChE,QAAQ;QACR,WAAW;QACX,OAAO;QACP,KAAK;KACN,CAAC,CAAC;IAEH,MAAM,SAAS,GAAG,iBAAiB,CAAC,uBAAuB,EAAE;QAC3D,QAAQ;QACR,QAAQ;QACR,OAAO;KACR,CAAC,CAAC;IAEH,OAAO,CACL,eACE,EAAE,EAAE,UAAU,EACd,SAAS,EAAE,SAAS,cACV,OAAO,eACN,QAAQ,aAEnB,cAAK,SAAS,EAAC,kCAAkC,EAAC,OAAO,EAAE,QAAQ,YACjE,KAAC,cAAc,IAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,GAAI,GACpD,EAEN,cAAK,SAAS,EAAC,6BAA6B,YAAE,QAAQ,GAAO,IACzD,CACP,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,mBAAmB,GAAG,IAAI,CACrC,4BAA4B,CACU,CAAC"}
|
|
@@ -7,6 +7,6 @@ interface LabelSwitchProps extends RlsComponent {
|
|
|
7
7
|
formControl?: ReactControl<HTMLElement, boolean>;
|
|
8
8
|
reverse?: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare function RlsLabelSwitchComponent({ capsule, children, disabled, extended, identifier, formControl, reverse, rlsTheme }: LabelSwitchProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function RlsLabelSwitchComponent({ capsule, children, disabled, extended, identifier, formControl, reverse, rlsSize, rlsTheme }: LabelSwitchProps): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export declare const RlsLabelSwitch: import("react").MemoExoticComponent<typeof RlsLabelSwitchComponent>;
|
|
12
12
|
export {};
|
|
@@ -3,7 +3,7 @@ import { memo } from 'react';
|
|
|
3
3
|
import { useFormToggleController } from '../../../controllers/FormToggleController';
|
|
4
4
|
import { renderClassStatus } from '../../../helpers/css';
|
|
5
5
|
import { RlsSwitch } from '../../atoms/Switch/Switch';
|
|
6
|
-
function RlsLabelSwitchComponent({ capsule, children, disabled, extended, identifier, formControl, reverse, rlsTheme }) {
|
|
6
|
+
function RlsLabelSwitchComponent({ capsule, children, disabled, extended, identifier, formControl, reverse, rlsSize, rlsTheme }) {
|
|
7
7
|
const { checked, onToggle } = useFormToggleController({
|
|
8
8
|
disabled,
|
|
9
9
|
formControl
|
|
@@ -13,7 +13,7 @@ function RlsLabelSwitchComponent({ capsule, children, disabled, extended, identi
|
|
|
13
13
|
extended,
|
|
14
14
|
reverse
|
|
15
15
|
});
|
|
16
|
-
return (_jsxs("div", { id: identifier, className: className, "rls-theme": rlsTheme, children: [_jsx("div", { className: "rls-label-switch__component", onClick: onToggle, children: _jsx(RlsSwitch, { checked: checked, capsule: capsule, disabled: disabled }) }), _jsx("div", { className: "rls-label-switch__text", children: children })] }));
|
|
16
|
+
return (_jsxs("div", { id: identifier, className: className, "rls-size": rlsSize, "rls-theme": rlsTheme, children: [_jsx("div", { className: "rls-label-switch__component", onClick: onToggle, children: _jsx(RlsSwitch, { checked: checked, capsule: capsule, disabled: disabled }) }), _jsx("div", { className: "rls-label-switch__text", children: children })] }));
|
|
17
17
|
}
|
|
18
18
|
export const RlsLabelSwitch = memo(RlsLabelSwitchComponent);
|
|
19
19
|
//# sourceMappingURL=LabelSwitch.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LabelSwitch.js","sourceRoot":"","sources":["../../../../../src/components/molecules/LabelSwitch/LabelSwitch.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAC7B,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AACpF,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAWtD,SAAS,uBAAuB,CAAC,EAC/B,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,WAAW,EACX,OAAO,EACP,QAAQ,EACS;IACjB,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,uBAAuB,CAAC;QACpD,QAAQ;QACR,WAAW;KACZ,CAAC,CAAC;IAEH,MAAM,SAAS,GAAG,iBAAiB,CAAC,kBAAkB,EAAE;QACtD,QAAQ;QACR,QAAQ;QACR,OAAO;KACR,CAAC,CAAC;IAEH,OAAO,CACL,
|
|
1
|
+
{"version":3,"file":"LabelSwitch.js","sourceRoot":"","sources":["../../../../../src/components/molecules/LabelSwitch/LabelSwitch.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAC7B,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AACpF,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAWtD,SAAS,uBAAuB,CAAC,EAC/B,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,WAAW,EACX,OAAO,EACP,OAAO,EACP,QAAQ,EACS;IACjB,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,uBAAuB,CAAC;QACpD,QAAQ;QACR,WAAW;KACZ,CAAC,CAAC;IAEH,MAAM,SAAS,GAAG,iBAAiB,CAAC,kBAAkB,EAAE;QACtD,QAAQ;QACR,QAAQ;QACR,OAAO;KACR,CAAC,CAAC;IAEH,OAAO,CACL,eACE,EAAE,EAAE,UAAU,EACd,SAAS,EAAE,SAAS,cACV,OAAO,eACN,QAAQ,aAEnB,cAAK,SAAS,EAAC,6BAA6B,EAAC,OAAO,EAAE,QAAQ,YAC5D,KAAC,SAAS,IAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,GAAI,GACjE,EAEN,cAAK,SAAS,EAAC,wBAAwB,YAAE,QAAQ,GAAO,IACpD,CACP,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,cAAc,GAAG,IAAI,CAAC,uBAAuB,CAAC,CAAC"}
|
|
@@ -6,6 +6,6 @@ interface MessageEmptyProps extends RlsComponent {
|
|
|
6
6
|
image?: string;
|
|
7
7
|
title?: ReactNode;
|
|
8
8
|
}
|
|
9
|
-
declare function RlsMessageEmptyComponent({ children, className, emoji, icon, identifier, image, rlsTheme, title }: MessageEmptyProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function RlsMessageEmptyComponent({ children, className, emoji, icon, identifier, image, rlsSize, rlsTheme, title }: MessageEmptyProps): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export declare const RlsMessageEmpty: import("react").MemoExoticComponent<typeof RlsMessageEmptyComponent>;
|
|
11
11
|
export {};
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { memo, useMemo } from 'react';
|
|
3
3
|
import { renderClassStatus } from '../../../helpers/css';
|
|
4
4
|
import { RlsIcon } from '../../atoms/Icon/Icon';
|
|
5
|
-
function RlsMessageEmptyComponent({ children, className, emoji, icon, identifier, image, rlsTheme, title }) {
|
|
5
|
+
function RlsMessageEmptyComponent({ children, className, emoji, icon, identifier, image, rlsSize, rlsTheme, title }) {
|
|
6
6
|
const classNameMessageEmpty = renderClassStatus('rls-message-empty', {}, className);
|
|
7
7
|
const logo = useMemo(() => {
|
|
8
8
|
if (icon) {
|
|
@@ -16,7 +16,7 @@ function RlsMessageEmptyComponent({ children, className, emoji, icon, identifier
|
|
|
16
16
|
}
|
|
17
17
|
return null;
|
|
18
18
|
}, [icon, emoji, image]);
|
|
19
|
-
return (_jsxs("div", { id: identifier, className: classNameMessageEmpty, "rls-theme": rlsTheme, children: [logo, _jsxs("div", { className: "rls-message-empty__body", children: [title && _jsx("div", { className: "rls-message-empty__title", children: title }), children && (_jsx("div", { className: "rls-message-empty__content", children: children }))] })] }));
|
|
19
|
+
return (_jsxs("div", { id: identifier, className: classNameMessageEmpty, "rls-size": rlsSize, "rls-theme": rlsTheme, children: [logo, _jsxs("div", { className: "rls-message-empty__body", children: [title && _jsx("div", { className: "rls-message-empty__title", children: title }), children && (_jsx("div", { className: "rls-message-empty__content", children: children }))] })] }));
|
|
20
20
|
}
|
|
21
21
|
export const RlsMessageEmpty = memo(RlsMessageEmptyComponent);
|
|
22
22
|
//# sourceMappingURL=MessageEmpty.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageEmpty.js","sourceRoot":"","sources":["../../../../../src/components/molecules/MessageEmpty/MessageEmpty.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAa,OAAO,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAUhD,SAAS,wBAAwB,CAAC,EAChC,QAAQ,EACR,SAAS,EACT,KAAK,EACL,IAAI,EACJ,UAAU,EACV,KAAK,EACL,QAAQ,EACR,KAAK,EACa;IAClB,MAAM,qBAAqB,GAAG,iBAAiB,CAC7C,mBAAmB,EACnB,EAAE,EACF,SAAS,CACV,CAAC;IAEF,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE;QACxB,IAAI,IAAI,EAAE,CAAC;YACT,OAAO,CACL,cAAK,SAAS,EAAC,yBAAyB,YACtC,KAAC,OAAO,IAAC,KAAK,EAAE,IAAI,GAAI,GACpB,CACP,CAAC;QACJ,CAAC;QAED,IAAI,KAAK,EAAE,CAAC;YACV,OAAO,CACL,cAAK,SAAS,EAAC,yBAAyB,YACtC,eAAM,SAAS,EAAC,gCAAgC,YAAE,KAAK,GAAQ,GAC3D,CACP,CAAC;QACJ,CAAC;QAED,IAAI,KAAK,EAAE,CAAC;YACV,OAAO,CACL,cAAK,SAAS,EAAC,yBAAyB,YACtC,cAAK,SAAS,EAAC,gCAAgC,EAAC,GAAG,EAAE,KAAK,GAAI,GAC1D,CACP,CAAC;QACJ,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;IAEzB,OAAO,CACL,
|
|
1
|
+
{"version":3,"file":"MessageEmpty.js","sourceRoot":"","sources":["../../../../../src/components/molecules/MessageEmpty/MessageEmpty.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAa,OAAO,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAUhD,SAAS,wBAAwB,CAAC,EAChC,QAAQ,EACR,SAAS,EACT,KAAK,EACL,IAAI,EACJ,UAAU,EACV,KAAK,EACL,OAAO,EACP,QAAQ,EACR,KAAK,EACa;IAClB,MAAM,qBAAqB,GAAG,iBAAiB,CAC7C,mBAAmB,EACnB,EAAE,EACF,SAAS,CACV,CAAC;IAEF,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE;QACxB,IAAI,IAAI,EAAE,CAAC;YACT,OAAO,CACL,cAAK,SAAS,EAAC,yBAAyB,YACtC,KAAC,OAAO,IAAC,KAAK,EAAE,IAAI,GAAI,GACpB,CACP,CAAC;QACJ,CAAC;QAED,IAAI,KAAK,EAAE,CAAC;YACV,OAAO,CACL,cAAK,SAAS,EAAC,yBAAyB,YACtC,eAAM,SAAS,EAAC,gCAAgC,YAAE,KAAK,GAAQ,GAC3D,CACP,CAAC;QACJ,CAAC;QAED,IAAI,KAAK,EAAE,CAAC;YACV,OAAO,CACL,cAAK,SAAS,EAAC,yBAAyB,YACtC,cAAK,SAAS,EAAC,gCAAgC,EAAC,GAAG,EAAE,KAAK,GAAI,GAC1D,CACP,CAAC;QACJ,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;IAEzB,OAAO,CACL,eACE,EAAE,EAAE,UAAU,EACd,SAAS,EAAE,qBAAqB,cACtB,OAAO,eACN,QAAQ,aAElB,IAAI,EAEL,eAAK,SAAS,EAAC,yBAAyB,aACrC,KAAK,IAAI,cAAK,SAAS,EAAC,0BAA0B,YAAE,KAAK,GAAO,EAEhE,QAAQ,IAAI,CACX,cAAK,SAAS,EAAC,4BAA4B,YAAE,QAAQ,GAAO,CAC7D,IACG,IACF,CACP,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,CAAC,wBAAwB,CAAC,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ReactControl } from '@rolster/react-forms';
|
|
2
|
-
|
|
2
|
+
import { PropsWithRlsSize } from '../../definitions';
|
|
3
|
+
interface MessageFormErrorProps extends PropsWithRlsSize {
|
|
3
4
|
className: string;
|
|
4
5
|
formControl?: ReactControl<HTMLElement>;
|
|
5
6
|
}
|
|
6
|
-
declare function RlsMessageFormErrorComponent({ className, formControl }: MessageFormErrorProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function RlsMessageFormErrorComponent({ className, formControl, rlsSize }: MessageFormErrorProps): import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
export declare const RlsMessageFormError: import("react").MemoExoticComponent<typeof RlsMessageFormErrorComponent>;
|
|
8
9
|
export {};
|
|
@@ -3,7 +3,7 @@ import { i18nSubscribe } from '@rolster/i18n';
|
|
|
3
3
|
import { memo, useEffect, useMemo, useState } from 'react';
|
|
4
4
|
import { msgErrorsI18n } from '../../../helpers/language';
|
|
5
5
|
import { RlsMessageIcon } from '../../atoms/MessageIcon/MessageIcon';
|
|
6
|
-
function RlsMessageFormErrorComponent({ className, formControl }) {
|
|
6
|
+
function RlsMessageFormErrorComponent({ className, formControl, rlsSize }) {
|
|
7
7
|
const [language, setLanguage] = useState('es');
|
|
8
8
|
useEffect(() => {
|
|
9
9
|
return i18nSubscribe((language) => {
|
|
@@ -15,7 +15,7 @@ function RlsMessageFormErrorComponent({ className, formControl }) {
|
|
|
15
15
|
(msgErrorsI18n(formControl.error.id, language, formControl.error.data) ||
|
|
16
16
|
msgErrorsI18n('_unknown', language, { error: formControl.error.id })));
|
|
17
17
|
}, [formControl?.error, language]);
|
|
18
|
-
return (_jsx(_Fragment, { children: formControl?.wrong && (_jsx("div", { className: className, children: _jsx(RlsMessageIcon, { icon: "alert-triangle", rlsTheme: "danger", children: msgError }) })) }));
|
|
18
|
+
return (_jsx(_Fragment, { children: formControl?.wrong && (_jsx("div", { className: className, "rls-size": rlsSize, children: _jsx(RlsMessageIcon, { icon: "alert-triangle", rlsTheme: "danger", children: msgError }) })) }));
|
|
19
19
|
}
|
|
20
20
|
export const RlsMessageFormError = memo(RlsMessageFormErrorComponent);
|
|
21
21
|
//# sourceMappingURL=MessageFormError.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageFormError.js","sourceRoot":"","sources":["../../../../../src/components/molecules/MessageFormError/MessageFormError.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAgB,MAAM,eAAe,CAAC;AAE5D,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageFormError.js","sourceRoot":"","sources":["../../../../../src/components/molecules/MessageFormError/MessageFormError.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAgB,MAAM,eAAe,CAAC;AAE5D,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAQrE,SAAS,4BAA4B,CAAC,EACpC,SAAS,EACT,WAAW,EACX,OAAO,EACe;IACtB,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAe,IAAI,CAAC,CAAC;IAE7D,SAAS,CAAC,GAAG,EAAE;QACb,OAAO,aAAa,CAAC,CAAC,QAAQ,EAAE,EAAE;YAChC,WAAW,CAAC,QAAQ,CAAC,CAAC;QACxB,CAAC,CAAC,CAAC;IACL,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,EAAE;QAC5B,OAAO,CACL,WAAW,EAAE,KAAK;YAClB,CAAC,aAAa,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE,EAAE,QAAQ,EAAE,WAAW,CAAC,KAAK,CAAC,IAAI,CAAC;gBACpE,aAAa,CAAC,UAAU,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAE,WAAW,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC,CACxE,CAAC;IACJ,CAAC,EAAE,CAAC,WAAW,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC;IAEnC,OAAO,CACL,4BACG,WAAW,EAAE,KAAK,IAAI,CACrB,cAAK,SAAS,EAAE,SAAS,cAAY,OAAO,YAC1C,KAAC,cAAc,IAAC,IAAI,EAAC,gBAAgB,EAAC,QAAQ,EAAC,QAAQ,YACpD,QAAQ,GACM,GACb,CACP,GACA,CACJ,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,mBAAmB,GAAG,IAAI,CAAC,4BAA4B,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { RlsComponent } from '../../definitions';
|
|
2
|
-
declare function RlsNavbarComponent({ children, identifier, rlsTheme }: RlsComponent): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare function RlsNavbarComponent({ children, identifier, rlsSize, rlsTheme }: RlsComponent): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export declare const RlsNavbar: import("react").MemoExoticComponent<typeof RlsNavbarComponent>;
|
|
4
4
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { memo } from 'react';
|
|
3
|
-
function RlsNavbarComponent({ children, identifier, rlsTheme }) {
|
|
4
|
-
return (_jsxs("nav", { id: identifier, className: "rls-app__page__nav", "rls-theme": rlsTheme, children: [_jsx("div", { className: "rls-app__page__nav__content", children: children }), _jsx("div", { className: "rls-app__page__nav__backdrop" })] }));
|
|
3
|
+
function RlsNavbarComponent({ children, identifier, rlsSize, rlsTheme }) {
|
|
4
|
+
return (_jsxs("nav", { id: identifier, className: "rls-app__page__nav", "rls-size": rlsSize, "rls-theme": rlsTheme, children: [_jsx("div", { className: "rls-app__page__nav__content", children: children }), _jsx("div", { className: "rls-app__page__nav__backdrop" })] }));
|
|
5
5
|
}
|
|
6
6
|
export const RlsNavbar = memo(RlsNavbarComponent);
|
|
7
7
|
//# sourceMappingURL=Navbar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Navbar.js","sourceRoot":"","sources":["../../../../../src/components/molecules/Navbar/Navbar.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAG7B,SAAS,kBAAkB,CAAC,
|
|
1
|
+
{"version":3,"file":"Navbar.js","sourceRoot":"","sources":["../../../../../src/components/molecules/Navbar/Navbar.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAG7B,SAAS,kBAAkB,CAAC,EAC1B,QAAQ,EACR,UAAU,EACV,OAAO,EACP,QAAQ,EACK;IACb,OAAO,CACL,eACE,EAAE,EAAE,UAAU,EACd,SAAS,EAAC,oBAAoB,cACpB,OAAO,eACN,QAAQ,aAEnB,cAAK,SAAS,EAAC,6BAA6B,YAAE,QAAQ,GAAO,EAE7D,cAAK,SAAS,EAAC,8BAA8B,GAAO,IAChD,CACP,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,SAAS,GAAG,IAAI,CAAC,kBAAkB,CAAC,CAAC"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
import { PropsWithRlsSize } from '../../definitions';
|
|
1
2
|
export interface NavbarMenuOption {
|
|
2
3
|
icon: string;
|
|
3
4
|
id: string;
|
|
4
5
|
label: string;
|
|
5
6
|
}
|
|
6
|
-
interface NavbarMenuProps {
|
|
7
|
+
interface NavbarMenuProps extends PropsWithRlsSize {
|
|
7
8
|
options: NavbarMenuOption[];
|
|
8
9
|
onOption?: (option: NavbarMenuOption) => void;
|
|
9
10
|
}
|
|
10
|
-
declare function RlsNavbarMenuComponent({ options, onOption }: NavbarMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare function RlsNavbarMenuComponent({ options, rlsSize, onOption }: NavbarMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
11
12
|
export declare const RlsNavbarMenu: import("react").MemoExoticComponent<typeof RlsNavbarMenuComponent>;
|
|
12
13
|
export {};
|