@ganpatiinfo/gids-core-web 14.0.0 → 15.0.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 (235) hide show
  1. package/dist/css/index.css +5386 -4888
  2. package/dist/css/index.css.map +1 -1
  3. package/dist/gids-action-bar.d.ts +1 -1
  4. package/dist/gids-action-bar.js +1 -1
  5. package/dist/gids-activity-gauge.d.ts +1 -1
  6. package/dist/gids-activity-gauge.js +1 -1
  7. package/dist/gids-advanced-tooltip.d.ts +1 -1
  8. package/dist/gids-advanced-tooltip.js +1 -1
  9. package/dist/gids-bar-chart.d.ts +1 -1
  10. package/dist/gids-bar-chart.js +1 -1
  11. package/dist/gids-calendar-header-panel.d.ts +1 -1
  12. package/dist/gids-calendar-header-panel.js +1 -1
  13. package/dist/gids-calendar-month-list.d.ts +1 -1
  14. package/dist/gids-calendar-month-list.js +1 -1
  15. package/dist/gids-calendar-year-list.d.ts +1 -1
  16. package/dist/gids-calendar-year-list.js +1 -1
  17. package/dist/gids-calendar.d.ts +1 -1
  18. package/dist/gids-calendar.js +1 -1
  19. package/dist/gids-chart-legend-item.d.ts +1 -1
  20. package/dist/gids-chart-legend-item.js +1 -1
  21. package/dist/gids-chart-legend.d.ts +1 -1
  22. package/dist/gids-chart-legend.js +1 -1
  23. package/dist/gids-chart.d.ts +1 -1
  24. package/dist/gids-chart.js +1 -1
  25. package/dist/gids-chevron-button.d.ts +1 -1
  26. package/dist/gids-chevron-button.js +1 -1
  27. package/dist/gids-dot.d.ts +1 -1
  28. package/dist/gids-dot.js +1 -1
  29. package/dist/gids-dropdown-field.d.ts +1 -1
  30. package/dist/gids-dropdown-field.js +1 -1
  31. package/dist/gids-dropdown-picker.d.ts +1 -1
  32. package/dist/gids-dropdown-picker.js +1 -1
  33. package/dist/gids-dropdown.d.ts +1 -1
  34. package/dist/gids-dropdown.js +1 -1
  35. package/dist/gids-expansion-body-list-item.d.ts +1 -1
  36. package/dist/gids-expansion-body-list-item.js +1 -1
  37. package/dist/gids-expansion-body-list.d.ts +1 -1
  38. package/dist/gids-expansion-body-list.js +1 -1
  39. package/dist/gids-expansion-group.d.ts +1 -1
  40. package/dist/gids-expansion-group.js +1 -1
  41. package/dist/gids-expansion.d.ts +1 -1
  42. package/dist/gids-expansion.js +1 -1
  43. package/dist/gids-field.d.ts +1 -1
  44. package/dist/gids-field.js +1 -1
  45. package/dist/gids-filter.d.ts +1 -1
  46. package/dist/gids-filter.js +1 -1
  47. package/dist/gids-icon.d.ts +1 -1
  48. package/dist/gids-icon.js +1 -1
  49. package/dist/gids-input.d.ts +1 -1
  50. package/dist/gids-input.js +1 -1
  51. package/dist/gids-level-gauge.d.ts +1 -1
  52. package/dist/gids-line-chart.d.ts +1 -1
  53. package/dist/gids-line-chart.js +1 -1
  54. package/dist/gids-md-table.d.ts +1 -1
  55. package/dist/gids-md-table.js +1 -1
  56. package/dist/gids-notification.d.ts +1 -1
  57. package/dist/gids-overflow-container.d.ts +1 -1
  58. package/dist/gids-overflow-container.js +1 -1
  59. package/dist/gids-overlay-provider.d.ts +1 -1
  60. package/dist/gids-overlay-provider.js +1 -1
  61. package/dist/gids-password-field.d.ts +1 -1
  62. package/dist/gids-password-field.js +1 -1
  63. package/dist/gids-pie-chart.d.ts +1 -1
  64. package/dist/gids-pie-chart.js +1 -1
  65. package/dist/gids-popover.d.ts +1 -1
  66. package/dist/gids-popover.js +1 -1
  67. package/dist/gids-progress-circle.d.ts +1 -1
  68. package/dist/gids-scrim.d.ts +1 -1
  69. package/dist/gids-scrim.js +1 -1
  70. package/dist/gids-skeleton.d.ts +11 -0
  71. package/dist/gids-skeleton.js +1 -0
  72. package/dist/gids-snackbar.d.ts +1 -1
  73. package/dist/gids-tab-item.d.ts +1 -1
  74. package/dist/gids-tab-item.js +1 -1
  75. package/dist/gids-tab.d.ts +1 -1
  76. package/dist/gids-tab.js +1 -1
  77. package/dist/gids-text-field.d.ts +1 -1
  78. package/dist/gids-text-field.js +1 -1
  79. package/dist/gids-toggle-button.d.ts +1 -1
  80. package/dist/gids-toggle-button.js +1 -1
  81. package/dist/gids-tooltip.d.ts +1 -1
  82. package/dist/gids-tooltip.js +1 -1
  83. package/dist/gids-transfer-list.d.ts +11 -0
  84. package/dist/gids-transfer-list.js +1 -0
  85. package/dist/p-474lVBcu.js +1 -0
  86. package/dist/{p-_HwuS8vK.js → p-9NZjfY_u.js} +1 -1
  87. package/dist/{p-Bh8qYmAS.js → p-B0Nc9rVM.js} +1 -1
  88. package/dist/{p-Bab1qxsC.js → p-BF46eY8H.js} +1 -1
  89. package/dist/{p-jzl-rPxB.js → p-BKIsp763.js} +1 -1
  90. package/dist/{p-BVA1LAFM.js → p-BgvpzBUx.js} +1 -1
  91. package/dist/{p-BYt-9DKT.js → p-BtKwhIx5.js} +1 -1
  92. package/dist/{p-DAnkY5ik.js → p-CLm5opt9.js} +1 -1
  93. package/dist/{p-C_RW9IFo.js → p-CZxn31uZ.js} +1 -1
  94. package/dist/{p-CU5JIcEp.js → p-Cyant-dw.js} +1 -1
  95. package/dist/{p-Dan1sCNk.js → p-D7qanqNO.js} +1 -1
  96. package/dist/{p-CnVmK0dH.js → p-DGenc1qz.js} +1 -1
  97. package/dist/{p-D5DRatg0.js → p-DLauG0q8.js} +1 -1
  98. package/dist/{p-DMVCMnTe.js → p-DaqhrFRM.js} +1 -1
  99. package/dist/{p-BzzDNTlP.js → p-Db4qRSmH.js} +1 -1
  100. package/dist/{p-DslOQITw.js → p-Df5xaj-o.js} +1 -1
  101. package/dist/{p-1fMG8D4t.js → p-DhtEw_C2.js} +1 -1
  102. package/dist/{p-BV0jg2ix.js → p-DshXkAUj.js} +1 -1
  103. package/dist/{p-DUUxlY-K.js → p-Dvh4sPkD.js} +1 -1
  104. package/dist/p-Iqbf3Pja.js +1 -0
  105. package/dist/{p-CatvDz2b.js → p-MnCDY1k9.js} +1 -1
  106. package/dist/types/components/html/GidsCrossTable/GidsCrossTable.d.ts +17 -0
  107. package/dist/types/components/html/GidsCrossTableBody/GidsCrossTableBody.d.ts +12 -0
  108. package/dist/types/components/html/GidsCrossTableRow/GidsCrossTableRow.d.ts +12 -0
  109. package/dist/types/components/html/GidsDialog/GidsDialog.d.ts +12 -0
  110. package/dist/types/components/html/GidsMatrixTable/GidsMatrixTable.d.ts +20 -0
  111. package/dist/types/components/html/GidsMatrixTableBody/GidsMatrixTableBody.d.ts +20 -0
  112. package/dist/types/components/html/GidsMenu/GidsMenu.d.ts +3 -3
  113. package/dist/types/components/html/GidsMenuGroup/GidsMenuGroup.d.ts +3 -3
  114. package/dist/types/components/html/GidsTable/GidsTable.d.ts +1 -1
  115. package/dist/types/components/html/GidsTableFooter/GidsTableFooter.d.ts +3 -3
  116. package/dist/types/components/html/GidsTableFooterControl/GidsTableFooterControl.d.ts +1 -1
  117. package/dist/types/components/html/GidsTableHeader/GidsTableHeader.d.ts +1 -1
  118. package/dist/types/components/html/GidsTableRow/GidsTableRow.d.ts +1 -1
  119. package/dist/types/components/html/_GidsDialogControl/GidsDialogControl.d.ts +8 -0
  120. package/dist/types/components/webComponents/GidsSkeleton/GidsSkeleton.d.ts +11 -0
  121. package/dist/types/components/webComponents/GidsTransferList/GidsTransferList.d.ts +49 -0
  122. package/dist/types/components.d.ts +131 -2
  123. package/dist-bundled/es/gids-action-bar.js +28 -27
  124. package/dist-bundled/es/gids-activity-gauge.js +1 -1
  125. package/dist-bundled/es/gids-advanced-tooltip.js +1 -1
  126. package/dist-bundled/es/gids-bar-chart.js +4 -4
  127. package/dist-bundled/es/gids-calendar-header-panel.js +3 -3
  128. package/dist-bundled/es/gids-calendar-month-list.js +1 -1
  129. package/dist-bundled/es/gids-calendar-year-list.js +1 -1
  130. package/dist-bundled/es/gids-calendar.js +23 -23
  131. package/dist-bundled/es/gids-chart-legend-item.js +1 -1
  132. package/dist-bundled/es/gids-chart-legend.js +4 -4
  133. package/dist-bundled/es/gids-chart.js +11 -11
  134. package/dist-bundled/es/gids-chevron-button.js +10 -10
  135. package/dist-bundled/es/gids-dot.js +3 -3
  136. package/dist-bundled/es/gids-dropdown-field.js +5 -5
  137. package/dist-bundled/es/gids-dropdown-picker.js +4 -4
  138. package/dist-bundled/es/gids-dropdown.js +1 -1
  139. package/dist-bundled/es/gids-expansion-body-list-item.js +3 -3
  140. package/dist-bundled/es/gids-expansion-body-list.js +2 -2
  141. package/dist-bundled/es/gids-expansion-group.js +12 -12
  142. package/dist-bundled/es/gids-expansion.js +6 -6
  143. package/dist-bundled/es/gids-field.js +3 -3
  144. package/dist-bundled/es/gids-filter.js +1 -1
  145. package/dist-bundled/es/gids-icon.js +3 -3
  146. package/dist-bundled/es/gids-input.js +4 -4
  147. package/dist-bundled/es/gids-level-gauge.js +1 -1
  148. package/dist-bundled/es/gids-line-chart.js +4 -4
  149. package/dist-bundled/es/gids-md-table.js +77 -77
  150. package/dist-bundled/es/gids-overflow-container.js +1 -1
  151. package/dist-bundled/es/gids-overlay-provider.js +20 -20
  152. package/dist-bundled/es/gids-password-field.js +53 -53
  153. package/dist-bundled/es/gids-pie-chart.js +4 -4
  154. package/dist-bundled/es/gids-popover.js +1 -1
  155. package/dist-bundled/es/gids-progress-circle.js +1 -1
  156. package/dist-bundled/es/gids-scrim.js +1 -1
  157. package/dist-bundled/es/gids-skeleton.js +41 -0
  158. package/dist-bundled/es/gids-tab-item.js +10 -10
  159. package/dist-bundled/es/gids-tab.js +4 -4
  160. package/dist-bundled/es/gids-text-field.js +15 -15
  161. package/dist-bundled/es/gids-toggle-button.js +1 -1
  162. package/dist-bundled/es/gids-tooltip.js +1 -1
  163. package/dist-bundled/es/gids-transfer-list.js +196 -0
  164. package/dist-bundled/es/p-474lVBcu-B1f8x2o1.js +31 -0
  165. package/dist-bundled/es/{p-_HwuS8vK-C0w4T5rV.js → p-9NZjfY_u-CnjUEy1y.js} +2 -2
  166. package/dist-bundled/es/{p-Bh8qYmAS-DhSpwB20.js → p-B0Nc9rVM-SBit1KrF.js} +6 -6
  167. package/dist-bundled/es/{p-Bab1qxsC-BMbD0lEy.js → p-BF46eY8H-Xn8Fl9EI.js} +3 -3
  168. package/dist-bundled/es/{p-jzl-rPxB-CC735zJp.js → p-BKIsp763-CqL9MgyZ.js} +7 -7
  169. package/dist-bundled/es/{p-BVA1LAFM-DdsY_n8R.js → p-BgvpzBUx-iq-eKBVZ.js} +7 -7
  170. package/dist-bundled/es/{p-BYt-9DKT-DByyhIUd.js → p-BtKwhIx5-DTEmfdxe.js} +6 -6
  171. package/dist-bundled/es/{p-CHGTBObD-EN4cCwtX.js → p-CHGTBObD-D_K9_Tmh.js} +15 -15
  172. package/dist-bundled/es/{p-DAnkY5ik-ChPtRpOX.js → p-CLm5opt9-DlxkI38w.js} +2 -2
  173. package/dist-bundled/es/{p-C_RW9IFo-DNQqJS8t.js → p-CZxn31uZ-BBHM983b.js} +10 -10
  174. package/dist-bundled/es/{p-CoS0NuDU-CqmDcRWj.js → p-CoS0NuDU-ByDvQAzA.js} +1 -1
  175. package/dist-bundled/es/{p-CU5JIcEp-CuVpd-eZ.js → p-Cyant-dw-Ch2zYNkx.js} +7 -7
  176. package/dist-bundled/es/{p-Dan1sCNk-mWcyyplK.js → p-D7qanqNO-Dby5jSjA.js} +14 -14
  177. package/dist-bundled/es/{p-CnVmK0dH-CbmnN-RR.js → p-DGenc1qz-CMwVEtCm.js} +5 -5
  178. package/dist-bundled/es/{p-D5DRatg0-DtQL-DQg.js → p-DLauG0q8-CCUuzYl9.js} +6 -6
  179. package/dist-bundled/es/{p-DMNS1d8v-CHF62UXm.js → p-DMNS1d8v-BX8e_AsY.js} +14 -14
  180. package/dist-bundled/es/{p-DMVCMnTe-D4eJKJsj.js → p-DaqhrFRM-2PqBeu5o.js} +4 -4
  181. package/dist-bundled/es/{p-BzzDNTlP-BkSyrafk.js → p-Db4qRSmH-B5pzOeve.js} +8 -8
  182. package/dist-bundled/es/{p-Degg_WJz-BLua06el.js → p-Degg_WJz-ORZcjc8G.js} +1 -1
  183. package/dist-bundled/es/{p-DslOQITw-BfwtLWqG.js → p-Df5xaj-o-fxAXUmag.js} +7 -7
  184. package/dist-bundled/es/{p-Dg2yoUxw-Cca8ROd_.js → p-Dg2yoUxw-DliMstZy.js} +8 -8
  185. package/dist-bundled/es/{p-1fMG8D4t-CIEDM74u.js → p-DhtEw_C2-D_91JSPC.js} +3 -3
  186. package/dist-bundled/es/{p-BV0jg2ix-DI0fZl_6.js → p-DshXkAUj-DgCiQIA2.js} +1 -1
  187. package/dist-bundled/es/{p-DUUxlY-K-mypBhVt6.js → p-Dvh4sPkD-B-T5C03p.js} +1 -1
  188. package/dist-bundled/es/p-Iqbf3Pja-DuajY4uD.js +52 -0
  189. package/dist-bundled/es/{p-CatvDz2b-C-Hlv2Xb.js → p-MnCDY1k9-CgbTyJ5R.js} +9 -9
  190. package/dist-bundled/es/{p-UVmSPzTd-6vjXok6h.js → p-UVmSPzTd-CR1higgJ.js} +1 -1
  191. package/dist-bundled/umd/gids-action-bar.umd.js +3 -3
  192. package/dist-bundled/umd/gids-activity-gauge.umd.js +1 -1
  193. package/dist-bundled/umd/gids-advanced-tooltip.umd.js +1 -1
  194. package/dist-bundled/umd/gids-bar-chart.umd.js +1 -1
  195. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +2 -2
  196. package/dist-bundled/umd/gids-calendar-month-list.umd.js +2 -2
  197. package/dist-bundled/umd/gids-calendar-year-list.umd.js +2 -2
  198. package/dist-bundled/umd/gids-calendar.umd.js +1 -1
  199. package/dist-bundled/umd/gids-chart-legend-item.umd.js +1 -1
  200. package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
  201. package/dist-bundled/umd/gids-chart.umd.js +2 -2
  202. package/dist-bundled/umd/gids-chevron-button.umd.js +1 -1
  203. package/dist-bundled/umd/gids-dot.umd.js +1 -1
  204. package/dist-bundled/umd/gids-dropdown-field.umd.js +1 -1
  205. package/dist-bundled/umd/gids-dropdown-picker.umd.js +1 -1
  206. package/dist-bundled/umd/gids-dropdown.umd.js +1 -1
  207. package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +1 -1
  208. package/dist-bundled/umd/gids-expansion-body-list.umd.js +1 -1
  209. package/dist-bundled/umd/gids-expansion-group.umd.js +1 -1
  210. package/dist-bundled/umd/gids-expansion.umd.js +1 -1
  211. package/dist-bundled/umd/gids-field.umd.js +1 -1
  212. package/dist-bundled/umd/gids-filter.umd.js +2 -2
  213. package/dist-bundled/umd/gids-icon.umd.js +1 -1
  214. package/dist-bundled/umd/gids-input.umd.js +2 -2
  215. package/dist-bundled/umd/gids-level-gauge.umd.js +1 -1
  216. package/dist-bundled/umd/gids-line-chart.umd.js +1 -1
  217. package/dist-bundled/umd/gids-md-table.umd.js +1 -1
  218. package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
  219. package/dist-bundled/umd/gids-overlay-provider.umd.js +1 -1
  220. package/dist-bundled/umd/gids-password-field.umd.js +1 -1
  221. package/dist-bundled/umd/gids-pie-chart.umd.js +1 -1
  222. package/dist-bundled/umd/gids-popover.umd.js +1 -1
  223. package/dist-bundled/umd/gids-progress-circle.umd.js +1 -1
  224. package/dist-bundled/umd/gids-scrim.umd.js +1 -1
  225. package/dist-bundled/umd/gids-skeleton.umd.js +5 -0
  226. package/dist-bundled/umd/gids-tab-item.umd.js +2 -2
  227. package/dist-bundled/umd/gids-tab.umd.js +1 -1
  228. package/dist-bundled/umd/gids-text-field.umd.js +1 -1
  229. package/dist-bundled/umd/gids-toggle-button.umd.js +2 -2
  230. package/dist-bundled/umd/gids-tooltip.umd.js +1 -1
  231. package/dist-bundled/umd/gids-transfer-list.umd.js +5 -0
  232. package/dist-bundled/umd-complete/gids-core-web.umd.js +4 -4
  233. package/package.json +20 -4
  234. package/dist/p-D6lxqcxP.js +0 -1
  235. package/dist-bundled/es/p-D6lxqcxP-C6BOC0kV.js +0 -74
