feather-k-demo-utils 0.0.43 → 0.0.44

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,4 +1,4 @@
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";
1
+ import { defineComponent as v, ref as b, computed as c, openBlock as r, createElementBlock as i, normalizeClass as p, createElementVNode as d, toDisplayString as h, createCommentVNode as _, useSlots as g, renderSlot as m, withModifiers as k } from "vue";
2
2
  const y = ["aria-expanded"], x = { key: 0 }, S = { key: 1 }, C = { key: 2 }, $ = /* @__PURE__ */ v({
3
3
  __name: "DemoStats",
4
4
  props: {
@@ -7,7 +7,7 @@ const y = ["aria-expanded"], x = { key: 0 }, S = { key: 1 }, C = { key: 2 }, $ =
7
7
  active: { type: Boolean }
8
8
  },
9
9
  setup(t) {
10
- const e = g(t.active ?? !1), a = (n) => {
10
+ const e = b(t.active ?? !1), a = (n) => {
11
11
  e.value = !e.value, n && n.stopPropagation();
12
12
  }, s = c(() => ({
13
13
  "demo-stats": !0,
@@ -28,8 +28,8 @@ const y = ["aria-expanded"], x = { key: 0 }, S = { key: 1 }, C = { key: 2 }, $ =
28
28
  type: "button",
29
29
  tabindex: "0"
30
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] = [
31
+ t.version ? (r(), i("div", x, "using @featherk/styles@" + h(t.version), 1)) : _("", !0),
32
+ t.publishDate ? (r(), i("div", S, "Published: " + h(t.publishDate), 1)) : (r(), i("div", C, [...u[0] || (u[0] = [
33
33
  d("a", {
34
34
  href: "https://github.com/NantHealth/feather-k-demo-utils/blob/integration/README.md",
35
35
  target: "_blank",
@@ -39,18 +39,18 @@ const y = ["aria-expanded"], x = { key: 0 }, S = { key: 1 }, C = { key: 2 }, $ =
39
39
  ])]))
40
40
  ], 10, y)) : _("", !0);
41
41
  }
42
- }), h = (t, l) => {
42
+ }), f = (t, l) => {
43
43
  const e = t.__vccOpts || t;
44
44
  for (const [a, s] of l)
45
45
  e[a] = s;
46
46
  return e;
47
- }, I = /* @__PURE__ */ h($, [["__scopeId", "data-v-92a662c8"]]), B = ["aria-expanded"], A = /* @__PURE__ */ v({
47
+ }, I = /* @__PURE__ */ f($, [["__scopeId", "data-v-af654d7b"]]), B = ["aria-expanded"], A = /* @__PURE__ */ v({
48
48
  __name: "DemoDebug",
49
49
  props: {
50
50
  active: { type: Boolean }
51
51
  },
52
52
  setup(t) {
53
- const e = g(t.active ?? !1), a = m(), s = c(() => !!a.default && a.default({}).some((o) => o.children)), n = (o) => {
53
+ const e = b(t.active ?? !1), a = g(), s = c(() => !!a.default && a.default({}).some((o) => o.children)), n = (o) => {
54
54
  e.value = !e.value, o && o.stopPropagation();
55
55
  }, u = c(() => ({
56
56
  "demo-debug": !0,
@@ -71,16 +71,16 @@ const y = ["aria-expanded"], x = { key: 0 }, S = { key: 1 }, C = { key: 2 }, $ =
71
71
  type: "button",
72
72
  tabindex: "0"
73
73
  }, " 🐞 "),
74
- b(o.$slots, "default", {}, void 0, !0)
74
+ m(o.$slots, "default", {}, void 0, !0)
75
75
  ], 10, B));
76
76
  }
77
- }), T = /* @__PURE__ */ h(A, [["__scopeId", "data-v-a887941a"]]), E = ["aria-expanded"], N = /* @__PURE__ */ v({
77
+ }), T = /* @__PURE__ */ f(A, [["__scopeId", "data-v-2cfcbdc1"]]), E = ["aria-expanded"], N = /* @__PURE__ */ v({
78
78
  __name: "DemoSettings",
79
79
  props: {
80
80
  active: { type: Boolean }
81
81
  },
82
82
  setup(t) {
83
- const e = g(t.active ?? !1), a = m(), s = c(() => !!a.default && a.default({}).some((o) => o.children)), n = () => {
83
+ const e = b(t.active ?? !1), a = g(), s = c(() => !!a.default && a.default({}).some((o) => o.children)), n = () => {
84
84
  e.value = !e.value;
85
85
  }, u = c(() => ({
86
86
  "demo-settings": !0,
@@ -100,13 +100,13 @@ const y = ["aria-expanded"], x = { key: 0 }, S = { key: 1 }, C = { key: 2 }, $ =
100
100
  "aria-label": "Toggle Demo Settings",
101
101
  tabindex: "0"
102
102
  }, " ⚙️ "),
103
- b(o.$slots, "default", {}, void 0, !0)
103
+ m(o.$slots, "default", {}, void 0, !0)
104
104
  ], 10, E));
105
105
  }
106
- }), M = /* @__PURE__ */ h(N, [["__scopeId", "data-v-2390c38e"]]), V = /* @__PURE__ */ v({
106
+ }), M = /* @__PURE__ */ f(N, [["__scopeId", "data-v-12ecdff9"]]), V = /* @__PURE__ */ v({
107
107
  __name: "DemoNotes",
108
108
  setup(t) {
109
- const l = m(), e = c(() => !!l.default && l.default({}).some((s) => s.children)), a = c(() => ({
109
+ const l = g(), e = c(() => !!l.default && l.default({}).some((s) => s.children)), a = c(() => ({
110
110
  "demo-notes": !0,
111
111
  "tb-v8_2_0": !0
112
112
  }));
@@ -115,7 +115,7 @@ const y = ["aria-expanded"], x = { key: 0 }, S = { key: 1 }, C = { key: 2 }, $ =
115
115
  class: p(a.value),
116
116
  tabindex: "0"
117
117
  }, [
118
- b(s.$slots, "default")
118
+ m(s.$slots, "default")
119
119
  ], 2)) : _("", !0);
120
120
  }
121
121
  });
@@ -1,4 +1,4 @@
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";
1
+ import { D as s, _ as a, a as t, b as D } from "../DemoNotes.vue_vue_type_script_setup_true_lang-CkAIcxaN.js";
2
2
  export {
3
3
  s as DemoDebug,
4
4
  a as DemoNotes,
package/lib/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { F as a, a as t, f as o, g as r, b as S } from "./cdnVersion-DGJCb4AH.js";
2
- import { D, _ as E, a as F, b as _ } from "./DemoNotes.vue_vue_type_script_setup_true_lang-Ck_Zaihj.js";
2
+ import { D, _ as E, a as F, b as _ } from "./DemoNotes.vue_vue_type_script_setup_true_lang-CkAIcxaN.js";
3
3
  export {
4
4
  D as DemoDebug,
5
5
  E as DemoNotes,
@@ -203,6 +203,18 @@
203
203
  display: block;
204
204
  margin-top: 0;
205
205
  } */
206
+ & .toggle-btn {
207
+ position: absolute;
208
+ top: 0.25em;
209
+ right: 0.25em;
210
+ font-size: var(--kendo-font-size-xl);
211
+ background: none;
212
+ border: none;
213
+ cursor: pointer;
214
+ color: var(--kendo-color-secondary);
215
+ padding: 0;
216
+ margin: 0;
217
+ }
206
218
  }
207
219
 
208
220
  .demo-settings {
@@ -250,6 +262,23 @@
250
262
  display: block;
251
263
  margin-top: 0;
252
264
  } */
265
+ & .toggle-btn {
266
+ position: absolute;
267
+ top: 0;
268
+ right: 0.125em;
269
+ display: flex;
270
+ justify-content: flex-end;
271
+ border: none;
272
+ cursor: pointer;
273
+ font-size: 1.5em;
274
+ height: 100%;
275
+ border-radius: 0 0.25em 0.25em 0;
276
+ background: linear-gradient(
277
+ 28deg,
278
+ hsl(from currentColor h s 95% / 0.5) 60%,
279
+ var(--kendo-color-primary-emphasis) 75%
280
+ );
281
+ }
253
282
  }
