energy-components 2.0.1 → 2.2.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 (74) 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 +323 -309
  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 +173 -159
  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/datepicker.css +1 -1
  35. package/dist/components/style/directAccess.css +1 -1
  36. package/dist/components/style/dropdown.css +1 -1
  37. package/dist/components/style/filterChip.css +1 -1
  38. package/dist/components/style/indicator.css +1 -1
  39. package/dist/components/style/link.css +1 -1
  40. package/dist/components/style/loader.css +1 -1
  41. package/dist/components/style/modal.css +1 -1
  42. package/dist/components/style/multiselect.css +1 -1
  43. package/dist/components/style/multiselectcontentwrapper.css +1 -1
  44. package/dist/components/style/selectionChip.css +1 -1
  45. package/dist/components/style/textField.css +1 -1
  46. package/dist/components/style/toggle.css +1 -1
  47. package/dist/components/style/tooltip.css +1 -1
  48. package/dist/components/switch.es.js +1 -1
  49. package/dist/components/tabBar.es.js +1 -1
  50. package/dist/components/table.es.js +1 -1
  51. package/dist/components/tableRenderer.es.js +1 -1
  52. package/dist/components/tag.es.js +1 -1
  53. package/dist/components/textArea.es.js +1 -1
  54. package/dist/components/textField.es.js +204 -145
  55. package/dist/components/tooltip.es.js +129 -113
  56. package/dist/energy-components.css +1 -1
  57. package/dist/energy-components.es.js +4877 -4743
  58. package/dist/energy-components.umd.js +2 -2
  59. package/dist/style.css +1 -1
  60. package/dist/types/src/components/feedback/indicator/indicator.vue.d.ts +4 -2
  61. package/dist/types/src/components/feedback/loader/loader.vue.d.ts +2 -2
  62. package/dist/types/src/components/input/datepicker/datepicker.vue.d.ts +25 -0
  63. package/dist/types/src/components/input/dropdown/dropdown.vue.d.ts +25 -0
  64. package/dist/types/src/components/input/text-field/text-field.vue.d.ts +64 -3
  65. package/dist/types/src/components/overlay/tooltip/tooltip.vue.d.ts +2 -2
  66. package/dist/types/tsconfig.tsbuildinfo +1 -1
  67. package/llms/rdsdate-picker.md +1 -0
  68. package/llms/rdsdropdown.md +1 -0
  69. package/llms/rdsindicator.md +1 -1
  70. package/llms/rdsloader.md +1 -1
  71. package/llms/rdstext-field.md +5 -0
  72. package/llms/rdstooltip.md +1 -1
  73. package/package.json +3 -3
  74. package/dist/components/floating-ui.vue-i4U-1c0O.js +0 -1154
@@ -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: {