wj-elements 0.1.1 → 0.1.2

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,7 +1,7 @@
1
1
  const n = /* @__PURE__ */ new Map();
2
2
  class s {
3
3
  constructor(t) {
4
- this.element = t, this.languages = n, this.lang = this.element.lang || document.documentElement.lang || "en", this.dir = this.element.dir || document.documentElement.dir || "ltr", this.setLanguage();
4
+ this.element = t, this.languages = n, this.lang = this.element.lang || document.documentElement.lang || "sk", this.dir = this.element.dir || document.documentElement.dir || "ltr", this.setLanguage();
5
5
  }
6
6
  // Nastavenie aktuálneho jazyka
7
7
  setLanguage() {
@@ -2,7 +2,7 @@ var f = Object.defineProperty;
2
2
  var j = (a, e, t) => e in a ? f(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t;
3
3
  var m = (a, e, t) => (j(a, typeof e != "symbol" ? e + "" : e, t), t);
4
4
  import v from "./wje-element.js";
5
- import { L as x } from "./localize-7fxVJArK.js";
5
+ import { L as x } from "./localize-DVuO3S17.js";
6
6
  import E from "./wje-format-digital.js";
7
7
  import z from "./wje-button.js";
8
8
  import A from "./wje-slider.js";
@@ -2,7 +2,7 @@ var v = Object.defineProperty;
2
2
  var w = (s, r, e) => r in s ? v(s, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[r] = e;
3
3
  var h = (s, r, e) => (w(s, typeof r != "symbol" ? r + "" : r, e), e);
4
4
  import x from "./wje-element.js";
5
- import { L as z } from "./localize-7fxVJArK.js";
5
+ import { L as z } from "./localize-DVuO3S17.js";
6
6
  import A from "./wje-button.js";
7
7
  function L() {
8
8
  return [
@@ -2,7 +2,7 @@ var d = Object.defineProperty;
2
2
  var h = (i, t, e) => t in i ? d(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
3
  var m = (i, t, e) => (h(i, typeof t != "symbol" ? t + "" : t, e), e);
4
4
  import p from "./wje-element.js";
5
- import { L as f } from "./localize-7fxVJArK.js";
5
+ import { L as f } from "./localize-DVuO3S17.js";
6
6
  const g = ".native-format-digital{white-space:nowrap}";
7
7
  class c extends p {
8
8
  /**
@@ -6,7 +6,7 @@ import { event as j } from "./wje-element.js";
6
6
  import { defaultStoreActions as k, store as N } from "./wje-store.js";
7
7
  import { b as z, w as B } from "./router-links-FtZbFUto.js";
8
8
  import { fetchAndParseCSS as F } from "./wje-fetchAndParseCSS.js";
9
- import { L as h } from "./localize-7fxVJArK.js";
9
+ import { L as h } from "./localize-DVuO3S17.js";
10
10
  import { default as q } from "./wje-accordion.js";
11
11
  import { default as V } from "./wje-accordion-item.js";
12
12
  import { default as H } from "./wje-animation.js";
package/dist/wje-menu.js CHANGED
@@ -2,7 +2,7 @@ var s = Object.defineProperty;
2
2
  var d = (n, t, e) => t in n ? s(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
3
  var o = (n, t, e) => (d(n, typeof t != "symbol" ? t + "" : t, e), e);
4
4
  import l from "./wje-element.js";
5
- const u = ":host{--wje-menu-background: var(--wje-background);--wje-menu-border-width: 1px;--wje-menu-border-style: solid;--wje-menu-border-color: var(--wje-border-color);--wje-menu-border-radius: var(--wje-border-radius-small);--wje-menu-padding-top: .5rem;--wje-menu-padding-bottom: .5rem;--wje-menu-padding-inline: 0;--wje-menu-margin-top: ;--wje-menu-margin-bottom: 0;--wje-menu-margin-inline: 0;--wje-menu-collapse-width: 65px;display:none;background:var(--wje-menu-background);position:relative;border-width:var(--wje-menu-border-width);border-style:var(--wje-menu-border-style);border-color:var(--wje-menu-border-color);z-index:var(--wje-menu-z-index, 8);border-radius:var(--wje-menu-border-radius);padding-top:var(--wje-menu-padding-top);padding-bottom:var(--wje-menu-padding-bottom);padding-inline:var(--wje-menu-padding-inline);margin-top:var(--wje-menu-margin-top);margin-bottom:var(--wje-menu-margin-bottom);margin-inline:var(--wje-menu-margin-inline);overflow:auto;overscroll-behavior:none}:host .native-menu{display:flex;flex-direction:column;width:100%}:host .native-menu ::slotted(wje-button){margin:0}:host(.wje-menu-collapse){width:var(--wje-menu-collapse-width)}:host([variant=context]){display:block!important;margin-left:var(--wje-menu-submenu-offset)}:host([variant=megamenu]) .native-menu{flex-direction:row;align-items:end;flex-wrap:nowrap}:host([variant=megamenu]) .native-menu .check-icon{display:none}:host([active]){display:flex!important}";
5
+ const u = ":root{--wje-menu-background: var(--wje-background);--wje-menu-border-width: 1px;--wje-menu-border-style: solid;--wje-menu-border-color: var(--wje-border-color);--wje-menu-border-radius: var(--wje-border-radius-small);--wje-menu-padding-top: .5rem;--wje-menu-padding-bottom: .5rem;--wje-menu-padding-inline: 0;--wje-menu-margin-top: ;--wje-menu-margin-bottom: 0;--wje-menu-margin-inline: 0;--wje-menu-collapse-width: 65px}:host{display:none;background:var(--wje-menu-background);position:relative;border-width:var(--wje-menu-border-width);border-style:var(--wje-menu-border-style);border-color:var(--wje-menu-border-color);z-index:var(--wje-menu-z-index, 8);border-radius:var(--wje-menu-border-radius);padding-top:var(--wje-menu-padding-top);padding-bottom:var(--wje-menu-padding-bottom);padding-inline:var(--wje-menu-padding-inline);margin-top:var(--wje-menu-margin-top);margin-bottom:var(--wje-menu-margin-bottom);margin-inline:var(--wje-menu-margin-inline);overflow:auto;overscroll-behavior:none}:host .native-menu{display:flex;flex-direction:column;width:100%}:host .native-menu ::slotted(wje-button){margin:0}:host(.wje-menu-collapse){width:var(--wje-menu-collapse-width)}:host([variant=context]){display:block!important;margin-left:var(--wje-menu-submenu-offset)}:host([variant=megamenu]) .native-menu{flex-direction:row;align-items:end;flex-wrap:nowrap}:host([variant=megamenu]) .native-menu .check-icon{display:none}:host([active]){display:flex!important}";
6
6
  class i extends l {
7
7
  /**
8
8
  * Creates an instance of Menu.
@@ -2,7 +2,7 @@ var h = Object.defineProperty;
2
2
  var v = (n, i, e) => i in n ? h(n, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[i] = e;
3
3
  var d = (n, i, e) => (v(n, typeof i != "symbol" ? i + "" : i, e), e);
4
4
  import f from "./wje-element.js";
5
- import { L as p } from "./localize-7fxVJArK.js";
5
+ import { L as p } from "./localize-DVuO3S17.js";
6
6
  class l extends f {
7
7
  /**
8
8
  * Creates an instance of RelativeTime.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wj-elements",
3
3
  "description": "WebJET Elements is a modern set of user interface tools harnessing the power of web components designed to simplify web application development.",
4
- "version": "0.1.1",
4
+ "version": "0.1.2",
5
5
  "homepage": "https://github.com/lencys/wj-elements",
6
6
  "author": "Lukáš Ondrejček <lukas.ondrejcek@gmail.com>",
7
7
  "license": "MIT",