@slotted/styles 0.1.0-beta.31 → 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slotted/styles",
3
- "version": "0.1.0-beta.31",
3
+ "version": "0.1.0-beta.33",
4
4
  "description": "Per-family stylesheets of Slotted, bundled by the React and Angular bindings.",
5
5
  "keywords": [
6
6
  "slotted",
@@ -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
- grid-template-columns: auto minmax(0, 1fr) auto;
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
@@ -514,6 +514,19 @@
514
514
  --_row-ground: var(--_selected-hover);
515
515
  }
516
516
 
517
+ /**
518
+ * A record that is no longer active: the row's ink steps down to the muted
519
+ * ink, and every cell and the row header read it by inheritance. The rule
520
+ * stands above `selected` and `disabled`, which state their own ink and win.
521
+ * A link in the row takes the muted ink as its color at rest and keeps the
522
+ * accent under the pointer.
523
+ */
524
+ [data-ui-table] [data-part-row][data-muted] {
525
+ --slotted-link-color: var(--_muted);
526
+
527
+ color: var(--_muted);
528
+ }
529
+
517
530
  [data-ui-table] [data-part-row][data-disabled] {
518
531
  color: var(--slotted-disabled-foreground, GrayText);
519
532
  }