feather-k-demo-utils 0.0.41 → 0.0.43
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/DemoNotes.vue_vue_type_script_setup_true_lang-Ck_Zaihj.js +127 -0
- package/lib/components/index.es.js +2 -2
- package/lib/index.es.js +3 -3
- package/lib/styles/demo.css +12 -10
- package/lib/utils/index.es.js +3 -3
- package/package.json +1 -1
- package/lib/DemoNotes.vue_vue_type_script_setup_true_lang-Db3MeRJb.js +0 -108
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { defineComponent as v, ref as g, computed as c, openBlock as r, createElementBlock as i, normalizeClass as p, createElementVNode as d, toDisplayString as f, createCommentVNode as _, useSlots as m, renderSlot as b, withModifiers as k } from "vue";
|
|
2
|
+
const y = ["aria-expanded"], x = { key: 0 }, S = { key: 1 }, C = { key: 2 }, $ = /* @__PURE__ */ v({
|
|
3
|
+
__name: "DemoStats",
|
|
4
|
+
props: {
|
|
5
|
+
publishDate: {},
|
|
6
|
+
version: {},
|
|
7
|
+
active: { type: Boolean }
|
|
8
|
+
},
|
|
9
|
+
setup(t) {
|
|
10
|
+
const e = g(t.active ?? !1), a = (n) => {
|
|
11
|
+
e.value = !e.value, n && n.stopPropagation();
|
|
12
|
+
}, s = c(() => ({
|
|
13
|
+
"demo-stats": !0,
|
|
14
|
+
"tb-v8_2_0": !0,
|
|
15
|
+
active: e.value
|
|
16
|
+
}));
|
|
17
|
+
return (n, u) => t.publishDate || t.version ? (r(), i("div", {
|
|
18
|
+
key: 0,
|
|
19
|
+
class: p(s.value),
|
|
20
|
+
role: "region",
|
|
21
|
+
"aria-label": "Demo Stats",
|
|
22
|
+
"aria-expanded": e.value
|
|
23
|
+
}, [
|
|
24
|
+
d("button", {
|
|
25
|
+
class: "toggle-btn",
|
|
26
|
+
onClick: a,
|
|
27
|
+
"aria-label": "Toggle Stats",
|
|
28
|
+
type: "button",
|
|
29
|
+
tabindex: "0"
|
|
30
|
+
}, " 📊 "),
|
|
31
|
+
t.version ? (r(), i("div", x, "using @featherk/styles@" + f(t.version), 1)) : _("", !0),
|
|
32
|
+
t.publishDate ? (r(), i("div", S, "Published: " + f(t.publishDate), 1)) : (r(), i("div", C, [...u[0] || (u[0] = [
|
|
33
|
+
d("a", {
|
|
34
|
+
href: "https://github.com/NantHealth/feather-k-demo-utils/blob/integration/README.md",
|
|
35
|
+
target: "_blank",
|
|
36
|
+
rel: "noopener noreferrer",
|
|
37
|
+
style: { "pointer-events": "auto !important" }
|
|
38
|
+
}, " Setup Publish Date ", -1)
|
|
39
|
+
])]))
|
|
40
|
+
], 10, y)) : _("", !0);
|
|
41
|
+
}
|
|
42
|
+
}), h = (t, l) => {
|
|
43
|
+
const e = t.__vccOpts || t;
|
|
44
|
+
for (const [a, s] of l)
|
|
45
|
+
e[a] = s;
|
|
46
|
+
return e;
|
|
47
|
+
}, I = /* @__PURE__ */ h($, [["__scopeId", "data-v-92a662c8"]]), B = ["aria-expanded"], A = /* @__PURE__ */ v({
|
|
48
|
+
__name: "DemoDebug",
|
|
49
|
+
props: {
|
|
50
|
+
active: { type: Boolean }
|
|
51
|
+
},
|
|
52
|
+
setup(t) {
|
|
53
|
+
const e = g(t.active ?? !1), a = m(), s = c(() => !!a.default && a.default({}).some((o) => o.children)), n = (o) => {
|
|
54
|
+
e.value = !e.value, o && o.stopPropagation();
|
|
55
|
+
}, u = c(() => ({
|
|
56
|
+
"demo-debug": !0,
|
|
57
|
+
"tb-v8_2_0": !0,
|
|
58
|
+
hidden: !s.value,
|
|
59
|
+
active: e.value
|
|
60
|
+
}));
|
|
61
|
+
return (o, D) => (r(), i("div", {
|
|
62
|
+
class: p(u.value),
|
|
63
|
+
role: "region",
|
|
64
|
+
"aria-label": "Demo Debug",
|
|
65
|
+
"aria-expanded": e.value
|
|
66
|
+
}, [
|
|
67
|
+
d("button", {
|
|
68
|
+
class: "toggle-btn",
|
|
69
|
+
onClick: n,
|
|
70
|
+
"aria-label": "Toggle Debug",
|
|
71
|
+
type: "button",
|
|
72
|
+
tabindex: "0"
|
|
73
|
+
}, " 🐞 "),
|
|
74
|
+
b(o.$slots, "default", {}, void 0, !0)
|
|
75
|
+
], 10, B));
|
|
76
|
+
}
|
|
77
|
+
}), T = /* @__PURE__ */ h(A, [["__scopeId", "data-v-a887941a"]]), E = ["aria-expanded"], N = /* @__PURE__ */ v({
|
|
78
|
+
__name: "DemoSettings",
|
|
79
|
+
props: {
|
|
80
|
+
active: { type: Boolean }
|
|
81
|
+
},
|
|
82
|
+
setup(t) {
|
|
83
|
+
const e = g(t.active ?? !1), a = m(), s = c(() => !!a.default && a.default({}).some((o) => o.children)), n = () => {
|
|
84
|
+
e.value = !e.value;
|
|
85
|
+
}, u = c(() => ({
|
|
86
|
+
"demo-settings": !0,
|
|
87
|
+
"tb-v8_2_0": !0,
|
|
88
|
+
hidden: !s.value,
|
|
89
|
+
active: e.value
|
|
90
|
+
}));
|
|
91
|
+
return (o, D) => (r(), i("div", {
|
|
92
|
+
class: p(u.value),
|
|
93
|
+
role: "region",
|
|
94
|
+
"aria-label": "Demo Settings",
|
|
95
|
+
"aria-expanded": e.value
|
|
96
|
+
}, [
|
|
97
|
+
d("button", {
|
|
98
|
+
class: "toggle-btn",
|
|
99
|
+
onClick: k(n, ["stop"]),
|
|
100
|
+
"aria-label": "Toggle Demo Settings",
|
|
101
|
+
tabindex: "0"
|
|
102
|
+
}, " ⚙️ "),
|
|
103
|
+
b(o.$slots, "default", {}, void 0, !0)
|
|
104
|
+
], 10, E));
|
|
105
|
+
}
|
|
106
|
+
}), M = /* @__PURE__ */ h(N, [["__scopeId", "data-v-2390c38e"]]), V = /* @__PURE__ */ v({
|
|
107
|
+
__name: "DemoNotes",
|
|
108
|
+
setup(t) {
|
|
109
|
+
const l = m(), e = c(() => !!l.default && l.default({}).some((s) => s.children)), a = c(() => ({
|
|
110
|
+
"demo-notes": !0,
|
|
111
|
+
"tb-v8_2_0": !0
|
|
112
|
+
}));
|
|
113
|
+
return (s, n) => e.value ? (r(), i("div", {
|
|
114
|
+
key: 0,
|
|
115
|
+
class: p(a.value),
|
|
116
|
+
tabindex: "0"
|
|
117
|
+
}, [
|
|
118
|
+
b(s.$slots, "default")
|
|
119
|
+
], 2)) : _("", !0);
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
export {
|
|
123
|
+
T as D,
|
|
124
|
+
V as _,
|
|
125
|
+
M as a,
|
|
126
|
+
I as b
|
|
127
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as s, _ as a, a as t, b as D } from "../DemoNotes.vue_vue_type_script_setup_true_lang-Ck_Zaihj.js";
|
|
2
2
|
export {
|
|
3
3
|
s as DemoDebug,
|
|
4
4
|
a as DemoNotes,
|
|
5
5
|
t as DemoSettings,
|
|
6
|
-
|
|
6
|
+
D as DemoStats
|
|
7
7
|
};
|
package/lib/index.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { F as a, a as t, f as o, g as r, b as S } from "./cdnVersion-DGJCb4AH.js";
|
|
2
|
-
import { _ as E, a as
|
|
2
|
+
import { D, _ as E, a as F, b as _ } from "./DemoNotes.vue_vue_type_script_setup_true_lang-Ck_Zaihj.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
D as DemoDebug,
|
|
5
|
+
E as DemoNotes,
|
|
6
6
|
F as DemoSettings,
|
|
7
7
|
_ as DemoStats,
|
|
8
8
|
a as FEATHERK_STYLES_CDN_URL,
|
package/lib/styles/demo.css
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
justify-content: center;
|
|
9
9
|
align-items: center;
|
|
10
10
|
gap: 1em;
|
|
11
|
-
max-width:
|
|
11
|
+
max-width: 1120px;
|
|
12
12
|
margin: 0 auto;
|
|
13
13
|
}
|
|
14
14
|
.demo-selection {
|
|
@@ -177,10 +177,12 @@
|
|
|
177
177
|
&.active,
|
|
178
178
|
&:focus-visible {
|
|
179
179
|
left: -1em;
|
|
180
|
-
outline: 2px solid var(--kendo-color-primary-subtle-active);
|
|
181
180
|
outline-offset: 4px;
|
|
182
181
|
color: initial;
|
|
183
182
|
}
|
|
183
|
+
/* &:focus-visible {
|
|
184
|
+
outline: 2px solid var(--kendo-color-primary-subtle-active);
|
|
185
|
+
} */
|
|
184
186
|
&::before {
|
|
185
187
|
content: "DEBUG";
|
|
186
188
|
font-weight: bold;
|
|
@@ -188,7 +190,7 @@
|
|
|
188
190
|
display: block;
|
|
189
191
|
margin-bottom: var(--kendo-spacing-2);
|
|
190
192
|
}
|
|
191
|
-
&::after {
|
|
193
|
+
/* &::after {
|
|
192
194
|
content: "🐛";
|
|
193
195
|
content: "🐜";
|
|
194
196
|
content: "🪳";
|
|
@@ -200,7 +202,7 @@
|
|
|
200
202
|
right: 0.25em;
|
|
201
203
|
display: block;
|
|
202
204
|
margin-top: 0;
|
|
203
|
-
}
|
|
205
|
+
} */
|
|
204
206
|
}
|
|
205
207
|
|
|
206
208
|
.demo-settings {
|
|
@@ -226,7 +228,7 @@
|
|
|
226
228
|
&.active,
|
|
227
229
|
&:focus-visible {
|
|
228
230
|
left: -1em;
|
|
229
|
-
outline: 2px solid var(--kendo-color-primary-emphasis);
|
|
231
|
+
/* outline: 2px solid var(--kendo-color-primary-emphasis); */
|
|
230
232
|
outline-offset: 4px;
|
|
231
233
|
color: initial;
|
|
232
234
|
}
|
|
@@ -238,7 +240,7 @@
|
|
|
238
240
|
display: block;
|
|
239
241
|
margin-bottom: var(--kendo-spacing-2);
|
|
240
242
|
}
|
|
241
|
-
&::after {
|
|
243
|
+
/* &::after {
|
|
242
244
|
content: "\2699";
|
|
243
245
|
content: "⚙️";
|
|
244
246
|
font-size: var(--kendo-font-size-xl);
|
|
@@ -247,7 +249,7 @@
|
|
|
247
249
|
right: 0.25em;
|
|
248
250
|
display: block;
|
|
249
251
|
margin-top: 0;
|
|
250
|
-
}
|
|
252
|
+
} */
|
|
251
253
|
}
|
|
252
254
|
|
|
253
255
|
/* TODO: DemoStats.vue SCOPED STYLES NOT WORKING - moved to demo.css */
|
|
@@ -275,7 +277,7 @@
|
|
|
275
277
|
&.active,
|
|
276
278
|
&:focus-visible {
|
|
277
279
|
right: -1em;
|
|
278
|
-
outline: 2px solid var(--kendo-color-primary-emphasis);
|
|
280
|
+
/* outline: 2px solid var(--kendo-color-primary-emphasis); */
|
|
279
281
|
outline-offset: 4px;
|
|
280
282
|
color: initial;
|
|
281
283
|
}
|
|
@@ -289,7 +291,7 @@
|
|
|
289
291
|
left: 0.5em;
|
|
290
292
|
top: 0.25em;
|
|
291
293
|
}
|
|
292
|
-
&::after {
|
|
294
|
+
/* &::after {
|
|
293
295
|
content: "📊";
|
|
294
296
|
font-size: var(--kendo-font-size-xl);
|
|
295
297
|
position: absolute;
|
|
@@ -297,7 +299,7 @@
|
|
|
297
299
|
left: 0.25em;
|
|
298
300
|
display: block;
|
|
299
301
|
margin-top: 0;
|
|
300
|
-
}
|
|
302
|
+
} */
|
|
301
303
|
}
|
|
302
304
|
|
|
303
305
|
.demo-debug pre,
|
package/lib/utils/index.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { F as a, a as t, f as o, g as r, b as S } from "../cdnVersion-DGJCb4AH.js";
|
|
2
|
-
import { _ as E, a as
|
|
2
|
+
import { D, _ as E, a as F, b as _ } from "../DemoNotes.vue_vue_type_script_setup_true_lang-Ck_Zaihj.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
D as DemoDebug,
|
|
5
|
+
E as DemoNotes,
|
|
6
6
|
F as DemoSettings,
|
|
7
7
|
_ as DemoStats,
|
|
8
8
|
a as FEATHERK_STYLES_CDN_URL,
|
package/package.json
CHANGED
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { defineComponent as d, ref as m, computed as r, openBlock as n, createElementBlock as l, normalizeClass as v, toDisplayString as b, createCommentVNode as p, createElementVNode as g, useSlots as _, renderSlot as h } from "vue";
|
|
2
|
-
const D = ["aria-expanded"], k = { key: 0 }, x = { key: 1 }, y = { key: 2 }, B = /* @__PURE__ */ d({
|
|
3
|
-
__name: "DemoStats",
|
|
4
|
-
props: {
|
|
5
|
-
publishDate: {},
|
|
6
|
-
version: {},
|
|
7
|
-
active: { type: Boolean }
|
|
8
|
-
},
|
|
9
|
-
setup(t) {
|
|
10
|
-
const e = m(t.active ?? !1), s = () => {
|
|
11
|
-
e.value = !e.value;
|
|
12
|
-
}, a = r(() => ({
|
|
13
|
-
"demo-stats": !0,
|
|
14
|
-
"tb-v8_2_0": !0,
|
|
15
|
-
active: e.value
|
|
16
|
-
}));
|
|
17
|
-
return (u, i) => t.publishDate || t.version ? (n(), l("div", {
|
|
18
|
-
key: 0,
|
|
19
|
-
class: v(a.value),
|
|
20
|
-
onClick: s,
|
|
21
|
-
tabindex: "0",
|
|
22
|
-
role: "region",
|
|
23
|
-
"aria-label": "Demo Stats",
|
|
24
|
-
"aria-expanded": e.value
|
|
25
|
-
}, [
|
|
26
|
-
t.version ? (n(), l("div", k, "using @featherk/styles@" + b(t.version), 1)) : p("", !0),
|
|
27
|
-
t.publishDate ? (n(), l("div", x, "Published: " + b(t.publishDate), 1)) : (n(), l("div", y, [...i[0] || (i[0] = [
|
|
28
|
-
g("a", {
|
|
29
|
-
href: "https://github.com/NantHealth/feather-k-demo-utils/blob/integration/README.md",
|
|
30
|
-
target: "_blank",
|
|
31
|
-
rel: "noopener noreferrer",
|
|
32
|
-
style: { "pointer-events": "auto !important" }
|
|
33
|
-
}, " Setup Publish Date ", -1)
|
|
34
|
-
])]))
|
|
35
|
-
], 10, D)) : p("", !0);
|
|
36
|
-
}
|
|
37
|
-
}), C = ["aria-expanded"], A = /* @__PURE__ */ d({
|
|
38
|
-
__name: "DemoDebug",
|
|
39
|
-
props: {
|
|
40
|
-
active: { type: Boolean }
|
|
41
|
-
},
|
|
42
|
-
setup(t) {
|
|
43
|
-
const e = m(t.active ?? !1), s = _(), a = r(() => !!s.default && s.default({}).some((o) => o.children)), u = () => {
|
|
44
|
-
e.value = !e.value;
|
|
45
|
-
}, i = r(() => ({
|
|
46
|
-
"demo-debug": !0,
|
|
47
|
-
"tb-v8_2_0": !0,
|
|
48
|
-
hidden: !a.value,
|
|
49
|
-
active: e.value
|
|
50
|
-
}));
|
|
51
|
-
return (o, f) => (n(), l("div", {
|
|
52
|
-
class: v(i.value),
|
|
53
|
-
onClick: u,
|
|
54
|
-
tabindex: "0",
|
|
55
|
-
role: "region",
|
|
56
|
-
"aria-label": "Demo Debug",
|
|
57
|
-
"aria-expanded": e.value
|
|
58
|
-
}, [
|
|
59
|
-
h(o.$slots, "default")
|
|
60
|
-
], 10, C));
|
|
61
|
-
}
|
|
62
|
-
}), S = ["aria-expanded"], E = /* @__PURE__ */ d({
|
|
63
|
-
__name: "DemoSettings",
|
|
64
|
-
props: {
|
|
65
|
-
active: { type: Boolean }
|
|
66
|
-
},
|
|
67
|
-
setup(t) {
|
|
68
|
-
const e = m(t.active ?? !1), s = _(), a = r(() => !!s.default && s.default({}).some((o) => o.children)), u = () => {
|
|
69
|
-
e.value = !e.value;
|
|
70
|
-
}, i = r(() => ({
|
|
71
|
-
"demo-settings": !0,
|
|
72
|
-
"tb-v8_2_0": !0,
|
|
73
|
-
hidden: !a.value,
|
|
74
|
-
active: e.value
|
|
75
|
-
}));
|
|
76
|
-
return (o, f) => (n(), l("div", {
|
|
77
|
-
class: v(i.value),
|
|
78
|
-
onClick: u,
|
|
79
|
-
tabindex: "0",
|
|
80
|
-
role: "region",
|
|
81
|
-
"aria-label": "Demo Settings",
|
|
82
|
-
"aria-expanded": e.value
|
|
83
|
-
}, [
|
|
84
|
-
h(o.$slots, "default")
|
|
85
|
-
], 10, S));
|
|
86
|
-
}
|
|
87
|
-
}), N = /* @__PURE__ */ d({
|
|
88
|
-
__name: "DemoNotes",
|
|
89
|
-
setup(t) {
|
|
90
|
-
const c = _(), e = r(() => !!c.default && c.default({}).some((a) => a.children)), s = r(() => ({
|
|
91
|
-
"demo-notes": !0,
|
|
92
|
-
"tb-v8_2_0": !0
|
|
93
|
-
}));
|
|
94
|
-
return (a, u) => e.value ? (n(), l("div", {
|
|
95
|
-
key: 0,
|
|
96
|
-
class: v(s.value),
|
|
97
|
-
tabindex: "0"
|
|
98
|
-
}, [
|
|
99
|
-
h(a.$slots, "default")
|
|
100
|
-
], 2)) : p("", !0);
|
|
101
|
-
}
|
|
102
|
-
});
|
|
103
|
-
export {
|
|
104
|
-
A as _,
|
|
105
|
-
N as a,
|
|
106
|
-
E as b,
|
|
107
|
-
B as c
|
|
108
|
-
};
|