@slotted/styles 0.1.0-beta.32 → 0.1.0-beta.33
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/package.json
CHANGED
package/src/chart/chart.css
CHANGED
|
@@ -833,7 +833,8 @@
|
|
|
833
833
|
column-gap: var(--slotted-space-4, 0.5rem);
|
|
834
834
|
display: grid;
|
|
835
835
|
font-size: var(--slotted-control-font-size-sm, 0.75rem);
|
|
836
|
-
|
|
836
|
+
/* The label keeps 4rem, so a wide value never takes the whole row. */
|
|
837
|
+
grid-template-columns: auto minmax(4rem, 1fr) auto;
|
|
837
838
|
line-height: var(--slotted-line-height-sm, 1.45);
|
|
838
839
|
max-inline-size: min(18rem, 100%);
|
|
839
840
|
min-inline-size: 8rem;
|
|
@@ -888,6 +889,12 @@
|
|
|
888
889
|
visibility var(--slotted-duration-instant) linear var(--slotted-duration-short);
|
|
889
890
|
}
|
|
890
891
|
|
|
892
|
+
/* Content a consumer adds beside the parts takes the tooltip's full width. */
|
|
893
|
+
[data-ui-chart] [data-part-tooltip] > :not([data-part]) {
|
|
894
|
+
grid-column: 1 / -1;
|
|
895
|
+
overflow-wrap: anywhere;
|
|
896
|
+
}
|
|
897
|
+
|
|
891
898
|
[data-ui-chart] [data-part-tooltip-title] {
|
|
892
899
|
color: var(--slotted-text, CanvasText);
|
|
893
900
|
font-weight: var(--slotted-font-weight-semibold, 600);
|
|
@@ -1146,6 +1146,13 @@
|
|
|
1146
1146
|
unicode-bidi: plaintext;
|
|
1147
1147
|
}
|
|
1148
1148
|
|
|
1149
|
+
/* Content written outside the option parts stands in the name's cell. */
|
|
1150
|
+
[data-ui-entity-picker][data-part-positioner] [data-part-item] > :not([data-part]) {
|
|
1151
|
+
grid-column: 2 / 4;
|
|
1152
|
+
grid-row: 1;
|
|
1153
|
+
min-inline-size: 0;
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1149
1156
|
/**
|
|
1150
1157
|
* The identifier. One line: it is what tells two people of one name apart,
|
|
1151
1158
|
* so its start is what is kept, and the whole string is in the option's
|