@elmethis/qwik 1.0.0-alpha.25 → 1.0.0-alpha.27

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1",
3
- "manifestHash": "vqipc6",
3
+ "manifestHash": "hmurka",
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": 521571,
34
- "total": 521571,
33
+ "size": 467302,
34
+ "total": 467302,
35
35
  "origins": [
36
36
  "src/components/a2ui/catalog/basic-catalog.tsx",
37
37
  "src/components/a2ui/catalog/block-catalog.tsx",
@@ -114,25 +114,7 @@
114
114
  "src/components/icon/elm-square-loading-icon.tsx",
115
115
  "src/components/icon/elm-toggle-theme.module.css",
116
116
  "src/components/icon/elm-toggle-theme.tsx",
117
- "src/components/icon/languages/bash.module.css",
118
- "src/components/icon/languages/bash.tsx",
119
- "src/components/icon/languages/c-plus-plus.tsx",
120
- "src/components/icon/languages/c-sharp.tsx",
121
- "src/components/icon/languages/c.tsx",
122
- "src/components/icon/languages/css.tsx",
123
- "src/components/icon/languages/go.tsx",
124
- "src/components/icon/languages/html.tsx",
125
- "src/components/icon/languages/java.tsx",
126
- "src/components/icon/languages/javascript.tsx",
127
- "src/components/icon/languages/json.tsx",
128
- "src/components/icon/languages/kotlin.tsx",
129
- "src/components/icon/languages/lua.tsx",
130
- "src/components/icon/languages/npm.tsx",
131
- "src/components/icon/languages/python.tsx",
132
- "src/components/icon/languages/rust.tsx",
133
- "src/components/icon/languages/sql.tsx",
134
- "src/components/icon/languages/terraform.tsx",
135
- "src/components/icon/languages/typescript.tsx",
117
+ "src/components/icon/language-glyph.tsx",
136
118
  "src/components/media/elm-block-image.module.css",
137
119
  "src/components/media/elm-block-image.tsx",
138
120
  "src/components/media/elm-file.module.css",
@@ -147,8 +129,6 @@
147
129
  "src/components/others/elm-color-primitive-sample.tsx",
148
130
  "src/components/others/elm-color-semantic-sample.module.css",
149
131
  "src/components/others/elm-color-semantic-sample.tsx",
150
- "src/components/others/elm-jarkup.module.css",
151
- "src/components/others/elm-jarkup.tsx",
152
132
  "src/components/others/elm-markdown.module.css",
153
133
  "src/components/others/elm-markdown.tsx",
154
134
  "src/components/others/use-wordle.module.css",
@@ -205,7 +185,7 @@
205
185
  "assets": {
206
186
  "style.css": {
207
187
  "name": "style.css.css",
208
- "size": 69485
188
+ "size": 69011
209
189
  },
210
190
  "assets/bundle-graph.BqrDAOEV.json": {
211
191
  "name": "bundle-graph.json",
package/lib/style.css CHANGED
@@ -708,9 +708,6 @@
708
708
  overflow-x: auto;
709
709
  scrollbar-width: thin;
710
710
  }
711
- ._path_1aa0a_1 {
712
- fill: light-dark(#293138, #d2dbe3);
713
- }
714
711
  ._elm-mdi-icon_ihskx_1 {
715
712
  fill: light-dark(
716
713
  var(--elmethis-scoped-color, #555b67),
@@ -3173,24 +3170,6 @@ select._field-input_8yo2s_157 {
3173
3170
  text-align: center;
3174
3171
  }
3175
3172
  }
3176
- ._column-list_1uevw_1 {
3177
- margin-block-start: var(--elmethis-margin-block-start);
3178
- box-sizing: content-box;
3179
- padding-block: 0.25rem;
3180
- width: 100%;
3181
- display: flex;
3182
- flex-direction: row;
3183
- gap: 0.25rem;
3184
- justify-content: space-around;
3185
- overflow: auto;
3186
- }
3187
-
3188
- ._column_1uevw_1 {
3189
- margin-block-start: var(--elmethis-margin-block-start);
3190
- box-sizing: border-box;
3191
- padding: 0.125rem;
3192
- flex: var(--width-ratio, 1);
3193
- }
3194
3173
  ._elm-wordle_1llms_1 {
3195
3174
  display: flex;
3196
3175
  flex-direction: column;
@@ -1,6 +1,6 @@
1
- import { Component, type CSSProperties } from "@qwik.dev/core";
2
- export declare const LANGUAGES: readonly ["rust", "javascript", "typescript", "shell", "terraform", "html", "css", "npm", "java", "kotlin", "go", "python", "sql", "json", "lua", "csharp", "cpp", "c", "file"];
3
- export type Language = (typeof LANGUAGES)[number];
1
+ import { type CSSProperties } from "@qwik.dev/core";
2
+ import { LANGUAGES, type Language } from "@elmethis/core";
3
+ export { LANGUAGES, type Language };
4
4
  export interface ElmLanguageIconProps {
5
5
  class?: string;
6
6
  style?: CSSProperties;
@@ -13,4 +13,4 @@ export interface ElmLanguageIconProps {
13
13
  */
14
14
  language: Language | string;
15
15
  }
16
- export declare const ElmLanguageIcon: Component<ElmLanguageIconProps>;
16
+ export declare const ElmLanguageIcon: import("@qwik.dev/core").Component<ElmLanguageIconProps>;
@@ -0,0 +1,14 @@
1
+ import { type CSSProperties } from "@qwik.dev/core";
2
+ import type { LanguageIcon } from "@elmethis/core";
3
+ export interface LanguageGlyphProps {
4
+ icon: LanguageIcon;
5
+ size?: number | string;
6
+ class?: string;
7
+ style?: CSSProperties;
8
+ }
9
+ /**
10
+ * Renders a framework-agnostic {@link LanguageIcon} from `@elmethis/core` into
11
+ * an `<svg>`. Gradient ids are scoped per instance so repeated glyphs on one
12
+ * page don't collide.
13
+ */
14
+ export declare const LanguageGlyph: import("@qwik.dev/core").Component<LanguageGlyphProps>;
@@ -65,7 +65,6 @@ export { ElmBreadcrumb, type ElmBreadcrumbProps, } from "./components/navigation
65
65
  export { ElmPageTop, type ElmPageTopProps, } from "./components/navigation/elm-page-top";
66
66
  export { ElmColorPrimitiveSample, type ElmColorPrimitiveSampleProps, } from "./components/others/elm-color-primitive-sample";
67
67
  export { ElmColorSemanticSample, type ElmColorSemanticSampleProps, } from "./components/others/elm-color-semantic-sample";
68
- export { ElmJarkup, type ElmJarkupProps } from "./components/others/elm-jarkup";
69
68
  export { ElmMarkdown, type ElmMarkdownProps, } from "./components/others/elm-markdown";
70
69
  export { useWordle, type UseWordleOptions, type LetterResult, type LetterStatus, type GameStatus, } from "./components/others/use-wordle";
71
70
  export { ElmTable, type ElmTableProps } from "./components/table/elm-table";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elmethis/qwik",
3
- "version": "1.0.0-alpha.25",
3
+ "version": "1.0.0-alpha.27",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -50,7 +50,6 @@
50
50
  "eslint-plugin-qwik": "2.0.0-beta.37",
51
51
  "globals": "17.6.0",
52
52
  "happy-dom": "^20.10.2",
53
- "jarkup-ts": "^0.14.0",
54
53
  "np": "^11.2.1",
55
54
  "playwright": "^1.60.0",
56
55
  "prettier": "3.8.4",
@@ -71,8 +70,8 @@
71
70
  "dependencies": {
72
71
  "@46ki75/ikuma-theme": "^0.0.10",
73
72
  "@a2ui/web_core": "^0.10.0",
74
- "@ag-ui/client": "^0.0.55",
75
- "@ag-ui/core": "^0.0.55",
73
+ "@ag-ui/client": "^0.0.57",
74
+ "@ag-ui/core": "^0.0.57",
76
75
  "@formkit/auto-animate": "^0.9.0",
77
76
  "@mdi/js": "^7.4.47",
78
77
  "@modelcontextprotocol/sdk": "^1.29.0",
@@ -84,7 +83,7 @@
84
83
  "uuid": "^14.0.0",
85
84
  "zod": "^3",
86
85
  "zod-to-json-schema": "^3.25.2",
87
- "@elmethis/core": "^0.10.0"
86
+ "@elmethis/core": "^0.11.0"
88
87
  },
89
88
  "peerDependencies": {
90
89
  "@qwik.dev/core": ">=2.0.0-beta.31"
@@ -105,8 +104,8 @@
105
104
  "test.unit": "vitest --run",
106
105
  "test.browser": "vitest --run --config vitest.browser.config.ts",
107
106
  "test.build": "pnpm run build && pnpm run build-storybook",
108
- "check": "concurrently -g \"pnpm:fmt.check\" \"pnpm:lint\" \"pnpm:lint.css\" \"pnpm:test.unit\"",
109
- "check.ci": "concurrently -g \"pnpm:check\" \"pnpm:test.browser\" \"pnpm:test.build\"",
107
+ "check": "concurrently -g \"pnpm:fmt.check\" \"pnpm:lint\" \"pnpm:lint.css\" \"pnpm:build.types\" \"pnpm:test.unit\" \"pnpm:test.browser\"",
108
+ "check.ci": "concurrently -g \"pnpm:check\" \"pnpm:test.build\"",
110
109
  "qwik": "qwik"
111
110
  }
112
111
  }