@rolster/react-components 18.25.2 → 18.25.4
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/assets/{index-B6PshrCZ.css → index-C4DYcbf0.css} +21 -19
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/es/assets/{index-B6PshrCZ.css → index-C4DYcbf0.css} +21 -19
- package/dist/es/index.js +2 -2
- package/dist/es/index.js.map +1 -1
- package/dist/esm/components/organisms/BottomSheet/BottomSheet.d.ts +2 -2
- package/dist/esm/components/organisms/BottomSheet/BottomSheet.js +1 -1
- package/dist/esm/components/organisms/Modal/Modal.css +1 -0
- package/dist/esm/components/organisms/Modal/Modal.css.map +1 -1
- package/dist/esm/components/organisms/ModalSheet/ModalSheet.css +20 -19
- package/dist/esm/components/organisms/ModalSheet/ModalSheet.css.map +1 -1
- package/package.json +1 -1
|
@@ -2340,6 +2340,7 @@
|
|
|
2340
2340
|
display: flex;
|
|
2341
2341
|
max-width: var(--rlc-modal-max-width, calc(100% - var(--rls-sizing-x8)));
|
|
2342
2342
|
height: var(--pvt-component-height);
|
|
2343
|
+
max-height: calc(100% - var(--rls-sizing-x12));
|
|
2343
2344
|
flex-direction: column;
|
|
2344
2345
|
opacity: var(--pvt-component-opacity);
|
|
2345
2346
|
visibility: var(--pvt-component-visibility);
|
|
@@ -2850,14 +2851,13 @@
|
|
|
2850
2851
|
|
|
2851
2852
|
.rls-modal-sheet {
|
|
2852
2853
|
--pvt-component-transform: translateY(150px) scale(0.6);
|
|
2853
|
-
--pvt-component-transform-visible: translateY(0) scale(1);
|
|
2854
2854
|
--pvt-component-bottom: initial;
|
|
2855
2855
|
--pvt-component-max-width: var(
|
|
2856
2856
|
--rlc-modal-sheet-max-width,
|
|
2857
2857
|
calc(100% - var(--rls-sizing-x8))
|
|
2858
2858
|
);
|
|
2859
2859
|
--pvt-component-height: 0rem;
|
|
2860
|
-
--pvt-component-max-height:
|
|
2860
|
+
--pvt-component-max-height: calc(100% - var(--rls-sizing-x12));
|
|
2861
2861
|
--pvt-component-border-radius: var(--rls-sizing-x4);
|
|
2862
2862
|
--pvt-component-opacity: 0;
|
|
2863
2863
|
--pvt-component-visibility: hidden;
|
|
@@ -2878,7 +2878,7 @@
|
|
|
2878
2878
|
--pvt-component-visibility: visible;
|
|
2879
2879
|
--pvt-component-height: auto;
|
|
2880
2880
|
--pvt-component-opacity: 1;
|
|
2881
|
-
--pvt-component-transform:
|
|
2881
|
+
--pvt-component-transform: translateY(0) scale(1);
|
|
2882
2882
|
--pvt-backdrop-bottom: 0rem;
|
|
2883
2883
|
--pvt-backdrop-opacity: 1;
|
|
2884
2884
|
visibility: visible;
|
|
@@ -2915,25 +2915,9 @@
|
|
|
2915
2915
|
transition: opacity 120ms 0ms var(--rls-deceleration-curve),
|
|
2916
2916
|
bottom 120ms 0ms var(--rls-deceleration-curve);
|
|
2917
2917
|
}
|
|
2918
|
-
@media screen and (max-width: 640px) and (max-height: 960px) {
|
|
2919
|
-
.rls-modal-sheet {
|
|
2920
|
-
--pvt-component-max-height: calc(100% - 32rem);
|
|
2921
|
-
}
|
|
2922
|
-
}
|
|
2923
|
-
@media screen and (max-width: 640px) and (max-height: 720px) {
|
|
2924
|
-
.rls-modal-sheet {
|
|
2925
|
-
--pvt-component-max-height: calc(100% - 24rem);
|
|
2926
|
-
}
|
|
2927
|
-
}
|
|
2928
|
-
@media screen and (max-width: 640px) and (max-height: 560px) {
|
|
2929
|
-
.rls-modal-sheet {
|
|
2930
|
-
--pvt-component-max-height: calc(100% - 16rem);
|
|
2931
|
-
}
|
|
2932
|
-
}
|
|
2933
2918
|
@media screen and (max-width: 640px) {
|
|
2934
2919
|
.rls-modal-sheet {
|
|
2935
2920
|
--pvt-component-transform: translateY(100%);
|
|
2936
|
-
--pvt-component-transform-visible: translateY(0);
|
|
2937
2921
|
--pvt-component-bottom: 0px;
|
|
2938
2922
|
--pvt-component-max-width: 240rem;
|
|
2939
2923
|
--pvt-component-max-height: 75%;
|
|
@@ -2941,6 +2925,9 @@
|
|
|
2941
2925
|
0rem 0rem;
|
|
2942
2926
|
align-items: initial;
|
|
2943
2927
|
}
|
|
2928
|
+
.rls-modal-sheet--visible {
|
|
2929
|
+
--pvt-component-transform: translateY(0);
|
|
2930
|
+
}
|
|
2944
2931
|
.rls-modal-sheet__component::before {
|
|
2945
2932
|
display: block;
|
|
2946
2933
|
content: '';
|
|
@@ -2950,6 +2937,21 @@
|
|
|
2950
2937
|
background: var(--rls-app-color-300);
|
|
2951
2938
|
margin: var(--rls-sizing-x3) auto;
|
|
2952
2939
|
}
|
|
2940
|
+
}
|
|
2941
|
+
@media screen and (max-width: 640px) and (max-height: 960px) {
|
|
2942
|
+
.rls-modal-sheet {
|
|
2943
|
+
--pvt-component-max-height: calc(100% - 32rem);
|
|
2944
|
+
}
|
|
2945
|
+
}
|
|
2946
|
+
@media screen and (max-width: 640px) and (max-height: 720px) {
|
|
2947
|
+
.rls-modal-sheet {
|
|
2948
|
+
--pvt-component-max-height: calc(100% - 24rem);
|
|
2949
|
+
}
|
|
2950
|
+
}
|
|
2951
|
+
@media screen and (max-width: 640px) and (max-height: 560px) {
|
|
2952
|
+
.rls-modal-sheet {
|
|
2953
|
+
--pvt-component-max-height: calc(100% - 16rem);
|
|
2954
|
+
}
|
|
2953
2955
|
} /*# sourceMappingURL=ModalSheet.css.map */
|
|
2954
2956
|
|
|
2955
2957
|
.rls-snackbar {
|
package/dist/es/index.js
CHANGED
|
@@ -2441,7 +2441,7 @@ function RlsToolbar({ actions, children, subtitle }) {
|
|
|
2441
2441
|
return (jsxRuntimeExports.jsxs("div", { className: "rls-toolbar", children: [jsxRuntimeExports.jsxs("div", { className: "rls-toolbar__description", children: [children && jsxRuntimeExports.jsx("label", { className: "rls-toolbar__title", children: children }), subtitle && (jsxRuntimeExports.jsx("label", { className: "rls-toolbar__subtitle smalltext-semibold", children: subtitle }))] }), actions && (jsxRuntimeExports.jsx("div", { className: "rls-toolbar__actions", children: actions.map((action, index) => (jsxRuntimeExports.jsx("div", { children: action }, index))) }))] }));
|
|
2442
2442
|
}
|
|
2443
2443
|
|
|
2444
|
-
function
|
|
2444
|
+
function RlsBottomSheet({ children, className, onAutoClose, visible, rlsTheme }) {
|
|
2445
2445
|
const classNameSheet = useMemo(() => {
|
|
2446
2446
|
return renderClassStatus('rls-bottom-sheet', { visible }, className);
|
|
2447
2447
|
}, [className, visible]);
|
|
@@ -3861,5 +3861,5 @@ function useDatatable() {
|
|
|
3861
3861
|
return { scrolleable, tableRef };
|
|
3862
3862
|
}
|
|
3863
3863
|
|
|
3864
|
-
export { ConfirmationResult, RlsAlert, RlsAmount, RlsApplication, RlsAvatar, RlsBadge, RlsBallot,
|
|
3864
|
+
export { ConfirmationResult, RlsAlert, RlsAmount, RlsApplication, RlsAvatar, RlsBadge, RlsBallot, RlsBottomSheet, RlsBreadcrumb, RlsButton, RlsButtonAction, RlsButtonProgress, RlsButtonToggle, RlsCard, RlsCheckBox, RlsCheckBoxControl, RlsConfirmation, RlsContent, RlsContext, RlsDatatable, RlsDatatableCell, RlsDatatableData, RlsDatatableFloating, RlsDatatableHeader, RlsDatatableRecord, RlsDatatableSubheader, RlsDatatableTitle, RlsDatatableTotals, RlsFieldAutocomplete, RlsFieldAutocompleteTemplate, RlsFieldDate, RlsFieldDateRange, RlsFieldDouble, RlsFieldMoney, RlsFieldNumber, RlsFieldPassword, RlsFieldPercentage, RlsFieldReadonly, RlsFieldSelect, RlsFieldSelectTemplate, RlsFieldText, RlsFormNavigation, RlsIcon, RlsImage, RlsImageChooser, RlsImageEditor, RlsInput, RlsInputDouble, RlsInputMoney, RlsInputNumber, RlsInputPassword, RlsInputPercentage, RlsInputSearch, RlsInputText, RlsLabel, RlsLabelCheckBox, RlsLabelRadioButton, RlsLabelSwitch, RlsMessageFormError, RlsMessageIcon, RlsModal, RlsModalSheet, RlsNavbar, RlsPagination, RlsPickerDate, RlsPickerDateRange, RlsPickerDay, RlsPickerDayRange, RlsPickerMonth, RlsPickerSelectorTitle, RlsPickerYear, RlsPoster, RlsProgressBar, RlsProgressCircular, RlsRadioButton, RlsSkeleton, RlsSkeletonText, RlsSlider, RlsSnackbar, RlsSwitch, RlsSwitchControl, RlsTabularText, RlsToolbar, calculateImgDimension, rangeFormatTemplate, renderClassStatus, setErrorsI18n, useConfirmation, useDatatable, useFieldAutocomplete, useFieldSelect, useImageEditorController, useListController, useRelocationOnComponent, useResize, useSnackbar };
|
|
3865
3865
|
//# sourceMappingURL=index.js.map
|