@ganpatiinfo/gids-core-web 9.0.0 → 10.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 (216) hide show
  1. package/dist/css/index.css +1445 -1
  2. package/dist/css/index.css.map +1 -1
  3. package/dist/gids-activity-gauge.d.ts +11 -0
  4. package/dist/gids-activity-gauge.js +1 -0
  5. package/dist/gids-bar-chart.d.ts +11 -0
  6. package/dist/gids-bar-chart.js +1 -0
  7. package/dist/gids-calendar-header-panel.d.ts +11 -0
  8. package/dist/gids-calendar-header-panel.js +1 -0
  9. package/dist/gids-calendar-month-list.d.ts +11 -0
  10. package/dist/gids-calendar-month-list.js +1 -0
  11. package/dist/gids-calendar-year-list.d.ts +11 -0
  12. package/dist/gids-calendar-year-list.js +1 -0
  13. package/dist/gids-calendar.d.ts +11 -0
  14. package/dist/gids-calendar.js +1 -0
  15. package/dist/gids-chart-legend-item.d.ts +11 -0
  16. package/dist/gids-chart-legend-item.js +1 -0
  17. package/dist/gids-chart-legend.d.ts +11 -0
  18. package/dist/gids-chart-legend.js +1 -0
  19. package/dist/gids-chart.d.ts +11 -0
  20. package/dist/gids-chart.js +1 -0
  21. package/dist/gids-chevron-button.d.ts +11 -0
  22. package/dist/gids-chevron-button.js +1 -0
  23. package/dist/gids-dot.d.ts +11 -0
  24. package/dist/gids-dot.js +1 -0
  25. package/dist/gids-dropdown-field.d.ts +11 -0
  26. package/dist/gids-dropdown-field.js +1 -0
  27. package/dist/gids-dropdown-picker.d.ts +11 -0
  28. package/dist/gids-dropdown-picker.js +1 -0
  29. package/dist/gids-dropdown.d.ts +11 -0
  30. package/dist/gids-dropdown.js +1 -0
  31. package/dist/gids-field.d.ts +1 -1
  32. package/dist/gids-field.js +1 -1
  33. package/dist/gids-icon.d.ts +1 -1
  34. package/dist/gids-icon.js +1 -1
  35. package/dist/gids-input.d.ts +1 -1
  36. package/dist/gids-input.js +1 -1
  37. package/dist/gids-level-gauge.d.ts +11 -0
  38. package/dist/gids-level-gauge.js +1 -0
  39. package/dist/gids-line-chart.d.ts +11 -0
  40. package/dist/gids-line-chart.js +1 -0
  41. package/dist/gids-notification.d.ts +1 -1
  42. package/dist/gids-notification.js +1 -1
  43. package/dist/gids-overflow-container.d.ts +1 -1
  44. package/dist/gids-overflow-container.js +1 -1
  45. package/dist/gids-overlay-provider.d.ts +1 -1
  46. package/dist/gids-overlay-provider.js +1 -1
  47. package/dist/gids-password-field.d.ts +1 -1
  48. package/dist/gids-password-field.js +1 -1
  49. package/dist/gids-pie-chart.d.ts +11 -0
  50. package/dist/gids-pie-chart.js +1 -0
  51. package/dist/gids-popover.d.ts +1 -1
  52. package/dist/gids-popover.js +1 -1
  53. package/dist/gids-progress-circle.d.ts +11 -0
  54. package/dist/gids-progress-circle.js +1 -0
  55. package/dist/gids-scrim.d.ts +1 -1
  56. package/dist/gids-scrim.js +1 -1
  57. package/dist/gids-snackbar.d.ts +1 -1
  58. package/dist/gids-snackbar.js +1 -1
  59. package/dist/gids-text-field.d.ts +1 -1
  60. package/dist/gids-text-field.js +1 -1
  61. package/dist/gids-toggle-button.d.ts +1 -1
  62. package/dist/gids-toggle-button.js +1 -1
  63. package/dist/gids-tooltip.d.ts +1 -1
  64. package/dist/gids-tooltip.js +1 -1
  65. package/dist/index.js +1 -1
  66. package/dist/p-9_mrQ7ac.js +1 -0
  67. package/dist/p-B81J5HCC.js +1 -0
  68. package/dist/p-BFHWXEeg.js +1 -0
  69. package/dist/p-B_HaXpJZ.js +1 -0
  70. package/dist/p-BaO-kEWS.js +1 -0
  71. package/dist/p-BiPAgxAQ.js +1 -0
  72. package/dist/p-Bmb-HiXg.js +1 -0
  73. package/dist/{p-veoOgDXg.js → p-BnL97lOW.js} +1 -1
  74. package/dist/{p-iCAclJND.js → p-BvYnawkJ.js} +1 -1
  75. package/dist/p-CIP0xyhD.js +1 -0
  76. package/dist/p-CJzporPT.js +1 -0
  77. package/dist/p-CPSHPtGE.js +1 -0
  78. package/dist/p-CRngHsR7.js +1 -0
  79. package/dist/p-Ct3Ixgvf.js +1 -0
  80. package/dist/p-D93TNeOt.js +1 -0
  81. package/dist/p-DKsrt7dx.js +1 -0
  82. package/dist/p-DZWWuJac.js +1 -0
  83. package/dist/p-D_wcwB7E.js +1 -0
  84. package/dist/p-Dehss-X0.js +1 -0
  85. package/dist/{p-DvoHLz_5.js → p-DfFqFdmS.js} +1 -1
  86. package/dist/p-KxRqlvSh.js +1 -0
  87. package/dist/p-MgTlrSP_.js +1 -0
  88. package/dist/p-h6alWGT8.js +1 -0
  89. package/dist/p-quZYWCxU.js +1 -0
  90. package/dist/p-tyIgTtUC.js +1 -0
  91. package/dist/p-uqSjmNkw.js +1 -0
  92. package/dist/types/components/html/GidsCalendarCell/GidsCalendarCell.d.ts +7 -0
  93. package/dist/types/components/html/GidsCalendarDayCell/GidsCalendarDayCell.d.ts +4 -0
  94. package/dist/types/components/html/GidsDropdownItem/GidsDropdownItem.d.ts +1 -1
  95. package/dist/types/components/html/GidsDropdownMenu/GidsDropdownMenu.d.ts +1 -1
  96. package/dist/types/components/html/GidsDropdownMenuGroup/GidsDropdownMenuGroup.d.ts +1 -1
  97. package/dist/types/components/html/GidsListItem/GidsListItem.d.ts +2 -2
  98. package/dist/types/components/html/GidsPageTitle/GidsPageTitle.d.ts +4 -0
  99. package/dist/types/components/webComponents/GidsActivityGauge/GidsActivityGauge.d.ts +23 -0
  100. package/dist/types/components/webComponents/GidsBarChart/GidsBarChart.d.ts +27 -0
  101. package/dist/types/components/webComponents/GidsCalendar/GidsCalendar.d.ts +34 -0
  102. package/dist/types/components/webComponents/GidsCalendarHeaderPanel/GidsCalendarHeaderPanel.d.ts +67 -0
  103. package/dist/types/components/webComponents/GidsCalendarMonthList/GidsCalendarMonthList.d.ts +26 -0
  104. package/dist/types/components/webComponents/GidsCalendarYearList/GidsCalendarYearList.d.ts +31 -0
  105. package/dist/types/components/webComponents/GidsChart/GidsChart.d.ts +19 -0
  106. package/dist/types/components/webComponents/GidsChartLegend/GidsChartLegend.d.ts +7 -0
  107. package/dist/types/components/webComponents/GidsChartLegendItem/GidsChartLegendItem.d.ts +9 -0
  108. package/dist/types/components/webComponents/GidsChevronButton/GidsChevronButton.d.ts +21 -0
  109. package/dist/types/components/webComponents/GidsDot/GidsDot.d.ts +17 -0
  110. package/dist/types/components/webComponents/GidsDropdown/GidsDropdown.d.ts +78 -0
  111. package/dist/types/components/webComponents/GidsDropdownField/GidsDropdownField.d.ts +37 -0
  112. package/dist/types/components/webComponents/GidsDropdownPicker/GidsDropdownPicker.d.ts +52 -0
  113. package/dist/types/components/webComponents/GidsLevelGauge/GidsLevelGauge.d.ts +22 -0
  114. package/dist/types/components/webComponents/GidsLineChart/GidsLineChart.d.ts +27 -0
  115. package/dist/types/components/webComponents/GidsPieChart/GidsPieChart.d.ts +23 -0
  116. package/dist/types/components/webComponents/GidsProgressCircle/GidsProgressCircle.d.ts +24 -0
  117. package/dist/types/components.d.ts +1352 -71
  118. package/dist/types/utils/childrenValidityUtils.d.ts +1 -1
  119. package/dist-bundled/es/gids-activity-gauge.js +6 -0
  120. package/dist-bundled/es/gids-bar-chart.js +6 -0
  121. package/dist-bundled/es/gids-calendar-header-panel.js +6 -0
  122. package/dist-bundled/es/gids-calendar-month-list.js +6 -0
  123. package/dist-bundled/es/gids-calendar-year-list.js +6 -0
  124. package/dist-bundled/es/gids-calendar.js +153 -0
  125. package/dist-bundled/es/gids-chart-legend-item.js +6 -0
  126. package/dist-bundled/es/gids-chart-legend.js +6 -0
  127. package/dist-bundled/es/gids-chart.js +108 -0
  128. package/dist-bundled/es/gids-chevron-button.js +56 -0
  129. package/dist-bundled/es/gids-dot.js +6 -0
  130. package/dist-bundled/es/gids-dropdown-field.js +88 -0
  131. package/dist-bundled/es/gids-dropdown-picker.js +6 -0
  132. package/dist-bundled/es/gids-dropdown.js +6 -0
  133. package/dist-bundled/es/gids-field.js +1 -1
  134. package/dist-bundled/es/gids-icon.js +4 -30
  135. package/dist-bundled/es/gids-input.js +4 -4
  136. package/dist-bundled/es/gids-level-gauge.js +6 -0
  137. package/dist-bundled/es/gids-line-chart.js +6 -0
  138. package/dist-bundled/es/gids-notification.js +1 -1
  139. package/dist-bundled/es/gids-overflow-container.js +6 -6
  140. package/dist-bundled/es/gids-overlay-provider.js +17 -17
  141. package/dist-bundled/es/gids-password-field.js +29 -28
  142. package/dist-bundled/es/gids-pie-chart.js +6 -0
  143. package/dist-bundled/es/gids-popover.js +7 -7
  144. package/dist-bundled/es/gids-progress-circle.js +6 -0
  145. package/dist-bundled/es/gids-scrim.js +8 -8
  146. package/dist-bundled/es/gids-snackbar.js +1 -1
  147. package/dist-bundled/es/gids-text-field.js +16 -15
  148. package/dist-bundled/es/gids-toggle-button.js +8 -8
  149. package/dist-bundled/es/gids-tooltip.js +5 -5
  150. package/dist-bundled/es/index.js +1 -1
  151. package/dist-bundled/es/p-9_mrQ7ac-If6e6cvJ.js +71 -0
  152. package/dist-bundled/es/p-B81J5HCC-Bkt2yXKi.js +47 -0
  153. package/dist-bundled/es/p-BFHWXEeg-ByjSjz8i.js +133 -0
  154. package/dist-bundled/es/p-B_HaXpJZ-a2SDgQ0E.js +37 -0
  155. package/dist-bundled/es/p-BaO-kEWS-ZITkeP-j.js +241 -0
  156. package/dist-bundled/es/p-BiPAgxAQ-BtMBQpJY.js +31 -0
  157. package/dist-bundled/es/p-Bmb-HiXg-MyHWdhpw.js +80 -0
  158. package/dist-bundled/es/{p-veoOgDXg-fRinub-C.js → p-BnL97lOW-BO0p4EdC.js} +9 -9
  159. package/dist-bundled/es/{p-iCAclJND-Bmsvd-W1.js → p-BvYnawkJ-DohV9UNG.js} +3 -3
  160. package/dist-bundled/es/p-CIP0xyhD-D6y5soLj.js +180 -0
  161. package/dist-bundled/es/p-CJzporPT-I_OdjJsQ.js +92 -0
  162. package/dist-bundled/es/p-CPSHPtGE-C7baJgXR.js +115 -0
  163. package/dist-bundled/es/p-CRngHsR7-DL9wz3Z3.js +25 -0
  164. package/dist-bundled/es/p-Ct3Ixgvf-CNP_PKwP.js +646 -0
  165. package/dist-bundled/es/p-D93TNeOt-Vvshbux8.js +88 -0
  166. package/dist-bundled/es/{p-DybsMR13-DpmsG3Q1.js → p-DKsrt7dx-ImYLc4xz.js} +1 -1
  167. package/dist-bundled/es/p-DZWWuJac-DNQvnHAr.js +15 -0
  168. package/dist-bundled/es/p-D_wcwB7E-d3jYxfod.js +20 -0
  169. package/dist-bundled/es/p-Dehss-X0-Di5vMgvd.js +29 -0
  170. package/dist-bundled/es/{p-DvoHLz_5-C5EvA91N.js → p-DfFqFdmS-DjI2pk-0.js} +6 -6
  171. package/dist-bundled/es/{p-CFw4_-5A-Dzvju3VE.js → p-KxRqlvSh-JOFDmT0B.js} +5 -5
  172. package/dist-bundled/es/p-MgTlrSP_-DifRVv94.js +70 -0
  173. package/dist-bundled/es/p-h6alWGT8-CSY2g3c8.js +67 -0
  174. package/dist-bundled/es/p-quZYWCxU-CPyWW0nv.js +56 -0
  175. package/dist-bundled/es/p-tyIgTtUC-C8jR4A5G.js +71 -0
  176. package/dist-bundled/es/p-uqSjmNkw-Cz2T86sC.js +55 -0
  177. package/dist-bundled/umd/gids-activity-gauge.umd.js +5 -0
  178. package/dist-bundled/umd/gids-bar-chart.umd.js +13 -0
  179. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +5 -0
  180. package/dist-bundled/umd/gids-calendar-month-list.umd.js +5 -0
  181. package/dist-bundled/umd/gids-calendar-year-list.umd.js +5 -0
  182. package/dist-bundled/umd/gids-calendar.umd.js +5 -0
  183. package/dist-bundled/umd/gids-chart-legend-item.umd.js +5 -0
  184. package/dist-bundled/umd/gids-chart-legend.umd.js +5 -0
  185. package/dist-bundled/umd/gids-chart.umd.js +13 -0
  186. package/dist-bundled/umd/gids-chevron-button.umd.js +5 -0
  187. package/dist-bundled/umd/gids-dot.umd.js +5 -0
  188. package/dist-bundled/umd/gids-dropdown-field.umd.js +5 -0
  189. package/dist-bundled/umd/gids-dropdown-picker.umd.js +5 -0
  190. package/dist-bundled/umd/gids-dropdown.umd.js +5 -0
  191. package/dist-bundled/umd/gids-field.umd.js +2 -2
  192. package/dist-bundled/umd/gids-icon.umd.js +2 -2
  193. package/dist-bundled/umd/gids-input.umd.js +2 -2
  194. package/dist-bundled/umd/gids-level-gauge.umd.js +5 -0
  195. package/dist-bundled/umd/gids-line-chart.umd.js +5 -0
  196. package/dist-bundled/umd/gids-notification.umd.js +2 -2
  197. package/dist-bundled/umd/gids-overflow-container.umd.js +2 -2
  198. package/dist-bundled/umd/gids-overlay-provider.umd.js +2 -2
  199. package/dist-bundled/umd/gids-password-field.umd.js +2 -2
  200. package/dist-bundled/umd/gids-pie-chart.umd.js +5 -0
  201. package/dist-bundled/umd/gids-popover.umd.js +2 -2
  202. package/dist-bundled/umd/gids-progress-circle.umd.js +5 -0
  203. package/dist-bundled/umd/gids-scrim.umd.js +2 -2
  204. package/dist-bundled/umd/gids-snackbar.umd.js +2 -2
  205. package/dist-bundled/umd/gids-text-field.umd.js +2 -2
  206. package/dist-bundled/umd/gids-toggle-button.umd.js +3 -3
  207. package/dist-bundled/umd/gids-tooltip.umd.js +2 -2
  208. package/dist-bundled/umd/index.umd.js +2 -2
  209. package/dist-bundled/umd-complete/gids-core-web.umd.js +11 -3
  210. package/package.json +148 -4
  211. package/dist/p-CFw4_-5A.js +0 -1
  212. package/dist/p-DijVkS9b.js +0 -1
  213. package/dist/p-DybsMR13.js +0 -1
  214. package/dist/p-ibikYq-w.js +0 -1
  215. package/dist-bundled/es/p-DijVkS9b-CeV1i4T-.js +0 -35
  216. package/dist-bundled/es/p-ibikYq-w-BsGxk8ro.js +0 -635
