@ganpatiinfo/gids-core-web 10.2.0 → 12.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 (209) hide show
  1. package/dist/css/index.css +525 -3
  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-bar-chart.d.ts +1 -1
  8. package/dist/gids-bar-chart.js +1 -1
  9. package/dist/gids-calendar-header-panel.d.ts +1 -1
  10. package/dist/gids-calendar-header-panel.js +1 -1
  11. package/dist/gids-calendar-month-list.d.ts +1 -1
  12. package/dist/gids-calendar-month-list.js +1 -1
  13. package/dist/gids-calendar-year-list.d.ts +1 -1
  14. package/dist/gids-calendar-year-list.js +1 -1
  15. package/dist/gids-calendar.d.ts +1 -1
  16. package/dist/gids-calendar.js +1 -1
  17. package/dist/gids-chart-legend-item.d.ts +1 -1
  18. package/dist/gids-chart-legend-item.js +1 -1
  19. package/dist/gids-chart-legend.d.ts +1 -1
  20. package/dist/gids-chart-legend.js +1 -1
  21. package/dist/gids-chart.d.ts +1 -1
  22. package/dist/gids-chart.js +1 -1
  23. package/dist/gids-chevron-button.d.ts +1 -1
  24. package/dist/gids-chevron-button.js +1 -1
  25. package/dist/gids-dot.d.ts +1 -1
  26. package/dist/gids-dot.js +1 -1
  27. package/dist/gids-dropdown-field.d.ts +1 -1
  28. package/dist/gids-dropdown-field.js +1 -1
  29. package/dist/gids-dropdown-picker.d.ts +1 -1
  30. package/dist/gids-dropdown-picker.js +1 -1
  31. package/dist/gids-dropdown.d.ts +1 -1
  32. package/dist/gids-dropdown.js +1 -1
  33. package/dist/gids-expansion-body-list-item.d.ts +11 -0
  34. package/dist/gids-expansion-body-list-item.js +1 -0
  35. package/dist/gids-expansion-body-list.d.ts +11 -0
  36. package/dist/gids-expansion-body-list.js +1 -0
  37. package/dist/gids-expansion-group.d.ts +11 -0
  38. package/dist/gids-expansion-group.js +1 -0
  39. package/dist/gids-expansion.d.ts +11 -0
  40. package/dist/gids-expansion.js +1 -0
  41. package/dist/gids-field.d.ts +1 -1
  42. package/dist/gids-field.js +1 -1
  43. package/dist/gids-filter.d.ts +1 -1
  44. package/dist/gids-filter.js +1 -1
  45. package/dist/gids-icon.d.ts +1 -1
  46. package/dist/gids-icon.js +1 -1
  47. package/dist/gids-input.d.ts +1 -1
  48. package/dist/gids-input.js +1 -1
  49. package/dist/gids-level-gauge.d.ts +1 -1
  50. package/dist/gids-line-chart.d.ts +1 -1
  51. package/dist/gids-line-chart.js +1 -1
  52. package/dist/gids-md-table.d.ts +11 -0
  53. package/dist/gids-md-table.js +1 -0
  54. package/dist/gids-notification.d.ts +1 -1
  55. package/dist/gids-overflow-container.d.ts +1 -1
  56. package/dist/gids-overflow-container.js +1 -1
  57. package/dist/gids-overlay-provider.d.ts +1 -1
  58. package/dist/gids-overlay-provider.js +1 -1
  59. package/dist/gids-password-field.d.ts +1 -1
  60. package/dist/gids-password-field.js +1 -1
  61. package/dist/gids-pie-chart.d.ts +1 -1
  62. package/dist/gids-pie-chart.js +1 -1
  63. package/dist/gids-popover.d.ts +1 -1
  64. package/dist/gids-popover.js +1 -1
  65. package/dist/gids-progress-circle.d.ts +1 -1
  66. package/dist/gids-scrim.d.ts +1 -1
  67. package/dist/gids-scrim.js +1 -1
  68. package/dist/gids-snackbar.d.ts +1 -1
  69. package/dist/gids-tab-item.d.ts +1 -1
  70. package/dist/gids-tab-item.js +1 -1
  71. package/dist/gids-tab.d.ts +1 -1
  72. package/dist/gids-tab.js +1 -1
  73. package/dist/gids-text-field.d.ts +1 -1
  74. package/dist/gids-text-field.js +1 -1
  75. package/dist/gids-toggle-button.d.ts +1 -1
  76. package/dist/gids-toggle-button.js +1 -1
  77. package/dist/gids-tooltip.d.ts +1 -1
  78. package/dist/gids-tooltip.js +1 -1
  79. package/dist/{p-Jdpe4Sgj.js → p-6APCjBEI.js} +1 -1
  80. package/dist/{p-qb1aWgjh.js → p-BCVFQSjK.js} +1 -1
  81. package/dist/{p-Ciw-O9qN.js → p-BSbOhfLZ.js} +1 -1
  82. package/dist/{p-Doi8Yizl.js → p-BVAtja26.js} +1 -1
  83. package/dist/{p-8tOn5SjU.js → p-C2O_pGky.js} +1 -1
  84. package/dist/{p-BfnzH6wp.js → p-C3We7Q8Q.js} +1 -1
  85. package/dist/p-C3w3wdCt.js +1 -0
  86. package/dist/{p-BYDimyG-.js → p-C3xv7tfs.js} +1 -1
  87. package/dist/{p-DoPuGtJd.js → p-C56G7JRy.js} +1 -1
  88. package/dist/p-CI-sN9Lr.js +1 -0
  89. package/dist/{p-B1Jgtjhu.js → p-COHuQEfZ.js} +1 -1
  90. package/dist/p-ChV9xqsO.js +1 -0
  91. package/dist/{p-C-cUL-aA.js → p-Chqeexny.js} +1 -1
  92. package/dist/{p-bPPm7cuw.js → p-DO0MyFf4.js} +1 -1
  93. package/dist/p-DUojHltk.js +1 -0
  94. package/dist/p-VJAcf53T.js +1 -0
  95. package/dist/p-_SIWct9h.js +1 -0
  96. package/dist/{p-5VIPb1eU.js → p-pSb81aE0.js} +1 -1
  97. package/dist/{p-C7ifjRCE.js → p-ub0GuVHb.js} +1 -1
  98. package/dist/types/components/html/GidsBasicTableBody/GidsBasicTableBody.d.ts +6 -0
  99. package/dist/types/components/html/GidsBasicTableCell/GidsBasicTableCell.d.ts +4 -0
  100. package/dist/types/components/html/GidsBasicTableHead/GidsBasicTableHead.d.ts +11 -0
  101. package/dist/types/components/html/GidsBasicTableHeader/GidsBasicTableHeader.d.ts +4 -0
  102. package/dist/types/components/html/GidsBasicTableRow/GidsBasicTableRow.d.ts +4 -0
  103. package/dist/types/components/html/GidsBsTable/GidsBsTable.d.ts +11 -0
  104. package/dist/types/components/webComponents/GidsActionBar/GidsActionBar.d.ts +15 -2
  105. package/dist/types/components/webComponents/GidsExpansion/GidsExpansion.d.ts +24 -0
  106. package/dist/types/components/webComponents/GidsExpansionBodyList/GidsExpansionBodyList.d.ts +25 -0
  107. package/dist/types/components/webComponents/GidsExpansionBodyListItem/GidsExpansionBodyListItem.d.ts +38 -0
  108. package/dist/types/components/webComponents/GidsExpansionGroup/GidsExpansionGroup.d.ts +4 -0
  109. package/dist/types/components/webComponents/GidsFilter/GidsFilter.d.ts +5 -0
  110. package/dist/types/components/webComponents/GidsMdTable/GidsMdTable.d.ts +40 -0
  111. package/dist/types/components.d.ts +323 -6
  112. package/dist-bundled/es/gids-action-bar.js +168 -126
  113. package/dist-bundled/es/gids-activity-gauge.js +4 -4
  114. package/dist-bundled/es/gids-bar-chart.js +3 -3
  115. package/dist-bundled/es/gids-calendar-header-panel.js +4 -4
  116. package/dist-bundled/es/gids-calendar-month-list.js +1 -1
  117. package/dist-bundled/es/gids-calendar-year-list.js +3 -3
  118. package/dist-bundled/es/gids-calendar.js +7 -7
  119. package/dist-bundled/es/gids-chart-legend-item.js +1 -1
  120. package/dist-bundled/es/gids-chart-legend.js +4 -4
  121. package/dist-bundled/es/gids-chart.js +50 -50
  122. package/dist-bundled/es/gids-chevron-button.js +7 -7
  123. package/dist-bundled/es/gids-dot.js +3 -3
  124. package/dist-bundled/es/gids-dropdown-field.js +4 -4
  125. package/dist-bundled/es/gids-dropdown-picker.js +2 -2
  126. package/dist-bundled/es/gids-dropdown.js +1 -1
  127. package/dist-bundled/es/gids-expansion-body-list-item.js +6 -0
  128. package/dist-bundled/es/gids-expansion-body-list.js +78 -0
  129. package/dist-bundled/es/gids-expansion-group.js +28 -0
  130. package/dist-bundled/es/gids-expansion.js +90 -0
  131. package/dist-bundled/es/gids-field.js +1 -1
  132. package/dist-bundled/es/gids-filter.js +4 -4
  133. package/dist-bundled/es/gids-icon.js +3 -3
  134. package/dist-bundled/es/gids-input.js +3 -3
  135. package/dist-bundled/es/gids-line-chart.js +4 -4
  136. package/dist-bundled/es/gids-md-table.js +165 -0
  137. package/dist-bundled/es/gids-overflow-container.js +6 -6
  138. package/dist-bundled/es/gids-overlay-provider.js +1 -1
  139. package/dist-bundled/es/gids-password-field.js +18 -18
  140. package/dist-bundled/es/gids-pie-chart.js +4 -4
  141. package/dist-bundled/es/gids-popover.js +1 -1
  142. package/dist-bundled/es/gids-scrim.js +7 -7
  143. package/dist-bundled/es/gids-tab-item.js +6 -6
  144. package/dist-bundled/es/gids-tab.js +6 -6
  145. package/dist-bundled/es/gids-text-field.js +12 -12
  146. package/dist-bundled/es/gids-toggle-button.js +1 -1
  147. package/dist-bundled/es/gids-tooltip.js +4 -4
  148. package/dist-bundled/es/{p-Jdpe4Sgj-acwaxLtK.js → p-6APCjBEI-roDSyEYu.js} +5 -5
  149. package/dist-bundled/es/{p-qb1aWgjh-CzmMPIME.js → p-BCVFQSjK-CKrYrI4b.js} +5 -5
  150. package/dist-bundled/es/{p-Ciw-O9qN-DkWfirFu.js → p-BSbOhfLZ-ByjjVMqG.js} +7 -7
  151. package/dist-bundled/es/{p-Doi8Yizl-BszWK5Dq.js → p-BVAtja26-Xjd4_b4e.js} +5 -5
  152. package/dist-bundled/es/{p-8tOn5SjU-D9rZ28cf.js → p-C2O_pGky-C_30AJ3m.js} +7 -7
  153. package/dist-bundled/es/{p-BfnzH6wp-BfLC7Nak.js → p-C3We7Q8Q-DT_NDg87.js} +2 -2
  154. package/dist-bundled/es/{p-DiNad9Px-uOCMHqAq.js → p-C3w3wdCt-I6zwuecb.js} +24 -37
  155. package/dist-bundled/es/{p-BYDimyG--DBCLrqDJ.js → p-C3xv7tfs-RodXvmql.js} +3 -3
  156. package/dist-bundled/es/{p-DoPuGtJd-DYlbhh57.js → p-C56G7JRy-B3HO4aVF.js} +2 -2
  157. package/dist-bundled/es/{p-xITwQAMz-BMXjOAAQ.js → p-CI-sN9Lr-DHC9DyS8.js} +19 -18
  158. package/dist-bundled/es/{p-B1Jgtjhu-B_VYp-ZP.js → p-COHuQEfZ-C_POuXNC.js} +9 -9
  159. package/dist-bundled/es/p-ChV9xqsO-CJSPCx6p.js +16 -0
  160. package/dist-bundled/es/{p-C-cUL-aA-2jsvw-Lr.js → p-Chqeexny-C4hlPbBP.js} +11 -11
  161. package/dist-bundled/es/{p-bPPm7cuw-B-dtPJF9.js → p-DO0MyFf4-D7XItX1k.js} +5 -5
  162. package/dist-bundled/es/p-DUojHltk-GyvsWoCM.js +172 -0
  163. package/dist-bundled/es/p-VJAcf53T-2X0vBJ1A.js +106 -0
  164. package/dist-bundled/es/{p-Bj28yqMD-Dz1SWSqM.js → p-_SIWct9h-jMYFZ-VO.js} +4 -4
  165. package/dist-bundled/es/{p-5VIPb1eU-MCAo8JCp.js → p-pSb81aE0-CNrq7SQW.js} +2 -2
  166. package/dist-bundled/es/{p-C7ifjRCE-CRlorwoN.js → p-ub0GuVHb-C_PFTi1_.js} +9 -9
  167. package/dist-bundled/umd/gids-action-bar.umd.js +3 -3
  168. package/dist-bundled/umd/gids-activity-gauge.umd.js +1 -1
  169. package/dist-bundled/umd/gids-bar-chart.umd.js +1 -1
  170. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +1 -1
  171. package/dist-bundled/umd/gids-calendar-month-list.umd.js +1 -1
  172. package/dist-bundled/umd/gids-calendar-year-list.umd.js +2 -2
  173. package/dist-bundled/umd/gids-calendar.umd.js +1 -1
  174. package/dist-bundled/umd/gids-chart-legend-item.umd.js +1 -1
  175. package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
  176. package/dist-bundled/umd/gids-chart.umd.js +2 -2
  177. package/dist-bundled/umd/gids-chevron-button.umd.js +1 -1
  178. package/dist-bundled/umd/gids-dot.umd.js +1 -1
  179. package/dist-bundled/umd/gids-dropdown-field.umd.js +2 -2
  180. package/dist-bundled/umd/gids-dropdown-picker.umd.js +1 -1
  181. package/dist-bundled/umd/gids-dropdown.umd.js +2 -2
  182. package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +5 -0
  183. package/dist-bundled/umd/gids-expansion-body-list.umd.js +5 -0
  184. package/dist-bundled/umd/gids-expansion-group.umd.js +5 -0
  185. package/dist-bundled/umd/gids-expansion.umd.js +5 -0
  186. package/dist-bundled/umd/gids-field.umd.js +1 -1
  187. package/dist-bundled/umd/gids-filter.umd.js +3 -3
  188. package/dist-bundled/umd/gids-icon.umd.js +1 -1
  189. package/dist-bundled/umd/gids-input.umd.js +2 -2
  190. package/dist-bundled/umd/gids-line-chart.umd.js +1 -1
  191. package/dist-bundled/umd/gids-md-table.umd.js +5 -0
  192. package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
  193. package/dist-bundled/umd/gids-overlay-provider.umd.js +1 -1
  194. package/dist-bundled/umd/gids-password-field.umd.js +1 -1
  195. package/dist-bundled/umd/gids-pie-chart.umd.js +2 -2
  196. package/dist-bundled/umd/gids-popover.umd.js +1 -1
  197. package/dist-bundled/umd/gids-scrim.umd.js +1 -1
  198. package/dist-bundled/umd/gids-tab-item.umd.js +2 -2
  199. package/dist-bundled/umd/gids-tab.umd.js +2 -2
  200. package/dist-bundled/umd/gids-text-field.umd.js +2 -2
  201. package/dist-bundled/umd/gids-toggle-button.umd.js +2 -2
  202. package/dist-bundled/umd/gids-tooltip.umd.js +1 -1
  203. package/dist-bundled/umd-complete/gids-core-web.umd.js +9 -9
  204. package/package.json +44 -4
  205. package/dist/p-Bj28yqMD.js +0 -1
  206. package/dist/p-DiNad9Px.js +0 -1
  207. package/dist/p-qrjEbv6g.js +0 -1
  208. package/dist/p-xITwQAMz.js +0 -1
  209. package/dist-bundled/es/p-qrjEbv6g-ITSp3ky_.js +0 -152
