@ganpatiinfo/gids-core-web 10.0.0 → 10.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 (212) hide show
  1. package/dist/css/index.css +59 -0
  2. package/dist/css/index.css.map +1 -1
  3. package/dist/gids-action-bar.d.ts +11 -0
  4. package/dist/gids-action-bar.js +1 -0
  5. package/dist/gids-activity-gauge.d.ts +1 -1
  6. package/dist/gids-activity-gauge.js +1 -1
  7. package/dist/gids-bar-chart.d.ts +1 -1
  8. package/dist/gids-bar-chart.js +1 -1
  9. package/dist/gids-calendar-header-panel.d.ts +1 -1
  10. package/dist/gids-calendar-header-panel.js +1 -1
  11. package/dist/gids-calendar-month-list.d.ts +1 -1
  12. package/dist/gids-calendar-month-list.js +1 -1
  13. package/dist/gids-calendar-year-list.d.ts +1 -1
  14. package/dist/gids-calendar-year-list.js +1 -1
  15. package/dist/gids-calendar.d.ts +1 -1
  16. package/dist/gids-calendar.js +1 -1
  17. package/dist/gids-chart-legend-item.d.ts +1 -1
  18. package/dist/gids-chart-legend-item.js +1 -1
  19. package/dist/gids-chart-legend.d.ts +1 -1
  20. package/dist/gids-chart-legend.js +1 -1
  21. package/dist/gids-chart.d.ts +1 -1
  22. package/dist/gids-chart.js +1 -1
  23. package/dist/gids-chevron-button.d.ts +1 -1
  24. package/dist/gids-chevron-button.js +1 -1
  25. package/dist/gids-dot.d.ts +1 -1
  26. package/dist/gids-dot.js +1 -1
  27. package/dist/gids-dropdown-field.d.ts +1 -1
  28. package/dist/gids-dropdown-field.js +1 -1
  29. package/dist/gids-dropdown-picker.d.ts +1 -1
  30. package/dist/gids-dropdown-picker.js +1 -1
  31. package/dist/gids-dropdown.d.ts +1 -1
  32. package/dist/gids-dropdown.js +1 -1
  33. package/dist/gids-field.d.ts +1 -1
  34. package/dist/gids-field.js +1 -1
  35. package/dist/gids-filter.d.ts +11 -0
  36. package/dist/gids-filter.js +1 -0
  37. package/dist/gids-icon.d.ts +1 -1
  38. package/dist/gids-icon.js +1 -1
  39. package/dist/gids-input.d.ts +1 -1
  40. package/dist/gids-input.js +1 -1
  41. package/dist/gids-level-gauge.d.ts +1 -1
  42. package/dist/gids-level-gauge.js +1 -1
  43. package/dist/gids-line-chart.d.ts +1 -1
  44. package/dist/gids-line-chart.js +1 -1
  45. package/dist/gids-notification.d.ts +1 -1
  46. package/dist/gids-notification.js +1 -1
  47. package/dist/gids-overflow-container.d.ts +1 -1
  48. package/dist/gids-overflow-container.js +1 -1
  49. package/dist/gids-overlay-provider.d.ts +1 -1
  50. package/dist/gids-overlay-provider.js +1 -1
  51. package/dist/gids-password-field.d.ts +1 -1
  52. package/dist/gids-password-field.js +1 -1
  53. package/dist/gids-pie-chart.d.ts +1 -1
  54. package/dist/gids-pie-chart.js +1 -1
  55. package/dist/gids-popover.d.ts +1 -1
  56. package/dist/gids-popover.js +1 -1
  57. package/dist/gids-progress-circle.d.ts +1 -1
  58. package/dist/gids-progress-circle.js +1 -1
  59. package/dist/gids-scrim.d.ts +1 -1
  60. package/dist/gids-scrim.js +1 -1
  61. package/dist/gids-snackbar.d.ts +1 -1
  62. package/dist/gids-snackbar.js +1 -1
  63. package/dist/gids-text-field.d.ts +1 -1
  64. package/dist/gids-text-field.js +1 -1
  65. package/dist/gids-toggle-button.d.ts +1 -1
  66. package/dist/gids-toggle-button.js +1 -1
  67. package/dist/gids-tooltip.d.ts +1 -1
  68. package/dist/gids-tooltip.js +1 -1
  69. package/dist/index.js +1 -1
  70. package/dist/{p-DfFqFdmS.js → p-BQ-ZnlnH.js} +1 -1
  71. package/dist/{p-9_mrQ7ac.js → p-BZCJlqVe.js} +1 -1
  72. package/dist/p-Bf3p-DY2.js +1 -0
  73. package/dist/{p-CIP0xyhD.js → p-BpQB6ncp.js} +1 -1
  74. package/dist/p-CHGTBObD.js +1 -0
  75. package/dist/{p-CPSHPtGE.js → p-CP1wz2PI.js} +1 -1
  76. package/dist/{p-D93TNeOt.js → p-CQH7eAs3.js} +1 -1
  77. package/dist/{p-CJzporPT.js → p-CW7tw1Fb.js} +1 -1
  78. package/dist/{p-D_wcwB7E.js → p-CaauwQNd.js} +1 -1
  79. package/dist/p-Cn3-K5eR.js +1 -0
  80. package/dist/{p-quZYWCxU.js → p-CoS0NuDU.js} +1 -1
  81. package/dist/{p-BnL97lOW.js → p-D4Pimu_8.js} +1 -1
  82. package/dist/p-D6lxqcxP.js +1 -0
  83. package/dist/p-DMNS1d8v.js +1 -0
  84. package/dist/{p-BvYnawkJ.js → p-DNTv2BQ5.js} +1 -1
  85. package/dist/{p-tyIgTtUC.js → p-DPIK2ayL.js} +1 -1
  86. package/dist/{p-BiPAgxAQ.js → p-Db62Pz3n.js} +1 -1
  87. package/dist/{p-uqSjmNkw.js → p-Degg_WJz.js} +1 -1
  88. package/dist/{p-h6alWGT8.js → p-DfxTsSdZ.js} +1 -1
  89. package/dist/p-Dg2yoUxw.js +1 -0
  90. package/dist/p-DmLoB2Dn.js +1 -0
  91. package/dist/p-DoCwI_bx.js +1 -0
  92. package/dist/p-H1JIMJ2t.js +1 -0
  93. package/dist/p-JjN8U9B5.js +1 -0
  94. package/dist/p-UVmSPzTd.js +1 -0
  95. package/dist/p-UxDcM-C5.js +1 -0
  96. package/dist/{p-Bmb-HiXg.js → p-V48JyMbP.js} +1 -1
  97. package/dist/{p-B81J5HCC.js → p-mZJdpfOo.js} +1 -1
  98. package/dist/types/components/html/GidsButtonGroup/GidsButtonGroup.d.ts +2 -2
  99. package/dist/types/components/webComponents/GidsActionBar/GidsActionBar.d.ts +59 -0
  100. package/dist/types/components/webComponents/GidsFilter/GidsFilter.d.ts +55 -0
  101. package/dist/types/components/webComponents/GidsToggleButton/GidsToggleButton.d.ts +5 -3
  102. package/dist/types/components.d.ts +260 -5
  103. package/dist-bundled/es/gids-action-bar.js +177 -0
  104. package/dist-bundled/es/gids-activity-gauge.js +1 -1
  105. package/dist-bundled/es/gids-bar-chart.js +3 -3
  106. package/dist-bundled/es/gids-calendar-header-panel.js +4 -4
  107. package/dist-bundled/es/gids-calendar-month-list.js +3 -3
  108. package/dist-bundled/es/gids-calendar-year-list.js +4 -4
  109. package/dist-bundled/es/gids-calendar.js +22 -22
  110. package/dist-bundled/es/gids-chart-legend-item.js +4 -4
  111. package/dist-bundled/es/gids-chart-legend.js +4 -4
  112. package/dist-bundled/es/gids-chart.js +22 -22
  113. package/dist-bundled/es/gids-chevron-button.js +10 -10
  114. package/dist-bundled/es/gids-dot.js +3 -3
  115. package/dist-bundled/es/gids-dropdown-field.js +8 -8
  116. package/dist-bundled/es/gids-dropdown-picker.js +1 -1
  117. package/dist-bundled/es/gids-dropdown.js +4 -4
  118. package/dist-bundled/es/gids-field.js +1 -1
  119. package/dist-bundled/es/gids-filter.js +6 -0
  120. package/dist-bundled/es/gids-icon.js +4 -4
  121. package/dist-bundled/es/gids-input.js +1 -1
  122. package/dist-bundled/es/gids-level-gauge.js +4 -4
  123. package/dist-bundled/es/gids-line-chart.js +4 -4
  124. package/dist-bundled/es/gids-notification.js +1 -1
  125. package/dist-bundled/es/gids-overflow-container.js +2 -2
  126. package/dist-bundled/es/gids-overlay-provider.js +12 -12
  127. package/dist-bundled/es/gids-password-field.js +36 -36
  128. package/dist-bundled/es/gids-pie-chart.js +4 -4
  129. package/dist-bundled/es/gids-popover.js +5 -5
  130. package/dist-bundled/es/gids-progress-circle.js +1 -1
  131. package/dist-bundled/es/gids-scrim.js +2 -2
  132. package/dist-bundled/es/gids-snackbar.js +1 -1
  133. package/dist-bundled/es/gids-text-field.js +12 -12
  134. package/dist-bundled/es/gids-toggle-button.js +4 -44
  135. package/dist-bundled/es/gids-tooltip.js +5 -5
  136. package/dist-bundled/es/index.js +3 -3
  137. package/dist-bundled/es/{p-DfFqFdmS-DjI2pk-0.js → p-BQ-ZnlnH-CUVdDHzX.js} +6 -6
  138. package/dist-bundled/es/{p-9_mrQ7ac-If6e6cvJ.js → p-BZCJlqVe-BcSwze-q.js} +6 -6
  139. package/dist-bundled/es/p-Bf3p-DY2-CPqEc-vc.js +672 -0
  140. package/dist-bundled/es/{p-CIP0xyhD-D6y5soLj.js → p-BpQB6ncp-C2AWddf-.js} +11 -11
  141. package/dist-bundled/es/{p-DKsrt7dx-ImYLc4xz.js → p-CHGTBObD-EN4cCwtX.js} +3 -3
  142. package/dist-bundled/es/{p-CPSHPtGE-C7baJgXR.js → p-CP1wz2PI-DhVAsHFS.js} +4 -4
  143. package/dist-bundled/es/{p-D93TNeOt-Vvshbux8.js → p-CQH7eAs3-BVowyVGn.js} +14 -14
  144. package/dist-bundled/es/{p-CJzporPT-I_OdjJsQ.js → p-CW7tw1Fb-DtJ5TwCU.js} +18 -18
  145. package/dist-bundled/es/{p-D_wcwB7E-d3jYxfod.js → p-CaauwQNd-D6_PbcRr.js} +1 -1
  146. package/dist-bundled/es/{p-BaO-kEWS-ZITkeP-j.js → p-Cn3-K5eR-tQ1EOnDF.js} +22 -20
  147. package/dist-bundled/es/{p-quZYWCxU-CPyWW0nv.js → p-CoS0NuDU-CqmDcRWj.js} +9 -9
  148. package/dist-bundled/es/{p-BnL97lOW-BO0p4EdC.js → p-D4Pimu_8-DfEGRQGf.js} +1 -1
  149. package/dist-bundled/es/p-D6lxqcxP-DWrZi1Xi.js +74 -0
  150. package/dist-bundled/es/{p-Dehss-X0-Di5vMgvd.js → p-DMNS1d8v-CHF62UXm.js} +3 -3
  151. package/dist-bundled/es/{p-BvYnawkJ-DohV9UNG.js → p-DNTv2BQ5-Bwgd30mM.js} +6 -6
  152. package/dist-bundled/es/{p-tyIgTtUC-C8jR4A5G.js → p-DPIK2ayL-DPEbctqo.js} +4 -4
  153. package/dist-bundled/es/{p-BiPAgxAQ-BtMBQpJY.js → p-Db62Pz3n-DpQjwBYb.js} +5 -5
  154. package/dist-bundled/es/{p-uqSjmNkw-Cz2T86sC.js → p-Degg_WJz-BLua06el.js} +3 -3
  155. package/dist-bundled/es/{p-h6alWGT8-CSY2g3c8.js → p-DfxTsSdZ-C2Afv1lS.js} +8 -8
  156. package/dist-bundled/es/{p-CRngHsR7-DL9wz3Z3.js → p-Dg2yoUxw-Cca8ROd_.js} +4 -4
  157. package/dist-bundled/es/p-DmLoB2Dn-D-FSoCvI.js +44 -0
  158. package/dist-bundled/es/{p-B_HaXpJZ-a2SDgQ0E.js → p-DoCwI_bx-BXHlZI7-.js} +7 -7
  159. package/dist-bundled/es/p-H1JIMJ2t-DEXp7M4I.js +152 -0
  160. package/dist-bundled/es/{p-BFHWXEeg-ByjSjz8i.js → p-JjN8U9B5-GeWjfJBY.js} +23 -21
  161. package/dist-bundled/es/{p-KxRqlvSh-JOFDmT0B.js → p-UVmSPzTd-DiTxS9kW.js} +8 -8
  162. package/dist-bundled/es/{p-DZWWuJac-DNQvnHAr.js → p-UxDcM-C5-Dr5d_WpJ.js} +2 -2
  163. package/dist-bundled/es/{p-Bmb-HiXg-MyHWdhpw.js → p-V48JyMbP-Bx-0od-Z.js} +12 -12
  164. package/dist-bundled/es/{p-B81J5HCC-Bkt2yXKi.js → p-mZJdpfOo-DicbKil0.js} +7 -7
  165. package/dist-bundled/umd/gids-action-bar.umd.js +7 -0
  166. package/dist-bundled/umd/gids-activity-gauge.umd.js +2 -2
  167. package/dist-bundled/umd/gids-bar-chart.umd.js +3 -3
  168. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +2 -2
  169. package/dist-bundled/umd/gids-calendar-month-list.umd.js +2 -2
  170. package/dist-bundled/umd/gids-calendar-year-list.umd.js +2 -2
  171. package/dist-bundled/umd/gids-calendar.umd.js +2 -2
  172. package/dist-bundled/umd/gids-chart-legend-item.umd.js +2 -2
  173. package/dist-bundled/umd/gids-chart-legend.umd.js +2 -2
  174. package/dist-bundled/umd/gids-chart.umd.js +3 -3
  175. package/dist-bundled/umd/gids-chevron-button.umd.js +2 -2
  176. package/dist-bundled/umd/gids-dot.umd.js +2 -2
  177. package/dist-bundled/umd/gids-dropdown-field.umd.js +2 -2
  178. package/dist-bundled/umd/gids-dropdown-picker.umd.js +2 -2
  179. package/dist-bundled/umd/gids-dropdown.umd.js +2 -2
  180. package/dist-bundled/umd/gids-field.umd.js +2 -2
  181. package/dist-bundled/umd/gids-filter.umd.js +7 -0
  182. package/dist-bundled/umd/gids-icon.umd.js +2 -2
  183. package/dist-bundled/umd/gids-input.umd.js +2 -2
  184. package/dist-bundled/umd/gids-level-gauge.umd.js +2 -2
  185. package/dist-bundled/umd/gids-line-chart.umd.js +2 -2
  186. package/dist-bundled/umd/gids-notification.umd.js +2 -2
  187. package/dist-bundled/umd/gids-overflow-container.umd.js +2 -2
  188. package/dist-bundled/umd/gids-overlay-provider.umd.js +2 -2
  189. package/dist-bundled/umd/gids-password-field.umd.js +2 -2
  190. package/dist-bundled/umd/gids-pie-chart.umd.js +2 -2
  191. package/dist-bundled/umd/gids-popover.umd.js +2 -2
  192. package/dist-bundled/umd/gids-progress-circle.umd.js +2 -2
  193. package/dist-bundled/umd/gids-scrim.umd.js +2 -2
  194. package/dist-bundled/umd/gids-snackbar.umd.js +2 -2
  195. package/dist-bundled/umd/gids-text-field.umd.js +2 -2
  196. package/dist-bundled/umd/gids-toggle-button.umd.js +3 -3
  197. package/dist-bundled/umd/gids-tooltip.umd.js +2 -2
  198. package/dist-bundled/umd/index.umd.js +2 -2
  199. package/dist-bundled/umd-complete/gids-core-web.umd.js +8 -8
  200. package/package.json +20 -4
  201. package/dist/p-BFHWXEeg.js +0 -1
  202. package/dist/p-B_HaXpJZ.js +0 -1
  203. package/dist/p-BaO-kEWS.js +0 -1
  204. package/dist/p-CRngHsR7.js +0 -1
  205. package/dist/p-Ct3Ixgvf.js +0 -1
  206. package/dist/p-DKsrt7dx.js +0 -1
  207. package/dist/p-DZWWuJac.js +0 -1
  208. package/dist/p-Dehss-X0.js +0 -1
  209. package/dist/p-KxRqlvSh.js +0 -1
  210. package/dist/p-MgTlrSP_.js +0 -1
  211. package/dist-bundled/es/p-Ct3Ixgvf-CNP_PKwP.js +0 -646
  212. package/dist-bundled/es/p-MgTlrSP_-DifRVv94.js +0 -70