@@ -2,14 +2,14 @@ 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
4
  import { d as p } from "./p-D4Pimu_8-ARSuGBs4.js";
5
- import { o as u } from "./p-UVmSPzTd-6vjXok6h.js";
5
+ import { o as u } from "./p-UVmSPzTd-CR1higgJ.js";
6
6
  import { c as h } from "./clsx-OuTLNxxd.js";
7
- const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
8
- // 'gids-snackbar-container--appearance-default': appearance === 'default' // its a default
9
- "gids-snackbar-container--appearance-information": t === "information",
10
- "gids-snackbar-container--appearance-success": t === "success",
11
- "gids-snackbar-container--appearance-warning": t === "warning",
12
- "gids-snackbar-container--appearance-error": t === "error"
7
+ const Q = ({ appearance: t }, e) => h("gids-notification-container", {
8
+ // 'gids-notification-container--appearance-default': appearance === 'default' // its a default
9
+ "gids-notification-container--appearance-information": t === "information",
10
+ "gids-notification-container--appearance-success": t === "success",
11
+ "gids-notification-container--appearance-warning": t === "warning",
12
+ "gids-notification-container--appearance-error": t === "error"
13
13
  }, e), S = (t) => {
14
14
  if (t)
15
15
  switch (t) {
@@ -26,8 +26,8 @@ const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
26
26
  }
27
27
  }, j = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28
