iryx-ui 0.26.0 → 0.28.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.
@@ -7,6 +7,13 @@ export declare const sidebarTheme: import("tailwind-variants").TVReturnType<{
7
7
  root: string;
8
8
  };
9
9
  };
10
+ inShell: {
11
+ true: {
12
+ root: string;
13
+ footer: string;
14
+ link: string;
15
+ };
16
+ };
10
17
  collapsed: {
11
18
  true: {
12
19
  root: string;
@@ -31,6 +38,7 @@ export declare const sidebarTheme: import("tailwind-variants").TVReturnType<{
31
38
  sectionLabel: string;
32
39
  link: string;
33
40
  linkLabel: string;
41
+ linkInitial: string;
34
42
  linkBadge: string;
35
43
  groupIcon: string;
36
44
  groupContent: string;
@@ -44,6 +52,13 @@ export declare const sidebarTheme: import("tailwind-variants").TVReturnType<{
44
52
  root: string;
45
53
  };
46
54
  };
55
+ inShell: {
56
+ true: {
57
+ root: string;
58
+ footer: string;
59
+ link: string;
60
+ };
61
+ };
47
62
  collapsed: {
48
63
  true: {
49
64
  root: string;
@@ -68,6 +83,7 @@ export declare const sidebarTheme: import("tailwind-variants").TVReturnType<{
68
83
  sectionLabel: string;
69
84
  link: string;
70
85
  linkLabel: string;
86
+ linkInitial: string;
71
87
  linkBadge: string;
72
88
  groupIcon: string;
73
89
  groupContent: string;
@@ -81,6 +97,13 @@ export declare const sidebarTheme: import("tailwind-variants").TVReturnType<{
81
97
  root: string;
82
98
  };
83
99
  };
100
+ inShell: {
101
+ true: {
102
+ root: string;
103
+ footer: string;
104
+ link: string;
105
+ };
106
+ };
84
107
  collapsed: {
85
108
  true: {
86
109
  root: string;
@@ -105,6 +128,7 @@ export declare const sidebarTheme: import("tailwind-variants").TVReturnType<{
105
128
  sectionLabel: string;
106
129
  link: string;
107
130
  linkLabel: string;
131
+ linkInitial: string;
108
132
  linkBadge: string;
109
133
  groupIcon: string;
110
134
  groupContent: string;
@@ -5,11 +5,12 @@ var t = e({
5
5
  root: "flex h-full flex-col gap-2 border-border bg-background text-foreground transition-[width] duration-200 ease-out",
6
6
  header: "flex shrink-0 items-center gap-2 px-3 py-3",
7
7
  nav: "flex min-h-0 flex-1 flex-col gap-4 overflow-y-auto p-2",
8
- footer: "flex shrink-0 items-center gap-2 border-t border-border px-3 py-3",
8
+ footer: "flex shrink-0 items-center gap-2 border-t border-border px-2 py-3",
9
9
  section: "flex flex-col gap-1",
10
10
  sectionLabel: "px-2 pt-1 pb-0.5 text-xs font-medium tracking-wide text-muted-foreground uppercase",
11
11
  link: "group/link relative flex w-full cursor-pointer items-center gap-3 rounded-lg px-2 py-2 text-sm font-medium text-muted-foreground no-underline transition-[color,background-color,border-color,box-shadow] outline-none select-none hover:bg-accent hover:text-accent-foreground focus-visible:ring-2 focus-visible:ring-primary/50 data-[active]:bg-accent data-[active]:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:size-4 [&_svg]:shrink-0",
12
12
  linkLabel: "flex-1 truncate text-left",
13
+ linkInitial: "flex size-4 shrink-0 items-center justify-center text-xs leading-none font-semibold",
13
14
  linkBadge: "ml-auto shrink-0",
14
15
  groupIcon: "ml-auto size-4 shrink-0 transition-[rotate] duration-200 ease-out group-data-[state=open]/link:rotate-90",
15
16
  groupContent: "group/collapsible overflow-hidden data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down",
@@ -20,6 +21,11 @@ var t = e({
20
21
  left: { root: "border-r" },
21
22
  right: { root: "border-l" }
22
23
  },
24
+ inShell: { true: {
25
+ root: "border-0 bg-transparent",
26
+ footer: "border-0",
27
+ link: "hover:bg-foreground/5 data-[active]:bg-foreground/[0.07]"
28
+ } },
23
29
  collapsed: {
24
30
  true: {
25
31
  root: "w-16",
@@ -36,7 +42,8 @@ var t = e({
36
42
  },
37
43
  defaultVariants: {
38
44
  side: "left",
39
- collapsed: !1
45
+ collapsed: !1,
46
+ inShell: !1
40
47
  }
41
48
  });
42
49
  //#endregion
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "iryx-ui",
3
3
  "type": "module",
4
- "version": "0.26.0",
4
+ "version": "0.28.0",
5
5
  "description": "A Vue 3 component library built on Reka UI and Tailwind CSS v4.",
6
6
  "author": "therok1",
7
7
  "license": "MIT",
package/theme.css CHANGED
@@ -43,6 +43,8 @@
43
43
 
44
44
  /* Neutral surfaces — shadcn/ui "zinc" palette. */
45
45
  --iryx-background: oklch(1 0 0);
46
+ /* Behind IAppShell's content card. */
47
+ --iryx-canvas: oklch(0.967 0.001 286.375);
46
48
  --iryx-foreground: oklch(0.145 0 0);
47
49
  --iryx-accent: oklch(0.97 0 0);
48
50
  --iryx-accent-foreground: oklch(0.205 0 0);
@@ -121,6 +123,7 @@
121
123
 
122
124
  /* Neutral surfaces — shadcn/ui "zinc" palette. */
123
125
  --iryx-background: oklch(0.145 0 0);
126
+ --iryx-canvas: oklch(0.1 0 0);
124
127
  --iryx-foreground: oklch(0.985 0 0);
125
128
  --iryx-accent: oklch(0.269 0 0);
126
129
  --iryx-accent-foreground: oklch(0.985 0 0);
@@ -184,6 +187,7 @@
184
187
  --radius-2xl: calc(var(--iryx-radius) * 2);
185
188
  --radius-3xl: calc(var(--iryx-radius) * 3);
186
189
  --color-background: var(--iryx-background);
190
+ --color-canvas: var(--iryx-canvas);
187
191
  --color-foreground: var(--iryx-foreground);
188
192
  --color-primary: var(--iryx-primary);
189
193
  --color-primary-foreground: var(--iryx-primary-foreground);