fluency-v8-components 1.5.8 → 1.5.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.
@@ -27085,15 +27085,18 @@ const TEe = /* @__PURE__ */ yr(cle, [["render", hle]]), ple = { class: "py-1" },
27085
27085
  default: !1
27086
27086
  }
27087
27087
  },
27088
- setup(e) {
27089
- return (t, n) => (K(), de("div", Ble, [
27088
+ emits: ["panel"],
27089
+ setup(e, { emit: t }) {
27090
+ const n = t;
27091
+ return (r, i) => (K(), de("div", Ble, [
27090
27092
  fe(H1, {
27091
- class: st(["md:w-1/3", { "dark:bg-black": e.shadow }])
27093
+ class: st(["md:w-1/3", { "dark:bg-black": e.shadow }]),
27094
+ onClick: i[0] || (i[0] = (a) => n("panel", 1))
27092
27095
  }, {
27093
27096
  default: Ne(() => [
27094
27097
  q("div", xle, [
27095
27098
  q("div", _le, [
27096
- dn(t.$slots, "firstPanelIcon"),
27099
+ dn(r.$slots, "firstPanelIcon"),
27097
27100
  q("div", Cle, Ge(e.firstPanelValue), 1)
27098
27101
  ]),
27099
27102
  q("div", Sle, Ge(e.firstPanelName), 1)
@@ -27102,12 +27105,13 @@ const TEe = /* @__PURE__ */ yr(cle, [["render", hle]]), ple = { class: "py-1" },
27102
27105
  _: 3
27103
27106
  }, 8, ["class"]),
27104
27107
  fe(H1, {
27105
- class: st(["md:w-1/3", { "dark:bg-black": e.shadow }])
27108
+ class: st(["md:w-1/3", { "dark:bg-black": e.shadow }]),
27109
+ onClick: i[1] || (i[1] = (a) => n("panel", 2))
27106
27110
  }, {
27107
27111
  default: Ne(() => [
27108
27112
  q("div", Ele, [
27109
27113
  q("div", kle, [
27110
- dn(t.$slots, "secondPanelIcon"),
27114
+ dn(r.$slots, "secondPanelIcon"),
27111
27115
  q("div", Fle, Ge(e.secondPanelValue), 1)
27112
27116
  ]),
27113
27117
  q("div", Lle, Ge(e.secondPanelName), 1)
@@ -27116,12 +27120,13 @@ const TEe = /* @__PURE__ */ yr(cle, [["render", hle]]), ple = { class: "py-1" },
27116
27120
  _: 3
27117
27121
  }, 8, ["class"]),
27118
27122
  fe(H1, {
27119
- class: st(["md:w-1/3", { "dark:bg-black": e.shadow }])
27123
+ class: st(["md:w-1/3", { "dark:bg-black": e.shadow }]),
27124
+ onClick: i[2] || (i[2] = (a) => n("panel", 3))
27120
27125
  }, {
27121
27126
  default: Ne(() => [
27122
27127
  q("div", Ule, [
27123
27128
  q("div", Ile, [
27124
- dn(t.$slots, "thirdPanelIcon"),
27129
+ dn(r.$slots, "thirdPanelIcon"),
27125
27130
  q("div", Tle, Ge(e.thirdPanelValue), 1)
27126
27131
  ]),
27127
27132
  q("div", Nle, Ge(e.thirdPanelName), 1)
@@ -62836,7 +62841,7 @@ function(e) {
62836
62841
  var A = l.getContext("2d");
62837
62842
  A.fillStyle = "#fff", A.fillRect(0, 0, l.width, l.height);
62838
62843
  var u = { ignoreMouse: !0, ignoreAnimation: !0, ignoreDimensions: !0 }, d = this;
62839
- return (Bn.canvg ? Promise.resolve(Bn.canvg) : import("./index.es-C94FYv2E.mjs")).catch(function(f) {
62844
+ return (Bn.canvg ? Promise.resolve(Bn.canvg) : import("./index.es-C9xsQDxF.mjs")).catch(function(f) {
62840
62845
  return Promise.reject(new Error("Could not load canvg: " + f));
62841
62846
  }).then(function(f) {
62842
62847
  return f.default ? f.default : f;
@@ -1,4 +1,4 @@
1
- import { c as Da, _ as Va, g as il } from "./index-Bf1dowpE.mjs";
1
+ import { c as Da, _ as Va, g as il } from "./index-Bhs-DoPS.mjs";
2
2
  var fn = {}, cn = {}, cr, vn;
3
3
  function Q() {
4
4
  if (vn) return cr;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluency-v8-components",
3
- "version": "1.5.8",
3
+ "version": "1.5.9",
4
4
  "main": "dist/fluency-v8-components.umd.js",
5
5
  "module": "dist/fluency-v8-components.es.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="col md:flex-row md:justify-between gap-x-5 my-4">
3
- <GreyForm :class="['md:w-1/3', { 'dark:bg-black': shadow }]">
3
+ <GreyForm :class="['md:w-1/3', { 'dark:bg-black': shadow }]" @click="emits('panel', 1)">
4
4
  <div class="col items-center mt-2">
5
5
  <div class="row">
6
6
  <slot name="firstPanelIcon" />
@@ -9,7 +9,7 @@
9
9
  <div class="font-light">{{ firstPanelName }}</div>
10
10
  </div>
11
11
  </GreyForm>
12
- <GreyForm :class="['md:w-1/3', { 'dark:bg-black': shadow }]">
12
+ <GreyForm :class="['md:w-1/3', { 'dark:bg-black': shadow }]" @click="emits('panel', 2)">
13
13
  <div class="col items-center mt-2">
14
14
  <div class="row">
15
15
  <slot name="secondPanelIcon" />
@@ -18,7 +18,7 @@
18
18
  <div class="font-light">{{ secondPanelName }}</div>
19
19
  </div>
20
20
  </GreyForm>
21
- <GreyForm :class="['md:w-1/3', { 'dark:bg-black': shadow }]">
21
+ <GreyForm :class="['md:w-1/3', { 'dark:bg-black': shadow }]" @click="emits('panel', 3)">
22
22
  <div class="col items-center mt-2">
23
23
  <div class="row">
24
24
  <slot name="thirdPanelIcon" />
@@ -45,4 +45,5 @@ const props = defineProps({
45
45
  default: false,
46
46
  },
47
47
  });
48
+ const emits = defineEmits(["panel"])
48
49
  </script>