@surveycake/rc 3.0.0-alpha.146 → 3.0.0-alpha.147
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/CHANGELOG.md +7 -0
- package/dist/V2/FormLabel/FormLabel.stories.d.ts +2 -0
- package/dist/V2/OutlinedInput/OutlinedInput.stories.d.ts +1 -0
- package/dist/rc.cjs.development.js +35 -16
- package/dist/rc.cjs.development.js.map +1 -1
- package/dist/rc.cjs.production.min.js +1 -1
- package/dist/rc.cjs.production.min.js.map +1 -1
- package/dist/rc.esm.js +35 -16
- package/dist/rc.esm.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [3.0.0-alpha.147](https://fox.25sprout.com/surveycake/sdk/rc/compare/v3.0.0-alpha.146...v3.0.0-alpha.147) (2025-06-24)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* adjust button, form, and input components to align with the new design system. ([8f9662e](https://fox.25sprout.com/surveycake/sdk/rc/commit/8f9662e5350241753e1074eaf117c238322a3543))
|
|
11
|
+
|
|
5
12
|
## [3.0.0-alpha.146](https://fox.25sprout.com/surveycake/sdk/rc/compare/v3.0.0-alpha.145...v3.0.0-alpha.146) (2025-06-13)
|
|
6
13
|
|
|
7
14
|
|
|
@@ -757,11 +757,14 @@ var MuiDialogContent = {
|
|
|
757
757
|
root: {
|
|
758
758
|
padding:
|
|
759
759
|
/*#__PURE__*/
|
|
760
|
-
core.spacing(1, 3, 3)
|
|
760
|
+
core.spacing(1, 3, 3),
|
|
761
|
+
'&:first-child': {
|
|
762
|
+
paddingTop: 4
|
|
763
|
+
}
|
|
761
764
|
},
|
|
762
765
|
dividers: {
|
|
763
766
|
borderTop: 'none',
|
|
764
|
-
padding: '
|
|
767
|
+
padding: '4px 24px 24px',
|
|
765
768
|
borderBottom: "1px solid " + core.palette.grey[100]
|
|
766
769
|
}
|
|
767
770
|
};
|
|
@@ -798,7 +801,7 @@ var MuiFormHelperText = {
|
|
|
798
801
|
root: {
|
|
799
802
|
marginTop:
|
|
800
803
|
/*#__PURE__*/
|
|
801
|
-
core.spacing(
|
|
804
|
+
core.spacing(0.5),
|
|
802
805
|
color: core.palette.grey[600],
|
|
803
806
|
"&.Mui-error": {
|
|
804
807
|
color: core.palette.error.dark
|
|
@@ -812,10 +815,29 @@ var MuiFormLabel = {
|
|
|
812
815
|
_extends({}, core.typography.caption, {
|
|
813
816
|
margin: 0,
|
|
814
817
|
color: core.palette.grey[700]
|
|
815
|
-
})
|
|
818
|
+
}),
|
|
819
|
+
asterisk: {
|
|
820
|
+
color: core.palette.primary.main,
|
|
821
|
+
'.Mui-disabled &': {
|
|
822
|
+
color: 'inherit'
|
|
823
|
+
}
|
|
824
|
+
}
|
|
816
825
|
};
|
|
817
826
|
|
|
818
827
|
var MuiIconButton = {
|
|
828
|
+
root: {
|
|
829
|
+
padding:
|
|
830
|
+
/*#__PURE__*/
|
|
831
|
+
core.spacing(1.25)
|
|
832
|
+
},
|
|
833
|
+
sizeSmall: {
|
|
834
|
+
padding:
|
|
835
|
+
/*#__PURE__*/
|
|
836
|
+
core.spacing(1),
|
|
837
|
+
'& svg.MuiSvgIcon-root': {
|
|
838
|
+
fontSize: 16
|
|
839
|
+
}
|
|
840
|
+
},
|
|
819
841
|
colorPrimary: {
|
|
820
842
|
'&:focus': {
|
|
821
843
|
color: core.palette.primary.main,
|
|
@@ -939,18 +961,11 @@ var MuiOutlinedInput = {
|
|
|
939
961
|
}
|
|
940
962
|
}, core.typography.body2),
|
|
941
963
|
input: {
|
|
942
|
-
|
|
943
|
-
/*#__PURE__*/
|
|
944
|
-
core.spacing(1.5),
|
|
945
|
-
paddingRight:
|
|
946
|
-
/*#__PURE__*/
|
|
947
|
-
core.spacing(1),
|
|
948
|
-
paddingBottom:
|
|
964
|
+
padding:
|
|
949
965
|
/*#__PURE__*/
|
|
950
|
-
core.spacing(1.5)
|
|
951
|
-
paddingLeft:
|
|
966
|
+
core.spacing(1.5) + "px " +
|
|
952
967
|
/*#__PURE__*/
|
|
953
|
-
core.spacing(1)
|
|
968
|
+
core.spacing(1) + "px"
|
|
954
969
|
},
|
|
955
970
|
notchedOutline: {
|
|
956
971
|
borderColor: core.palette.grey.A700
|
|
@@ -3695,6 +3710,7 @@ React.forwardRef(function (props, ref) {
|
|
|
3695
3710
|
|
|
3696
3711
|
return React__default.createElement(MUIButton, Object.assign({}, rest, {
|
|
3697
3712
|
disableElevation: disableElevation,
|
|
3713
|
+
disableRipple: true,
|
|
3698
3714
|
ref: ref,
|
|
3699
3715
|
size: size
|
|
3700
3716
|
}));
|
|
@@ -3895,7 +3911,9 @@ React.forwardRef(function (props, ref) {
|
|
|
3895
3911
|
var rest = _extends({}, props);
|
|
3896
3912
|
|
|
3897
3913
|
return React__default.createElement(MUIFormLabel, Object.assign({}, rest, {
|
|
3898
|
-
ref: ref
|
|
3914
|
+
ref: ref,
|
|
3915
|
+
focused: false,
|
|
3916
|
+
error: false
|
|
3899
3917
|
}), props.children);
|
|
3900
3918
|
});
|
|
3901
3919
|
FormLabel.displayName = 'FormLabel';
|
|
@@ -3910,7 +3928,8 @@ var IconButton =
|
|
|
3910
3928
|
/*#__PURE__*/
|
|
3911
3929
|
React.forwardRef(function (props, ref) {
|
|
3912
3930
|
return React__default.createElement(MUIIconButton, Object.assign({}, props, {
|
|
3913
|
-
ref: ref
|
|
3931
|
+
ref: ref,
|
|
3932
|
+
disableRipple: true
|
|
3914
3933
|
}));
|
|
3915
3934
|
});
|
|
3916
3935
|
IconButton.displayName = 'IconButton';
|