@@ -1,4 +1,4 @@
1
- import { _ as e, u as s, P as i } from "./p-Ct3Ixgvf-CNP_PKwP.js";
1
+ import { L as e, u as s, q as i } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { e as a } from "./p-CVtNa0cL-sSVeJsR3.js";
3
3
  const o = e(class extends s {
4
4
  constructor(t) {
@@ -1,4 +1,4 @@
1
- import { _ as a, u as n, T as e, P as o } from "./p-Ct3Ixgvf-CNP_PKwP.js";
1
+ import { L as a, u as n, D as e, q as o } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { i as l } from "./p-B2zUuNXz-BLBgQDu7.js";
3
3
  const h = (t) => t === "top" || t === "top-bottom", c = (t) => t === "bottom" || t === "top-bottom", d = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4
4
  __proto__: null,
@@ -20,7 +20,7 @@ const h = (t) => t === "top" || t === "top-bottom", c = (t) => t === "bottom" ||
20
20
  this._textArea.scrollTop + this._textArea.offsetHeight >= this._textArea.scrollHeight ? this._el.style.setProperty("--gidsOverflowContainer-after-opacity", "0") : t !== 0 ? t > 0 && (f(this.shadowLocation) && this._el.style.setProperty("--gidsOverflowContainer-before-opacity", "" + Math.min(t / 20, 1)), s(this.shadowLocation) && this._el.style.setProperty("--gidsOverflowContainer-after-opacity", "" + Math.min((this._textArea.scrollHeight - (this._textArea.scrollTop + this._textArea.offsetHeight)) / 20, 1))) : this._el.style.setProperty("--gidsOverflowContainer-after-opacity", "0");
21
21
  }
22
22
  render() {
23
- return e("div", { key: "fbc4a9851c77e92b2261392c6d8f00664f8adb94", class: "gids-overflow-container__text-area", onScroll: this.calculateShadows.bind(this) }, e("slot", { key: "a825b7f435064d06a22f751e507c8a765817abec" }));
23
+ return e("div", { key: "97362225f8b3eb16c63650c2265649f0c10cd02d", class: "gids-overflow-container__text-area", onScroll: this.calculateShadows.bind(this) }, e("slot", { key: "833add367bb620d6405caab9aa0fddbbf99185a5" }));
24
24
  }
25
25
  get _el() {
26
26
  return this;
@@ -1,8 +1,8 @@
1
- import { _ as C, u as y, T as o, L as w, P as f } from "./p-Ct3Ixgvf-CNP_PKwP.js";
1
+ import { L as C, u as y, D as o, F as w, q as f } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { i as x } from "./p-B2zUuNXz-BLBgQDu7.js";
3
3
  import { e as N, n as g } from "./p-CVtNa0cL-sSVeJsR3.js";
4
- import { d as p } from "./p-BnL97lOW-BO0p4EdC.js";
5
- import { o as u } from "./p-KxRqlvSh-JOFDmT0B.js";
4
+ import { d as p } from "./p-D4Pimu_8-DfEGRQGf.js";
5
+ import { o as u } from "./p-UVmSPzTd-DiTxS9kW.js";
6
6
  import { c as h } from "./clsx-OuTLNxxd.js";
7
7
  const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
8
8
  // 'gids-snackbar-container--appearance-default': appearance === 'default' // its a default
@@ -24,7 +24,7 @@ const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
24
24
  default:
25
25
  return;
26
26
  }
27
- }, P = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27
+ }, j = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28
28
  __proto__: null,
