@elmethis/qwik 1.0.0-alpha.22 → 1.0.0-alpha.24

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/README.md CHANGED
@@ -70,35 +70,43 @@ The `throw` is intentional — if the OAuth code path is ever reached at
70
70
  runtime, you'll get a loud error instead of silent broken crypto. Omit the
71
71
  alias if your app actually uses the MCP SDK's OAuth flow.
72
72
 
73
- ### Theming
73
+ ### Design tokens
74
74
 
75
- The library ships a set of CSS custom properties typed as
76
- `ElmethisCSSVariables`. Two layers:
75
+ The design tokens are provided by [`@elmethis/core`](../core) as
76
+ `--elmethis-*` CSS custom properties. They load automatically when you import
77
+ from `@elmethis/qwik` (the entry runs `import "@elmethis/core/tokens.css"`).
78
+ Two layers:
77
79
 
78
- - **Primitives** (`--elmethis-neutral-*`, `--elmethis-accent-*`) — theme-agnostic
79
- raw values.
80
- - **Semantic roles** (`--elmethis-color-*`) theme-aware. Flip automatically
81
- under `[data-theme="dark"]` on `<html>` (toggled by `useElmethisTheme()`).
82
- Components consume these.
80
+ - **Primitives** (`--elmethis-primitive-*`, e.g.
81
+ `--elmethis-primitive-color-blue-500`) — theme-agnostic raw values.
82
+ - **Semantic roles** (`--elmethis-color-*`, plus a few non-color tokens like
83
+ `--elmethis-margin-block-start`) reference the primitives. Components
84
+ consume these.
83
85
 
84
- Override on a wrapper element to retheme a region:
86
+ ### Theming
85
87
 
86
- ```tsx
87
- import type { ElmethisCSSVariables } from "@elmethis/qwik";
88
+ Theme switching is **native**: every themed token is a CSS `light-dark()`
89
+ value that resolves against the root's computed `color-scheme`. The default
90
+ (`color-scheme: light dark`) follows the OS (`prefers-color-scheme`).
91
+ `useElmethisTheme()` pins `color-scheme` on `<html>` to force light or dark
92
+ (and also sets `data-theme`, read only by the handful of non-color overrides
93
+ that can't use `light-dark()`).
88
94
 
89
- const themed: ElmethisCSSVariables = { "--elmethis-color-primary": "tomato" };
95
+ Override a token on a wrapper element to retheme a region:
90
96
 
91
- <div style={themed}>
97
+ ```tsx
98
+ <div style={{ "--elmethis-color-primary": "tomato" }}>
92
99
  <ElmHeading>I cascade tomato.</ElmHeading>