@@ -0,0 +1,165 @@
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"),
8
+ // 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"),
13
+ // 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",
21
+ // 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",
25
+ // 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({
29
+ __proto__: null,
30
+ getGidsBasicTableCellClassNames: _,
31
+ getGidsBasicTableCellLabelTypographyClass: w
32
+ }, Symbol.toStringTag, { value: "Module" })), A = ({ width: e }, a) => h("gids-basic-table-row", {
33
+ // Widths
34
+ // 'gids-basic-table-row--width-full': width === 'full', // Width set by default so not needed
35
+ "gids-basic-table-row--width-intrinsic": e === "intrinsic"
36
+ }, a), x = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
37
+ __proto__: null,
38
+ getGidsBasicTableRowClassNames: A
39
+ }, Symbol.toStringTag, { value: "Module" })), S = ({ width: e }, a) => h("gids-basic-table-header", {
40
+ // Widths
41
+ // 'gids-basic-table-header--width-full': width === 'full', // Width set by default so not needed
42
+ "gids-basic-table-header--width-intrinsic": e === "intrinsic"
43
+ }, a), v = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
44
+ __proto__: null,
45
+ getGidsBasicTableHeaderClassNames: S
46
+ }, Symbol.toStringTag, { value: "Module" })), V = ({ width: e }, a) => h("gids-md-table", {
47
+ // Widths
48
+ // 'gids-md-table--width-full': width === 'full', // Width set by default so not needed
49
+ "gids-md-table--width-intrinsic": e === "intrinsic"
50
+ }, a), R = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
51
+ __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 {
60
+ constructor(e) {
61
+ 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
+ }
63
+ handleTopHeaderVisibilityChange(e) {
64
+ this.isTopHeaderVisible = e;
65
+ }
66
+ handleSideHeaderVisibilityChange(e) {
67
+ this.isSideHeaderVisible = e;
68
+ }
69
+ handleTableBordersChange(e) {
70
+ this.tableBorders = e;
71
+ }
72
+ handleTableBorderRadiusChange(e) {
73
+ this.tableBorderRadius = e;
74
+ }
75
+ handleTopHeaderCellsChange(e) {
76
+ this.topHeaderCells = e;
77
+ }
78
+ handleTableBodyChange(e) {
79
+ this.tableBody = e, this.makeTableBodyData();
80
+ }
81
+ componentDidLoad() {
82
+ this.makeTableBodyData();
83
+ }
84
+ makeTableBodyData() {
85
+ const e = this.isSideHeaderVisible, a = this?.tableBody ?? [], t = [];
86
+ a.map(((l, d) => {
87
+ 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 }];
92
+ }
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();
106
+ let i = [];
107
+ return (l || d) && (t + 1 < e.length && (i = ["bottom"]), a.length > 0 && (i = [...i, "right"])), i;
108
+ }
109
+ 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;
115
+ }
116
+ addBorderRadiusDirectlyToTable() {
117
+ 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;
120
+ }
121
+ 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;
130
+ }
131
+ applyTableOuterBorders() {
132
+ const e = this.tableBorders;
133
+ return e === "all" || e === "outer-sides";
134
+ }
135
+ applyTableInternalBorders() {
136
+ return this.tableBorders === "internal";
137
+ }
138
+ applyTableAllBorders() {
139
+ return this.tableBorders === "all";
140
+ }
141
+ applyTableTopHeaderBorders() {
142
+ return this.tableBorders === "top-header-only";
143
+ }
144
+ 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)));
147
+ }
148
+ static get watchers() {
149
+ 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
+ }
151
+ 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)}";
153
+ }
154
+ }, [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() {
156
+ typeof customElements < "u" && ["gids-md-table"].forEach(((e) => {
157
+ e === "gids-md-table" && (customElements.get(p(e)) || customElements.define(p(e), u));
158
+ }));
159
+ }
160
+ m();
161
+ const z = u, M = m;
162
+ export {
163
+ z as GidsMdTable,
164
+ M as defineCustomElement
165
+ };
@@ -1,10 +1,10 @@
1
- import { L as i, u as n, D as e, q as o } from "./p-Bf3p-DY2-CPqEc-vc.js";
1
+ import { L as a, u as n, D as e, q as o } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { i as l } from "./p-B2zUuNXz-BLBgQDu7.js";
3
3
  const c = (t) => t === "top" || t === "top-bottom", h = (t) => t === "bottom" || t === "top-bottom", d = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4
4
  __proto__: null,
5
5
  showGidsOverflowContainerBottomShadow: h,
6
6
  showGidsOverflowContainerTopShadow: c
7
- }, Symbol.toStringTag, { value: "Module" })), { showGidsOverflowContainerBottomShadow: s, showGidsOverflowContainerTopShadow: f } = d, r = i(class extends n {
7
+ }, Symbol.toStringTag, { value: "Module" })), { showGidsOverflowContainerBottomShadow: s, showGidsOverflowContainerTopShadow: f } = d, r = a(class extends n {
8
8
  constructor(t) {
9
9
  super(), t !== !1 && this.__registerHost(), this.__attachShadow(), this.shadowLocation = "bottom";
10
10
  }
@@ -20,19 +20,19 @@ 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: "da2e579bb37ac775378a4f53c7c30b4f578d9c94", class: "gids-overflow-container__text-area", onScroll: this.calculateShadows.bind(this) }, e("slot", { key: "eaa87a33af09ad8a96361c0368c50730c172bdc1" }));
23
+ return e("div", { key: "cfdffbc49db84a4ac18172a6b8ed9fb4a0e3ad1f", class: "gids-overflow-container__text-area", onScroll: this.calculateShadows.bind(this) }, e("slot", { key: "f3d5811cc2991941c14fdc655826f69620968248" }));
24
24
  }
25
25
  get _el() {
26
26
  return this;
27
27
  }
28
28
  }, [257, "gids-overflow-container", { shadowLocation: [513, "shadow-location"] }]);
29
- function a() {
29
+ function i() {
30
30
  typeof customElements < "u" && ["gids-overflow-container"].forEach(((t) => {
31
31
  t === "gids-overflow-container" && (customElements.get(o(t)) || customElements.define(o(t), r));
32
32
  }));
33
33
  }
34
- a();
35
- const p = r, m = a;
34
+ i();
35
+ const p = r, m = i;
36
36
  export {
37
37
  p as GidsOverflowContainer,
38
38
  m as defineCustomElement
@@ -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: "c33ac4169b668a47a2a2a68dd2578378379e8b71" }, o("slot", { key: "a404014f33eb6a13ca999a97c657e4d6c743e946" }), this._isRoot() ? o("div", { class: G({ position: t }) }, [...this._allowedComponentQueue].reverse().map(((e) => this._renderComponent(e)))) : null);
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);
191
191
  }
192
192
  get _el() {
193
193
  return this;
@@ -4,8 +4,8 @@ import { a as F } from "./p-Dg2yoUxw-Cca8ROd_.js";
4
4
  import { r as L } from "./p-UxDcM-C5-Dr5d_WpJ.js";
5
5
  import { o as O } from "./p-UVmSPzTd-6vjXok6h.js";
6
6
  import { g as k, d as j } from "./p-D4Pimu_8-DfEGRQGf.js";
7
- import { h as z } from "./p-C7ifjRCE-CRlorwoN.js";
8
- import { r as E } from "./p-Doi8Yizl-BszWK5Dq.js";
7
+ import { h as z } from "./p-ub0GuVHb-C_PFTi1_.js";
8
+ import { r as E } from "./p-BVAtja26-Xjd4_b4e.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 === "")
@@ -23,7 +23,7 @@ const f = /[A-Z]/, b = /[a-z]/, p = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ text: e,
23
23
  include1LowercaseLetterReg: b,
24
24
  include1SpecialCharReg: q,
25
25
  include1UppercaseLetterReg: f
26
- }, Symbol.toStringTag, { value: "Module" })), d = ({ requirementRule: e, textMinLength: t }) => e === "include-min-length" && t && t > 0, R = (e) => {
26
+ }, Symbol.toStringTag, { value: "Module" })), o = ({ requirementRule: e, textMinLength: t }) => e === "include-min-length" && t && t > 0, R = (e) => {
27
27
  const t = [];
28
28
  return e && e.length > 0 && e.map((s) => {
29
29
  s?.requirementRule && t.push(s.requirementRule);
@@ -41,7 +41,7 @@ const f = /[A-Z]/, b = /[a-z]/, p = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ text: e,
41
41
  case "1-special-character":
42
42
  return q.test(s);
43
43
  case "include-min-length":
44
- return d({
44
+ return o({
45
45
  requirementRule: "include-min-length",
46
46
  textMinLength: t
47
47
  }) === !0 && s.length >= t;
@@ -67,7 +67,7 @@ const f = /[A-Z]/, b = /[a-z]/, p = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ text: e,
67
67
  requirementText: "Password must contain atleast 1 lowercase letter."
68
68
  }
69
69
  ];
70
- return d({
70
+ return o({
71
71
  requirementRule: "include-min-length",
72
72
  textMinLength: e
73
73
  }) && t.push({
@@ -82,8 +82,8 @@ const f = /[A-Z]/, b = /[a-z]/, p = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ text: e,
82
82
  checkRequirementRuleSatisfied: I,
83
83
  getDefaultRulesAndRequirementsForMeters: m,
84
84
  getMeterRulesFromRequirements: R,
85
- minLengthRuleCanBeApplied: d
86
- }, Symbol.toStringTag, { value: "Module" })), D = (e) => {
85
+ minLengthRuleCanBeApplied: o
86
+ }, Symbol.toStringTag, { value: "Module" })), V = (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
- }, N = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
99
+ }, D = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
100
100
  __proto__: null,
101
- getRequirementsMeterLabelLeadingIcon: D
102
- }, Symbol.toStringTag, { value: "Module" })), V = (e) => {
101
+ getRequirementsMeterLabelLeadingIcon: V
102
+ }, Symbol.toStringTag, { value: "Module" })), N = (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: V
113
+ inputToGidsFieldStatusForPassword: N
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
@@ -133,19 +133,19 @@ const f = /[A-Z]/, b = /[a-z]/, p = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ text: e,
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 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);
136
+ const d = c + 1, w = d <= l;
137
+ return s[d] === "include-min-length" ? o({ requirementRule: "include-min-length", textMinLength: t }) ? a(d, u, w) : null : a(d, u, w);
138
138
  }));
139
139
  })()) : null;
140
- }, { getGidsRequirementsMeterLabelClassNames: ne } = J, { getRequirementsMeterLabelLeadingIcon: le } = N, ae = (e) => {
140
+ }, { getGidsRequirementsMeterLabelClassNames: ne } = J, { getRequirementsMeterLabelLeadingIcon: le } = D, 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: oe } = Q, de = ({ requirements: e = [], text: t, textMinLength: s, class: n }) => {
143
+ }, { checkRequirementRuleSatisfied: ue } = $, { getGidsRequirementsMeterClassNames: de } = Q, oe = ({ 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: oe(n) }, e.map(((r) => {
145
+ return i("div", { class: de(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" ? d({ requirementRule: r.requirementRule, textMinLength: s }) === !0 ? a(r, l) : null : a(r, l);
148
+ return r.requirementRule === "include-min-length" ? o({ requirementRule: r.requirementRule, textMinLength: s }) === !0 ? a(r, l) : null : a(r, l);
149
149
  }
150
150
  return null;
151
151
  })));
@@ -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: "5a01700ed2e889989e76a785a4ea9f0832d43cba" }, i("gids-field", { key: "82a848875d90d33e909277e9caca152802263775", disabled: this.disabled, count: void 0, helperText: this.helperText, statusText: this.statusText, status: ce(this.status) }, i(F, { key: "cbc12d98213148de3bd0bd24f73122fcc1bb0175", 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: "86182396314618b1191b5af4dad1974ecec29d90", 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: "e0b5bfe6509975144dbb6eb9051cc161ee3730fb", name: "leadingIcon" }), i("slot", { key: "591d68804011e67edefbebd2ecbb0477608a6b9e", name: "leadingAccessory" }), i("div", { key: "e0b980ba3896b39aa59601f6ccc1940459de83da", slot: "trailingAccessory", class: "gids-password-field__trailing-accessory" }, n && i(L, { key: "29890daceaa8d95274eb501dba3ba139b1992b3f", label: "clear text", size: "lg", onPressDismiss: this._handleDismiss }), a && i(O, { key: "6e278e24e56531945fd9ee76b85278d31bf359d7", appearance: "default", size: "xs", width: "intrinsic", disabled: this.disabled, onClick: this._handleRevealPassword }, u ? "Hide" : "Show")))), i("div", { key: "6b379f62ce81fc6c2c641e98c53f3b5a57abe939", class: "gids-password-field__meters-container" }, i(ie, { key: "de60ed4d66045e988f60a8240b1e649003c7a841", meterRules: _, text: this.value, textMinLength: c }), i(de, { key: "8bcaae4c9d45b10b8462f81c885dbb4998f62a8f", requirements: this.requirementsMeterRequirements, text: this.value, textMinLength: c })));
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 })));
195
195
  }
