@hotelinking/ui 1.30.3 → 1.30.5

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/dist/ui.es.js CHANGED
@@ -4590,11 +4590,13 @@ const Ei = /* @__PURE__ */ Ee(Di, [["render", Ti]]), ji = /* @__PURE__ */ i("div
4590
4590
  Bars3Icon: ho,
4591
4591
  XMarkIcon: Je
4592
4592
  }
4593
- }, bu = { class: "mx-auto px-4 sm:px-6 lg:px-8" }, yu = { class: "flex justify-between h-20" }, xu = { class: "flex" }, wu = { class: "-ml-2 mr-2 flex items-center lg:hidden" }, $u = /* @__PURE__ */ i("span", { class: "sr-only" }, "Open main menu", -1), ku = ["src"], _u = { class: "flex items-center" }, Su = { class: "md:ml-4 md:flex-shrink-0 md:flex md:items-center" }, Cu = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute -top-0 -left-1" }, Du = ["src"], Ou = ["onClick"], Mu = { class: "pt-2 pb-3 space-y-1" }, Pu = ["onClick"], Tu = { class: "pt-4 pb-3 border-t border-gray-200" }, Eu = { class: "flex items-center px-4 sm:px-6" }, ju = { class: "flex-shrink-0" }, Lu = ["src"], Iu = {
4593
+ }, bu = { class: "mx-auto px-4 sm:px-6 lg:px-8" }, yu = { class: "flex justify-between h-20" }, xu = { class: "flex" }, wu = { class: "-ml-2 mr-2 flex items-center lg:hidden" }, $u = /* @__PURE__ */ i("span", { class: "sr-only" }, "Open main menu", -1), ku = ["src"], _u = { class: "flex items-center" }, Su = { class: "md:ml-4 md:flex-shrink-0 md:flex md:items-center" }, Cu = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute -top-0 -left-1" }, Du = /* @__PURE__ */ i("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1), Ou = [
4594
+ Du
4595
+ ], Mu = ["src"], Pu = ["onClick"], Tu = { class: "pt-2 pb-3 space-y-1" }, Eu = ["onClick"], ju = { class: "pt-4 pb-3 border-t border-gray-200" }, Lu = { class: "flex items-center px-4 sm:px-6" }, Iu = { class: "flex-shrink-0" }, Ru = ["src"], Fu = {
4594
4596
  key: 0,
4595
4597
  class: "ml-3"
4596
- }, Ru = { class: "text-base font-medium text-gray-800" }, Fu = { class: "text-sm font-medium text-gray-500" }, Au = { class: "mt-3 space-y-1" }, Bu = ["onClick"];
4597
- function Nu(e, t, l, o, n, r) {
4598
+ }, Au = { class: "text-base font-medium text-gray-800" }, Bu = { class: "text-sm font-medium text-gray-500" }, Nu = { class: "mt-3 space-y-1" }, Hu = ["onClick"];
4599
+ function Vu(e, t, l, o, n, r) {
4598
4600
  const a = ue("Bars3Icon"), s = ue("XMarkIcon"), d = ue("DisclosureButton"), u = ue("MenuButton"), c = ue("MenuItem"), h = ue("MenuItems"), m = ue("Menu"), g = ue("DisclosurePanel"), w = ue("Disclosure");
4599
4601
  return f(), V(w, {
4600
4602
  as: "nav",
@@ -4642,13 +4644,13 @@ function Nu(e, t, l, o, n, r) {
4642
4644
  i("div", null, [
4643
4645
  U(k(u, { class: "bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 relative" }, {
4644
4646
  default: j(() => [
4645
- U(i("div", Cu, null, 512), [
4647
+ U(i("div", Cu, Ou, 512), [
4646
4648
  [Q, l.alerted]
4647
4649
  ]),
4648
4650
  i("img", {
4649
4651
  class: "h-10 w-10 rounded-full",
4650
4652
  src: l.accountLogo
4651
- }, null, 8, Du)
4653
+ }, null, 8, Mu)
4652
4654
  ]),
4653
4655
  _: 1
4654
4656
  }, 512), [
@@ -4676,7 +4678,7 @@ function Nu(e, t, l, o, n, r) {
4676
4678
  D ? "bg-gray-100" : "",
4677
4679
  "block px-4 py-2 text-sm text-gray-700"
4678
4680
  ]])
4679
- }, y(p.name), 11, Ou)
4681
+ }, y(p.name), 11, Pu)
4680
4682
  ]),
