@carto/meridian-ds 2.14.1 → 2.14.2
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
CHANGED
|
@@ -4,6 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
## 2.0
|
|
6
6
|
|
|
7
|
+
### 2.14.2
|
|
8
|
+
|
|
9
|
+
- Fix: scope accordion small-size selectors to AccordionGroup and reset button letter-spacing [#391](https://github.com/CartoDB/meridian-ds/pull/391)
|
|
10
|
+
|
|
7
11
|
### 2.14.1
|
|
8
12
|
|
|
9
13
|
- Fix: remove `marginRight` hack from EllipsisWithTooltip `first-child` ellipsis target [#389](https://github.com/CartoDB/meridian-ds/pull/389)
|
package/dist/theme/index.cjs
CHANGED
|
@@ -914,7 +914,6 @@ const buttonsOverrides = {
|
|
|
914
914
|
...theme2.typography.caption,
|
|
915
915
|
lineHeight: sizeSmall,
|
|
916
916
|
fontWeight: 500,
|
|
917
|
-
letterSpacing: "0.4px",
|
|
918
917
|
...ownerState.variant === "text" && {
|
|
919
918
|
padding: theme2.spacing(0, 1)
|
|
920
919
|
}
|
|
@@ -933,7 +932,6 @@ const buttonsOverrides = {
|
|
|
933
932
|
...theme2.typography.body1,
|
|
934
933
|
lineHeight: sizeLarge,
|
|
935
934
|
fontWeight: 500,
|
|
936
|
-
letterSpacing: "0.25px",
|
|
937
935
|
...ownerState.variant === "text" && {
|
|
938
936
|
padding: theme2.spacing(0, 2)
|
|
939
937
|
}
|
|
@@ -3436,7 +3434,7 @@ const surfacesOverrides = {
|
|
|
3436
3434
|
borderRadius: theme2.shape.borderRadius
|
|
3437
3435
|
},
|
|
3438
3436
|
// AccordionGroup small size
|
|
3439
|
-
'[data-size="small"] &': {
|
|
3437
|
+
'[data-name="accordion-group"][data-size="small"] &': {
|
|
3440
3438
|
...theme2.typography.caption,
|
|
3441
3439
|
fontWeight: 500,
|
|
3442
3440
|
minHeight: theme2.spacing(4),
|
|
@@ -3449,7 +3447,7 @@ const surfacesOverrides = {
|
|
|
3449
3447
|
content: ({ theme: theme2 }) => ({
|
|
3450
3448
|
marginRight: theme2.spacing(0.5),
|
|
3451
3449
|
// AccordionGroup small size
|
|
3452
|
-
'[data-size="small"] &': {
|
|
3450
|
+
'[data-name="accordion-group"][data-size="small"] &': {
|
|
3453
3451
|
margin: theme2.spacing(0)
|
|
3454
3452
|
}
|
|
3455
3453
|
}),
|
|
@@ -3469,7 +3467,7 @@ const surfacesOverrides = {
|
|
|
3469
3467
|
root: ({ theme: theme2 }) => ({
|
|
3470
3468
|
paddingBottom: theme2.spacing(3),
|
|
3471
3469
|
// AccordionGroup small size
|
|
3472
|
-
'[data-size="small"] &': {
|
|
3470
|
+
'[data-name="accordion-group"][data-size="small"] &': {
|
|
3473
3471
|
padding: theme2.spacing(0.5, 1.5, 2)
|
|
3474
3472
|
}
|
|
3475
3473
|
})
|
package/dist/theme/index.js
CHANGED
|
@@ -913,7 +913,6 @@ const buttonsOverrides = {
|
|
|
913
913
|
...theme2.typography.caption,
|
|
914
914
|
lineHeight: sizeSmall,
|
|
915
915
|
fontWeight: 500,
|
|
916
|
-
letterSpacing: "0.4px",
|
|
917
916
|
...ownerState.variant === "text" && {
|
|
918
917
|
padding: theme2.spacing(0, 1)
|
|
919
918
|
}
|
|
@@ -932,7 +931,6 @@ const buttonsOverrides = {
|
|
|
932
931
|
...theme2.typography.body1,
|
|
933
932
|
lineHeight: sizeLarge,
|
|
934
933
|
fontWeight: 500,
|
|
935
|
-
letterSpacing: "0.25px",
|
|
936
934
|
...ownerState.variant === "text" && {
|
|
937
935
|
padding: theme2.spacing(0, 2)
|
|
938
936
|
}
|
|
@@ -3435,7 +3433,7 @@ const surfacesOverrides = {
|
|
|
3435
3433
|
borderRadius: theme2.shape.borderRadius
|
|
3436
3434
|
},
|
|
3437
3435
|
// AccordionGroup small size
|
|
3438
|
-
'[data-size="small"] &': {
|
|
3436
|
+
'[data-name="accordion-group"][data-size="small"] &': {
|
|
3439
3437
|
...theme2.typography.caption,
|
|
3440
3438
|
fontWeight: 500,
|
|
3441
3439
|
minHeight: theme2.spacing(4),
|
|
@@ -3448,7 +3446,7 @@ const surfacesOverrides = {
|
|
|
3448
3446
|
content: ({ theme: theme2 }) => ({
|
|
3449
3447
|
marginRight: theme2.spacing(0.5),
|
|
3450
3448
|
// AccordionGroup small size
|
|
3451
|
-
'[data-size="small"] &': {
|
|
3449
|
+
'[data-name="accordion-group"][data-size="small"] &': {
|
|
3452
3450
|
margin: theme2.spacing(0)
|
|
3453
3451
|
}
|
|
3454
3452
|
}),
|
|
@@ -3468,7 +3466,7 @@ const surfacesOverrides = {
|
|
|
3468
3466
|
root: ({ theme: theme2 }) => ({
|
|
3469
3467
|
paddingBottom: theme2.spacing(3),
|
|
3470
3468
|
// AccordionGroup small size
|
|
3471
|
-
'[data-size="small"] &': {
|
|
3469
|
+
'[data-name="accordion-group"][data-size="small"] &': {
|
|
3472
3470
|
padding: theme2.spacing(0.5, 1.5, 2)
|
|
3473
3471
|
}
|
|
3474
3472
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buttons.d.ts","sourceRoot":"","sources":["../../../../src/theme/components/buttons.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAQtD,eAAO,MAAM,gBAAgB,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"buttons.d.ts","sourceRoot":"","sources":["../../../../src/theme/components/buttons.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAQtD,eAAO,MAAM,gBAAgB,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CA4uBvD,CAAA"}
|