@dataengineeringformachinelearning/viking-ui 4.1.0 → 4.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.
Files changed (27) hide show
  1. package/{dist/fesm2022 → fesm2022}/dataengineeringformachinelearning-viking-ui.mjs +32 -9
  2. package/fesm2022/dataengineeringformachinelearning-viking-ui.mjs.map +1 -0
  3. package/package.json +78 -98
  4. package/viking-ui.css +1 -0
  5. package/{dist/web-components.js → web-components.js} +15 -2
  6. package/dist/LICENSE +0 -201
  7. package/dist/README.md +0 -277
  8. package/dist/fesm2022/dataengineeringformachinelearning-viking-ui.mjs.map +0 -1
  9. package/dist/package.json +0 -112
  10. package/dist/viking-ui.css +0 -1
  11. /package/{dist/deml-components.css → deml-components.css} +0 -0
  12. /package/{dist/design-tokens.css → design-tokens.css} +0 -0
  13. /package/{dist/fonts → fonts}/inter/InterVariable-Italic.woff2 +0 -0
  14. /package/{dist/fonts → fonts}/inter/InterVariable.woff2 +0 -0
  15. /package/{dist/icons.js → icons.js} +0 -0
  16. /package/{dist/index.d.ts → index.d.ts} +0 -0
  17. /package/{dist/index.js → index.js} +0 -0
  18. /package/{dist/site-drakkar.js → site-drakkar.js} +0 -0
  19. /package/{dist/src → src}/tokens/series-presets.ts +0 -0
  20. /package/{dist/src → src}/tokens/tailwind.preset.js +0 -0
  21. /package/{dist/src → src}/tokens/viking-tokens.json +0 -0
  22. /package/{dist/types → types}/dataengineeringformachinelearning-viking-ui.d.ts +0 -0
  23. /package/{dist/viking-components.css → viking-components.css} +0 -0
  24. /package/{dist/viking-tokens.json → viking-tokens.json} +0 -0
  25. /package/{dist/viking-ui-elements.js → viking-ui-elements.js} +0 -0
  26. /package/{dist/viking.manifest.json → viking.manifest.json} +0 -0
  27. /package/{dist/widget.js → widget.js} +0 -0
@@ -3333,7 +3333,9 @@ class VikingStatusCardWc extends HTMLElementBase {
3333
3333
  const subtitle = this.subtitle;
3334
3334
  const compactClass = this.compact ? " status-card--compact" : "";
3335
3335
  const loadingClass = this.loading ? " status-card--loading" : "";
3336
- const interactiveClass = this.interactive ? " status-card--interactive" : "";
3336
+ const interactiveClass = this.interactive
3337
+ ? " status-card--interactive"
3338
+ : "";
3337
3339
  const wrapperClass = `status-card${compactClass}${loadingClass}${interactiveClass}`;
3338
3340
  const rel = this.target === "_blank" ? ' rel="noopener noreferrer"' : "";
3339
3341
  const statusDot = this.statusDot
@@ -3574,7 +3576,16 @@ class VikingStatusPillWc extends HTMLElementBase {
3574
3576
  static tag = "viking-status-pill";
3575
3577
  static legacyTag = "viking-status-pill-wc";
3576
3578
  static get observedAttributes() {
3577
- return ["tone", "icon", "href", "target", "compact", "dot", "removable", "aria-label"];
3579
+ return [
3580
+ "tone",
3581
+ "icon",
3582
+ "href",
3583
+ "target",
3584
+ "compact",
3585
+ "dot",
3586
+ "removable",
3587
+ "aria-label",
3588
+ ];
3578
3589
  }
3579
3590
  shadow;
3580
3591
  constructor() {
@@ -3621,7 +3632,9 @@ class VikingStatusPillWc extends HTMLElementBase {
3621
3632
  render() {
3622
3633
  const tone = this.tone;
3623
3634
  const compact = this.compact ? " status-pill--compact" : "";
3624
- const icon = this.icon ? renderInlineIcon(this.icon, 14, "status-pill__icon") : "";
3635
+ const icon = this.icon
3636
+ ? renderInlineIcon(this.icon, 14, "status-pill__icon")
3637
+ : "";
3625
3638
  const dot = this.showDot
3626
3639
  ? `<span class="status-pill__dot" aria-hidden="true"></span>`
3627
3640
  : "";
@@ -4048,11 +4061,16 @@ const readContext$3 = (el) => {
4048
4061
  return detectContext$3();
4049
4062
  };
4050
4063
  const readUrls$3 = (el) => {
4051
- const env = globalThis.__DEML ?? {};
4064
+ const env = globalThis
4065
+ .__DEML ?? {};
4052
4066
  return {
4053
4067
  app: el.getAttribute("app-url") ?? env.app ?? DEFAULT_SITE_URLS.app,
4054
- marketing: el.getAttribute("marketing-url") ?? env.marketing ?? DEFAULT_SITE_URLS.marketing,
4055
- backend: el.getAttribute("backend-url") ?? env.backend ?? DEFAULT_SITE_URLS.backend,
4068
+ marketing: el.getAttribute("marketing-url") ??
4069
+ env.marketing ??
4070
+ DEFAULT_SITE_URLS.marketing,
4071
+ backend: el.getAttribute("backend-url") ??
4072
+ env.backend ??
4073
+ DEFAULT_SITE_URLS.backend,
4056
4074
  };
4057
4075
  };
4058
4076
  const readYear = (el) => {
@@ -4180,11 +4198,16 @@ const readBoolAttr = (el, name) => {
4180
4198
  return value !== null && value !== "false";
4181
4199
  };
4182
4200
  const readUrls$2 = (el) => {
4183
- const env = globalThis.__DEML ?? {};
4201
+ const env = globalThis
4202
+ .__DEML ?? {};
4184
4203
  return {
4185
4204
  app: el.getAttribute("app-url") ?? env.app ?? DEFAULT_SITE_URLS.app,
4186
- marketing: el.getAttribute("marketing-url") ?? env.marketing ?? DEFAULT_SITE_URLS.marketing,
4187
- backend: el.getAttribute("backend-url") ?? env.backend ?? DEFAULT_SITE_URLS.backend,
4205
+ marketing: el.getAttribute("marketing-url") ??
4206
+ env.marketing ??
4207
+ DEFAULT_SITE_URLS.marketing,
4208
+ backend: el.getAttribute("backend-url") ??
4209
+ env.backend ??
4210
+ DEFAULT_SITE_URLS.backend,
4188
4211
  };
4189
4212
  };
4190
4213
  const readAuthState = (el) => readBoolAttr(el, "authenticated");