@ganpatiinfo/gids-core-web 9.0.0 → 10.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (218) hide show
  1. package/dist/css/index.css +1504 -1
  2. package/dist/css/index.css.map +1 -1
  3. package/dist/gids-action-bar.d.ts +11 -0
  4. package/dist/gids-action-bar.js +1 -0
  5. package/dist/gids-activity-gauge.d.ts +11 -0
  6. package/dist/gids-activity-gauge.js +1 -0
  7. package/dist/gids-bar-chart.d.ts +11 -0
  8. package/dist/gids-bar-chart.js +1 -0
  9. package/dist/gids-calendar-header-panel.d.ts +11 -0
  10. package/dist/gids-calendar-header-panel.js +1 -0
  11. package/dist/gids-calendar-month-list.d.ts +11 -0
  12. package/dist/gids-calendar-month-list.js +1 -0
  13. package/dist/gids-calendar-year-list.d.ts +11 -0
  14. package/dist/gids-calendar-year-list.js +1 -0
  15. package/dist/gids-calendar.d.ts +11 -0
  16. package/dist/gids-calendar.js +1 -0
  17. package/dist/gids-chart-legend-item.d.ts +11 -0
  18. package/dist/gids-chart-legend-item.js +1 -0
  19. package/dist/gids-chart-legend.d.ts +11 -0
  20. package/dist/gids-chart-legend.js +1 -0
  21. package/dist/gids-chart.d.ts +11 -0
  22. package/dist/gids-chart.js +1 -0
  23. package/dist/gids-chevron-button.d.ts +11 -0
  24. package/dist/gids-chevron-button.js +1 -0
  25. package/dist/gids-dot.d.ts +11 -0
  26. package/dist/gids-dot.js +1 -0
  27. package/dist/gids-dropdown-field.d.ts +11 -0
  28. package/dist/gids-dropdown-field.js +1 -0
  29. package/dist/gids-dropdown-picker.d.ts +11 -0
  30. package/dist/gids-dropdown-picker.js +1 -0
  31. package/dist/gids-dropdown.d.ts +11 -0
  32. package/dist/gids-dropdown.js +1 -0
  33. package/dist/gids-field.js +1 -1
  34. package/dist/gids-filter.d.ts +11 -0
  35. package/dist/gids-filter.js +1 -0
  36. package/dist/gids-icon.js +1 -1
  37. package/dist/gids-input.js +1 -1
  38. package/dist/gids-level-gauge.d.ts +11 -0
  39. package/dist/gids-level-gauge.js +1 -0
  40. package/dist/gids-line-chart.d.ts +11 -0
  41. package/dist/gids-line-chart.js +1 -0
  42. package/dist/gids-notification.js +1 -1
  43. package/dist/gids-overflow-container.js +1 -1
  44. package/dist/gids-overlay-provider.js +1 -1
  45. package/dist/gids-password-field.js +1 -1
  46. package/dist/gids-pie-chart.d.ts +11 -0
  47. package/dist/gids-pie-chart.js +1 -0
  48. package/dist/gids-popover.js +1 -1
  49. package/dist/gids-progress-circle.d.ts +11 -0
  50. package/dist/gids-progress-circle.js +1 -0
  51. package/dist/gids-scrim.js +1 -1
  52. package/dist/gids-snackbar.js +1 -1
  53. package/dist/gids-text-field.js +1 -1
  54. package/dist/gids-toggle-button.js +1 -1
  55. package/dist/gids-tooltip.js +1 -1
  56. package/dist/index.js +1 -1
  57. package/dist/{p-DvoHLz_5.js → p-BQ-ZnlnH.js} +1 -1
  58. package/dist/p-BZCJlqVe.js +1 -0
  59. package/dist/p-Bf3p-DY2.js +1 -0
  60. package/dist/p-BpQB6ncp.js +1 -0
  61. package/dist/{p-DybsMR13.js → p-CHGTBObD.js} +1 -1
  62. package/dist/p-CP1wz2PI.js +1 -0
  63. package/dist/p-CQH7eAs3.js +1 -0
  64. package/dist/p-CW7tw1Fb.js +1 -0
  65. package/dist/p-CaauwQNd.js +1 -0
  66. package/dist/p-Cn3-K5eR.js +1 -0
  67. package/dist/p-CoS0NuDU.js +1 -0
  68. package/dist/{p-veoOgDXg.js → p-D4Pimu_8.js} +1 -1
  69. package/dist/p-D6lxqcxP.js +1 -0
  70. package/dist/p-DMNS1d8v.js +1 -0
  71. package/dist/{p-iCAclJND.js → p-DNTv2BQ5.js} +1 -1
  72. package/dist/p-DPIK2ayL.js +1 -0
  73. package/dist/p-Db62Pz3n.js +1 -0
  74. package/dist/p-Degg_WJz.js +1 -0
  75. package/dist/p-DfxTsSdZ.js +1 -0
  76. package/dist/p-Dg2yoUxw.js +1 -0
  77. package/dist/p-DmLoB2Dn.js +1 -0
  78. package/dist/p-DoCwI_bx.js +1 -0
  79. package/dist/p-H1JIMJ2t.js +1 -0
  80. package/dist/p-JjN8U9B5.js +1 -0
  81. package/dist/p-UVmSPzTd.js +1 -0
  82. package/dist/p-UxDcM-C5.js +1 -0
  83. package/dist/p-V48JyMbP.js +1 -0
  84. package/dist/p-mZJdpfOo.js +1 -0
  85. package/dist/types/components/html/GidsButtonGroup/GidsButtonGroup.d.ts +2 -2
  86. package/dist/types/components/html/GidsCalendarCell/GidsCalendarCell.d.ts +7 -0
  87. package/dist/types/components/html/GidsCalendarDayCell/GidsCalendarDayCell.d.ts +4 -0
  88. package/dist/types/components/html/GidsDropdownItem/GidsDropdownItem.d.ts +1 -1
  89. package/dist/types/components/html/GidsDropdownMenu/GidsDropdownMenu.d.ts +1 -1
  90. package/dist/types/components/html/GidsDropdownMenuGroup/GidsDropdownMenuGroup.d.ts +1 -1
  91. package/dist/types/components/html/GidsListItem/GidsListItem.d.ts +2 -2
  92. package/dist/types/components/html/GidsPageTitle/GidsPageTitle.d.ts +4 -0
  93. package/dist/types/components/webComponents/GidsActionBar/GidsActionBar.d.ts +59 -0
  94. package/dist/types/components/webComponents/GidsActivityGauge/GidsActivityGauge.d.ts +23 -0
  95. package/dist/types/components/webComponents/GidsBarChart/GidsBarChart.d.ts +27 -0
  96. package/dist/types/components/webComponents/GidsCalendar/GidsCalendar.d.ts +34 -0
  97. package/dist/types/components/webComponents/GidsCalendarHeaderPanel/GidsCalendarHeaderPanel.d.ts +67 -0
  98. package/dist/types/components/webComponents/GidsCalendarMonthList/GidsCalendarMonthList.d.ts +26 -0
  99. package/dist/types/components/webComponents/GidsCalendarYearList/GidsCalendarYearList.d.ts +31 -0
  100. package/dist/types/components/webComponents/GidsChart/GidsChart.d.ts +19 -0
  101. package/dist/types/components/webComponents/GidsChartLegend/GidsChartLegend.d.ts +7 -0
  102. package/dist/types/components/webComponents/GidsChartLegendItem/GidsChartLegendItem.d.ts +9 -0
  103. package/dist/types/components/webComponents/GidsChevronButton/GidsChevronButton.d.ts +21 -0
  104. package/dist/types/components/webComponents/GidsDot/GidsDot.d.ts +17 -0
  105. package/dist/types/components/webComponents/GidsDropdown/GidsDropdown.d.ts +78 -0
  106. package/dist/types/components/webComponents/GidsDropdownField/GidsDropdownField.d.ts +37 -0
  107. package/dist/types/components/webComponents/GidsDropdownPicker/GidsDropdownPicker.d.ts +52 -0
  108. package/dist/types/components/webComponents/GidsFilter/GidsFilter.d.ts +55 -0
  109. package/dist/types/components/webComponents/GidsLevelGauge/GidsLevelGauge.d.ts +22 -0
  110. package/dist/types/components/webComponents/GidsLineChart/GidsLineChart.d.ts +27 -0
  111. package/dist/types/components/webComponents/GidsPieChart/GidsPieChart.d.ts +23 -0
  112. package/dist/types/components/webComponents/GidsProgressCircle/GidsProgressCircle.d.ts +24 -0
  113. package/dist/types/components/webComponents/GidsToggleButton/GidsToggleButton.d.ts +5 -3
  114. package/dist/types/components.d.ts +1585 -49
  115. package/dist/types/utils/childrenValidityUtils.d.ts +1 -1
  116. package/dist-bundled/es/gids-action-bar.js +177 -0
  117. package/dist-bundled/es/gids-activity-gauge.js +6 -0
  118. package/dist-bundled/es/gids-bar-chart.js +6 -0
  119. package/dist-bundled/es/gids-calendar-header-panel.js +6 -0
  120. package/dist-bundled/es/gids-calendar-month-list.js +6 -0
  121. package/dist-bundled/es/gids-calendar-year-list.js +6 -0
  122. package/dist-bundled/es/gids-calendar.js +153 -0
  123. package/dist-bundled/es/gids-chart-legend-item.js +6 -0
  124. package/dist-bundled/es/gids-chart-legend.js +6 -0
  125. package/dist-bundled/es/gids-chart.js +108 -0
  126. package/dist-bundled/es/gids-chevron-button.js +56 -0
  127. package/dist-bundled/es/gids-dot.js +6 -0
  128. package/dist-bundled/es/gids-dropdown-field.js +88 -0
  129. package/dist-bundled/es/gids-dropdown-picker.js +6 -0
  130. package/dist-bundled/es/gids-dropdown.js +6 -0
  131. package/dist-bundled/es/gids-field.js +1 -1
  132. package/dist-bundled/es/gids-filter.js +6 -0
  133. package/dist-bundled/es/gids-icon.js +3 -29
  134. package/dist-bundled/es/gids-input.js +4 -4
  135. package/dist-bundled/es/gids-level-gauge.js +6 -0
  136. package/dist-bundled/es/gids-line-chart.js +6 -0
  137. package/dist-bundled/es/gids-notification.js +1 -1
  138. package/dist-bundled/es/gids-overflow-container.js +6 -6
  139. package/dist-bundled/es/gids-overlay-provider.js +17 -17
  140. package/dist-bundled/es/gids-password-field.js +39 -38
  141. package/dist-bundled/es/gids-pie-chart.js +6 -0
  142. package/dist-bundled/es/gids-popover.js +10 -10
  143. package/dist-bundled/es/gids-progress-circle.js +6 -0
  144. package/dist-bundled/es/gids-scrim.js +8 -8
  145. package/dist-bundled/es/gids-snackbar.js +1 -1
  146. package/dist-bundled/es/gids-text-field.js +15 -14
  147. package/dist-bundled/es/gids-toggle-button.js +4 -44
  148. package/dist-bundled/es/gids-tooltip.js +2 -2
  149. package/dist-bundled/es/index.js +3 -3
  150. package/dist-bundled/es/{p-DvoHLz_5-C5EvA91N.js → p-BQ-ZnlnH-CUVdDHzX.js} +5 -5
  151. package/dist-bundled/es/p-BZCJlqVe-BcSwze-q.js +71 -0
  152. package/dist-bundled/es/p-Bf3p-DY2-CPqEc-vc.js +672 -0
  153. package/dist-bundled/es/p-BpQB6ncp-C2AWddf-.js +180 -0
  154. package/dist-bundled/es/{p-DybsMR13-DpmsG3Q1.js → p-CHGTBObD-EN4cCwtX.js} +3 -3
  155. package/dist-bundled/es/p-CP1wz2PI-DhVAsHFS.js +115 -0
  156. package/dist-bundled/es/p-CQH7eAs3-BVowyVGn.js +88 -0
  157. package/dist-bundled/es/p-CW7tw1Fb-DtJ5TwCU.js +92 -0
  158. package/dist-bundled/es/p-CaauwQNd-D6_PbcRr.js +20 -0
  159. package/dist-bundled/es/p-Cn3-K5eR-tQ1EOnDF.js +243 -0
  160. package/dist-bundled/es/p-CoS0NuDU-CqmDcRWj.js +56 -0
  161. package/dist-bundled/es/{p-veoOgDXg-fRinub-C.js → p-D4Pimu_8-DfEGRQGf.js} +9 -9
  162. package/dist-bundled/es/p-D6lxqcxP-DWrZi1Xi.js +74 -0
  163. package/dist-bundled/es/p-DMNS1d8v-CHF62UXm.js +29 -0
  164. package/dist-bundled/es/{p-iCAclJND-Bmsvd-W1.js → p-DNTv2BQ5-Bwgd30mM.js} +6 -6
  165. package/dist-bundled/es/p-DPIK2ayL-DPEbctqo.js +71 -0
  166. package/dist-bundled/es/p-Db62Pz3n-DpQjwBYb.js +31 -0
  167. package/dist-bundled/es/p-Degg_WJz-BLua06el.js +55 -0
  168. package/dist-bundled/es/p-DfxTsSdZ-C2Afv1lS.js +67 -0
  169. package/dist-bundled/es/p-Dg2yoUxw-Cca8ROd_.js +25 -0
  170. package/dist-bundled/es/p-DmLoB2Dn-D-FSoCvI.js +44 -0
  171. package/dist-bundled/es/p-DoCwI_bx-BXHlZI7-.js +37 -0
  172. package/dist-bundled/es/p-H1JIMJ2t-DEXp7M4I.js +152 -0
  173. package/dist-bundled/es/p-JjN8U9B5-GeWjfJBY.js +135 -0
  174. package/dist-bundled/es/{p-CFw4_-5A-Dzvju3VE.js → p-UVmSPzTd-DiTxS9kW.js} +9 -9
  175. package/dist-bundled/es/p-UxDcM-C5-Dr5d_WpJ.js +15 -0
  176. package/dist-bundled/es/p-V48JyMbP-Bx-0od-Z.js +80 -0
  177. package/dist-bundled/es/p-mZJdpfOo-DicbKil0.js +47 -0
  178. package/dist-bundled/umd/gids-action-bar.umd.js +7 -0
  179. package/dist-bundled/umd/gids-activity-gauge.umd.js +5 -0
  180. package/dist-bundled/umd/gids-bar-chart.umd.js +13 -0
  181. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +5 -0
  182. package/dist-bundled/umd/gids-calendar-month-list.umd.js +5 -0
  183. package/dist-bundled/umd/gids-calendar-year-list.umd.js +5 -0
  184. package/dist-bundled/umd/gids-calendar.umd.js +5 -0
  185. package/dist-bundled/umd/gids-chart-legend-item.umd.js +5 -0
  186. package/dist-bundled/umd/gids-chart-legend.umd.js +5 -0
  187. package/dist-bundled/umd/gids-chart.umd.js +13 -0
  188. package/dist-bundled/umd/gids-chevron-button.umd.js +5 -0
  189. package/dist-bundled/umd/gids-dot.umd.js +5 -0
  190. package/dist-bundled/umd/gids-dropdown-field.umd.js +5 -0
  191. package/dist-bundled/umd/gids-dropdown-picker.umd.js +5 -0
  192. package/dist-bundled/umd/gids-dropdown.umd.js +5 -0
  193. package/dist-bundled/umd/gids-field.umd.js +2 -2
  194. package/dist-bundled/umd/gids-filter.umd.js +7 -0
  195. package/dist-bundled/umd/gids-icon.umd.js +2 -2
  196. package/dist-bundled/umd/gids-input.umd.js +2 -2
  197. package/dist-bundled/umd/gids-level-gauge.umd.js +5 -0
  198. package/dist-bundled/umd/gids-line-chart.umd.js +5 -0
  199. package/dist-bundled/umd/gids-notification.umd.js +2 -2
  200. package/dist-bundled/umd/gids-overflow-container.umd.js +2 -2
  201. package/dist-bundled/umd/gids-overlay-provider.umd.js +2 -2
  202. package/dist-bundled/umd/gids-password-field.umd.js +2 -2
  203. package/dist-bundled/umd/gids-pie-chart.umd.js +5 -0
  204. package/dist-bundled/umd/gids-popover.umd.js +2 -2
  205. package/dist-bundled/umd/gids-progress-circle.umd.js +5 -0
  206. package/dist-bundled/umd/gids-scrim.umd.js +2 -2
  207. package/dist-bundled/umd/gids-snackbar.umd.js +2 -2
  208. package/dist-bundled/umd/gids-text-field.umd.js +2 -2
  209. package/dist-bundled/umd/gids-toggle-button.umd.js +3 -3
  210. package/dist-bundled/umd/gids-tooltip.umd.js +2 -2
  211. package/dist-bundled/umd/index.umd.js +2 -2
  212. package/dist-bundled/umd-complete/gids-core-web.umd.js +11 -3
  213. package/package.json +164 -4
  214. package/dist/p-CFw4_-5A.js +0 -1
  215. package/dist/p-DijVkS9b.js +0 -1
  216. package/dist/p-ibikYq-w.js +0 -1
  217. package/dist-bundled/es/p-DijVkS9b-CeV1i4T-.js +0 -35
  218. package/dist-bundled/es/p-ibikYq-w-BsGxk8ro.js +0 -635