28
  __proto__: null,
29
- getGidsSnackbarContainerClassNames: Q,
30
- getSnackbarContainerIconNames: S
29
+ getGidsNotificationContainerClassNames: Q,
30
+ getNotificationContainerIconNames: S
31
31
  }, Symbol.toStringTag, { value: "Module" })), b = (t) => {
32
32
  switch (t) {
33
33
  case "bottom-left":
@@ -91,12 +91,12 @@ const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
91
91
  getComponentEntryClasses: b,
92
92
  getComponentExitClasses: v,
93
93
  getComponentStackClasses: M
94
- }, Symbol.toStringTag, { value: "Module" })), T = ({ appearance: t }, e) => h("gids-notification-container", {
95
- // 'gids-notification-container--appearance-default': appearance === 'default' // its a default
96
- "gids-notification-container--appearance-information": t === "information",
97
- "gids-notification-container--appearance-success": t === "success",
98
- "gids-notification-container--appearance-warning": t === "warning",
99
- "gids-notification-container--appearance-error": t === "error"
94
+ }, Symbol.toStringTag, { value: "Module" })), T = ({ appearance: t }, e) => h("gids-snackbar-container", {
95
+ // 'gids-snackbar-container--appearance-default': appearance === 'default' // its a default
96
+ "gids-snackbar-container--appearance-information": t === "information",
97
+ "gids-snackbar-container--appearance-success": t === "success",
98
+ "gids-snackbar-container--appearance-warning": t === "warning",
99
+ "gids-snackbar-container--appearance-error": t === "error"
100
100
  }, e), q = (t) => {
101
101
  if (t)
102
102
  switch (t) {
@@ -113,12 +113,12 @@ const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
113
113
  }
114
114
  }, I = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
