@cas-smartdesign/tab-bar 4.1.0 → 4.1.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/dist/tab-bar.mjs CHANGED
@@ -2,7 +2,7 @@ import { LitElement as f, unsafeCSS as x, css as g, html as l } from "lit";
2
2
  import { property as h } from "lit/decorators/property.js";
3
3
  import { createPopper as y } from "@popperjs/core";
4
4
  import m, { ListDataProvider as S, SelectionType as E } from "@cas-smartdesign/virtual-list";
5
- const L = ":host{contain:content;outline:none}:host(:not([selected])) .text{opacity:.8}:host(:hover),:host(:focus),:host([anchors-shown]){background-color:var(--sd-tab-bar-hover-color, #e7f1fa);cursor:pointer}.root{position:relative;overflow:hidden;width:100%;height:100%;display:flex;align-items:center;justify-content:flex-start;padding:var(--sd-tab-bar-padding, 8px) calc(2 * var(--sd-tab-bar-padding, 8px));box-sizing:border-box}.counter{text-align:center;background-color:#d9d9d9;min-width:24px;height:24px;line-height:24px;margin-left:calc(-.5 * var(--sd-tab-bar-padding, 8px));margin-right:var(--sd-tab-bar-padding, 8px)}:host([selected]) .counter{color:var(--sd-tab-bar-selected-counter-color, white);background-color:var(--sd-tab-bar-selected-counter-background-color, #3b85d1)}.text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex-grow:1}.down-arrow{padding-left:calc(1.5 * var(--sd-tab-bar-padding, 8px));margin-right:calc(-1 * var(--sd-tab-bar-padding, 8px));outline:none;fill:var(--sd-tab-bar-color, #1467ba);flex:0 0 auto}.ripple{position:absolute;background:var(--sd-tab-bar-color, #1467ba);border-radius:50%;width:5px;height:5px;animation:rippleEffect .88s 1;opacity:0}@keyframes rippleEffect{0%{transform:scale(1);opacity:.4}to{transform:scale(100);opacity:0}}";
5
+ const L = ":host{contain:content;outline:none}:host(:not([selected])) .text{opacity:.8}:host(:hover),:host(:focus),:host([anchors-shown]){background-color:var(--sd-tab-bar-hover-color, #e7f1fa);cursor:pointer}:host(:focus-visible){box-shadow:0 0 0 1px var(--sd-tab-bar-focus-color, #1467ba) inset}.root{position:relative;overflow:hidden;width:100%;height:100%;display:flex;align-items:center;justify-content:flex-start;padding:var(--sd-tab-bar-padding, 8px) calc(2 * var(--sd-tab-bar-padding, 8px));box-sizing:border-box}.counter{text-align:center;background-color:#d9d9d9;min-width:24px;height:24px;line-height:24px;margin-left:calc(-.5 * var(--sd-tab-bar-padding, 8px));margin-right:var(--sd-tab-bar-padding, 8px)}:host([selected]) .counter{color:var(--sd-tab-bar-selected-counter-color, white);background-color:var(--sd-tab-bar-selected-counter-background-color, #3b85d1)}.text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex-grow:1}.down-arrow{padding-left:calc(1.5 * var(--sd-tab-bar-padding, 8px));margin-right:calc(-1 * var(--sd-tab-bar-padding, 8px));outline:none;fill:var(--sd-tab-bar-color, #1467ba);flex:0 0 auto}.ripple{position:absolute;background:var(--sd-tab-bar-color, #1467ba);border-radius:50%;width:5px;height:5px;animation:rippleEffect .88s 1;opacity:0}@keyframes rippleEffect{0%{transform:scale(1);opacity:.4}to{transform:scale(100);opacity:0}}";
6
6
  var C = Object.defineProperty, p = (c, t, e, o) => {
7
7
  for (var s = void 0, i = c.length - 1, n; i >= 0; i--)
8
8
  (n = c[i]) && (s = n(t, e, s) || s);
@@ -64,6 +64,11 @@
64
64
  "repository": "https://github.com/cypress-io/cypress",
65
65
  "licenseUrl": "https://cypress.io"
66
66
  },
67
+ "d3-color@3.1.0": {
68
+ "licenses": "ISC",
69
+ "repository": "https://github.com/d3/d3-color",
70
+ "licenseUrl": "https://github.com/d3/d3-color/raw/HEAD/LICENSE"
71
+ },
67
72
  "esbuild@0.25.9": {
68
73
  "licenses": "MIT",
69
74
  "repository": "https://github.com/evanw/esbuild",
@@ -104,6 +109,11 @@
104
109
  "repository": "https://github.com/lint-staged/lint-staged",
105
110
  "licenseUrl": "https://github.com/lint-staged/lint-staged/raw/HEAD/LICENSE"
106
111
  },
112
+ "lit-html@3.3.1": {
113
+ "licenses": "BSD-3-Clause",
114
+ "repository": "https://github.com/lit/lit",
115
+ "licenseUrl": "https://github.com/lit/lit/raw/HEAD/LICENSE"
116
+ },
107
117
  "lit@3.3.1": {
108
118
  "licenses": "BSD-3-Clause",
109
119
  "repository": "https://github.com/lit/lit",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cas-smartdesign/tab-bar",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "description": "A TabBar element with SmartDesign look & feel",
5
5
  "main": "dist/tab-bar-with-externals.js",
6
6
  "module": "dist/tab-bar.mjs",
@@ -12,8 +12,8 @@
12
12
  "@cas-smartdesign/virtual-list": "^6.3.0"
13
13
  },
14
14
  "devDependencies": {
15
- "@cas-smartdesign/element-preview": "^0.3.0",
16
- "@cas-smartdesign/license-generator": "^1.7.0"
15
+ "@cas-smartdesign/license-generator": "^1.8.0",
16
+ "@cas-smartdesign/element-preview": "^0.3.0"
17
17
  },
18
18
  "files": [
19
19
  "dist",