@sinco/react 1.1.2-rc.71 → 1.1.2-rc.72
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/index.esm.js +32 -66
- package/package.json +1 -1
- package/src/lib/Theme/typography.d.ts +1 -1
package/index.esm.js
CHANGED
|
@@ -8289,12 +8289,6 @@ var ButtonBase$1 = ButtonBase;
|
|
|
8289
8289
|
|
|
8290
8290
|
var _palette$action;
|
|
8291
8291
|
var components = {
|
|
8292
|
-
MuiPopper: {
|
|
8293
|
-
defaultProps: {
|
|
8294
|
-
placement: "top"
|
|
8295
|
-
},
|
|
8296
|
-
styleOverrides: {}
|
|
8297
|
-
},
|
|
8298
8292
|
MuiSelect: {
|
|
8299
8293
|
styleOverrides: {
|
|
8300
8294
|
icon: {
|
|
@@ -8547,50 +8541,22 @@ var components = {
|
|
|
8547
8541
|
},
|
|
8548
8542
|
MuiChip: {
|
|
8549
8543
|
styleOverrides: {
|
|
8550
|
-
deleteIcon: {
|
|
8551
|
-
color: SincoTheme.palette.action.disabled,
|
|
8552
|
-
"&:hover": {
|
|
8553
|
-
color: SincoTheme.palette.action.active
|
|
8554
|
-
},
|
|
8555
|
-
"&:active": {
|
|
8556
|
-
color: SincoTheme.palette.action.active
|
|
8557
|
-
}
|
|
8558
|
-
},
|
|
8559
|
-
colorPrimary: {
|
|
8560
|
-
backgroundColor: SincoTheme.palette.primary[100]
|
|
8561
|
-
},
|
|
8562
|
-
colorSecondary: {
|
|
8563
|
-
backgroundColor: SincoTheme.palette.secondary[100]
|
|
8564
|
-
},
|
|
8565
|
-
colorError: {
|
|
8566
|
-
backgroundColor: SincoTheme.palette.error[100]
|
|
8567
|
-
},
|
|
8568
|
-
colorWarning: {
|
|
8569
|
-
backgroundColor: SincoTheme.palette.warning[100]
|
|
8570
|
-
},
|
|
8571
|
-
colorInfo: {
|
|
8572
|
-
backgroundColor: SincoTheme.palette.info[100]
|
|
8573
|
-
},
|
|
8574
|
-
colorSuccess: {
|
|
8575
|
-
backgroundColor: SincoTheme.palette.success[100]
|
|
8576
|
-
},
|
|
8577
8544
|
sizeSmall: {
|
|
8578
|
-
height:
|
|
8545
|
+
height: 18
|
|
8579
8546
|
},
|
|
8580
8547
|
sizeMedium: {
|
|
8581
|
-
height:
|
|
8548
|
+
height: 22
|
|
8582
8549
|
},
|
|
8583
8550
|
icon: {
|
|
8584
8551
|
color: (_palette$action = palette.action) === null || _palette$action === void 0 ? void 0 : _palette$action.active,
|
|
8585
8552
|
opacity: "70%"
|
|
8586
8553
|
},
|
|
8587
8554
|
root: {
|
|
8588
|
-
|
|
8589
|
-
|
|
8590
|
-
fontSize: "11px",
|
|
8555
|
+
fontFamily: 'Roboto',
|
|
8556
|
+
fontSize: '11px',
|
|
8591
8557
|
fontWeight: 400,
|
|
8592
|
-
lineHeight:
|
|
8593
|
-
letterSpacing:
|
|
8558
|
+
lineHeight: '14px',
|
|
8559
|
+
letterSpacing: '0.16px',
|
|
8594
8560
|
height: "inherit",
|
|
8595
8561
|
borderRadius: 4,
|
|
8596
8562
|
".MuiChip-deleteIconXsmall": {
|
|
@@ -8599,7 +8565,7 @@ var components = {
|
|
|
8599
8565
|
},
|
|
8600
8566
|
".MuiChip-deleteIconSmall": {
|
|
8601
8567
|
height: 16,
|
|
8602
|
-
|
|
8568
|
+
widht: 16
|
|
8603
8569
|
},
|
|
8604
8570
|
".MuiChip-deleteIconMedium": {
|
|
8605
8571
|
height: 20,
|
|
@@ -8632,12 +8598,12 @@ var components = {
|
|
|
8632
8598
|
MuiButton: {
|
|
8633
8599
|
styleOverrides: {
|
|
8634
8600
|
root: {
|
|
8635
|
-
fontFamily:
|
|
8636
|
-
textTransform:
|
|
8601
|
+
fontFamily: 'Roboto',
|
|
8602
|
+
textTransform: 'unset',
|
|
8637
8603
|
fontWeightLight: 300,
|
|
8638
8604
|
fontSize: "13px",
|
|
8639
|
-
lineHeight:
|
|
8640
|
-
|
|
8605
|
+
lineHeight: 'normal',
|
|
8606
|
+
'@media(max-width: 885px)': {
|
|
8641
8607
|
fontSize: 14
|
|
8642
8608
|
}
|
|
8643
8609
|
},
|
|
@@ -9095,112 +9061,112 @@ var mixins = {
|
|
|
9095
9061
|
var typography = {
|
|
9096
9062
|
fontSize: 13,
|
|
9097
9063
|
body1: {
|
|
9098
|
-
fontFamily:
|
|
9064
|
+
fontFamily: 'Roboto',
|
|
9099
9065
|
fontSize: 14,
|
|
9100
9066
|
fontWeight: 400,
|
|
9101
9067
|
letterSpacing: 0.15,
|
|
9102
9068
|
lineHeight: 1.4,
|
|
9103
|
-
|
|
9069
|
+
'@media(max-width: 885px)': {
|
|
9104
9070
|
fontSize: 15
|
|
9105
9071
|
}
|
|
9106
9072
|
},
|
|
9107
9073
|
body2: {
|
|
9108
|
-
fontFamily:
|
|
9074
|
+
fontFamily: 'Roboto',
|
|
9109
9075
|
fontSize: 13,
|
|
9110
9076
|
fontWeight: 400,
|
|
9111
9077
|
letterSpacing: 0.17,
|
|
9112
9078
|
lineHeight: 1.2,
|
|
9113
|
-
|
|
9079
|
+
'@media(max-width: 885px)': {
|
|
9114
9080
|
fontSize: 14
|
|
9115
9081
|
}
|
|
9116
9082
|
},
|
|
9117
9083
|
body3: _defineProperty({
|
|
9118
|
-
fontFamily:
|
|
9084
|
+
fontFamily: 'Roboto',
|
|
9119
9085
|
fontWeight: 300,
|
|
9120
9086
|
fontSize: 12,
|
|
9121
9087
|
letterSpacing: 0.17,
|
|
9122
9088
|
lineHeight: 1.2
|
|
9123
|
-
}, breakpoints.down(
|
|
9089
|
+
}, breakpoints.down('md'), {
|
|
9124
9090
|
fontSize: 11
|
|
9125
9091
|
}),
|
|
9126
9092
|
subtitle1: {
|
|
9127
|
-
fontFamily:
|
|
9093
|
+
fontFamily: 'Roboto',
|
|
9128
9094
|
fontSize: 14,
|
|
9129
9095
|
fontWeight: 500,
|
|
9130
9096
|
letterSpacing: 0.15,
|
|
9131
9097
|
lineHeight: 1.4,
|
|
9132
|
-
|
|
9098
|
+
'@media(max-width: 885px)': {
|
|
9133
9099
|
fontSize: 15
|
|
9134
9100
|
}
|
|
9135
9101
|
},
|
|
9136
9102
|
subtitle2: {
|
|
9137
|
-
fontFamily:
|
|
9103
|
+
fontFamily: 'Roboto',
|
|
9138
9104
|
fontSize: 13,
|
|
9139
9105
|
fontWeight: 500,
|
|
9140
9106
|
letterSpacing: 0.1,
|
|
9141
9107
|
lineHeight: 1.4,
|
|
9142
|
-
|
|
9108
|
+
'@media(max-width: 885px)': {
|
|
9143
9109
|
fontSize: 14
|
|
9144
9110
|
}
|
|
9145
9111
|
},
|
|
9146
9112
|
caption: {
|
|
9147
|
-
fontFamily:
|
|
9113
|
+
fontFamily: 'Roboto',
|
|
9148
9114
|
fontSize: 11,
|
|
9149
9115
|
fontWeight: 400,
|
|
9150
9116
|
letterSpacing: 0.4,
|
|
9151
9117
|
lineHeight: 1.4,
|
|
9152
|
-
|
|
9118
|
+
'@media(max-width: 885px)': {
|
|
9153
9119
|
fontSize: 12
|
|
9154
9120
|
}
|
|
9155
9121
|
},
|
|
9156
9122
|
overline: {
|
|
9157
|
-
fontFamily:
|
|
9123
|
+
fontFamily: 'Roboto',
|
|
9158
9124
|
fontSize: 11,
|
|
9159
9125
|
fontWeight: 400,
|
|
9160
9126
|
letterSpacing: 1,
|
|
9161
9127
|
lineHeight: 2.66,
|
|
9162
|
-
|
|
9128
|
+
'@media(max-width: 885px)': {
|
|
9163
9129
|
fontSize: 12
|
|
9164
9130
|
}
|
|
9165
9131
|
},
|
|
9166
9132
|
h6: {
|
|
9167
|
-
fontFamily:
|
|
9133
|
+
fontFamily: 'Nunito',
|
|
9168
9134
|
fontSize: 16,
|
|
9169
9135
|
fontWeight: 600,
|
|
9170
9136
|
lineHeight: 1.4,
|
|
9171
9137
|
letterSpacing: "0.009rem",
|
|
9172
|
-
|
|
9138
|
+
'@media(max-width: 885px)': {
|
|
9173
9139
|
fontSize: 17
|
|
9174
9140
|
}
|
|
9175
9141
|
},
|
|
9176
9142
|
h5: {
|
|
9177
|
-
fontFamily:
|
|
9143
|
+
fontFamily: 'Nunito',
|
|
9178
9144
|
fontSize: 18,
|
|
9179
9145
|
fontWeight: 600,
|
|
9180
9146
|
lineHeight: 1.8
|
|
9181
9147
|
},
|
|
9182
9148
|
h4: {
|
|
9183
|
-
fontFamily:
|
|
9149
|
+
fontFamily: 'Nunito',
|
|
9184
9150
|
fontSize: 20,
|
|
9185
9151
|
fontWeight: 600,
|
|
9186
9152
|
letterSpacing: 0.25,
|
|
9187
9153
|
lineHeight: 1
|
|
9188
9154
|
},
|
|
9189
9155
|
h3: {
|
|
9190
|
-
fontFamily:
|
|
9156
|
+
fontFamily: 'Nunito',
|
|
9191
9157
|
fontSize: 28,
|
|
9192
9158
|
fontWeight: 500,
|
|
9193
9159
|
lineHeight: 1.2
|
|
9194
9160
|
},
|
|
9195
9161
|
h2: {
|
|
9196
|
-
fontFamily:
|
|
9162
|
+
fontFamily: 'Nunito',
|
|
9197
9163
|
fontSize: 32,
|
|
9198
9164
|
fontWeight: 400,
|
|
9199
9165
|
letterSpacing: -0.5,
|
|
9200
9166
|
lineHeight: 1.2
|
|
9201
9167
|
},
|
|
9202
9168
|
h1: {
|
|
9203
|
-
fontFamily:
|
|
9169
|
+
fontFamily: 'Nunito',
|
|
9204
9170
|
fontSize: 40,
|
|
9205
9171
|
fontWeight: 300,
|
|
9206
9172
|
letterSpacing: -1.5,
|
package/package.json
CHANGED