115
115
  __proto__: null,
116
- getGidsNotificationContainerClassNames: T,
117
- getNotificationContainerIconNames: q
118
- }, Symbol.toStringTag, { value: "Module" })), { getGidsSnackbarContainerClassNames: z, getSnackbarContainerIconNames: L } = j, X = ({ appearance: t = "default", children: e, button: n, class: i, ...a }) => {
116
+ getGidsSnackbarContainerClassNames: T,
117
+ getSnackbarContainerIconNames: q
118
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsSnackbarContainerClassNames: z, getSnackbarContainerIconNames: L } = I, 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 } = I, R = ({ notificationTitle: t, children: e, button: n, appearance: i = "default", pronunciation: a = "standard", onCloseNotificationClick: r, class: s, ...m }) => {
121
+ }, { getGidsNotificationContainerClassNames: Y, getNotificationContainerIconNames: E } = j, 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: "e759be1283aa989f140c46020ec3c66c749284ae" }, o("slot", { key: "89cbe6bafa62964fb116636371f08f0b60828dc7" }), this._isRoot() ? o("div", { class: G({ position: t }) }, [...this._allowedComponentQueue].reverse().map(((e) => this._renderComponent(e)))) : null);
190
+ return o(w, { key: "c97e5540b3c302e9c548d03166a67755bc195237" }, o("slot", { key: "0b29ba9fec23311a5fd8d0ce3c6b8f5f15f96a16" }), 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,47 +1,59 @@
1
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 F } from "./p-Dg2yoUxw-Cca8ROd_.js";
3
+ import { a as F } from "./p-Dg2yoUxw-DliMstZy.js";
4
4
  import { r as L } from "./p-UxDcM-C5-BJO4X0jM.js";
5
- import { o as O } from "./p-UVmSPzTd-6vjXok6h.js";
5
+ import { o as O } from "./p-UVmSPzTd-CR1higgJ.js";
6
6
  import { g as k, d as j } from "./p-D4Pimu_8-ARSuGBs4.js";
7
- import { h as z } from "./p-CatvDz2b-C-Hlv2Xb.js";
8
- import { r as E } from "./p-CnVmK0dH-CbmnN-RR.js";
7
+ import { h as z } from "./p-MnCDY1k9-CgbTyJ5R.js";
8
+ import { r as E } from "./p-DGenc1qz-CMwVEtCm.js";
9
9
  import { c as g } from "./clsx-OuTLNxxd.js";
10
- const f = /[A-Z]/, b = /[a-z]/, p = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ text: e, meterRules: t = [], textMinLength: s = 0 }) => {
10
+ const G = (e) => {
11
+ switch (e) {
12
+ case "error":
13
+ return "error";
14
+ case "success":
15
+ return "success";
16
+ default:
17
+ return "default";
18
+ }
19
+ }, B = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20
+ __proto__: null,
21
+ inputToGidsFieldStatusForPassword: G
22
+ }, Symbol.toStringTag, { value: "Module" })), f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, A = ({ text: e, meterRules: t = [], textMinLength: s = 0 }) => {
11
23
  if (!e || e === "")
12
24
  return 0;
13
25
  let n = 0;
14
- return t.includes("1-uppercase") && f.test(e) && n++, t.includes("1-lowercase") && b.test(e) && n++, t.includes("1-digit") && p.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
- }, B = ({ textScore: e, maxScore: t }) => {
26
+ 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;
27
+ }, I = ({ textScore: e, maxScore: t }) => {
16
28
  const s = t > 0 ? e / t * 100 : 0;
17
29
  return s <= 20 ? "is-weak" : s <= 40 ? "is-medium" : s <= 60 ? "is-good-enough" : s <= 80 ? "is-good" : "is-strong";
18
- }, A = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
30
+ }, $ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19
31
  __proto__: null,
20
- getColorModifierByScore: B,
21
- getStrengthMeterScore: G,
22
- include1DigitReg: p,
23
- include1LowercaseLetterReg: b,
32
+ getColorModifierByScore: I,
33
+ getStrengthMeterScore: A,
34
+ include1DigitReg: b,
35
+ include1LowercaseLetterReg: p,
24
36
  include1SpecialCharReg: q,
25
37
  include1UppercaseLetterReg: f
26
- }, Symbol.toStringTag, { value: "Module" })), o = ({ requirementRule: e, textMinLength: t }) => e === "include-min-length" && t && t > 0, R = (e) => {
38
+ }, Symbol.toStringTag, { value: "Module" })), d = ({ requirementRule: e, textMinLength: t }) => e === "include-min-length" && t && t > 0, R = (e) => {
27
39
  const t = [];
28
40
  return e && e.length > 0 && e.map((s) => {
29
41
  s?.requirementRule && t.push(s.requirementRule);
30
42
  }), t;
31
- }, I = ({ rule: e, textMinLength: t = 0, text: s }) => {
43
+ }, D = ({ rule: e, textMinLength: t = 0, text: s }) => {
32
44
  if (!s || s === "" || !e && !t)
33
45
  return !1;
34
46
  switch (e) {
35
47
  case "1-uppercase":
36
48
  return f.test(s);
37
49
  case "1-lowercase":
38
- return b.test(s);
39
- case "1-digit":
40
50
  return p.test(s);
51
+ case "1-digit":
52
+ return b.test(s);
41
53
  case "1-special-character":
42
54
  return q.test(s);
43
55
  case "include-min-length":
44
- return o({
56
+ return d({
45
57
  requirementRule: "include-min-length",
46
58
  textMinLength: t
47
59
  }) === !0 && s.length >= t;
@@ -67,7 +79,7 @@ const f = /[A-Z]/, b = /[a-z]/, p = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ text: e,
67
79
  requirementText: "Password must contain atleast 1 lowercase letter."
68
80
  }
69
81
  ];
70
- return o({
82
+ return d({
71
83
  requirementRule: "include-min-length",
72
84
  textMinLength: e
73
85
  }) && t.push({
@@ -77,13 +89,13 @@ const f = /[A-Z]/, b = /[a-z]/, p = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ text: e,
77
89
  defaultMeterRules: R(t),
78
90
  defaultRequirementsMeterRules: t
79
91
  };
80
- }, $ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
92
+ }, N = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
81
93
  __proto__: null,
82
- checkRequirementRuleSatisfied: I,
94
+ checkRequirementRuleSatisfied: D,
83
95
  getDefaultRulesAndRequirementsForMeters: m,
84
96
  getMeterRulesFromRequirements: R,
85
- minLengthRuleCanBeApplied: o
86
- }, Symbol.toStringTag, { value: "Module" })), D = (e) => {
97
+ minLengthRuleCanBeApplied: d
98
+ }, Symbol.toStringTag, { value: "Module" })), V = (e) => {
87
99
  switch (e) {
88
100
  case "error":
89
101
  return "danger";
@@ -96,60 +108,48 @@ const f = /[A-Z]/, b = /[a-z]/, p = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ text: e,
96
108
  default:
97
109
  return "globe";
98
110
  }
99
- }, N = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
100
- __proto__: null,
101
- getRequirementsMeterLabelLeadingIcon: D
102
- }, Symbol.toStringTag, { value: "Module" })), V = (e) => {
103
- switch (e) {
104
- case "error":
105
- return "error";
106
- case "success":
107
- return "success";
108
- default:
109
- return "default";
110
- }
111
111
  }, U = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
