energy-components 2.0.0 → 2.1.0

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 (63) hide show
  1. package/dist/components/accordion.es.js +8 -8
  2. package/dist/components/avatar.es.js +1 -1
  3. package/dist/components/button.es.js +1 -1
  4. package/dist/components/checkbox.es.js +1 -1
  5. package/dist/components/collapsable.es.js +1 -1
  6. package/dist/components/{collapsable.scss_vue_type_style_index_0_src_true_lang-B9_PYixd.js → collapsable.scss_vue_type_style_index_0_src_true_lang-BfTKaP_f.js} +1 -1
  7. package/dist/components/datepicker.es.js +1 -1
  8. package/dist/components/directAccess.es.js +30 -28
  9. package/dist/components/dragAndDrop.es.js +1 -1
  10. package/dist/components/dropdown.es.js +1 -1
  11. package/dist/components/fileUploadItem.es.js +1 -1
  12. package/dist/components/filterChip.es.js +1 -1
  13. package/dist/components/filterTag.es.js +1 -1
  14. package/dist/components/floating-ui.vue-DMBZhA6d.js +1153 -0
  15. package/dist/components/{icon-svg-Cx3PvOnQ.js → icon-svg-CW3eQRcp.js} +33 -3
  16. package/dist/components/iconList.es.js +1 -1
  17. package/dist/components/iconSvg.es.js +1 -1
  18. package/dist/components/index.es.js +2 -2
  19. package/dist/components/indicator.es.js +51 -51
  20. package/dist/components/infoBox.es.js +1 -1
  21. package/dist/components/link.es.js +8 -8
  22. package/dist/components/loader.es.js +3 -3
  23. package/dist/components/modal.es.js +1 -1
  24. package/dist/components/persistentToast.es.js +1 -1
  25. package/dist/components/popover.es.js +2 -2
  26. package/dist/components/popoverMenu.es.js +2 -2
  27. package/dist/components/progressBar.es.js +1 -1
  28. package/dist/components/quantitySelector.es.js +1 -1
  29. package/dist/components/radioButton.es.js +1 -1
  30. package/dist/components/selectionChip.es.js +1 -1
  31. package/dist/components/sidedrawer.es.js +1 -1
  32. package/dist/components/style/accordion.css +1 -1
  33. package/dist/components/style/breadcrumbs.css +1 -1
  34. package/dist/components/style/directAccess.css +1 -1
  35. package/dist/components/style/filterChip.css +1 -1
  36. package/dist/components/style/indicator.css +1 -1
  37. package/dist/components/style/link.css +1 -1
  38. package/dist/components/style/loader.css +1 -1
  39. package/dist/components/style/modal.css +1 -1
  40. package/dist/components/style/selectionChip.css +1 -1
  41. package/dist/components/style/table.css +1 -1
  42. package/dist/components/style/toggle.css +1 -1
  43. package/dist/components/switch.es.js +1 -1
  44. package/dist/components/tabBar.es.js +1 -1
  45. package/dist/components/table.es.js +22 -22
  46. package/dist/components/tableRenderer.es.js +1 -1
  47. package/dist/components/tag.es.js +1 -1
  48. package/dist/components/textArea.es.js +1 -1
  49. package/dist/components/textField.es.js +1 -1
  50. package/dist/components/tooltip.es.js +2 -2
  51. package/dist/energy-components.css +1 -1
  52. package/dist/energy-components.es.js +3627 -3596
  53. package/dist/energy-components.umd.js +2 -2
  54. package/dist/style.css +1 -1
  55. package/dist/types/src/components/feedback/indicator/indicator.vue.d.ts +4 -2
  56. package/dist/types/src/components/feedback/loader/loader.vue.d.ts +2 -2
  57. package/dist/types/tsconfig.tsbuildinfo +1 -1
  58. package/llms/rdsindicator.md +1 -1
  59. package/llms/rdsloader.md +1 -1
  60. package/package.json +3 -3
  61. package/dist/components/floating-ui.vue-i4U-1c0O.js +0 -1154
  62. package/llms/energy-llm.prompt.md +0 -37
  63. package/llms/energy-migration.prompt.md +0 -74
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as B, toRefs as D, ref as p, watch as K, nextTick as T, inject as k, onMounted as $, onBeforeUnmount as A, openBlock as f, createElementBlock as R, createElementVNode as i, mergeProps as x, withKeys as z, toDisplayString as v, unref as m, createBlock as N, createCommentVNode as V, createVNode as H, normalizeClass as S, renderSlot as P, createTextVNode as U } from "vue";
2
- import { R as j } from "./icon-svg-Cx3PvOnQ.js";
2
+ import { R as j } from "./icon-svg-CW3eQRcp.js";
3
3
  import E from "./tag.es.js";