196
196
  get _el() {
197
197
  return this;
@@ -1,6 +1,6 @@
1
- import { n as e, c as s } from "./p-BfnzH6wp-BfLC7Nak.js";
2
- const o = e, r = s;
1
+ import { n as e, c as t } from "./p-C3We7Q8Q-DT_NDg87.js";
2
+ const r = e, s = t;
3
3
  export {
4
- o as GidsPieChart,
5
- r 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: "da99dff29f34b163522c42a2a17bf4556dd9ba02" }, a("slot", { key: "776a6ca0c9379f9059f8522feda55210476e0cd1", name: "anchor" }), a("div", { key: "1a73966a626ae553e28dca105f9b567312362497", id: "popover", part: "popover", role: "dialog", "aria-modal": "true", tabindex: "-1" }, a("span", { key: "06f5ddfd7795fa4f7a8c6fc7106e128d0ec51e54", id: "arrow" }), a("div", { key: "aed89418ee2297532a0655fca1a0d1bc8d24c06b" }, a("slot", { key: "2474edda5a80075dabc0b19af54ea2585e62ca1d" }))));
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" }))));
68
68
  }
69
69
  disconnectedCallback() {
70
70
  this.cleanupEventListeners(), this.floatingElementManager?.destroy();
@@ -1,10 +1,10 @@
1
- import { L as c, u as o, D as e, q as t } from "./p-Bf3p-DY2-CPqEc-vc.js";
1
+ import { L as o, u as c, D as e, q as t } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { i as l } from "./p-B2zUuNXz-BLBgQDu7.js";
3
3
  import { c as n } from "./clsx-OuTLNxxd.js";
4
4
  const d = (s) => n("gids-scrim", s), m = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5
5
  __proto__: null,
6
6
  getGidsScrimClassNames: d
7
- }, Symbol.toStringTag, { value: "Module" })), { getGidsScrimClassNames: a } = m, i = c(class extends o {
7
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsScrimClassNames: a } = m, r = 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: "f9bf11077e7b7141816116d1cace7a87d9dfa652", class: this.activeClasses, part: "root" }, e("slot", { key: "221cacbb0a57c9c356d20988b02e7730e74b4430" }));
19
+ return e("div", { key: "8167fdb99ddda2dd4db8e27f9dc188586652385d", class: this.activeClasses, part: "root" }, e("slot", { key: "e93770f7b43713b32c964fc00492c31de9474e6e" }));
20
20
  }
21
21
  get _el() {
22
22
  return this;
@@ -28,13 +28,13 @@ 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 r() {
31
+ function i() {
32
32
  typeof customElements < "u" && ["gids-scrim"].forEach(((s) => {
33
- s === "gids-scrim" && (customElements.get(t(s)) || customElements.define(t(s), i));
33
+ s === "gids-scrim" && (customElements.get(t(s)) || customElements.define(t(s), r));
34
34
  }));
35
35
  }
36
- r();
37
- const f = i, C = r;
36
+ i();
37
+ const f = r, C = i;
38
38
  export {
39
39
  f as GidsScrim,
40
40
  C as defineCustomElement
@@ -18,7 +18,7 @@ const y = ({ appearance: e, type: a, outline: i }, t) => g("gids-badge", {
18
18
  getDisplayContent: C,
19
19
  maxCount: o,
20
20
  shouldIncludeA11yText: I
21
- }, Symbol.toStringTag, { value: "Module" })), T = ({ appearance: e, width: a = "intrinsic", active: i }, t) => g("gids-tab-item", {
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
24
24
  "gids-tab-item--full": a === "full",
@@ -34,13 +34,13 @@ const y = ({ appearance: e, type: a, outline: i }, t) => g("gids-badge", {
34
34
  "gids-tab-item--bordered": e === "bordered" && !i,
35
35
  "gids-tab-item--underlined": e === "underlined" && !i,
36
36
  "gids-tab-item--subtle": e === "subtle" && !i
37
- }, t), x = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
37
+ }, t), T = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
38
38
  __proto__: null,
39
- getGidsTabItemClassNames: T
39
+ getGidsTabItemClassNames: x
40
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 }) => {
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
- }, { getGidsTabItemClassNames: B } = x, b = m(class extends p {
43
+ }, { getGidsTabItemClassNames: B } = T, b = m(class extends p {
44
44
  constructor(e) {
45
45
  super(), e !== !1 && this.__registerHost(), this.active = !1, this.width = "intrinsic", this.appearance = "default", this.badgeVisible = !1, this.badgeAppearance = "information", this.badgeType = "dot", this.hasLeadingIcon = !1, this.hasTrailingIcon = !1, this.handleHostClick = () => {
46
46
  this.onPressGidsTabItem && this.onPressGidsTabItem({ itemId: this.itemId, label: this?.label ?? "", active: this?.active ?? !1, appearance: this?.appearance ?? "default", name: this?.name, badgeCount: this?.badgeCount ?? 0 });
@@ -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: "111117f9953d07da3af26834ab19352c9334a36a", 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: "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);
79
79
  }
80
80
  get hostElement() {
81
81
  return this;
@@ -84,7 +84,7 @@ const y = ({ appearance: e, type: a, outline: i }, t) => g("gids-badge", {
84
84
  return { width: [{ handleWidthChange: 0 }], appearance: [{ handleAppearanceChange: 0 }], badgeVisible: [{ handleBadgeVisibilityChange: 0 }], badgeAppearance: [{ handleBadgeAppearanceChange: 0 }], badgeType: [{ handleBadgeTypeChange: 0 }], active: [{ handleActiveChange: 0 }] };
85
85
  }
86
86
  static get style() {
87
- return ".gids-tab-item{margin:0;padding:0;appearance:none;border:none;background:none;display:inline-flex;justify-content:center;align-items:center;gap:var(--gids-gap-100);padding:var(--gids-padding-vertical-edge-to-element-150) var(--gids-padding-horizontal-edge-to-element-150);color:var(--gids-color-text-accent-5);cursor:pointer}.gids-tab-item .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-5)}.gids-tab-item__label{font-family:var(--gids-typography-label-small__font-family);font-size:var(--gids-typography-label-small__font-size);font-weight:var(--gids-typography-label-small__font-weight);letter-spacing:var(--gids-typography-label-small__letter-spacing);line-height:var(--gids-typography-label-small__line-height);text-transform:var(--gids-typography-label-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-small__font-variant-caps, inherit);display:flex;justify-content:center;align-items:center;gap:var(--gids-gap-150)}.gids-tab-item--full{display:flex}.gids-tab-item--default{border-radius:var(--gids-border-radius-md)}.gids-tab-item--default:hover{background-color:var(--gids-color-background-accent-4-subtler-hovered);color:var(--gids-color-text-accent-4)}.gids-tab-item--default:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--default:active{background-color:var(--gids-color-background-accent-4-subtler-pressed);color:var(--gids-color-text-accent-4)}.gids-tab-item--default:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--primary{border-radius:var(--gids-border-radius-md)}.gids-tab-item--primary:hover{background-color:var(--gids-color-background-accent-4-bolder-hovered);color:var(--gids-color-text-inverse)}.gids-tab-item--primary:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-inverse)}.gids-tab-item--primary:active{background-color:var(--gids-color-background-accent-4-bolder-pressed);color:var(--gids-color-text-inverse)}.gids-tab-item--primary:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-inverse)}.gids-tab-item--bordered{border-radius:var(--gids-border-radius-full)}.gids-tab-item--bordered:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered);color:var(--gids-color-text-accent-4);border:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4)}.gids-tab-item--bordered:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--bordered:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed);color:var(--gids-color-text-accent-4);border:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4)}.gids-tab-item--bordered:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--underlined{border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-input)}.gids-tab-item--underlined:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered);border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);border-top-left-radius:var(--gids-border-radius-md);border-top-right-radius:var(--gids-border-radius-md);color:var(--gids-color-text-accent-4)}.gids-tab-item--underlined:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed);border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);border-top-left-radius:var(--gids-border-radius-md);border-top-right-radius:var(--gids-border-radius-md);color:var(--gids-color-text-accent-4)}.gids-tab-item--subtle:hover{color:var(--gids-color-text-accent-4)}.gids-tab-item--subtle:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--subtle:active{color:var(--gids-color-text-accent-4)}.gids-tab-item--subtle:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-default{border-radius:var(--gids-border-radius-md);background-color:var(--gids-color-background-accent-4-subtler-default);color:var(--gids-color-text-accent-4)}.gids-tab-item--active-default .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-default:hover{background-color:var(--gids-color-background-accent-4-subtler-hovered)}.gids-tab-item--active-default:active{background-color:var(--gids-color-background-accent-4-subtler-pressed)}.gids-tab-item--active-primary{border-radius:var(--gids-border-radius-md);background-color:var(--gids-color-background-accent-4-bolder-default);color:var(--gids-color-text-inverse)}.gids-tab-item--active-primary .gids-icon{--gidsIcon-color:var(--gids-color-icon-inverse)}.gids-tab-item--active-primary:hover{background-color:var(--gids-color-background-accent-4-bolder-hovered)}.gids-tab-item--active-primary:active{background-color:var(--gids-color-background-accent-4-bolder-pressed)}.gids-tab-item--active-bordered{border-radius:var(--gids-border-radius-full);border:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);background-color:var(--gids-color-background-accent-4-subtlest-default);color:var(--gids-color-text-accent-4)}.gids-tab-item--active-bordered .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-bordered:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered)}.gids-tab-item--active-bordered:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed)}.gids-tab-item--active-underlined{border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);border-top-left-radius:var(--gids-border-radius-md);border-top-right-radius:var(--gids-border-radius-md);color:var(--gids-color-text-accent-4);background-color:var(--gids-color-background-accent-4-subtlest-default)}.gids-tab-item--active-underlined .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-underlined:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered)}.gids-tab-item--active-underlined:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed)}.gids-tab-item--active-subtle{color:var(--gids-color-text-accent-4)}.gids-tab-item--active-subtle .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}";
87
+ return ".gids-tab-item{margin:0;padding:0;appearance:none;border:none;background:none;display:inline-flex;justify-content:center;align-items:center;gap:var(--gids-gap-100);padding:var(--gids-padding-vertical-edge-to-element-150) var(--gids-padding-horizontal-edge-to-element-150);color:var(--gids-color-text-accent-5);white-space:nowrap;flex-shrink:0;cursor:pointer}.gids-tab-item .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-5)}.gids-tab-item__label{font-family:var(--gids-typography-label-small__font-family);font-size:var(--gids-typography-label-small__font-size);font-weight:var(--gids-typography-label-small__font-weight);letter-spacing:var(--gids-typography-label-small__letter-spacing);line-height:var(--gids-typography-label-small__line-height);text-transform:var(--gids-typography-label-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-small__font-variant-caps, inherit);display:flex;justify-content:center;align-items:center;flex:1;gap:var(--gids-gap-150)}.gids-tab-item--full{display:flex}.gids-tab-item--default{border-radius:var(--gids-border-radius-md)}.gids-tab-item--default:hover{background-color:var(--gids-color-background-accent-4-subtler-hovered);color:var(--gids-color-text-accent-4)}.gids-tab-item--default:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--default:active{background-color:var(--gids-color-background-accent-4-subtler-pressed);color:var(--gids-color-text-accent-4)}.gids-tab-item--default:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--primary{border-radius:var(--gids-border-radius-md)}.gids-tab-item--primary:hover{background-color:var(--gids-color-background-accent-4-bolder-hovered);color:var(--gids-color-text-inverse)}.gids-tab-item--primary:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-inverse)}.gids-tab-item--primary:active{background-color:var(--gids-color-background-accent-4-bolder-pressed);color:var(--gids-color-text-inverse)}.gids-tab-item--primary:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-inverse)}.gids-tab-item--bordered{border-radius:var(--gids-border-radius-full)}.gids-tab-item--bordered:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered);color:var(--gids-color-text-accent-4);border:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4)}.gids-tab-item--bordered:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--bordered:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed);color:var(--gids-color-text-accent-4);border:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4)}.gids-tab-item--bordered:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--underlined{border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-input)}.gids-tab-item--underlined:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered);border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);border-top-left-radius:var(--gids-border-radius-md);border-top-right-radius:var(--gids-border-radius-md);color:var(--gids-color-text-accent-4)}.gids-tab-item--underlined:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed);border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);border-top-left-radius:var(--gids-border-radius-md);border-top-right-radius:var(--gids-border-radius-md);color:var(--gids-color-text-accent-4)}.gids-tab-item--subtle:hover{color:var(--gids-color-text-accent-4)}.gids-tab-item--subtle:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--subtle:active{color:var(--gids-color-text-accent-4)}.gids-tab-item--subtle:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-default{border-radius:var(--gids-border-radius-md);background-color:var(--gids-color-background-accent-4-subtler-default);color:var(--gids-color-text-accent-4)}.gids-tab-item--active-default .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-default:hover{background-color:var(--gids-color-background-accent-4-subtler-hovered)}.gids-tab-item--active-default:active{background-color:var(--gids-color-background-accent-4-subtler-pressed)}.gids-tab-item--active-primary{border-radius:var(--gids-border-radius-md);background-color:var(--gids-color-background-accent-4-bolder-default);color:var(--gids-color-text-inverse)}.gids-tab-item--active-primary .gids-icon{--gidsIcon-color:var(--gids-color-icon-inverse)}.gids-tab-item--active-primary:hover{background-color:var(--gids-color-background-accent-4-bolder-hovered)}.gids-tab-item--active-primary:active{background-color:var(--gids-color-background-accent-4-bolder-pressed)}.gids-tab-item--active-bordered{border-radius:var(--gids-border-radius-full);border:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);background-color:var(--gids-color-background-accent-4-subtlest-default);color:var(--gids-color-text-accent-4)}.gids-tab-item--active-bordered .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-bordered:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered)}.gids-tab-item--active-bordered:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed)}.gids-tab-item--active-underlined{border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);border-top-left-radius:var(--gids-border-radius-md);border-top-right-radius:var(--gids-border-radius-md);color:var(--gids-color-text-accent-4);background-color:var(--gids-color-background-accent-4-subtlest-default)}.gids-tab-item--active-underlined .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-underlined:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered)}.gids-tab-item--active-underlined:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed)}.gids-tab-item--active-subtle{color:var(--gids-color-text-accent-4)}.gids-tab-item--active-subtle .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}";
88
88
  }
89
89
  }, [260, "gids-tab-item", { itemId: [1, "item-id"], label: [1], active: [4], name: [1], width: [1], appearance: [1], badgeVisible: [4, "badge-visible"], badgeAppearance: [1, "badge-appearance"], badgeCount: [2, "badge-count"], badgeType: [1, "badge-type"], onPressGidsTabItem: [16], hasLeadingIcon: [32], hasTrailingIcon: [32] }, void 0, { width: [{ handleWidthChange: 0 }], appearance: [{ handleAppearanceChange: 0 }], badgeVisible: [{ handleBadgeVisibilityChange: 0 }], badgeAppearance: [{ handleBadgeAppearanceChange: 0 }], badgeType: [{ handleBadgeTypeChange: 0 }], active: [{ handleActiveChange: 0 }] }]);
90
90
  function u() {
@@ -1,13 +1,13 @@
1
- import { L as c, u as r, D as a, P as h, q as s } from "./p-Bf3p-DY2-CPqEc-vc.js";
1
+ import { L as r, u as h, D as a, P as c, q as s } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { c as l } from "./clsx-OuTLNxxd.js";
3
3
  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), b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7
+ }, d), p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8
8
  __proto__: null,
9
9
  getGidsTabClassNames: o
10
- }, Symbol.toStringTag, { value: "Module" })), { getGidsTabClassNames: p } = b, i = c(class extends r {
10
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsTabClassNames: b } = p, 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 = p({ width: this.width, appearance: this.appearance });
41
- return a(h, { key: "cc7d6cde876ed48c224b7226f750bb5e4bb4cbf1", class: e }, a("slot", { key: "bb499ecb3dfd5cba0fb59b1f22ec135fe435b28c" }));
40
+ const e = b({ width: this.width, appearance: this.appearance });
41
+ return a(c, { key: "00bf73ca04f70d14966823cdd4d228c3d05222e3", class: e }, a("slot", { key: "9b693f9975560d559d972388fb15ca2407ff5d4c" }));
42
42
  }
43
43
  get hostElement() {
44
44
  return this;
@@ -47,7 +47,7 @@ const o = ({ width: e, appearance: t }, d) => l("gids-tab", {
47
47
  return { width: [{ handleWidthChange: 0 }], appearance: [{ handleAppearanceChange: 0 }], activeTabId: [{ handleActiveTabIdChange: 0 }] };
48
48
  }
49
49
  static get style() {
50
- return ".gids-tab{display:inline-flex;align-items:center;justify-content:flex-start;gap:var(--gids-gap-150)}.gids-tab--full{display:flex}.gids-tab--item-subtle{gap:0}.gids-tab--item-underlined{gap:0}";
50
+ return ".gids-tab{display:inline-flex;align-items:center;justify-content:flex-start;gap:var(--gids-gap-150);overflow-y:hidden;overflow-x:scroll}.gids-tab--full{display:flex}.gids-tab--item-subtle{gap:0}.gids-tab--item-underlined{gap:0}";
51
51
  }
52
52
  }, [260, "gids-tab", { width: [1], appearance: [1], activeTabId: [1, "active-tab-id"], onPressGidsTab: [16] }, void 0, { width: [{ handleWidthChange: 0 }], appearance: [{ handleAppearanceChange: 0 }], activeTabId: [{ handleActiveTabIdChange: 0 }] }]);