112
112
  __proto__: null,
113
- inputToGidsFieldStatusForPassword: V
114
- }, Symbol.toStringTag, { value: "Module" })), H = (e) => g("gids-strength-meter", e), Z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
113
+ getRequirementsMeterLabelLeadingIcon: V
114
+ }, Symbol.toStringTag, { value: "Module" })), { inputToGidsFieldStatusForPassword: H } = B, Z = (e) => e === "implicit" || e === void 0 ? "implicit" : H(e), W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
115
115
  __proto__: null,
116
- getGidsStrengthMeterClassNames: H
117
- }, Symbol.toStringTag, { value: "Module" })), W = ({ status: e }, t) => g("gids-requirements-meter-label", {
116
+ inputToGidsFieldStatusForPassword: Z
117
+ }, Symbol.toStringTag, { value: "Module" })), J = ({ 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",
120
120
  "gids-requirements-meter-label--warning": e === "warning",
121
121
  "gids-requirements-meter-label--success": e === "success"
122
- }, t), J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
122
+ }, t), K = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
123
123
  __proto__: null,
124
- getGidsRequirementsMeterLabelClassNames: W
125
- }, Symbol.toStringTag, { value: "Module" })), K = (e) => g("gids-requirements-meter", e), Q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
124
+ getGidsRequirementsMeterLabelClassNames: J
125
+ }, Symbol.toStringTag, { value: "Module" })), Q = (e) => g("gids-requirements-meter", e), X = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
126
126
  __proto__: null,
127
- getGidsRequirementsMeterClassNames: K
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({
127
+ getGidsRequirementsMeterClassNames: Q
128
+ }, Symbol.toStringTag, { value: "Module" })), Y = (e) => g("gids-strength-meter", e), ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
129
129
  __proto__: null,
130
- inputToGidsFieldStatusForPassword: Y
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 }) => {
130
+ getGidsStrengthMeterClassNames: Y
131
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsStrengthMeterClassNames: te } = ee, { getStrengthMeterScore: se, getColorModifierByScore: re } = $, 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, 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);
136
+ const o = c + 1, w = o <= l;
137
+ return s[o] === "include-min-length" ? d({ requirementRule: "include-min-length", textMinLength: t }) ? a(o, u, w) : null : a(o, u, w);
138
138
  }));
139
139
  })()) : null;
