@itcase/forms 1.1.43 → 1.1.44
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.
|
@@ -110,6 +110,21 @@
|
|
|
110
110
|
border-radius: 12px;
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
+
.form {
|
|
114
|
+
&_title-position {
|
|
115
|
+
&_sticky {
|
|
116
|
+
^^&__title {
|
|
117
|
+
position: sticky;
|
|
118
|
+
top: 0;
|
|
119
|
+
z-index: 100;
|
|
120
|
+
}
|
|
121
|
+
^^&__wrapper {
|
|
122
|
+
overflow: scroll;
|
|
123
|
+
flex: 1;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
113
128
|
.form {
|
|
114
129
|
&_type_bottom-button {
|
|
115
130
|
flex: 1;
|
|
@@ -139,11 +154,6 @@
|
|
|
139
154
|
position: relative;
|
|
140
155
|
display: flex;
|
|
141
156
|
flex-direction: column;
|
|
142
|
-
^^&__title {
|
|
143
|
-
position: sticky;
|
|
144
|
-
top: 0;
|
|
145
|
-
z-index: 1;
|
|
146
|
-
}
|
|
147
157
|
^^&__wrapper {
|
|
148
158
|
overflow: scroll;
|
|
149
159
|
flex: 1;
|
package/dist/itcase-forms.cjs.js
CHANGED
|
@@ -2652,6 +2652,7 @@ const FinalForm = /*#__PURE__*/React__default.default.forwardRef(function FinalF
|
|
|
2652
2652
|
validationSchema,
|
|
2653
2653
|
title,
|
|
2654
2654
|
titleFill,
|
|
2655
|
+
titlePosition,
|
|
2655
2656
|
titleTextColor,
|
|
2656
2657
|
titleTextSize,
|
|
2657
2658
|
titleTextWeight,
|
|
@@ -2757,7 +2758,7 @@ const FinalForm = /*#__PURE__*/React__default.default.forwardRef(function FinalF
|
|
|
2757
2758
|
submitError
|
|
2758
2759
|
}) => {
|
|
2759
2760
|
return /*#__PURE__*/React__default.default.createElement("form", {
|
|
2760
|
-
className: clsx__default.default(className, 'form', type && `form_type_${type}`, buttonPosition && `form_button-position_${buttonPosition}`, directionClass && `direction_${directionClass}`, fillClass && `fill_${fillClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, elevationClass && `elevation_${elevationClass}`),
|
|
2761
|
+
className: clsx__default.default(className, 'form', type && `form_type_${type}`, titlePosition && `form_title-position_${titlePosition}`, buttonPosition && `form_button-position_${buttonPosition}`, directionClass && `direction_${directionClass}`, fillClass && `fill_${fillClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, elevationClass && `elevation_${elevationClass}`),
|
|
2761
2762
|
name: formName
|
|
2762
2763
|
// We no need set reference to html element, we need reference to "final-form" instance
|
|
2763
2764
|
,
|
package/dist/itcase-forms.esm.js
CHANGED
|
@@ -2641,6 +2641,7 @@ const FinalForm = /*#__PURE__*/React.forwardRef(function FinalForm(props, ref) {
|
|
|
2641
2641
|
validationSchema,
|
|
2642
2642
|
title,
|
|
2643
2643
|
titleFill,
|
|
2644
|
+
titlePosition,
|
|
2644
2645
|
titleTextColor,
|
|
2645
2646
|
titleTextSize,
|
|
2646
2647
|
titleTextWeight,
|
|
@@ -2746,7 +2747,7 @@ const FinalForm = /*#__PURE__*/React.forwardRef(function FinalForm(props, ref) {
|
|
|
2746
2747
|
submitError
|
|
2747
2748
|
}) => {
|
|
2748
2749
|
return /*#__PURE__*/React.createElement("form", {
|
|
2749
|
-
className: clsx(className, 'form', type && `form_type_${type}`, buttonPosition && `form_button-position_${buttonPosition}`, directionClass && `direction_${directionClass}`, fillClass && `fill_${fillClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, elevationClass && `elevation_${elevationClass}`),
|
|
2750
|
+
className: clsx(className, 'form', type && `form_type_${type}`, titlePosition && `form_title-position_${titlePosition}`, buttonPosition && `form_button-position_${buttonPosition}`, directionClass && `direction_${directionClass}`, fillClass && `fill_${fillClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, elevationClass && `elevation_${elevationClass}`),
|
|
2750
2751
|
name: formName
|
|
2751
2752
|
// We no need set reference to html element, we need reference to "final-form" instance
|
|
2752
2753
|
,
|