29
29
  getGidsSnackbarContainerClassNames: Q,
30
30
  getSnackbarContainerIconNames: S
@@ -66,7 +66,7 @@ const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
66
66
  default:
67
67
  return "component-exit-bottom-center";
68
68
  }
69
- }, j = ({ position: t, id: e, exitingComponents: n }) => n.includes(e) ? v(t) : b(t), M = ({ position: t }) => {
69
+ }, P = ({ position: t, id: e, exitingComponents: n }) => n.includes(e) ? v(t) : b(t), M = ({ position: t }) => {
70
70
  switch (t) {
71
71
  case "bottom-left":
72
72
  return "common-component-stack component-stack-bottom-left";
@@ -87,7 +87,7 @@ const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
87
87
  }
88
88
  }, O = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
89
89
  __proto__: null,
90
- getComponentClasses: j,
90
+ getComponentClasses: P,
91
91
  getComponentEntryClasses: b,
92
92
  getComponentExitClasses: v,
93
93
  getComponentStackClasses: M
@@ -97,7 +97,7 @@ const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
97
97
  "gids-notification-container--appearance-success": t === "success",
98
98
  "gids-notification-container--appearance-warning": t === "warning",
99
99
  "gids-notification-container--appearance-error": t === "error"
100
- }, e), I = (t) => {
100
+ }, e), q = (t) => {
101
101
  if (t)
102
102
  switch (t) {
103
103
  case "information":
@@ -111,14 +111,14 @@ const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
111
111
  default:
112
112
  return;
113
113
  }
114
- }, q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
114
+ }, I = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
115
115
  __proto__: null,
116
116
  getGidsNotificationContainerClassNames: T,
117
- getNotificationContainerIconNames: I
118
- }, Symbol.toStringTag, { value: "Module" })), { getGidsSnackbarContainerClassNames: z, getSnackbarContainerIconNames: L } = P, X = ({ appearance: t = "default", children: e, button: n, class: i, ...a }) => {
117
+ getNotificationContainerIconNames: q
118
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsSnackbarContainerClassNames: z, getSnackbarContainerIconNames: L } = j, X = ({ appearance: t = "default", children: e, button: n, class: i, ...a }) => {
119
119
  const r = L(t);
120
120
  return o("div", { ...a, class: z({ appearance: t }, i) }, o("div", { class: "gids-snackbar-container__content" }, t !== "default" && r != null ? o(p, { name: r, alt: "", appearance: "filled", size: "md", class: "gids-snackbar-container__icon" }) : null, typeof e == "string" ? o("p", null, e) : e), n);
121
- }, { getGidsNotificationContainerClassNames: Y, getNotificationContainerIconNames: E } = q, R = ({ notificationTitle: t, children: e, button: n, appearance: i = "default", pronunciation: a = "standard", onCloseNotificationClick: r, class: s, ...m }) => {
121
+ }, { getGidsNotificationContainerClassNames: Y, getNotificationContainerIconNames: E } = I, R = ({ notificationTitle: t, children: e, button: n, appearance: i = "default", pronunciation: a = "standard", onCloseNotificationClick: r, class: s, ...m }) => {
122
122
  const c = E(i);
123
123
  return o("div", { class: Y({ appearance: i }, s), ...m }, i !== "default" && c ? o("div", { class: "gids-notification-container__leading-icon-wrapper" }, o(p, { size: "md", name: c, alt: "", appearance: "filled" })) : null, o("div", { class: "gids-notification-container__content-wrapper" }, o("div", { class: "gids-notification-container__top-content" }, o("div", { class: "gids-notification-container__text-content" }, t != null && t !== "" ? o("span", { class: "gids-notification-container__title" }, t) : null, e ? typeof e == "string" ? o("p", null, e) : e : null), a === "standard" ? o("div", { class: "gids-notification-container__cross-btn-wrapper" }, o(u, { size: "sm", appearance: "subtle", width: "intrinsic", leadingIcon: o(p, { name: "cross", size: "md", appearance: "regular" }), onClick: r })) : null), n ? o("div", { class: "gids-notification-container__bottom-content" }, n) : null));
124
124
  }, { getComponentClasses: B, getComponentStackClasses: G } = O, _ = C(class extends y {
@@ -187,7 +187,7 @@ const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
187
187
  }
188
188
  render() {
189
189
  const t = this._allowedComponentQueue[0]?.position || "bottom-center";
190
- return o(w, { key: "c130346274545aa8cb3b12390fa28f65b612dcd9" }, o("slot", { key: "6bfbde0f8f8a9cc75e3236ac806d762a9f2e0049" }), this._isRoot() ? o("div", { class: G({ position: t }) }, [...this._allowedComponentQueue].reverse().map(((e) => this._renderComponent(e)))) : null);
190
+ return o(w, { key: "98b34b44016b714b3ea32f097a954e7044928a09" }, o("slot", { key: "81a68d3e2087bb2cb547e33579bd9f92ef45e968" }), this._isRoot() ? o("div", { class: G({ position: t }) }, [...this._allowedComponentQueue].reverse().map(((e) => this._renderComponent(e)))) : null);
191
191
  }
192
192
  get _el() {
193
193
  return this;
@@ -1,24 +1,24 @@
1
- import { _ as y, u as S, q as w, M as T, T as i, L as x, P as h } from "./p-Ct3Ixgvf-CNP_PKwP.js";
1
+ import { L as S, u as P, z as v, C as x, D as i, F as T, q as h } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { i as C } from "./p-B2zUuNXz-BLBgQDu7.js";
3
- import { a as L } from "./p-CRngHsR7-DL9wz3Z3.js";
4
- import { r as O } from "./p-DZWWuJac-DNQvnHAr.js";
5
- import { o as F } from "./p-KxRqlvSh-JOFDmT0B.js";
6
- import { g as k, d as j } from "./p-BnL97lOW-BO0p4EdC.js";
7
- import { h as E } from "./p-BvYnawkJ-DohV9UNG.js";
8
- import { r as G } from "./p-DfFqFdmS-DjI2pk-0.js";
3
+ import { a as F } from "./p-Dg2yoUxw-Cca8ROd_.js";
4
+ import { r as L } from "./p-UxDcM-C5-Dr5d_WpJ.js";
5
+ import { o as O } from "./p-UVmSPzTd-DiTxS9kW.js";
6
+ import { g as k, d as j } from "./p-D4Pimu_8-DfEGRQGf.js";
7
+ import { h as z } from "./p-DNTv2BQ5-Bwgd30mM.js";
8
+ import { r as E } from "./p-BQ-ZnlnH-CUVdDHzX.js";
9
9
  import { c as g } from "./clsx-OuTLNxxd.js";
10
- const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e, meterRules: t = [], textMinLength: s = 0 }) => {
10
+ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ text: e, meterRules: t = [], textMinLength: s = 0 }) => {
11
11
  if (!e || e === "")
12
12
  return 0;
13
13
  let n = 0;
14
14
  return t.includes("1-uppercase") && f.test(e) && n++, t.includes("1-lowercase") && p.test(e) && n++, t.includes("1-digit") && b.test(e) && n++, t.includes("1-special-character") && q.test(e) && n++, t.includes("include-min-length") && s && s > 0 && e.length >= s && n++, n;
15
- }, A = ({ textScore: e, maxScore: t }) => {
15
+ }, B = ({ textScore: e, maxScore: t }) => {
16
16
  const s = t > 0 ? e / t * 100 : 0;
17
17
  return s <= 20 ? "is-weak" : s <= 40 ? "is-medium" : s <= 60 ? "is-good-enough" : s <= 80 ? "is-good" : "is-strong";
18
- }, B = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
18
+ }, A = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19
19
  __proto__: null,
