@neovici/cosmoz-omnitable 19.0.2 → 19.1.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"cosmoz-omnitable-styles.d.ts","sourceRoot":"","sources":["../src/cosmoz-omnitable-styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ,QAoEpB,CAAC;;AAEF,wBAygBE"}
1
+ {"version":3,"file":"cosmoz-omnitable-styles.d.ts","sourceRoot":"","sources":["../src/cosmoz-omnitable-styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ,QAoEpB,CAAC;;AAEF,wBAohBE"}
@@ -76,17 +76,18 @@ export default css `
76
76
  position: relative;
77
77
  overflow: hidden;
78
78
  color: var(--cz-color-text-secondary);
79
+ /* Links in cells read as text; the row is the click target. */
80
+ --cz-link-color: currentColor;
81
+ --cz-link-color-hover: var(--cz-color-text-primary);
79
82
  }
80
83
  :host a {
81
- color: var(--cz-color-brand-300);
82
- text-decoration: var(--cosmoz-omnitable-link-decoration, underline);
84
+ color: inherit;
85
+ text-decoration: var(--cosmoz-omnitable-link-decoration, none);
83
86
  }
84
87
  :host a:hover {
85
- text-decoration: var(
86
- --cosmoz-omnitable-link-decoration-hover,
87
- var(--cosmoz-omnitable-link-decoration, underline)
88
- );
89
- color: var(--primary-link-color-hover, var(--primary-link-color));
88
+ text-decoration: var(--cosmoz-omnitable-link-decoration-hover, underline);
89
+ text-underline-offset: 2px;
90
+ color: var(--cz-color-text-primary);
90
91
  }
91
92
 
92
93
  /* The wrapping div that contains the header, the table content and the footer */
@@ -104,8 +105,7 @@ export default css `
104
105
  position: relative;
105
106
  display: flex;
106
107
  align-items: flex-end;
107
- background-color: var(--cz-color-bg-secondary);
108
- border-block: 1px solid var(--cz-color-border-primary);
108
+ border-block: 1px solid var(--cz-color-border-secondary);
109
109
  }
110
110
 
111
111
  [hidden] {
@@ -405,9 +405,20 @@ export default css `
405
405
  }
406
406
 
407
407
  .itemRow:hover {
408
- box-shadow: var(--cz-shadow-sm);
409
408
  background-color: var(--cz-color-bg-primary-hover);
410
409
  }
410
+
411
+ /* Row checkboxes appear on hover, focus or once any row is selected. */
412
+ @media (hover: hover) {
413
+ .itemRow .checkbox:not(:checked, :focus-visible) {
414
+ opacity: 0;
415
+ transition: opacity 120ms;
416
+ }
417
+ .itemRow:hover .checkbox,
418
+ .tableContent:has(.itemRow[selected]) .itemRow .checkbox {
419
+ opacity: 1;
420
+ }
421
+ }
411
422
  .groupRow:hover .checkbox:not(:checked):not(:hover),
412
423
  .itemRow:hover .checkbox:not(:checked):not(:hover) {
413
424
  box-shadow: 0 0 0 2px
@@ -1 +1 @@
1
- {"version":3,"file":"cosmoz-omnitable-styles.js","sourceRoot":"","sources":["../src/cosmoz-omnitable-styles.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,MAAM,IAAI,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAEtD,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoE1B,CAAC;AAEF,eAAe,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6Vf,QAAQ;;;;;;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ED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neovici/cosmoz-omnitable",
3
- "version": "19.0.2",
3
+ "version": "19.1.0",
4
4
  "description": "[![Build Status](https://travis-ci.org/Neovici/cosmoz-omnitable.svg?branch=master)](https://travis-ci.org/Neovici/cosmoz-omnitable)",
5
5
  "keywords": [
6
6
  "web-components"
@@ -120,16 +120,16 @@
120
120
  "@changesets/cli": "^3.0.1",
121
121
  "@commitlint/cli": "^21.0.0",
122
122
  "@commitlint/config-conventional": "^21.0.0",
123
- "@neovici/cfg": "^2.8.0",
123
+ "@neovici/cfg": "^2.15.0",
124
124
  "@neovici/testing": "^2.1.1",
125
125
  "@open-wc/testing": "^5.0.0",
126
+ "@playwright/test": "1.63.0",
126
127
  "@polymer/iron-test-helpers": "^3.0.0",
127
128
  "@polymer/paper-button": "^3.0.0",
128
129
  "@polymer/paper-dropdown-menu": "^3.2.0",
129
130
  "@polymer/paper-item": "^3.0.0",
130
131
  "@polymer/paper-listbox": "^3.0.0",
131
132
  "@polymer/paper-toggle-button": "^3.0.0",
132
- "@playwright/test": "1.63.0",
133
133
  "@storybook/addon-docs": "^10.0.4",
134
134
  "@storybook/web-components-vite": "^10.0.4",
135
135
  "@types/file-saver": "^2.0.0",