@@ -1,8 +1,8 @@
1
- import { C as k, f as y, R as o, L as w, H as f } from "./p-ibikYq-w-BsGxk8ro.js";
1
+ import { _ as C, u as y, T as o, L as w, P as f } from "./p-Ct3Ixgvf-CNP_PKwP.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-veoOgDXg-fRinub-C.js";
5
- import { o as u } from "./p-CFw4_-5A-Dzvju3VE.js";
4
+ import { d as p } from "./p-BnL97lOW-BO0p4EdC.js";
5
+ import { o as u } from "./p-KxRqlvSh-JOFDmT0B.js";
6
6
  import { c as h } from "./clsx-OuTLNxxd.js";
7
7
  const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
8
8
  // 'gids-snackbar-container--appearance-default': appearance === 'default' // its a default
@@ -24,7 +24,7 @@ const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
24
24
  default:
25
25
  return;
26
26
  }
27
- }, j = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27
+ }, P = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28
28
  __proto__: null,
29
29
  getGidsSnackbarContainerClassNames: Q,
30
30
  getSnackbarContainerIconNames: S
@@ -66,7 +66,7 @@ const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
66
66
  default:
67
67
  return "component-exit-bottom-center";
68
68
  }
69
- }, P = ({ position: t, id: e, exitingComponents: n }) => n.includes(e) ? v(t) : b(t), M = ({ position: t }) => {
69
+ }, j = ({ position: t, id: e, exitingComponents: n }) => n.includes(e) ? v(t) : b(t), M = ({ position: t }) => {
70
70
  switch (t) {
71
71
  case "bottom-left":
72
72
  return "common-component-stack component-stack-bottom-left";
@@ -87,7 +87,7 @@ const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
87
87
  }
88
88
  }, O = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