20
- getColorModifierByScore: A,
21
- getStrengthMeterScore: z,
20
+ getColorModifierByScore: B,
21
+ getStrengthMeterScore: G,
22
22
  include1DigitReg: b,
23
23
  include1LowercaseLetterReg: p,
24
24
  include1SpecialCharReg: q,
@@ -83,7 +83,7 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
83
83
  getDefaultRulesAndRequirementsForMeters: m,
84
84
  getMeterRulesFromRequirements: R,
85
85
  minLengthRuleCanBeApplied: o
86
- }, Symbol.toStringTag, { value: "Module" })), N = (e) => {
86
+ }, Symbol.toStringTag, { value: "Module" })), D = (e) => {
87
87
  switch (e) {
88
88
  case "error":
89
89
  return "danger";
@@ -96,10 +96,10 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
96
96
  default:
97
97
  return "globe";
98
98
  }
99
- }, V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
99
+ }, N = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
100
100
  __proto__: null,
101
- getRequirementsMeterLabelLeadingIcon: N
102
- }, Symbol.toStringTag, { value: "Module" })), D = (e) => {
101
+ getRequirementsMeterLabelLeadingIcon: D
102
+ }, Symbol.toStringTag, { value: "Module" })), V = (e) => {
103
103
  switch (e) {
104
104
  case "error":
105
105
  return "error";
@@ -108,12 +108,12 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
108
108
  default:
109
109
  return "default";
110
110
  }
111
- }, H = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
111
+ }, U = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
112
112
  __proto__: null,
113
- inputToGidsFieldStatusForPassword: D
114
- }, Symbol.toStringTag, { value: "Module" })), U = (e) => g("gids-strength-meter", e), Z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
113
+ inputToGidsFieldStatusForPassword: V
114
+ }, Symbol.toStringTag, { value: "Module" })), H = (e) => g("gids-strength-meter", e), Z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
115
115
  __proto__: null,
116
- getGidsStrengthMeterClassNames: U
116
+ getGidsStrengthMeterClassNames: H
117
117
  }, Symbol.toStringTag, { value: "Module" })), W = ({ status: e }, t) => g("gids-requirements-meter-label", {
118
118
  "gids-requirements-meter-label--error": e === "error",
119
119
  "gids-requirements-meter-label--information": e === "information",
@@ -125,19 +125,19 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
125
125
  }, Symbol.toStringTag, { value: "Module" })), K = (e) => g("gids-requirements-meter", e), Q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
126
126
  __proto__: null,
127
127
  getGidsRequirementsMeterClassNames: K
128
- }, Symbol.toStringTag, { value: "Module" })), { inputToGidsFieldStatusForPassword: X } = H, Y = (e) => e === "implicit" || e === void 0 ? "implicit" : X(e), ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
128
+ }, Symbol.toStringTag, { value: "Module" })), { inputToGidsFieldStatusForPassword: X } = U, Y = (e) => e === "implicit" || e === void 0 ? "implicit" : X(e), ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
129
129
  __proto__: null,
130
130
  inputToGidsFieldStatusForPassword: Y
131
- }, Symbol.toStringTag, { value: "Module" })), { getGidsStrengthMeterClassNames: te } = Z, { getStrengthMeterScore: se, getColorModifierByScore: re } = B, ie = ({ text: e, textMinLength: t, meterRules: s = ["1-uppercase", "1-lowercase", "1-digit", "1-special-character", "include-min-length"], class: n }) => {
131
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsStrengthMeterClassNames: te } = Z, { getStrengthMeterScore: se, getColorModifierByScore: re } = A, ie = ({ text: e, textMinLength: t, meterRules: s = ["1-uppercase", "1-lowercase", "1-digit", "1-special-character", "include-min-length"], class: n }) => {
132
132
  const a = (r, l, u) => i("div", { key: r, class: ["gids-strength-meter__strength-" + r, u ? "is-active" : "", u ? l : ""].filter(Boolean).join(" ") });
133
133
  return s.length > 0 ? i("div", { class: te(n) }, (() => {
134
134
  const r = s.length, l = se({ text: e, textMinLength: t, meterRules: s }), u = re({ textScore: l, maxScore: r });
135
135
  return Array.from({ length: r }, ((_, c) => {
136
- const d = c + 1, v = d <= l;
137
- return s[d] === "include-min-length" ? o({ requirementRule: "include-min-length", textMinLength: t }) ? a(d, u, v) : null : a(d, u, v);
136
+ const d = c + 1, w = d <= l;
137
+ return s[d] === "include-min-length" ? o({ requirementRule: "include-min-length", textMinLength: t }) ? a(d, u, w) : null : a(d, u, w);
138
138
  }));
139
139
  })()) : null;
140
- }, { getGidsRequirementsMeterLabelClassNames: ne } = J, { getRequirementsMeterLabelLeadingIcon: le } = V, ae = (e) => {
140
+ }, { getGidsRequirementsMeterLabelClassNames: ne } = J, { getRequirementsMeterLabelLeadingIcon: le } = N, ae = (e) => {
141
141
  const { label: t, status: s = "default", leadingIconVisible: n = !0, class: a } = e, r = le(s);
142
142
  return i("div", { class: ne({ status: s }, a) }, n && s && r ? i(j, { name: r, size: "sm", appearance: "filled" }) : null, t && t !== "" ? i("span", null, t) : null);
143
143
  }, { checkRequirementRuleSatisfied: ue } = $, { getGidsRequirementsMeterClassNames: de } = Q, oe = ({ requirements: e = [], text: t, textMinLength: s, class: n }) => {
@@ -149,9 +149,9 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
149
149
  }
