@vaadin/badge 25.2.0-alpha1 → 25.2.0-alpha10

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": "@vaadin/badge",
3
- "version": "25.2.0-alpha1",
3
+ "version": "25.2.0-alpha10",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,19 +34,19 @@
34
34
  "web-component"
35
35
  ],
36
36
  "dependencies": {
37
- "@vaadin/a11y-base": "25.2.0-alpha1",
38
- "@vaadin/component-base": "25.2.0-alpha1",
39
- "@vaadin/vaadin-themable-mixin": "25.2.0-alpha1",
37
+ "@vaadin/a11y-base": "25.2.0-alpha10",
38
+ "@vaadin/component-base": "25.2.0-alpha10",
39
+ "@vaadin/vaadin-themable-mixin": "25.2.0-alpha10",
40
40
  "lit": "^3.0.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@vaadin/aura": "25.2.0-alpha1",
44
- "@vaadin/chai-plugins": "25.2.0-alpha1",
45
- "@vaadin/icon": "25.2.0-alpha1",
46
- "@vaadin/icons": "25.2.0-alpha1",
47
- "@vaadin/test-runner-commands": "25.2.0-alpha1",
43
+ "@vaadin/aura": "25.2.0-alpha10",
44
+ "@vaadin/chai-plugins": "25.2.0-alpha10",
45
+ "@vaadin/icon": "25.2.0-alpha10",
46
+ "@vaadin/icons": "25.2.0-alpha10",
47
+ "@vaadin/test-runner-commands": "25.2.0-alpha10",
48
48
  "@vaadin/testing-helpers": "^2.0.0",
49
- "@vaadin/vaadin-lumo-styles": "25.2.0-alpha1",
49
+ "@vaadin/vaadin-lumo-styles": "25.2.0-alpha10",
50
50
  "sinon": "^21.0.2"
51
51
  },
52
52
  "customElements": "custom-elements.json",
@@ -54,5 +54,5 @@
54
54
  "web-types.json",
55
55
  "web-types.lit.json"
56
56
  ],
57
- "gitHead": "866f813f89655a351cbd25328eba1fcb317e267d"
57
+ "gitHead": "1303b6a3eeecb44a9d26f2b53cb56d9e906febdf"
58
58
  }
@@ -35,6 +35,11 @@ export const badgeStyles = css`
35
35
  display: none !important;
36
36
  }
37
37
 
38
+ [part='content'] {
39
+ overflow: hidden;
40
+ text-overflow: ellipsis;
41
+ }
42
+
38
43
  :host(:not([has-icon])) [part='icon'],
39
44
  :host(:not([has-content])) [part='content'],
40
45
  :host(:not([has-number])) [part='number'] {
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/badge",
4
- "version": "25.2.0-alpha1",
4
+ "version": "25.2.0-alpha10",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -15,9 +15,7 @@
15
15
  "description": "The number to display in the badge.",
16
16
  "value": {
17
17
  "type": [
18
- "number",
19
- "null",
20
- "undefined"
18
+ "number"
21
19
  ]
22
20
  }
23
21
  },
@@ -40,9 +38,7 @@
40
38
  "description": "The number to display in the badge.",
41
39
  "value": {
42
40
  "type": [
43
- "number",
44
- "null",
45
- "undefined"
41
+ "number"
46
42
  ]
47
43
  }
48
44
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/badge",
4
- "version": "25.2.0-alpha1",
4
+ "version": "25.2.0-alpha10",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {