@ganpatiinfo/gids-core-web 12.0.0 → 14.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 (241) hide show
  1. package/dist/css/index.css +1114 -247
  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 +11 -0
  8. package/dist/gids-advanced-tooltip.js +1 -0
  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-snackbar.d.ts +1 -1
  71. package/dist/gids-tab-item.d.ts +1 -1
  72. package/dist/gids-tab-item.js +1 -1
  73. package/dist/gids-tab.d.ts +1 -1
  74. package/dist/gids-tab.js +1 -1
  75. package/dist/gids-text-field.d.ts +1 -1
  76. package/dist/gids-text-field.js +1 -1
  77. package/dist/gids-toggle-button.d.ts +1 -1
  78. package/dist/gids-toggle-button.js +1 -1
  79. package/dist/gids-tooltip.d.ts +1 -1
  80. package/dist/gids-tooltip.js +1 -1
  81. package/dist/{p-pSb81aE0.js → p-1fMG8D4t.js} +1 -1
  82. package/dist/p-BBszCFSA.js +1 -0
  83. package/dist/p-BKcvOO8o.js +1 -0
  84. package/dist/p-BV0jg2ix.js +1 -0
  85. package/dist/p-BVA1LAFM.js +1 -0
  86. package/dist/p-BYt-9DKT.js +1 -0
  87. package/dist/{p-C3We7Q8Q.js → p-Bab1qxsC.js} +1 -1
  88. package/dist/{p-C3w3wdCt.js → p-Bh8qYmAS.js} +1 -1
  89. package/dist/{p-BSbOhfLZ.js → p-BzzDNTlP.js} +1 -1
  90. package/dist/p-C2POfZhu.js +1 -0
  91. package/dist/{p-C2O_pGky.js → p-CU5JIcEp.js} +1 -1
  92. package/dist/{p-Chqeexny.js → p-C_RW9IFo.js} +1 -1
  93. package/dist/{p-ub0GuVHb.js → p-CatvDz2b.js} +1 -1
  94. package/dist/{p-BVAtja26.js → p-CnVmK0dH.js} +1 -1
  95. package/dist/p-D5DRatg0.js +1 -0
  96. package/dist/{p-6APCjBEI.js → p-DAnkY5ik.js} +1 -1
  97. package/dist/p-DMVCMnTe.js +1 -0
  98. package/dist/p-DUUxlY-K.js +1 -0
  99. package/dist/{p-COHuQEfZ.js → p-Dan1sCNk.js} +1 -1
  100. package/dist/{p-BCVFQSjK.js → p-DslOQITw.js} +1 -1
  101. package/dist/{p-DUojHltk.js → p-_HwuS8vK.js} +1 -1
  102. package/dist/p-jzl-rPxB.js +1 -0
  103. package/dist/types/components/html/GidsBasicTableBody/GidsBasicTableBody.d.ts +29 -4
  104. package/dist/types/components/html/GidsBasicTableHead/GidsBasicTableHead.d.ts +15 -0
  105. package/dist/types/components/html/GidsBasicTableHeader/GidsBasicTableHeader.d.ts +23 -3
  106. package/dist/types/components/html/GidsBasicTableRow/GidsBasicTableRow.d.ts +20 -3
  107. package/dist/types/components/html/GidsBsTable/GidsBsTable.d.ts +27 -3
  108. package/dist/types/components/html/GidsColorSwatch/GidsColorSwatch.d.ts +6 -0
  109. package/dist/types/components/html/GidsMatrixTable/GidsMatrixTable.d.ts +11 -0
  110. package/dist/types/components/html/GidsMatrixTableBody/GidsMatrixTableBody.d.ts +11 -0
  111. package/dist/types/components/html/GidsPagination/GidsPagination.d.ts +10 -0
  112. package/dist/types/components/html/GidsPaginator/GidsPaginator.d.ts +6 -0
  113. package/dist/types/components/html/GidsPaginatorItem/GidsPaginatorItem.d.ts +7 -0
  114. package/dist/types/components/html/GidsTable/GidsTable.d.ts +16 -0
  115. package/dist/types/components/html/GidsTableBody/GidsTableBody.d.ts +11 -0
  116. package/dist/types/components/html/GidsTableCell/GidsTableCell.d.ts +21 -0
  117. package/dist/types/components/html/GidsTableEntry/GidsTableEntry.d.ts +9 -0
  118. package/dist/types/components/html/GidsTableFooter/GidsTableFooter.d.ts +12 -0
  119. package/dist/types/components/html/GidsTableFooterControl/GidsTableFooterControl.d.ts +8 -0
  120. package/dist/types/components/html/GidsTableHeader/GidsTableHeader.d.ts +9 -0
  121. package/dist/types/components/html/GidsTableRow/GidsTableRow.d.ts +9 -0
  122. package/dist/types/components/html/GidsTableToolbar/GidsTableToolbar.d.ts +11 -0
  123. package/dist/types/components/html/_GidsPaginationItem/GidsPaginationItem.d.ts +10 -0
  124. package/dist/types/components/webComponents/GidsAdvancedTooltip/GidsAdvancedTooltip.d.ts +28 -0
  125. package/dist/types/components/webComponents/GidsBarChart/GidsBarChart.d.ts +7 -0
  126. package/dist/types/components/webComponents/GidsChartLegendItem/GidsChartLegendItem.d.ts +7 -0
  127. package/dist/types/components/webComponents/GidsLineChart/GidsLineChart.d.ts +7 -0
  128. package/dist/types/components/webComponents/GidsMdTable/GidsMdTable.d.ts +14 -9
  129. package/dist/types/components.d.ts +130 -17
  130. package/dist-bundled/es/gids-action-bar.js +5 -5
  131. package/dist-bundled/es/gids-activity-gauge.js +4 -4
  132. package/dist-bundled/es/gids-advanced-tooltip.js +6 -0
  133. package/dist-bundled/es/gids-bar-chart.js +1 -1
  134. package/dist-bundled/es/gids-calendar-header-panel.js +3 -3
  135. package/dist-bundled/es/gids-calendar-month-list.js +3 -3
  136. package/dist-bundled/es/gids-calendar-year-list.js +4 -4
  137. package/dist-bundled/es/gids-calendar.js +23 -23
  138. package/dist-bundled/es/gids-chart-legend-item.js +4 -4
  139. package/dist-bundled/es/gids-chart-legend.js +4 -4
  140. package/dist-bundled/es/gids-chart.js +38 -34
  141. package/dist-bundled/es/gids-chevron-button.js +8 -8
  142. package/dist-bundled/es/gids-dot.js +1 -1
  143. package/dist-bundled/es/gids-dropdown-field.js +7 -7
  144. package/dist-bundled/es/gids-dropdown-picker.js +2 -2
  145. package/dist-bundled/es/gids-dropdown.js +3 -3
  146. package/dist-bundled/es/gids-expansion-body-list-item.js +3 -3
  147. package/dist-bundled/es/gids-expansion-body-list.js +2 -2
  148. package/dist-bundled/es/gids-expansion-group.js +13 -13
  149. package/dist-bundled/es/gids-expansion.js +7 -7
  150. package/dist-bundled/es/gids-field.js +3 -3
  151. package/dist-bundled/es/gids-filter.js +4 -4
  152. package/dist-bundled/es/gids-icon.js +1 -1
  153. package/dist-bundled/es/gids-input.js +4 -4
  154. package/dist-bundled/es/gids-line-chart.js +1 -1
  155. package/dist-bundled/es/gids-md-table.js +124 -86
  156. package/dist-bundled/es/gids-overflow-container.js +1 -1
  157. package/dist-bundled/es/gids-overlay-provider.js +2 -2
  158. package/dist-bundled/es/gids-password-field.js +11 -11
  159. package/dist-bundled/es/gids-pie-chart.js +4 -4
  160. package/dist-bundled/es/gids-popover.js +2 -2
  161. package/dist-bundled/es/gids-scrim.js +7 -7
  162. package/dist-bundled/es/gids-tab-item.js +1 -1
  163. package/dist-bundled/es/gids-tab.js +1 -1
  164. package/dist-bundled/es/gids-text-field.js +11 -11
  165. package/dist-bundled/es/gids-toggle-button.js +1 -1
  166. package/dist-bundled/es/gids-tooltip.js +2 -2
  167. package/dist-bundled/es/{p-pSb81aE0-CNrq7SQW.js → p-1fMG8D4t-CIEDM74u.js} +2 -2
  168. package/dist-bundled/es/p-BBszCFSA-BN0-eWJX.js +115 -0
  169. package/dist-bundled/es/p-BKcvOO8o-L5KtCP_k.js +1024 -0
  170. package/dist-bundled/es/{p-C3xv7tfs-RodXvmql.js → p-BV0jg2ix-DI0fZl_6.js} +15 -12
  171. package/dist-bundled/es/p-BVA1LAFM-DdsY_n8R.js +129 -0
  172. package/dist-bundled/es/{p-CI-sN9Lr-DHC9DyS8.js → p-BYt-9DKT-DByyhIUd.js} +14 -14
  173. package/dist-bundled/es/{p-C3We7Q8Q-DT_NDg87.js → p-Bab1qxsC-BMbD0lEy.js} +2 -2
  174. package/dist-bundled/es/{p-C3w3wdCt-I6zwuecb.js → p-Bh8qYmAS-DhSpwB20.js} +5 -5
  175. package/dist-bundled/es/{p-BSbOhfLZ-ByjjVMqG.js → p-BzzDNTlP-BkSyrafk.js} +9 -9
  176. package/dist-bundled/es/p-C2POfZhu-DzG_JxV6.js +24 -0
  177. package/dist-bundled/es/{p-C2O_pGky-C_30AJ3m.js → p-CU5JIcEp-CuVpd-eZ.js} +10 -10
  178. package/dist-bundled/es/{p-Chqeexny-C4hlPbBP.js → p-C_RW9IFo-DNQqJS8t.js} +6 -6
  179. package/dist-bundled/es/{p-ub0GuVHb-C_PFTi1_.js → p-CatvDz2b-C-Hlv2Xb.js} +10 -10
  180. package/dist-bundled/es/{p-BVAtja26-Xjd4_b4e.js → p-CnVmK0dH-CbmnN-RR.js} +7 -7
  181. package/dist-bundled/es/{p-D4Pimu_8-DfEGRQGf.js → p-D4Pimu_8-ARSuGBs4.js} +0 -1
  182. package/dist-bundled/es/{p-_SIWct9h-jMYFZ-VO.js → p-D5DRatg0-DtQL-DQg.js} +2 -2
  183. package/dist-bundled/es/{p-D6lxqcxP-DWrZi1Xi.js → p-D6lxqcxP-C6BOC0kV.js} +1 -1
  184. package/dist-bundled/es/{p-6APCjBEI-roDSyEYu.js → p-DAnkY5ik-ChPtRpOX.js} +5 -5
  185. package/dist-bundled/es/p-DMVCMnTe-D4eJKJsj.js +111 -0
  186. package/dist-bundled/es/p-DUUxlY-K-mypBhVt6.js +99 -0
  187. package/dist-bundled/es/{p-COHuQEfZ-C_POuXNC.js → p-Dan1sCNk-mWcyyplK.js} +11 -11
  188. package/dist-bundled/es/{p-BCVFQSjK-CKrYrI4b.js → p-DslOQITw-BfwtLWqG.js} +7 -7
  189. package/dist-bundled/es/{p-UxDcM-C5-Dr5d_WpJ.js → p-UxDcM-C5-BJO4X0jM.js} +1 -1
  190. package/dist-bundled/es/{p-DUojHltk-GyvsWoCM.js → p-_HwuS8vK-C0w4T5rV.js} +3 -3
  191. package/dist-bundled/es/{p-VJAcf53T-2X0vBJ1A.js → p-jzl-rPxB-CC735zJp.js} +17 -34
  192. package/dist-bundled/umd/gids-action-bar.umd.js +2 -2
  193. package/dist-bundled/umd/gids-activity-gauge.umd.js +2 -2
  194. package/dist-bundled/umd/gids-advanced-tooltip.umd.js +5 -0
  195. package/dist-bundled/umd/gids-bar-chart.umd.js +8 -8
  196. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +1 -1
  197. package/dist-bundled/umd/gids-calendar-month-list.umd.js +1 -1
  198. package/dist-bundled/umd/gids-calendar-year-list.umd.js +1 -1
  199. package/dist-bundled/umd/gids-calendar.umd.js +1 -1
  200. package/dist-bundled/umd/gids-chart-legend-item.umd.js +2 -2
  201. package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
  202. package/dist-bundled/umd/gids-chart.umd.js +5 -5
  203. package/dist-bundled/umd/gids-chevron-button.umd.js +1 -1
  204. package/dist-bundled/umd/gids-dot.umd.js +1 -1
  205. package/dist-bundled/umd/gids-dropdown-field.umd.js +1 -1
  206. package/dist-bundled/umd/gids-dropdown-picker.umd.js +1 -1
  207. package/dist-bundled/umd/gids-dropdown.umd.js +1 -1
  208. package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +1 -1
  209. package/dist-bundled/umd/gids-expansion-body-list.umd.js +1 -1
  210. package/dist-bundled/umd/gids-expansion-group.umd.js +1 -1
  211. package/dist-bundled/umd/gids-expansion.umd.js +1 -1
  212. package/dist-bundled/umd/gids-field.umd.js +1 -1
  213. package/dist-bundled/umd/gids-filter.umd.js +3 -3
  214. package/dist-bundled/umd/gids-icon.umd.js +1 -1
  215. package/dist-bundled/umd/gids-input.umd.js +1 -1
  216. package/dist-bundled/umd/gids-line-chart.umd.js +2 -2
  217. package/dist-bundled/umd/gids-md-table.umd.js +2 -2
  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 +2 -2
  222. package/dist-bundled/umd/gids-popover.umd.js +2 -2
  223. package/dist-bundled/umd/gids-scrim.umd.js +1 -1
  224. package/dist-bundled/umd/gids-tab-item.umd.js +2 -2
  225. package/dist-bundled/umd/gids-tab.umd.js +1 -1
  226. package/dist-bundled/umd/gids-text-field.umd.js +1 -1
  227. package/dist-bundled/umd/gids-toggle-button.umd.js +2 -2
  228. package/dist-bundled/umd/gids-tooltip.umd.js +1 -1
  229. package/dist-bundled/umd-complete/gids-core-web.umd.js +8 -8
  230. package/package.json +17 -9
  231. package/dist/p-C3xv7tfs.js +0 -1
  232. package/dist/p-C56G7JRy.js +0 -1
  233. package/dist/p-CI-sN9Lr.js +0 -1
  234. package/dist/p-DO0MyFf4.js +0 -1
  235. package/dist/p-VJAcf53T.js +0 -1
  236. package/dist/p-_SIWct9h.js +0 -1
  237. package/dist/p-a3JfEYJp.js +0 -1
  238. package/dist/types/components/html/GidsBasicTableCell/GidsBasicTableCell.d.ts +0 -4
  239. package/dist-bundled/es/p-C56G7JRy-B3HO4aVF.js +0 -88
  240. package/dist-bundled/es/p-DO0MyFf4-D7XItX1k.js +0 -115
  241. package/dist-bundled/es/p-a3JfEYJp-DyhDK6VZ.js +0 -1128
@@ -1,62 +1,97 @@
1
- import { L as T, u as B, D as r, P as f, F as H, q as p } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
- import { c as h } from "./clsx-OuTLNxxd.js";
3
- const _ = ({ borderSides: e, borderRadiusSides: a, appearance: t, textAlignment: l, width: d }, i) => h("gids-basic-table-cell", {
4
- "gids-basic-table-cell--border-side-top": e?.includes("top"),
5
- "gids-basic-table-cell--border-side-bottom": e?.includes("bottom"),
6
- "gids-basic-table-cell--border-side-left": e?.includes("left"),
7
- "gids-basic-table-cell--border-side-right": e?.includes("right"),
1
+ import { L as q, u as M, D as d, P as E, F as K, q as I } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
+ import { o as $ } from "./p-C2POfZhu-DzG_JxV6.js";
3
+ import { d as S } from "./p-D4Pimu_8-ARSuGBs4.js";
4
+ import { o as J } from "./p-UVmSPzTd-6vjXok6h.js";
5
+ import { c as B } from "./clsx-OuTLNxxd.js";
6
+ const F = (e) => !!(e?.buttonLabel && e.buttonLabel !== "" || e?.leadingIconName && e.leadingIconName !== "" || e?.trailingIconName && e.trailingIconName !== ""), Q = ({ cellActionButton: e, neededIconType: t = "leading" }) => t === "trailing" ? {
7
+ cellIconName: e?.trailingIconName,
8
+ cellIconAppearance: e?.trailingIconAppearance,
9
+ cellIconSize: e?.trailingIconSize
10
+ } : {
11
+ cellIconName: e?.leadingIconName,
12
+ cellIconAppearance: e?.leadingIconAppearance,
13
+ cellIconSize: e?.leadingIconSize
14
+ }, U = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15
+ __proto__: null,
16
+ getTableCellBtnIcon: Q,
17
+ isTableCellActionButtonVisible: F
18
+ }, Symbol.toStringTag, { value: "Module" })), W = ({ borderSides: e, borderRadiusSides: t, appearance: a, textAlignment: l, width: r }, i) => B("gids-table-cell", {
19
+ "gids-table-cell--border-side-top": e?.includes("top"),
20
+ "gids-table-cell--border-side-bottom": e?.includes("bottom"),
21
+ "gids-table-cell--border-side-left": e?.includes("left"),
22
+ "gids-table-cell--border-side-right": e?.includes("right"),
8
23
  // Border radius sides
9
- "gids-basic-table-cell--border-radius-side-top-left": a?.includes("top-left"),
10
- "gids-basic-table-cell--border-radius-side-bottom-left": a?.includes("bottom-left"),
11
- "gids-basic-table-cell--border-radius-side-top-right": a?.includes("top-right"),
12
- "gids-basic-table-cell--border-radius-side-bottom-right": a?.includes("bottom-right"),
24
+ "gids-table-cell--border-radius-side-top-left": t?.includes("top-left"),
25
+ "gids-table-cell--border-radius-side-bottom-left": t?.includes("bottom-left"),
26
+ "gids-table-cell--border-radius-side-top-right": t?.includes("top-right"),
27
+ "gids-table-cell--border-radius-side-bottom-right": t?.includes("bottom-right"),
13
28
  // Background colors
14
- "gids-basic-table-cell--appearance-default": t === "default",
15
- "gids-basic-table-cell--appearance-primal": t === "primal",
16
- "gids-basic-table-cell--appearance-neutral-default": t === "neutral-default",
17
- "gids-basic-table-cell--appearance-info": t === "info",
18
- "gids-basic-table-cell--appearance-warning": t === "warning",
19
- "gids-basic-table-cell--appearance-positive": t === "positive",
20
- "gids-basic-table-cell--appearance-danger": t === "danger",
29
+ "gids-table-cell--appearance-default": a === "default",
30
+ "gids-table-cell--appearance-primal": a === "primal",
31
+ "gids-table-cell--appearance-neutral-default": a === "neutral-default",
32
+ "gids-table-cell--appearance-info": a === "info",
33
+ "gids-table-cell--appearance-warning": a === "warning",
34
+ "gids-table-cell--appearance-positive": a === "positive",
35
+ "gids-table-cell--appearance-danger": a === "danger",
21
36
  // Alignments
22
- "gids-basic-table-cell--text-alignment-left": l === "left",
23
- "gids-basic-table-cell--text-alignment-right": l === "right",
24
- "gids-basic-table-cell--text-alignment-center": l === "center",
37
+ "gids-table-cell--text-alignment-left": l === "left",
38
+ "gids-table-cell--text-alignment-right": l === "right",
39
+ "gids-table-cell--text-alignment-center": l === "center",
25
40
  // Widths
26
- // 'gids-basic-table-cell--width-full': width === 'full', // Width set by default so not needed
27
- "gids-basic-table-cell--width-intrinsic": d === "intrinsic"
28
- }, i), w = (e) => e && e.toString() !== "" ? `gids-typography-${e}` : "gids-typography-label-medium", C = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
41
+ // 'gids-table-cell--width-full': width === 'full', // Width set by default so not needed
42
+ "gids-table-cell--width-intrinsic": r === "intrinsic"
43
+ }, i), X = (e) => e && e.toString() !== "" ? `gids-typography-${e}` : "gids-typography-label-medium", Y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29
44
  __proto__: null,
30
- getGidsBasicTableCellClassNames: _,
31
- getGidsBasicTableCellLabelTypographyClass: w
32
- }, Symbol.toStringTag, { value: "Module" })), A = ({ width: e }, a) => h("gids-basic-table-row", {
45
+ getGidsTableCellClassNames: W,
46
+ getGidsTableCellLabelTypographyClass: X
47
+ }, Symbol.toStringTag, { value: "Module" })), Z = ({ width: e }, t) => B("gids-basic-table-row", {
33
48
  // Widths
34
49
  // 'gids-basic-table-row--width-full': width === 'full', // Width set by default so not needed
35
50
  "gids-basic-table-row--width-intrinsic": e === "intrinsic"
36
- }, a), x = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
51
+ }, t), ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
37
52
  __proto__: null,
38
- getGidsBasicTableRowClassNames: A
39
- }, Symbol.toStringTag, { value: "Module" })), S = ({ width: e }, a) => h("gids-basic-table-header", {
53
+ getGidsBasicTableRowClassNames: Z
54
+ }, Symbol.toStringTag, { value: "Module" })), te = ({ width: e }, t) => B("gids-basic-table-header", {
40
55
  // Widths
41
56
  // 'gids-basic-table-header--width-full': width === 'full', // Width set by default so not needed
42
57
  "gids-basic-table-header--width-intrinsic": e === "intrinsic"
43
- }, a), v = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
58
+ }, t), ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
44
59
  __proto__: null,
45
- getGidsBasicTableHeaderClassNames: S
46
- }, Symbol.toStringTag, { value: "Module" })), V = ({ width: e }, a) => h("gids-md-table", {
60
+ getGidsBasicTableHeaderClassNames: te
61
+ }, Symbol.toStringTag, { value: "Module" })), le = ({ width: e }, t) => B("gids-md-table", {
47
62
  // Widths
48
63
  // 'gids-md-table--width-full': width === 'full', // Width set by default so not needed
49
64
  "gids-md-table--width-intrinsic": e === "intrinsic"
50
- }, a), R = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
65
+ }, t), ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
51
66
  __proto__: null,
52
- getGidsMdTableClassNames: V
53
- }, Symbol.toStringTag, { value: "Module" })), { getGidsBasicTableCellClassNames: D, getGidsBasicTableCellLabelTypographyClass: L } = C, g = ({ label: e, width: a = "full", appearance: t = "none", borderSides: l = [], borderRadiusSides: d = [], textAlignment: i = "center", labelTypography: s = "label-medium", isHeaderCell: o = !1, class: n, ...b }) => r(o ? "th" : "td", { ...b, class: D({ borderSides: l, borderRadiusSides: d, appearance: t, textAlignment: i, width: a }, n) }, r("span", { class: "" + L(s) }, e)), { getGidsBasicTableRowClassNames: G } = x, c = ({ width: e = "full", layout: a = "horizontal", rows: t = [], isHeaderRow: l = !1, class: d, ...i }) => {
54
- const s = G({ width: e }, d);
55
- return a === "vertical" ? r(H, null, t.map(((o, n) => r("tr", { ...i, key: "row-v-" + (n + 1), class: s }, r(g, { ...o, width: e, isHeaderCell: l }))))) : r("tr", { ...i, class: s }, t.map(((o, n) => r(g, { key: "row-h-" + (n + 1), ...o, width: e, isHeaderCell: l }))));
56
- }, { getGidsBasicTableHeaderClassNames: O } = v, j = ({ width: e = "full", headerCells: a = [], appearance: t = "none", labelTypography: l = "label-medium", textAlignment: d = "center", layout: i = "horizontal", class: s, ...o }) => {
57
- const n = O({ width: e }, s);
58
- return r("thead", { ...o, class: n }, r(c, { rows: a.map(((b) => ({ appearance: t, labelTypography: l, textAlignment: d, ...b }))), width: e, layout: i, isHeaderRow: !0 }));
59
- }, { getGidsMdTableClassNames: k } = R, u = T(class extends B {
67
+ getGidsMdTableClassNames: le
68
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsTableCellClassNames: re, getGidsTableCellLabelTypographyClass: de } = Y, { isTableCellActionButtonVisible: ne, getTableCellBtnIcon: se } = U, v = ({ id: e, uniqueKey: t, extraData: a, label: l, cellDataType: r = "text", displayTags: i = [], width: n = "full", appearance: p = "none", borderSides: g = [], borderRadiusSides: o = [], textAlignment: h = "center", labelTypography: c = "label-medium", isHeaderCell: b = !1, cellPrimaryActionButtons: m = [], cellSecondaryActionButtons: z = [], onClickCellActionBtn: f, class: R, ...L }) => {
69
+ function C({ cellActionBtn: s, neededIconType: y = "leading" }) {
70
+ const T = se({ cellActionButton: s, neededIconType: y });
71
+ return T?.cellIconName && "" + T.cellIconName != "" ? d(S, { name: T.cellIconName, size: T.cellIconSize, appearance: T.cellIconAppearance }) : void 0;
72
+ }
73
+ function _(s) {
74
+ const y = s === "primary" ? m : z;
75
+ if (y && !(y.length <= 0)) return d("div", { class: s === "primary" ? "gids-table-cell__primary-action-btn-container" : "gids-table-cell__secondary-action-btn-container" }, y.map(((T, w) => {
76
+ const H = s === "primary" ? y.length - w - 1 : w, A = y[H];
77
+ return ne(A) ? (function({ cellActionBtn: u, actionBtnIndex: P, actionBtnPosition: k }) {
78
+ return d(J, { as: "button", appearance: u?.appearance ?? "default", size: u?.size ?? "md", disabled: u?.disabled, destructive: u?.destructive, positive: u?.positive, loading: u?.loading, width: u?.width ?? "intrinsic", type: "button", leadingIcon: C({ cellActionBtn: u, neededIconType: "leading" }), trailingIcon: C({ cellActionBtn: u, neededIconType: "trailing" }), onClick: (O) => (function({ event: G, actionBtnIndex: x, actionBtnPosition: j }) {
79
+ f && f({ originalEvent: G, details: { appearance: p, cellDataType: r, displayTags: i, label: l, id: e, extraData: a, isHeaderCell: b, uniqueKey: t, actionBtnNumber: "action-btn-" + (x + 1), actionBtnIndex: x, actionBtnPosition: j ?? "secondary" } });
80
+ })({ event: O, actionBtnIndex: P, actionBtnPosition: k }) }, u?.buttonLabel ?? "");
81
+ })({ cellActionBtn: A, actionBtnIndex: H, actionBtnPosition: s }) : void 0;
82
+ })));
83
+ }
84
+ return d(b ? "th" : "td", { ...L, class: re({ borderSides: g, borderRadiusSides: o, appearance: p, textAlignment: h, width: n }, R), id: e, "unique-key": t, "extra-data": JSON.stringify(a) }, _("primary"), r === "text" && l && l !== "" ? d("span", { class: "" + de(c) }, l) : void 0, r === "display-tag" && i && i.length > 0 ? d("div", { class: "gids-table-cell__display-tags-container" }, i.map(((s) => d($, { label: s?.label ?? "", appearance: s?.displayTagAppearance ?? "subtle", size: s?.displayTagSize ?? "xs", icon: s?.displayTagIcon ? d(S, { name: s.displayTagIcon, size: s?.displayTagSize ?? "xs", appearance: s?.displayTagIconAppearance ?? "regular" }) : void 0, color: s?.displayTagColor ?? "accent-5" })))) : void 0, _("secondary"));
85
+ }, { getGidsBasicTableRowClassNames: oe } = ee, D = ({ width: e = "full", layout: t = "horizontal", rows: a = [], isHeaderRow: l = !1, cellPrimaryActionButtons: r, cellSecondaryActionButtons: i, onClickRowActionBtn: n, class: p, ...g }) => {
86
+ const o = oe({ width: e }, p);
87
+ function h({ event: c, cellIndex: b }) {
88
+ n && n({ ...c, details: { ...c.details, cellIndex: b } });
89
+ }
90
+ return t === "vertical" ? d(K, null, a.map(((c, b) => d("tr", { ...g, key: "row-v-" + (b + 1), class: o }, d(v, { ...c, width: e, isHeaderCell: l, cellPrimaryActionButtons: r, cellSecondaryActionButtons: i, onClickCellActionBtn: (m) => h({ event: m, cellIndex: b }) }))))) : d("tr", { ...g, class: o }, a.map(((c, b) => d(v, { key: "row-h-" + (b + 1), ...c, width: e, isHeaderCell: l, cellPrimaryActionButtons: r, cellSecondaryActionButtons: i, onClickCellActionBtn: (m) => h({ event: m, cellIndex: b }) }))));
91
+ }, { getGidsBasicTableHeaderClassNames: ce } = ae, be = ({ width: e = "full", headerCells: t = [], appearance: a = "none", labelTypography: l = "label-medium", textAlignment: r = "center", layout: i = "horizontal", cellPrimaryActionButtons: n, cellSecondaryActionButtons: p, onClickHeaderActionBtn: g, class: o, ...h }) => {
92
+ const c = ce({ width: e }, o);
93
+ return d("thead", { ...h, class: c }, d(D, { rows: t.map(((b) => ({ appearance: a, labelTypography: l, textAlignment: r, ...b }))), width: e, layout: i, isHeaderRow: !0, cellPrimaryActionButtons: n, cellSecondaryActionButtons: p, onClickRowActionBtn: g }));
94
+ }, { getGidsMdTableClassNames: pe } = ie, N = q(class extends M {
60
95
  constructor(e) {
61
96
  super(), e !== !1 && this.__registerHost(), this.isTopHeaderVisible = !1, this.isSideHeaderVisible = !1, this.width = "full", this.topHeaderAppearance = "none", this.sideHeaderAppearance = "none", this.rowAppearance = "none", this.tableBorders = "none", this.tableBorderRadius = [], this.topHeaderLabelTypography = "eyebrow-small", this.sideHeaderLabelTypography = "label-small", this.rowLabelTypography = "label-small", this.topHeaderTextAlignment = "left", this.sideHeaderTextAlignment = "left", this.rowTextAlignment = "left", this.topHeaderCells = [], this.tableBody = [], this.constructedTableBodyData = [];
62
97
  }
@@ -82,51 +117,51 @@ const _ = ({ borderSides: e, borderRadiusSides: a, appearance: t, textAlignment:
82
117
  this.makeTableBodyData();
83
118
  }
84
119
  makeTableBodyData() {
85
- const e = this.isSideHeaderVisible, a = this?.tableBody ?? [], t = [];
86
- a.map(((l, d) => {
120
+ const e = this.isSideHeaderVisible, t = this?.tableBody ?? [], a = [];
121
+ t.map(((l, r) => {
87
122
  let i = [];
88
- const s = l.heading, o = l?.items ?? [];
89
- if (e && s && s !== "") {
90
- const n = this.getSideHeaderBorderSides({ _tableBodyData: a, _itemsArr: o, indexI: d });
91
- i = [{ label: s, appearance: this.sideHeaderAppearance, labelTypography: this.sideHeaderLabelTypography, textAlignment: this.sideHeaderTextAlignment, isHeader: !0, borderSides: n }];
123
+ const n = l.heading, p = l.id, g = l.uniqueKey, o = l.extraData, h = l?.items ?? [];
124
+ if (e && n && n !== "") {
125
+ const c = this.getSideHeaderBorderSides({ _tableBodyData: t, _itemsArr: h, indexI: r });
126
+ i = [{ id: p, uniqueKey: g, extraData: o, label: n, appearance: this.sideHeaderAppearance, labelTypography: this.sideHeaderLabelTypography, textAlignment: this.sideHeaderTextAlignment, isHeader: !0, borderSides: c }];
92
127
  }
93
- o.map(((n, b) => {
94
- const y = this.getRowBorderSides({ _tableBodyData: a, _itemsArr: o, indexI: d, indexJ: b });
95
- i.push({ ...n, appearance: this.rowAppearance, labelTypography: this.rowLabelTypography, textAlignment: this.rowTextAlignment, isHeader: !1, borderSides: y });
96
- })), t.push({ heading: s, items: i });
97
- })), this.constructedTableBodyData = t;
98
- }
99
- getRowBorderSides({ _tableBodyData: e, _itemsArr: a, indexI: t, indexJ: l }) {
100
- const d = this.applyTableInternalBorders(), i = this.applyTableAllBorders();
101
- let s = [];
102
- return (d || i) && (l < a.length && t + 1 < e.length && (s = ["bottom"]), l + 1 < a.length && (s = [...s, "right"])), s;
103
- }
104
- getSideHeaderBorderSides({ _tableBodyData: e, _itemsArr: a, indexI: t }) {
105
- const l = this.applyTableInternalBorders(), d = this.applyTableAllBorders();
128
+ h.map(((c, b) => {
129
+ const m = this.getRowBorderSides({ _tableBodyData: t, _itemsArr: h, indexI: r, indexJ: b });
130
+ i.push({ ...c, appearance: this.rowAppearance, labelTypography: this.rowLabelTypography, textAlignment: this.rowTextAlignment, isHeader: !1, borderSides: m });
131
+ })), a.push({ heading: n, id: p, uniqueKey: g, extraData: o, items: i });
132
+ })), this.constructedTableBodyData = a;
133
+ }
134
+ getRowBorderSides({ _tableBodyData: e, _itemsArr: t, indexI: a, indexJ: l }) {
135
+ const r = this.applyTableInternalBorders(), i = this.applyTableAllBorders();
136
+ let n = [];
137
+ return (r || i) && (l < t.length && a + 1 < e.length && (n = ["bottom"]), l + 1 < t.length && (n = [...n, "right"])), n;
138
+ }
139
+ getSideHeaderBorderSides({ _tableBodyData: e, _itemsArr: t, indexI: a }) {
140
+ const l = this.applyTableInternalBorders(), r = this.applyTableAllBorders();
106
141
  let i = [];
107
- return (l || d) && (t + 1 < e.length && (i = ["bottom"]), a.length > 0 && (i = [...i, "right"])), i;
142
+ return (l || r) && (a + 1 < e.length && (i = ["bottom"]), t.length > 0 && (i = [...i, "right"])), i;
108
143
  }
109
144
  getTableClasses() {
110
- const e = this.width === "full" ? "gids-md-table__main-table gids-md-table__width-full" : "gids-md-table__main-table gids-md-table__width-intrinsic";
111
- let a = e;
112
- this.applyTableOuterBorders() && (a = e + " gids-md-table__outer-borders");
113
- const t = this.addBorderRadiusDirectlyToTable(), l = t && t !== "" ? `${a} ${t}` : "" + a;
114
- return console.log("finalTableClass", l), l;
145
+ const e = this.width === "full" ? "gids-md-table__main-table gids-md-table__main-table-width-full" : "gids-md-table__main-table gids-md-table__main-table-width-intrinsic";
146
+ let t = e;
147
+ this.applyTableOuterBorders() && (t = e + " gids-md-table__outer-borders");
148
+ const a = this.addBorderRadiusDirectlyToTable();
149
+ return a && a !== "" ? `${t} ${a}` : "" + t;
115
150
  }
116
151
  addBorderRadiusDirectlyToTable() {
117
152
  let e = "";
118
- const a = this?.tableBorderRadius ?? [];
119
- return a.includes("top-left") && (e = "gids-md-table__radius-top-left"), a.includes("bottom-left") && (e += " gids-md-table__radius-bottom-left"), a.includes("top-right") && (e += " gids-md-table__radius-top-right"), a.includes("bottom-right") && (e += " gids-md-table__radius-bottom-right"), e;
153
+ const t = this?.tableBorderRadius ?? [];
154
+ return t.includes("top-left") && (e = "gids-md-table__radius-top-left"), t.includes("bottom-left") && (e += " gids-md-table__radius-bottom-left"), t.includes("top-right") && (e += " gids-md-table__radius-top-right"), t.includes("bottom-right") && (e += " gids-md-table__radius-bottom-right"), e;
120
155
  }
121
156
  getTopHeaderCells() {
122
- const e = this.isSideHeaderVisible, a = this?.topHeaderCells ?? [];
123
- let t = [...a];
124
- e === !1 && a.length > 0 ? t.splice(0, 1) : t = [...a];
125
- const l = this.applyTableInternalBorders(), d = this.applyTableAllBorders(), i = this.applyTableTopHeaderBorders(), s = [];
126
- return t.map(((o, n) => {
127
- let b = [];
128
- (l || d || i) && (b = ["bottom"], n + 1 < t.length && (b = [...b, "right"])), s.push({ ...o, borderSides: b });
129
- })), s;
157
+ const e = this.isSideHeaderVisible, t = this?.topHeaderCells ?? [];
158
+ let a = [...t];
159
+ e === !1 && t.length > 0 ? a.splice(0, 1) : a = [...t];
160
+ const l = this.applyTableInternalBorders(), r = this.applyTableAllBorders(), i = this.applyTableTopHeaderBorders(), n = [];
161
+ return a.map(((p, g) => {
162
+ let o = [];
163
+ (l || r || i) && (o = ["bottom"], g + 1 < a.length && (o = [...o, "right"])), n.push({ ...p, borderSides: o });
164
+ })), n;
130
165
  }
131
166
  applyTableOuterBorders() {
132
167
  const e = this.tableBorders;
@@ -142,24 +177,27 @@ const _ = ({ borderSides: e, borderRadiusSides: a, appearance: t, textAlignment:
142
177
  return this.tableBorders === "top-header-only";
143
178
  }
144
179
  render() {
145
- const e = k({ width: this.width }), a = this.isTopHeaderVisible, t = this.getTopHeaderCells(), l = this?.constructedTableBodyData ?? [];
146
- return r(f, { key: "809a6e2f76732932a951e4a81aa5fd4f86501b0f", class: e }, r("table", { key: "b2f6e4947e570e99910ddfb21a1ca532509a15e0", class: this.getTableClasses() }, a ? r(j, { appearance: this.topHeaderAppearance, labelTypography: this.topHeaderLabelTypography, textAlignment: this.topHeaderTextAlignment, headerCells: t, width: this.width }) : void 0, r("tbody", { key: "340459527df542e7555c5552186b6375373671cc" }, l.length > 0 ? l.map(((d) => r(c, { layout: "horizontal", rows: d?.items ?? [], width: this.width }))) : void 0)));
180
+ const e = pe({ width: this.width }), t = this.isTopHeaderVisible, a = this.getTopHeaderCells(), l = this?.constructedTableBodyData ?? [];
181
+ return d(E, { key: "d4134171e635f40dbd8a5e4c86ada98272a31b1a", class: e }, d("table", { key: "47f73e6e21247ebb3fbf04cb32b3b7c430d649d1", class: this.getTableClasses() }, t ? d(be, { appearance: this.topHeaderAppearance, labelTypography: this.topHeaderLabelTypography, textAlignment: this.topHeaderTextAlignment, headerCells: a, width: this.width }) : void 0, d("tbody", { key: "30c4a5855c7ea01bc869d3bbbe87910793120e7e" }, l.length > 0 ? l.map(((r) => d(D, { layout: "horizontal", rows: r?.items ?? [], width: this.width }))) : void 0)));
182
+ }
183
+ get hostElement() {
184
+ return this;
147
185
  }
148
186
  static get watchers() {
149
187
  return { isTopHeaderVisible: [{ handleTopHeaderVisibilityChange: 0 }], isSideHeaderVisible: [{ handleSideHeaderVisibilityChange: 0 }, { handleTableBodyChange: 0 }], tableBorders: [{ handleTableBordersChange: 0 }, { handleTableBodyChange: 0 }], tableBorderRadius: [{ handleTableBorderRadiusChange: 0 }, { handleTableBodyChange: 0 }], topHeaderCells: [{ handleTopHeaderCellsChange: 0 }], tableBody: [{ handleTableBodyChange: 0 }] };
150
188
  }
151
189
  static get style() {
152
- return ".gids-md-table{width:100%}.gids-md-table__main-table{border-collapse:separate;border-spacing:0;overflow:hidden;table-layout:fixed}.gids-md-table__width-full{width:100%}.gids-md-table__width-intrinsic{width:auto}.gids-md-table__outer-borders{border:var(--gids-border-width-thin) solid var(--gids-color-border-default)}.gids-md-table__radius-top-left{border-top-left-radius:var(--gids-border-radius-md)}.gids-md-table__radius-bottom-left{border-bottom-left-radius:var(--gids-border-radius-md)}.gids-md-table__radius-top-right{border-top-right-radius:var(--gids-border-radius-md)}.gids-md-table__radius-bottom-right{border-bottom-right-radius:var(--gids-border-radius-md)}";
190
+ return ".gids-md-table{display:flex;flex-direction:column;width:100%}.gids-md-table__main-table{border-collapse:separate;border-spacing:0;overflow:hidden;table-layout:fixed}.gids-md-table__main-table-width-full{width:100%}.gids-md-table__main-table-width-intrinsic{width:max-content}.gids-md-table--width-intrinsic{width:max-content}.gids-md-table__outer-borders{border:var(--gids-border-width-thin) solid var(--gids-color-border-default)}.gids-md-table__radius-top-left{border-top-left-radius:var(--gids-border-radius-md)}.gids-md-table__radius-bottom-left{border-bottom-left-radius:var(--gids-border-radius-md)}.gids-md-table__radius-top-right{border-top-right-radius:var(--gids-border-radius-md)}.gids-md-table__radius-bottom-right{border-bottom-right-radius:var(--gids-border-radius-md)}";
153
191
  }
154
192
  }, [0, "gids-md-table", { isTopHeaderVisible: [4, "is-top-header-visible"], isSideHeaderVisible: [4, "is-side-header-visible"], width: [1], topHeaderAppearance: [1, "top-header-appearance"], sideHeaderAppearance: [1, "side-header-appearance"], rowAppearance: [1, "row-appearance"], tableBorders: [1, "table-borders"], tableBorderRadius: [16], topHeaderLabelTypography: [1, "top-header-label-typography"], sideHeaderLabelTypography: [1, "side-header-label-typography"], rowLabelTypography: [1, "row-label-typography"], topHeaderTextAlignment: [1, "top-header-text-alignment"], sideHeaderTextAlignment: [1, "side-header-text-alignment"], rowTextAlignment: [1, "row-text-alignment"], topHeaderCells: [16], tableBody: [16], constructedTableBodyData: [32] }, void 0, { isTopHeaderVisible: [{ handleTopHeaderVisibilityChange: 0 }], isSideHeaderVisible: [{ handleSideHeaderVisibilityChange: 0 }, { handleTableBodyChange: 0 }], tableBorders: [{ handleTableBordersChange: 0 }, { handleTableBodyChange: 0 }], tableBorderRadius: [{ handleTableBorderRadiusChange: 0 }, { handleTableBodyChange: 0 }], topHeaderCells: [{ handleTopHeaderCellsChange: 0 }], tableBody: [{ handleTableBodyChange: 0 }] }]);
155
- function m() {
193
+ function V() {
156
194
  typeof customElements < "u" && ["gids-md-table"].forEach(((e) => {
157
- e === "gids-md-table" && (customElements.get(p(e)) || customElements.define(p(e), u));
195
+ e === "gids-md-table" && (customElements.get(I(e)) || customElements.define(I(e), N));
158
196
  }));
159
197
  }
160
- m();
161
- const z = u, M = m;
198
+ V();
199
+ const Te = N, Be = V;
162
200
  export {
163
- z as GidsMdTable,
164
- M as defineCustomElement
201
+ Te as GidsMdTable,
202
+ Be as defineCustomElement
165
203
  };
@@ -20,7 +20,7 @@ const c = (t) => t === "top" || t === "top-bottom", h = (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: "cfdffbc49db84a4ac18172a6b8ed9fb4a0e3ad1f", class: "gids-overflow-container__text-area", onScroll: this.calculateShadows.bind(this) }, e("slot", { key: "f3d5811cc2991941c14fdc655826f69620968248" }));
23
+ return e("div", { key: "3068af04cc5f789a83c7770d726fe8c6770d56d2", class: "gids-overflow-container__text-area", onScroll: this.calculateShadows.bind(this) }, e("slot", { key: "b5aed91bba9c7710e3b11082b39c762300973245" }));
24
24
  }
25
25
  get _el() {
26
26
  return this;
@@ -1,7 +1,7 @@
1
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-D4Pimu_8-DfEGRQGf.js";
4
+ import { d as p } from "./p-D4Pimu_8-ARSuGBs4.js";
5
5
  import { o as u } from "./p-UVmSPzTd-6vjXok6h.js";
6
6
  import { c as h } from "./clsx-OuTLNxxd.js";
7
7
  const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
@@ -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: "bb974c7b42f4efc210a2b879538d3d34c963327c" }, o("slot", { key: "3bf4f43195851eda44a7a3adee27388e59842f85" }), this._isRoot() ? o("div", { class: G({ position: t }) }, [...this._allowedComponentQueue].reverse().map(((e) => this._renderComponent(e)))) : null);
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);
191
191
  }
192
192
  get _el() {
193
193
  return this;
@@ -1,11 +1,11 @@
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
3
  import { a as F } from "./p-Dg2yoUxw-Cca8ROd_.js";
4
- import { r as L } from "./p-UxDcM-C5-Dr5d_WpJ.js";
4
+ import { r as L } from "./p-UxDcM-C5-BJO4X0jM.js";
5
5
  import { o as O } from "./p-UVmSPzTd-6vjXok6h.js";
6
- import { g as k, d as j } from "./p-D4Pimu_8-DfEGRQGf.js";
7
- import { h as z } from "./p-ub0GuVHb-C_PFTi1_.js";
8
- import { r as E } from "./p-BVAtja26-Xjd4_b4e.js";
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";
9
9
  import { c as g } from "./clsx-OuTLNxxd.js";
10
10
  const f = /[A-Z]/, b = /[a-z]/, p = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ text: e, meterRules: t = [], textMinLength: s = 0 }) => {
11
11
  if (!e || e === "")
@@ -83,7 +83,7 @@ const f = /[A-Z]/, b = /[a-z]/, p = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ text: e,
83
83
  getDefaultRulesAndRequirementsForMeters: m,
84
84
  getMeterRulesFromRequirements: R,
85
85
  minLengthRuleCanBeApplied: o
86
- }, Symbol.toStringTag, { value: "Module" })), V = (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]/, b = /[a-z]/, p = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ text: e,
96
96
  default:
97
97
  return "globe";
98
98
  }
99
- }, D = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
99
+ }, N = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
100
100
  __proto__: null,
101
- getRequirementsMeterLabelLeadingIcon: V
102
- }, Symbol.toStringTag, { value: "Module" })), N = (e) => {
101
+ getRequirementsMeterLabelLeadingIcon: D
102
+ }, Symbol.toStringTag, { value: "Module" })), V = (e) => {
103
103
  switch (e) {
104
104
  case "error":
105
105
  return "error";
@@ -110,7 +110,7 @@ const f = /[A-Z]/, b = /[a-z]/, p = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ text: e,
110
110
  }
111
111
  }, U = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
112
112
  __proto__: null,
113
- inputToGidsFieldStatusForPassword: N
113
+ inputToGidsFieldStatusForPassword: V
114
114
  }, Symbol.toStringTag, { value: "Module" })), H = (e) => g("gids-strength-meter", e), Z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
115
115
  __proto__: null,
116
116
  getGidsStrengthMeterClassNames: H
@@ -137,7 +137,7 @@ const f = /[A-Z]/, b = /[a-z]/, p = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ text: e,
137
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 } = D, 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 }) => {
@@ -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: "d432cef8c1647b87dedff271d5885e927e43f308" }, i("gids-field", { key: "48ef08affb80f0d9b5784a0eb68f38311e3c4f81", disabled: this.disabled, count: void 0, helperText: this.helperText, statusText: this.statusText, status: ce(this.status) }, i(F, { key: "6a19f405851738b1b8ca2178a5b59dfe910fc8a8", 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: "628fed42fcc93b0cffa343eb0f36b5873f9602f2", 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: "f5eb222b74d657ea54030c23dcc65fdaa0c6613e", name: "leadingIcon" }), i("slot", { key: "a0a850d852fca98bbc5373e4ba768a08276f0538", name: "leadingAccessory" }), i("div", { key: "4ce3a44dcf00ac7d3cac81d9447cc6b715c92e7e", slot: "trailingAccessory", class: "gids-password-field__trailing-accessory" }, n && i(L, { key: "fb8bb65b5efb02717f2d91c59e9abc875cce3a7a", label: "clear text", size: "lg", onPressDismiss: this._handleDismiss }), a && i(O, { key: "8aff9bce69af15a78d366e286fa7ee63ba1119f7", appearance: "default", size: "xs", width: "intrinsic", disabled: this.disabled, onClick: this._handleRevealPassword }, u ? "Hide" : "Show")))), i("div", { key: "bb9734d4d57e146ea40d8bdee28f14b65a9a6c7b", class: "gids-password-field__meters-container" }, i(ie, { key: "f3bbc38d7f5d8b3cb26a9dcc6817b72084d1ef77", meterRules: _, text: this.value, textMinLength: c }), i(oe, { key: "bd4d1dfb45f868e9bce181a46ef8d60e70d0d492", requirements: this.requirementsMeterRequirements, text: this.value, textMinLength: c })));
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 })));
195
195
  }
196
196
  get _el() {
197
197
  return this;
@@ -1,6 +1,6 @@
1
- import { n as e, c as t } from "./p-C3We7Q8Q-DT_NDg87.js";
2
- const r = e, s = t;
1
+ import { n as e, c as t } from "./p-Bab1qxsC-BMbD0lEy.js";
2
+ const s = e, a = t;
3
3
  export {
4
- r as GidsPieChart,
5
- s as defineCustomElement
4
+ s as GidsPieChart,
5
+ a as defineCustomElement
6
6
  };
@@ -1,5 +1,5 @@
1
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
- import { g as E } from "./p-a3JfEYJp-DyhDK6VZ.js";
2
+ import { l as E } from "./p-BBszCFSA-BN0-eWJX.js";
3
3
  import { o as b } from "./p-B8kX8Vqv-trBz4jdS.js";
4
4
  const h = v(class extends p {
5
5
  constructor(e) {
@@ -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: "8ba926923396baba700ffdd150285e2b1d5fdadb" }, a("slot", { key: "f6f2124fa92e77a40d9ef3daad50746d7c19d525", name: "anchor" }), a("div", { key: "e38abaca1c99ae58185684dec56372aac6cdf169", id: "popover", part: "popover", role: "dialog", "aria-modal": "true", tabindex: "-1" }, a("span", { key: "6eaef30f452a72b3221d2c5ddef5ac21aab3ba62", id: "arrow" }), a("div", { key: "cd3bb7bf24a8f2a8273bcb891df314c50a3d00ce" }, a("slot", { key: "18e66983483c84164787fc2f999dbb93bee6f929" }))));
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" }))));
68
68
  }
69
69
  disconnectedCallback() {
70
70
  this.cleanupEventListeners(), this.floatingElementManager?.destroy();
@@ -4,7 +4,7 @@ import { c as n } from "./clsx-OuTLNxxd.js";
4
4
  const d = (s) => n("gids-scrim", s), m = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5
5
  __proto__: null,
6
6
  getGidsScrimClassNames: d
7
- }, Symbol.toStringTag, { value: "Module" })), { getGidsScrimClassNames: a } = m, r = o(class extends c {
7
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsScrimClassNames: a } = m, i = o(class extends c {
8
8
  constructor(s) {
9
9
  super(), s !== !1 && this.__registerHost(), this.__attachShadow(), this.activeClasses = "";
10
10
  }
@@ -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: "8167fdb99ddda2dd4db8e27f9dc188586652385d", class: this.activeClasses, part: "root" }, e("slot", { key: "e93770f7b43713b32c964fc00492c31de9474e6e" }));
19
+ return e("div", { key: "df983fb2a1a7fb80da42f24d15156de78f44774c", class: this.activeClasses, part: "root" }, e("slot", { key: "6f8a76773dfe9f905ca63c8bf22ae7427b7a47bb" }));
20
20
  }
21
21
  get _el() {
22
22
  return this;
@@ -28,14 +28,14 @@ const d = (s) => n("gids-scrim", s), m = /* @__PURE__ */ Object.freeze(/* @__PUR
28
28
  return ".gids-scrim{display:flex;flex-direction:column;background-color:var(--gids-color-background-scrim);height:100vh !important;position:absolute;top:0;bottom:0;left:0;right:0;z-index:1001;align-items:center;justify-content:center;backdrop-filter:blur(12)}";
29
29
  }
30
30
  }, [257, "gids-scrim", { extraClasses: [513, "extra-classes"], activeClasses: [32] }, void 0, { extraClasses: [{ handleExtraClassesChange: 0 }] }]);
31
- function i() {
31
+ function r() {
32
32
  typeof customElements < "u" && ["gids-scrim"].forEach(((s) => {
33
- s === "gids-scrim" && (customElements.get(t(s)) || customElements.define(t(s), r));
33
+ s === "gids-scrim" && (customElements.get(t(s)) || customElements.define(t(s), i));
34
34
  }));
35
35
  }
36
- i();
37
- const f = r, C = i;
36
+ r();
37
+ const g = i, C = r;
38
38
  export {
39
- f as GidsScrim,
39
+ g as GidsScrim,
40
40
  C as defineCustomElement
41
41
  };
@@ -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: "df04041b0085eba54f6347803d7dd5795cdcd412", 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: "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);
79
79
  }
80
80
  get hostElement() {
81
81
  return this;
@@ -38,7 +38,7 @@ const o = ({ width: e, appearance: t }, d) => l("gids-tab", {
38
38
  }
39
39
  render() {
40
40
  const e = b({ width: this.width, appearance: this.appearance });
41
- return a(c, { key: "00bf73ca04f70d14966823cdd4d228c3d05222e3", class: e }, a("slot", { key: "9b693f9975560d559d972388fb15ca2407ff5d4c" }));
41
+ return a(c, { key: "9afa708bdbaa5920b655ee7012e14ea914c19dca", class: e }, a("slot", { key: "a5b32607d074a16c957c3f7928055e8dff7dd447" }));
42
42
  }
43
43
  get hostElement() {
44
44
  return this;
@@ -1,10 +1,10 @@
1
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
2
  import { i as b } from "./p-B2zUuNXz-BLBgQDu7.js";
3
3
  import { a as m } from "./p-Dg2yoUxw-Cca8ROd_.js";
4
- import { r as p } from "./p-UxDcM-C5-Dr5d_WpJ.js";
5
- import { h as g } from "./p-ub0GuVHb-C_PFTi1_.js";
6
- import { r as x } from "./p-BVAtja26-Xjd4_b4e.js";
7
- import { g as _ } from "./p-D4Pimu_8-DfEGRQGf.js";
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";
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))
10
10
  return `${e} / ${Math.max(t, 0)}`;
@@ -17,14 +17,14 @@ const v = (e, t) => {
17
17
  default:
18
18
  return "default";
19
19
  }
20
- }, n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20
+ }, l = /* @__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 } = n, q = (e) => e === "implicit" || e === void 0 ? "implicit" : y(e), C = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
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({
25
25
  __proto__: null,
26
26
  inputToGidsFieldStatus: q
27
- }, Symbol.toStringTag, { value: "Module" })), { formatCharCount: F } = n, { inputToGidsFieldStatus: O } = C, a = u(class extends h {
27
+ }, Symbol.toStringTag, { value: "Module" })), { formatCharCount: F } = l, { inputToGidsFieldStatus: O } = C, n = u(class extends h {
28
28
  constructor(e) {
29
29
  super(), e !== !1 && this.__registerHost(), this.gidsTextFieldClear = c(this, "gidsTextFieldClear"), this.#e = _(), this._handleDismiss = () => {
30
30
  const t = this.#t?.querySelector("input.gids-input__control");
@@ -50,8 +50,8 @@ const v = (e, t) => {
50
50
  #e;
51
51
  #t;
52
52
  render() {
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: "31fd12bcfe97625c517a2e85734e01dbbd5b59b5", disabled: this.disabled, count: F(this.value?.length, this.maxLength), helperText: this.helperText, statusText: this.statusText, status: O(this.status) }, i(m, { key: "5dd9b4158a9262f88364d07788791f10a037d906", 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: "45980a5df8d74d027f7d15fb3f2f1dffcfe35ea3", 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: "ca0f5b7206e450dc4223013a3bfa15922c3ea7ee", name: "leadingIcon" }), i("slot", { key: "2f9809ef064300e999f60fd34305232e2cdb5c97", name: "leadingAccessory" }), d && i(p, { key: "adcb2d1e5c9eedd94bb6d276333cdb30ff31147c", label: "clear text", slot: "trailingAccessory", size: "lg", onPressDismiss: this._handleDismiss }), i("slot", { key: "5633a1c325c3442044b31e925cda6654764fbb3f", name: "trailingIcon" })));
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" })));
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), a);
64
+ customElements.get(s(e)) || customElements.define(s(e), n);
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 = a, B = r;
75
+ const G = n, 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-_SIWct9h-jMYFZ-VO.js";
1
+ import { l as o, o as t } from "./p-D5DRatg0-DtQL-DQg.js";
2
2
  const s = o, m = t;
3
3
  export {
4
4
  s as GidsToggleButton,
@@ -1,5 +1,5 @@
1
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
- import { g as r } from "./p-a3JfEYJp-DyhDK6VZ.js";
2
+ import { l as r } from "./p-BBszCFSA-BN0-eWJX.js";
3
3
  import { i as d } from "./p-B2zUuNXz-BLBgQDu7.js";
4
4
  import { o as h } from "./p-B8kX8Vqv-trBz4jdS.js";
5
5
  const o = n(class extends l {
@@ -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: "956f6eced99b0c5e6e514a2a3f10976ca64e22c3" }, e("slot", { key: "082d3c166069a309c3ba5f6c1e3eb0519eb84b40" }), e("span", { key: "400f44983016138741b2c3a7b32d5d9f39c09241", id: "tooltip", part: "tooltip", role: "tooltip" }, e("span", { key: "1fcc94a2ab42662921470851bbad8fa46b7f0978", id: "arrow" }), this.tooltipText));
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));
42
42
  }
43
43
  disconnectedCallback() {
44
44
  this.cleanupEventListeners(), this.floatingElementManager?.destroy();
@@ -1,7 +1,7 @@
1
1
  import { q as l, L as f, u, D as t } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { p as b } from "./p-DMNS1d8v-CHF62UXm.js";
3
- import { o as x } from "./p-BCVFQSjK-CKrYrI4b.js";
4
- import { d as z } from "./p-C3xv7tfs-RodXvmql.js";
3
+ import { d as x } from "./p-DslOQITw-BfwtLWqG.js";
4
+ import { l as z } from "./p-BV0jg2ix-DI0fZl_6.js";
5
5
  import { c as w } from "./clsx-OuTLNxxd.js";
6
6
  const k = ({ breakpoint: a }, g) => w("gids-activity-gauge", {
7
7
  "gids-activity-gauge--breakpoint-mobile": a === "mobile"