4
4
  import { R as F, U as I } from "./types-CFEN6-OM.js";
5
5
  import { _ as M } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -75,7 +75,7 @@ import './style/accordion.css';const L = ["id"], G = ["aria-expanded", "aria-con
75
75
  r(!0);
76
76
  }, y = () => {
77
77
  r(!1);
78
- }, _ = (t) => {
78
+ }, b = (t) => {
79
79
  t.preventDefault(), r();
80
80
  }, q = () => {
81
81
  r();
@@ -87,9 +87,9 @@ import './style/accordion.css';const L = ["id"], G = ["aria-expanded", "aria-con
87
87
  }),
88
88
  { immediate: !0 }
89
89
  );
90
- const b = k(F), C = k(I);
90
+ const _ = k(F), C = k(I);
91
91
  return $(() => {
92
- b && b({
92
+ _ && _({
93
93
  id: a.id,
94
94
  open: h,
95
95
  close: y
@@ -125,15 +125,15 @@ import './style/accordion.css';const L = ["id"], G = ["aria-expanded", "aria-con
125
125
  }, t.$attrs, {
126
126
  onClick: q,
127
127
  onKeydown: [
128
- z(_, ["enter"]),
129
- z(_, ["space"])
128
+ z(b, ["enter"]),
129
+ z(b, ["space"])
130
130
  ]
131
131
  }), [
132
132
  i("span", J, v(n.title), 1),
133
133
  i("div", Q, [
134
134
  m(c) && m(c).icon ? (f(), N(E, x({
135
135
  key: 0,
136
- class: "rds-e-accordion-title_tag"
136
+ class: "rds-e-accordion-title_tag rds-mr-16"
137
137
  }, m(c), { small: "" }), null, 16)) : n.label ? (f(), R("span", W, v(n.label), 1)) : V("", !0),
138
138
  H(j, {
139
139
  class: S(["rds-e-accordion-title_icon", { "rds-e-accordion-title_icon--open": e.value }]),
@@ -161,7 +161,7 @@ import './style/accordion.css';const L = ["id"], G = ["aria-expanded", "aria-con
161
161
  ], 10, X)
162
162
  ], 8, L));
163
163
  }
164
- }), re = /* @__PURE__ */ M(Y, [["__scopeId", "data-v-31602dae"]]);
164
+ }), re = /* @__PURE__ */ M(Y, [["__scopeId", "data-v-664b77c3"]]);
165
165
  export {
166
166
  re as default
167
167
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, computed as a, openBlock as n, createElementBlock as s, withKeys as o, normalizeStyle as u, normalizeClass as k, toDisplayString as _, createBlock as b, createCommentVNode as z } from "vue";
2
- import { R as C } from "./icon-svg-Cx3PvOnQ.js";
2
+ import { R as C } from "./icon-svg-CW3eQRcp.js";
3
3
  import { _ as w } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import './style/avatar.css';const A = ["id", "aria-label"], B = ["src", "alt"], D = {
5
5
  key: 1,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as b, computed as s, openBlock as r, createElementBlock as f, mergeProps as p, createBlock as v, normalizeClass as m, createCommentVNode as y, createElementVNode as h, renderSlot as g, createTextVNode as x, toDisplayString as B } from "vue";
2
- import { R as S } from "./icon-svg-Cx3PvOnQ.js";
2
+ import { R as S } from "./icon-svg-CW3eQRcp.js";
3
3
  import { _ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import './style/button.css';const $ = ["id", "type", "disabled", "aria-disabled", "aria-busy", "aria-label"], L = { class: "rds-e-btn__text" }, I = /* @__PURE__ */ b({
5
5
  __name: "button",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as D, computed as c, ref as d, watch as N, onMounted as E, onBeforeUnmount as L, openBlock as s, createElementBlock as R, normalizeClass as u, createElementVNode as b, mergeProps as T, renderSlot as U, createTextVNode as z, toDisplayString as I, createBlock as x, withCtx as $, createVNode as F, createCommentVNode as K } from "vue";
2
- import { R as g } from "./icon-svg-Cx3PvOnQ.js";
2
+ import { R as g } from "./icon-svg-CW3eQRcp.js";
3
3
  import M from "./tooltip.es.js";
4
4
  import { g as p } from "./getInstance-GhoEcxLF.js";
5
5
  import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./collapsable.scss_vue_type_style_index_0_src_true_lang-B9_PYixd.js";
1
+ import { _ as f } from "./collapsable.scss_vue_type_style_index_0_src_true_lang-BfTKaP_f.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as C, ref as i, computed as c, watch as y, nextTick as o, onMounted as N, onBeforeUnmount as R, openBlock as g, createElementBlock as S, normalizeClass as u, createElementVNode as s, withKeys as $, createBlock as I, createCommentVNode as L, toDisplayString as x, createVNode as O, renderSlot as V, createTextVNode as H } from "vue";
2
- import { R as k } from "./icon-svg-Cx3PvOnQ.js";
2
+ import { R as k } from "./icon-svg-CW3eQRcp.js";
3
3
  import './style/collapsable.css';const D = ["id", "aria-expanded", "aria-controls", "disabled"], K = { class: "rds-e-collapsable__header-title" }, M = { class: "rds-e-collapsable__header-title-text" }, T = ["id", "aria-labelledby"], U = /* @__PURE__ */ C({
4
4
  __name: "collapsable",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { reactive as ya, ref as G, defineComponent as Je, useSlots as Vt, toRef as fa, onMounted as Ze, nextTick as it, onUnmounted as ga, watch as ct, computed as U, openBlock as O, createElementBlock as X, unref as s, normalizeClass as xe, createVNode as tt, mergeProps as Qe, isRef as $n, createSlots as Ge, renderList as Se, withCtx as ke, renderSlot as de, normalizeProps as ze, guardReactiveProps as lt, createBlock as Te, resolveDynamicComponent as Ya, Teleport as qr, Transition as la, createCommentVNode as K, h as jr, render as Cn, createElementVNode as ge, withModifiers as Ot, normalizeStyle as vt, Fragment as _e, toDisplayString as et, useAttrs as Qr, createTextVNode as Ct, getCurrentScope as Ur, onScopeDispose as Xr, onBeforeUpdate as zr, withDirectives as Pa, vShow as Ta, withKeys as Aa, useModel as Kr, toRefs as Gr, toHandlers as Jr, mergeModels as Yn } from "vue";
2
- import { R as Zr } from "./icon-svg-Cx3PvOnQ.js";
2
+ import { R as Zr } from "./icon-svg-CW3eQRcp.js";
3
3
  import Rn from "./button.es.js";
4
4
  import el from "./textField.es.js";
5
5
  import { _ as tl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -1,8 +1,8 @@
1
- import { defineComponent as R, toRefs as D, computed as i, openBlock as l, createBlock as d, resolveDynamicComponent as E, unref as t, normalizeClass as j, withCtx as I, renderSlot as u, createElementVNode as m, normalizeStyle as k, createElementBlock as N, createCommentVNode as y, toDisplayString as O } from "vue";
1
+ import { defineComponent as R, toRefs as D, computed as i, openBlock as l, createBlock as u, resolveDynamicComponent as E, unref as t, normalizeClass as j, withCtx as I, renderSlot as m, createElementVNode as c, normalizeStyle as k, createElementBlock as N, createCommentVNode as y, toDisplayString as O } from "vue";
2
2
  import { s as T } from "./functions-D3GA3OzJ.js";
3
- import { R as h } from "./icon-svg-Cx3PvOnQ.js";
3
+ import { R as h } from "./icon-svg-CW3eQRcp.js";
4
4
  import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
- import './style/directAccess.css';const q = { class: "rds-e-direct-access__artwork-container" }, A = ["src", "alt", "aria-hidden"], M = { class: "rds-e-direct-access__text-container" }, U = { class: "rds-e-direct-access__text" }, F = /* @__PURE__ */ R({
5
+ import './style/directAccess.css';const q = { class: "rds-e-direct-access__artwork-container" }, A = ["src", "alt", "aria-hidden"], M = { class: "rds-e-direct-access__text-container" }, U = { class: "rds-e-direct-access__text-content" }, F = { class: "rds-e-direct-access__text" }, G = /* @__PURE__ */ R({
6
6
  __name: "direct-access",
7
7
  props: {
8
8
  /**
@@ -79,59 +79,61 @@ import './style/directAccess.css';const q = { class: "rds-e-direct-access__artwo
79
79
  }
80
80
  },
81
81
  emits: ["click"],
82
- setup(o, { emit: w }) {
83
- const b = o, S = w, { text: p, layout: g, disabled: c, arrow: f, artwork: a, ariaLabel: z, linkTo: r, useRouterLink: x } = D(b), C = i(() => [
82
+ setup(o, { emit: b }) {
83
+ const w = o, S = b, { text: _, layout: g, disabled: n, arrow: p, artwork: a, ariaLabel: x, linkTo: r, useRouterLink: z } = D(w), C = i(() => [
84
84
  "rds-e-direct-access",
85
85
  `rds-e-direct-access--${g.value}`,
86
- { "rds-e-direct-access--disabled": c.value },
87
- { "rds-e-direct-access--with-arrow": f.value }
88
- ]), n = i(() => x.value && !!r.value), L = i(() => z.value || p.value), $ = i(() => typeof r.value == "string" ? T(r.value) : ""), v = i(() => a.value?.microillustration && (a.value.microillustration.path || a.value.microillustration.url) || ""), _ = (e) => {
86
+ { "rds-e-direct-access--disabled": n.value },
87
+ { "rds-e-direct-access--with-arrow": p.value }
88
+ ]), d = i(() => z.value && !!r.value), L = i(() => x.value || _.value), $ = i(() => typeof r.value == "string" ? T(r.value) : ""), f = i(() => a.value?.microillustration && (a.value.microillustration.path || a.value.microillustration.url) || ""), v = (e) => {
89
89
  if (!e) return {};
90
90
  const s = {};
91
91
  return e.size && (s.fontSize = `${e.size}px`, s.width = `${e.size}px`, s.height = `${e.size}px`), e.color && "name" in e && (s.color = e.color), s;
92
92
  }, B = (e) => {
93
- if (c.value) {
93
+ if (n.value) {
94
94
  e.preventDefault();
95
95
  return;
96
96
  }
97
97
  S("click", e);
98
98
  };
99
- return (e, s) => (l(), d(E(t(r) ? n.value ? "router-link" : "a" : "button"), {
99
+ return (e, s) => (l(), u(E(t(r) ? d.value ? "router-link" : "a" : "button"), {
100
100
  id: o.id,
101
101
  type: t(r) ? void 0 : "button",
102
- href: !n.value && t(r) ? $.value : void 0,
103
- to: n.value && t(r) ? t(r) : void 0,
102
+ href: !d.value && t(r) ? $.value : void 0,
103
+ to: d.value && t(r) ? t(r) : void 0,
104
104
  class: j(C.value),
105
- disabled: t(c),
105
+ disabled: t(n),
106
106
  "aria-label": L.value,
107
107
  onClick: B
108
108
  }, {
109
109
  default: I(() => [
110
- u(e.$slots, "default", {}, () => [
111
- m("div", q, [
112
- u(e.$slots, "artwork", {}, () => [
113
- t(a)?.icon?.name ? (l(), d(h, {
110
+ m(e.$slots, "default", {}, () => [
111
+ c("div", q, [
112
+ m(e.$slots, "artwork", {}, () => [
113
+ t(a)?.icon?.name ? (l(), u(h, {
114
114
  key: 0,
115
115
  name: t(a).icon.name,
116
- style: k(_(t(a).icon)),
116
+ style: k(v(t(a).icon)),
117
117
  class: "rds-e-direct-access__artwork-item rds-e-direct-access__artwork-item--icon",
118
118
  "aria-hidden": "true"
119
- }, null, 8, ["name", "style"])) : t(a)?.microillustration && v.value ? (l(), N("img", {
119
+ }, null, 8, ["name", "style"])) : t(a)?.microillustration && f.value ? (l(), N("img", {
120
120
  key: 1,
121
- src: v.value,
121
+ src: f.value,
122
122
  alt: t(a).microillustration.alt || "",
123
- style: k(_(t(a).microillustration)),
123
+ style: k(v(t(a).microillustration)),
124
124
  class: "rds-e-direct-access__artwork-item rds-e-direct-access__artwork-item--microillustration",
125
125
  "aria-hidden": !t(a).microillustration.alt
126
126
  }, null, 12, A)) : y("", !0)
127
127
  ], !0)
128
128
  ]),
129
- m("div", M, [
130
- u(e.$slots, "text", {}, () => [
131
- m("span", U, O(t(p)), 1)
132
- ], !0)
129
+ c("div", M, [
130
+ c("div", U, [
131
+ m(e.$slots, "text", {}, () => [
132
+ c("span", F, O(t(_)), 1)
133
+ ], !0)
134
+ ])
133
135
  ]),
134
- t(f) ? (l(), d(h, {
136
+ t(p) ? (l(), u(h, {
135
137
  key: 0,
136
138
  name: "arrow_right",
137
139
  small: "",
@@ -143,7 +145,7 @@ import './style/directAccess.css';const q = { class: "rds-e-direct-access__artwo
143
145
  _: 3
144
146
  }, 8, ["id", "type", "href", "to", "class", "disabled", "aria-label"]));
145
147
  }
146
- }), P = /* @__PURE__ */ V(F, [["__scopeId", "data-v-35d83735"]]);
148
+ }), Q = /* @__PURE__ */ V(G, [["__scopeId", "data-v-c9886bab"]]);
147
149
  export {
148
- P as default
150
+ Q as default
149
151
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as W, ref as _, computed as u, openBlock as b, createElementBlock as x, withModifiers as c, normalizeClass as k, createElementVNode as o, renderSlot as q, createVNode as L, toDisplayString as D, createCommentVNode as M } from "vue";
2
2
  import { g as z } from "./getInstance-GhoEcxLF.js";
3
- import { R as A } from "./icon-svg-Cx3PvOnQ.js";
3
+ import { R as A } from "./icon-svg-CW3eQRcp.js";
4
4
  import { _ as U } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  import './style/dragAndDrop.css';const V = ["id", "accept", "multiple", "disabled"], O = ["for"], P = { class: "rds-e-drag-and-drop__icon-wrapper" }, j = { class: "rds-e-drag-and-drop__text-container" }, G = { class: "rds-e-drag-and-drop__text" }, H = {
6
6
  key: 0,
@@ -3,7 +3,7 @@ import De from "./multiselect.es.js";
3
3
  import Ce from "./checkbox.es.js";
4
4
  import { _ as Oe } from "./radio-group.vue_vue_type_script_setup_true_lang-CwgSZYeD.js";
5
5
  import Be from "./radioButton.es.js";
6
- import { R as oe } from "./icon-svg-Cx3PvOnQ.js";
6
+ import { R as oe } from "./icon-svg-CW3eQRcp.js";
7
7
  import le from "./textField.es.js";
8
8
  import { _ as Le } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  import './style/dropdown.css';const Ve = ["id", "aria-expanded", "aria-controls"], Ae = ["aria-expanded", "aria-controls"], Ee = { class: "rds-e-dropdown__option" }, Re = { class: "rds-e-dropdown__option-container" }, Te = { class: "rds-e-dropdown__option--prepend" }, _e = { class: "rds-e-dropdown__option--content" }, Fe = {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as M, ref as z, computed as c, openBlock as s, createElementBlock as l, normalizeClass as N, createElementVNode as n, renderSlot as v, createVNode as p, toDisplayString as f, createCommentVNode as r, withModifiers as $ } from "vue";
2
- import { R as g } from "./icon-svg-Cx3PvOnQ.js";
2
+ import { R as g } from "./icon-svg-CW3eQRcp.js";
3
3
  import w from "./progressBar.es.js";
4
4
  import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  import './style/fileUploadItem.css';const C = ["id"], F = { class: "rds-e-file-upload-item__icon-container" }, R = { class: "rds-e-file-upload-item__details" }, E = { class: "rds-e-file-upload-item__info-wrapper" }, x = { class: "rds-e-file-upload-item__name" }, D = {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as g, ref as b, computed as s, openBlock as l, createElementBlock as a, normalizeClass as y, createBlock as c, createCommentVNode as r, toDisplayString as n, createElementVNode as k } from "vue";
2
- import { R as o } from "./icon-svg-Cx3PvOnQ.js";
2
+ import { R as o } from "./icon-svg-CW3eQRcp.js";
3
3
  import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import './style/filterChip.css';const _ = ["id", "disabled"], I = {
5
5
  key: 0,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, ref as m, openBlock as b, createElementBlock as g, withKeys as s, normalizeClass as v, createElementVNode as x, toDisplayString as p, createVNode as y, withModifiers as l } from "vue";
2
- import { R as S } from "./icon-svg-Cx3PvOnQ.js";
2
+ import { R as S } from "./icon-svg-CW3eQRcp.js";
3
3
  import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import './style/filterTag.css';const w = ["id", "aria-disabled", "tabindex"], _ = { class: "rds-e-filter-tag__text" }, k = /* @__PURE__ */ u({
5
5
  __name: "filter-tag",