4681
4683
  _: 2
4682
4684
  }, 1024))), 128))
@@ -4695,7 +4697,7 @@ function Nu(e, t, l, o, n, r) {
4695
4697
  ]),
4696
4698
  k(g, { class: "lg:hidden" }, {
4697
4699
  default: j(() => [
4698
- i("div", Mu, [
4700
+ i("div", Tu, [
4699
4701
  (f(!0), v(R, null, Y(l.navigation, (p) => (f(), V(d, {
4700
4702
  as: "template",
4701
4703
  key: p.name,
@@ -4707,25 +4709,25 @@ function Nu(e, t, l, o, n, r) {
4707
4709
  default: j(() => [
4708
4710
  i("p", {
4709
4711
  onClick: (D) => e.$emit("topBarClick", p.id)
4710
- }, y(p.name), 9, Pu)
4712
+ }, y(p.name), 9, Eu)
4711
4713
  ]),
4712
4714
  _: 2
4713
4715
  }, 1032, ["class"]))), 128))
4714
4716
  ]),
4715
- i("div", Tu, [
4716
- i("div", Eu, [
4717
- i("div", ju, [
4717
+ i("div", ju, [
4718
+ i("div", Lu, [
4719
+ i("div", Iu, [
4718
4720
  i("img", {
4719
4721
  class: "h-10 w-10 rounded-full",
4720
4722
  src: l.accountLogo
4721
- }, null, 8, Lu)
4723
+ }, null, 8, Ru)
4722
4724
  ]),
4723
- l.brand ? (f(), v("div", Iu, [
4724
- i("div", Ru, y(l.brand.title), 1),
4725
- i("div", Fu, y(l.brand.subtitle), 1)
4725
+ l.brand ? (f(), v("div", Fu, [
4726
+ i("div", Au, y(l.brand.title), 1),
4727
+ i("div", Bu, y(l.brand.subtitle), 1)
4726
4728
  ])) : A("", !0)
4727
4729
  ]),
4728
- i("div", Au, [
4730
+ i("div", Nu, [
4729
4731
  (f(!0), v(R, null, Y(l.profileMenu, (p) => (f(), V(d, {
4730
4732
  as: "template",
4731
4733
  key: p.name,
@@ -4734,7 +4736,7 @@ function Nu(e, t, l, o, n, r) {
4734
4736
  default: j(() => [
4735
4737
  i("p", {
4736
4738
  onClick: (D) => e.$emit("topBarClick", p.id)
4737
- }, y(p.name), 9, Bu)
4739
+ }, y(p.name), 9, Hu)
4738
4740
  ]),
4739
4741
  _: 2
4740
4742
  }, 1024))), 128))
@@ -4747,9 +4749,9 @@ function Nu(e, t, l, o, n, r) {
4747
4749
  _: 1
4748
4750
  });
4749
4751
  }
4750
- const Hu = /* @__PURE__ */ Ee(hu, [["render", Nu]]), Vu = { class: "chart-header flex flex-row justify-between" }, Yu = { class: "text-sm font-medium text-gray-500 truncate" }, qu = { class: "chart-selector flex flex-row items-center justify-center" }, Uu = { class: "chart-content pt-6" }, zu = {
4752
+ const Yu = /* @__PURE__ */ Ee(hu, [["render", Vu]]), qu = { class: "chart-header flex flex-row justify-between" }, Uu = { class: "text-sm font-medium text-gray-500 truncate" }, zu = { class: "chart-selector flex flex-row items-center justify-center" }, Wu = { class: "chart-content pt-6" }, Ku = {
4751
4753
  name: "uiFunnelChart"
4752
- }, Wu = /* @__PURE__ */ Object.assign(zu, {
4754
+ }, Ju = /* @__PURE__ */ Object.assign(Ku, {
4753
4755
  props: {
4754
4756
  title: String,
4755
4757
  labels: {
@@ -4783,9 +4785,9 @@ const Hu = /* @__PURE__ */ Ee(hu, [["render", Nu]]), Vu = { class: "chart-header
4783
4785
  ref_key: "funnelChart",
4784
4786
  ref: o
4785
4787
  }, [
4786
- i("div", Vu, [
4787
- i("div", Yu, y(e.title), 1),
4788
- i("ul", qu, [
4788
+ i("div", qu, [
4789
+ i("div", Uu, y(e.title), 1),
4790
+ i("ul", zu, [
4789
4791
  i("li", {
4790
4792
  class: C({ selected: l.value === "24h" }),
4791
4793
  onClick: m[0] || (m[0] = (g) => u("24h"))
@@ -4804,7 +4806,7 @@ const Hu = /* @__PURE__ */ Ee(hu, [["render", Nu]]), Vu = { class: "chart-header
4804
4806
  }, " 3M ", 2)
4805
4807
  ])
4806
4808
  ]),
4807
- i("div", Uu, [
4809
+ i("div", Wu, [
4808
4810
  d.value > 0 && s.value > 0 ? (f(), V(_(Nn), {
4809
4811
  key: 0,
4810
4812
  width: d.value,
@@ -4821,7 +4823,7 @@ const Hu = /* @__PURE__ */ Ee(hu, [["render", Nu]]), Vu = { class: "chart-header
4821
4823
  ])
4822
4824
  ], 512));
4823
4825
  }
4824
- }), Ku = {
4826
+ }), Gu = {
4825
4827
  uiButton: Lt,
4826
4828
  uiIcon: ce,
4827
4829
  uiCheckbox: Gn,
@@ -4850,9 +4852,9 @@ const Hu = /* @__PURE__ */ Ee(hu, [["render", Nu]]), Vu = { class: "chart-header
4850
4852
  uiTable: qs,
4851
4853
  uiTabs: Qs,
4852
4854
  uiTimeline: gu,
4853
- uiTopbar: Hu,
4854
- uiFunnelChart: Wu
4855
- }, Et = Ku, ed = {
4855
+ uiTopbar: Yu,
4856
+ uiFunnelChart: Ju
4857
+ }, Et = Gu, nd = {
4856
4858
  install(e) {
4857
4859
  Object.keys(Et).forEach((t) => {
4858
4860
  e.component(t, Et[t]);
@@ -4860,5 +4862,5 @@ const Hu = /* @__PURE__ */ Ee(hu, [["render", Nu]]), Vu = { class: "chart-header
4860
4862
  }
4861
4863
  };
4862
4864
  export {
4863
- ed as default
4865
+ nd as default
4864
4866
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hotelinking/ui",
3
3
  "private": false,
4
- "version": "1.30.3",
4
+ "version": "1.30.5",
5
5
  "type": "module",
6
6
  "main": "dist/ui.cjs.js",
7
7
  "module": "dist/ui.es.js",
@@ -11,7 +11,7 @@
11
11
  "scripts": {
12
12
  "dev": "vite",
13
13
  "build": "vite build && npm run build:styles",
14
- "build:styles": "postcss src/style.css -o dist/style.css",
14
+ "build:styles": "postcss src/style.css -o dist/style.css && postcss src/styleProd.css -o dist/styleProd.css",
15
15
  "preview": "vite preview",
16
16
  "storybook": "storybook dev -p 6006",
17
17
  "build:storybook": "storybook build",
@@ -64,4 +64,4 @@
64
64
  "vue3-apexcharts": "^1.4.1",
65
65
  "vue3-funnel-graph-js": "^0.0.3"
66
66
  }
67
- }
67
+ }