140
- }, { getGidsRequirementsMeterLabelClassNames: ne } = J, { getRequirementsMeterLabelLeadingIcon: le } = N, ae = (e) => {
140
+ }, { getGidsRequirementsMeterLabelClassNames: ne } = K, { getRequirementsMeterLabelLeadingIcon: le } = U, 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
- }, { checkRequirementRuleSatisfied: ue } = $, { getGidsRequirementsMeterClassNames: de } = Q, oe = ({ requirements: e = [], text: t, textMinLength: s, class: n }) => {
143
+ }, { checkRequirementRuleSatisfied: ue } = N, { getGidsRequirementsMeterClassNames: oe } = X, de = ({ requirements: e = [], text: t, textMinLength: s, class: n }) => {
144
144
  const a = (r, l) => i(ae, { status: l ? "success" : "error", label: r.requirementText });
145
- return i("div", { class: de(n) }, e.map(((r) => {
145
+ return i("div", { class: oe(n) }, e.map(((r) => {
146
146
  if (r?.requirementText != null && r?.requirementRule != null) {
147
147
  const l = ue({ rule: r.requirementRule, textMinLength: s, text: t });
148
- return r.requirementRule === "include-min-length" ? o({ requirementRule: r.requirementRule, textMinLength: s }) === !0 ? a(r, l) : null : a(r, l);
148
+ return r.requirementRule === "include-min-length" ? d({ requirementRule: r.requirementRule, textMinLength: s }) === !0 ? a(r, l) : null : a(r, l);
149
149
  }
150
150
  return null;
151
151
  })));
152
- }, { inputToGidsFieldStatusForPassword: ce } = ee, M = S(class extends P {
152
+ }, { inputToGidsFieldStatusForPassword: ce } = W, M = S(class extends P {
153
153
  constructor(e) {
154
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");
@@ -191,7 +191,7 @@ const f = /[A-Z]/, b = /[a-z]/, p = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ 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(T, { key: "b3ca75e255c3c52dd2b06a53d4f4ad97a2eabe40" }, i("gids-field", { key: "92aeaf60d20a989ab5f3d3e0b2578dadabbe6f11", disabled: this.disabled, count: void 0, helperText: this.helperText, statusText: this.statusText, status: ce(this.status) }, i(F, { key: "419e3469a5bc10d4b98b07d7a3cb1297d904a7c6", 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: "07e593d86d9c9f45ec51b86d9e401085dc7ad42c", 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: "edef3da6bb9e90730b5e8c016fe3d568c0780794", name: "leadingIcon" }), i("slot", { key: "ae4a8f0dcd6c6fae7c2dbd6834d82564dc369b31", name: "leadingAccessory" }), i("div", { key: "ad2b08b5fdd053109cfe2e3519fa7f724a908b7d", slot: "trailingAccessory", class: "gids-password-field__trailing-accessory" }, n && i(L, { key: "0222e71ffc2e2678cf881638e51418fc2b1bb2eb", label: "clear text", size: "lg", onPressDismiss: this._handleDismiss }), a && i(O, { key: "ecd8dc448c9bca208454ed61a03a4caba33ebc4d", appearance: "default", size: "xs", width: "intrinsic", disabled: this.disabled, onClick: this._handleRevealPassword }, u ? "Hide" : "Show")))), i("div", { key: "b3da444b02597769ebd3b0e28f3988a912c0bf60", class: "gids-password-field__meters-container" }, i(ie, { key: "91b7b8b41b681d94657f9f4fe3aa1ee04618eda1", meterRules: _, text: this.value, textMinLength: c }), i(oe, { key: "30b809ba457fc0a666f749386a8654b29b0a65ce", requirements: this.requirementsMeterRequirements, text: this.value, textMinLength: c })));
194
+ return i(T, { key: "3d2b0215e3ecf5f3177b6bbd814cbb25cfff0f99" }, i("gids-field", { key: "55406ad952e16aadfabb54e7e0881232abfa0ad4", disabled: this.disabled, count: void 0, helperText: this.helperText, statusText: this.statusText, status: ce(this.status) }, i(F, { key: "d43dfd8b4e972b2877be1dfc559e1c7dd26503af", 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: "91296ff92342eaabd1e4b90a9eac42ef84bdfe00", ref: (o) => this.#e = o, 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: "34e19a0410259e1fccc7fe019f0aaca4ed767221", name: "leadingIcon" }), i("slot", { key: "c2182fcca49768b6cad85ef1e6878267e9039356", name: "leadingAccessory" }), i("div", { key: "76b96027037623e0489eda79783b8eb526fc3506", slot: "trailingAccessory", class: "gids-password-field__trailing-accessory" }, n && i(L, { key: "10faa5658661a006a0dfa3772c78aa68285cebfe", label: "clear text", size: "lg", onPressDismiss: this._handleDismiss }), a && i(O, { key: "9035e639421b9a4ccfe781cbc6f90d629ac2d9c3", appearance: "default", size: "xs", width: "intrinsic", disabled: this.disabled, onClick: this._handleRevealPassword }, u ? "Hide" : "Show")))), i("div", { key: "c5ebe85a024f0726428fd68f35940909fd0ffba2", class: "gids-password-field__meters-container" }, i(ie, { key: "113412cc82015efae5c899786cb4550f04454ae4", meterRules: _, text: this.value, textMinLength: c }), i(de, { key: "12e2c502ed1d0b0e22048d92eb17c1cec3baee05", requirements: this.requirementsMeterRequirements, text: this.value, textMinLength: c })));
195
195
  }
196
196
  get _el() {
197
197
  return this;
@@ -1,6 +1,6 @@
1
- import { n as e, c as t } from "./p-Bab1qxsC-BMbD0lEy.js";
2
- const s = e, a = t;
1
+ import { n as e, c as t } from "./p-BF46eY8H-Xn8Fl9EI.js";
2
+ const r = e, s = t;
3
3
  export {
4
- s as GidsPieChart,
5
- a as defineCustomElement
4
+ r as GidsPieChart,
5
+ s as defineCustomElement
6
6
  };
@@ -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: "7072ac10af27e4e27d9d8fd0a8771403f9314e6e" }, a("slot", { key: "917ac8886b35e170cfa3ba32092602ed941d3bfc", name: "anchor" }), a("div", { key: "0285fe8576af9adb85d1380be12dc2bda8fe88db", id: "popover", part: "popover", role: "dialog", "aria-modal": "true", tabindex: "-1" }, a("span", { key: "8e03c6bdfcf4168768398892301a3185160db725", id: "arrow" }), a("div", { key: "7fe7510c89274cb9aedd44af3f2fa0ddf18acd4a" }, a("slot", { key: "facbdafa78fd2076d2cdb90d55714120bd9c33ba" }))));
67
+ return a(f, { key: "94d73fbb3f1717237610f6841f6d71bb358f88af" }, a("slot", { key: "e32847e40a883de4a28bab3c34472b1fcf373175", name: "anchor" }), a("div", { key: "91a5b221e8dc9ad5ccd001da496d9fa55f1fb39a", id: "popover", part: "popover", role: "dialog", "aria-modal": "true", tabindex: "-1" }, a("span", { key: "92e4d0a5abbed72f846669c60ca2d5b5423f7d2b", id: "arrow" }), a("div", { key: "9f70b0e84f4d82809668f57725707e6c681fb7c8" }, a("slot", { key: "52f87218d40c71eb70a23552e77b38d3b9f85b2f" }))));
68
68
  }
69
69
  disconnectedCallback() {
70
70
  this.cleanupEventListeners(), this.floatingElementManager?.destroy();
@@ -1,4 +1,4 @@
1
- import { h as e, d as r } from "./p-CoS0NuDU-CqmDcRWj.js";
1
+ import { h as e, d as r } from "./p-CoS0NuDU-ByDvQAzA.js";
2
2
  const o = e, t = r;
3
3
  export {
4
4
  o as GidsProgressCircle,
@@ -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: "df983fb2a1a7fb80da42f24d15156de78f44774c", class: this.activeClasses, part: "root" }, e("slot", { key: "6f8a76773dfe9f905ca63c8bf22ae7427b7a47bb" }));
19
+ return e("div", { key: "6eb29ef0727480d68dde79ff61f76c2fe12ff1ac", class: this.activeClasses, part: "root" }, e("slot", { key: "97c7b27716ed3bd06a2746f5f5abd3b1983cfc85" }));
20
20
  }
21
21
  get _el() {
22
22
  return this;
@@ -0,0 +1,41 @@
1
+ import { L as o, u as r, D as d, P as l, q as i } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
+ import { c as g } from "./clsx-OuTLNxxd.js";
3
+ const u = ({ variant: e, animation: t }) => g("gids-skeleton", {
4
+ "gids-skeleton--variant-circular": e === "circular",
5
+ "gids-skeleton--variant-rectangular": e === "rectangular",
6
+ "gids-skeleton--variant-rounded": e === "rounded",
7
+ "gids-skeleton--animation-pulse": t === "pulse",
8
+ "gids-skeleton--animation-wave": t === "wave"
9
+ }), c = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10
+ __proto__: null,
11
+ getSkeletonBaseClassNames: u
12
+ }, Symbol.toStringTag, { value: "Module" })), { getSkeletonBaseClassNames: m } = c, s = o(class extends r {
13
+ constructor(e) {
14
+ super(), e !== !1 && this.__registerHost(), this.variant = "text", this.animation = "none";
15
+ }
16
+ getDimension(e) {
17
+ if (e != null) return typeof e == "number" ? e + "px" : e;
18
+ }
19
+ getStyle() {
20
+ const e = {}, t = this.getDimension(this.width), n = this.getDimension(this.height);
21
+ return t !== void 0 && (e.width = t), n !== void 0 && (e.height = n), e;
22
+ }
23
+ render() {
24
+ const e = m({ variant: this.variant ?? "text", animation: this.animation ?? "none" });
25
+ return d(l, { key: "c0ab347f9aa9073e5161f3737200c4e34e6be5d5", class: e, style: this.getStyle(), "aria-hidden": "true" });
26
+ }
27
+ static get style() {
28
+ return 'gids-skeleton,.gids-skeleton-host{--gidsSkeleton-background:var( --gids-color-background-accent-9-subtle-default );--gidsSkeleton-wave-background:linear-gradient( 90deg, transparent 0%, var(--gids-color-background-accent-9-subtler-default) 50%, transparent 100% );--gidsSkeleton-text-border-radius:var(--gids-border-radius-sm);--gidsSkeleton-border-radius:var(--gids-border-radius-md);display:inline-block;position:relative;vertical-align:middle;background-color:var(--gidsSkeleton-background);overflow:hidden;width:auto;height:auto}.gids-skeleton--variant-text{border-radius:var(--gidsSkeleton-text-border-radius);min-height:1.2em;transform:scaleY(0.6);transform-origin:0 50%}.gids-skeleton--variant-circular{border-radius:100% !important;aspect-ratio:1/1}.gids-skeleton--variant-rectangular{border-radius:0}.gids-skeleton--variant-rounded{border-radius:var(--gidsSkeleton-border-radius)}.gids-skeleton--animation-none{animation:none}.gids-skeleton--animation-pulse{animation:gids-skeleton-pulse 1.5s ease-in-out infinite}.gids-skeleton--animation-wave::after{content:"";position:absolute;inset:0;width:100%;height:100%;background:var(--gidsSkeleton-wave-background);transform:translateX(-100%);animation:gids-skeleton-wave 1.6s linear infinite}@keyframes gids-skeleton-pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}@keyframes gids-skeleton-wave{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}@media (prefers-reduced-motion: reduce){.gids-skeleton--animation-pulse{animation:none}.gids-skeleton--animation-wave::after{animation:none}}';
29
+ }
30
+ }, [0, "gids-skeleton", { variant: [1], animation: [1], width: [8], height: [8] }]);
31
+ function a() {
32
+ typeof customElements < "u" && ["gids-skeleton"].forEach(((e) => {
33
+ e === "gids-skeleton" && (customElements.get(i(e)) || customElements.define(i(e), s));
34
+ }));
35
+ }
36
+ a();
37
+ const v = s, f = a;
38
+ export {
39
+ v as GidsSkeleton,
40
+ f as defineCustomElement
41
+ };
@@ -1,7 +1,12 @@
1
1
  import { L as m, u as p, D as r, P as f, q as c } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { n } from "./nonEmpty-B284_5ai.js";
3
3
  import { c as g } from "./clsx-OuTLNxxd.js";
4
- const y = ({ appearance: e, type: a, outline: i }, t) => g("gids-badge", {
4
+ const o = 99, y = (e, a, i) => e === "dot" || a !== void 0 && a > o || i, k = (e, a) => e === void 0 ? a ?? "" : e > o ? `${o}+` : e.toString(), I = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5
+ __proto__: null,
6
+ getDisplayContent: k,
7
+ maxCount: o,
8
+ shouldIncludeA11yText: y
9
+ }, Symbol.toStringTag, { value: "Module" })), C = ({ appearance: e, type: a, outline: i }, t) => g("gids-badge", {
5
10
  "gids-badge--danger": e === "danger",
6
11
  "gids-badge--positive": e === "positive",
7
12
  "gids-badge--warning": e === "warning",
@@ -10,14 +15,9 @@ const y = ({ appearance: e, type: a, outline: i }, t) => g("gids-badge", {
10
15
  "gids-badge--dot": a === "dot"
11
16
  }, {
12
17
  "gids-badge--outline": i
13
- }, t), k = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
18
+ }, t), _ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14
19
  __proto__: null,
15
- getGidsBadgeClassNames: y
16
- }, Symbol.toStringTag, { value: "Module" })), o = 99, I = (e, a, i) => e === "dot" || a !== void 0 && a > o || i, C = (e, a) => e === void 0 ? a ?? "" : e > o ? `${o}+` : e.toString(), _ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
17
- __proto__: null,
18
- getDisplayContent: C,
19
- maxCount: o,
20
- shouldIncludeA11yText: I
20
+ getGidsBadgeClassNames: C
21
21
  }, Symbol.toStringTag, { value: "Module" })), x = ({ appearance: e, width: a = "intrinsic", active: i }, t) => g("gids-tab-item", {
22
22
  // Widths
23
23
  // 'gids-tab-item--intrinsic': width === 'intrinsic', // By default so not needed
@@ -37,7 +37,7 @@ const y = ({ appearance: e, type: a, outline: i }, t) => g("gids-badge", {
37
37
  }, t), T = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
38
38
  __proto__: null,
39
39
  getGidsTabItemClassNames: x
40
- }, Symbol.toStringTag, { value: "Module" })), { getDisplayContent: l, shouldIncludeA11yText: w } = _, { getGidsBadgeClassNames: A } = k, S = ({ appearance: e, type: a, count: i, accessibleText: t, outline: d, class: v, ...h }) => {
40
+ }, Symbol.toStringTag, { value: "Module" })), { getDisplayContent: l, shouldIncludeA11yText: w } = I, { getGidsBadgeClassNames: A } = _, S = ({ appearance: e, type: a, count: i, accessibleText: t, outline: d, class: v, ...h }) => {
41
41
  const s = w(a, i, n(t));
42
42
  return r("span", { class: A({ appearance: e, type: a, outline: d }, v), ...h }, s && r("span", { class: "gids-visually-hidden" }, n(t) ? t : i), a === "notification" ? s ? r("span", { "aria-hidden": "true" }, l(i, t)) : l(i, t) : null);
43
43
  }, { getGidsTabItemClassNames: B } = T, b = m(class extends p {
@@ -75,7 +75,7 @@ const y = ({ appearance: e, type: a, outline: i }, t) => g("gids-badge", {
75
75
  }
76
76
  render() {
77
77
  const e = B({ appearance: this.appearance, width: this.width, active: this.active }), a = this.hasTrailingIcon, i = this.badgeVisible, t = this.appearance === "primary" && this.active ? "inverse" : this.badgeAppearance ?? "information", d = this.label;
78
- return r(f, { key: "11e43e7cf363fc49f4282a0d1d201c5440472145", class: e, onClick: this.handleHostClick }, this.hasLeadingIcon ? r("slot", { name: "leadingIconTabItem" }) : void 0, d && d !== "" ? r("span", { class: "gids-tab-item__label" }, d && d !== "" ? d : void 0, i ? r(S, { appearance: t, type: this.badgeType, count: this.badgeCount }) : void 0) : void 0, a ? r("slot", { name: "trailingIconTabItem" }) : void 0);
78
+ return r(f, { key: "6e13996c3a94e3386f759a0ea5b1c371f10d183a", class: e, onClick: this.handleHostClick }, this.hasLeadingIcon ? r("slot", { name: "leadingIconTabItem" }) : void 0, d && d !== "" ? r("span", { class: "gids-tab-item__label" }, d && d !== "" ? d : void 0, i ? r(S, { appearance: t, type: this.badgeType, count: this.badgeCount }) : void 0) : void 0, a ? r("slot", { name: "trailingIconTabItem" }) : void 0);
79
79
  }
80
80
  get hostElement() {
81
81
  return this;
@@ -4,10 +4,10 @@ const o = ({ width: e, appearance: t }, d) => l("gids-tab", {
4
4
  "gids-tab--full": e === "full",
5
5
  "gids-tab--item-subtle": t === "subtle",
6
6
  "gids-tab--item-underlined": t === "underlined"
7
- }, d), p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7
+ }, d), b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8
8
  __proto__: null,
9
9
  getGidsTabClassNames: o
10
- }, Symbol.toStringTag, { value: "Module" })), { getGidsTabClassNames: b } = p, i = r(class extends h {
10
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsTabClassNames: p } = b, i = r(class extends h {
11
11
  constructor(e) {
12
12
  super(), e !== !1 && this.__registerHost(), this.width = "intrinsic", this.appearance = "default";
13
13
  }
@@ -37,8 +37,8 @@ const o = ({ width: e, appearance: t }, d) => l("gids-tab", {
37
37
  return e === this.activeTabId;
38
38
  }
39
39
  render() {
40
- const e = b({ width: this.width, appearance: this.appearance });
41
- return a(c, { key: "9afa708bdbaa5920b655ee7012e14ea914c19dca", class: e }, a("slot", { key: "a5b32607d074a16c957c3f7928055e8dff7dd447" }));
40
+ const e = p({ width: this.width, appearance: this.appearance });
41
+ return a(c, { key: "254190360af6a9e18b533a0742ee6ef38b4bca0e", class: e }, a("slot", { key: "47dc0c55f47de294481568beef3f02bbbe319104" }));
42
42
  }
43
43
  get hostElement() {
44
44
  return this;
@@ -1,9 +1,9 @@
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 b } from "./p-B2zUuNXz-BLBgQDu7.js";
3
- import { a as m } from "./p-Dg2yoUxw-Cca8ROd_.js";
1
+ import { L as u, u as c, z as h, C as b, D as i, q as s } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
+ import { i as f } from "./p-B2zUuNXz-BLBgQDu7.js";
3
+ import { a as m } from "./p-Dg2yoUxw-DliMstZy.js";
4
4
  import { r as p } from "./p-UxDcM-C5-BJO4X0jM.js";
5
- import { h as g } from "./p-CatvDz2b-C-Hlv2Xb.js";
6
- import { r as x } from "./p-CnVmK0dH-CbmnN-RR.js";
5
+ import { h as g } from "./p-MnCDY1k9-CgbTyJ5R.js";
6
+ import { r as x } from "./p-DGenc1qz-CMwVEtCm.js";
7
7
  import { g as _ } from "./p-D4Pimu_8-ARSuGBs4.js";
8
8
  const v = (e, t) => {
9
9
  if (!(e === void 0 || t === void 0))
@@ -17,16 +17,16 @@ const v = (e, t) => {
17
17
  default:
18
18
  return "default";
19
19
  }
20
- }, l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20
+ }, n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21
21
  __proto__: null,
22
22
  formatCharCount: v,
23
23
  inputToGidsFieldStatus: T
24
- }, Symbol.toStringTag, { value: "Module" })), { inputToGidsFieldStatus: y } = l, q = (e) => e === "implicit" || e === void 0 ? "implicit" : y(e), C = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
24
+ }, Symbol.toStringTag, { value: "Module" })), { inputToGidsFieldStatus: y } = n, q = (e) => e === "implicit" || e === void 0 ? "implicit" : y(e), C = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
25
25
  __proto__: null,