254
283
 
255
284
  /* TODO: DemoStats.vue SCOPED STYLES NOT WORKING - moved to demo.css */
@@ -300,6 +329,24 @@
300
329
  display: block;
301
330
  margin-top: 0;
302
331
  } */
332
+
333
+ & .toggle-btn {
334
+ position: absolute;
335
+ top: 0;
336
+ left: 0.125em;
337
+ display: flex;
338
+ justify-content: flex-end;
339
+ border: none;
340
+ cursor: pointer;
341
+ font-size: 1.5em;
342
+ height: 100%;
343
+ border-radius: 0 0.25em 0.25em 0;
344
+ background: linear-gradient(
345
+ 315deg,
346
+ hsl(from currentColor h s 95% / 0.5) 40%,
347
+ var(--kendo-color-primary-subtle-hover) 55%
348
+ );
349
+ }
303
350
  }
304
351
 
305
352
  .demo-debug pre,
@@ -1,5 +1,5 @@
1
1
  import { F as a, a as t, f as o, g as r, b as S } from "../cdnVersion-DGJCb4AH.js";
2
- import { D, _ as E, a as F, b as _ } from "../DemoNotes.vue_vue_type_script_setup_true_lang-Ck_Zaihj.js";
2
+ import { D, _ as E, a as F, b as _ } from "../DemoNotes.vue_vue_type_script_setup_true_lang-CkAIcxaN.js";
3
3
  export {
4
4
  D as DemoDebug,
5
5
  E as DemoNotes,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "feather-k-demo-utils",
3
3
  "private": false,
4
- "version": "0.0.43",
4
+ "version": "0.0.44",
5
5
  "type": "module",
6
6
  "main": "lib/index.es.js",
7
7
  "module": "lib/index.es.js",