93
- </div>;
100
+ </div>
94
101
  ```
95
102
 
96
103
  For per-instance overrides (one paragraph's color, one icon's fill), use the
97
104
  component's own props (`color`, `backgroundColor`, etc.). Those write to
98
- component-private CSS variables that don't cascade into descendants.
105
+ component-private `--elmethis-scoped-*` variables that don't cascade into
106
+ descendants.
99
107
 
100
- **Rule of thumb:** variable on a wrapper retheme a region; prop on a component
101
- styles one element. See the `ElmethisCSSVariables` type for the full token list.
108
+ **Rule of thumb:** a variable on a wrapper retheme a region; a prop on a
109
+ component styles one element.
102
110
 
103
111
  ## Coding style
104
112
 
@@ -24,6 +24,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
24
24
  ));
25
25
  var __publicField = (obj, key2, value) => __defNormalProp(obj, typeof key2 !== "symbol" ? key2 + "" : key2, value);
26
26
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
27
+ require("@elmethis/core/tokens.css");
27
28
  const core$1 = require("@qwik.dev/core");
28
29
  const v0_9 = require("@a2ui/web_core/v0_9");
29
30
  const basic_catalog = require("@a2ui/web_core/v0_9/basic_catalog");
@@ -2806,7 +2807,7 @@ const ElmTableBody = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.
2806
2807
  ...core$1._getVarProps(props)
2807
2808
  }, core$1._getConstProps(props), /* @__PURE__ */ core$1._jsxSorted(core$1.Slot, null, null, null, 3, "d6_0"), 0, "d6_1");
2808
2809
  }, "ElmTableBody_component_cc34lI5xf6Y"));
2809
- const tr = "_tr_14q3t_1";
2810
+ const tr = "_tr_8c0na_1";
2810
2811
  const styles$v = {
2811
2812
  tr
2812
2813
  };
@@ -7506,13 +7507,13 @@ const ElmToggleTheme = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$
7506
7507
  ], 3, null)
7507
7508
  ], 2, "7Z_1"), 1, "7Z_2");
7508
7509
  }, "ElmToggleTheme_component_UCPPH0ZjWO4"));
7509
- const container = "_container_fdajv_1";
7510
- const icon = "_icon_fdajv_23";
7511
- const chunk = "_chunk_fdajv_38";
7512
- const chevron = "_chevron_fdajv_42";
7510
+ const container = "_container_19tkl_1";
7511
+ const icon = "_icon_19tkl_23";
7512
+ const chunk = "_chunk_19tkl_36";
7513
+ const chevron = "_chevron_19tkl_41";
7513
7514
  const styles$5 = {
7514
7515
  container,
7515
- "link-container": "_link-container_fdajv_9",
7516
+ "link-container": "_link-container_19tkl_9",
7516
7517
  icon,
7517
7518
  chunk,
7518
7519
  chevron
@@ -7534,24 +7535,22 @@ const ElmBreadcrumb = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1
7534
7535
  }, {
7535
7536
  class: styles$5["link-container"]
7536
7537
  }, [
7537
- /* @__PURE__ */ core$1._jsxSorted("span", null, {
7538
- class: styles$5.icon
7539
- }, /* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, {
7538
+ /* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, {
7540
7539
  d: index === 0 ? js.mdiHome : index === _rawProps.links.length - 1 ? js.mdiApplicationOutline : js.mdiFolderOpen
7541
7540
  }, {
7542
- size: "1.25em"
7543
- }, null, 3, "wL_0"), 1, null),
7541
+ class: styles$5.icon,
7542
+ size: "1rem"
7543
+ }, null, 3, "wL_0"),
7544
7544
  /* @__PURE__ */ core$1._jsxSorted("span", null, {
7545
7545
  class: styles$5.chunk
7546
- }, /* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null, null, core$1._wrapProp(link2, "text"), 1, "wL_1"), 1, null)
7546
+ }, core$1._wrapProp(link2, "text"), 1, null)
7547
7547
  ], 0, null),
7548
- _rawProps.links.length !== index + 1 && /* @__PURE__ */ core$1._jsxSorted("span", null, {
7549
- class: styles$5.chevron
7550
- }, /* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, null, {
7548
+ _rawProps.links.length !== index + 1 && /* @__PURE__ */ core$1._jsxSorted(ElmMdiIcon, null, {
7549
+ class: styles$5.chevron,
7551
7550
  d: js.mdiChevronRight,
7552
- size: "1em"
7553
- }, null, 3, "wL_2"), 1, "wL_3")
7554
- ], 1, "wL_4")), 0, "wL_5");
7551
+ size: "1rem"
7552
+ }, null, 3, "wL_1")
7553
+ ], 1, "wL_2")), 0, "wL_3");
7555
7554
  }, "ElmBreadcrumb_component_Bm4cHEZjNRM"));
7556
7555
  const wrapper = "_wrapper_1uubg_1";
7557
7556
  const partial = "_partial_1uubg_30";
@@ -1,6 +1,7 @@
1
1
  var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key2, value) => key2 in obj ? __defProp(obj, key2, { enumerable: true, configurable: true, writable: true, value }) : obj[key2] = value;
3
3
  var __publicField = (obj, key2, value) => __defNormalProp(obj, typeof key2 !== "symbol" ? key2 + "" : key2, value);
4
+ import "@elmethis/core/tokens.css";
4
5
  import { componentQrl, inlinedQrl, _restProps, _jsxSplit, _getVarProps, _fnSignal, _getConstProps, _jsxSorted, Slot, useSignal, useContext, _wrapProp, useContextProvider, createContextId, _captures, useTaskQrl, noSerialize, useStore, useVisibleTaskQrl, useComputedQrl, Fragment, isSignal, useOnWindow, useOnDocument } from "@qwik.dev/core";
5
6
  import { ComponentContext, Catalog, MessageProcessor } from "@a2ui/web_core/v0_9";
6
7
  import { TextApi, RowApi, ColumnApi, ListApi, CardApi, ButtonApi, ImageApi, IconApi, DividerApi, TextFieldApi, CheckBoxApi, SliderApi, TabsApi, ModalApi, VideoApi, AudioPlayerApi, ChoicePickerApi, DateTimeInputApi, BASIC_COMPONENTS, BASIC_FUNCTIONS } from "@a2ui/web_core/v0_9/basic_catalog";
@@ -2784,7 +2785,7 @@ const ElmTableBody = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_r
2784
2785
  ..._getVarProps(props)
2785
2786
  }, _getConstProps(props), /* @__PURE__ */ _jsxSorted(Slot, null, null, null, 3, "d6_0"), 0, "d6_1");
2786
2787
  }, "ElmTableBody_component_cc34lI5xf6Y"));
2787
- const tr = "_tr_14q3t_1";
2788
+ const tr = "_tr_8c0na_1";
2788
2789
  const styles$v = {
2789
2790
  tr
2790
2791
  };
@@ -7484,13 +7485,13 @@ const ElmToggleTheme = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((
7484
7485
  ], 3, null)
7485
7486
  ], 2, "7Z_1"), 1, "7Z_2");
7486
7487
  }, "ElmToggleTheme_component_UCPPH0ZjWO4"));
7487
- const container = "_container_fdajv_1";
7488
- const icon = "_icon_fdajv_23";
7489
- const chunk = "_chunk_fdajv_38";
7490
- const chevron = "_chevron_fdajv_42";
7488
+ const container = "_container_19tkl_1";
7489
+ const icon = "_icon_19tkl_23";
7490
+ const chunk = "_chunk_19tkl_36";
7491
+ const chevron = "_chevron_19tkl_41";
7491
7492
  const styles$5 = {
7492
7493
  container,
7493
- "link-container": "_link-container_fdajv_9",
7494
+ "link-container": "_link-container_19tkl_9",
7494
7495
  icon,
7495
7496
  chunk,
7496
7497
  chevron
@@ -7512,24 +7513,22 @@ const ElmBreadcrumb = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_
7512
7513
  }, {
7513
7514
  class: styles$5["link-container"]
7514
7515
  }, [
7515
- /* @__PURE__ */ _jsxSorted("span", null, {
7516
- class: styles$5.icon
7517
- }, /* @__PURE__ */ _jsxSorted(ElmMdiIcon, {
7516
+ /* @__PURE__ */ _jsxSorted(ElmMdiIcon, {
7518
7517
  d: index === 0 ? mdiHome : index === _rawProps.links.length - 1 ? mdiApplicationOutline : mdiFolderOpen
7519
7518
  }, {
7520
- size: "1.25em"
7521
- }, null, 3, "wL_0"), 1, null),
7519
+ class: styles$5.icon,
7520
+ size: "1rem"
7521
+ }, null, 3, "wL_0"),
7522
7522
  /* @__PURE__ */ _jsxSorted("span", null, {
7523
7523
  class: styles$5.chunk
7524
- }, /* @__PURE__ */ _jsxSorted(ElmInlineText, null, null, _wrapProp(link2, "text"), 1, "wL_1"), 1, null)
7524
+ }, _wrapProp(link2, "text"), 1, null)
7525
7525
  ], 0, null),
7526
- _rawProps.links.length !== index + 1 && /* @__PURE__ */ _jsxSorted("span", null, {
7527
- class: styles$5.chevron
7528
- }, /* @__PURE__ */ _jsxSorted(ElmMdiIcon, null, {
7526
+ _rawProps.links.length !== index + 1 && /* @__PURE__ */ _jsxSorted(ElmMdiIcon, null, {
7527
+ class: styles$5.chevron,
7529
7528
  d: mdiChevronRight,
7530
- size: "1em"
7531
- }, null, 3, "wL_2"), 1, "wL_3")
7532
- ], 1, "wL_4")), 0, "wL_5");
7529
+ size: "1rem"
7530
+ }, null, 3, "wL_1")
7531
+ ], 1, "wL_2")), 0, "wL_3");
7533
7532
  }, "ElmBreadcrumb_component_Bm4cHEZjNRM"));
7534
7533
  const wrapper = "_wrapper_1uubg_1";
7535
7534
  const partial = "_partial_1uubg_30";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1",
3
- "manifestHash": "ragusb",
3
+ "manifestHash": "c4uot7",
4
4
  "options": {
5
5
  "target": "lib",
6
6
  "buildMode": "development",
@@ -30,8 +30,8 @@
30
30
  "mapping": {},
31
31
  "bundles": {
32
32
  "../index.qwik.cjs": {
33
- "size": 524122,
34
- "total": 524122,
33
+ "size": 523950,
34
+ "total": 523950,
35
35
  "origins": [
36
36
  "src/components/a2ui/catalog/basic-catalog.tsx",
37
37
  "src/components/a2ui/catalog/block-catalog.tsx",
@@ -199,7 +199,6 @@
199
199
  "src/hooks/use-throttled-signal.ts",
200
200
  "src/hooks/use-throttled-store.ts",
201
201
  "src/index.ts",
202
- "src/styles/global.css",
203
202
  "src/styles/text.module.css"
204
203
  ],
205
204
  "interactivity": 0
@@ -208,7 +207,7 @@
208
207
  "assets": {
209
208
  "style.css": {
210
209
  "name": "style.css.css",
211
- "size": 77522
210
+ "size": 69802
212
211
  },
213
212
  "assets/bundle-graph.BqrDAOEV.json": {
214
213
  "name": "bundle-graph.json",
package/lib/style.css CHANGED
@@ -1,221 +1,3 @@
1
- :root {
2
- /* === PRIMITIVE LAYER === */
3
- --elmethis-primitive-color-red-100: #e9dddd;
4
- --elmethis-primitive-color-red-500: #ae6e6e;
5
- --elmethis-primitive-color-red-900: #291313;
6
-
7
- --elmethis-primitive-color-orange-100: #ebdfdb;
8
- --elmethis-primitive-color-orange-500: #b8816e;
9
- --elmethis-primitive-color-orange-900: #3f251c;
10
-
11
- --elmethis-primitive-color-yellow-100: #ebe6db;
12
- --elmethis-primitive-color-yellow-500: #b09a66;
13
- --elmethis-primitive-color-yellow-900: #332b19;
14
-
15
- --elmethis-primitive-color-green-100: #dde9e2;
16
- --elmethis-primitive-color-green-500: #659878;
17
- --elmethis-primitive-color-green-900: #15281d;
18
-
19
- --elmethis-primitive-color-cyan-100: #dde9e7;
20
- --elmethis-primitive-color-cyan-500: #6091a0;
21
- --elmethis-primitive-color-cyan-900: #203b37;
22
-
23
- --elmethis-primitive-color-blue-100: #dde2e9;
24
- --elmethis-primitive-color-blue-500: #68779f;
25
- --elmethis-primitive-color-blue-900: #242d3e;
26
-
27
- --elmethis-primitive-color-purple-100: #e3dde9;
28
- --elmethis-primitive-color-purple-500: #8d799f;
29
- --elmethis-primitive-color-purple-900: #271836;
30
-
31
- --elmethis-primitive-color-magenta-100: #eadce4;
32
- --elmethis-primitive-color-magenta-500: #b17396;
33
- --elmethis-primitive-color-magenta-900: #3c1f2f;
34
-
35
- --elmethis-primitive-color-slate-100: #d7d9e1;
36
- --elmethis-primitive-color-slate-200: #b0b5be;
37
- --elmethis-primitive-color-slate-300: #949ba7;
38
- --elmethis-primitive-color-slate-400: #6c7483;
39
- --elmethis-primitive-color-slate-500: #555b67;
40
- --elmethis-primitive-color-slate-600: #40444c;
41
- --elmethis-primitive-color-slate-700: #393e46;
42
- --elmethis-primitive-color-slate-800: #31353a;
43
- --elmethis-primitive-color-slate-900: #242629;
44
-
45
- --elmethis-primitive-color-gold-100: #f7f5f4;
46
- --elmethis-primitive-color-gold-200: #efecea;
47
- --elmethis-primitive-color-gold-300: #d9d3cc;
48
- --elmethis-primitive-color-gold-400: #cabfb2;
49
- --elmethis-primitive-color-gold-500: #c6b5a2;
50
- --elmethis-primitive-color-gold-600: #bda68b;
51
- --elmethis-primitive-color-gold-700: #a68c70;
52
- --elmethis-primitive-color-gold-800: #8e7356;
53
- --elmethis-primitive-color-gold-900: #6e583f;
54
-
55
- --elmethis-primitive-font-family-monospace:
56
- "DM Mono", "Source Code Pro", Menlo, Consolas, "DejaVu Sans Mono", monospace;
57
-
58
- /*
59
- Light:
60
- Background: Gold
61
- Foreground Normal: Slate
62
- Foreground Accent: Gold
63
- Dark:
64
- Background: Slate
65
- Foreground Normal: Slate
66
- Foreground Accent: Gold
67
-
68
- Theme switching is native: each themed token below is a
69
- `light-dark(<light>, <dark>)` value that resolves against the computed
70
- `color-scheme`. The default `color-scheme: light dark` follows the OS
71
- (`prefers-color-scheme`); pinning `color-scheme: light | dark` on the
72
- root element (see `useElmethisTheme`) forces a specific theme.
73
- */
74
- color-scheme: light dark;
75
-
76
- /* === SEMANTIC LAYER === */
77
-
78
- /* COMMON (theme-independent) */
79
- --elmethis-margin-block-start: 2rem;
80
-
81
- --elmethis-font-family-monospace: var(
82
- --elmethis-primitive-font-family-monospace
83
- );
84
-
85
- --elmethis-color-accent-link: var(--elmethis-primitive-color-blue-500);
86
- --elmethis-color-accent-link-visited: var(
87
- --elmethis-primitive-color-purple-500
88
- );
89
-
90
- --elmethis-color-primary-hover: oklch(
91
- from var(--elmethis-color-primary) l c h / 15%
92
- );
93
-
94
- /* SURFACES */
95
-
96
- /* Header background */
97
- --elmethis-color-surface-sunken: light-dark(
98
- var(--elmethis-primitive-color-gold-300),
99
- var(--elmethis-primitive-color-slate-800)
100
- );
101
- /* Body background */
102
- --elmethis-color-surface-base: light-dark(
103
- var(--elmethis-primitive-color-gold-200),
104
- var(--elmethis-primitive-color-slate-700)
105
- );
106
- /* a surface lifted above its neighbors */
107
- --elmethis-color-surface-raised: light-dark(
108
- var(--elmethis-primitive-color-gold-100),
109
- var(--elmethis-primitive-color-slate-600)
110
- );
111
-
112
- /* NEUTRAL */
113
- --elmethis-color-neutral-weak: var(--elmethis-primitive-color-slate-300);
114
- --elmethis-color-neutral: light-dark(
115
- var(--elmethis-primitive-color-slate-400),
116
- var(--elmethis-primitive-color-slate-200)
117
- );
118
- --elmethis-color-neutral-strong: light-dark(
119
- var(--elmethis-primitive-color-slate-500),
120
- var(--elmethis-primitive-color-slate-100)
121
- );
122
-
123
- /* PRIMARY */
124
- --elmethis-color-primary-weak: var(--elmethis-primitive-color-gold-600);
125
- --elmethis-color-primary: light-dark(
126
- var(--elmethis-primitive-color-gold-700),
127
- var(--elmethis-primitive-color-gold-500)
128
- );
129
- --elmethis-color-primary-strong: light-dark(
130
- var(--elmethis-primitive-color-gold-800),
131
- var(--elmethis-primitive-color-gold-400)
132
- );
133
-
134
- --elmethis-box-shadow-color: light-dark(
135
- oklch(from #3e434b l c h / 0.25),
136
- var(--elmethis-primitive-color-slate-900)
137
- );
138
-
139
- /* ACCENTS */
140
- --elmethis-color-accent-info: var(--elmethis-primitive-color-blue-500);
141
- --elmethis-color-accent-info-surface: light-dark(
142
- var(--elmethis-primitive-color-blue-100),
143
- var(--elmethis-primitive-color-blue-900)
144
- );
145
-
146
- --elmethis-color-accent-success: var(--elmethis-primitive-color-green-500);
147
- --elmethis-color-accent-success-surface: light-dark(
148
- var(--elmethis-primitive-color-green-100),
149
- var(--elmethis-primitive-color-green-900)
150
- );
151
-
152
- --elmethis-color-accent-important: var(--elmethis-primitive-color-purple-500);
153
- --elmethis-color-accent-important-surface: light-dark(
154
- var(--elmethis-primitive-color-purple-100),
155
- var(--elmethis-primitive-color-purple-900)
156
- );
157
-
158
- --elmethis-color-accent-warning: var(--elmethis-primitive-color-yellow-500);
159
- --elmethis-color-accent-warning-surface: light-dark(
160
- var(--elmethis-primitive-color-yellow-100),
161
- var(--elmethis-primitive-color-yellow-900)
162
- );
163
-
164
- --elmethis-color-accent-error: var(--elmethis-primitive-color-red-500);
165
- --elmethis-color-accent-error-surface: light-dark(
166
- var(--elmethis-primitive-color-red-100),
167
- var(--elmethis-primitive-color-red-900)
168
- );
169
-
170
- /* DISPLAY */
171
- --elmethis-color-display-red: var(--elmethis-primitive-color-red-500);
172
- --elmethis-color-display-red-surface: light-dark(
173
- var(--elmethis-primitive-color-red-100),
174
- var(--elmethis-primitive-color-red-900)
175
- );
176
-
177
- --elmethis-color-display-orange: var(--elmethis-primitive-color-orange-500);
178
- --elmethis-color-display-orange-surface: light-dark(
179
- var(--elmethis-primitive-color-orange-100),
180
- var(--elmethis-primitive-color-orange-900)
181
- );
182
-
183
- --elmethis-color-display-yellow: var(--elmethis-primitive-color-yellow-500);
184
- --elmethis-color-display-yellow-surface: light-dark(
185
- var(--elmethis-primitive-color-yellow-100),
186
- var(--elmethis-primitive-color-yellow-900)
187
- );
188
-
189
- --elmethis-color-display-green: var(--elmethis-primitive-color-green-500);
190
- --elmethis-color-display-green-surface: light-dark(
191
- var(--elmethis-primitive-color-green-100),
192
- var(--elmethis-primitive-color-green-900)
193
- );
194
-
195
- --elmethis-color-display-cyan: var(--elmethis-primitive-color-cyan-500);
196
- --elmethis-color-display-cyan-surface: light-dark(
197
- var(--elmethis-primitive-color-cyan-100),
198
- var(--elmethis-primitive-color-cyan-900)
199
- );
200
-
201
- --elmethis-color-display-blue: var(--elmethis-primitive-color-blue-500);
202
- --elmethis-color-display-blue-surface: light-dark(
203
- var(--elmethis-primitive-color-blue-100),
204
- var(--elmethis-primitive-color-blue-900)
205
- );
206
-
207
- --elmethis-color-display-purple: var(--elmethis-primitive-color-purple-500);
208
- --elmethis-color-display-purple-surface: light-dark(
209
- var(--elmethis-primitive-color-purple-100),
210
- var(--elmethis-primitive-color-purple-900)
211
- );
212
-
213
- --elmethis-color-display-magenta: var(--elmethis-primitive-color-magenta-500);
214
- --elmethis-color-display-magenta-surface: light-dark(
215
- var(--elmethis-primitive-color-magenta-100),
216
- var(--elmethis-primitive-color-magenta-900)
217
- );
218
- }
219
1
  ._elm-tabs_4ntkf_1 {
220
2
  margin-block-start: var(--elmethis-margin-block-start);
221
3
  display: flex;
@@ -1550,7 +1332,7 @@
1550
1332
  color 400ms;
1551
1333
  border-bottom: 2px solid var(--elmethis-color-primary-weak);
1552
1334
  }
1553
- ._tr_14q3t_1 {
1335
+ ._tr_8c0na_1 {
1554
1336
  transition: background-color 200ms;
1555
1337
 
1556
1338
  &:nth-child(odd) {
@@ -1558,7 +1340,7 @@
1558
1340
  }
1559
1341
 
1560
1342
  &:nth-child(even) {
1561
- background-color: var(--elmethis-color-surface);
1343
+ background-color: var(--elmethis-color-surface-base);
1562
1344
  }
1563
1345
 
1564
1346
  &:hover {
@@ -3045,7 +2827,7 @@ select._field-input_8yo2s_157 {
3045
2827
  box-shadow: 0 0 0.125rem light-dark(rgb(0 0 0 / 30%), rgb(0 0 0 / 60%));
3046
2828
  background-color: light-dark(rgb(255 255 255 / 20%), rgb(0 0 0 / 20%));
3047
2829
  }
3048
- ._container_fdajv_1 {
2830
+ ._container_19tkl_1 {
3049
2831
  display: flex;
3050
2832
  flex-flow: row wrap;
3051
2833
  align-items: center;
@@ -3053,11 +2835,11 @@ select._field-input_8yo2s_157 {
3053
2835
  user-select: none;
3054
2836
  }
3055
2837
 
3056
- ._link-container_fdajv_9 {
2838
+ ._link-container_19tkl_9 {
3057
2839
  display: flex;
3058
2840
  flex-direction: row;
3059
2841
  align-items: center;
3060
- gap: 0;
2842
+ gap: 0.25rem;
3061
2843
  box-sizing: border-box;
3062
2844
  padding: 0.25rem;
3063
2845
  border-radius: 0.25rem;
@@ -3067,26 +2849,25 @@ select._field-input_8yo2s_157 {
3067
2849
  opacity 100ms,
3068
2850
  transform 100ms;
3069
2851
 
3070
- ._icon_fdajv_23 {
2852
+ ._icon_19tkl_23 {
3071
2853
  color: var(--elmethis-color-neutral);
3072
2854
  }
3073
2855
 
3074
2856
  &:hover {
3075
2857
  background-color: oklch(from var(--elmethis-color-primary) l c h / 25%);
3076
- transform: translateX(-1px) translateY(-1px);
3077
2858
  }
3078
2859
 
3079
2860
  &:active {
3080
- opacity: 0.5;
3081
- transform: translateX(1px) translateY(1px);
2861
+ background-color: oklch(from var(--elmethis-color-primary) l c h / 50%);
3082
2862
  }
3083
2863
  }
3084
2864
 
3085
- ._chunk_fdajv_38 {
3086
- padding: 0 0.25rem;
2865
+ ._chunk_19tkl_36 {
2866
+ color: var(--elmethis-color-neutral);
2867
+ user-select: none;
3087
2868
  }
3088
2869
 
3089
- ._chevron_fdajv_42 {
2870
+ ._chevron_19tkl_41 {
3090
2871
  padding: 0 0.25rem;
3091
2872
  color: var(--elmethis-color-primary);
3092
2873
  }
@@ -1,4 +1,4 @@
1
- import "./styles/global.css";
1
+ import "@elmethis/core/tokens.css";
2
2
  export { ElmA2ui, type ElmA2uiProps, A2uiSurface, type A2uiSurfaceProps, } from "./components/a2ui/elm-a2ui";
3
3
  export { ComponentHost, ROOT_COMPONENT_ID, A2uiSurfaceContext, A2uiCatalogContext, } from "./components/a2ui/component-host";
4
4
  export { CatalogRenderer, defineRenderer, type RenderArgs, type RenderFn, type RendererEntry, type ChildRef, } from "./components/a2ui/catalog/catalog";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elmethis/qwik",
3
- "version": "1.0.0-alpha.22",
3
+ "version": "1.0.0-alpha.24",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -40,7 +40,7 @@
40
40
  "devDependencies": {
41
41
  "@eslint/js": "latest",
42
42
  "@qwik.dev/core": "2.0.0-beta.36",
43
- "@storybook/addon-docs": "^10.4.3",
43
+ "@storybook/addon-docs": "^10.4.4",
44
44
  "@types/lodash-es": "^4.17.12",
45
45
  "@types/node": "25.7.0",
46
46
  "@vitest/ui": "^4.1.8",
@@ -50,8 +50,8 @@
50
50
  "happy-dom": "^20.10.2",
51
51
  "jarkup-ts": "^0.14.0",
52
52
  "np": "^11.2.1",
53
- "prettier": "3.8.3",
54
- "storybook": "^10.4.3",
53
+ "prettier": "3.8.4",
54
+ "storybook": "^10.4.4",
55
55
  "storybook-framework-qwik": "0.6.2--canary.95.25602496384.0",
56
56
  "stylelint": "^17.13.0",
57
57
  "stylelint-config-css-modules": "^4.6.0",
@@ -80,7 +80,7 @@
80
80
  "uuid": "^14.0.0",
81
81
  "zod": "^3",
82
82
  "zod-to-json-schema": "^3.25.2",
83
- "@elmethis/core": "^0.9.2"
83
+ "@elmethis/core": "^0.10.0"
84
84
  },
85
85
  "peerDependencies": {
86
86
  "@qwik.dev/core": ">=2.0.0-beta.31"