@@ -1,4 +1,4 @@
1
- import { C as a, f as o, H as s } from "./p-ibikYq-w-BsGxk8ro.js";
1
+ import { L as a, u as o, q as s } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { e as i } from "./p-CVtNa0cL-sSVeJsR3.js";
3
3
  const e = a(class extends o {
4
4
  constructor(t) {
@@ -1,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";
1
+ import { L as u, u as h, z as c, C as f, D as i, q as s } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { i as 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";
3
+ import { a as b } from "./p-Dg2yoUxw-Cca8ROd_.js";
4
+ import { r as p } from "./p-UxDcM-C5-Dr5d_WpJ.js";
5
+ import { h as g } from "./p-DNTv2BQ5-Bwgd30mM.js";
6
+ import { r as x } from "./p-BQ-ZnlnH-CUVdDHzX.js";
7
+ import { g as _ } from "./p-D4Pimu_8-DfEGRQGf.js";
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) => {
@@ -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: "67703f015d57768e530aff47b206ff6716f35332", disabled: this.disabled, count: F(this.value?.length, this.maxLength), helperText: this.helperText, statusText: this.statusText, status: O(this.status) }, i(b, { key: "182405668848cdfe3960eef04a7862862fb42117", slot: "label", disabled: this.disabled, info: i("slot", { name: "info" }), fieldRequirement: this.fieldRequirement, fieldRequirementOptionalText: this.fieldRequirementOptionalText, fieldRequirementRequiredText: this.fieldRequirementRequiredText, isLabelSentence: this.isLabelSentence, htmlFor: l }, this.label), i("gids-input", { key: "f625d9ca7001879c392f55e806e7f080d7bb4185", ref: (o) => this.#t = o, appearance: this.appearance, status: this.status, loading: this.loading, value: this.value, defaultValue: this.defaultValue, name: this.name, required: this.required, disabled: this.disabled, readOnly: this.readOnly, leadingLabel: this.leadingLabel, trailingLabel: this.trailingLabel, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur, onInput: this._handleInput, inputProps: { ...t, type: this.type, id: l, maxLength: this.maxLength } }, i("slot", { key: "4283d3712a98973ccb96d57b3d6f9fc42a0ff04e", name: "leadingIcon" }), i("slot", { key: "c61b5a4a62ecf2002426d167155fd8687f84b99f", name: "leadingAccessory" }), d && i(p, { key: "61d1a7b396fa1a8bacce9ade90a36de46886b3c0", label: "clear text", slot: "trailingAccessory", size: "lg", onPressDismiss: this._handleDismiss }), i("slot", { key: "b1f35a7a5e7ffc719d86741033fdfc25ee20debc", name: "trailingIcon" })));
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 G = a, B = r;
75
76
  export {
76
- I as GidsTextField,
77
- G as defineCustomElement
77
+ G as GidsTextField,
78
+ B as defineCustomElement
78
79
  };
@@ -1,46 +1,6 @@
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";
3
- import { i as h } from "./p-B2zUuNXz-BLBgQDu7.js";
4
- const i = l(class extends n {
5
- get selected() {
6
- return this.#e ?? this.defaultSelected;
7
- }
8
- set selected(e) {
9
- this.#e = e === void 0 ? void 0 : !!e;
10
- }
11
- constructor(e) {
12
- super(), e !== !1 && this.__registerHost(), this.__attachShadow(), this.select = d(this, "select"), this._toggle = this._toggle.bind(this);
13
- }
14
- #e;
15
- connectedCallback() {
16
- const e = h();
17
- e !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(e);
18
- }
19
- _toggle() {
20
- const e = !this.selected;
21
- this._el.selected = e, this.select?.emit(e);
22
- }
23
- render() {
24
- return t(a, { key: "56bc99780f392c4d5064eaa47819ee1ff0897c79" }, t("style", { key: "e330f982d625eeb7f72ede3f382231fb5791ec47" }, `:host {
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" })));
27
- }
28
- _onlyHasLeadingIcon() {
29
- const e = this._el.childNodes;
30
- return e.length === 1 && e[0] instanceof window.Element && e[0].slot === "leadingIcon";
31
- }
32
- get _el() {
33
- return this;
34
- }
35
- }, [257, "gids-toggle-button", { disabled: [516], appearance: [513], size: [513], width: [513], defaultSelected: [516, "default-selected"], selected: [6660] }]);
36
- function o() {
37
- typeof customElements < "u" && ["gids-toggle-button"].forEach(((e) => {
38
- e === "gids-toggle-button" && (customElements.get(s(e)) || customElements.define(s(e), i));
39
- }));
40
- }
41
- o();
42
- const u = i, m = o;
1
+ import { l as o, o as t } from "./p-DmLoB2Dn-D-FSoCvI.js";
2
+ const m = o, s = t;
43
3
  export {
44
- u as GidsToggleButton,
45
- m as defineCustomElement
4
+ m as GidsToggleButton,
5
+ s as defineCustomElement
46
6
  };
@@ -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 { L as n, u as l, D as e, F as s, q as i } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { g as r } from "./p-a3JfEYJp-DyhDK6VZ.js";
3
3
  import { i as d } from "./p-B2zUuNXz-BLBgQDu7.js";
4
4
  import { o as h } from "./p-B8kX8Vqv-trBz4jdS.js";
@@ -38,7 +38,7 @@ const o = n(class extends l {
38
38
  t && (t.removeEventListener("mouseenter", this.handleShowEvent), t.removeEventListener("focus", this.handleShowEvent), t.removeEventListener("mouseleave", this.handleHideEvent), t.removeEventListener("blur", this.handleHideEvent));
39
39
  }
40
40
  render() {
41
- return e(s, { key: "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: "87da0ed1ded01cd47b54a7445df2ec4a1ce621b2" }, e("slot", { key: "31b07131bcd26021340d37cadc8aa01f59ad0262" }), e("span", { key: "03fa6ca6e6f3d9bfa2b319254a22a817091fa9b5", id: "tooltip", part: "tooltip", role: "tooltip" }, e("span", { key: "7affbdf276e42c78a4829b5c47854786b97af3bd", id: "arrow" }), this.tooltipText));
42
42
  }
43
43
  disconnectedCallback() {
44
44
  this.cleanupEventListeners(), this.floatingElementManager?.destroy();
@@ -1,6 +1,6 @@
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 { O as y, V as A, S as u, U as G, W as P } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
2
  import { i as E, n as x } from "./p-B2zUuNXz-BLBgQDu7.js";
3
- import { o as $ } from "./p-B8kX8Vqv-trBz4jdS.js";
3
+ import { o as T } from "./p-B8kX8Vqv-trBz4jdS.js";
4
4
  import { s as d } from "./assets-Drv1fXkA.js";
5
5
  function i(e, r) {
6
6
  d(e, r);
@@ -22,7 +22,7 @@ const c = (e) => {
22
22
  }
23
23
  };
24
24
  export {
25
- $ as GidsFloatingElementType,
25
+ T as GidsFloatingElementType,
26
26
  y as getAssetPath,
27
27
  E as getConstructedGidsStylesheet,
28
28
  x as refreshConstructedGidsStylesheet,
@@ -1,6 +1,6 @@
1
- import { H as s, C as l, f as u, R as a, L as r } from "./p-ibikYq-w-BsGxk8ro.js";
2
- import { d as n } from "./p-veoOgDXg-fRinub-C.js";
3
- import { l as d } from "./p-DybsMR13-DpmsG3Q1.js";
1
+ import { q as s, L as l, u, D as a, F as d } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
+ import { d as n } from "./p-D4Pimu_8-DfEGRQGf.js";
3
+ import { l as r } from "./p-CHGTBObD-EN4cCwtX.js";
4
4
  const c = (e) => e.type === "hidden", f = (e) => {
5
5
  if (!(e instanceof HTMLElement))
6
6
  return !1;
@@ -54,9 +54,9 @@ const c = (e) => e.type === "hidden", f = (e) => {
54
54
  this._el.removeEventListener("click", this._focusInput);
55
55
  }
56
56
  render() {
57
- return a(r, { key: "c1e035111a8a80ef0b442bc0298785f0c7445113" }, a("slot", { key: "49bd52d5bbc7c9b962b27f6404ca9817de699b31", name: "leadingIcon" }), this.leadingLabel && a("span", { key: "2863a61da1f009b7287af508d9809d66787ddaf7", class: "gids-input__label" }, this.leadingLabel), a("slot", { key: "f74e8993fb8b1dd186a53c4557ceffac681f2881", name: "leadingAccessory" }), a("input", { key: "2bc7f84858a8533f33c66834ad212c38ad698075", ...this.inputProps, ref: (e) => {
57
+ return a(d, { key: "013d4a68291d4a3897246142cd611a2bc442d6a3" }, a("slot", { key: "97f0d9030c5061b219cc35c409820b81e3d4098a", name: "leadingIcon" }), this.leadingLabel && a("span", { key: "2f8726384a877b0bee51579661f66f6e3da811e1", class: "gids-input__label" }, this.leadingLabel), a("slot", { key: "4843ddf9a10afba03ec0a552fd61cfddd3470749", name: "leadingAccessory" }), a("input", { key: "657559522ac7908ebb5dc27992cb50eb69d1fbd8", ...this.inputProps, ref: (e) => {
58
58
  this.#t = e, this.#e.value !== void 0 && (this.#t.value = this.#e.value, delete this.#e.value), this.#e.defaultValue !== void 0 && (this.#t.defaultValue = this.#e.defaultValue, delete this.#e.defaultValue);
59
- }, class: "gids-input__control", name: this.name, disabled: this.disabled, readOnly: this.readOnly, required: this.required, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur }), a("slot", { key: "2116db712ac02853ae4974b4ad618b5eee372b3f", name: "trailingAccessory" }), this.trailingLabel && a("span", { key: "35dc9b1c2bd2ef493b0ce1a602688f41854c922d", class: "gids-input__label" }, this.trailingLabel), a("slot", { key: "6cc1b37e9a0b979f04de753d8527aaae2970762c", name: "trailingIcon" }), this.status === "incomplete" && a(n, { key: "8c963877cee9bc941b1236a6b647fc1790a41cdc", name: "warning", appearance: "filled", class: "gids-input__warning-icon" }), this.status === "complete" && a(n, { key: "a2c401261ff8defa2802b5bbc336a6b4cc177ff4", name: "positive", appearance: "filled", class: "gids-input__positive-icon" }), this.loading && a(d, { key: "4dd22cd62d87ff444794fc8f1c4f0cc78e14738a", size: "md", indeterminate: !0 }));
59
+ }, class: "gids-input__control", name: this.name, disabled: this.disabled, readOnly: this.readOnly, required: this.required, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur }), a("slot", { key: "c80c3ce3bf17f60e8f773b9c2f5dc25dacdf5446", name: "trailingAccessory" }), this.trailingLabel && a("span", { key: "f9ba8d097b660cdeaeacc0ac1ba970d3fa839fcc", class: "gids-input__label" }, this.trailingLabel), a("slot", { key: "35116e82425db12c08580460ac9c84f89faec71e", name: "trailingIcon" }), this.status === "incomplete" && a(n, { key: "2634986e80dfbbfb98b5a4dd95829e6af3b229a0", name: "warning", appearance: "filled", class: "gids-input__warning-icon" }), this.status === "complete" && a(n, { key: "63ab6b357df47d2d96ad6d3d33f22ab7864f395e", name: "positive", appearance: "filled", class: "gids-input__positive-icon" }), this.loading && a(r, { key: "1eb7af66b5005a6f8dea895c00f100e7cc6e7548", size: "md", indeterminate: !0 }));
60
60
  }
61
61
  get _el() {
62
62
  return this;
@@ -0,0 +1,71 @@
1
+ import { q as i, L as o, u as n, D as l } from "./p-Bf3p-DY2-CPqEc-vc.js";
2
+ import { i as g } from "./p-B2zUuNXz-BLBgQDu7.js";
3
+ import { d as r } from "./p-Db62Pz3n-DpQjwBYb.js";
4
+ import { c } from "./clsx-OuTLNxxd.js";
5
+ const h = ({ appearance: s, size: e, disabled: a }, d) => c("gids-dot", {
6
+ "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: h
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: "1bd6ab72dde2a54f1836483ea5990426c3bfc9f7", 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
+ };