@dxos/ui-theme 0.8.4-main.cb12b3f963 → 0.8.4-main.dfabb4ec29

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/ui-theme",
3
- "version": "0.8.4-main.cb12b3f963",
3
+ "version": "0.8.4-main.dfabb4ec29",
4
4
  "description": "A set of design system tokens to use with DXOS UI.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -49,16 +49,16 @@
49
49
  "tailwind-scrollbar": "^4.0.0",
50
50
  "tailwindcss": "^4.2.0",
51
51
  "tailwindcss-radix": "^4.0.2",
52
- "@dxos/log": "0.8.4-main.cb12b3f963",
53
- "@dxos/node-std": "0.8.4-main.cb12b3f963",
54
- "@dxos/util": "0.8.4-main.cb12b3f963"
52
+ "@dxos/node-std": "0.8.4-main.dfabb4ec29",
53
+ "@dxos/log": "0.8.4-main.dfabb4ec29",
54
+ "@dxos/util": "0.8.4-main.dfabb4ec29"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@types/lodash.merge": "^4.6.6",
58
58
  "@types/postcss-import": "^14.0.3",
59
59
  "esbuild": "0.28.0",
60
60
  "vite": "^8.0.10",
61
- "@dxos/ui-types": "0.8.4-main.cb12b3f963"
61
+ "@dxos/ui-types": "0.8.4-main.dfabb4ec29"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "react": "~19.2.3"
@@ -6,30 +6,44 @@
6
6
  */
7
7
 
8
8
  @layer dx-components {
9
- /* Pure visual affordance, no ARIA pair. Combine with dx-selected or dx-current. */
9
+ /*
10
+ * Pure visual affordance, no ARIA pair. Combine with dx-selected or dx-current.
11
+ */
10
12
  .dx-hover {
11
- @apply cursor-pointer hover:bg-highlight-surface! hover:text-highlight-surface-text!;
13
+ @apply cursor-pointer hover:bg-highlight-surface-hover! hover:text-highlight-surface-text!;
12
14
  }
13
-
14
- /* Pairs with Radix-managed `data-highlighted`. Don't set the attribute manually. */
15
- .dx-highlighted {
16
- @apply data-[highlighted]:bg-highlight-surface
17
- data-[highlighted]:text-highlight-surface-text
18
- hover:data-[highlighted]:bg-highlight-surface-hover;
15
+ .dx-hover-row {
16
+ @apply group-hover/row:bg-highlight-surface-hover! group-hover/row:text-highlight-surface-text!;
19
17
  }
20
18
 
21
- /* Pairs with `aria-current="true|page|…"`. Use for "you are here" navigation. */
19
+ /*
20
+ * Pairs with `aria-current="true|page|…"`. Use for "you are here" navigation.
21
+ */
22
22
  .dx-current {
23
23
  @apply dx-ring-pseudo
24
24
  aria-[current=true]:bg-highlight-surface aria-[current=true]:text-highlight-surface-text
25
25
  aria-[current=true]:after:ring-active-separator!;
26
26
  }
27
+ .dx-current-row {
28
+ @apply group-aria-[current=true]/row:bg-highlight-surface! group-aria-[current=true]/row:text-highlight-surface-text!;
29
+ }
27
30
 
28
- /* Pairs with `aria-selected`. Use for listbox/option selection (master/detail). */
31
+ /*
32
+ * Pairs with `aria-selected`. Use for listbox/option selection (master/detail).
33
+ */
29
34
  .dx-selected {
30
35
  @apply aria-selected:bg-selected-surface
31
36
  aria-selected:text-selected-surface-text hover:aria-selected:text-selected-surface-text
32
37
  aria-selected:font-semibold aria-selected:tracking-normal
33
38
  transition-[color,font-variation-settings,letter-spacing];
34
39
  }
40
+
41
+ /*
42
+ * Pairs with Radix-managed `data-highlighted`. Don't set the attribute manually.
43
+ */
44
+ .dx-highlighted {
45
+ @apply data-[highlighted]:bg-highlight-surface
46
+ data-[highlighted]:text-highlight-surface-text
47
+ hover:data-[highlighted]:bg-highlight-surface-hover;
48
+ }
35
49
  }
@@ -124,7 +124,7 @@
124
124
  --dx-l0-avatar-size: 3rem;
125
125
  --dx-l1-size: calc(var(--dx-nav-sidebar-size) - var(--dx-l0-size));
126
126
  --dx-r0-size: var(--dx-rail-size);
127
- --dx-r1-size: calc(var(--dx-complementary-sidebar-size) - var(--dx-r0-size));
127
+ --dx-r1-size: calc(var(--dx-complementary-sidebar-size) - var(--dx-r0-size) - 1px);
128
128
  }
129
129
 
130
130
  :root {
@@ -28,7 +28,7 @@ export const messageIcon: ComponentFunction<MessageStyleProps> = (_, etc) => {
28
28
  };
29
29
 
30
30
  export const messageContent: ComponentFunction<MessageStyleProps> = (_, etc) => {
31
- return mx('col-start-2 grid grid-cols-subgrid first:font-medium', etc);
31
+ return mx('col-start-2 grid grid-cols-subgrid inline first:font-medium', etc);
32
32
  };
33
33
 
34
34
  export const messageTheme: Theme<MessageStyleProps> = {