@dxos/lit-ui 0.8.4-staging.ac66bdf99f → 0.9.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/lit-ui",
3
- "version": "0.8.4-staging.ac66bdf99f",
3
+ "version": "0.9.0",
4
4
  "description": "Web Components for DXOS using Lit",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -8,7 +8,7 @@
8
8
  "type": "git",
9
9
  "url": "https://github.com/dxos/dxos"
10
10
  },
11
- "license": "MIT",
11
+ "license": "FSL-1.1-Apache-2.0",
12
12
  "author": "DXOS.org",
13
13
  "sideEffects": [
14
14
  "*.css",
@@ -29,13 +29,6 @@
29
29
  },
30
30
  "main": "dist/src/index.js",
31
31
  "types": "dist/src/index.d.ts",
32
- "typesVersions": {
33
- "*": {
34
- "react": [
35
- "./dist/src/react.d.ts"
36
- ]
37
- }
38
- },
39
32
  "files": [
40
33
  "src",
41
34
  "dist"
@@ -43,12 +36,12 @@
43
36
  "dependencies": {
44
37
  "@lit/react": "^1.0.8",
45
38
  "lit": "^3.3.1",
46
- "@dxos/react-hooks": "0.8.4-staging.ac66bdf99f",
47
- "@dxos/util": "0.8.4-staging.ac66bdf99f",
48
- "@dxos/ui-types": "0.8.4-staging.ac66bdf99f"
39
+ "@dxos/ui-types": "0.9.0",
40
+ "@dxos/util": "0.9.0",
41
+ "@dxos/react-hooks": "0.9.0"
49
42
  },
50
43
  "devDependencies": {
51
- "@dxos/test-utils": "0.8.4-staging.ac66bdf99f"
44
+ "@dxos/test-utils": "0.9.0"
52
45
  },
53
46
  "publishConfig": {
54
47
  "access": "public"
@@ -70,7 +70,7 @@ dx-avatar {
70
70
  }
71
71
 
72
72
  &[data-status='current'] .dx-avatar__ring {
73
- border-color: var(--color-accent-focus-indicator);
73
+ border-color: var(--color-focus-ring);
74
74
  }
75
75
 
76
76
  &[data-status='internal'] .dx-avatar__ring {
@@ -119,12 +119,9 @@ export class DxAvatar extends LitElement {
119
119
  : this.hue
120
120
  ? this.hueVariant === 'surface'
121
121
  ? `var(--color-${this.hue}-surface)`
122
- : `var(--color-${this.hue === 'neutral' ? 'input-surface' : `${this.hue}-fill`})`
122
+ : `var(--color-${this.hue === 'neutral' ? 'input-surface' : `${this.hue}-bg`})`
123
123
  : 'var(--surface-bg)';
124
- const fg =
125
- this.hue && this.hueVariant === 'surface'
126
- ? `var(--color-${this.hue}-surface-text)`
127
- : 'var(--color-accent-surface-text)';
124
+ const fg = this.hue && this.hueVariant === 'surface' ? `var(--color-${this.hue}-fg)` : 'var(--color-accent-fg)';
128
125
 
129
126
  return html`<span
130
127
  role="none"
@@ -16,7 +16,7 @@ export class DxIcon extends LitElement {
16
16
  size: Size = 4;
17
17
 
18
18
  @property({ type: String })
19
- icon: string = 'ph--placeholder--regular';
19
+ icon: string = 'ph--circle-dashed--regular';
20
20
 
21
21
  @property({ type: Boolean })
22
22
  noCache: boolean = true;