53
53
  function n() {
@@ -1,9 +1,9 @@
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
- import { i as m } from "./p-B2zUuNXz-BLBgQDu7.js";
3
- import { a as b } from "./p-Dg2yoUxw-Cca8ROd_.js";
2
+ import { i as b } from "./p-B2zUuNXz-BLBgQDu7.js";
3
+ import { a as m } from "./p-Dg2yoUxw-Cca8ROd_.js";
4
4
  import { r as p } from "./p-UxDcM-C5-Dr5d_WpJ.js";
5
- import { h as g } from "./p-C7ifjRCE-CRlorwoN.js";
6
- import { r as x } from "./p-Doi8Yizl-BszWK5Dq.js";
5
+ import { h as g } from "./p-ub0GuVHb-C_PFTi1_.js";
6
+ import { r as x } from "./p-BVAtja26-Xjd4_b4e.js";
7
7
  import { g as _ } from "./p-D4Pimu_8-DfEGRQGf.js";
8
8
  const v = (e, t) => {
9
9
  if (!(e === void 0 || t === void 0))
@@ -17,14 +17,14 @@ 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 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");
@@ -41,7 +41,7 @@ const v = (e, t) => {
41
41
  })), this._slotContentObserver.observe(this._el, { childList: !0, subtree: !1, attributes: !0, attributeFilter: ["slot"] });
42
42
  }
43
43
  connectedCallback() {
44
- const e = m();
44
+ const e = b();
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: "951d6052bb8e98950f01a1c204a35904e3a3ee4c", disabled: this.disabled, count: F(this.value?.length, this.maxLength), helperText: this.helperText, statusText: this.statusText, status: O(this.status) }, i(b, { key: "02a0b0308d754a68dd5f1be3cd8dd10b191f32a6", 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: "9e601808d03998011afd0cef3a683e153ea42f10", 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: "f519b7683865ec3bc7d6dc02c3a4d3383b62c09a", name: "leadingIcon" }), i("slot", { key: "4241d7a23659bd3f7fe2b54ad3e9fce5b83de649", name: "leadingAccessory" }), d && i(p, { key: "35d7868cec672757617bad343a3e700a4a9719c8", label: "clear text", slot: "trailingAccessory", size: "lg", onPressDismiss: this._handleDismiss }), i("slot", { key: "07f1cd892f9eb103110e54f377ed6683da22157d", 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: "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" })));
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-Bj28yqMD-Dz1SWSqM.js";
1
+ import { l as o, o as t } from "./p-_SIWct9h-jMYFZ-VO.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: "b1339ba783e86f33840b20038f900b09ba70e61f" }, e("slot", { key: "1103b8056a880282cad202905f8a606ffd8ed119" }), e("span", { key: "ad2f4fc135f7d26d7224e134149f2075f66bed4e", id: "tooltip", part: "tooltip", role: "tooltip" }, e("span", { key: "c1edf194581bd0696b32b92657a59bc6f876774d", id: "arrow" }), this.tooltipText));
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));
42
42
  }
43
43
  disconnectedCallback() {
44
44
  this.cleanupEventListeners(), this.floatingElementManager?.destroy();
@@ -59,8 +59,8 @@ function a() {
59
59
  }));
60
60
  }
61
61
  a();
62
- const f = o, v = a;
62
+ const v = o, f = a;
63
63
  export {
64
- f as GidsTooltip,
65
- v as defineCustomElement
64
+ v as GidsTooltip,
65
+ f as defineCustomElement
66
66
  };