@elmethis/qwik 0.1.0-alpha.8 → 1.0.0-alpha.9
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/lib/index.qwik.cjs +13 -17
- package/lib/index.qwik.mjs +13 -17
- package/lib/q-manifest.json +4 -4
- package/lib/style.css +48 -38
- package/lib-types/components/others/elm-color-token-sample.d.ts +6 -0
- package/lib-types/components/others/elm-color-token-sample.stories.d.ts +6 -0
- package/package.json +1 -1
package/lib/index.qwik.cjs
CHANGED
|
@@ -2874,10 +2874,10 @@ const ElmTableCell = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ core$1.
|
|
|
2874
2874
|
...core$1._getVarProps(rest)
|
|
2875
2875
|
}, core$1._getConstProps(rest), props.text != null ? props.text : /* @__PURE__ */ core$1._jsxSorted(core$1.Slot, null, null, null, 3, "Vm_2"), 0, "Vm_3");
|
|
2876
2876
|
}, "ElmTableCell_component_cdS0ELa7S1k"));
|
|
2877
|
-
const unsupported = "
|
|
2878
|
-
const message = "
|
|
2879
|
-
const icon$2 = "
|
|
2880
|
-
const details = "
|
|
2877
|
+
const unsupported = "_unsupported_1nmw6_1";
|
|
2878
|
+
const message = "_message_1nmw6_18";
|
|
2879
|
+
const icon$2 = "_icon_1nmw6_25";
|
|
2880
|
+
const details = "_details_1nmw6_29";
|
|
2881
2881
|
const styles$t = {
|
|
2882
2882
|
unsupported,
|
|
2883
2883
|
message,
|
|
@@ -2907,15 +2907,11 @@ const ElmUnsupportedBlock = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */
|
|
|
2907
2907
|
}, /* @__PURE__ */ core$1._jsxSorted("path", null, {
|
|
2908
2908
|
d: "M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"
|
|
2909
2909
|
}, null, 3, null), 3, null),
|
|
2910
|
-
/* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null,
|
|
2911
|
-
color: "var(--elmethis-color-mono-common-fg-weak)"
|
|
2912
|
-
}, "UNSUPPORTED BLOCK", 3, "90_0")
|
|
2910
|
+
/* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null, null, "UNSUPPORTED BLOCK", 3, "90_0")
|
|
2913
2911
|
], 1, null),
|
|
2914
2912
|
_rawProps.details && /* @__PURE__ */ core$1._jsxSorted("div", null, {
|
|
2915
2913
|
class: styles$t.details
|
|
2916
|
-
}, /* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null,
|
|
2917
|
-
color: "var(--elmethis-color-mono-common-fg-weak)"
|
|
2918
|
-
}, core$1._wrapProp(_rawProps, "details"), 1, "90_1"), 1, "90_2")
|
|
2914
|
+
}, /* @__PURE__ */ core$1._jsxSorted(ElmInlineText, null, null, core$1._wrapProp(_rawProps, "details"), 1, "90_1"), 1, "90_2")
|
|
2919
2915
|
], 0, "90_3");
|
|
2920
2916
|
}, "ElmUnsupportedBlock_component_yKqwfnlPSP4"));
|
|
2921
2917
|
const _hf0$m = (p0) => p0.props.color;
|
|
@@ -5646,13 +5642,13 @@ const ElmBlockFallback = /* @__PURE__ */ core$1.componentQrl(/* @__PURE__ */ cor
|
|
|
5646
5642
|
/* @__PURE__ */ core$1._jsxSorted(ElmRectangleWave, null, null, null, 3, "Jl_1")
|
|
5647
5643
|
], 0, "Jl_2");
|
|
5648
5644
|
}, "ElmBlockFallback_component_R0mGF6D5fyk"));
|
|
5649
|
-
const button = "
|
|
5650
|
-
const normal = "
|
|
5651
|
-
const primary = "
|
|
5652
|
-
const colored = "
|
|
5653
|
-
const enable = "
|
|
5654
|
-
const flex = "
|
|
5655
|
-
const ripple = "
|
|
5645
|
+
const button = "_button_1739c_1";
|
|
5646
|
+
const normal = "_normal_1739c_23";
|
|
5647
|
+
const primary = "_primary_1739c_28";
|
|
5648
|
+
const colored = "_colored_1739c_33";
|
|
5649
|
+
const enable = "_enable_1739c_37";
|
|
5650
|
+
const flex = "_flex_1739c_68";
|
|
5651
|
+
const ripple = "_ripple_1739c_92";
|
|
5656
5652
|
const styles$e = {
|
|
5657
5653
|
button,
|
|
5658
5654
|
normal,
|
package/lib/index.qwik.mjs
CHANGED
|
@@ -2852,10 +2852,10 @@ const ElmTableCell = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
|
|
|
2852
2852
|
..._getVarProps(rest)
|
|
2853
2853
|
}, _getConstProps(rest), props.text != null ? props.text : /* @__PURE__ */ _jsxSorted(Slot, null, null, null, 3, "Vm_2"), 0, "Vm_3");
|
|
2854
2854
|
}, "ElmTableCell_component_cdS0ELa7S1k"));
|
|
2855
|
-
const unsupported = "
|
|
2856
|
-
const message = "
|
|
2857
|
-
const icon$2 = "
|
|
2858
|
-
const details = "
|
|
2855
|
+
const unsupported = "_unsupported_1nmw6_1";
|
|
2856
|
+
const message = "_message_1nmw6_18";
|
|
2857
|
+
const icon$2 = "_icon_1nmw6_25";
|
|
2858
|
+
const details = "_details_1nmw6_29";
|
|
2859
2859
|
const styles$t = {
|
|
2860
2860
|
unsupported,
|
|
2861
2861
|
message,
|
|
@@ -2885,15 +2885,11 @@ const ElmUnsupportedBlock = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlined
|
|
|
2885
2885
|
}, /* @__PURE__ */ _jsxSorted("path", null, {
|
|
2886
2886
|
d: "M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"
|
|
2887
2887
|
}, null, 3, null), 3, null),
|
|
2888
|
-
/* @__PURE__ */ _jsxSorted(ElmInlineText, null,
|
|
2889
|
-
color: "var(--elmethis-color-mono-common-fg-weak)"
|
|
2890
|
-
}, "UNSUPPORTED BLOCK", 3, "90_0")
|
|
2888
|
+
/* @__PURE__ */ _jsxSorted(ElmInlineText, null, null, "UNSUPPORTED BLOCK", 3, "90_0")
|
|
2891
2889
|
], 1, null),
|
|
2892
2890
|
_rawProps.details && /* @__PURE__ */ _jsxSorted("div", null, {
|
|
2893
2891
|
class: styles$t.details
|
|
2894
|
-
}, /* @__PURE__ */ _jsxSorted(ElmInlineText, null,
|
|
2895
|
-
color: "var(--elmethis-color-mono-common-fg-weak)"
|
|
2896
|
-
}, _wrapProp(_rawProps, "details"), 1, "90_1"), 1, "90_2")
|
|
2892
|
+
}, /* @__PURE__ */ _jsxSorted(ElmInlineText, null, null, _wrapProp(_rawProps, "details"), 1, "90_1"), 1, "90_2")
|
|
2897
2893
|
], 0, "90_3");
|
|
2898
2894
|
}, "ElmUnsupportedBlock_component_yKqwfnlPSP4"));
|
|
2899
2895
|
const _hf0$m = (p0) => p0.props.color;
|
|
@@ -5624,13 +5620,13 @@ const ElmBlockFallback = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl
|
|
|
5624
5620
|
/* @__PURE__ */ _jsxSorted(ElmRectangleWave, null, null, null, 3, "Jl_1")
|
|
5625
5621
|
], 0, "Jl_2");
|
|
5626
5622
|
}, "ElmBlockFallback_component_R0mGF6D5fyk"));
|
|
5627
|
-
const button = "
|
|
5628
|
-
const normal = "
|
|
5629
|
-
const primary = "
|
|
5630
|
-
const colored = "
|
|
5631
|
-
const enable = "
|
|
5632
|
-
const flex = "
|
|
5633
|
-
const ripple = "
|
|
5623
|
+
const button = "_button_1739c_1";
|
|
5624
|
+
const normal = "_normal_1739c_23";
|
|
5625
|
+
const primary = "_primary_1739c_28";
|
|
5626
|
+
const colored = "_colored_1739c_33";
|
|
5627
|
+
const enable = "_enable_1739c_37";
|
|
5628
|
+
const flex = "_flex_1739c_68";
|
|
5629
|
+
const ripple = "_ripple_1739c_92";
|
|
5634
5630
|
const styles$e = {
|
|
5635
5631
|
button,
|
|
5636
5632
|
normal,
|
package/lib/q-manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1",
|
|
3
|
-
"manifestHash": "
|
|
3
|
+
"manifestHash": "6169jk",
|
|
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":
|
|
34
|
-
"total":
|
|
33
|
+
"size": 509989,
|
|
34
|
+
"total": 509989,
|
|
35
35
|
"origins": [
|
|
36
36
|
"src/components/a2ui/catalog/basic-catalog.tsx",
|
|
37
37
|
"src/components/a2ui/catalog/block-catalog.tsx",
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
"assets": {
|
|
209
209
|
"style.css": {
|
|
210
210
|
"name": "style.css.css",
|
|
211
|
-
"size":
|
|
211
|
+
"size": 72100
|
|
212
212
|
},
|
|
213
213
|
"assets/bundle-graph.BqrDAOEV.json": {
|
|
214
214
|
"name": "bundle-graph.json",
|
package/lib/style.css
CHANGED
|
@@ -73,38 +73,44 @@
|
|
|
73
73
|
|
|
74
74
|
/* COMMON */
|
|
75
75
|
|
|
76
|
-
--elmethis-color-mono-common-bg-weak: #d7d9e1;
|
|
76
|
+
/* --elmethis-color-mono-common-bg-weak: #d7d9e1;
|
|
77
77
|
--elmethis-color-mono-common-bg: #b0b5be;
|
|
78
78
|
--elmethis-color-mono-common-bg-strong: #949ba7;
|
|
79
79
|
|
|
80
80
|
--elmethis-color-mono-common-fg-weak: #6c7483;
|
|
81
81
|
--elmethis-color-mono-common-fg: #555b67;
|
|
82
|
-
--elmethis-color-mono-common-fg-strong: #3e434b;
|
|
82
|
+
--elmethis-color-mono-common-fg-strong: #3e434b; */
|
|
83
83
|
|
|
84
|
-
--elmethis-color-primary-common-bg-weak: #
|
|
85
|
-
--elmethis-color-primary-common-bg: #
|
|
84
|
+
/* --elmethis-color-primary-common-bg-weak: #b3a090;
|
|
85
|
+
--elmethis-color-primary-common-bg: #bbada1;
|
|
86
|
+
--elmethis-color-primary-common-bg-strong: #d4c6ba; */
|
|
86
87
|
|
|
87
|
-
--elmethis-color-primary-common-fg-weak: #c1a882;
|
|
88
|
+
/* --elmethis-color-primary-common-fg-weak: #c1a882;
|
|
88
89
|
--elmethis-color-primary-common-fg: #ac936d;
|
|
90
|
+
--elmethis-color-primary-common-fg-strong: #967e5b; */
|
|
89
91
|
|
|
90
92
|
--elmethis-margin-block-start: 2rem;
|
|
91
93
|
|
|
92
94
|
/* LIGHT */
|
|
93
95
|
|
|
94
|
-
--elmethis-color-primary-hover: oklch(
|
|
95
|
-
from var(--elmethis-color-primary-common-fg-weak) l c h / 25%
|
|
96
|
-
);
|
|
96
|
+
--elmethis-color-primary-hover: oklch(from #c1a882 l c h / 25%);
|
|
97
97
|
--elmethis-color-mono-container-default: #f7f5f5;
|
|
98
98
|
--elmethis-color-mono-container-enabled: oklch(from white l c h / 75%);
|
|
99
99
|
--elmethis-color-mono-container-disabled: oklch(from gray l c h / 12.5%);
|
|
100
100
|
|
|
101
101
|
--elmethis-color-mono-bg: var(--elmethis-color-mono-common-bg);
|
|
102
102
|
|
|
103
|
-
--elmethis-color-mono-fg-weak:
|
|
104
|
-
--elmethis-color-mono-fg:
|
|
105
|
-
--elmethis-color-mono-fg-strong:
|
|
103
|
+
--elmethis-color-mono-fg-weak: #6c7483;
|
|
104
|
+
--elmethis-color-mono-fg: #555b67;
|
|
105
|
+
--elmethis-color-mono-fg-strong: #3e434b;
|
|
106
|
+
|
|
107
|
+
--elmethis-color-primary-fg-weak: #bca88a;
|
|
108
|
+
--elmethis-color-primary-fg: #ac936d;
|
|
109
|
+
--elmethis-color-primary-fg-strong: #8b7554;
|
|
106
110
|
|
|
107
|
-
--elmethis-color-
|
|
111
|
+
--elmethis-color-bg-strong: #d9d3cc;
|
|
112
|
+
--elmethis-color-bg: #ebe6e2;
|
|
113
|
+
--elmethis-color-bg-weak: #efecea;
|
|
108
114
|
|
|
109
115
|
--elmethis-box-shadow-color: oklch(from #3e434b l c h / 0.25);
|
|
110
116
|
}
|
|
@@ -112,20 +118,24 @@
|
|
|
112
118
|
[data-theme="dark"] {
|
|
113
119
|
/* DARK */
|
|
114
120
|
|
|
115
|
-
--elmethis-color-primary-hover: oklch(
|
|
116
|
-
from var(--elmethis-color-primary-common-fg-weak) l c h / 20%
|
|
117
|
-
);
|
|
121
|
+
--elmethis-color-primary-hover: oklch(from #c1a882 l c h / 20%);
|
|
118
122
|
--elmethis-color-mono-container-default: #2b2f35;
|
|
119
123
|
--elmethis-color-mono-container-enabled: oklch(from white l c h / 12.5%);
|
|
120
124
|
--elmethis-color-mono-container-disabled: oklch(from black l c h / 25%);
|
|
121
125
|
|
|
122
126
|
--elmethis-color-mono-bg: var(--elmethis-color-mono-common-fg);
|
|
123
127
|
|
|
124
|
-
--elmethis-color-mono-fg-weak:
|
|
125
|
-
--elmethis-color-mono-fg:
|
|
126
|
-
--elmethis-color-mono-fg-strong:
|
|
128
|
+
--elmethis-color-mono-fg-weak: #949ba7;
|
|
129
|
+
--elmethis-color-mono-fg: #b0b5be;
|
|
130
|
+
--elmethis-color-mono-fg-strong: #d7d9e1;
|
|
127
131
|
|
|
128
|
-
--elmethis-color-primary-fg:
|
|
132
|
+
--elmethis-color-primary-fg-weak: #b3a090;
|
|
133
|
+
--elmethis-color-primary-fg: #bbada1;
|
|
134
|
+
--elmethis-color-primary-fg-strong: #d4c6ba;
|
|
135
|
+
|
|
136
|
+
--elmethis-color-bg-strong: #242629;
|
|
137
|
+
--elmethis-color-bg: #31353a;
|
|
138
|
+
--elmethis-color-bg-weak: #393e46;
|
|
129
139
|
|
|
130
140
|
--elmethis-box-shadow-color: #242629;
|
|
131
141
|
}
|
|
@@ -1510,7 +1520,7 @@
|
|
|
1510
1520
|
._th_n2t7b_34 {
|
|
1511
1521
|
background-color: rgb(128 128 128 / 15%);
|
|
1512
1522
|
}
|
|
1513
|
-
.
|
|
1523
|
+
._unsupported_1nmw6_1 {
|
|
1514
1524
|
box-sizing: border-box;
|
|
1515
1525
|
padding: 4rem;
|
|
1516
1526
|
margin-block-start: var(--elmethis-margin-block-start);
|
|
@@ -1522,23 +1532,23 @@
|
|
|
1522
1532
|
border: 1px dashed
|
|
1523
1533
|
color-mix(
|
|
1524
1534
|
in srgb,
|
|
1525
|
-
var(--elmethis-color-mono-
|
|
1535
|
+
var(--elmethis-color-mono-fg-weak) 50%,
|
|
1526
1536
|
transparent
|
|
1527
1537
|
);
|
|
1528
1538
|
}
|
|
1529
1539
|
|
|
1530
|
-
.
|
|
1540
|
+
._message_1nmw6_18 {
|
|
1531
1541
|
display: flex;
|
|
1532
1542
|
gap: 0.5rem;
|
|
1533
1543
|
justify-content: center;
|
|
1534
1544
|
align-items: center;
|
|
1535
1545
|
}
|
|
1536
1546
|
|
|
1537
|
-
.
|
|
1538
|
-
fill: var(--elmethis-color-mono-
|
|
1547
|
+
._icon_1nmw6_25 {
|
|
1548
|
+
fill: var(--elmethis-color-mono-fg-weak);
|
|
1539
1549
|
}
|
|
1540
1550
|
|
|
1541
|
-
.
|
|
1551
|
+
._details_1nmw6_29 {
|
|
1542
1552
|
opacity: 0.75;
|
|
1543
1553
|
}
|
|
1544
1554
|
._message-content-assistant-wrapper_80z92_1 {
|
|
@@ -2296,7 +2306,7 @@ select._field-input_8yo2s_157 {
|
|
|
2296
2306
|
animation-delay: 100ms;
|
|
2297
2307
|
}
|
|
2298
2308
|
}
|
|
2299
|
-
.
|
|
2309
|
+
._button_1739c_1 {
|
|
2300
2310
|
all: unset;
|
|
2301
2311
|
position: relative;
|
|
2302
2312
|
overflow: hidden;
|
|
@@ -2318,21 +2328,21 @@ select._field-input_8yo2s_157 {
|
|
|
2318
2328
|
box-shadow: 0 0 0.125rem var(--elmethis-box-shadow-color);
|
|
2319
2329
|
}
|
|
2320
2330
|
|
|
2321
|
-
.
|
|
2322
|
-
color:
|
|
2323
|
-
background-color: var(--elmethis-color-mono-
|
|
2331
|
+
._normal_1739c_23 {
|
|
2332
|
+
color: oklch(from white l c h / 75%);
|
|
2333
|
+
background-color: var(--elmethis-color-mono-fg-weak);
|
|
2324
2334
|
}
|
|
2325
2335
|
|
|
2326
|
-
.
|
|
2327
|
-
color:
|
|
2328
|
-
background-color: var(--elmethis-color-primary-
|
|
2336
|
+
._primary_1739c_28 {
|
|
2337
|
+
color: oklch(from white l c h / 75%);
|
|
2338
|
+
background-color: var(--elmethis-color-primary-fg-weak);
|
|
2329
2339
|
}
|
|
2330
2340
|
|
|
2331
|
-
.
|
|
2341
|
+
._colored_1739c_33 {
|
|
2332
2342
|
background-color: var(--elmethis-scoped-color);
|
|
2333
2343
|
}
|
|
2334
2344
|
|
|
2335
|
-
.
|
|
2345
|
+
._enable_1739c_37 {
|
|
2336
2346
|
transition:
|
|
2337
2347
|
opacity 200ms,
|
|
2338
2348
|
transform 100ms,
|
|
@@ -2363,14 +2373,14 @@ select._field-input_8yo2s_157 {
|
|
|
2363
2373
|
}
|
|
2364
2374
|
}
|
|
2365
2375
|
|
|
2366
|
-
.
|
|
2376
|
+
._flex_1739c_68 {
|
|
2367
2377
|
display: flex;
|
|
2368
2378
|
justify-content: center;
|
|
2369
2379
|
align-items: center;
|
|
2370
2380
|
gap: 0.5rem;
|
|
2371
2381
|
}
|
|
2372
2382
|
|
|
2373
|
-
@keyframes _button-
|
|
2383
|
+
@keyframes _button-ripple_1739c_1 {
|
|
2374
2384
|
0% {
|
|
2375
2385
|
transform: scale(0);
|
|
2376
2386
|
opacity: 1;
|
|
@@ -2387,7 +2397,7 @@ select._field-input_8yo2s_157 {
|
|
|
2387
2397
|
}
|
|
2388
2398
|
}
|
|
2389
2399
|
|
|
2390
|
-
.
|
|
2400
|
+
._ripple_1739c_92 {
|
|
2391
2401
|
position: absolute;
|
|
2392
2402
|
pointer-events: none;
|
|
2393
2403
|
border-radius: 50%;
|
|
@@ -2396,7 +2406,7 @@ select._field-input_8yo2s_157 {
|
|
|
2396
2406
|
aspect-ratio: 1 / 1;
|
|
2397
2407
|
transition: none;
|
|
2398
2408
|
opacity: 0;
|
|
2399
|
-
animation-name: _button-
|
|
2409
|
+
animation-name: _button-ripple_1739c_1;
|
|
2400
2410
|
animation-duration: 300ms;
|
|
2401
2411
|
animation-fill-mode: both;
|
|
2402
2412
|
animation-timing-function: ease-out;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "storybook-framework-qwik";
|
|
2
|
+
import { type ElmColorTokenSampleProps } from "./elm-color-token-sample";
|
|
3
|
+
declare const meta: Meta<ElmColorTokenSampleProps>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<ElmColorTokenSampleProps>;
|
|
6
|
+
export declare const Primary: Story;
|