26
26
  inputToGidsFieldStatus: q
27
- }, Symbol.toStringTag, { value: "Module" })), { formatCharCount: F } = l, { inputToGidsFieldStatus: O } = C, n = u(class extends h {
27
+ }, Symbol.toStringTag, { value: "Module" })), { formatCharCount: F } = n, { inputToGidsFieldStatus: O } = C, a = u(class extends c {
28
28
  constructor(e) {
29
- super(), e !== !1 && this.__registerHost(), this.gidsTextFieldClear = c(this, "gidsTextFieldClear"), this.#e = _(), this._handleDismiss = () => {
29
+ super(), e !== !1 && this.__registerHost(), this.gidsTextFieldClear = h(this, "gidsTextFieldClear"), this.#e = _(), this._handleDismiss = () => {
30
30
  const t = this.#t?.querySelector("input.gids-input__control");
31
31
  t && (t.value = "", t.dispatchEvent(new globalThis.Event("input", { bubbles: !0 }))), this.value = "", this.gidsTextFieldClear.emit();
32
32
  }, this._handleInput = (t) => {
@@ -37,11 +37,11 @@ const v = (e, t) => {
37
37
  }
38
38
  _startSlotContentObserver() {
39
39
  this._slotContentObserver = new MutationObserver((() => {
40
- f(this);
40
+ b(this);
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 = f();
45
45
  e !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(e), this._startSlotContentObserver();
46
46
  }
47
47
  disconnectedCallback() {
@@ -50,8 +50,8 @@ const v = (e, t) => {
50
50
  #e;
51
51
  #t;
52
52
  render() {
53
- const { id: e, ...t } = this.inputProps ?? {}, a = e ?? this.#e, d = this.showClearButton && this.value !== void 0 && this.value.length > 0;
54
- return i("gids-field", { key: "0ed0cb2129590be7ad6d2ac435248eb8e49fcff2", disabled: this.disabled, count: F(this.value?.length, this.maxLength), helperText: this.helperText, statusText: this.statusText, status: O(this.status) }, i(m, { key: "a13f7a4c874ef56452794da526e2b0f3f246eafb", slot: "label", disabled: this.disabled, info: i("slot", { name: "info" }), fieldRequirement: this.fieldRequirement, fieldRequirementOptionalText: this.fieldRequirementOptionalText, fieldRequirementRequiredText: this.fieldRequirementRequiredText, isLabelSentence: this.isLabelSentence, htmlFor: a }, this.label), i("gids-input", { key: "67debaa30e34b234fd8b73c8d19c9ae7f0ad6567", 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: a, maxLength: this.maxLength } }, i("slot", { key: "89ca7a44f766aaf315ec6501f104abc43be9e5e3", name: "leadingIcon" }), i("slot", { key: "852590c3cd709a75047f8762f0ac852e202fcd4b", name: "leadingAccessory" }), d && i(p, { key: "67e92c36408146dd71a883201609987d38865df2", label: "clear text", slot: "trailingAccessory", size: "lg", onPressDismiss: this._handleDismiss }), i("slot", { key: "b8b20927eb8b9618376aa09648bbaab0d00a83e6", name: "trailingIcon" })));
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: "b682d22f46991610e365d7b2990f61328bbd9f94", disabled: this.disabled, count: F(this.value?.length, this.maxLength), helperText: this.helperText, statusText: this.statusText, status: O(this.status) }, i(m, { key: "e43e0ea57c0990cb5c91b49d3dd5d15143b91c12", 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: "52aa35ac1be6645867d72a6f53383c379965efb3", 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: "46c3612586ecd8477f7cebf869a5d992ab031efb", name: "leadingIcon" }), i("slot", { key: "c32c58b4c81147cae7e60a8c578e8ce08fb811a7", name: "leadingAccessory" }), d && i(p, { key: "5eb55c20c60993b9bb72ab160bbd37bc7ea96390", label: "clear text", slot: "trailingAccessory", size: "lg", onPressDismiss: this._handleDismiss }), i("slot", { key: "6cbf55a7303ef56c392d40bff9b54e620b4134ff", name: "trailingIcon" })));
55
55
  }
56
56
  get _el() {
57
57
  return this;
@@ -61,7 +61,7 @@ function r() {
61
61
  typeof customElements < "u" && ["gids-text-field", "gids-field", "gids-input"].forEach(((e) => {
62
62
  switch (e) {
63
63
  case "gids-text-field":
64
- customElements.get(s(e)) || customElements.define(s(e), n);
64
+ customElements.get(s(e)) || customElements.define(s(e), a);
65
65
  break;
66
66
  case "gids-field":
67
67
  customElements.get(s(e)) || g();
@@ -72,7 +72,7 @@ function r() {
72
72
  }));
73
73
  }
74
74
  r();
75
- const G = n, B = r;
75
+ const G = a, B = r;
76
76
  export {
77
77
  G as GidsTextField,
78
78
  B as defineCustomElement
@@ -1,4 +1,4 @@
1
- import { l as o, o as t } from "./p-D5DRatg0-DtQL-DQg.js";
1
+ import { l as o, o as t } from "./p-DLauG0q8-CCUuzYl9.js";
2
2
  const s = o, m = t;
3
3
  export {
4
4
  s as GidsToggleButton,
@@ -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: "dfad2d80bfb7a71160756784ad8a3b0fa1e2d939" }, e("slot", { key: "6ba31e67a92c64309569f320c298eeb7e1429c32" }), e("span", { key: "cc6df1e5ac986ffba9953c6a59ba464ec95e0475", id: "tooltip", part: "tooltip", role: "tooltip" }, e("span", { key: "c383894a631b50fed501b51a43809538919ec5bb", id: "arrow" }), this.tooltipText));
41
+ return e(s, { key: "2db5e111280a88c65cda2c3b700ce17f24189abb" }, e("slot", { key: "9298d0612cd63bfd490313ef0285474554ce4dce" }), e("span", { key: "fc3b147c2b003fe987eda62682c073d98b539437", id: "tooltip", part: "tooltip", role: "tooltip" }, e("span", { key: "e458a1c68930669a10360a4dedb2fb306fc1a3e3", id: "arrow" }), this.tooltipText));
42
42
  }
43
43
  disconnectedCallback() {
44
44
  this.cleanupEventListeners(), this.floatingElementManager?.destroy();