tosijs-ui 1.5.21 → 1.5.23
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/dist/data-table.d.ts +1 -1
- package/dist/data-table.js +3 -2
- package/dist/icon-data.js +258 -258
- package/dist/iife.js +16 -16
- package/dist/iife.js.map +8 -8
- package/dist/menu.js +2 -2
- package/dist/segmented.d.ts +3 -2
- package/dist/segmented.js +18 -2
- package/dist/tab-selector.d.ts +1 -1
- package/dist/tab-selector.js +5 -8
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/llms.txt +1 -1
- package/package.json +1 -1
package/dist/data-table.d.ts
CHANGED
package/dist/data-table.js
CHANGED
|
@@ -120,7 +120,8 @@ test('row selection: data model + aria-selected on row (incl. custom dataCell)',
|
|
|
120
120
|
expect(table.selectedRows.length).toBe(2)
|
|
121
121
|
|
|
122
122
|
// DOM: aria-selected lives on the row element. CSS targets
|
|
123
|
-
// .tr[aria-selected
|
|
123
|
+
// .tr[aria-selected] .td to highlight cells. The attribute is set via
|
|
124
|
+
// toggleAttribute, so its value is "" (presence-only) — match accordingly.
|
|
124
125
|
const cells0 = table.getCells(items[0])
|
|
125
126
|
const cells1 = table.getCells(items[1])
|
|
126
127
|
expect(cells0.length).toBe(table.visibleColumns.length)
|
|
@@ -615,7 +616,7 @@ export class TosiTable extends WebComponent {
|
|
|
615
616
|
zIndex: '3',
|
|
616
617
|
background: varDefault.tosiTableHeaderBg(varDefault.tosiTableBg('var(--tosi-bg, #fff)')),
|
|
617
618
|
},
|
|
618
|
-
':host .tr[aria-selected
|
|
619
|
+
':host .tr[aria-selected] .td': {
|
|
619
620
|
background: varDefault.tosiTableSelectedBg('var(--tosi-accent, #007AFF22)'),
|
|
620
621
|
},
|
|
621
622
|
':host .td:focus, :host .th:focus': {
|