@surveycake/rc 3.0.0-alpha.19 → 3.0.0-alpha.22
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 +26 -7
- package/dist/rc.cjs.development.js +75 -42
- 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 +75 -42
- package/dist/rc.esm.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,21 +2,40 @@
|
|
|
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.
|
|
5
|
+
## [3.0.0-alpha.22](https://fox.25sprout.com/surveycake/sdk/rc/compare/v3.0.0-alpha.20...v3.0.0-alpha.22) (2021-11-30)
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
### Features
|
|
9
9
|
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* add several icons - surveycake/pm[#5004](https://fox.25sprout.com//undefined/issues/5004) ([a3a011a](https://fox.25sprout.com/surveycake/sdk/rc/commit/a3a011a9d510aab9fe9f5195fe07ef1c59964cb6))
|
|
13
|
-
* add Tab and Tabs to V2 components - surveycake/pm[#5004](https://fox.25sprout.com//undefined/issues/5004) ([21fa9b8](https://fox.25sprout.com/surveycake/sdk/rc/commit/21fa9b836e7dbd563d8c34ecc6f053d84343385f))
|
|
14
|
-
* adjust IconButton styles - surveycake/pm[#5004](https://fox.25sprout.com//undefined/issues/5004) ([efe52c6](https://fox.25sprout.com/surveycake/sdk/rc/commit/efe52c69a35288e82b86ca89f2daee198b5c4677))
|
|
10
|
+
* set letter-spacing and text-transform of Typography to none - surveycake/pm[#5088](https://fox.25sprout.com//undefined/issues/5088) ([b1221cd](https://fox.25sprout.com/surveycake/sdk/rc/commit/b1221cdf28098b7af51ea570874e0e8495bcbd47))
|
|
11
|
+
* show Tooltip without delay when the element is touched - surveycake/pm[#5087](https://fox.25sprout.com//undefined/issues/5087) ([8b1756d](https://fox.25sprout.com/surveycake/sdk/rc/commit/8b1756d9209ad06fdaaa028b4bd690a565132bab))
|
|
15
12
|
|
|
16
13
|
|
|
17
14
|
### Bug Fixes
|
|
18
15
|
|
|
19
|
-
*
|
|
16
|
+
* GroupSelect default background, default height ([76a9eb8](https://fox.25sprout.com/surveycake/sdk/rc/commit/76a9eb8ea7b6bdc42012f19d888a7446fc6470bc))
|
|
17
|
+
|
|
18
|
+
## [3.0.0-alpha.21](https://fox.25sprout.com/surveycake/sdk/rc/compare/v3.0.0-alpha.20...v3.0.0-alpha.21) (2021-11-28)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* set letter-spacing and text-transform of Typography to none - surveycake/pm[#5088](https://fox.25sprout.com/surveycake/pm/-/issues/5088) ([b1221cd](https://fox.25sprout.com/surveycake/sdk/rc/commit/b1221cdf28098b7af51ea570874e0e8495bcbd47))
|
|
24
|
+
* show Tooltip without delay when the element is touched - surveycake/pm[#5087](https://fox.25sprout.com/surveycake/pm/-/issues/5087) ([8b1756d](https://fox.25sprout.com/surveycake/sdk/rc/commit/8b1756d9209ad06fdaaa028b4bd690a565132bab))
|
|
25
|
+
|
|
26
|
+
## [3.0.0-alpha.20](https://fox.25sprout.com/surveycake/sdk/rc/compare/v3.0.0-alpha.19...v3.0.0-alpha.20) (2021-11-26)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Bug Fixes
|
|
30
|
+
|
|
31
|
+
* adjust dialog divider padding ([6a360c8](https://fox.25sprout.com/surveycake/sdk/rc/commit/6a360c84f636e71924e616dff97dd4c13a0522ee))
|
|
32
|
+
|
|
33
|
+
## [3.0.0-alpha.19](https://fox.25sprout.com/surveycake/sdk/rc/compare/v3.0.0-alpha.18...v3.0.0-alpha.19) (2021-11-24)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Features
|
|
37
|
+
|
|
38
|
+
* add Tab and Tabs to V2 components - surveycake/pm[#5004](https://fox.25sprout.com/surveycake/pm/-/issues/5004) ([21fa9b8](https://fox.25sprout.com/surveycake/sdk/rc/commit/21fa9b836e7dbd563d8c34ecc6f053d84343385f))
|
|
20
39
|
|
|
21
40
|
## [3.0.0-alpha.18](https://fox.25sprout.com/surveycake/sdk/rc/compare/v3.0.0-alpha.17...v3.0.0-alpha.18) (2021-11-23)
|
|
22
41
|
|
|
@@ -166,62 +166,86 @@ styles$5.createTheme({
|
|
|
166
166
|
h1: {
|
|
167
167
|
fontSize: '2rem',
|
|
168
168
|
fontWeight: 500,
|
|
169
|
-
lineHeight: 1.6
|
|
169
|
+
lineHeight: 1.6,
|
|
170
|
+
letterSpacing: 0,
|
|
171
|
+
textTransform: 'none'
|
|
170
172
|
},
|
|
171
173
|
h2: {
|
|
172
174
|
fontSize: '1.75rem',
|
|
173
175
|
fontWeight: 500,
|
|
174
|
-
lineHeight: 1.6
|
|
176
|
+
lineHeight: 1.6,
|
|
177
|
+
letterSpacing: 0,
|
|
178
|
+
textTransform: 'none'
|
|
175
179
|
},
|
|
176
180
|
h3: {
|
|
177
181
|
fontSize: '1.5rem',
|
|
178
182
|
fontWeight: 500,
|
|
179
|
-
lineHeight: 1.6
|
|
183
|
+
lineHeight: 1.6,
|
|
184
|
+
letterSpacing: 0,
|
|
185
|
+
textTransform: 'none'
|
|
180
186
|
},
|
|
181
187
|
h4: {
|
|
182
188
|
fontSize: '1.25rem',
|
|
183
189
|
fontWeight: 500,
|
|
184
|
-
lineHeight: 1.6
|
|
190
|
+
lineHeight: 1.6,
|
|
191
|
+
letterSpacing: 0,
|
|
192
|
+
textTransform: 'none'
|
|
185
193
|
},
|
|
186
194
|
h5: {
|
|
187
195
|
fontSize: '1.125rem',
|
|
188
196
|
fontWeight: 500,
|
|
189
|
-
lineHeight: 1.6
|
|
197
|
+
lineHeight: 1.6,
|
|
198
|
+
letterSpacing: 0,
|
|
199
|
+
textTransform: 'none'
|
|
190
200
|
},
|
|
191
201
|
h6: {
|
|
192
202
|
fontSize: '1rem',
|
|
193
203
|
fontWeight: 500,
|
|
194
|
-
lineHeight: 1.6
|
|
204
|
+
lineHeight: 1.6,
|
|
205
|
+
letterSpacing: 0,
|
|
206
|
+
textTransform: 'none'
|
|
195
207
|
},
|
|
196
208
|
subtitle1: {
|
|
197
209
|
fontSize: '0.875rem',
|
|
198
210
|
fontWeight: 500,
|
|
199
|
-
lineHeight: 1.6
|
|
211
|
+
lineHeight: 1.6,
|
|
212
|
+
letterSpacing: 0,
|
|
213
|
+
textTransform: 'none'
|
|
200
214
|
},
|
|
201
215
|
body1: {
|
|
202
216
|
fontSize: '1rem',
|
|
203
217
|
fontWeight: 400,
|
|
204
|
-
lineHeight: 1.6
|
|
218
|
+
lineHeight: 1.6,
|
|
219
|
+
letterSpacing: 0,
|
|
220
|
+
textTransform: 'none'
|
|
205
221
|
},
|
|
206
222
|
body2: {
|
|
207
223
|
fontSize: '0.875rem',
|
|
208
224
|
fontWeight: 400,
|
|
209
|
-
lineHeight: 1.6
|
|
225
|
+
lineHeight: 1.6,
|
|
226
|
+
letterSpacing: 0,
|
|
227
|
+
textTransform: 'none'
|
|
210
228
|
},
|
|
211
229
|
button: {
|
|
212
230
|
fontSize: '0.875rem',
|
|
213
231
|
fontWeight: 500,
|
|
214
|
-
lineHeight: 1.6
|
|
232
|
+
lineHeight: 1.6,
|
|
233
|
+
letterSpacing: 0,
|
|
234
|
+
textTransform: 'none'
|
|
215
235
|
},
|
|
216
236
|
caption: {
|
|
217
237
|
fontSize: '0.875rem',
|
|
218
238
|
fontWeight: 500,
|
|
219
|
-
lineHeight: 1.6
|
|
239
|
+
lineHeight: 1.6,
|
|
240
|
+
letterSpacing: 0,
|
|
241
|
+
textTransform: 'none'
|
|
220
242
|
},
|
|
221
243
|
overline: {
|
|
222
244
|
fontSize: '0.75rem',
|
|
223
245
|
fontWeight: 500,
|
|
224
|
-
lineHeight: 1.6
|
|
246
|
+
lineHeight: 1.6,
|
|
247
|
+
letterSpacing: 0,
|
|
248
|
+
textTransform: 'none'
|
|
225
249
|
}
|
|
226
250
|
}
|
|
227
251
|
});
|
|
@@ -345,7 +369,8 @@ var MuiDialogContent = {
|
|
|
345
369
|
core.spacing(1, 3, 3)
|
|
346
370
|
},
|
|
347
371
|
dividers: {
|
|
348
|
-
borderTop: 'none'
|
|
372
|
+
borderTop: 'none',
|
|
373
|
+
padding: '8px 24px 24px'
|
|
349
374
|
}
|
|
350
375
|
};
|
|
351
376
|
|
|
@@ -454,6 +479,27 @@ var MuiLink = {
|
|
|
454
479
|
}
|
|
455
480
|
};
|
|
456
481
|
|
|
482
|
+
var MuiList = {
|
|
483
|
+
root: {
|
|
484
|
+
backgroundColor: core.palette.common.white
|
|
485
|
+
},
|
|
486
|
+
padding: {
|
|
487
|
+
paddingLeft:
|
|
488
|
+
/*#__PURE__*/
|
|
489
|
+
core.spacing(1),
|
|
490
|
+
paddingRight:
|
|
491
|
+
/*#__PURE__*/
|
|
492
|
+
core.spacing(1)
|
|
493
|
+
}
|
|
494
|
+
};
|
|
495
|
+
|
|
496
|
+
var MuiListSubheader = {
|
|
497
|
+
root: {
|
|
498
|
+
lineHeight: 1.6,
|
|
499
|
+
color: core.palette.grey[500]
|
|
500
|
+
}
|
|
501
|
+
};
|
|
502
|
+
|
|
457
503
|
var MuiMenuItem = {
|
|
458
504
|
root:
|
|
459
505
|
/*#__PURE__*/
|
|
@@ -747,27 +793,6 @@ var MuiTypography = {
|
|
|
747
793
|
}, _h6)
|
|
748
794
|
};
|
|
749
795
|
|
|
750
|
-
var MuiList = {
|
|
751
|
-
root: {
|
|
752
|
-
backgroundColor: core.palette.common.white
|
|
753
|
-
},
|
|
754
|
-
padding: {
|
|
755
|
-
paddingLeft:
|
|
756
|
-
/*#__PURE__*/
|
|
757
|
-
core.spacing(1),
|
|
758
|
-
paddingRight:
|
|
759
|
-
/*#__PURE__*/
|
|
760
|
-
core.spacing(1)
|
|
761
|
-
}
|
|
762
|
-
};
|
|
763
|
-
|
|
764
|
-
var MuiListSubheader = {
|
|
765
|
-
root: {
|
|
766
|
-
lineHeight: 1.6,
|
|
767
|
-
color: core.palette.grey[500]
|
|
768
|
-
}
|
|
769
|
-
};
|
|
770
|
-
|
|
771
796
|
var useMUITheme = function useMUITheme() {
|
|
772
797
|
return styles$5.useTheme();
|
|
773
798
|
};
|
|
@@ -785,6 +810,8 @@ styles$5.createTheme({
|
|
|
785
810
|
MuiFormLabel: MuiFormLabel,
|
|
786
811
|
MuiIconButton: MuiIconButton,
|
|
787
812
|
MuiLink: MuiLink,
|
|
813
|
+
MuiList: MuiList,
|
|
814
|
+
MuiListSubheader: MuiListSubheader,
|
|
788
815
|
MuiMenuItem: MuiMenuItem,
|
|
789
816
|
MuiOutlinedInput: MuiOutlinedInput,
|
|
790
817
|
MuiSelect: MuiSelect,
|
|
@@ -795,9 +822,7 @@ styles$5.createTheme({
|
|
|
795
822
|
MuiToggleButton: MuiToggleButton,
|
|
796
823
|
MuiToggleButtonGroup: MuiToggleButtonGroup,
|
|
797
824
|
MuiTooltip: MuiTooltip,
|
|
798
|
-
MuiTypography: MuiTypography
|
|
799
|
-
MuiList: MuiList,
|
|
800
|
-
MuiListSubheader: MuiListSubheader
|
|
825
|
+
MuiTypography: MuiTypography
|
|
801
826
|
}
|
|
802
827
|
}, core);
|
|
803
828
|
|
|
@@ -1098,11 +1123,13 @@ Typography.displayName = 'Typography';
|
|
|
1098
1123
|
|
|
1099
1124
|
var useSelectStyle =
|
|
1100
1125
|
/*#__PURE__*/
|
|
1101
|
-
styles$5.makeStyles(function () {
|
|
1126
|
+
styles$5.makeStyles(function (theme) {
|
|
1102
1127
|
return {
|
|
1103
1128
|
select: {
|
|
1104
1129
|
padding: '5px 8px',
|
|
1105
|
-
display: 'inline-flex'
|
|
1130
|
+
display: 'inline-flex',
|
|
1131
|
+
backgroundColor: theme.palette.common.white,
|
|
1132
|
+
height: '30px'
|
|
1106
1133
|
}
|
|
1107
1134
|
};
|
|
1108
1135
|
});
|
|
@@ -1333,9 +1360,15 @@ ToggleButtonGroup.displayName = 'ToggleButtonGroup';
|
|
|
1333
1360
|
var Tooltip =
|
|
1334
1361
|
/*#__PURE__*/
|
|
1335
1362
|
React.forwardRef(function (props, ref) {
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1363
|
+
var children = props.children,
|
|
1364
|
+
_props$enterTouchDela = props.enterTouchDelay,
|
|
1365
|
+
enterTouchDelay = _props$enterTouchDela === void 0 ? 0 : _props$enterTouchDela,
|
|
1366
|
+
restProps = _objectWithoutPropertiesLoose(props, ["children", "enterTouchDelay"]);
|
|
1367
|
+
|
|
1368
|
+
return React__default.createElement(MUITooltip, Object.assign({}, restProps, {
|
|
1369
|
+
ref: ref,
|
|
1370
|
+
enterTouchDelay: enterTouchDelay
|
|
1371
|
+
}), children);
|
|
1339
1372
|
});
|
|
1340
1373
|
Tooltip.displayName = 'Tooltip';
|
|
1341
1374
|
|