@olenbetong/appframe-ds 1.13.0 → 1.13.1
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 +6 -0
- package/package.json +1 -1
- package/src/grid/slots/slots.css +25 -0
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/src/grid/slots/slots.css
CHANGED
|
@@ -12,6 +12,31 @@
|
|
|
12
12
|
width: 100%;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
/* In a cell being edited the select fills the cell like the grid's own text editor: the cell's
|
|
16
|
+
outline already marks the edit, so a field border inside it only looks cramped. */
|
|
17
|
+
.MuiDataGrid-cell--editing .AfGrid-select {
|
|
18
|
+
--dsc-input-background: transparent;
|
|
19
|
+
--dsc-input-border-color: transparent;
|
|
20
|
+
--dsc-input-border-radius: 0;
|
|
21
|
+
--dsc-input-outline-color--hover: transparent;
|
|
22
|
+
|
|
23
|
+
block-size: 100%;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* The open list takes its colours from the select, which is transparent here; without its own
|
|
27
|
+
background it falls back to white under the theme's text colour. */
|
|
28
|
+
.MuiDataGrid-cell--editing .AfGrid-select option {
|
|
29
|
+
background-color: var(--ds-color-neutral-surface-default);
|
|
30
|
+
color: var(--ds-color-neutral-text-default);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* The grid outlines the focused cell, as it does for the text editor; Designsystemet's focus
|
|
34
|
+
ring on top of it would read as a second, mismatched border. */
|
|
35
|
+
.MuiDataGrid-cell--editing .AfGrid-select:focus-visible {
|
|
36
|
+
outline: none;
|
|
37
|
+
box-shadow: none;
|
|
38
|
+
}
|
|
39
|
+
|
|
15
40
|
/* Sort-order and filter-count badges on header icon buttons: a compact number
|
|
16
41
|
pinned to the button corner instead of Designsystemet's default 1.5rem badge. */
|
|
17
42
|
.AfGrid-badge .ds-badge {
|