89
89
  __proto__: null,
90
- getComponentClasses: P,
90
+ getComponentClasses: j,
91
91
  getComponentEntryClasses: b,
92
92
  getComponentExitClasses: v,
93
93
  getComponentStackClasses: M
@@ -115,20 +115,20 @@ const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
115
115
  __proto__: null,
116
116
  getGidsNotificationContainerClassNames: T,
117
117
  getNotificationContainerIconNames: I
118
- }, Symbol.toStringTag, { value: "Module" })), { getGidsSnackbarContainerClassNames: z, getSnackbarContainerIconNames: L } = j, R = ({ appearance: t = "default", children: e, button: n, class: i, ...a }) => {
118
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsSnackbarContainerClassNames: z, getSnackbarContainerIconNames: L } = P, X = ({ appearance: t = "default", children: e, button: n, class: i, ...a }) => {
119
119
  const r = L(t);
120
120
  return o("div", { ...a, class: z({ appearance: t }, i) }, o("div", { class: "gids-snackbar-container__content" }, t !== "default" && r != null ? o(p, { name: r, alt: "", appearance: "filled", size: "md", class: "gids-snackbar-container__icon" }) : null, typeof e == "string" ? o("p", null, e) : e), n);
121
- }, { getGidsNotificationContainerClassNames: X, getNotificationContainerIconNames: Y } = q, E = ({ notificationTitle: t, children: e, button: n, appearance: i = "default", pronunciation: a = "standard", onCloseNotificationClick: r, class: s, ...m }) => {
122
- const c = Y(i);
123
- return o("div", { class: X({ appearance: i }, s), ...m }, i !== "default" && c ? o("div", { class: "gids-notification-container__leading-icon-wrapper" }, o(p, { size: "md", name: c, alt: "", appearance: "filled" })) : null, o("div", { class: "gids-notification-container__content-wrapper" }, o("div", { class: "gids-notification-container__top-content" }, o("div", { class: "gids-notification-container__text-content" }, t != null && t !== "" ? o("span", { class: "gids-notification-container__title" }, t) : null, e ? typeof e == "string" ? o("p", null, e) : e : null), a === "standard" ? o("div", { class: "gids-notification-container__cross-btn-wrapper" }, o(u, { size: "sm", appearance: "subtle", width: "intrinsic", leadingIcon: o(p, { name: "cross", size: "md", appearance: "regular" }), onClick: r })) : null), n ? o("div", { class: "gids-notification-container__bottom-content" }, n) : null));
124
- }, { getComponentClasses: B, getComponentStackClasses: G } = O, _ = k(class extends y {
121
+ }, { getGidsNotificationContainerClassNames: Y, getNotificationContainerIconNames: E } = q, R = ({ notificationTitle: t, children: e, button: n, appearance: i = "default", pronunciation: a = "standard", onCloseNotificationClick: r, class: s, ...m }) => {
122
+ const c = E(i);
123
+ return o("div", { class: Y({ appearance: i }, s), ...m }, i !== "default" && c ? o("div", { class: "gids-notification-container__leading-icon-wrapper" }, o(p, { size: "md", name: c, alt: "", appearance: "filled" })) : null, o("div", { class: "gids-notification-container__content-wrapper" }, o("div", { class: "gids-notification-container__top-content" }, o("div", { class: "gids-notification-container__text-content" }, t != null && t !== "" ? o("span", { class: "gids-notification-container__title" }, t) : null, e ? typeof e == "string" ? o("p", null, e) : e : null), a === "standard" ? o("div", { class: "gids-notification-container__cross-btn-wrapper" }, o(u, { size: "sm", appearance: "subtle", width: "intrinsic", leadingIcon: o(p, { name: "cross", size: "md", appearance: "regular" }), onClick: r })) : null), n ? o("div", { class: "gids-notification-container__bottom-content" }, n) : null));
124
+ }, { getComponentClasses: B, getComponentStackClasses: G } = O, _ = C(class extends y {
125
125
  constructor(t) {
126
126
  super(), t !== !1 && this.__registerHost(), this.__attachShadow(), this._parentOverlayProvider = null, this._componentQueue = [], this._allowedComponentQueue = [], this._exitingComponents = [], this._renderSnackbar = (e, n) => {
127
127
  const { id: i, message: a, appearance: r, buttonLabel: s, onButtonClick: m } = e;
128
- return o(R, { key: i, class: n, children: a, appearance: r, button: s != null && s !== "" ? o(u, { appearance: "subtle", onClick: m }, s) : void 0 });
128
+ return o(X, { key: i, class: n, children: a, appearance: r, button: s != null && s !== "" ? o(u, { appearance: "subtle", onClick: m }, s) : void 0 });
129
129
  }, this._renderNotification = (e, n) => {
130
130
  const { id: i, notificationTitle: a, message: r, pronunciation: s, appearance: m, buttonLabel: c, onButtonClick: l, timerInMs: d } = e;
131
- return o(E, { key: i, class: n, notificationTitle: a, children: r, pronunciation: s, appearance: m, onCloseNotificationClick: () => this.removeComponent(e, d || 0, !0), button: c != null && c !== "" ? o(u, { appearance: "default", size: "sm", onClick: l }, c) : void 0 });
131
+ return o(R, { key: i, class: n, notificationTitle: a, children: r, pronunciation: s, appearance: m, onCloseNotificationClick: () => this.removeComponent(e, d || 0, !0), button: c != null && c !== "" ? o(u, { appearance: "default", size: "sm", onClick: l }, c) : void 0 });
132
132
  }, this._renderComponent = (e) => {
133
133
  const { componentName: n, position: i = "bottom-center", id: a } = e, r = B({ position: i, id: a, exitingComponents: this._exitingComponents });
134
134
  return n == null || n === "snackbar" ? this._renderSnackbar(e, r) : n === "notification" ? this._renderNotification(e, r) : null;
@@ -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: "cfacf71807978b22d6f2a9e33c0518e9aefc3a58" }, o("slot", { key: "4b4fa08f00a46a95ed4af543f85aad06affee847" }), this._isRoot() ? o("div", { class: G({ position: t }) }, [...this._allowedComponentQueue].reverse().map(((e) => this._renderComponent(e)))) : null);
190
+ return o(w, { key: "c130346274545aa8cb3b12390fa28f65b612dcd9" }, o("slot", { key: "6bfbde0f8f8a9cc75e3236ac806d762a9f2e0049" }), this._isRoot() ? o("div", { class: G({ position: t }) }, [...this._allowedComponentQueue].reverse().map(((e) => this._renderComponent(e)))) : null);
191
191
  }
192
192
  get _el() {
193
193
  return this;
@@ -196,13 +196,13 @@ const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
196
196
  return ".common-component-stack{display:flex;flex-direction:column;position:fixed;gap:var(--gids-gap-200);min-width:var(--gids-width-2-xs);max-width:var(--gids-width-md);width:100%}.component-stack-bottom-left{justify-self:left;bottom:var(--gids-padding-vertical-edge-to-element-250);left:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-bottom-right{justify-self:right;bottom:var(--gids-padding-vertical-edge-to-element-250);right:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-middle-left{top:50%;justify-self:left;align-self:center;left:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-middle-right{top:50%;justify-self:right;align-self:center;right:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-top-center{justify-self:center;top:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-top-left{justify-self:left;top:var(--gids-padding-vertical-edge-to-element-250);left:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-top-right{justify-self:right;top:var(--gids-padding-vertical-edge-to-element-250);right:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-bottom-center{justify-self:center;bottom:var(--gids-padding-vertical-edge-to-element-250)}.component-enter-bottom-left{animation-name:left-to-right-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-bottom-right{animation-name:right-to-left-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-middle-left{animation-name:left-to-right-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-middle-right{animation-name:right-to-left-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-top-center{animation-name:slide-up-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-top-left{animation-name:left-to-right-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-top-right{animation-name:right-to-left-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-bottom-center{animation-name:slide-up-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-bottom-left{animation-name:right-to-left-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-bottom-right{animation-name:left-to-right-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-middle-left{animation-name:right-to-left-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-middle-right{animation-name:left-to-right-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-top-center{animation-name:slide-down-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-top-left{animation-name:right-to-left-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-top-right{animation-name:left-to-right-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-bottom-center{animation-name:slide-down-invisible;animation-duration:0.3s;animation-fill-mode:forwards}@keyframes slide-up-visible{0%{opacity:0;transform:translateY(100%)}100%{opacity:1;transform:translateY(0)}}@keyframes slide-down-invisible{0%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(100%)}}@keyframes slide-up-invisible{0%{opacity:0;transform:translateY(-100%)}100%{opacity:1;transform:translateY(0)}}@keyframes slide-down-visible{0%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-100%)}}@keyframes left-to-right-visible{0%{opacity:0;transform:translateX(-100%)}100%{opacity:1;transform:translateX(0)}}@keyframes right-to-left-invisible{0%{opacity:1;transform:translateX(0)}100%{opacity:0;transform:translateX(-100%)}}@keyframes right-to-left-visible{0%{opacity:0;transform:translateX(100%)}100%{opacity:1;transform:translateX(0)}}@keyframes left-to-right-invisible{0%{opacity:1;transform:translateX(0)}100%{opacity:0;transform:translateX(100%)}}";
197
197
  }
198
198
  }, [257, "gids-overlay-provider", { _componentQueue: [32], _allowedComponentQueue: [32], _exitingComponents: [32], queueComponent: [64] }]);
