@m4l/components 9.84.0-beta-feat-temporal-scatter-widgets-reports.0 → 9.84.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/@types/types.d.ts +24 -0
- package/components/BaseModule/BaseModule.d.ts +1 -1
- package/components/BaseModule/BaseModule.d.ts.map +1 -1
- package/components/BaseModule/BaseModule.js +29 -21
- package/components/BaseModule/types.d.ts +5 -1
- package/components/BaseModule/types.d.ts.map +1 -1
- package/components/CheckableList/CheckableList.d.ts +3 -3
- package/components/CheckableList/CheckableList.d.ts.map +1 -1
- package/components/CheckableList/CheckableList.js +218 -202
- package/components/CheckableList/CheckableList.styles.d.ts.map +1 -1
- package/components/CheckableList/CheckableList.styles.js +37 -18
- package/components/CheckableList/constants.d.ts +19 -1
- package/components/CheckableList/constants.d.ts.map +1 -1
- package/components/CheckableList/constants.js +29 -7
- package/components/CheckableList/helpers/resolveGroupEdgeColors.d.ts +6 -0
- package/components/CheckableList/helpers/resolveGroupEdgeColors.d.ts.map +1 -0
- package/components/CheckableList/helpers/resolveGroupEdgeColors.js +37 -0
- package/components/CheckableList/helpers/types.d.ts +6 -0
- package/components/CheckableList/helpers/types.d.ts.map +1 -0
- package/components/CheckableList/hooks/types.d.ts +107 -0
- package/components/CheckableList/hooks/types.d.ts.map +1 -0
- package/components/CheckableList/hooks/useCheckableListHandlers.d.ts +3 -14
- package/components/CheckableList/hooks/useCheckableListHandlers.d.ts.map +1 -1
- package/components/CheckableList/hooks/useCheckableListHandlers.js +37 -39
- package/components/CheckableList/hooks/useCheckableListItems.d.ts +5 -15
- package/components/CheckableList/hooks/useCheckableListItems.d.ts.map +1 -1
- package/components/CheckableList/hooks/useCheckableListItems.js +35 -64
- package/components/CheckableList/hooks/useCheckableListRender.d.ts +4 -59
- package/components/CheckableList/hooks/useCheckableListRender.d.ts.map +1 -1
- package/components/CheckableList/hooks/useCheckableListRender.js +96 -222
- package/components/CheckableList/hooks/useCheckableListSelection.d.ts +4 -11
- package/components/CheckableList/hooks/useCheckableListSelection.d.ts.map +1 -1
- package/components/CheckableList/hooks/useCheckableListSelection.js +34 -37
- package/components/CheckableList/hooks/useCheckableListState.d.ts +2 -9
- package/components/CheckableList/hooks/useCheckableListState.d.ts.map +1 -1
- package/components/CheckableList/hooks/useCheckableListState.js +19 -21
- package/components/CheckableList/hooks/useCheckableListVirtualization.d.ts +8 -18
- package/components/CheckableList/hooks/useCheckableListVirtualization.d.ts.map +1 -1
- package/components/CheckableList/hooks/useCheckableListVirtualization.js +51 -39
- package/components/CheckableList/slots/slots.d.ts +2 -0
- package/components/CheckableList/slots/slots.d.ts.map +1 -1
- package/components/CheckableList/slots/slots.js +1 -1
- package/components/CheckableList/slots/styled.d.ts +6 -0
- package/components/CheckableList/slots/styled.d.ts.map +1 -1
- package/components/CheckableList/slots/styled.js +62 -54
- package/components/CheckableList/subcomponents/CheckableListGroupRow/CheckableListGroupRow.d.ts +4 -0
- package/components/CheckableList/subcomponents/CheckableListGroupRow/CheckableListGroupRow.d.ts.map +1 -0
- package/components/CheckableList/subcomponents/CheckableListGroupRow/CheckableListGroupRow.js +114 -0
- package/components/CheckableList/subcomponents/CheckableListGroupRow/types.d.ts +11 -0
- package/components/CheckableList/subcomponents/CheckableListGroupRow/types.d.ts.map +1 -0
- package/components/CheckableList/subcomponents/CheckableListItemRow/CheckableListItemRow.d.ts +4 -0
- package/components/CheckableList/subcomponents/CheckableListItemRow/CheckableListItemRow.d.ts.map +1 -0
- package/components/CheckableList/subcomponents/CheckableListItemRow/CheckableListItemRow.js +93 -0
- package/components/CheckableList/subcomponents/CheckableListItemRow/types.d.ts +9 -0
- package/components/CheckableList/subcomponents/CheckableListItemRow/types.d.ts.map +1 -0
- package/components/CheckableList/types.d.ts +99 -81
- package/components/CheckableList/types.d.ts.map +1 -1
- package/components/DynamicFilter/subcomponents/PopoverFilter/usePopoverFilter.d.ts +1 -1
- package/components/DynamicSort/subcomponents/PopoverSort/usePopoverSort.d.ts +1 -1
- package/components/HoursOfWeekPicker/HoursOfWeekPicker.d.ts.map +1 -1
- package/components/HoursOfWeekPicker/HoursOfWeekPicker.js +65 -123
- package/components/HoursOfWeekPicker/HoursOfWeekPicker.styles.d.ts.map +1 -1
- package/components/HoursOfWeekPicker/HoursOfWeekPicker.styles.js +71 -47
- package/components/HoursOfWeekPicker/HoursOfWeekSelection.d.ts +7 -0
- package/components/HoursOfWeekPicker/HoursOfWeekSelection.d.ts.map +1 -0
- package/components/HoursOfWeekPicker/HoursOfWeekSelection.js +28 -0
- package/components/HoursOfWeekPicker/constants.d.ts +5 -3
- package/components/HoursOfWeekPicker/constants.d.ts.map +1 -1
- package/components/HoursOfWeekPicker/constants.js +19 -13
- package/components/HoursOfWeekPicker/helpers/firstAvailableRange/firstAvailableRange.d.ts.map +1 -1
- package/components/HoursOfWeekPicker/helpers/firstAvailableRange/firstAvailableRange.js +7 -8
- package/components/HoursOfWeekPicker/helpers/getHoursOfWeekPresets/getHoursOfWeekPresets.d.ts +7 -0
- package/components/HoursOfWeekPicker/helpers/getHoursOfWeekPresets/getHoursOfWeekPresets.d.ts.map +1 -0
- package/components/HoursOfWeekPicker/helpers/getHoursOfWeekPresets/getHoursOfWeekPresets.js +29 -0
- package/components/HoursOfWeekPicker/helpers/getTimeOptions/getTimeOptions.d.ts +1 -1
- package/components/HoursOfWeekPicker/helpers/getTimeOptions/getTimeOptions.js +4 -4
- package/components/HoursOfWeekPicker/helpers/index.d.ts +1 -1
- package/components/HoursOfWeekPicker/helpers/index.d.ts.map +1 -1
- package/components/HoursOfWeekPicker/helpers/matrixToValue/matrixToValue.d.ts.map +1 -1
- package/components/HoursOfWeekPicker/helpers/matrixToValue/matrixToValue.js +5 -6
- package/components/HoursOfWeekPicker/helpers/normalizeValue/normalizeValue.d.ts +7 -0
- package/components/HoursOfWeekPicker/helpers/normalizeValue/normalizeValue.d.ts.map +1 -0
- package/components/HoursOfWeekPicker/helpers/normalizeValue/normalizeValue.js +12 -0
- package/components/HoursOfWeekPicker/helpers/parseTime/parseTime.d.ts +5 -2
- package/components/HoursOfWeekPicker/helpers/parseTime/parseTime.d.ts.map +1 -1
- package/components/HoursOfWeekPicker/helpers/parseTime/parseTime.js +5 -8
- package/components/HoursOfWeekPicker/helpers/valueToMatrix/valueToMatrix.d.ts +6 -3
- package/components/HoursOfWeekPicker/helpers/valueToMatrix/valueToMatrix.d.ts.map +1 -1
- package/components/HoursOfWeekPicker/helpers/valueToMatrix/valueToMatrix.js +8 -11
- package/components/HoursOfWeekPicker/hooks/useHoursOfWeekCards/useHoursOfWeekCards.d.ts +1 -1
- package/components/HoursOfWeekPicker/hooks/useHoursOfWeekPicker/useHoursOfWeekPicker.d.ts +1 -1
- package/components/HoursOfWeekPicker/hooks/useHoursOfWeekPicker/useHoursOfWeekPicker.d.ts.map +1 -1
- package/components/HoursOfWeekPicker/hooks/useHoursOfWeekPicker/useHoursOfWeekPicker.js +56 -56
- package/components/HoursOfWeekPicker/index.d.ts +4 -0
- package/components/HoursOfWeekPicker/index.d.ts.map +1 -1
- package/components/HoursOfWeekPicker/slots/HoursOfWeekPickerEnum.d.ts +4 -1
- package/components/HoursOfWeekPicker/slots/HoursOfWeekPickerEnum.d.ts.map +1 -1
- package/components/HoursOfWeekPicker/slots/HoursOfWeekPickerEnum.js +1 -1
- package/components/HoursOfWeekPicker/slots/HoursOfWeekPickerSlots.d.ts +51 -144
- package/components/HoursOfWeekPicker/slots/HoursOfWeekPickerSlots.d.ts.map +1 -1
- package/components/HoursOfWeekPicker/slots/HoursOfWeekPickerSlots.js +212 -54
- package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekCards/HoursOfWeekCards.d.ts.map +1 -1
- package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekCards/HoursOfWeekCards.js +75 -75
- package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekCell/HoursOfWeekCell.js +9 -9
- package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekLegend/HoursOfWeekLegend.js +21 -21
- package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekPeriods/HoursOfWeekPeriods.js +19 -19
- package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekRow/HoursOfWeekRow.js +15 -15
- package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekSelectionContent/HoursOfWeekSelectionContent.d.ts +7 -0
- package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekSelectionContent/HoursOfWeekSelectionContent.d.ts.map +1 -0
- package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekSelectionContent/HoursOfWeekSelectionContent.js +75 -0
- package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekShortcuts/HoursOfWeekShortcuts.d.ts +7 -0
- package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekShortcuts/HoursOfWeekShortcuts.d.ts.map +1 -0
- package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekShortcuts/HoursOfWeekShortcuts.js +35 -0
- package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekSkeleton/HoursOfWeekSkeleton.d.ts +2 -1
- package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekSkeleton/HoursOfWeekSkeleton.d.ts.map +1 -1
- package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekSkeleton/HoursOfWeekSkeleton.js +10 -10
- package/components/HoursOfWeekPicker/subcomponents/HoursOfWeekSummary/HoursOfWeekSummary.js +18 -18
- package/components/HoursOfWeekPicker/types.d.ts +97 -16
- package/components/HoursOfWeekPicker/types.d.ts.map +1 -1
- package/components/MFIsolationApp/MFIsolationApp.d.ts.map +1 -1
- package/components/MFIsolationApp/MFIsolationApp.js +134 -130
- package/components/MFIsolationAppStorybook/createComponentsMFIsolationAppStorybookProps.d.ts +2 -1
- package/components/MFIsolationAppStorybook/createComponentsMFIsolationAppStorybookProps.d.ts.map +1 -1
- package/components/MFIsolationAppStorybook/createComponentsMFIsolationAppStorybookProps.js +33 -25
- package/components/MFLoader/helpers/projectMFHostRuntimeTools/projectMFHostRuntimeTools.d.ts.map +1 -1
- package/components/MFLoader/helpers/projectMFHostRuntimeTools/projectMFHostRuntimeTools.js +9 -4
- package/components/MFLoader/index.d.ts +0 -1
- package/components/MFLoader/index.d.ts.map +1 -1
- package/components/MFLoader/types.d.ts +0 -3
- package/components/MFLoader/types.d.ts.map +1 -1
- package/components/SortableList/SortableList.d.ts +3 -0
- package/components/SortableList/SortableList.d.ts.map +1 -0
- package/components/SortableList/SortableList.js +137 -0
- package/components/SortableList/SortableList.styles.d.ts +3 -0
- package/components/SortableList/SortableList.styles.d.ts.map +1 -0
- package/components/SortableList/SortableList.styles.js +45 -0
- package/components/SortableList/__testing__/SortableHarnesses.d.ts +23 -0
- package/components/SortableList/__testing__/SortableHarnesses.d.ts.map +1 -0
- package/components/SortableList/__testing__/fixtures.d.ts +24 -0
- package/components/SortableList/__testing__/fixtures.d.ts.map +1 -0
- package/components/SortableList/__testing__/types.d.ts +78 -0
- package/components/SortableList/__testing__/types.d.ts.map +1 -0
- package/components/SortableList/constants.d.ts +14 -0
- package/components/SortableList/constants.d.ts.map +1 -0
- package/components/SortableList/constants.js +18 -0
- package/components/SortableList/dictionary.d.ts +3 -0
- package/components/SortableList/dictionary.d.ts.map +1 -0
- package/components/SortableList/dictionary.js +6 -0
- package/components/SortableList/helpers.d.ts +12 -0
- package/components/SortableList/helpers.d.ts.map +1 -0
- package/components/SortableList/helpers.js +35 -0
- package/components/SortableList/index.d.ts +4 -0
- package/components/SortableList/index.d.ts.map +1 -0
- package/components/SortableList/slots/SortableListEnum.d.ts +10 -0
- package/components/SortableList/slots/SortableListEnum.d.ts.map +1 -0
- package/components/SortableList/slots/SortableListEnum.js +4 -0
- package/components/SortableList/slots/SortableListSlots.d.ts +9 -0
- package/components/SortableList/slots/SortableListSlots.d.ts.map +1 -0
- package/components/SortableList/slots/SortableListSlots.js +38 -0
- package/components/SortableList/slots/index.d.ts +2 -0
- package/components/SortableList/slots/index.d.ts.map +1 -0
- package/components/SortableList/subcomponents/SortableListItem/SortableListItem.d.ts +4 -0
- package/components/SortableList/subcomponents/SortableListItem/SortableListItem.d.ts.map +1 -0
- package/components/SortableList/subcomponents/SortableListItem/SortableListItem.js +103 -0
- package/components/SortableList/types.d.ts +80 -0
- package/components/SortableList/types.d.ts.map +1 -0
- package/components/SortableList/vendor.d.ts +7 -0
- package/components/SortableList/vendor.d.ts.map +1 -0
- package/components/SortableList/vendor.js +10 -0
- package/components/Stepper/Stepper.d.ts +3 -2
- package/components/Stepper/Stepper.d.ts.map +1 -1
- package/components/Stepper/Stepper.js +48 -35
- package/components/Stepper/Stepper.styles.d.ts.map +1 -1
- package/components/Stepper/Stepper.styles.js +141 -99
- package/components/Stepper/constants.d.ts +6 -0
- package/components/Stepper/constants.d.ts.map +1 -1
- package/components/Stepper/constants.js +8 -2
- package/components/Stepper/dictionary.d.ts +1 -0
- package/components/Stepper/dictionary.d.ts.map +1 -1
- package/components/Stepper/dictionary.js +1 -0
- package/components/Stepper/hooks/useDynamicValidation/index.d.ts.map +1 -1
- package/components/Stepper/hooks/useDynamicValidation/index.js +44 -42
- package/components/Stepper/hooks/useIsLastVisibleValidStep/index.d.ts +4 -3
- package/components/Stepper/hooks/useIsLastVisibleValidStep/index.d.ts.map +1 -1
- package/components/Stepper/hooks/useIsLastVisibleValidStep/index.js +19 -15
- package/components/Stepper/hooks/useStepper/index.d.ts +3 -0
- package/components/Stepper/hooks/useStepper/index.d.ts.map +1 -1
- package/components/Stepper/hooks/useStepper/index.js +12 -8
- package/components/Stepper/hooks/useStepperActions/index.d.ts.map +1 -1
- package/components/Stepper/hooks/useStepperActions/index.js +40 -38
- package/components/Stepper/hooks/useStepperLayout/useStepperLayout.d.ts +9 -0
- package/components/Stepper/hooks/useStepperLayout/useStepperLayout.d.ts.map +1 -0
- package/components/Stepper/hooks/useStepperLayout/useStepperLayout.js +54 -0
- package/components/Stepper/slots/StepperEnum.d.ts +1 -0
- package/components/Stepper/slots/StepperEnum.d.ts.map +1 -1
- package/components/Stepper/slots/StepperEnum.js +3 -3
- package/components/Stepper/slots/StepperSlot.d.ts +3 -0
- package/components/Stepper/slots/StepperSlot.d.ts.map +1 -1
- package/components/Stepper/slots/StepperSlot.js +21 -17
- package/components/Stepper/subcomponents/ContentArea/index.d.ts +1 -0
- package/components/Stepper/subcomponents/ContentArea/index.d.ts.map +1 -1
- package/components/Stepper/subcomponents/ContentArea/index.js +17 -16
- package/components/Stepper/subcomponents/StepArea/index.d.ts +3 -1
- package/components/Stepper/subcomponents/StepArea/index.d.ts.map +1 -1
- package/components/Stepper/subcomponents/StepArea/index.js +32 -29
- package/components/Stepper/subcomponents/StepArea/subcomponents/Inidicator/index.d.ts +1 -0
- package/components/Stepper/subcomponents/StepArea/subcomponents/Inidicator/index.d.ts.map +1 -1
- package/components/Stepper/subcomponents/StepArea/subcomponents/Inidicator/index.js +20 -20
- package/components/Stepper/subcomponents/StepperContent/subcomponents/Step/index.d.ts +4 -2
- package/components/Stepper/subcomponents/StepperContent/subcomponents/Step/index.d.ts.map +1 -1
- package/components/Stepper/subcomponents/StepperContent/subcomponents/Step/index.js +7 -7
- package/components/Stepper/subcomponents/StepperSideList/StepperSideList.d.ts +9 -0
- package/components/Stepper/subcomponents/StepperSideList/StepperSideList.d.ts.map +1 -0
- package/components/Stepper/subcomponents/StepperSideList/StepperSideList.js +33 -0
- package/components/Stepper/tests/responsive/fixtures.d.ts +7 -0
- package/components/Stepper/tests/responsive/fixtures.d.ts.map +1 -0
- package/components/Stepper/tests/responsive/observer.d.ts +34 -0
- package/components/Stepper/tests/responsive/observer.d.ts.map +1 -0
- package/components/Stepper/tests/responsive/types.d.ts +27 -0
- package/components/Stepper/tests/responsive/types.d.ts.map +1 -0
- package/components/Stepper/types.d.ts +70 -3
- package/components/Stepper/types.d.ts.map +1 -1
- package/components/WindowBase/icons.d.ts +0 -6
- package/components/WindowBase/icons.d.ts.map +1 -1
- package/components/WindowBase/icons.js +13 -20
- package/components/datagrids/formatters/ColumnDurationFormatter/__testing__/types.d.ts +8 -0
- package/components/datagrids/formatters/ColumnDurationFormatter/__testing__/types.d.ts.map +1 -0
- package/components/datagrids/formatters/ColumnDurationFormatter/index.d.ts +3 -0
- package/components/datagrids/formatters/ColumnDurationFormatter/index.d.ts.map +1 -0
- package/components/datagrids/formatters/ColumnDurationFormatter/types.d.ts +5 -0
- package/components/datagrids/formatters/ColumnDurationFormatter/types.d.ts.map +1 -0
- package/components/datagrids/formatters/ColumnDurationFormatter/useColumnDuration.d.ts +9 -0
- package/components/datagrids/formatters/ColumnDurationFormatter/useColumnDuration.d.ts.map +1 -0
- package/components/datagrids/formatters/ColumnDurationFormatter/useColumnDuration.js +14 -0
- package/components/datagrids/formatters/index.d.ts +1 -0
- package/components/datagrids/formatters/index.d.ts.map +1 -1
- package/components/extended/Re-resizable/ResizablePanel.d.ts +4 -0
- package/components/extended/Re-resizable/ResizablePanel.d.ts.map +1 -0
- package/components/extended/Re-resizable/ResizablePanel.js +75 -0
- package/components/extended/Re-resizable/ResizablePanel.styles.d.ts +3 -0
- package/components/extended/Re-resizable/ResizablePanel.styles.d.ts.map +1 -0
- package/components/extended/Re-resizable/ResizablePanel.styles.js +65 -0
- package/components/extended/Re-resizable/constants.d.ts +18 -0
- package/components/extended/Re-resizable/constants.d.ts.map +1 -0
- package/components/extended/Re-resizable/constants.js +25 -0
- package/components/extended/Re-resizable/helpers.d.ts +6 -0
- package/components/extended/Re-resizable/helpers.d.ts.map +1 -0
- package/components/extended/Re-resizable/helpers.js +22 -0
- package/components/extended/Re-resizable/hooks/useResizablePanel.d.ts +4 -0
- package/components/extended/Re-resizable/hooks/useResizablePanel.d.ts.map +1 -0
- package/components/extended/Re-resizable/hooks/useResizablePanel.js +113 -0
- package/components/extended/Re-resizable/index.d.ts +3 -0
- package/components/extended/Re-resizable/index.d.ts.map +1 -0
- package/components/extended/Re-resizable/slots/slots.d.ts +5 -0
- package/components/extended/Re-resizable/slots/slots.d.ts.map +1 -0
- package/components/extended/Re-resizable/slots/slots.js +4 -0
- package/components/extended/Re-resizable/slots/styled.d.ts +19 -0
- package/components/extended/Re-resizable/slots/styled.d.ts.map +1 -0
- package/components/extended/Re-resizable/slots/styled.js +10 -0
- package/components/extended/Re-resizable/tests/engineBoundary.d.ts +33 -0
- package/components/extended/Re-resizable/tests/engineBoundary.d.ts.map +1 -0
- package/components/extended/Re-resizable/tests/fixtures.d.ts +7 -0
- package/components/extended/Re-resizable/tests/fixtures.d.ts.map +1 -0
- package/components/extended/Re-resizable/tests/observerBoundary.d.ts +28 -0
- package/components/extended/Re-resizable/tests/observerBoundary.d.ts.map +1 -0
- package/components/extended/Re-resizable/tests/types.d.ts +7 -0
- package/components/extended/Re-resizable/tests/types.d.ts.map +1 -0
- package/components/extended/Re-resizable/types.d.ts +67 -0
- package/components/extended/Re-resizable/types.d.ts.map +1 -0
- package/components/extended/index.d.ts +1 -0
- package/components/extended/index.d.ts.map +1 -1
- package/components/extended/mui/MenuItem/MenuItem.d.ts.map +1 -1
- package/components/extended/mui/MenuItem/MenuItem.js +13 -15
- package/components/extended/mui/Switch/Switch.styles.d.ts.map +1 -1
- package/components/extended/mui/Switch/Switch.styles.js +39 -27
- package/components/formatters/DurationFormatter/DurationFormatter.d.ts +6 -0
- package/components/formatters/DurationFormatter/DurationFormatter.d.ts.map +1 -0
- package/components/formatters/DurationFormatter/DurationFormatter.js +49 -0
- package/components/formatters/DurationFormatter/DurationFormatter.styles.d.ts +3 -0
- package/components/formatters/DurationFormatter/DurationFormatter.styles.d.ts.map +1 -0
- package/components/formatters/DurationFormatter/DurationFormatter.styles.js +8 -0
- package/components/formatters/DurationFormatter/constants.d.ts +2 -0
- package/components/formatters/DurationFormatter/constants.d.ts.map +1 -0
- package/components/formatters/DurationFormatter/constants.js +4 -0
- package/components/formatters/DurationFormatter/hooks/useDurationFormatter.d.ts +4 -0
- package/components/formatters/DurationFormatter/hooks/useDurationFormatter.d.ts.map +1 -0
- package/components/formatters/DurationFormatter/hooks/useDurationFormatter.js +21 -0
- package/components/formatters/DurationFormatter/index.d.ts +4 -0
- package/components/formatters/DurationFormatter/index.d.ts.map +1 -0
- package/components/formatters/DurationFormatter/slots/DurationFormatterEnum.d.ts +4 -0
- package/components/formatters/DurationFormatter/slots/DurationFormatterEnum.d.ts.map +1 -0
- package/components/formatters/DurationFormatter/slots/DurationFormatterEnum.js +4 -0
- package/components/formatters/DurationFormatter/slots/DurationFormatterSlots.d.ts +3 -0
- package/components/formatters/DurationFormatter/slots/DurationFormatterSlots.d.ts.map +1 -0
- package/components/formatters/DurationFormatter/slots/DurationFormatterSlots.js +12 -0
- package/components/formatters/DurationFormatter/types.d.ts +28 -0
- package/components/formatters/DurationFormatter/types.d.ts.map +1 -0
- package/components/formatters/index.d.ts +1 -0
- package/components/formatters/index.d.ts.map +1 -1
- package/components/hook-form/RHFHelperError/index.d.ts +1 -1
- package/components/hook-form/RHFHelperError/index.d.ts.map +1 -1
- package/components/hook-form/RHFHelperError/index.js +7 -11
- package/components/hook-form/RHFHoursOfWeekPicker/RHFHoursOfWeekPicker.d.ts.map +1 -1
- package/components/hook-form/RHFHoursOfWeekPicker/RHFHoursOfWeekPicker.js +12 -8
- package/components/hook-form/RHFRadioGroup/RHFRadioGroup.d.ts +1 -1
- package/components/hook-form/RHFRadioGroup/RHFRadioGroup.d.ts.map +1 -1
- package/components/hook-form/RHFRadioGroup/RHFRadioGroup.js +226 -143
- package/components/hook-form/RHFRadioGroup/RHFRadioGroup.styles.d.ts.map +1 -1
- package/components/hook-form/RHFRadioGroup/RHFRadioGroup.styles.js +99 -29
- package/components/hook-form/RHFRadioGroup/constants.d.ts +4 -2
- package/components/hook-form/RHFRadioGroup/constants.d.ts.map +1 -1
- package/components/hook-form/RHFRadioGroup/constants.js +4 -3
- package/components/hook-form/RHFRadioGroup/index.d.ts +1 -1
- package/components/hook-form/RHFRadioGroup/index.d.ts.map +1 -1
- package/components/hook-form/RHFRadioGroup/layoutHelpers.d.ts +8 -0
- package/components/hook-form/RHFRadioGroup/layoutHelpers.d.ts.map +1 -0
- package/components/hook-form/RHFRadioGroup/layoutHelpers.js +23 -0
- package/components/hook-form/RHFRadioGroup/slots/slots.d.ts +3 -0
- package/components/hook-form/RHFRadioGroup/slots/slots.d.ts.map +1 -1
- package/components/hook-form/RHFRadioGroup/slots/slots.js +1 -1
- package/components/hook-form/RHFRadioGroup/slots/styled.d.ts +8 -2
- package/components/hook-form/RHFRadioGroup/slots/styled.d.ts.map +1 -1
- package/components/hook-form/RHFRadioGroup/slots/styled.js +40 -26
- package/components/hook-form/RHFRadioGroup/types.d.ts +51 -13
- package/components/hook-form/RHFRadioGroup/types.d.ts.map +1 -1
- package/components/hook-form/RHFSortableList/RHFSortableList.d.ts +5 -0
- package/components/hook-form/RHFSortableList/RHFSortableList.d.ts.map +1 -0
- package/components/hook-form/RHFSortableList/RHFSortableList.js +49 -0
- package/components/hook-form/RHFSortableList/index.d.ts +3 -0
- package/components/hook-form/RHFSortableList/index.d.ts.map +1 -0
- package/components/hook-form/RHFSortableList/types.d.ts +19 -0
- package/components/hook-form/RHFSortableList/types.d.ts.map +1 -0
- package/components/hook-form/RHFormProvider/RHFormProvider.d.ts +5 -5
- package/components/hook-form/RHFormProvider/RHFormProvider.d.ts.map +1 -1
- package/components/hook-form/RHFormProvider/RHFormProvider.js +107 -60
- package/components/hook-form/RHFormProvider/classes/index.d.ts +5 -0
- package/components/hook-form/RHFormProvider/classes/index.d.ts.map +1 -1
- package/components/hook-form/RHFormProvider/classes/index.js +19 -9
- package/components/hook-form/RHFormProvider/classes/types.d.ts +5 -0
- package/components/hook-form/RHFormProvider/classes/types.d.ts.map +1 -1
- package/components/hook-form/RHFormProvider/constants.d.ts +7 -0
- package/components/hook-form/RHFormProvider/constants.d.ts.map +1 -0
- package/components/hook-form/RHFormProvider/constants.js +9 -0
- package/components/hook-form/RHFormProvider/dictionary.d.ts +15 -0
- package/components/hook-form/RHFormProvider/dictionary.d.ts.map +1 -1
- package/components/hook-form/RHFormProvider/dictionary.js +17 -2
- package/components/hook-form/RHFormProvider/dictionaryDefaults.d.ts +32 -0
- package/components/hook-form/RHFormProvider/dictionaryDefaults.d.ts.map +1 -0
- package/components/hook-form/RHFormProvider/dictionaryDefaults.js +37 -0
- package/components/hook-form/RHFormProvider/hooks/useFormInteractionBoundary.d.ts +21 -0
- package/components/hook-form/RHFormProvider/hooks/useFormInteractionBoundary.d.ts.map +1 -0
- package/components/hook-form/RHFormProvider/hooks/useFormInteractionBoundary.js +56 -0
- package/components/hook-form/RHFormProvider/hooks/useGuardedFormMethods.d.ts +25 -0
- package/components/hook-form/RHFormProvider/hooks/useGuardedFormMethods.d.ts.map +1 -0
- package/components/hook-form/RHFormProvider/hooks/useGuardedFormMethods.js +29 -0
- package/components/hook-form/RHFormProvider/index.d.ts +1 -1
- package/components/hook-form/RHFormProvider/index.d.ts.map +1 -1
- package/components/hook-form/RHFormProvider/styles.d.ts +8 -0
- package/components/hook-form/RHFormProvider/styles.d.ts.map +1 -1
- package/components/hook-form/RHFormProvider/styles.js +81 -5
- package/components/hook-form/RHFormProvider/tests/fixtures.d.ts +10 -0
- package/components/hook-form/RHFormProvider/tests/fixtures.d.ts.map +1 -0
- package/components/hook-form/RHFormProvider/tests/interactionFixture.d.ts +4 -0
- package/components/hook-form/RHFormProvider/tests/interactionFixture.d.ts.map +1 -0
- package/components/hook-form/RHFormProvider/tests/types.d.ts +23 -0
- package/components/hook-form/RHFormProvider/tests/types.d.ts.map +1 -0
- package/components/hook-form/RHFormProvider/types.d.ts +77 -40
- package/components/hook-form/RHFormProvider/types.d.ts.map +1 -1
- package/components/hook-form/index.d.ts +2 -1
- package/components/hook-form/index.d.ts.map +1 -1
- package/components/index.d.ts +1 -0
- package/components/index.d.ts.map +1 -1
- package/contexts/form.d.ts +1 -0
- package/contexts/form.d.ts.map +1 -1
- package/index.js +733 -713
- package/package.json +12 -9
- package/components/HoursOfWeekPicker/helpers/copyDay/copyDay.d.ts +0 -4
- package/components/HoursOfWeekPicker/helpers/copyDay/copyDay.d.ts.map +0 -1
- package/components/HoursOfWeekPicker/helpers/copyDay/copyDay.js +0 -6
- package/components/MFLoader/reportTypes.d.ts +0 -19
- package/components/MFLoader/reportTypes.d.ts.map +0 -1
|
@@ -1,44 +1,55 @@
|
|
|
1
|
-
|
|
1
|
+
import { RHFRADIO_GROUP_LAYOUT_CONTAINER as n } from "./constants.js";
|
|
2
|
+
import { getRadioGroupGridStyles as s } from "./layoutHelpers.js";
|
|
3
|
+
const d = {
|
|
2
4
|
/**
|
|
3
5
|
* Styles for the root element. Gap between title (label) and radios: sp0-5 by default; sp2 when options have images/icons (hasStartAdornment).
|
|
4
|
-
*
|
|
6
|
+
* Enable container queries for adornments, cards and explicit grids within narrow containers.
|
|
5
7
|
*/
|
|
6
|
-
root: ({ theme: e, ownerState:
|
|
7
|
-
const
|
|
8
|
-
let
|
|
9
|
-
return
|
|
8
|
+
root: ({ theme: e, ownerState: a }) => {
|
|
9
|
+
const r = a, i = r?.explicitLayout && r.layout === "grid";
|
|
10
|
+
let t = e.vars.size.baseSpacings["sp0-5"];
|
|
11
|
+
return r?.readOnly ? t = e.vars.size.baseSpacings["sp1-5"] : r?.hasStartAdornment && (t = e.vars.size.baseSpacings.sp3), {
|
|
10
12
|
display: "flex",
|
|
11
13
|
flexDirection: "column",
|
|
12
14
|
height: "fit-content",
|
|
13
|
-
gap:
|
|
15
|
+
gap: t,
|
|
14
16
|
width: "100%",
|
|
15
|
-
...
|
|
17
|
+
...(r?.hasStartAdornment || r?.variant === "card" || i) && { containerType: "inline-size" },
|
|
18
|
+
...i && { containerName: n }
|
|
16
19
|
};
|
|
17
20
|
},
|
|
18
21
|
/**
|
|
19
22
|
* Styles for the `RadioGroup` element. Gap sp1 when text-only; gap sp2 when options have images/icons (hasStartAdornment).
|
|
20
|
-
*
|
|
23
|
+
* Explicit grids use named theme-breakpoint queries; legacy rowColumns retains its one-column fallback in narrow containers.
|
|
21
24
|
*/
|
|
22
|
-
radioGroup: ({ theme: e, ownerState:
|
|
23
|
-
const
|
|
24
|
-
|
|
25
|
+
radioGroup: ({ theme: e, ownerState: a }) => {
|
|
26
|
+
const r = a, i = r?.hasStartAdornment ? e.vars.size.baseSpacings.sp3 : e.vars.size.baseSpacings.sp1;
|
|
27
|
+
if (r?.explicitLayout)
|
|
28
|
+
return r.layout === "grid" ? { ...s(r.columns, e.breakpoints), gap: i } : { gap: i };
|
|
29
|
+
const t = typeof r?.rowColumns == "number" && r.rowColumns > 0 ? r.rowColumns : 0;
|
|
30
|
+
return t > 0 ? {
|
|
25
31
|
display: "grid",
|
|
26
|
-
gridTemplateColumns: `repeat(${
|
|
27
|
-
gap:
|
|
32
|
+
gridTemplateColumns: `repeat(${t}, minmax(0, 1fr))`,
|
|
33
|
+
gap: i,
|
|
28
34
|
"@container (max-width: 300px)": {
|
|
29
35
|
gridTemplateColumns: "1fr"
|
|
30
36
|
}
|
|
31
|
-
} : { gap:
|
|
37
|
+
} : { gap: i };
|
|
32
38
|
},
|
|
33
39
|
/**
|
|
34
40
|
* Styles for the `OptionWrapper` element. Gap uses sp1-5 token (6px).
|
|
35
|
-
*
|
|
41
|
+
* Radio and optional adornment share each option row; explicit labels can wrap while the group controls placement.
|
|
36
42
|
*/
|
|
37
|
-
optionWrapper: ({ theme: e }) => ({
|
|
43
|
+
optionWrapper: ({ theme: e, ownerState: a }) => ({
|
|
38
44
|
display: "flex",
|
|
39
45
|
flexDirection: "row",
|
|
40
46
|
alignItems: "center",
|
|
41
|
-
gap: e.vars.size.baseSpacings["sp1-5"]
|
|
47
|
+
gap: e.vars.size.baseSpacings["sp1-5"],
|
|
48
|
+
...a?.wrap && {
|
|
49
|
+
minWidth: 0,
|
|
50
|
+
maxWidth: "100%",
|
|
51
|
+
alignItems: "flex-start"
|
|
52
|
+
}
|
|
42
53
|
}),
|
|
43
54
|
/**
|
|
44
55
|
* Wrapper for the start adornment (icon/image). Fixed size so icons render small and consistent.
|
|
@@ -56,33 +67,92 @@ const i = {
|
|
|
56
67
|
display: "block",
|
|
57
68
|
flexShrink: 0,
|
|
58
69
|
objectFit: "cover",
|
|
59
|
-
borderRadius: e.vars
|
|
70
|
+
borderRadius: e.vars.size.borderRadius.r2,
|
|
60
71
|
overflow: "hidden"
|
|
61
72
|
}),
|
|
62
73
|
/**
|
|
63
74
|
* Label text between icon and radio (used when start adornment is present).
|
|
64
75
|
* Typography (variant body). Color is set via the color prop from getOptionLabelColor(checked, disabled).
|
|
65
76
|
*/
|
|
66
|
-
optionLabel: ({ ownerState: e }) =>
|
|
77
|
+
optionLabel: ({ ownerState: e }) => {
|
|
78
|
+
const a = e;
|
|
79
|
+
return {
|
|
80
|
+
display: "flex",
|
|
81
|
+
alignItems: "center",
|
|
82
|
+
flex: 1,
|
|
83
|
+
minWidth: 0,
|
|
84
|
+
cursor: a?.readOnly || a?.disabled ? "default" : "pointer",
|
|
85
|
+
...(a?.variant === "card" || a?.wrap) && {
|
|
86
|
+
overflowWrap: "anywhere",
|
|
87
|
+
whiteSpace: "normal"
|
|
88
|
+
},
|
|
89
|
+
...a?.variant === "card" && {
|
|
90
|
+
...!a.readOnly && {
|
|
91
|
+
"&::after": {
|
|
92
|
+
content: '""',
|
|
93
|
+
position: "absolute",
|
|
94
|
+
inset: 0
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
},
|
|
100
|
+
/** Card-local selection, hover and focus styling leaves global Card unchanged. */
|
|
101
|
+
optionCard: ({ theme: e, ownerState: a }) => {
|
|
102
|
+
const r = a;
|
|
103
|
+
return {
|
|
104
|
+
position: "relative",
|
|
105
|
+
boxSizing: "border-box",
|
|
106
|
+
minWidth: 0,
|
|
107
|
+
flex: r.row ? "1 1 0" : "0 0 auto",
|
|
108
|
+
alignSelf: "stretch",
|
|
109
|
+
padding: e.vars.size.baseSpacings.sp3,
|
|
110
|
+
gap: e.vars.size.baseSpacings.sp2,
|
|
111
|
+
alignItems: "flex-start",
|
|
112
|
+
justifyContent: "flex-start",
|
|
113
|
+
borderColor: r.error ? e.vars.palette.error.enabled : void 0,
|
|
114
|
+
backgroundColor: r.checked ? e.vars.palette.primary.selectedOpacity : void 0,
|
|
115
|
+
cursor: r.disabled || r.readOnly ? "default" : "pointer",
|
|
116
|
+
...!r.disabled && !r.readOnly && {
|
|
117
|
+
"&:hover": { backgroundColor: e.vars.palette.primary.hoverOpacity },
|
|
118
|
+
"&:focus-within": { borderColor: e.vars.palette.primary.focusVisible }
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
},
|
|
122
|
+
/** Text may grow vertically without overlapping the control or adjacent columns. */
|
|
123
|
+
optionText: ({ theme: e }) => ({
|
|
67
124
|
display: "flex",
|
|
68
|
-
|
|
69
|
-
flex: 1,
|
|
125
|
+
flexDirection: "column",
|
|
126
|
+
flex: "1 1 0",
|
|
70
127
|
minWidth: 0,
|
|
71
|
-
|
|
128
|
+
gap: e.vars.size.baseSpacings["sp0-5"]
|
|
129
|
+
}),
|
|
130
|
+
/** Descriptions use shared semantic typography and wrap within the card. */
|
|
131
|
+
optionDescription: () => ({
|
|
132
|
+
position: "relative",
|
|
133
|
+
zIndex: 1,
|
|
134
|
+
cursor: "inherit",
|
|
135
|
+
minWidth: 0,
|
|
136
|
+
whiteSpace: "normal",
|
|
137
|
+
overflowWrap: "anywhere"
|
|
72
138
|
}),
|
|
73
139
|
/**
|
|
74
140
|
* Wrapper around the radio so it never shrinks and stays visible.
|
|
75
141
|
*/
|
|
76
|
-
optionControl: () => ({
|
|
142
|
+
optionControl: ({ ownerState: e }) => ({
|
|
77
143
|
display: "flex",
|
|
78
144
|
alignItems: "center",
|
|
79
|
-
flexShrink: 0
|
|
145
|
+
flexShrink: 0,
|
|
146
|
+
...e?.variant === "card" && {
|
|
147
|
+
position: "relative",
|
|
148
|
+
zIndex: 1
|
|
149
|
+
}
|
|
80
150
|
}),
|
|
81
151
|
/**
|
|
82
152
|
* Read-only value container. It shows only the selected label and never exposes interactive options.
|
|
83
153
|
*/
|
|
84
|
-
readOnlyValue: ({ theme: e, ownerState:
|
|
85
|
-
const
|
|
154
|
+
readOnlyValue: ({ theme: e, ownerState: a }) => {
|
|
155
|
+
const r = a;
|
|
86
156
|
return {
|
|
87
157
|
alignItems: "center",
|
|
88
158
|
display: "flex",
|
|
@@ -90,7 +160,7 @@ const i = {
|
|
|
90
160
|
gap: e.vars.size.baseSpacings.sp2,
|
|
91
161
|
minHeight: e.vars.size.baseSpacings.sp4,
|
|
92
162
|
width: "100%",
|
|
93
|
-
...
|
|
163
|
+
...r?.disabled && { pointerEvents: "none" }
|
|
94
164
|
};
|
|
95
165
|
},
|
|
96
166
|
/**
|
|
@@ -118,5 +188,5 @@ const i = {
|
|
|
118
188
|
})
|
|
119
189
|
};
|
|
120
190
|
export {
|
|
121
|
-
|
|
191
|
+
d as rhfRadioGroupStyles
|
|
122
192
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Class prefix identifying the component slots.
|
|
3
3
|
*/
|
|
4
4
|
export declare const RHFRADIO_GROUP_KEY_COMPONENT = "M4LRHFRadioGroup";
|
|
5
|
-
export declare const RHFRADIO_GROUP_CLASSES: Record<"root" | "radioGroup" | "readOnlyValue" | "readOnlyIcon" | "readOnlyLabel" | "optionWrapper" | "optionStartAdornment" | "optionStartAdornmentImage" | "optionLabel" | "optionControl" | "readOnlyOption", string>;
|
|
5
|
+
export declare const RHFRADIO_GROUP_CLASSES: Record<"root" | "radioGroup" | "readOnlyValue" | "readOnlyIcon" | "readOnlyLabel" | "optionWrapper" | "optionCard" | "optionText" | "optionDescription" | "optionStartAdornment" | "optionStartAdornmentImage" | "optionLabel" | "optionControl" | "readOnlyOption", string>;
|
|
6
|
+
/** Named containment isolates the explicit grid from ancestor layout containers. */
|
|
7
|
+
export declare const RHFRADIO_GROUP_LAYOUT_CONTAINER = "m4l-rhf-radio-group-layout";
|
|
6
8
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/hook-form/RHFRadioGroup/constants.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,eAAO,MAAM,4BAA4B,qBAAqB,CAAC;AAE/D,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/hook-form/RHFRadioGroup/constants.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,eAAO,MAAM,4BAA4B,qBAAqB,CAAC;AAE/D,eAAO,MAAM,sBAAsB,8QAAwE,CAAC;AAE5G,oFAAoF;AACpF,eAAO,MAAM,+BAA+B,+BAA+B,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { RHFRadioGroupSlots as o } from "./slots/slots.js";
|
|
2
2
|
import { getComponentClasses as R } from "../../../utils/getComponentSlotRoot.js";
|
|
3
|
-
const
|
|
3
|
+
const r = "M4LRHFRadioGroup", _ = R(r, o), p = "m4l-rhf-radio-group-layout";
|
|
4
4
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
_ as RHFRADIO_GROUP_CLASSES,
|
|
6
|
+
r as RHFRADIO_GROUP_KEY_COMPONENT,
|
|
7
|
+
p as RHFRADIO_GROUP_LAYOUT_CONTAINER
|
|
7
8
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { RHFRadioGroup } from './RHFRadioGroup';
|
|
2
|
-
export type { RHFRadioGroupProps } from './types';
|
|
2
|
+
export type { RHFRadioGroupProps, RHFRadioGroupVariant, RHFRadioGroupLayout, RHFRadioGroupColumns, GetOptionDescriptionType } from './types';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/hook-form/RHFRadioGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/hook-form/RHFRadioGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CSSObject } from '@emotion/react';
|
|
2
|
+
import { Theme } from '@mui/material/styles';
|
|
3
|
+
import { RadioGroupLayoutOptions, ResolvedRadioGroupLayout, RHFRadioGroupColumns } from './types';
|
|
4
|
+
/** Resolve opt-in distribution without altering the native row prop used by legacy groups. */
|
|
5
|
+
export declare function resolveRadioGroupLayout({ layout, columns, row, rowColumns }: RadioGroupLayoutOptions): ResolvedRadioGroupLayout;
|
|
6
|
+
/** Build fixed tracks or inclusive theme-breakpoint queries against the named field container. */
|
|
7
|
+
export declare function getRadioGroupGridStyles(columns: RHFRadioGroupColumns | undefined, breakpoints: Theme['breakpoints']): CSSObject;
|
|
8
|
+
//# sourceMappingURL=layoutHelpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layoutHelpers.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/hook-form/RHFRadioGroup/layoutHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAc,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE9D,OAAO,KAAK,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEvG,8FAA8F;AAC9F,wBAAgB,uBAAuB,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,EAAE,uBAAuB,GAAG,wBAAwB,CAQ/H;AAOD,kGAAkG;AAClG,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,oBAAoB,GAAG,SAAS,EAAE,WAAW,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,SAAS,CAoB/H"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { RHFRADIO_GROUP_LAYOUT_CONTAINER as u } from "./constants.js";
|
|
2
|
+
function m({ layout: r, columns: i, row: e, rowColumns: o }) {
|
|
3
|
+
return r !== void 0 ? { layout: r, row: r === "row", explicit: !0, columns: r === "grid" ? i : void 0 } : { layout: typeof o == "number" && o > 0 ? "grid" : e ? "row" : "column", row: e, explicit: !1, columns: void 0 };
|
|
4
|
+
}
|
|
5
|
+
function d(r) {
|
|
6
|
+
return typeof r == "number" && Number.isInteger(r) && r > 0;
|
|
7
|
+
}
|
|
8
|
+
function p(r, i) {
|
|
9
|
+
const e = {
|
|
10
|
+
display: "grid",
|
|
11
|
+
gridTemplateColumns: `repeat(${d(r) ? r : 1}, minmax(0, 1fr))`
|
|
12
|
+
};
|
|
13
|
+
return typeof r == "number" || Object.entries(i.values).sort((t, n) => t[1] - n[1]).forEach(([t, n]) => {
|
|
14
|
+
const s = r?.[t];
|
|
15
|
+
d(s) && (e[`@container ${u} (min-width: ${n}px)`] = {
|
|
16
|
+
gridTemplateColumns: `repeat(${s}, minmax(0, 1fr))`
|
|
17
|
+
});
|
|
18
|
+
}), e;
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
p as getRadioGroupGridStyles,
|
|
22
|
+
m as resolveRadioGroupLayout
|
|
23
|
+
};
|
|
@@ -2,6 +2,9 @@ export declare enum RHFRadioGroupSlots {
|
|
|
2
2
|
root = "root",
|
|
3
3
|
radioGroup = "radioGroup",
|
|
4
4
|
optionWrapper = "optionWrapper",
|
|
5
|
+
optionCard = "optionCard",
|
|
6
|
+
optionText = "optionText",
|
|
7
|
+
optionDescription = "optionDescription",
|
|
5
8
|
optionStartAdornment = "optionStartAdornment",
|
|
6
9
|
optionStartAdornmentImage = "optionStartAdornmentImage",
|
|
7
10
|
optionLabel = "optionLabel",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slots.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/hook-form/RHFRadioGroup/slots/slots.ts"],"names":[],"mappings":"AAAA,oBAAY,kBAAkB;IAC5B,IAAI,SAAS;IACb,UAAU,eAAe;IACzB,aAAa,kBAAkB;IAC/B,oBAAoB,yBAAyB;IAC7C,yBAAyB,8BAA8B;IACvD,WAAW,gBAAgB;IAC3B,aAAa,kBAAkB;IAC/B,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;IACjC,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;CAChC"}
|
|
1
|
+
{"version":3,"file":"slots.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/hook-form/RHFRadioGroup/slots/slots.ts"],"names":[],"mappings":"AAAA,oBAAY,kBAAkB;IAC5B,IAAI,SAAS;IACb,UAAU,eAAe;IACzB,aAAa,kBAAkB;IAC/B,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,iBAAiB,sBAAsB;IACvC,oBAAoB,yBAAyB;IAC7C,yBAAyB,8BAA8B;IACvD,WAAW,gBAAgB;IAC3B,aAAa,kBAAkB;IAC/B,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;IACjC,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;CAChC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var e = /* @__PURE__ */ ((n) => (n.root = "root", n.radioGroup = "radioGroup", n.optionWrapper = "optionWrapper", n.optionStartAdornment = "optionStartAdornment", n.optionStartAdornmentImage = "optionStartAdornmentImage", n.optionLabel = "optionLabel", n.optionControl = "optionControl", n.readOnlyValue = "readOnlyValue", n.readOnlyOption = "readOnlyOption", n.readOnlyIcon = "readOnlyIcon", n.readOnlyLabel = "readOnlyLabel", n))(e || {});
|
|
1
|
+
var e = /* @__PURE__ */ ((n) => (n.root = "root", n.radioGroup = "radioGroup", n.optionWrapper = "optionWrapper", n.optionCard = "optionCard", n.optionText = "optionText", n.optionDescription = "optionDescription", n.optionStartAdornment = "optionStartAdornment", n.optionStartAdornmentImage = "optionStartAdornmentImage", n.optionLabel = "optionLabel", n.optionControl = "optionControl", n.readOnlyValue = "readOnlyValue", n.readOnlyOption = "readOnlyOption", n.readOnlyIcon = "readOnlyIcon", n.readOnlyLabel = "readOnlyLabel", n))(e || {});
|
|
2
2
|
export {
|
|
3
3
|
e as RHFRadioGroupSlots
|
|
4
4
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Root wrapper for the form field.
|
|
3
3
|
*/
|
|
4
4
|
export declare const RootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Native radio-group layout wrapper.
|
|
7
7
|
*/
|
|
8
8
|
export declare const RadioGroupStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').RadioGroupProps, keyof import('@mui/material').RadioGroupProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
|
|
9
9
|
export declare const OptionWrapperStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
@@ -15,4 +15,10 @@ export declare const ReadOnlyValueStyled: import('@emotion/styled').StyledCompon
|
|
|
15
15
|
export declare const ReadOnlyOptionStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
16
16
|
export declare const ReadOnlyIconStyled: import('@emotion/styled').StyledComponent<Pick<import('@m4l/base').IconProps, "src" | "icon" | keyof import('@m4l/base').IconBaseProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
|
|
17
17
|
export declare const ReadOnlyLabelStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('@m4l/base').TypographyProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>, "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "color" | "columnGap" | "content" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "translate" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "classes" | "children" | "className" | "sx" | "p" | "slot" | "style" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "component" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "size" | "variant" | "dataTestid" | "paragraph" | "disabled" | "skeletonWidth" | "ellipsis" | "align" | "gutterBottom" | "noWrap" | "variantMapping" | "skeletonRows" | "htmlFor" | keyof import('react').RefAttributes<HTMLSpanElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
|
|
18
|
+
/** Shared Card surface without an additional interactive role or click handler. */
|
|
19
|
+
export declare const OptionCardStyled: import('@emotion/styled').StyledComponent<import('../../..').CardProps & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
|
|
20
|
+
/** Wrapping text column shared by editable and static card options. */
|
|
21
|
+
export declare const OptionTextStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
22
|
+
/** Secondary text associated with its native input through aria-describedby. */
|
|
23
|
+
export declare const OptionDescriptionStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('@m4l/base').TypographyProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>, "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "color" | "columnGap" | "content" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "translate" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "classes" | "children" | "className" | "sx" | "p" | "slot" | "style" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "component" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "size" | "variant" | "dataTestid" | "paragraph" | "disabled" | "skeletonWidth" | "ellipsis" | "align" | "gutterBottom" | "noWrap" | "variantMapping" | "skeletonRows" | "htmlFor" | keyof import('react').RefAttributes<HTMLSpanElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
|
|
18
24
|
//# sourceMappingURL=styled.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/hook-form/RHFRadioGroup/slots/styled.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/hook-form/RHFRadioGroup/slots/styled.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,eAAO,MAAM,UAAU,2WAGM,CAAC;AAE9B;;GAEG;AACH,eAAO,MAAM,gBAAgB,uPAGM,CAAC;AAEpC,eAAO,MAAM,mBAAmB,2WAGM,CAAC;AAEvC,eAAO,MAAM,0BAA0B,+WAGM,CAAC;AAE9C,eAAO,MAAM,+BAA+B,mOAGM,CAAC;AAEnD,eAAO,MAAM,iBAAiB,6zNAGM,CAAC;AAErC,eAAO,MAAM,mBAAmB,+WAGM,CAAC;AAEvC,eAAO,MAAM,mBAAmB,2WAGM,CAAC;AAEvC,eAAO,MAAM,oBAAoB,2WAGM,CAAC;AAExC,eAAO,MAAM,kBAAkB,wPAGM,CAAC;AAEtC,eAAO,MAAM,mBAAmB,6zNAGM,CAAC;AAEvC,mFAAmF;AACnF,eAAO,MAAM,gBAAgB,uLAIM,CAAC;AAEpC,uEAAuE;AACvE,eAAO,MAAM,gBAAgB,2WAGM,CAAC;AAEpC,gFAAgF;AAChF,eAAO,MAAM,uBAAuB,6zNAGM,CAAC"}
|
|
@@ -1,53 +1,67 @@
|
|
|
1
|
-
import { styled as o, RadioGroup as
|
|
1
|
+
import { styled as o, RadioGroup as l } from "@mui/material";
|
|
2
2
|
import { RHFRADIO_GROUP_KEY_COMPONENT as t } from "../constants.js";
|
|
3
3
|
import { rhfRadioGroupStyles as n } from "../RHFRadioGroup.styles.js";
|
|
4
4
|
import { RHFRadioGroupSlots as e } from "./slots.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
5
|
+
import { Typography as r, Icon as p } from "@m4l/base";
|
|
6
|
+
import { Card as i } from "../../../Card/Card.js";
|
|
7
|
+
import { Image as d } from "../../../Image/Image.js";
|
|
8
|
+
const u = o("div", {
|
|
8
9
|
name: t,
|
|
9
10
|
slot: e.root
|
|
10
|
-
})(n?.root),
|
|
11
|
+
})(n?.root), I = o(l, {
|
|
11
12
|
name: t,
|
|
12
13
|
slot: e.radioGroup
|
|
13
|
-
})(n?.radioGroup),
|
|
14
|
+
})(n?.radioGroup), f = o("div", {
|
|
14
15
|
name: t,
|
|
15
16
|
slot: e.optionWrapper
|
|
16
|
-
})(n?.optionWrapper),
|
|
17
|
+
})(n?.optionWrapper), C = o("span", {
|
|
17
18
|
name: t,
|
|
18
19
|
slot: e.optionStartAdornment
|
|
19
|
-
})(n?.optionStartAdornment),
|
|
20
|
+
})(n?.optionStartAdornment), A = o(d, {
|
|
20
21
|
name: t,
|
|
21
22
|
slot: e.optionStartAdornmentImage
|
|
22
|
-
})(n?.optionStartAdornmentImage),
|
|
23
|
+
})(n?.optionStartAdornmentImage), G = o(r, {
|
|
23
24
|
name: t,
|
|
24
25
|
slot: e.optionLabel
|
|
25
|
-
})(n?.optionLabel),
|
|
26
|
+
})(n?.optionLabel), b = o("span", {
|
|
26
27
|
name: t,
|
|
27
28
|
slot: e.optionControl
|
|
28
|
-
})(n?.optionControl),
|
|
29
|
+
})(n?.optionControl), L = o("div", {
|
|
29
30
|
name: t,
|
|
30
31
|
slot: e.readOnlyValue
|
|
31
|
-
})(n?.readOnlyValue),
|
|
32
|
+
})(n?.readOnlyValue), g = o("div", {
|
|
32
33
|
name: t,
|
|
33
34
|
slot: e.readOnlyOption
|
|
34
|
-
})(n?.readOnlyOption),
|
|
35
|
+
})(n?.readOnlyOption), v = o(p, {
|
|
35
36
|
name: t,
|
|
36
37
|
slot: e.readOnlyIcon
|
|
37
|
-
})(n?.readOnlyIcon),
|
|
38
|
+
})(n?.readOnlyIcon), T = o(r, {
|
|
38
39
|
name: t,
|
|
39
40
|
slot: e.readOnlyLabel
|
|
40
|
-
})(n?.readOnlyLabel)
|
|
41
|
+
})(n?.readOnlyLabel), x = o(i, {
|
|
42
|
+
name: t,
|
|
43
|
+
slot: e.optionCard,
|
|
44
|
+
shouldForwardProp: (a) => a !== "ownerState"
|
|
45
|
+
})(n?.optionCard), D = o("div", {
|
|
46
|
+
name: t,
|
|
47
|
+
slot: e.optionText
|
|
48
|
+
})(n?.optionText), h = o(r, {
|
|
49
|
+
name: t,
|
|
50
|
+
slot: e.optionDescription
|
|
51
|
+
})(n?.optionDescription);
|
|
41
52
|
export {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
+
x as OptionCardStyled,
|
|
54
|
+
b as OptionControlStyled,
|
|
55
|
+
h as OptionDescriptionStyled,
|
|
56
|
+
G as OptionLabelStyled,
|
|
57
|
+
A as OptionStartAdornmentImageStyled,
|
|
58
|
+
C as OptionStartAdornmentStyled,
|
|
59
|
+
D as OptionTextStyled,
|
|
60
|
+
f as OptionWrapperStyled,
|
|
61
|
+
I as RadioGroupStyled,
|
|
62
|
+
v as ReadOnlyIconStyled,
|
|
63
|
+
T as ReadOnlyLabelStyled,
|
|
64
|
+
g as ReadOnlyOptionStyled,
|
|
65
|
+
L as ReadOnlyValueStyled,
|
|
66
|
+
u as RootStyled
|
|
53
67
|
};
|
|
@@ -6,56 +6,73 @@ import { RHFRadioGroupSlots } from './slots/slots';
|
|
|
6
6
|
import { LabelProps } from '../../Label/types';
|
|
7
7
|
import { Sizes } from '@m4l/styles';
|
|
8
8
|
import { HelperErrorProps } from '../../HelperError';
|
|
9
|
+
import { Breakpoint } from '@mui/material/styles';
|
|
9
10
|
import { RadioProps } from '../../extended/mui/Radio/types';
|
|
11
|
+
/** Optional visual presentation of the existing radio group. */
|
|
12
|
+
export type RHFRadioGroupVariant = 'standard' | 'card';
|
|
13
|
+
/** Option distribution independent of the visual presentation. */
|
|
14
|
+
export type RHFRadioGroupLayout = 'column' | 'row' | 'grid';
|
|
15
|
+
/** Fixed or theme-breakpoint column counts evaluated against the field container. */
|
|
16
|
+
export type RHFRadioGroupColumns = number | Partial<Record<Breakpoint, number>>;
|
|
17
|
+
/** Resolve the secondary text of a card option. */
|
|
18
|
+
export type GetOptionDescriptionType<T> = (option: T) => string | undefined;
|
|
10
19
|
export type GetOptionLabelType<T> = (option: T) => string | undefined;
|
|
11
20
|
export type GetOptionValueType<T> = (option: T) => string | number;
|
|
12
21
|
export interface RHFRadioGroupProps<T> extends RadioGroupProps, Omit<LabelProps, 'dataTestId' | 'error' | 'children' | 'className' | 'disabled' | 'size' | 'skeletonWidth'> {
|
|
13
22
|
/**
|
|
14
|
-
*
|
|
23
|
+
* Field path managed by React Hook Form.
|
|
15
24
|
*/
|
|
16
25
|
name: string;
|
|
26
|
+
/** Card presentation is opt-in; standard preserves the existing layout. */
|
|
27
|
+
variant?: RHFRadioGroupVariant;
|
|
28
|
+
/** Explicit distribution; omitted values preserve the legacy row/rowColumns behavior. */
|
|
29
|
+
layout?: RHFRadioGroupLayout;
|
|
30
|
+
/** Positive integer columns for explicit grid; breakpoint keys refer to container widths. */
|
|
31
|
+
columns?: RHFRadioGroupColumns;
|
|
32
|
+
/** Optional secondary text, rendered only by the card presentation. */
|
|
33
|
+
getOptionDescription?: GetOptionDescriptionType<T>;
|
|
17
34
|
/**
|
|
18
|
-
*
|
|
35
|
+
* Shared component size.
|
|
19
36
|
*/
|
|
20
37
|
size?: Extract<Sizes, 'small' | 'medium'>;
|
|
21
38
|
/**
|
|
22
|
-
*
|
|
39
|
+
* Disable user interaction.
|
|
23
40
|
*/
|
|
24
41
|
disabled?: boolean;
|
|
25
42
|
/**
|
|
26
|
-
*
|
|
43
|
+
* Show the selected value without editable controls.
|
|
27
44
|
*/
|
|
28
45
|
readOnly?: boolean;
|
|
29
46
|
/**
|
|
30
|
-
*
|
|
47
|
+
* Custom CSS class applied to the component root.
|
|
31
48
|
*/
|
|
32
49
|
className?: string;
|
|
33
50
|
/**
|
|
34
|
-
*
|
|
51
|
+
* Optional identifier suffix for component tests.
|
|
35
52
|
*/
|
|
36
53
|
dataTestId?: string;
|
|
37
54
|
/**
|
|
38
|
-
*
|
|
55
|
+
* Label skeleton width.
|
|
39
56
|
*/
|
|
40
57
|
labelSkeletonWidth?: LabelProps['skeletonWidth'];
|
|
41
58
|
/**
|
|
42
|
-
*
|
|
59
|
+
* Helper-error skeleton width.
|
|
43
60
|
*/
|
|
44
61
|
helperErrorSkeletonWidth?: HelperErrorProps['skeletonWidth'];
|
|
45
62
|
/**
|
|
46
|
-
*
|
|
63
|
+
* Consumer-owned options.
|
|
47
64
|
*/
|
|
48
65
|
options: T[];
|
|
49
66
|
/**
|
|
50
|
-
*
|
|
67
|
+
* Radio-compatible control used for each option.
|
|
51
68
|
*/
|
|
52
69
|
ControlOption?: React.ComponentType<RadioProps>;
|
|
53
70
|
/**
|
|
54
|
-
*
|
|
71
|
+
* Resolve the visible option label.
|
|
55
72
|
*/
|
|
56
73
|
getOptionLabel: GetOptionLabelType<T>;
|
|
57
74
|
/**
|
|
58
|
-
*
|
|
75
|
+
* Resolve the stable option value.
|
|
59
76
|
*/
|
|
60
77
|
getOptionValue: GetOptionValueType<T>;
|
|
61
78
|
/**
|
|
@@ -69,9 +86,13 @@ export interface RHFRadioGroupProps<T> extends RadioGroupProps, Omit<LabelProps,
|
|
|
69
86
|
*/
|
|
70
87
|
rowColumns?: number;
|
|
71
88
|
}
|
|
72
|
-
/**
|
|
89
|
+
/** State shared by the root and options layout slots. */
|
|
73
90
|
export interface RHFRadioGroupRadioGroupOwnerState {
|
|
74
91
|
hasStartAdornment?: boolean;
|
|
92
|
+
layout?: RHFRadioGroupLayout;
|
|
93
|
+
explicitLayout?: boolean;
|
|
94
|
+
columns?: RHFRadioGroupColumns;
|
|
95
|
+
variant?: RHFRadioGroupVariant;
|
|
75
96
|
readOnly?: boolean;
|
|
76
97
|
/** When set, options use grid with this many columns (no need for row). */
|
|
77
98
|
rowColumns?: number;
|
|
@@ -83,9 +104,26 @@ export interface RHFRadioGroupReadOnlyOwnerState {
|
|
|
83
104
|
}
|
|
84
105
|
/** Owner state for optionLabel slot (text.primary when selected, text.secondary when not). */
|
|
85
106
|
export interface RHFRadioGroupOptionLabelOwnerState {
|
|
107
|
+
wrap?: boolean;
|
|
86
108
|
checked?: boolean;
|
|
87
109
|
readOnly?: boolean;
|
|
110
|
+
disabled?: boolean;
|
|
111
|
+
variant?: RHFRadioGroupVariant;
|
|
112
|
+
}
|
|
113
|
+
/** State used by the card surface and its text slots. */
|
|
114
|
+
export interface RHFRadioGroupCardOwnerState extends RHFRadioGroupOptionLabelOwnerState {
|
|
115
|
+
row?: boolean;
|
|
116
|
+
error?: boolean;
|
|
88
117
|
}
|
|
89
118
|
export type RHFRadioGroupSlotsType = keyof typeof RHFRadioGroupSlots;
|
|
90
119
|
export type RHFRadioGroupStyles = M4LOverridesStyleRules<RHFRadioGroupSlotsType, typeof RHFRADIO_GROUP_KEY_COMPONENT, Theme>;
|
|
120
|
+
/** Inputs to the shared explicit/legacy distribution resolver. */
|
|
121
|
+
export type RadioGroupLayoutOptions = Pick<RHFRadioGroupProps<unknown>, 'layout' | 'columns' | 'row' | 'rowColumns'>;
|
|
122
|
+
/** Resolved mode plus the native direction retained by existing MUI consumers. */
|
|
123
|
+
export interface ResolvedRadioGroupLayout {
|
|
124
|
+
layout: RHFRadioGroupLayout;
|
|
125
|
+
row: boolean | undefined;
|
|
126
|
+
explicit: boolean;
|
|
127
|
+
columns: RHFRadioGroupColumns | undefined;
|
|
128
|
+
}
|
|
91
129
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/hook-form/RHFRadioGroup/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,4BAA4B,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAEjE,MAAM,MAAM,kBAAkB,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,GAAG,SAAS,CAAC;AAEtE,MAAM,MAAM,kBAAkB,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,GAAG,MAAM,CAAE;AAEpE,MAAM,WAAW,kBAAkB,CAAC,CAAC,CAAE,SAAQ,eAAe,EAC9D,IAAI,CACJ,UAAU,EACR,YAAY,GACZ,OAAO,GACP,UAAU,GACV,WAAW,GACX,UAAU,GACV,MAAM,GACN,eAAe,CAChB;IACC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,QAAQ,CAAE,CAAC;IAC3C;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,kBAAkB,CAAC,EAAE,UAAU,CAAC,eAAe,CAAC,CAAC;IACjD;;OAEG;IACH,wBAAwB,CAAC,EAAE,gBAAgB,CAAC,eAAe,CAAC,CAAC;IAE7D;;OAEG;IACH,OAAO,EAAE,CAAC,EAAE,CAAC;IACb;;OAEG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;IAChD;;OAEG;IACH,cAAc,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC;IACtC;;OAEG;IACH,cAAc,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC;IAEtC;;;OAGG;IACH,uBAAuB,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC;IAExE;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAGD,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/hook-form/RHFRadioGroup/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,4BAA4B,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAEjE,gEAAgE;AAChE,MAAM,MAAM,oBAAoB,GAAG,UAAU,GAAG,MAAM,CAAC;AAEvD,kEAAkE;AAClE,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,KAAK,GAAG,MAAM,CAAC;AAE5D,qFAAqF;AACrF,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC;AAEhF,mDAAmD;AACnD,MAAM,MAAM,wBAAwB,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,GAAG,SAAS,CAAC;AAE5E,MAAM,MAAM,kBAAkB,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,GAAG,SAAS,CAAC;AAEtE,MAAM,MAAM,kBAAkB,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,GAAG,MAAM,CAAE;AAEpE,MAAM,WAAW,kBAAkB,CAAC,CAAC,CAAE,SAAQ,eAAe,EAC9D,IAAI,CACJ,UAAU,EACR,YAAY,GACZ,OAAO,GACP,UAAU,GACV,WAAW,GACX,UAAU,GACV,MAAM,GACN,eAAe,CAChB;IACC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,2EAA2E;IAC3E,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B,yFAAyF;IACzF,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,6FAA6F;IAC7F,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B,uEAAuE;IACvE,oBAAoB,CAAC,EAAE,wBAAwB,CAAC,CAAC,CAAC,CAAC;IACnD;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,QAAQ,CAAE,CAAC;IAC3C;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,kBAAkB,CAAC,EAAE,UAAU,CAAC,eAAe,CAAC,CAAC;IACjD;;OAEG;IACH,wBAAwB,CAAC,EAAE,gBAAgB,CAAC,eAAe,CAAC,CAAC;IAE7D;;OAEG;IACH,OAAO,EAAE,CAAC,EAAE,CAAC;IACb;;OAEG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;IAChD;;OAEG;IACH,cAAc,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC;IACtC;;OAEG;IACH,cAAc,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC;IAEtC;;;OAGG;IACH,uBAAuB,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC;IAExE;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAGD,yDAAyD;AACzD,MAAM,WAAW,iCAAiC;IAChD,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,2EAA2E;IAC3E,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,uCAAuC;AACvC,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,8FAA8F;AAC9F,MAAM,WAAW,kCAAkC;IACjD,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAChC;AACD,yDAAyD;AACzD,MAAM,WAAW,2BAA4B,SAAQ,kCAAkC;IACrF,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,MAAM,sBAAsB,GAAG,MAAM,OAAO,kBAAkB,CAAC;AACrE,MAAM,MAAM,mBAAmB,GAAG,sBAAsB,CAAC,sBAAsB,EAAC,OAAO,4BAA4B,EAAC,KAAK,CAAC,CAAA;AAE1H,kEAAkE;AAClE,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,KAAK,GAAG,YAAY,CAAC,CAAC;AAErH,kFAAkF;AAClF,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,mBAAmB,CAAC;IAC5B,GAAG,EAAE,OAAO,GAAG,SAAS,CAAC;IACzB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,oBAAoB,GAAG,SAAS,CAAC;CAC3C"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FieldValues } from 'react-hook-form';
|
|
2
|
+
import { RHFSortableListProps, SortableListFieldPath } from './types';
|
|
3
|
+
/** Preserve form/item inference while reusing the standard HOC. / Conserva la inferencia de formulario y elemento reutilizando el HOC estándar. */
|
|
4
|
+
export declare function RHFSortableList<TValues extends FieldValues, TName extends SortableListFieldPath<TValues>>(props: RHFSortableListProps<TValues, TName>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
5
|
+
//# sourceMappingURL=RHFSortableList.d.ts.map
|