150
150
  return null;
151
151
  })));
152
- }, { inputToGidsFieldStatusForPassword: ce } = ee, M = y(class extends S {
152
+ }, { inputToGidsFieldStatusForPassword: ce } = ee, M = S(class extends P {
153
153
  constructor(e) {
154
- super(), e !== !1 && this.__registerHost(), this.gidsPasswordFieldClear = w(this, "gidsPasswordFieldClear"), this.gidsPasswordFieldRevealPassword = w(this, "gidsPasswordFieldRevealPassword"), this.isPasswordRevealed = !1, this.meterRules = [], this.requirementsMeterRequirements = [], this.requirements = [], this.#t = k(), this._handleDismiss = () => {
154
+ super(), e !== !1 && this.__registerHost(), this.gidsPasswordFieldClear = v(this, "gidsPasswordFieldClear"), this.gidsPasswordFieldRevealPassword = v(this, "gidsPasswordFieldRevealPassword"), this.isPasswordRevealed = !1, this.meterRules = [], this.requirementsMeterRequirements = [], this.requirements = [], this.#t = k(), this._handleDismiss = () => {
155
155
  const t = this.#e?.querySelector("input.gids-input__control");
156
156
  t && (t.value = "", t.dispatchEvent(new globalThis.Event("input", { bubbles: !0 }))), this.value = "", this.gidsPasswordFieldClear.emit();
157
157
  }, this._handleRevealPassword = () => {
@@ -171,7 +171,7 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
171
171
  }
172
172
  _startSlotContentObserver() {
173
173
  this._slotContentObserver = new MutationObserver((() => {
174
- T(this);
174
+ x(this);
175
175
  })), this._slotContentObserver.observe(this._el, { childList: !0, subtree: !1, attributes: !0, attributeFilter: ["slot"] });
176
176
  }
177
177
  handleRequirementsChange(e) {
@@ -191,7 +191,7 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
191
191
  #e;
192
192
  render() {
193
193
  const { id: e, ...t } = this.inputProps ?? {}, s = e ?? this.#t, n = this.showClearButton && this.value !== void 0 && this.value.length > 0, a = this.showRevealPasswordButton, r = { ...t }, l = r?.placeholder !== void 0 && r.placeholder !== null && r.placeholder != "" ? r.placeholder : "Enter password", u = this.isPasswordRevealed, _ = this.meterRules, c = this.textMinLength !== void 0 ? this.textMinLength : 8;
194
- return i(x, { key: "20e80248a1bf89a1fbcc45afde2d53bd51fbdbcc" }, i("gids-field", { key: "f3b8a64102cca5dc4342cc06c24c42ade33ff182", disabled: this.disabled, count: void 0, helperText: this.helperText, statusText: this.statusText, status: ce(this.status) }, i(L, { key: "49d56818bb59470c86a1375540849ac72a85ec39", slot: "label", disabled: this.disabled, info: i("slot", { name: "info" }), fieldRequirement: this.fieldRequirement, fieldRequirementOptionalText: this.fieldRequirementOptionalText, fieldRequirementRequiredText: this.fieldRequirementRequiredText, isLabelSentence: this.isLabelSentence, htmlFor: s }, this.label), i("gids-input", { key: "b4c52f50b940fd6d9bf8102cd8e9982827348294", ref: (d) => this.#e = d, appearance: "default", status: this.status, loading: this.loading, value: this.value, defaultValue: this.defaultValue, name: this.name, required: this.required, disabled: this.disabled, readOnly: this.readOnly, leadingLabel: void 0, trailingLabel: void 0, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur, onInput: this._handleInput, inputProps: { ...r, placeholder: l, type: u ? "text" : "password", id: s, maxLength: this.maxLength } }, i("slot", { key: "125c163e6d2b647aee98931303cd133e67ccdd75", name: "leadingIcon" }), i("slot", { key: "137a5bf21cd658dc4eca833fb09954b3b68393d4", name: "leadingAccessory" }), i("div", { key: "4e87732b5d198ac176dc0fc68a99cb4b82cbcdf4", slot: "trailingAccessory", class: "gids-password-field__trailing-accessory" }, n && i(O, { key: "a8016058d8823a75c0188fe707f39aad1834a6e6", label: "clear text", size: "lg", onPressDismiss: this._handleDismiss }), a && i(F, { key: "3bfe55f6787c42df0a9a9351ac96b12fa90826ab", appearance: "default", size: "xs", width: "intrinsic", disabled: this.disabled, onClick: this._handleRevealPassword }, u ? "Hide" : "Show")))), i("div", { key: "d2b12032cafa7414481251d9b2c5cacc94bcf745", class: "gids-password-field__meters-container" }, i(ie, { key: "5aa93ffa5361c3b4d5b8f9d7fd13ff6628821ebe", meterRules: _, text: this.value, textMinLength: c }), i(oe, { key: "96131ad3f4c4318450952b2c6b8325d2bd567cf6", requirements: this.requirementsMeterRequirements, text: this.value, textMinLength: c })));
194
+ return i(T, { key: "ad8824cc057aa37efa91c06726fdc1b557d409de" }, i("gids-field", { key: "59ebf5007857762d94d9b97e43b78ddff47c9ff0", disabled: this.disabled, count: void 0, helperText: this.helperText, statusText: this.statusText, status: ce(this.status) }, i(F, { key: "48268834c82d79a615a8664cc82392ced99fdca7", slot: "label", disabled: this.disabled, info: i("slot", { name: "info" }), fieldRequirement: this.fieldRequirement, fieldRequirementOptionalText: this.fieldRequirementOptionalText, fieldRequirementRequiredText: this.fieldRequirementRequiredText, isLabelSentence: this.isLabelSentence, htmlFor: s }, this.label), i("gids-input", { key: "b788da8c254e5d60500d61d304ec651d3fedea0c", ref: (d) => this.#e = d, appearance: "default", status: this.status, loading: this.loading, value: this.value, defaultValue: this.defaultValue, name: this.name, required: this.required, disabled: this.disabled, readOnly: this.readOnly, leadingLabel: void 0, trailingLabel: void 0, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur, onInput: this._handleInput, inputProps: { ...r, placeholder: l, type: u ? "text" : "password", id: s, maxLength: this.maxLength } }, i("slot", { key: "d391d4aa12d3141c90ed75738407d1c67b0d0702", name: "leadingIcon" }), i("slot", { key: "6e832b40ffd56cf269c1a0a864f5d87766a27388", name: "leadingAccessory" }), i("div", { key: "583893f7fa33d8f6a38f3751e47294ac48f96176", slot: "trailingAccessory", class: "gids-password-field__trailing-accessory" }, n && i(L, { key: "405c0a96c792c3ea4ab9ed3f62b902865328a878", label: "clear text", size: "lg", onPressDismiss: this._handleDismiss }), a && i(O, { key: "20239498d925c2b88a0197cd24d32dc5f0a3d241", appearance: "default", size: "xs", width: "intrinsic", disabled: this.disabled, onClick: this._handleRevealPassword }, u ? "Hide" : "Show")))), i("div", { key: "0f86c1cdf84b819848c7e4051720482ff5a5247f", class: "gids-password-field__meters-container" }, i(ie, { key: "646c27887adf3f4913bfa78c9f2c30758a4c2491", meterRules: _, text: this.value, textMinLength: c }), i(oe, { key: "07ff4be07b41ea41504a40c775402b138c2c0dc8", requirements: this.requirementsMeterRequirements, text: this.value, textMinLength: c })));
195
195
  }
196
196
  get _el() {
197
197
  return this;
@@ -200,23 +200,23 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
200
200
  return { requirements: [{ handleRequirementsChange: 0 }], textMinLength: [{ handleRequirementsChange: 0 }] };
201
201
  }
202
202
  }, [260, "gids-password-field", { label: [513], showClearButton: [516, "show-clear-button"], showRevealPasswordButton: [516, "show-reveal-password-button"], helperText: [513, "helper-text"], statusText: [513, "status-text"], status: [513], loading: [516], name: [513], required: [516], maxLength: [514, "maxlength"], value: [1], defaultValue: [513, "default-value"], disabled: [516], readOnly: [516, "readonly"], inputProps: [16], fieldRequirement: [513, "field-requirement"], fieldRequirementOptionalText: [1, "field-requirement-optional-text"], fieldRequirementRequiredText: [1, "field-requirement-required-text"], isLabelSentence: [16], textMinLength: [514, "text-min-length"], requirements: [16], isPasswordRevealed: [32], meterRules: [32], requirementsMeterRequirements: [32] }, void 0, { requirements: [{ handleRequirementsChange: 0 }], textMinLength: [{ handleRequirementsChange: 0 }] }]);
203
- function P() {
203
+ function y() {
204
204
  typeof customElements < "u" && ["gids-password-field", "gids-field", "gids-input"].forEach(((e) => {
205
205
  switch (e) {
206
206
  case "gids-password-field":
207
207
  customElements.get(h(e)) || customElements.define(h(e), M);
208
208
  break;
209
209
  case "gids-field":
210
- customElements.get(h(e)) || E();
210
+ customElements.get(h(e)) || z();
211
211
  break;
212
212
  case "gids-input":
213
- customElements.get(h(e)) || G();
213
+ customElements.get(h(e)) || E();
214
214
  }
215
215
  }));
216
216
  }
217
- P();
218
- const ve = M, we = P;
217
+ y();
218
+ const we = M, ve = y;
219
219
  export {
220
- ve as GidsPasswordField,
221
- we as defineCustomElement
220
+ we as GidsPasswordField,
221
+ ve as defineCustomElement
222
222
  };
@@ -1,6 +1,6 @@
1
- import { n as e, c as s } from "./p-tyIgTtUC-C8jR4A5G.js";
2
- const o = e, i = s;
1
+ import { n as e, c as t } from "./p-DPIK2ayL-DPEbctqo.js";
2
+ const s = e, a = t;
3
3
  export {
4
- o as GidsPieChart,
5
- i as defineCustomElement
4
+ s as GidsPieChart,
5
+ a as defineCustomElement
6
6
  };
@@ -1,4 +1,4 @@
1
- import { _ as v, u as p, T as a, L as f, P as l } from "./p-Ct3Ixgvf-CNP_PKwP.js";
1
+ import { L as v, u as p, D as a, F as f, q as l } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { g as E } from "./p-a3JfEYJp-DyhDK6VZ.js";
3
3
  import { o as b } from "./p-B8kX8Vqv-trBz4jdS.js";
4
4
  const h = v(class extends p {
@@ -64,7 +64,7 @@ const h = v(class extends p {
64
64
  e && e.removeEventListener("click", this.handleToggleEvent), document.removeEventListener("click", this.handleDocumentClick), document.removeEventListener("keydown", this.handleKeyDown);
65
65
  }
66
66
  render() {
67
- return a(f, { key: "4147e2407a0e2592d65db07e6d92dcbd37e52b5d" }, a("slot", { key: "82f2de1b78ee81f7b2363a2fbf4fc80029c6529f", name: "anchor" }), a("div", { key: "371b9c7c170bf8621e2a847eca6771e140ee161e", id: "popover", part: "popover", role: "dialog", "aria-modal": "true", tabindex: "-1" }, a("span", { key: "19dbf2c247353839c075674f068f2d435a23bec1", id: "arrow" }), a("div", { key: "374d276cdd13093c74b8a35d7447c328f4f90d0c" }, a("slot", { key: "45d5f02df1f6aa160d080a5f5a10e0ba9e6aa8f8" }))));
67
+ return a(f, { key: "d46aad4680cea0578107034ca4945659910c6dd8" }, a("slot", { key: "71b5b313244ca9be78ca0e76e0056a8d6f201f89", name: "anchor" }), a("div", { key: "9be3b9f604bf8a15795ff2f6cbbc439936734795", id: "popover", part: "popover", role: "dialog", "aria-modal": "true", tabindex: "-1" }, a("span", { key: "48f4b97c8c0f2df0bea15c067ebf7cc28f98e98c", id: "arrow" }), a("div", { key: "5547088b9b186ab816e4d6a9e9a3c6bfdde41fd2" }, a("slot", { key: "460c256bddf41d061352917b129501fdd3f383a2" }))));
68
68
  }
69
69
  disconnectedCallback() {
70
70
  this.cleanupEventListeners(), this.floatingElementManager?.destroy();
@@ -103,8 +103,8 @@ function g() {
103
103
  }));
104
104
  }
105
105
  g();
106
- const k = h, F = g;
106
+ const F = h, k = g;
107
107
  export {
108
- k as GidsPopover,
109
- F as defineCustomElement
108
+ F as GidsPopover,
109
+ k as defineCustomElement
110
110
  };
@@ -1,4 +1,4 @@
1
- import { h as e, d as r } from "./p-quZYWCxU-CPyWW0nv.js";
1
+ import { h as e, d as r } from "./p-CoS0NuDU-CqmDcRWj.js";
2
2
  const o = e, t = r;
3
3
  export {
4
4
  o as GidsProgressCircle,
@@ -1,4 +1,4 @@
1
- import { _ as o, u as c, T as e, P as t } from "./p-Ct3Ixgvf-CNP_PKwP.js";
1
+ import { L as o, u as c, D as e, q as t } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { i as l } from "./p-B2zUuNXz-BLBgQDu7.js";
3
3
  import { c as n } from "./clsx-OuTLNxxd.js";
4
4
  const d = (s) => n("gids-scrim", s), m = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -16,7 +16,7 @@ const d = (s) => n("gids-scrim", s), m = /* @__PURE__ */ Object.freeze(/* @__PUR
16
16
  s !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(s), this.activeClasses = a(this.extraClasses);
17
17
  }
18
18
  render() {
19
- return e("div", { key: "bb28bc59d4522f27c3637774153603462d628be0", class: this.activeClasses, part: "root" }, e("slot", { key: "24becefcfa3a4842163b62a255266d71dd27d765" }));
19
+ return e("div", { key: "43ae2df4c05e5ce29bb2cd6755ef4472e9a6e078", class: this.activeClasses, part: "root" }, e("slot", { key: "2610048a1d440e95632575b232ca7d923f66cea5" }));
20
20
  }
21
21
  get _el() {
22
22
  return this;
@@ -1,4 +1,4 @@
1
- import { _ as a, u as o, P as s } from "./p-Ct3Ixgvf-CNP_PKwP.js";
1
+ import { L as a, u as o, q as s } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { e as i } from "./p-CVtNa0cL-sSVeJsR3.js";
3
3
  const e = a(class extends o {
4
4
  constructor(t) {
@@ -1,10 +1,10 @@
1
- import { _ as u, u as h, q as c, M as f, T as i, P as s } from "./p-Ct3Ixgvf-CNP_PKwP.js";
2
- import { i as b } from "./p-B2zUuNXz-BLBgQDu7.js";
3
- import { a as m } from "./p-CRngHsR7-DL9wz3Z3.js";
4
- import { r as p } from "./p-DZWWuJac-DNQvnHAr.js";
5
- import { h as g } from "./p-BvYnawkJ-DohV9UNG.js";
6
- import { r as x } from "./p-DfFqFdmS-DjI2pk-0.js";
7
- import { g as _ } from "./p-BnL97lOW-BO0p4EdC.js";
1
+ import { L as u, u as h, z as c, C as f, D as i, q as s } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
+ import { i as m } from "./p-B2zUuNXz-BLBgQDu7.js";
3
+ import { a as b } from "./p-Dg2yoUxw-Cca8ROd_.js";
4
+ import { r as p } from "./p-UxDcM-C5-Dr5d_WpJ.js";
5
+ import { h as g } from "./p-DNTv2BQ5-Bwgd30mM.js";
6
+ import { r as x } from "./p-BQ-ZnlnH-CUVdDHzX.js";
7
+ import { g as _ } from "./p-D4Pimu_8-DfEGRQGf.js";
8
8
  const v = (e, t) => {
9
9
  if (!(e === void 0 || t === void 0))
10
10
  return `${e} / ${Math.max(t, 0)}`;
@@ -41,7 +41,7 @@ const v = (e, t) => {
41
41
  })), this._slotContentObserver.observe(this._el, { childList: !0, subtree: !1, attributes: !0, attributeFilter: ["slot"] });
42
42
  }
43
43
  connectedCallback() {
44
- const e = b();
44
+ const e = m();
45
45
  e !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(e), this._startSlotContentObserver();
46
46
  }
47
47
  disconnectedCallback() {
@@ -51,7 +51,7 @@ const v = (e, t) => {
51
51
  #t;
52
52
  render() {
53
53
  const { id: e, ...t } = this.inputProps ?? {}, l = e ?? this.#e, d = this.showClearButton && this.value !== void 0 && this.value.length > 0;
54
- return i("gids-field", { key: "d11133ec5a64d0bc929a2c09530e1c4b7040a441", disabled: this.disabled, count: F(this.value?.length, this.maxLength), helperText: this.helperText, statusText: this.statusText, status: O(this.status) }, i(m, { key: "edf0168bd4940b9f98fff8b7e03d865f46f4b6ac", slot: "label", disabled: this.disabled, info: i("slot", { name: "info" }), fieldRequirement: this.fieldRequirement, fieldRequirementOptionalText: this.fieldRequirementOptionalText, fieldRequirementRequiredText: this.fieldRequirementRequiredText, isLabelSentence: this.isLabelSentence, htmlFor: l }, this.label), i("gids-input", { key: "317347850ebc9f671a16c816807f9ca55f0f9fa6", ref: (o) => this.#t = o, appearance: this.appearance, status: this.status, loading: this.loading, value: this.value, defaultValue: this.defaultValue, name: this.name, required: this.required, disabled: this.disabled, readOnly: this.readOnly, leadingLabel: this.leadingLabel, trailingLabel: this.trailingLabel, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur, onInput: this._handleInput, inputProps: { ...t, type: this.type, id: l, maxLength: this.maxLength } }, i("slot", { key: "87815f4d215bbb0c542457b9216f7446595d9ec2", name: "leadingIcon" }), i("slot", { key: "6648b1d8d3585e1df78039a356a297760272af4f", name: "leadingAccessory" }), d && i(p, { key: "7eba5acbfdfe1c9173d43bce1592f8e12c8602cb", label: "clear text", slot: "trailingAccessory", size: "lg", onPressDismiss: this._handleDismiss }), i("slot", { key: "85017d875b4390fec245b9da8409787a2bd86909", name: "trailingIcon" })));
54
+ return i("gids-field", { key: "67703f015d57768e530aff47b206ff6716f35332", disabled: this.disabled, count: F(this.value?.length, this.maxLength), helperText: this.helperText, statusText: this.statusText, status: O(this.status) }, i(b, { key: "182405668848cdfe3960eef04a7862862fb42117", slot: "label", disabled: this.disabled, info: i("slot", { name: "info" }), fieldRequirement: this.fieldRequirement, fieldRequirementOptionalText: this.fieldRequirementOptionalText, fieldRequirementRequiredText: this.fieldRequirementRequiredText, isLabelSentence: this.isLabelSentence, htmlFor: l }, this.label), i("gids-input", { key: "f625d9ca7001879c392f55e806e7f080d7bb4185", ref: (o) => this.#t = o, appearance: this.appearance, status: this.status, loading: this.loading, value: this.value, defaultValue: this.defaultValue, name: this.name, required: this.required, disabled: this.disabled, readOnly: this.readOnly, leadingLabel: this.leadingLabel, trailingLabel: this.trailingLabel, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur, onInput: this._handleInput, inputProps: { ...t, type: this.type, id: l, maxLength: this.maxLength } }, i("slot", { key: "4283d3712a98973ccb96d57b3d6f9fc42a0ff04e", name: "leadingIcon" }), i("slot", { key: "c61b5a4a62ecf2002426d167155fd8687f84b99f", name: "leadingAccessory" }), d && i(p, { key: "61d1a7b396fa1a8bacce9ade90a36de46886b3c0", label: "clear text", slot: "trailingAccessory", size: "lg", onPressDismiss: this._handleDismiss }), i("slot", { key: "b1f35a7a5e7ffc719d86741033fdfc25ee20debc", name: "trailingIcon" })));
55
55
  }
56
56
  get _el() {
57
57
  return this;
@@ -72,8 +72,8 @@ function r() {
72
72
  }));
73
73
  }
74
74
  r();
75
- const P = a, G = r;
75
+ const G = a, B = r;
76
76
  export {
77
- P as GidsTextField,
78
- G as defineCustomElement
77
+ G as GidsTextField,
78
+ B as defineCustomElement
79
79
  };
@@ -1,46 +1,6 @@
1
- import { _ as l, u as d, q as n, T as t, H as c, P as s } from "./p-Ct3Ixgvf-CNP_PKwP.js";
2
- import { o as a } from "./p-KxRqlvSh-JOFDmT0B.js";
3
- import { i as h } from "./p-B2zUuNXz-BLBgQDu7.js";
4
- const i = l(class extends d {
5
- get selected() {
6
- return this.#e ?? this.defaultSelected;
7
- }
8
- set selected(e) {
9
- this.#e = e === void 0 ? void 0 : !!e;
10
- }
11
- constructor(e) {
12
- super(), e !== !1 && this.__registerHost(), this.__attachShadow(), this.select = n(this, "select"), this._toggle = this._toggle.bind(this);
13
- }
14
- #e;
15
- connectedCallback() {
16
- const e = h();
17
- e !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(e);
18
- }
19
- _toggle() {
20
- const e = !this.selected;
21
- this._el.selected = e, this.select?.emit(e);
22
- }
23
- render() {
24
- return t(c, { key: "d95b05ee98862e9fa4ee50ae676fded8234de63d" }, t("style", { key: "844be4d370a1d44e4c18b828ed2cfab3bd702cfd" }, `:host {
25
- display: ${this.width === "full" ? "block" : "inline-block"}
26
- }`), t(a, { key: "510307e7bfce966e96422999f5309e0df3e62634", appearance: this.appearance, size: this.size, width: this.width, disabled: this.disabled, onClick: this._toggle, "aria-pressed": this.selected ? "true" : "false", leadingIcon: t("slot", { name: "leadingIcon" }), trailingIcon: t("slot", { name: "trailingIcon" }), forceIconOnly: this._onlyHasLeadingIcon() }, t("slot", { key: "38bff264ed88090ee4567650417ccb86805fca98" })));
27
- }
28
- _onlyHasLeadingIcon() {
29
- const e = this._el.childNodes;
30
- return e.length === 1 && e[0] instanceof window.Element && e[0].slot === "leadingIcon";
31
- }
32
- get _el() {
33
- return this;
34
- }
35
- }, [257, "gids-toggle-button", { disabled: [516], appearance: [513], size: [513], width: [513], defaultSelected: [516, "default-selected"], selected: [6660] }]);
36
- function o() {
37
- typeof customElements < "u" && ["gids-toggle-button"].forEach(((e) => {
38
- e === "gids-toggle-button" && (customElements.get(s(e)) || customElements.define(s(e), i));
39
- }));
40
- }
41
- o();
42
- const u = i, b = o;
1
+ import { l as o, o as t } from "./p-DmLoB2Dn-D-FSoCvI.js";
2
+ const m = o, s = t;
43
3
  export {
44
- u as GidsToggleButton,
45
- b as defineCustomElement
4
+ m as GidsToggleButton,
5
+ s as defineCustomElement
46
6
  };
@@ -1,4 +1,4 @@
1
- import { _ as n, u as l, T as e, L as s, P as i } from "./p-Ct3Ixgvf-CNP_PKwP.js";
1
+ import { L as n, u as l, D as e, F as s, q as i } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { g as r } from "./p-a3JfEYJp-DyhDK6VZ.js";
3
3
  import { i as d } from "./p-B2zUuNXz-BLBgQDu7.js";
4
4
  import { o as h } from "./p-B8kX8Vqv-trBz4jdS.js";
@@ -38,7 +38,7 @@ const o = n(class extends l {
38
38
  t && (t.removeEventListener("mouseenter", this.handleShowEvent), t.removeEventListener("focus", this.handleShowEvent), t.removeEventListener("mouseleave", this.handleHideEvent), t.removeEventListener("blur", this.handleHideEvent));
39
39
  }
40
40
  render() {
41
- return e(s, { key: "f9e6c76e1f2b3faa2c2ed5b1f5c28c4b11878819" }, e("slot", { key: "1c36da89ba7d6a20f0e5204d5c079dbc64226d56" }), e("span", { key: "ac4972259978f2e52fc15545a28dc2375ef370cd", id: "tooltip", part: "tooltip", role: "tooltip" }, e("span", { key: "49a7b319f5f0a87befe6e5d355d846dae12a9644", id: "arrow" }), this.tooltipText));
41
+ return e(s, { key: "87da0ed1ded01cd47b54a7445df2ec4a1ce621b2" }, e("slot", { key: "31b07131bcd26021340d37cadc8aa01f59ad0262" }), e("span", { key: "03fa6ca6e6f3d9bfa2b319254a22a817091fa9b5", id: "tooltip", part: "tooltip", role: "tooltip" }, e("span", { key: "7affbdf276e42c78a4829b5c47854786b97af3bd", id: "arrow" }), this.tooltipText));
42
42
  }
43
43
  disconnectedCallback() {
44
44
  this.cleanupEventListeners(), this.floatingElementManager?.destroy();
@@ -59,8 +59,8 @@ function a() {
59
59
  }));
60
60
  }
61
61
  a();
62
- const f = o, v = a;
62
+ const v = o, f = a;
63
63
  export {
64
- f as GidsTooltip,
65
- v as defineCustomElement
64
+ v as GidsTooltip,
65
+ f as defineCustomElement
66
66
  };
@@ -1,6 +1,6 @@
1
- import { j as y, a as A, O as u, F as G, b as P } from "./p-Ct3Ixgvf-CNP_PKwP.js";
1
+ import { O as y, V as A, S as u, U as G, W as P } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { i as E, n as x } from "./p-B2zUuNXz-BLBgQDu7.js";
3
- import { o as $ } from "./p-B8kX8Vqv-trBz4jdS.js";
3
+ import { o as T } from "./p-B8kX8Vqv-trBz4jdS.js";
4
4
  import { s as d } from "./assets-Drv1fXkA.js";
5
5
  function i(e, r) {
6
6
  d(e, r);
@@ -22,7 +22,7 @@ const c = (e) => {
22
22
  }
23
23
  };
24
24
  export {
25
- $ as GidsFloatingElementType,
25
+ T as GidsFloatingElementType,
26
26
  y as getAssetPath,
27
27
  E as getConstructedGidsStylesheet,
28
28
  x as refreshConstructedGidsStylesheet,
@@ -1,6 +1,6 @@
1
- import { P as s, _ as l, u, T as a, L as r } from "./p-Ct3Ixgvf-CNP_PKwP.js";
2
- import { d as n } from "./p-BnL97lOW-BO0p4EdC.js";
3
- import { l as d } from "./p-DKsrt7dx-ImYLc4xz.js";
1
+ import { q as s, L as l, u, D as a, F as d } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
+ import { d as n } from "./p-D4Pimu_8-DfEGRQGf.js";
3
+ import { l as r } from "./p-CHGTBObD-EN4cCwtX.js";
4
4
  const c = (e) => e.type === "hidden", f = (e) => {
5
5
  if (!(e instanceof HTMLElement))
6
6
  return !1;
@@ -54,9 +54,9 @@ const c = (e) => e.type === "hidden", f = (e) => {
54
54
  this._el.removeEventListener("click", this._focusInput);
55
55
  }
56
56
  render() {
57
- return a(r, { key: "8cfc78682bffd38298aaa5bc8fe63bc996f17586" }, a("slot", { key: "5e5c57234e3e531b0d095597e021ab3d4756173d", name: "leadingIcon" }), this.leadingLabel && a("span", { key: "5d0fc2c8a8716806891347f30ba961db61e1cf91", class: "gids-input__label" }, this.leadingLabel), a("slot", { key: "881161160b2e933479c7af0a63846c0f86c7bbfe", name: "leadingAccessory" }), a("input", { key: "f0db6b63f0aa4a1a778743620753184ff0a7086a", ...this.inputProps, ref: (e) => {
57
+ return a(d, { key: "013d4a68291d4a3897246142cd611a2bc442d6a3" }, a("slot", { key: "97f0d9030c5061b219cc35c409820b81e3d4098a", name: "leadingIcon" }), this.leadingLabel && a("span", { key: "2f8726384a877b0bee51579661f66f6e3da811e1", class: "gids-input__label" }, this.leadingLabel), a("slot", { key: "4843ddf9a10afba03ec0a552fd61cfddd3470749", name: "leadingAccessory" }), a("input", { key: "657559522ac7908ebb5dc27992cb50eb69d1fbd8", ...this.inputProps, ref: (e) => {
58
58
  this.#t = e, this.#e.value !== void 0 && (this.#t.value = this.#e.value, delete this.#e.value), this.#e.defaultValue !== void 0 && (this.#t.defaultValue = this.#e.defaultValue, delete this.#e.defaultValue);
59
- }, class: "gids-input__control", name: this.name, disabled: this.disabled, readOnly: this.readOnly, required: this.required, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur }), a("slot", { key: "5bb8549e6aa491b7ebbf56bce66bab6f386f98fe", name: "trailingAccessory" }), this.trailingLabel && a("span", { key: "3ef3319efd5512bbd370e314724820a539e342f9", class: "gids-input__label" }, this.trailingLabel), a("slot", { key: "22dcea487ee58e5df65a5b88d3f7ce7bcc32f828", name: "trailingIcon" }), this.status === "incomplete" && a(n, { key: "808723d08c4e8a1533652d6c20fd7f8ff0e98275", name: "warning", appearance: "filled", class: "gids-input__warning-icon" }), this.status === "complete" && a(n, { key: "10c61d22cb2a4fa56dc0de3025cfc07c1268f91e", name: "positive", appearance: "filled", class: "gids-input__positive-icon" }), this.loading && a(d, { key: "58147d27b92c93a6bf9dde27c394de2868d6225e", size: "md", indeterminate: !0 }));
59
+ }, class: "gids-input__control", name: this.name, disabled: this.disabled, readOnly: this.readOnly, required: this.required, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur }), a("slot", { key: "c80c3ce3bf17f60e8f773b9c2f5dc25dacdf5446", name: "trailingAccessory" }), this.trailingLabel && a("span", { key: "f9ba8d097b660cdeaeacc0ac1ba970d3fa839fcc", class: "gids-input__label" }, this.trailingLabel), a("slot", { key: "35116e82425db12c08580460ac9c84f89faec71e", name: "trailingIcon" }), this.status === "incomplete" && a(n, { key: "2634986e80dfbbfb98b5a4dd95829e6af3b229a0", name: "warning", appearance: "filled", class: "gids-input__warning-icon" }), this.status === "complete" && a(n, { key: "63ab6b357df47d2d96ad6d3d33f22ab7864f395e", name: "positive", appearance: "filled", class: "gids-input__positive-icon" }), this.loading && a(r, { key: "1eb7af66b5005a6f8dea895c00f100e7cc6e7548", size: "md", indeterminate: !0 }));
60
60
  }
61
61
  get _el() {
62
62
  return this;
@@ -69,6 +69,6 @@ function h() {
69
69
  }
70
70
  h();
71
71
  export {
72
- o as c,
72
+ o as l,
73
73
  h as r
74
74
  };
@@ -1,8 +1,8 @@
1
- import { P as i, _ as o, u as n, T as l } from "./p-Ct3Ixgvf-CNP_PKwP.js";
1
+ import { q as i, L as o, u as n, D as l } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { i as g } from "./p-B2zUuNXz-BLBgQDu7.js";
3
- import { d as r } from "./p-BiPAgxAQ-BtMBQpJY.js";
4
- import { c as h } from "./clsx-OuTLNxxd.js";
5
- const c = ({ appearance: s, size: e, disabled: a }, d) => h("gids-dot", {
3
+ import { d as r } from "./p-Db62Pz3n-DpQjwBYb.js";
4
+ import { c } from "./clsx-OuTLNxxd.js";
5
+ const h = ({ appearance: s, size: e, disabled: a }, d) => c("gids-dot", {
6
6
  "gids-dot--disabled": a,
7
7
  "gids-dot--subtle": s === "subtle" && !a,
8
8
  "gids-dot--static-inverse": s === "static-inverse" && !a,
@@ -16,7 +16,7 @@ const c = ({ appearance: s, size: e, disabled: a }, d) => h("gids-dot", {
16
16
  "gids-dot--3xl": e === "3xl"
17
17
  }, d), p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
18
18
  __proto__: null,
19
- getGidsDotClassNames: c
19
+ getGidsDotClassNames: h
20
20
  }, Symbol.toStringTag, { value: "Module" })), { getGidsDotClassNames: t } = p, C = o(class extends n {
21
21
  constructor(s) {
22
22
  super(), s !== !1 && this.__registerHost(), this.appearance = "subtle", this.size = "xs", this.disabled = !1, this.activeClasses = "";
@@ -41,7 +41,7 @@ const c = ({ appearance: s, size: e, disabled: a }, d) => h("gids-dot", {
41
41
  this.activeClasses = t({ size: this.size, appearance: this.appearance, disabled: this.disabled }, this.extraClasses);
42
42
  }
43
43
  render() {
44
- return l("gids-icon", { key: "1bb15dd637ede00b3e465e3da72f412ef0d710f9", class: this.activeClasses, name: "new", alt: "", appearance: "filled" });
44
+ return l("gids-icon", { key: "1bd6ab72dde2a54f1836483ea5990426c3bfc9f7", class: this.activeClasses, name: "new", alt: "", appearance: "filled" });
45
45
  }
46
46
  get _el() {
47
47
  return this;