199
- function C() {
199
+ function k() {
200
200
  typeof customElements < "u" && ["gids-overlay-provider"].forEach(((t) => {
201
201
  t === "gids-overlay-provider" && (customElements.get(f(t)) || customElements.define(f(t), _));
202
202
  }));
203
203
  }
204
- C();
205
- const K = _, U = C;
204
+ k();
205
+ const K = _, U = k;
206
206
  export {
207
207
  K as GidsOverlayProvider,
208
208
  U as defineCustomElement
@@ -1,10 +1,11 @@
1
- import { C as S, f as P, V as v, N as x, R as i, L as T, H as h } from "./p-ibikYq-w-BsGxk8ro.js";
1
+ import { _ as y, u as S, q as w, M as T, T as i, L as x, P as h } from "./p-Ct3Ixgvf-CNP_PKwP.js";
2
2
  import { i as C } from "./p-B2zUuNXz-BLBgQDu7.js";
3
- import { n as L, o as O } from "./p-DijVkS9b-CeV1i4T-.js";
4
- import { o as F } from "./p-CFw4_-5A-Dzvju3VE.js";
5
- import { g as k, d as j } from "./p-veoOgDXg-fRinub-C.js";
6
- import { h as E } from "./p-iCAclJND-Bmsvd-W1.js";
7
- import { r as G } from "./p-DvoHLz_5-C5EvA91N.js";
3
+ import { a as L } from "./p-CRngHsR7-DL9wz3Z3.js";
4
+ import { r as O } from "./p-DZWWuJac-DNQvnHAr.js";
5
+ import { o as F } from "./p-KxRqlvSh-JOFDmT0B.js";
6
+ import { g as k, d as j } from "./p-BnL97lOW-BO0p4EdC.js";
7
+ import { h as E } from "./p-BvYnawkJ-DohV9UNG.js";
8
+ import { r as G } from "./p-DfFqFdmS-DjI2pk-0.js";
8
9
  import { c as g } from "./clsx-OuTLNxxd.js";
9
10
  const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e, meterRules: t = [], textMinLength: s = 0 }) => {
10
11
  if (!e || e === "")
@@ -22,7 +23,7 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
22
23
  include1LowercaseLetterReg: p,
23
24
  include1SpecialCharReg: q,
24
25
  include1UppercaseLetterReg: f
25
- }, 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) => {
26
27
  const t = [];
27
28
  return e && e.length > 0 && e.map((s) => {
28
29
  s?.requirementRule && t.push(s.requirementRule);
@@ -40,7 +41,7 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
40
41
  case "1-special-character":
41
42
  return q.test(s);
42
43
  case "include-min-length":
43
- return d({
44
+ return o({
44
45
  requirementRule: "include-min-length",
45
46
  textMinLength: t
46
47
  }) === !0 && s.length >= t;
@@ -66,7 +67,7 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
66
67
  requirementText: "Password must contain atleast 1 lowercase letter."
67
68
  }
68
69
  ];
69
- return d({
70
+ return o({
70
71
  requirementRule: "include-min-length",
71
72
  textMinLength: e
72
73
  }) && t.push({
@@ -76,13 +77,13 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
76
77
  defaultMeterRules: R(t),
77
78
  defaultRequirementsMeterRules: t
78
79
  };
79
- }, N = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
80
+ }, $ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
80
81
  __proto__: null,
81
82
  checkRequirementRuleSatisfied: I,
82
83
  getDefaultRulesAndRequirementsForMeters: m,
83
84
  getMeterRulesFromRequirements: R,
84
- minLengthRuleCanBeApplied: d
85
- }, Symbol.toStringTag, { value: "Module" })), V = (e) => {
85
+ minLengthRuleCanBeApplied: o
86
+ }, Symbol.toStringTag, { value: "Module" })), N = (e) => {
86
87
  switch (e) {
87
88
  case "error":
88
89
  return "danger";
@@ -95,9 +96,9 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
95
96
  default:
96
97
  return "globe";
97
98
  }
98
- }, $ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
99
+ }, V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
99
100
  __proto__: null,
100
- getRequirementsMeterLabelLeadingIcon: V
101
+ getRequirementsMeterLabelLeadingIcon: N
101
102
  }, Symbol.toStringTag, { value: "Module" })), D = (e) => {
102
103
  switch (e) {
103
104
  case "error":
@@ -132,25 +133,25 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
132
133
  return s.length > 0 ? i("div", { class: te(n) }, (() => {
133
134
  const r = s.length, l = se({ text: e, textMinLength: t, meterRules: s }), u = re({ textScore: l, maxScore: r });
134
135
  return Array.from({ length: r }, ((_, c) => {
135
- const o = c + 1, w = o <= l;
136
- 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, v = d <= l;
137
+ return s[d] === "include-min-length" ? o({ requirementRule: "include-min-length", textMinLength: t }) ? a(d, u, v) : null : a(d, u, v);
137
138
  }));
138
139
  })()) : null;
139
- }, { getGidsRequirementsMeterLabelClassNames: ne } = J, { getRequirementsMeterLabelLeadingIcon: le } = $, ae = (e) => {
140
+ }, { getGidsRequirementsMeterLabelClassNames: ne } = J, { getRequirementsMeterLabelLeadingIcon: le } = V, ae = (e) => {
140
141
  const { label: t, status: s = "default", leadingIconVisible: n = !0, class: a } = e, r = le(s);
141
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);
142
- }, { checkRequirementRuleSatisfied: ue } = N, { 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 }) => {
143
144
  const a = (r, l) => i(ae, { status: l ? "success" : "error", label: r.requirementText });
144
- return i("div", { class: oe(n) }, e.map(((r) => {
145
+ return i("div", { class: de(n) }, e.map(((r) => {
145
146
  if (r?.requirementText != null && r?.requirementRule != null) {
146
147
  const l = ue({ rule: r.requirementRule, textMinLength: s, text: t });
147
- 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);
148
149
  }
149
150
  return null;
150
151
  })));
151
- }, { inputToGidsFieldStatusForPassword: ce } = ee, M = S(class extends P {
152
+ }, { inputToGidsFieldStatusForPassword: ce } = ee, M = y(class extends S {
152
153
  constructor(e) {
153
- super(), e !== !1 && this.__registerHost(), this.gidsPasswordFieldClear = v(this, "gidsPasswordFieldClear"), this.gidsPasswordFieldRevealPassword = v(this, "gidsPasswordFieldRevealPassword"), this.isPasswordRevealed = !1, this.meterRules = [], this.requirementsMeterRequirements = [], this.requirements = [], this.#t = k(), this._handleDismiss = () => {
154
+ super(), e !== !1 && this.__registerHost(), this.gidsPasswordFieldClear = w(this, "gidsPasswordFieldClear"), this.gidsPasswordFieldRevealPassword = w(this, "gidsPasswordFieldRevealPassword"), this.isPasswordRevealed = !1, this.meterRules = [], this.requirementsMeterRequirements = [], this.requirements = [], this.#t = k(), this._handleDismiss = () => {
154
155
  const t = this.#e?.querySelector("input.gids-input__control");
155
156
  t && (t.value = "", t.dispatchEvent(new globalThis.Event("input", { bubbles: !0 }))), this.value = "", this.gidsPasswordFieldClear.emit();
156
157
  }, this._handleRevealPassword = () => {
@@ -170,7 +171,7 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
170
171
  }
171
172
  _startSlotContentObserver() {
172
173
  this._slotContentObserver = new MutationObserver((() => {
173
- x(this);
174
+ T(this);
174
175
  })), this._slotContentObserver.observe(this._el, { childList: !0, subtree: !1, attributes: !0, attributeFilter: ["slot"] });
175
176
  }
176
177
  handleRequirementsChange(e) {
@@ -190,7 +191,7 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
190
191
  #e;
191
192
  render() {
192
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;
193
- return i(T, { key: "674d6baf90ed0a3b9bf6821fb288972ffe255909" }, i("gids-field", { key: "2b1f7f67ef3616edf29843b663c4e1efa8ce416a", disabled: this.disabled, count: void 0, helperText: this.helperText, statusText: this.statusText, status: ce(this.status) }, i(L, { key: "ccd09eba06b8876d216181b8dd7fbcb1ff742d86", 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: "f9a8c8f13347b5dd7620e8498aeb85ec646f000f", 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: "56c43774f755d7ae1ac6e633e39426d2b489414a", name: "leadingIcon" }), i("slot", { key: "1e964257af8f053e0d7c9de51fc0ec48a38b6d18", name: "leadingAccessory" }), i("div", { key: "f453197e76a4c8c01f1fa12a6f0c551a14f71f5d", slot: "trailingAccessory", class: "gids-password-field__trailing-accessory" }, n && i(O, { key: "3127641007c6eb5db4e9b8c6bd521e6cdf80e59b", label: "clear text", size: "lg", onPressDismiss: this._handleDismiss }), a && i(F, { key: "bc537fa18fabe13e16ec2a7c8b5f4611e589c4c7", appearance: "default", size: "xs", width: "intrinsic", disabled: this.disabled, onClick: this._handleRevealPassword }, u ? "Hide" : "Show")))), i("div", { key: "355033afd60090f7b04e48db5c1d675f29663e18", class: "gids-password-field__meters-container" }, i(ie, { key: "fb407fffb5de91b9bc30c1e7593fee01b5fa2a09", meterRules: _, text: this.value, textMinLength: c }), i(de, { key: "6888d147c99ea7902954e55ad91a5d64d7c1a031", requirements: this.requirementsMeterRequirements, text: this.value, textMinLength: c })));
194
+ return i(x, { key: "20e80248a1bf89a1fbcc45afde2d53bd51fbdbcc" }, i("gids-field", { key: "f3b8a64102cca5dc4342cc06c24c42ade33ff182", disabled: this.disabled, count: void 0, helperText: this.helperText, statusText: this.statusText, status: ce(this.status) }, i(L, { key: "49d56818bb59470c86a1375540849ac72a85ec39", slot: "label", disabled: this.disabled, info: i("slot", { name: "info" }), fieldRequirement: this.fieldRequirement, fieldRequirementOptionalText: this.fieldRequirementOptionalText, fieldRequirementRequiredText: this.fieldRequirementRequiredText, isLabelSentence: this.isLabelSentence, htmlFor: s }, this.label), i("gids-input", { key: "b4c52f50b940fd6d9bf8102cd8e9982827348294", ref: (d) => this.#e = d, appearance: "default", status: this.status, loading: this.loading, value: this.value, defaultValue: this.defaultValue, name: this.name, required: this.required, disabled: this.disabled, readOnly: this.readOnly, leadingLabel: void 0, trailingLabel: void 0, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur, onInput: this._handleInput, inputProps: { ...r, placeholder: l, type: u ? "text" : "password", id: s, maxLength: this.maxLength } }, i("slot", { key: "125c163e6d2b647aee98931303cd133e67ccdd75", name: "leadingIcon" }), i("slot", { key: "137a5bf21cd658dc4eca833fb09954b3b68393d4", name: "leadingAccessory" }), i("div", { key: "4e87732b5d198ac176dc0fc68a99cb4b82cbcdf4", slot: "trailingAccessory", class: "gids-password-field__trailing-accessory" }, n && i(O, { key: "a8016058d8823a75c0188fe707f39aad1834a6e6", label: "clear text", size: "lg", onPressDismiss: this._handleDismiss }), a && i(F, { key: "3bfe55f6787c42df0a9a9351ac96b12fa90826ab", appearance: "default", size: "xs", width: "intrinsic", disabled: this.disabled, onClick: this._handleRevealPassword }, u ? "Hide" : "Show")))), i("div", { key: "d2b12032cafa7414481251d9b2c5cacc94bcf745", class: "gids-password-field__meters-container" }, i(ie, { key: "5aa93ffa5361c3b4d5b8f9d7fd13ff6628821ebe", meterRules: _, text: this.value, textMinLength: c }), i(oe, { key: "96131ad3f4c4318450952b2c6b8325d2bd567cf6", requirements: this.requirementsMeterRequirements, text: this.value, textMinLength: c })));
194
195
  }
195
196
  get _el() {
196
197
  return this;
@@ -199,7 +200,7 @@ const f = /[A-Z]/, p = /[a-z]/, b = /[0-9]/, q = /[^A-Za-z0-9]/, z = ({ text: e,
199
200
  return { requirements: [{ handleRequirementsChange: 0 }], textMinLength: [{ handleRequirementsChange: 0 }] };
200
201
  }
201
202
  }, [260, "gids-password-field", { label: [513], showClearButton: [516, "show-clear-button"], showRevealPasswordButton: [516, "show-reveal-password-button"], helperText: [513, "helper-text"], statusText: [513, "status-text"], status: [513], loading: [516], name: [513], required: [516], maxLength: [514, "maxlength"], value: [1], defaultValue: [513, "default-value"], disabled: [516], readOnly: [516, "readonly"], inputProps: [16], fieldRequirement: [513, "field-requirement"], fieldRequirementOptionalText: [1, "field-requirement-optional-text"], fieldRequirementRequiredText: [1, "field-requirement-required-text"], isLabelSentence: [16], textMinLength: [514, "text-min-length"], requirements: [16], isPasswordRevealed: [32], meterRules: [32], requirementsMeterRequirements: [32] }, void 0, { requirements: [{ handleRequirementsChange: 0 }], textMinLength: [{ handleRequirementsChange: 0 }] }]);
202
- function y() {
203
+ function P() {
203
204
  typeof customElements < "u" && ["gids-password-field", "gids-field", "gids-input"].forEach(((e) => {
204
205
  switch (e) {
205
206
  case "gids-password-field":
@@ -213,9 +214,9 @@ function y() {
213
214
  }
214
215
  }));
215
216
  }
216
- y();
217
- const _e = M, we = y;
217
+ P();
218
+ const ve = M, we = P;
218
219
  export {
219
- _e as GidsPasswordField,
220
+ ve as GidsPasswordField,
220
221
  we as defineCustomElement
221
222
  };
@@ -0,0 +1,6 @@
1
+ import { n as e, c as s } from "./p-tyIgTtUC-C8jR4A5G.js";
2
+ const o = e, i = s;
3
+ export {
4
+ o as GidsPieChart,
5
+ i as defineCustomElement
6
+ };
@@ -1,6 +1,6 @@
1
- import { C as v, f as p, R as a, L as f, H as l } from "./p-ibikYq-w-BsGxk8ro.js";
2
- import { g as b } from "./p-a3JfEYJp-DyhDK6VZ.js";
3
- import { o as E } from "./p-B8kX8Vqv-trBz4jdS.js";
1
+ import { _ as v, u as p, T as a, L as f, P as l } from "./p-Ct3Ixgvf-CNP_PKwP.js";
2
+ import { g as E } from "./p-a3JfEYJp-DyhDK6VZ.js";
3
+ import { o as b } from "./p-B8kX8Vqv-trBz4jdS.js";
4
4
  const h = v(class extends p {
5
5
  constructor(e) {
6
6
  super(), e !== !1 && this.__registerHost(), this.__attachShadow(), this.placement = "bottom", this.previouslyFocusedElement = null, this.focusableElements = [], this.handleToggleEvent = (t) => {
@@ -14,7 +14,7 @@ const h = v(class extends p {
14
14
  };
15
15
  }
16
16
  componentDidLoad() {
17
- this.floatingElementManager = new b(this._el, { htmlFor: this.htmlFor, placement: this.placement, showWithoutDelay: !0, floatingElementSelector: "#popover", arrowElementSelector: "#arrow", visibilityClass: "gids-popover--visible", elementType: E.POPOVER, getAnchorElementFromSlot: (e) => e.querySelector('slot[name="anchor"]')?.assignedElements()[0] || null }), this.floatingElementManager.initialize(), this.setupEventListeners();
17
+ this.floatingElementManager = new E(this._el, { htmlFor: this.htmlFor, placement: this.placement, showWithoutDelay: !0, floatingElementSelector: "#popover", arrowElementSelector: "#arrow", visibilityClass: "gids-popover--visible", elementType: b.POPOVER, getAnchorElementFromSlot: (e) => e.querySelector('slot[name="anchor"]')?.assignedElements()[0] || null }), this.floatingElementManager.initialize(), this.setupEventListeners();
18
18
  }
19
19
  setupEventListeners() {
20
20
  const e = this.floatingElementManager.getAnchorElement();
@@ -38,8 +38,8 @@ const h = v(class extends p {
38
38
  const s = c(i);
39
39
  t.push(...s);
40
40
  })), this.focusableElements = t.sort(((i, s) => {
41
- const r = i.compareDocumentPosition(s), m = !!(r & Node.DOCUMENT_POSITION_FOLLOWING), u = !!(r & Node.DOCUMENT_POSITION_PRECEDING);
42
- return m ? -1 : u ? 1 : 0;
41
+ const r = i.compareDocumentPosition(s), u = !!(r & Node.DOCUMENT_POSITION_FOLLOWING), m = !!(r & Node.DOCUMENT_POSITION_PRECEDING);
42
+ return u ? -1 : m ? 1 : 0;
43
43
  }));
44
44
  }
45
45
  trapFocus(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: "da6cbab41d3390a940444809d9fe809225c9426e" }, a("slot", { key: "5a5e5f72ab9c793e02b7bd633381363ab37cbf22", name: "anchor" }), a("div", { key: "49ab365961e8a3d9bf0e6ac67f2c73fda1eb7bb3", id: "popover", part: "popover", role: "dialog", "aria-modal": "true", tabindex: "-1" }, a("span", { key: "9815148f291ebca88b4a2bbe09b0e93fcbaab4a7", id: "arrow" }), a("div", { key: "b6d83da9bd180933b5f2453f3e66f66f692e35c1" }, a("slot", { key: "90aaeadfe9d09ebdd6534afa762b35c38a5cc57f" }))));
67
+ return a(f, { key: "4147e2407a0e2592d65db07e6d92dcbd37e52b5d" }, a("slot", { key: "82f2de1b78ee81f7b2363a2fbf4fc80029c6529f", name: "anchor" }), a("div", { key: "371b9c7c170bf8621e2a847eca6771e140ee161e", id: "popover", part: "popover", role: "dialog", "aria-modal": "true", tabindex: "-1" }, a("span", { key: "19dbf2c247353839c075674f068f2d435a23bec1", id: "arrow" }), a("div", { key: "374d276cdd13093c74b8a35d7447c328f4f90d0c" }, a("slot", { key: "45d5f02df1f6aa160d080a5f5a10e0ba9e6aa8f8" }))));
68
68
  }
69
69
  disconnectedCallback() {
70
70
  this.cleanupEventListeners(), this.floatingElementManager?.destroy();
@@ -0,0 +1,6 @@
1
+ import { h as e, d as r } from "./p-quZYWCxU-CPyWW0nv.js";
2
+ const o = e, t = r;
3
+ export {
4
+ o as GidsProgressCircle,
5
+ t as defineCustomElement
6
+ };
@@ -1,10 +1,10 @@
1
- import { C as o, f as c, R as e, H as t } from "./p-ibikYq-w-BsGxk8ro.js";
1
+ import { _ as o, u as c, T as e, P as t } from "./p-Ct3Ixgvf-CNP_PKwP.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, 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: "da4b587303359a6075411a1843e03eff6eed68ce", class: this.activeClasses, part: "root" }, e("slot", { key: "5a52f6e5628c771b2dd0f5a6221005a0ed8b9fbb" }));
19
+ return e("div", { key: "bb28bc59d4522f27c3637774153603462d628be0", class: this.activeClasses, part: "root" }, e("slot", { key: "24becefcfa3a4842163b62a255266d71dd27d765" }));
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 u = r, C = i;
36
+ r();
37
+ const f = i, C = r;
38
38
  export {
39
- u as GidsScrim,
39
+ f as GidsScrim,
40
40
  C as defineCustomElement
41
41
  };
@@ -1,4 +1,4 @@
1
- import { C as a, f as o, H as s } from "./p-ibikYq-w-BsGxk8ro.js";
1
+ import { _ as a, u as o, P as s } from "./p-Ct3Ixgvf-CNP_PKwP.js";
2
2
  import { e as i } from "./p-CVtNa0cL-sSVeJsR3.js";
3
3
  const e = a(class extends o {
4
4
  constructor(t) {
@@ -1,9 +1,10 @@
1
- import { C as u, f as c, V as h, N as f, R as i, H as s } from "./p-ibikYq-w-BsGxk8ro.js";
2
- import { i as m } from "./p-B2zUuNXz-BLBgQDu7.js";
3
- import { o as b, n as p } from "./p-DijVkS9b-CeV1i4T-.js";
4
- import { h as g } from "./p-iCAclJND-Bmsvd-W1.js";
5
- import { r as x } from "./p-DvoHLz_5-C5EvA91N.js";
6
- import { g as _ } from "./p-veoOgDXg-fRinub-C.js";
1
+ import { _ as u, u as h, q as c, M as f, T as i, P as s } from "./p-Ct3Ixgvf-CNP_PKwP.js";
2
+ import { i as b } from "./p-B2zUuNXz-BLBgQDu7.js";
3
+ import { a as m } from "./p-CRngHsR7-DL9wz3Z3.js";
4
+ import { r as p } from "./p-DZWWuJac-DNQvnHAr.js";
5
+ import { h as g } from "./p-BvYnawkJ-DohV9UNG.js";
6
+ import { r as x } from "./p-DfFqFdmS-DjI2pk-0.js";
7
+ import { g as _ } from "./p-BnL97lOW-BO0p4EdC.js";
7
8
  const v = (e, t) => {
8
9
  if (!(e === void 0 || t === void 0))
9
10
  return `${e} / ${Math.max(t, 0)}`;
@@ -16,16 +17,16 @@ const v = (e, t) => {
16
17
  default:
17
18
  return "default";
18
19
  }
19
- }, l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20
+ }, n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20
21
  __proto__: null,
21
22
  formatCharCount: v,
22
23
  inputToGidsFieldStatus: T
23
- }, 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({
24
25
  __proto__: null,
25
26
  inputToGidsFieldStatus: q
26
- }, Symbol.toStringTag, { value: "Module" })), { formatCharCount: F } = l, { inputToGidsFieldStatus: O } = C, a = u(class extends c {
27
+ }, Symbol.toStringTag, { value: "Module" })), { formatCharCount: F } = n, { inputToGidsFieldStatus: O } = C, a = u(class extends h {
27
28
  constructor(e) {
28
- super(), e !== !1 && this.__registerHost(), this.gidsTextFieldClear = h(this, "gidsTextFieldClear"), this.#e = _(), this._handleDismiss = () => {
29
+ super(), e !== !1 && this.__registerHost(), this.gidsTextFieldClear = c(this, "gidsTextFieldClear"), this.#e = _(), this._handleDismiss = () => {
29
30
  const t = this.#t?.querySelector("input.gids-input__control");
30
31
  t && (t.value = "", t.dispatchEvent(new globalThis.Event("input", { bubbles: !0 }))), this.value = "", this.gidsTextFieldClear.emit();
31
32
  }, this._handleInput = (t) => {
@@ -40,7 +41,7 @@ const v = (e, t) => {
40
41
  })), this._slotContentObserver.observe(this._el, { childList: !0, subtree: !1, attributes: !0, attributeFilter: ["slot"] });
41
42
  }
42
43
  connectedCallback() {
43
- const e = m();
44
+ const e = b();
44
45
  e !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(e), this._startSlotContentObserver();
45
46
  }
46
47
  disconnectedCallback() {
@@ -49,8 +50,8 @@ const v = (e, t) => {
49
50
  #e;
50
51
  #t;
51
52
  render() {
52
- const { id: e, ...t } = this.inputProps ?? {}, n = e ?? this.#e, d = this.showClearButton && this.value !== void 0 && this.value.length > 0;
53
- return i("gids-field", { key: "80f1981d584f417e010322b2c5ec07a60dc1f388", disabled: this.disabled, count: F(this.value?.length, this.maxLength), helperText: this.helperText, statusText: this.statusText, status: O(this.status) }, i(p, { key: "f222a99181809cf9ccdc1ad9ceed98c985681553", slot: "label", disabled: this.disabled, info: i("slot", { name: "info" }), fieldRequirement: this.fieldRequirement, fieldRequirementOptionalText: this.fieldRequirementOptionalText, fieldRequirementRequiredText: this.fieldRequirementRequiredText, isLabelSentence: this.isLabelSentence, htmlFor: n }, this.label), i("gids-input", { key: "7ff6cf33f16be119ecc705af8a7fb8965b01b74c", 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: n, maxLength: this.maxLength } }, i("slot", { key: "d3e260125c8d8f56870e6f484894bd1a1aa8e03b", name: "leadingIcon" }), i("slot", { key: "0445885d41f43d6a76f48ed482673a266b6a0182", name: "leadingAccessory" }), d && i(b, { key: "be16083a8e414be66ceb37e076f9ebc01cc4fc8f", label: "clear text", slot: "trailingAccessory", size: "lg", onPressDismiss: this._handleDismiss }), i("slot", { key: "0dc7436a9ca21e57409cc18340747295915d2d5f", 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: "d11133ec5a64d0bc929a2c09530e1c4b7040a441", disabled: this.disabled, count: F(this.value?.length, this.maxLength), helperText: this.helperText, statusText: this.statusText, status: O(this.status) }, i(m, { key: "edf0168bd4940b9f98fff8b7e03d865f46f4b6ac", slot: "label", disabled: this.disabled, info: i("slot", { name: "info" }), fieldRequirement: this.fieldRequirement, fieldRequirementOptionalText: this.fieldRequirementOptionalText, fieldRequirementRequiredText: this.fieldRequirementRequiredText, isLabelSentence: this.isLabelSentence, htmlFor: l }, this.label), i("gids-input", { key: "317347850ebc9f671a16c816807f9ca55f0f9fa6", ref: (o) => this.#t = o, appearance: this.appearance, status: this.status, loading: this.loading, value: this.value, defaultValue: this.defaultValue, name: this.name, required: this.required, disabled: this.disabled, readOnly: this.readOnly, leadingLabel: this.leadingLabel, trailingLabel: this.trailingLabel, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur, onInput: this._handleInput, inputProps: { ...t, type: this.type, id: l, maxLength: this.maxLength } }, i("slot", { key: "87815f4d215bbb0c542457b9216f7446595d9ec2", name: "leadingIcon" }), i("slot", { key: "6648b1d8d3585e1df78039a356a297760272af4f", name: "leadingAccessory" }), d && i(p, { key: "7eba5acbfdfe1c9173d43bce1592f8e12c8602cb", label: "clear text", slot: "trailingAccessory", size: "lg", onPressDismiss: this._handleDismiss }), i("slot", { key: "85017d875b4390fec245b9da8409787a2bd86909", name: "trailingIcon" })));
54
55
  }
55
56
  get _el() {
56
57
  return this;
@@ -71,8 +72,8 @@ function r() {
71
72
  }));
72
73
  }
73
74
  r();
74
- const I = a, G = r;
75
+ const P = a, G = r;
75
76
  export {
76
- I as GidsTextField,
77
+ P as GidsTextField,
77
78
  G as defineCustomElement
78
79
  };
@@ -1,7 +1,7 @@
1
- import { C as l, f as n, V as d, R as t, D as a, H as s } from "./p-ibikYq-w-BsGxk8ro.js";
2
- import { o as c } from "./p-CFw4_-5A-Dzvju3VE.js";
1
+ import { _ as l, u as d, q as n, T as t, H as c, P as s } from "./p-Ct3Ixgvf-CNP_PKwP.js";
2
+ import { o as a } from "./p-KxRqlvSh-JOFDmT0B.js";
3
3
  import { i as h } from "./p-B2zUuNXz-BLBgQDu7.js";
4
- const i = l(class extends n {
4
+ const i = l(class extends d {
5
5
  get selected() {
6
6
  return this.#e ?? this.defaultSelected;
7
7
  }
@@ -9,7 +9,7 @@ const i = l(class extends n {
9
9
  this.#e = e === void 0 ? void 0 : !!e;
10
10
  }
11
11
  constructor(e) {
12
- super(), e !== !1 && this.__registerHost(), this.__attachShadow(), this.select = d(this, "select"), this._toggle = this._toggle.bind(this);
12
+ super(), e !== !1 && this.__registerHost(), this.__attachShadow(), this.select = n(this, "select"), this._toggle = this._toggle.bind(this);
13
13
  }
14
14
  #e;
15
15
  connectedCallback() {
@@ -21,9 +21,9 @@ const i = l(class extends n {
21
21
  this._el.selected = e, this.select?.emit(e);
22
22
  }
23
23
  render() {
24
- return t(a, { key: "56bc99780f392c4d5064eaa47819ee1ff0897c79" }, t("style", { key: "e330f982d625eeb7f72ede3f382231fb5791ec47" }, `:host {
24
+ return t(c, { key: "d95b05ee98862e9fa4ee50ae676fded8234de63d" }, t("style", { key: "844be4d370a1d44e4c18b828ed2cfab3bd702cfd" }, `:host {
25
25
  display: ${this.width === "full" ? "block" : "inline-block"}
26
- }`), t(c, { key: "ccef97603f645ba92fd4180263d2cbeff0a54a07", appearance: this.appearance, size: this.size, width: this.width, disabled: this.disabled, onClick: this._toggle, "aria-pressed": this.selected ? "true" : "false", leadingIcon: t("slot", { name: "leadingIcon" }), trailingIcon: t("slot", { name: "trailingIcon" }), forceIconOnly: this._onlyHasLeadingIcon() }, t("slot", { key: "7094015cf47ef8d045955419aa43f03174145928" })));
26
+ }`), t(a, { key: "510307e7bfce966e96422999f5309e0df3e62634", appearance: this.appearance, size: this.size, width: this.width, disabled: this.disabled, onClick: this._toggle, "aria-pressed": this.selected ? "true" : "false", leadingIcon: t("slot", { name: "leadingIcon" }), trailingIcon: t("slot", { name: "trailingIcon" }), forceIconOnly: this._onlyHasLeadingIcon() }, t("slot", { key: "38bff264ed88090ee4567650417ccb86805fca98" })));
27
27
  }
28
28
  _onlyHasLeadingIcon() {
29
29
  const e = this._el.childNodes;
@@ -39,8 +39,8 @@ function o() {
39
39
  }));
40
40
  }
41
41
  o();
42
- const u = i, m = o;
42
+ const u = i, b = o;
43
43
  export {
44
44
  u as GidsToggleButton,
45
- m as defineCustomElement
45
+ b as defineCustomElement
46
46
  };
@@ -1,4 +1,4 @@
1
- import { C as n, f as l, R as e, L as s, H as i } from "./p-ibikYq-w-BsGxk8ro.js";
1
+ import { _ as n, u as l, T as e, L as s, P as i } from "./p-Ct3Ixgvf-CNP_PKwP.js";
2
2
  import { g as r } from "./p-a3JfEYJp-DyhDK6VZ.js";
3
3
  import { i as d } from "./p-B2zUuNXz-BLBgQDu7.js";
4
4
  import { o as h } from "./p-B8kX8Vqv-trBz4jdS.js";
@@ -38,7 +38,7 @@ const o = n(class extends l {
38
38
  t && (t.removeEventListener("mouseenter", this.handleShowEvent), t.removeEventListener("focus", this.handleShowEvent), t.removeEventListener("mouseleave", this.handleHideEvent), t.removeEventListener("blur", this.handleHideEvent));
39
39
  }
40
40
  render() {
41
- return e(s, { key: "49747828eaa09ead2d1e2f6d9d28b66c2db76103" }, e("slot", { key: "9ad53320553f1377f01f026a95f7cb894d91c98a" }), e("span", { key: "6116e418faa09d82975a3830f7e0bedcbdd8e87f", id: "tooltip", part: "tooltip", role: "tooltip" }, e("span", { key: "677d275b2e161441d76315c50a60a941d6dd010a", id: "arrow" }), this.tooltipText));
41
+ return e(s, { key: "f9e6c76e1f2b3faa2c2ed5b1f5c28c4b11878819" }, e("slot", { key: "1c36da89ba7d6a20f0e5204d5c079dbc64226d56" }), e("span", { key: "ac4972259978f2e52fc15545a28dc2375ef370cd", id: "tooltip", part: "tooltip", role: "tooltip" }, e("span", { key: "49a7b319f5f0a87befe6e5d355d846dae12a9644", id: "arrow" }), this.tooltipText));
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 v = o, f = a;
62
+ const f = o, v = a;
63
63
  export {
64
- v as GidsTooltip,
65
- f as defineCustomElement
64
+ f as GidsTooltip,
65
+ v as defineCustomElement
66
66
  };
@@ -1,4 +1,4 @@
1
- import { w as y, a as A, j as u, F as G, b as P } from "./p-ibikYq-w-BsGxk8ro.js";
1
+ import { j as y, a as A, O as u, F as G, b as P } from "./p-Ct3Ixgvf-CNP_PKwP.js";
2
2
  import { i as E, n as x } from "./p-B2zUuNXz-BLBgQDu7.js";
3
3
  import { o as $ } from "./p-B8kX8Vqv-trBz4jdS.js";
4
4
  import { s as d } from "./assets-Drv1fXkA.js";
@@ -0,0 +1,71 @@
1
+ import { P as i, _ as o, u as n, T as l } from "./p-Ct3Ixgvf-CNP_PKwP.js";
2
+ import { i as g } from "./p-B2zUuNXz-BLBgQDu7.js";
3
+ import { d as r } from "./p-BiPAgxAQ-BtMBQpJY.js";
4
+ import { c as h } from "./clsx-OuTLNxxd.js";
5
+ const c = ({ appearance: s, size: e, disabled: a }, d) => h("gids-dot", {
6
+ "gids-dot--disabled": a,
7
+ "gids-dot--subtle": s === "subtle" && !a,
8
+ "gids-dot--static-inverse": s === "static-inverse" && !a,
9
+ // sizes
10
+ // 'gids-dot--xs': size === 'xs', // default so no need
11
+ "gids-dot--sm": e === "sm",
12
+ "gids-dot--md": e === "md",
13
+ "gids-dot--lg": e === "lg",
14
+ "gids-dot--xl": e === "xl",
15
+ "gids-dot--2xl": e === "2xl",
16
+ "gids-dot--3xl": e === "3xl"
17
+ }, d), p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
18
+ __proto__: null,
19
+ getGidsDotClassNames: c
20
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsDotClassNames: t } = p, C = o(class extends n {
21
+ constructor(s) {
22
+ super(), s !== !1 && this.__registerHost(), this.appearance = "subtle", this.size = "xs", this.disabled = !1, this.activeClasses = "";
23
+ }
24
+ handleExtraClassesAndSizeChange(s) {
25
+ this.activeClasses = t({ size: this.size, appearance: this.appearance, disabled: this.disabled }, s);
26
+ }
27
+ handleAppearanceChange(s) {
28
+ this.appearance = s;
29
+ }
30
+ handleSizeChange(s) {
31
+ this.size = s;
32
+ }
33
+ handleDisabledChange(s) {
34
+ this.disabled = s;
35
+ }
36
+ connectedCallback() {
37
+ const s = g();
38
+ s !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(s), this.activeClasses = t({ size: this.size, appearance: this.appearance, disabled: this.disabled }, this.extraClasses);
39
+ }
40
+ componentDidLoad() {
41
+ this.activeClasses = t({ size: this.size, appearance: this.appearance, disabled: this.disabled }, this.extraClasses);
42
+ }
43
+ render() {
44
+ return l("gids-icon", { key: "1bb15dd637ede00b3e465e3da72f412ef0d710f9", class: this.activeClasses, name: "new", alt: "", appearance: "filled" });
45
+ }
46
+ get _el() {
47
+ return this;
48
+ }
49
+ static get watchers() {
50
+ return { extraClasses: [{ handleExtraClassesAndSizeChange: 0 }], appearance: [{ handleExtraClassesAndSizeChange: 0 }, { handleAppearanceChange: 0 }], size: [{ handleExtraClassesAndSizeChange: 0 }, { handleSizeChange: 0 }], disabled: [{ handleExtraClassesAndSizeChange: 0 }, { handleDisabledChange: 0 }] };
51
+ }
52
+ static get style() {
53
+ return ".gids-dot{display:flex;--gidsDotIcon-height:var(--gids-size-040);--gidsIcon-height:var(--gidsDotIcon-height);--gidsDotIcon-color:var(--gids-color-icon-subtle);--gidsIcon-color:var(--gidsDotIcon-color)}.gids-dot--sm{--gidsDotIcon-height:var(--gids-size-060)}.gids-dot--md{--gidsDotIcon-height:var(--gids-size-080)}.gids-dot--lg{--gidsDotIcon-height:var(--gids-size-100)}.gids-dot--xl{--gidsDotIcon-height:var(--gids-size-120)}.gids-dot--2xl{--gidsDotIcon-height:var(--gids-size-160)}.gids-dot--3xl{--gidsDotIcon-height:var(--gids-size-200)}.gids-dot--subtle{--gidsDotIcon-color:var(--gids-color-icon-subtle)}.gids-dot--static-inverse{--gidsDotIcon-color:var(--gids-color-icon-inverse)}.gids-dot--disabled{--gidsDotIcon-color:var(--gids-color-icon-disabled)}";
54
+ }
55
+ }, [0, "gids-dot", { extraClasses: [513, "extra-classes"], appearance: [513], size: [513], disabled: [516], activeClasses: [32] }, void 0, { extraClasses: [{ handleExtraClassesAndSizeChange: 0 }], appearance: [{ handleExtraClassesAndSizeChange: 0 }, { handleAppearanceChange: 0 }], size: [{ handleExtraClassesAndSizeChange: 0 }, { handleSizeChange: 0 }], disabled: [{ handleExtraClassesAndSizeChange: 0 }, { handleDisabledChange: 0 }] }]);
56
+ function b() {
57
+ typeof customElements < "u" && ["gids-dot", "gids-icon"].forEach(((s) => {
58
+ switch (s) {
59
+ case "gids-dot":
60
+ customElements.get(i(s)) || customElements.define(i(s), C);
61
+ break;
62
+ case "gids-icon":
63
+ customElements.get(i(s)) || r();
64
+ }
65
+ }));
66
+ }
67
+ b();
68
+ export {
69
+ b as g,
70
+ C as h
71
+ };